1 2003-04-07 John Levon <levon@movementarian.org>
3 * paragraph.C: remove dead comment
5 * text.C: remove troublesome depth-fiddling code
6 in leftMargin() and rightMargin() (bug 1017)
8 * text.C: fix breaking of rows in nested lists
11 * text2.C (updateCounters): fix up depth values
14 2003-04-07 John Levon <levon@movementarian.org>
16 * BufferView_pimpl.C: clear message when doc finishes resizing,
17 and after a mouse event
19 * lyxfunc.C: clear message after exiting inset
21 2003-04-07 John Levon <levon@movementarian.org>
23 * bufferview_funcs.C: show math status not outside
24 status in the statusbar
26 2003-04-07 John Levon <levon@movementarian.org>
28 * lyxfunc.C: note status changed after a depth change
30 2003-04-04 Angus Leeming <angus@localhost.localdomain>
32 * LaTeX.h: move AuxInfo operator==, != out of line.
33 Remove LaTeX virtual destructor; nothing derives from it.
34 Move operator()() out of public area and rename it startscript().
35 Change protected for private.
37 2003-04-04 Angus Leeming <leeming@lyx.org>
40 * text2.C: remove unneeded #includes.
42 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
44 * text2.C (dEPM): fix the heigth of the next row
46 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
48 * text.C: squashed an invalid getChar requester + some ws changes
50 2003-04-03 John Levon <levon@movementarian.org>
56 * text2.C: make getStatus work for the env depth lfuns
58 2003-04-03 John Levon <levon@movementarian.org>
64 * text2.C: parlistize decDepth(), by merging it with incDepth()
66 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
68 * lyxrow.h: store a ParagraphList::iterator instead of a
69 Paragraph* and adjust other class functions to suit.
71 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
74 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
76 * text2.C (setCursor): do not anchor to cursor row for the time being
78 2003-04-02 John Levon <levon@movementarian.org>
85 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
87 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * paragraph.h: make ParagraphList and ParagraphList::iterator
92 * buffer.C (makeLinuxDocFile): move towards ParagraphList
94 * ParagraphList.C: Use the private next_ and previous_ from
97 2003-04-01 John Levon <levon@movementarian.org>
101 * Makefile.am: rename, remove defaults gunk
104 * MenuBackend.C: remove defaults gunk
107 * Languages.C: remove defaults gunk
110 * lyx_main.C: error out if files couldn't be found.
112 2003-04-02 John Levon <levon@movementarian.org>
114 * text2.C: make incDepth() use parlist
116 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
118 * undo_funcs.C (firstUndoParagraph): adjust
120 * text3.C (gotoInset): adjust
121 (dispatch): adjust, and rewrite loop.
123 * text2.C (init): adjust, and rewrite loop.
124 (redoParagraphs): adjust
125 (updateInset): adjust, and rewrite loop.
126 (deleteEmptyParagraphMechanism): adjust
128 * tabular.C (LyXTabular): adjust
129 (SetMultiColumn): adjust
132 * lyxtext.[Ch] (ownerParagraph): delete function
133 (ownerParagraphs): new function returns a ParagraphList.
135 * BufferView.C (removeAutoInsets): adjust
136 (insertErrors): adjust
137 (setCursorFromRow): adjust
139 2003-04-01 Angus Leeming <leeming@lyx.org>
141 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
144 2003-04-02 John Levon <levon@movementarian.org>
150 * text_funcs.C: make transposeChars a free function
152 * lyxrow_funcs.C: remove wrong comment
154 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
157 * rowpainter.C: adjust
162 * lyxrow_funcs. [Ch]: new files
164 * lyxrow.[Ch]: remove next and previous pointers
165 (next,previous): remove accessor functions
166 (isParEnd): move to lyxrow_funcs
167 (lastPos): move to lyxrow_funcs
168 (nextRowIsAllInset): move to lyxrow_funcs
169 (lastPrintablePos): move to lyxrow_funcs
170 (numberOfSeparators): move to lyxrow_funcs
171 (numberOfHfills): move to lyxrow_funcs
172 (numberOfLabelHfills): move to lyxrow_funcs
173 (hfillExpansion): move to lyxrow_funcs
177 * bufferview_funcs.C (toggleAndShow): adjust
179 * RowList.h: Remove class RowList from file leave just a
182 * RowList.C: delete file
184 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * text3.C (cursorPrevious): adjust
193 * text2.C (redoHeightOfParagraph): adjust
194 (redoDrawingOfParagraph): adjust
197 * text.C (breakParagraph): adjust
201 * rowpainter.C (RowPainter): adjust
202 (leftMargin): simplify and adjust
203 (most rowpainter functions): adjust.
205 * rowpainter.h: store the row as RowList::iterator not as Row*
207 * lyxcursor.C (row): taka RowList::iterator as arg
210 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
213 2003-04-01 Angus Leeming <leeming@lyx.org>
215 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
216 stuff like bool Bool.
218 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
220 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
225 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
228 * lyxtext.h (rows): drop one version and leve a const variant that
229 returns a RowList::iterator.
231 2003-03-31 Angus Leeming <leeming@lyx.org>
233 * text.C (fill): ensure that the signature is the same as that in the
236 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
238 * text2.C (redoParagraphs): adjust
239 (updateCounters): adjust
240 (checkParagraph): adjust
241 (getColumnNearX): adjust and reformat a bit.
243 * text.C (top_y): adjust
246 (prepareToPrint): adjust
248 (getRowNearY): adjust
250 * lyxtext.h: make rowlist_ mutable.
252 * RowList.h: add const_iterator
253 * RowList.C: adjust for RowList::const_iterator.
255 * text2.C (getCursorX): make it take a RowList::iterator as arg,
258 2003-03-31 John Levon <levon@movementarian.org>
261 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
263 * lyx_main.C: set default fonts from using lyx_gui funcs
265 * exporter.C: pdf_mode moved from lyxrc
268 * lyxfunc.C: changes from above
270 2003-03-31 John Levon <levon@movementarian.org>
272 * lyx_main.C: fix to the last fix
274 2003-03-31 John Levon <levon@movementarian.org>
276 * bufferlist.C: "Load original" -> "Load Original"
282 * format.C: more Alert cleanups
284 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * text2.C (removeParagraph): make it take a RowList::iterator as
288 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
289 (postRowPaint): make it take a RowList::iterator as arg, adjust.
291 * text.C (anchor_row): make it take a RowList::iterator as arg,
293 (computeBidiTables): make it take a const reference to Row instead
294 of Row pointer, adjust.
295 (leftMargin): make it take a RowList::iterator as arg, adjust.
296 (rowBreakPoint): adjust
297 (breakAgainOneRow): make it take a RowList::iterator as arg,
299 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
301 * bufferview_funcs.C (toggleAndShow): adjust
303 2003-03-30 John Levon <levon@movementarian.org>
307 * boost-inst.C: moved to support
309 * several files: changes as a result
311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
313 * text2.C (LyXText): adjust.
315 (removeRow): make it take a RowList::iterator as arg, adjust.
316 (fullRebreak): adjust
317 (deleteEmptyParagraphMechanism): adjust
321 * text.C (top_y): adjust
322 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
323 (breakAgain): make it take a RowList::iterator as arg, adjust.
324 (breakParagraph): adjust
328 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
329 need_break_row, and refresh_row.
331 * text3.C (dispatch): adjust
333 * text2.C (checkParagraph): adjust
335 (setCursorFromCoordinates): adjust
337 * text.C (top_y): adjust
339 (getRow): make it return a RowList::iterator, adjust
340 (getRowNearY): make it return a RowList::iterator, adjust
342 * text2.C (init): adjust
343 (insertRow): remove function
344 (insertParagraph): adjust
345 (redoParagraphs): adjust
346 (fullRebreak): adjust
347 (updateCounters): adjust
349 * text.C (top_y): rewrite to use RowList iterators.
351 (setHeightOfRow): rewrite to sue RowList iterators.
352 (appendParagraph): adjust
354 (breakAgainOneRow): adjust
355 (breakParagraph): adjust
357 (getRowNearY): adjust, and remove commented code.
359 * lyxtext.h (firstRow): delete function
360 (lastRow): delete function
361 (rows): new function (const and non-const versions.)
362 (insertRow): delete function
364 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
366 2003-03-29 John Levon <levon@movementarian.org>
368 * BufferView_pimpl.C: always update scrollbar top
369 because pasting text when we're anchored could mean we
370 miss an update altogether
372 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * text2.C (init): use rowlist_.end() and not 0.
375 (insertRow): change to take a RowList::iterator as arg, adjust
377 (insertParagraph): change to take a RowList::iterator as arg,
379 (redoParagraphs): remove some debug msgs.
381 * text.C (appendParagraph): change to take a RowList::iterator
382 arg, adjust for this.
383 (breakAgain): add an assert
384 (breakAgainOneRow): ditto
386 2003-03-29 John Levon <levon@movementarian.org>
388 * text2.C: do not clear selection after inc/decDepth
391 2003-03-29 John Levon <levon@movementarian.org>
394 * buffer.C: fix broken strerrors according to Lars
396 2003-03-29 John Levon <levon@movementarian.org>
398 * converters.C: more Alert cleanups
400 2003-03-29 John Levon <levon@movementarian.org>
402 * bufferview_funcs.C: remove pointless Alert
404 * buffer.C: fix confusing error message when
405 a template is chmoded 000
407 2003-03-29 John Levon <levon@movementarian.org>
411 * BufferView_pimpl.C: Alert fixes
415 * tabular-old.C: remove unused table compat reading
417 2003-03-29 John Levon <levon@movementarian.org>
422 * lyx_cb.C: more Alert cleanups
424 * lyxfunc.C: don't allow chktex if not latex document
426 2003-03-29 John Levon <levon@movementarian.org>
430 * buffer.C: warnings pushed down from support/,
433 2003-03-29 John Levon <levon@movementarian.org>
435 * lyxfunc.C: safety check for C-r (revert)
437 2003-03-29 John Levon <levon@movementarian.org>
440 * bufferlist.C: several UI fixes using Alert::prompt.
441 Fix the pointless looping quit code. Fix stupid revert
446 * lyx_cb.C: use Alert::prompt
448 * lyx_main.C: remove a silly question
450 * lyxfunc.C: remove a couple of silly questions,
453 2003-03-28 John Levon <levon@movementarian.org>
455 * text2.C: fix bug 974 (End on empty par)
457 2003-03-28 John Levon <levon@movementarian.org>
459 * BufferView_pimpl.C:
461 * lfuns.h: remove do-nothing math greek lfuns
463 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * lyxgluelength.h (isValidGlueLength): add default arg on
466 parameter 2. Remove default arg from friend in class.
468 * lyxlength.h (isValidLength): add default arg on parameter 2.
469 Remove default arg from friend in class.
471 * text2.C (LyXText): adjust, initialize refresh_row.
475 (insertParagraph): adjst
476 (redoParagraphs): adjust
477 (fullRebreak): adjust
478 (updateCounters): adjust
479 (deleteEmptyParagraphMechanism): first attempt at fixing a
482 * text.C (top_y): adjust
483 (setHeightOfRow): adjust
485 (getRowNearY): adjust
487 * lyxtext.h: include RowList.h
488 (~LyXText): not needed anymore, deleted.
489 (firstRow): modify for RowList
490 (lastRow): new function
491 Delete firstrow and lastrow class variables, add a Rowlist
492 rowlist_ class variable.
494 * lyxrow.C (lastPos): use empty() and not !size() to check if a
497 * RowList.C (insert): fix case where it == begin().
499 2003-03-26 Angus Leeming <leeming@lyx.org>
501 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
502 the thesaurus dialog.
504 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
506 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
508 * RowList.[Ch]: new files
510 * ParagraphList.C (erase): handle the case where it == begin
513 2003-03-25 John Levon <levon@movementarian.org>
517 * aspell.C: add new aspell support
520 * lyxrc.C: Make use_pspell be use_spell_lib. Always
523 2003-03-25 Angus Leeming <leeming@lyx.org>
526 * LyXAction.C (init): new LFUN_INSET_INSERT.
528 * BufferView_pimpl.C (dispatch): split out part of the
529 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
531 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
534 2003-03-25 Angus Leeming <leeming@lyx.org>
536 * lyxfunc.C (dispatch): changes to the Dialogs interface.
538 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
541 * text3.C: remove useless row->height(0)
543 2003-03-25 John Levon <levon@movementarian.org>
547 * text3.C: rename the refreshing stuff to better names
549 2003-03-24 John Levon <levon@movementarian.org>
551 * BufferView_pimpl.h:
552 * BufferView_pimpl.C: update layout choice on a mouse
555 2003-03-23 John Levon <levon@movementarian.org>
557 * Makefile.am: fix commandtags.h reference
559 2003-03-22 John Levon <levon@movementarian.org>
561 * BufferView_pimpl.C:
566 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
568 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
571 * text.C: take the rtl methods out of line
573 2003-03-21 André Pönitz <poenitz@gmx.net>
575 * metricsinfo.[Ch]: new files containing structures to be passed around
576 during the two-phase-drawing...
578 2003-03-21 André Pönitz <poenitz@gmx.net>
580 * lyxtextclass.C: read 'environment' tag.
582 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
584 * text2.C (removeRow): fix bug 964
586 2003-03-20 John Levon <levon@movementarian.org>
590 * text2.C: paint cleanups. Inset::update() dropped font
593 2003-03-19 John Levon <levon@movementarian.org>
595 * lyxfunc.C: only fitcursor/markDirty if available()
597 2003-03-19 John Levon <levon@movementarian.org>
599 * commandtags.h: rename to ...
601 * lfuns.h: ... this, and renumber / cleanup
603 2003-03-19 John Levon <levon@movementarian.org>
605 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
606 fit the cursor after an lfun
610 * BufferView_pimpl.h:
611 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
613 * LyXAction.C: layout-character should have ReadOnly
615 * ParagraphParameters.C:
617 * bufferview_funcs.C:
624 * undo_funcs.C: changes from above
626 2003-03-18 John Levon <levon@movementarian.org>
628 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
629 remove it from update()
631 * lyxfunc.C: update layout choice after an lfun
633 * text3.C: remove extra updateLayoutChoice()s
635 2003-03-18 John Levon <levon@movementarian.org>
637 * text.C: top_y change means full repaint, fix
638 a drawing bug with cursor movement
640 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
644 * text2.C: anchor row on setCursor
646 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
648 * lyxtext.h: remove almost all mutable keywords
651 * text3.C: remove const keywords accordingly
653 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
655 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
657 (TeXEnvironment): ditto
660 2003-03-17 John Levon <levon@movementarian.org>
662 * text.C (rowBreakPoint): remove attempt to fix displayed
663 math insets inside a manual label
665 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * lyxtext.h: remove BufferView* as first arg from almost all class
669 * other files: adjust.
671 2003-03-17 John Levon <levon@movementarian.org>
675 * text2.C: more paint cleanups
677 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
680 * rowpainter.C: remove "smart" background painting code
682 2003-03-16 John Levon <levon@movementarian.org>
687 * text3.C: add helper functions for setting refresh_row/y
689 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
691 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
692 newline inset which *can* get inserted in the pass_thru layouts.
693 This is primarily for literate documents.
695 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
697 * buffer.C: increment LYX_FORMAT to 223
699 2003-03-14 André Pönitz <poenitz@gmx.net>
701 * textclass.h: prepare for environment handling, ws changes
702 * lyxlayout.C: read latexheader and latexfooter tags
704 2003-03-14 John Levon <levon@movementarian.org>
706 * text2.C: rewrite ::status() a bit
708 2003-03-13 John Levon <levon@movementarian.org>
710 * lyxtext.h: add some docs
712 2003-03-13 John Levon <levon@movementarian.org>
717 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
719 2003-03-13 John Levon <levon@movementarian.org>
721 * text3.C: fix appendix redrawing
723 2003-03-13 John Levon <levon@movementarian.org>
725 * text.C (setHeightOfRow):
727 * rowpainter.C: make appendix mark have the text
728 "Appendix" so the user knows what it is
731 * LColor.C: s/appendixline/appendix/ from above
733 2003-03-13 John Levon <levon@movementarian.org>
735 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
737 * text.C: fix a getChar(pos) bug properly
739 2003-03-13 Angus Leeming <leeming@lyx.org>
742 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
743 Probably only temporary. Let's see how things pan out.
745 * BufferView.C (unlockInset):
746 * BufferView_pimpl.C (fitCursor):
747 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
749 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
750 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
752 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
753 new functions that convert ParagraphParameters to and from a string.
755 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
756 BufferView::Pimpl's dispatch.
757 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
759 2003-03-13 André Pönitz <poenitz@gmx.net>
763 * factory.C: make it aware of InsetEnv
765 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * text2.C (setCursor): never ask for one past last
768 (setCursor): add some debugging messages.
770 * text.C (singleWidth): never ask for one past last
774 (rowBreakPoint): ditto
775 (setHeightOfRow): ditto
776 (prepareToPrint): ditto
778 * rowpainter.C (paintBackground): never ask for one past last
779 (paintText): never ask for one past last
781 * paragraph_pimpl.C (getChar): make the assert stricter, never
782 allow the one past last pos to be taken
784 * paragraph.C (getChar): ws changes only
786 * lyxrow.C (nextRowIsAllInset): never ask for one past last
787 (numberOfSeparators): ditto
788 (numberOfHfills): ditto
790 2003-03-12 John Levon <levon@movementarian.org>
796 * paragraph_funcs.C: fix per-buffer authorlists
798 2003-03-12 John Levon <levon@movementarian.org>
800 * text.C: fix newline in right address
802 2003-03-12 Angus Leeming <leeming@lyx.org>
804 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
805 duplicate those in LyXFunc::dispatch.
810 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
811 Add LFUN_FONTFREE_UPDATE.
813 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
814 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
816 * bufferview_func.[Ch]: several new functions to facilliate
817 transfer of data to and from the character dialog.
819 2003-03-12 John Levon <levon@movementarian.org>
829 * text3.C: remove META_NEWLINE in favour of an inset
832 * rowpainter.C: remove paintNewline (done by inset)
834 2003-03-12 John Levon <levon@movementarian.org>
836 * paragraph_pimpl.C: complain about bad getChar()s
839 2003-03-12 John Levon <levon@movementarian.org>
842 * buffer.C: move paragraph read into a separate function,
843 a little renaming to reflect that.
846 * bufferparams.C: remove the author_ids map, not necessary now
849 * factory.C: moved Buffer::readInset to here
852 * paragraph_funcs.C: readParagraph free function moved from
855 * tabular.C: name change
857 2003-03-12 John Levon <levon@movementarian.org>
860 * ParagraphParameters.C: move par params input to
863 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
864 behave like a normal read from the stream wrt reading
867 2003-03-12 John Levon <levon@movementarian.org>
870 * ParagraphParameters.h:
871 * ParagraphParameters.C: move output code to a
874 2003-03-12 John Levon <levon@movementarian.org>
876 * BufferView.C (insertLyXFile):
879 * tabular.C: use a parlist iterator for creating the
882 2003-03-12 John Levon <levon@movementarian.org>
884 * buffer.C: make current_change static local not
887 2003-03-12 John Levon <levon@movementarian.org>
889 * buffer.C: fix insertStringAsLines for change tracking
891 2003-03-12 John Levon <levon@movementarian.org>
898 * bufferparams.C: move author list into params. Rename some
899 functions. Move the header reading into a separate token
900 loop. Move the header token reading into BufferParams.
902 2003-03-12 John Levon <levon@movementarian.org>
904 * changes.C: put debug inside lyxerr.debugging() checks
906 2003-03-11 André Pönitz <poenitz@gmx.net>
908 * factory.C: make it aware of InsetHFill
910 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
912 * buffer.C (latexParagraphs): move function from here...
913 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
916 2003-03-10 Angus Leeming <leeming@lyx.org>
918 * LyXAction.C (init): fix bug in poplating array with multiple entries
919 with the same LFUN (spotted by JMarc).
921 2003-03-10 John Levon <levon@movementarian.org>
924 * text2.C: move getColumnNearX() near its
927 2003-03-10 John Levon <levon@movementarian.org>
929 * text.C: fix break before a minipage
931 2003-03-10 John Levon <levon@movementarian.org>
933 * text.C: fix the last commit
935 2003-03-09 John Levon <levon@movementarian.org>
939 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
940 bug 365 (don't break before insets unless needed). Don't
941 return a value > last under any circumstances.
943 2003-03-09 Angus Leeming <leeming@lyx.org>
945 * BufferView_pimpl.C (trackChanges, dispatch): call
946 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
948 2003-03-09 Angus Leeming <leeming@lyx.org>
950 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
951 than Dialogs::showAboutlyx().
953 2003-03-09 Angus Leeming <leeming@lyx.org>
955 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
956 than Dialogs::showTabularCreate().
958 2003-03-09 John Levon <levon@movementarian.org>
962 * text2.C: 3rd arg to nextBreakPoint was always the same.
965 2003-03-08 John Levon <levon@movementarian.org>
972 * text2.C: Remove the "main" bit from the "main body"
975 2003-03-08 John Levon <levon@movementarian.org>
977 * text.C (leftMargin): The left margin of an empty
978 manual label paragraph should not include the label width
981 * text.C (prepareToPrint): don't attempt to measure hfills
982 for empty manual label paragraphs - the answer should be 0
984 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * CutAndPaste.C: remove commented code and reindent.
988 2003-03-08 John Levon <levon@movementarian.org>
991 * lyxfunc.C: move reloadBuffer()
994 * BufferView.C: to here
996 * lyxvc.C: add comment
999 * vc-backend.C: call bv->reload() to avoid
1000 getStatus() check on MENURELOAD
1002 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1004 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1005 to an old format .dep file.
1007 2003-03-07 Angus Leeming <leeming@lyx.org>
1009 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1010 when the LFUN_MOUSE_RELEASE should have been handled by
1011 inset->localDispatch.
1013 2003-03-07 Angus Leeming <leeming@lyx.org>
1015 * BufferView_pimpl.C (dispatch):
1016 * LyXAction.C (init):
1017 * ToolbarDefaults.C (init):
1019 * lyxfunc.C (getStatus):
1020 remove LFUN_INSET_GRAPHICS.
1022 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1024 2003-03-07 Angus Leeming <leeming@lyx.org>
1027 * LyXAction.C (init):
1028 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1030 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1033 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1035 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1036 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1038 2003-03-07 Angus Leeming <leeming@lyx.org>
1040 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1043 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * ParagraphList.C (front): new function
1048 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1050 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1051 and top_row_offset_. removed var first_y.
1053 * text2.C (LyXText, removeRow):
1055 * BufferView_pimpl.C:
1056 use these methods instead of using first_y
1058 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1060 * text2.C (pasteSelection): adjust for checkPastePossible
1062 * CutAndPaste.C: remove Paragraph * buf and replace with
1063 ParagraphList paragraphs.
1064 (DeleteBuffer): delete
1065 (cutSelection): change the tc type to textclass_type
1066 (copySelection): change the tc type to textclass_type
1067 (copySelection): adjust for ParagraphList
1068 (pasteSelection): change the tc type to textclass_type
1069 (pasteSelection): adjust for Paragraphlist
1070 (nrOfParagraphs): simplify for ParagraphList
1071 (checkPastePossible): simplify for ParagraphList
1072 (checkPastePossible): remove unused arg
1074 * ParagraphList.C (insert): handle the case where there are no
1077 * CutAndPaste.h: make CutAndPaste a namespace.
1079 * text3.C (dispatch): adjust
1081 * text.C (breakParagraph): add a ParagraphList as arg
1083 * paragraph_funcs.C (breakParagraph): change to take a
1084 BufferParams and a ParagraphList as args.
1085 (breakParagraphConservative): ditto
1086 (mergeParagraph): ditto
1087 (TeXDeeper): add a ParagraphList arg
1088 (TeXEnvironment): ditto
1091 * buffer.C (readLyXformat2): adjust
1092 (insertStringAsLines): adjust
1093 (latexParagraphs): adjust
1095 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1096 (cutSelection): adjust
1097 (pasteSelection): adjust
1099 * BufferView_pimpl.C (insertInset): adjust
1101 2003-03-05 Angus Leeming <leeming@lyx.org>
1104 * LyXAction.C (init):
1105 * BufferView_pimpl.C (dispatch):
1106 * lyxfunc.C (getStatus):
1107 remove LFUN_CHILD_INSERT.
1109 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1111 2003-03-05 Angus Leeming <leeming@lyx.org>
1114 * LyXAction.C (init):
1115 * src/factory.C (createInset):
1116 * lyxfunc.C (getStatus):
1117 * text3.C (dispatch):
1118 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1120 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1122 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * ParagraphList.C (insert): handle insert right before end()
1125 (erase): fix cases where it can be first or last paragraph.
1127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1130 Paragraph::next and Paragraph::previous
1133 * text.C (breakParagraph): adjust
1135 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1136 BufferParams& as arg.
1137 (breakParagraph): use ParagraphList::insert
1138 (breakParagraphConservative): take a Buffer* instead of a
1139 BufferParams& as arg.
1140 (breakParagraphConservative): use ParagraphList::insert.
1142 * buffer.C (insertStringAsLines): un-const it
1143 (insertStringAsLines): adjust
1145 * ParagraphList.C (insert): new function
1147 * CutAndPaste.C (pasteSelection): adjust
1149 * text.C (backspace): adjust
1151 * tabular.C (SetMultiColumn): adjust
1153 * CutAndPaste.C (cutSelection): adjust
1154 (pasteSelection): adjust
1156 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1157 Buffer const * as arg
1159 * ParagraphList.C (erase): new function
1160 * paragraph_funcs.C (mergeParagraph): use it
1161 (mergeParagraph): make it take a Buffer* instead of a
1162 BufferParams* as arg
1164 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1166 (breakParagraphConservative): ditto
1168 * paragraph.h: remove the breakParagraph friend
1170 * paragraph.C (eraseIntern): new function
1171 (setChange): new function
1173 * paragraph_funcs.C (mergeParagraph): make it take a
1174 ParagraphList::iterator instead of a Paragraph *, adjust
1177 * paragraph.h: move an #endif so that the change tracking stuff
1178 also works in the NO_NEXT case.
1180 2003-03-04 Angus Leeming <leeming@lyx.org>
1183 * LyXAction.C: new LFUN_INSET_MODIFY.
1185 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1186 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1188 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * several files: ws changes only
1192 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1193 (TeXEnvironment): ditto
1196 * buffer.C (makeLaTeXFile): adjust
1197 (latexParagraphs): make it take ParagraphList::iterator as args
1199 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * buffer.C (latexParagraphs): adjust
1203 * paragraph.C (TeXOnePar): move function...
1204 (optArgInset): move function...
1205 (TeXEnvironment): move function...
1206 * paragraph_pimpl.C (TeXDeeper): move function...
1207 * paragraph_funcs.C: ...here
1209 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1211 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1213 * buffer.C (readInset): remove compability code for old Figure and
1216 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * buffer.C: ws changes
1221 * BufferView_pimpl.C: ditto
1224 * bufferlist.h: ditto
1228 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1230 * converter.[Ch]: split into itself +
1233 * Makefile.am: += graph.[Ch] + format.[Ch]
1240 * lyxrc.C: added #include "format.h"
1242 2003-02-27 Angus Leeming <leeming@lyx.org>
1244 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1247 * factory.C (createInset): add "label" to the factory.
1249 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1250 string and do no more.
1252 2003-02-27 Angus Leeming <leeming@lyx.org>
1255 * LyXAction.C (init):
1256 * factory.C (createInset):
1257 * BufferView_pimpl.C (dispatch):
1258 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1260 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1262 * lyxfunc.C (dispatch):
1263 * text3.C (dispatch): pass name to params2string.
1265 2003-02-26 Angus Leeming <leeming@lyx.org>
1267 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1269 Rearrange the ~includes. Strip out the unnecessary ones.
1271 * factory.C (createInset): reformat.
1272 create new insets for the various LFUN_XYZ_APPLY lfuns.
1274 2003-02-26 John Levon <levon@movementarian.org>
1277 * lyxrow.C: add isParStart,isParEnd helpers
1279 * paragraph.h: make isInserted/DeletedText take refs
1281 * paragraph_funcs.h:
1282 * paragraph_funcs.C: remove #if 0'd code
1287 * text.C: use lyxrow helpers above.
1288 Move draw and paint routines to RowPainter.
1289 Make several methods use refs not pointers.
1290 Make backgroundColor() const.
1291 Add markChangeInDraw(), isInInset().
1292 Merge changeRegionCase into changeCase.
1293 Make workWidth() shouldn't-happen code into an Assert.
1296 * rowpainter.C: new class for painting a row.
1299 * vspace.C: make inPixels take a ref
1301 2003-02-26 Angus Leeming <leeming@lyx.org>
1303 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1306 2003-02-25 John Levon <levon@movementarian.org>
1308 * ispell.C: give the forked command a more accurate name
1310 2003-02-22 John Levon <levon@movementarian.org>
1313 * toc.C: make TocItem store an id not a Paragraph *
1316 2003-02-21 Angus Leeming <leeming@lyx.org>
1318 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1319 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1320 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1321 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1322 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1323 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1325 * BufferView_pimpl.C (dispatch):
1326 * LyXAction.C (init):
1327 * factory.C (createInset):
1328 * lyxfunc.C (getStatus, dispatch):
1329 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1331 2003-02-21 Angus Leeming <leeming@lyx.org>
1333 * BufferView_pimpl.C (MenuInsertLyXFile):
1334 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1335 * lyxfunc.C (menuNew, open, doImport):
1336 no longer pass a LyXView & to fileDlg.
1338 2003-02-21 Angus Leeming <leeming@lyx.org>
1340 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1341 * LyXAction.C: change, BIBKEY to BIBITEM.
1342 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1343 Change InsetBibKey to InsetBibitem.
1344 Change BIBKEY_CODE to BIBITEM_CODE.
1345 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1346 * factory.C: replace insetbib.h with insetbibitem.h.
1347 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1348 * paragraph.C: replace insetbib.h with insetbibitem.h.
1349 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1350 Change bibkey() to bibitem().
1351 * text.C: remove insetbib.h.
1352 * text2.C: replace insetbib.h with insetbibitem.h.
1353 change bibkey() to bibitem().
1354 * text3.C: remove insetbib.h.
1355 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1357 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1359 * lyxrc.C (output): enclose user email in quotes (in case there are
1362 2003-02-18 John Levon <levon@movementarian.org>
1364 * buffer.h: add std::
1366 2003-02-17 John Levon <levon@movementarian.org>
1372 * pspell.C: reworking. Especially in ispell, a large
1373 number of clean ups and bug fixes.
1375 * lyxfunc.C: fix revert to behave sensibly
1377 2003-02-17 André Pönitz <poenitz@gmx.net>
1380 * commandtags.h: new LFUN_INSERT_BIBKEY
1390 * paragraph_func.C: remove special bibkey handling
1392 2003-02-17 John Levon <levon@movementarian.org>
1394 * text.C (Delete): fix case where delete at the end of
1395 the very first paragraph would not merge the pars
1397 2003-02-17 John Levon <levon@movementarian.org>
1399 * lyxrow.C: fix lastPrintablePos()
1401 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1403 * bufferparams.C (writeLaTeX): add a std:here
1405 * buffer.C: and remove a using directive there
1407 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1409 * buffer.C (makeLaTeXFile): move the code that generates the
1412 * bufferparams.C (writeLaTeX): ... in this new method
1414 * LaTeXFeatures.C (getEncodingSet): make const
1415 (getLanguages): make const
1417 * MenuBackend.C (binding): returns the binding associated to this
1419 (add): sets the status of each item by calling getStatus. Adds
1421 (read): add support for OptSubMenu
1422 (expand): remove extra separator at the end of expanded menu
1424 2003-02-15 John Levon <levon@movementarian.org>
1427 * BufferView_pimpl.C:
1429 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1430 inset code that had no actual effect. Remove unneeded status
1433 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1435 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1438 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1440 * text.C (drawLengthMarker): also draw an arrow marker for
1441 symbolic lengths (medskip...)
1443 2003-02-14 John Levon <levon@movementarian.org>
1446 * tabular.C: better method names
1448 2003-02-14 John Levon <levon@movementarian.org>
1450 * BufferView_pimpl.C:
1455 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1456 it's a more accurate name. Remove some pointless uses.
1458 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1460 * text2.C (LyXText): change order of initilizers to shut off
1463 2003-02-14 John Levon <levon@movementarian.org>
1465 * buffer.C: use ParIterator for getParFromID()
1469 * paragraph_pimpl.h:
1470 * paragraph_pimpl.C: remove unused getParFromID()
1472 2003-02-14 John Levon <levon@movementarian.org>
1474 * buffer.C: remove some very old #if 0'd parse code
1476 2003-02-13 John Levon <levon@movementarian.org>
1480 * text2.C: move hfillExpansion(), numberOfSeparators(),
1481 rowLast(), rowLastPrintable(), numberofHfills(),
1482 numberOfLabelHfills() ...
1485 * lyxrow.C: ... to member functions here.
1490 * text.C: remove LyXText::beginningOfMainBody(), and call
1491 p->beginningOfMainBody() directly. Move the check for
1492 LABEL_MANUAL into the latter.
1499 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1505 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1506 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1508 2003-02-13 John Levon <levon@movementarian.org>
1510 * CutAndPaste.C: remove debug
1512 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1514 * paragraph.C (asString): remove two unused variables
1516 * lyxtextclass.C (readTitleType):
1518 (LyXTextClass): handle new members titletype_ and titlename_
1520 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1522 2003-02-09 John Levon <levon@movementarian.org>
1525 * buffer.C: replace hand-coded list with a map for the dep clean
1527 2003-02-08 John Levon <levon@movementarian.org>
1529 * LaTeX.C: consolidate code into showRunMessage() helper
1531 2003-02-08 John Levon <levon@movementarian.org>
1536 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1537 and pass the size in explicitly
1539 * BufferView_pimpl.h:
1540 * BufferView_pimpl.C:
1542 * BufferView.C: add getCurrentChange()
1544 * BufferView_pimpl.h:
1545 * BufferView_pimpl.C: handle change lfuns
1547 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1548 for changes. Mark pasted paragraphs as new.
1550 * support/lyxtime.h:
1551 * support/lyxtime.C:
1552 * DepTable.C: abstract time_t as lyx::time_type
1555 * LColor.C: add colours for new text, deleted text, changebars
1557 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1558 package use "usenames" option.
1562 * LyXAction.C: add change lfuns
1566 * author.C: author handling
1569 * buffer.C: add a per-buffer author list, with first entry as
1570 current author. Handle new .lyx tokens for change tracking. Output
1571 author list to .lyx file. Output dvipost stuff to .tex preamble.
1572 Bump lyx format to 222.
1575 * bufferlist.C: add setCurrentAuthor() to reset current author details
1579 * bufferparams.C: add param for tracking
1581 * bufferview_funcs.C: output change info in minibuffer
1585 * changes.C: add change-tracking structure
1588 * debug.C: add CHANGES debug flag
1591 * lyxfind.C: add code for finding the next change piece
1594 * lyxrc.C: add user_name and user_email
1597 * lyxrow.C: add a metric for the top of the text line
1600 * text.C: implement accept/rejectChange()
1603 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1604 Strike through deleted text.
1608 * paragraph_pimpl.h:
1609 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1610 to the insert functions. Rework erase to mark text as deleted, adding
1611 an eraseIntern() and a range-based erase(). Implement
1612 per-paragraph change lookup and accept/reject.
1614 * paragraph_funcs.C: Fixup paste for change tracking.
1616 * tabular.C: mark added row/columns as new.
1618 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1619 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1621 * text2.C: leave cursor at end of selection after a cut.
1623 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1625 * text.C (getLengthMarkerHeight):
1626 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1627 visible on screen too.
1629 2003-02-07 John Levon <levon@movementarian.org>
1631 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1633 2003-02-05 Angus Leeming <leeming@lyx.org>
1635 * lyxserver.C (read_ready): revert my patch of 11 September last year
1636 as it sends PC cpu through the roof. Presumably this means that
1637 the lyxserver will no longer run on an Alpha...
1639 2003-01-30 Angus Leeming <leeming@lyx.org>
1641 * factory.C (createInset): create an InsetCommandParam of type "index"
1642 and use it to 'do the right thing'.
1644 * text2.C (getStringToIndex): ensure that cursor position is always
1645 reset to the reset_cursor position.
1647 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1649 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1652 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1656 * lyxfunc.C: Output messages with identical spelling, punctuation,
1659 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1661 * MenuBackend.C (expandFormats): List only viewable export formats
1664 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1667 * lyxfunc.C (getStatus): Make sure that formats other than
1668 "fax" can also be disabled
1670 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1672 * text3.C (dispatch): put the lfuns that insert insets in 3
1673 groups, and call doInsertInset with appropriate arguments.
1674 (doInsertInset): new function, that creates an inset and inserts
1675 it according to some boolean parameters.
1677 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * buffer.C (readFile): remember to pass on 'par' when calling
1680 readFile recursively.
1682 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1684 * MenuBackend.C (expandFormats): add "..." to import formats.
1686 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1688 * paragraph.C (asString): Remove XForms RTL hacks.
1690 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1691 * buffer.C: fix typo
1693 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * Makefile.am (LIBS): delete var
1696 (lyx_LDADD): add @LIBS@ here instead.
1698 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1700 * Clarify the meaning of "wheel mouse jump"
1702 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1704 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1707 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1709 * importer.C (Loaders): do not preallocate 3 elements in the
1710 vector, since one ends up with 6 elements otherwise
1712 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1714 * DepTable.C (write): write the file name as last element of the
1715 .dep file (because it may contain spaces)
1716 (read): read info in the right order
1718 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1720 * paragraph_pimpl.C (simpleTeXBlanks):
1721 (simpleTeXSpecialChars):
1722 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1724 * tabular.C (latex): add some missing case statements. Reindent.
1726 * MenuBackend.C (expandToc): remove unused variable.
1728 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1737 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1740 2003-01-05 John Levon <levon@movementarian.org>
1743 * BufferView.C: add getEncoding()
1746 * kbsequence.C: do not store last keypress
1749 * lyxfunc.C: store last keypress here instead. Pass encoding
1752 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1754 * lyx_main.C (init): remove annoying error message when following
1755 symbolic links (bug #780)
1757 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1759 * text.C (insertChar):
1760 * lyxrc.C (getDescription): remove extra spaces
1762 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1764 * lyxrc.C (getDescription): remove extra spaces
1766 2002-12-20 John Levon <levon@movementarian.org>
1768 * text3.C: hack fix for page up/down across tall rows
1770 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1772 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1775 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1777 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1778 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1779 thesaurus is not compiled in
1781 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1783 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1785 2002-12-16 Angus Leeming <leeming@lyx.org>
1788 * lyx_main.C (init): remove override_x_deadkeys stuff.
1790 2002-12-12 John Levon <levon@movementarian.org>
1792 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1793 insert. Only remove shift modifier under strict
1796 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * MenuBackend.C (expandToc): fix crash.
1800 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * MenuBackend.C (expandToc): gettext on float names.
1804 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1806 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1807 implement bool empty() [bug 490]
1809 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1813 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * several files: ws changes
1817 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * text2.C (setCounter): clean up a bit, use boost.format.
1820 (updateCounters): initialize par upon declaration.
1822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1823 if the layout exists. We do not just store the layout any more.
1824 (SwitchLayoutsBetweenClasses): use boost.format
1826 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1828 * converter.C (convert): if from and to files are the same, use a
1829 temporary files as intermediary
1831 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1834 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1836 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1838 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1840 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * tabular.C (asciiPrintCell): use string(size, char) instead of
1845 * sgml.C (openTag): fix order of arguments to string constructor
1848 * lyxfunc.C (dispatch): use boost.format
1850 * lots of files: change "c" -> 'c'
1852 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1854 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1856 2002-11-25 Angus Leeming <leeming@lyx.org>
1858 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1860 * lyx_main.C (init): compile fix.
1862 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * lyx_cb.C (start): boost.formatify
1865 do not include <iostream>
1867 * lengthcommon.C: ws only
1869 * boost-inst.C,BoostFormat.h: add more explict instantations
1871 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * lots of files: handle USE_BOOST_FORMAT
1875 2002-11-21 John Levon <levon@movementarian.org>
1877 * pspell.C: fix compile
1879 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1881 * lyxfunc.C (dispatch): use boost::format
1885 * lyxfont.C (stateText): use boost::format
1887 * lyx_main.C (LyX): use boost::format
1889 (queryUserLyXDir): ditto
1892 (typedef boost::function): use the recommened syntax.
1894 * importer.C (Import): use boost::format
1896 * debug.C (showLevel): use boost::format
1898 * converter.C (view): use boost::format
1903 * bufferview_funcs.C (currentState): use boost::format
1905 * bufferlist.C (emergencyWrite): use boost::format
1907 * buffer.C (readLyXformat2): use boost::format
1908 (parseSingleLyXformat2Token): ditto
1910 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1912 * LaTeX.C (run): use boost::format
1914 * Chktex.C (scanLogFile): use boost::format
1916 * BufferView_pimpl.C (savePosition): use boost::format
1917 (restorePosition): ditto
1918 (MenuInsertLyXFile): ditto
1920 * BoostFormat.h: help file for explicit instation.
1922 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1924 * tabular.C (latex): Support for block alignment in fixed width
1927 2002-11-17 John Levon <levon@movementarian.org>
1929 * BufferView_pimpl.C:
1931 * lyxfunc.C: split filedialog into open/save
1933 2002-11-08 Juergen Vigna <jug@sad.it>
1935 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1936 by my last patch (hopefully).
1938 2002-11-08 John Levon <levon@movementarian.org>
1947 * toc.C: ParConstIterator, and use it (from Lars)
1949 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1951 * lyxtextclass.[Ch]: revise and add doxygen comments
1953 2002-11-07 John Levon <levon@movementarian.org>
1955 * text.C: fix progress value for spellchecker
1957 * toc.C: fix navigate menu for insetwrap inside minipage
1959 * paragraph_funcs.C: added FIXME for suspect code
1961 2002-11-07 John Levon <levon@movementarian.org>
1963 * BufferView_pimpl.C: fix redrawing of insets
1966 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1968 * text2.C (updateCounters): fix bug 668
1970 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1972 * text3.C (dispatch): Do not make the buffer dirty when moving the
1975 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * vc-backend.C: STRCONV
1980 * text2.C (setCounter): STRCONV
1982 * paragraph.C (asString): STRCONV
1984 * lyxlength.C (asString): STRCONV
1985 (asLatexString): ditto
1987 * lyxgluelength.C (asString): STRCONV
1988 (asLatexString): ditto
1990 * lyxfunc.C (dispatch): STRCONV
1993 * lyxfont.C (stateText): STRCONV
1995 * importer.C (Import): STRCONV
1997 * counters.C (labelItem): STRCONV
1998 (numberLabel): ditto
1999 (numberLabel): remove unused ostringstream o
2004 * bufferview_funcs.C (currentState): STRCONV
2006 * buffer.C (readFile): STRCONV
2007 (asciiParagraph): ditto
2008 (makeLaTeXFile): ditto
2010 * Spacing.C (writeEnvirBegin): STRCONV
2012 * LaTeXFeatures.C (getLanguages): STRCONV
2013 (getPackages): ditto
2015 (getBabelOptions): ditto
2016 (getTClassPreamble): ditto
2017 (getLyXSGMLEntities): ditto
2018 (getIncludedFiles): ditto
2022 (scanAuxFile): ditto
2025 * LString.h: add the STRCONV macros
2027 * BufferView_pimpl.C (savePosition): STRCONV
2028 (restorePosition): ditto
2029 (MenuInsertLyXFile): ditto
2031 * vc-backend.C (scanMaster): change from submatch[...] to
2034 * funcrequest.C: include config.h
2036 * factory.C: include config.h
2038 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2040 * box.C: include config.h
2042 * LaTeX.C (scanAuxFile): change from submatch[...] to
2046 2002-10-25 Angus Leeming <leeming@lyx.org>
2048 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2050 * ispell.[Ch] (setError): new method.
2051 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2052 Use setError() insetead of goto END.
2054 * lyx_cb.C (AutoSave): move out child process into new class
2057 2002-10-30 John Levon <levon@movementarian.org>
2059 * text3.C: make start appendix undoable
2061 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2063 * lyxlength.C (inPixels): Fix returned value.
2065 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2068 2002-10-24 Angus Leeming <leeming@lyx.org>
2070 * lyxgluelength.h: no need to forward declare BufferParams
2071 or BufferView, so don't.
2073 2002-10-21 John Levon <levon@movementarian.org>
2075 * BufferView.C: menuUndo ->undo, redo
2077 * BufferView.h: document, remove dead, make some methods private
2079 * paragraph_funcs.h:
2080 * paragraph_funcs.C:
2081 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2086 * sgml.C: move sgml open/close tag into sgml.C
2088 * bufferview_funcs.h: unused prototype
2091 * lyxfunc.C: remove unused
2094 * text.C: remove unused
2096 2002-10-21 John Levon <levon@movementarian.org>
2100 * BufferView_pimpl.h:
2101 * BufferView_pimpl.C: fix mouse wheel handling based on
2102 patch from Darren Freeman
2104 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2106 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2108 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2110 * lyxlength.C (inPixels): Fix hanfling of negative length.
2111 Fix LyXLength::MU case.
2113 2002-10-16 John Levon <levon@movementarian.org>
2115 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2117 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2119 * converter.C (view): add support for $$i (file name) and $$p
2120 (file path) for the viewer command. If $$i is not specified, then
2121 it is appended to the command (for compatibility with old syntax)
2123 2002-10-14 Juergen Vigna <jug@sad.it>
2125 * undo_funcs.C (textHandleUndo): alter the order in which the
2126 new undopar is added to the LyXText, as we have to set first
2127 the right prev/next and then add it as otherwise the rebuild of
2128 LyXText is not correct. Also reset the cursor to the right paragraph,
2129 with this IMO we could remove the hack in "redoParagraphs()".
2131 2002-10-09 Angus Leeming <leeming@lyx.org>
2133 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2134 to turn off an optimisation if a new inset is to be inserted.
2136 2002-10-11 André Pönitz <poenitz@gmx.net>
2138 * lyxtext.h: make some functions public to allow access
2139 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2141 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2143 * text3.C (dispatch): when changing layout, avoid an infinite loop
2146 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2148 * lyxrc.C (read): treat a viewer or converter command of "none" as
2151 * MenuBackend.C (expandFormats): for an update, also allow the
2152 formats that are not viewable
2154 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2155 script if it is newer than the lyxrc.defaults in user directory
2157 2002-10-07 André Pönitz <poenitz@gmx.net>
2159 * text.C: Vitaly Lipatov's small i18n fix
2161 2002-09-25 Angus Leeming <leeming@lyx.org>
2163 * ispell.h: doxygen fix.
2165 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2167 * buffer.h (readFile): Add a new argument to the method, to allow
2168 reading of old-format templates.
2170 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2172 * toc.C (getTocList): Get TOC from InsetWrap.
2174 2002-09-16 John Levon <levon@movementarian.org>
2176 * lyxfunc.C: check tabular for cut/copy too
2178 2002-09-12 John Levon <levon@movementarian.org>
2183 * factory.C: add header
2185 * paragraph_funcs.h:
2186 * paragraph_funcs.C: cleanup
2188 2002-09-11 John Levon <levon@movementarian.org>
2190 * PrinterParams.h: odd/even default to true
2192 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2194 * PrinterParams.h: update printer parameters for new xforms dialog
2196 2002-09-11 Angus Leeming <leeming@lyx.org>
2198 * lyxserver.C (read_ready): re-write to make it more transparent
2199 and to make it work in coherent fashion under Tru64 Unix.
2201 2002-09-11 André Pönitz <poenitz@gmx.net>
2205 * text3.C: implement LFUN_WORDSEL
2207 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2210 make floatlist_ a boost::shared_ptr<FloatList>
2212 * lyxtextclass.C: include FloatList.h
2213 (LyXTextClass): initialize floatlist_
2214 (TextClassTags): add TC_NOFLOAT
2215 (Read): match "nofloat" to TC_NOFLOAT and use it.
2216 (readFloat): modify call to floatlist_
2220 * FloatList.[Ch] (FloatList): remove commented out float
2222 (erase): new function
2224 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2226 * MenuBackend.C (expandToc): fix crash when there is no document
2229 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2231 * many files: Add insetwrap.
2233 2002-09-09 John Levon <levon@movementarian.org>
2235 * text2.C: remove confusing and awkward depth wraparound
2237 2002-09-09 John Levon <levon@movementarian.org>
2239 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2242 * buffer.C: remove getIncludeonlyList()
2245 * lyxfunc.C: remove headers
2247 2002-09-09 Juergen Vigna <jug@sad.it>
2249 * text.C (getColumnNearX): fix form Michael this is most
2250 probably a cut&paste bug.
2252 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2256 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2257 references, ws changes.
2259 * text2.C (init): update counters after init
2260 (insertParagraph): no need to set counter on idividual paragraphs.
2261 (setCounter): access the counters object in the textclass object
2262 on in the buffer object.
2263 (updateCounters): ditto
2265 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2266 shared_ptr<Counters> to avoid loading counters.h in all
2268 (LyXTextClass): initialize ctrs_
2269 (TextClassTags): add TC_COUNTER, and ...
2270 (Read): use it here.
2271 (CounterTags): new tags
2272 (readCounter): new function
2273 (counters): new funtion
2274 (defaultLayoutName): return a const reference
2276 * counters.C (Counters): remove contructor
2277 (newCounter): remove a couple of unneeded statements.
2278 (newCounter): simplify a bit.
2279 (numberLabel): some small formatting changes.
2281 * buffer.[Ch]: remove all traces of counters, move the Counters
2282 object to the LyXTextClass.
2284 2002-09-06 Alain Castera <castera@in2p3.fr>
2286 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2287 package to set the horizontal alignment on fixed width columns.
2290 * lyx_sty.h: added tabularnewline macro def.
2292 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2294 2002-09-06 John Levon <levon@movementarian.org>
2296 * LyXAction.C: tooltips for sub/superscript
2298 * MenuBackend.C: a bit more verbose
2300 * lyxfunc.C: tiny clean
2302 * undo_funcs.C: document undo_frozen
2304 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * counters.C (Counters): add missing algorithm counter.
2308 * text2.C (setCounter): lookup the counter with layouts latexname
2309 instead of by section number.
2310 (setCounter): use a hackish way to lookup the correct enum
2312 a float name->type change
2313 reset enum couners with counter name directly instead of depth value.
2315 * counters.C (Counters): remove the push_backs, change to use the
2316 float type not the float name.
2317 (labelItem): remove unused string, float name->type change
2319 * counters.h: don't include vector, loose the enums and sects vectors
2321 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2324 (Read): add float->TC_FLOAT to textclassTags
2325 (Read): and handle it in the switch
2326 (readFloat): new function
2328 * FloatList.C (FloatList): comment out the hardcoded float
2331 * lyxlayout.h: ws change.
2333 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2335 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2337 2002-09-03 Angus Leeming <leeming@lyx.org>
2339 * BufferView_pimpl.h: qualified name is not allowed in member
2340 declaration: WorkArea & Pimpl::workarea() const;
2342 * factory.C: added using std::endl directive.
2344 * text3.C: added using std::find and std::vector directives.
2346 2002-08-29 André Pönitz <poenitz@gmx.net>
2349 * text2.C: remove unused member number_of_rows
2352 * BufferView2.C: remove file, move contents to...
2353 * BufferView.C: ... here
2355 * BufferView_pimpl.C:
2356 * factory.C: move more inset creation to factory
2358 * vspace.C: avoid direct usage of LyXText, ws changes
2361 don't provide direct access to WorkArea, use two simple
2362 acessors haveSelction() and workHeight() instead
2365 2002-08-29 John Levon <levon@movementarian.org>
2367 * BufferView_pimpl.C (dispatch): do not continue when
2370 2002-08-28 André Pönitz <poenitz@gmx.net>
2372 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2375 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2377 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2379 * buffer.C: increment LYX_FORMAT to 221
2381 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2382 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2384 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2386 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2388 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2390 * factory.C (createInset): use LyXTextClass::floats
2392 * MenuBackend.C (expandFloatListInsert):
2393 (expandFloatInsert):
2396 * text2.C (setCounter):
2398 * LaTeXFeatures.C (useFloat):
2399 (getFloatDefinitions):
2401 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2403 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2404 floatlist_, with accessor floats().
2406 * FloatList.h: remove global FloatList
2408 2002-08-26 André Pönitz <poenitz@gmx.net>
2410 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2414 * BufferView_pimpl.C:
2415 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2417 2002-08-25 John Levon <levon@movementarian.org>
2419 * LyXAction.C: fix margin note description
2421 2002-08-24 John Levon <levon@movementarian.org>
2425 * bufferview_funcs.C:
2427 * undo_funcs.C: cleanups
2429 * lyxfunc.C: disable CUT/COPY when no selection
2431 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2433 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2434 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2436 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2437 Add backward compatibility to "mono", "gray" and "no".
2439 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2441 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2442 (and file_format >= 200).
2444 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2446 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2448 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2452 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2454 * BufferView_pimpl.C:
2461 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2462 inset and code to make it work with the paragraph code. The inset
2463 can be anywhere in the paragraph, but will only do the expected
2464 thing in LaTeX if the layout file contains the parameter line
2466 (or more generally, a nonzero value) for that layout.
2468 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * paragraph.h: remove the declaration of undefined counters class
2473 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2475 * text2.C (setCounter): fixed enumeration mis-count as reported by
2476 Dr. Richard Hawkins.
2478 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2480 * paragraph_funcs.h: remove some unneeded includes
2482 * text.C (backspace): pasteParagraph now in global scipe
2484 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2485 (pasteSelection): ditto
2487 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2488 * paragraph_funcs.C (pasteParagraph): ... here
2490 2002-08-20 André Pönitz <poenitz@gmx.net>
2492 * commandtags.h: new LFUNs for swapping/copying table row/colums
2495 * lyxfunc.C: support for new lfuns
2497 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * buffer.[Ch]: remove NO_COMPABILITY stuff
2502 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * boost.C (throw_exception): new file, with helper function for
2505 boost compiled without exceptions.
2510 * ParameterStruct.h:
2511 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2513 * bufferlist.C (emergencyWriteAll): use boost bind
2515 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2517 * text.C: include paragraph_funcs.h
2518 (breakParagraph): breakParagraph is now in global scope
2520 * paragraph_funcs.[Ch]: new files
2522 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2525 * buffer.C: include paragraph_funcs.h
2526 (insertStringAsLines): breakParagraph is now in global scope
2528 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2531 * CutAndPaste.C: include paragraph_funcs.h
2532 (cutSelection): breakParagraphConservative is now in global scope
2533 (pasteSelection): ditto
2535 * buffer.h: declare oprator== and operator!= for
2536 Buffer::inset_iterator
2538 * bufferlist.C (emergencyWrite): don't use fmt(...)
2540 * text3.C: add using std::endl
2542 * BufferView.C (moveCursorUpdate): remove default arg
2544 2002-08-20 André Pönitz <poenitz@gmx.net>
2546 * buffer.[Ch]: move inline functions to .C
2549 * BufferView_pimpl.C:
2551 * buffer.[Ch]: use improved inset_iterator
2554 * paragraph.[Ch]: write one paragraph at a time
2556 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2558 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2559 style if style is not specified.
2561 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2563 * text2.C (setCounter): when searching for right label for a
2564 caption, make sure to recurse to parent insets (so that a caption
2565 in a minipage in a figure float works) (bug #568)
2567 2002-08-20 André Pönitz <poenitz@gmx.net>
2569 * text3.C: new file for LyXText::dispatch() and helpers
2571 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2573 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2575 2002-08-19 André Pönitz <poenitz@gmx.net>
2578 * text.C: new LyXText::dispatch()
2580 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2582 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2584 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2586 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2589 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2591 * Makefile.am: use $(variables) instead of @substitutions@
2593 2002-08-15 André Pönitz <poenitz@gmx.net>
2596 * BufferView_pimpl.C: streamlining mathed <-> outer world
2600 * LyXAction.C: remove unused LFUN_MATH
2602 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2606 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * paragraph.C (Paragraph): reformat a bit
2609 (cutIntoMinibuffer): use builtin InsetList function instad of
2613 * buffer.C: include boost/bind.hpp, add using std::for_each
2614 (writeFileAscii): use ParagraphList iterators
2615 (validate): use for_each for validate traversal of paragraphs
2616 (getBibkeyList): use ParagraphList iterators
2617 (resizeInsets): use for_each to resizeInsetsLyXText for all
2619 (getParFromID): use ParagraphList iterators
2621 * BufferView2.C (lockInset): use paragraph list and iterators
2623 2002-08-14 John Levon <levon@movementarian.org>
2625 * lyxserver.C: remove spurious xforms include
2627 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2629 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2631 2002-08-13 André Pönitz <poenitz@gmx.net>
2634 * lyxfunc.C: further cleaning
2636 2002-08-13 André Pönitz <poenitz@gmx.net>
2638 * funcrequest.h: new constructor
2640 * funcrequest.C: move stuff here from .h
2643 * BufferView_pimpl.C:
2646 * lyxfunc.C: subsequent changes
2648 * lyxfunc.h: new view() member function
2650 * lyxfunc.C: subsequent changes
2652 2002-08-13 Angus Leeming <leeming@lyx.org>
2655 * BufferView_pimpl.C:
2663 changes due to the changed LyXView interface that now returns references
2664 to member variables not pointers.
2666 2002-08-13 Angus Leeming <leeming@lyx.org>
2668 * WordLangTuple (word, lang_code): return references to strings,
2673 * lyxtext.h: forward-declare WordLangTuple.
2678 * text.C: #include "WordLangTuple.h".
2681 * text.C: (selectNextWordToSpellcheck): constify return type.
2683 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2689 * paragraph_pimpl.h:
2692 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2694 Made updateCounter always count from start of buffer, and removed
2695 second argument (par).
2696 Reverted floats number display to '#'. Perhaps I'll try again when the
2697 code base is sanitized a bit.
2699 2002-08-12 Angus Leeming <leeming@lyx.org>
2701 * buffer.[Ch] (getLabelList): constify.
2703 2002-08-07 André Pönitz <poenitz@gmx.net>
2705 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2707 * funcrequest.h: extension to keep mouse (x,y) position
2709 2002-08-12 Juergen Vigna <jug@sad.it>
2711 * BufferView2.C (insertErrors): forbid undo when inserting error
2714 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2716 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * ParagraphList.[Ch]: new files
2720 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2722 * BufferView2.C (lockInset): ParagraphList changes
2725 * bufferlist.C: ditto
2729 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2732 unused class variable counter_,
2734 * paragraph.[Ch] (getFirstCounter): delete unused function
2736 * counters.C: include LAssert.h
2737 (reset): add a new function with no arg, change other version to
2738 not have def. arg and to not allow empty arg.
2740 * text2.C (setCounter): remove empty arg from call to Counters::reset
2742 2002-08-11 John Levon <levon@movementarian.org>
2744 * Makefile.am: add WordLangTuple.h
2746 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2748 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2749 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2751 * insets/insettext.C: InsetList changes
2753 * graphics/GraphicsSupport.C (operator()): InsetList changes
2755 * toc.C (getTocList): InsetList changes
2757 * paragraph_pimpl.[Ch]: InsetList changes
2759 * paragraph.[Ch]: InsetList changes
2761 * buffer.C (inset_iterator): InsetList changes
2762 (setParagraph): ditto
2763 * buffer.h (inset_iterator): ditto
2764 * iterators.C (operator++): ditto
2765 * iterators.h: ditto
2767 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2769 * InsetList.[Ch]: new files, most InsetList handling moved out of
2772 * BufferView2.C (removeAutoInsets): InsetList changes
2774 (ChangeInsets): ditto
2776 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * paragraph_pimpl.h (empty): new function
2780 * paragraph.[Ch] (empty): new function
2782 * other files: use the new Paragraph::empty function
2784 2002-08-09 John Levon <levon@movementarian.org>
2786 * lyxtext.h: remove unused refresh_height
2788 2002-08-09 John Levon <levon@movementarian.org>
2795 * paragraph.C: move sgml char escaping out of paragraph
2798 * paragraph.C: remove id setter
2802 * paragraph_pimpl.C: remove dead tex_code_break_column
2804 * bufferview_funcs.C: small cleanup
2806 * lyxfunc.C: remove dead proto
2808 * lyxtext.h: make some stuff private. Remove some dead stuff.
2810 * lyxgluelength.C: make as[LyX]String() readable
2812 2002-08-08 John Levon <levon@movementarian.org>
2817 * ToolbarDefaults.C:
2820 * toc.C: lyxaction cleanup
2822 2002-08-08 John Levon <levon@movementarian.org>
2824 * BufferView2.C: small cleanup
2827 * lyxfind.C: move unnecessary header into the .C
2829 2002-08-08 John Levon <levon@movementarian.org>
2831 * funcrequest.h: just tedious nonsense
2834 * lyx_main.C: cleanups
2837 * vspace.C: remove dead header lyx_main.h
2839 2002-08-07 Angus Leeming <leeming@lyx.org>
2842 * paragraph_pimpl.h:
2843 Forward declare class Counters in paragraph.h by moving the ctrs member
2844 variable into Paragraph::Pimpl.
2845 (counters): new method, returning a reference to pimpl_->ctrs.
2847 * text2.C: ensuing changes.
2849 2002-08-07 John Levon <levon@movementarian.org>
2851 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2853 * BufferView_pimpl.C: announce X selection on double/triple
2856 * lyx_main.C: use correct bool in batch dispatch
2858 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2860 2002-08-07 André Pönitz <poenitz@gmx.net>
2862 * funcrequest.h: new class to wrap a kb_action and its argument
2865 * BufferView_pimpl[Ch]:
2869 * lyxrc.C: subsequent changes
2872 2002-08-07 John Levon <levon@movementarian.org>
2874 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2875 document options change.
2877 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2882 * makefile.am: move counters functionality over from
2883 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2885 2002-08-06 John Levon <levon@movementarian.org>
2887 * WordLangTuple.h: new file for word + language code tuple
2898 * BufferView2.C: use WordLangTuple
2901 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2903 2002-08-06 John Levon <levon@movementarian.org>
2905 * lyx_main.C: fix cmdline batch handling
2907 2002-08-06 André Pönitz <poenitz@gmx.net>
2909 * lyxrc.C: set default for show_banner to true
2911 2002-08-06 John Levon <levon@movementarian.org>
2913 * pspell.C: fix a crash, and allow new aspell to work
2915 2002-08-06 John Levon <levon@movementarian.org>
2918 * kbmap.C: small cleanup
2921 * vspace.C: add const
2923 2002-08-05 John Levon <levon@movementarian.org>
2925 * LyXAction.C: back to tabular-insert
2927 2002-08-04 John Levon <levon@movementarian.org>
2930 * BufferView.C: cosmetic change
2932 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2942 * BufferView2.C: purge all "Lyx" not "LyX" strings
2945 * lyxcursor.C: attempt to add some documentation
2950 * ToolbarDefaults.C:
2951 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2952 merge with LFUN_TABULAR_INSERT
2959 * pspell.C: split up i/pspell implementations into separate
2960 files, many cleanups
2962 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2964 * text2.C: some cleanup
2966 * lyxfunc.C: don't check for isp_command == "none" any more, it
2967 didn't make any sense
2969 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2974 * makefile.am: move counters functionality over
2975 from text2.C/paragraph.[Ch] to counters.[Ch], and
2977 2002-08-02 John Levon <levon@movementarian.org>
2979 * buffer.C: s/lyxconvert/lyx2lyx/
2981 2002-08-02 Angus Leeming <leeming@lyx.org>
2983 * lyxlex.C: revert John's change as it breaks reading of the user
2986 2002-08-02 Angus Leeming <leeming@lyx.org>
2988 * importer.C (Import):
2989 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2990 changes due to LyXView::view() now returning a boost::shared_ptr.
2992 2002-08-02 John Levon <levon@movementarian.org>
2994 * lyxlex.C: small cleanup
2996 2002-08-02 John Levon <levon@movementarian.org>
2998 * text2.C (status): small cleanup, no logic change
3000 2002-08-01 John Levon <levon@movementarian.org>
3003 * buffer.C (writeFile): don't output alerts, caller
3007 * lyx_cb.C: from above
3009 * lyxfunc.C: allow to open non-existent files
3011 2002-07-31 John Levon <levon@movementarian.org>
3013 * lyxserver.C: don't let incidental errors get
3016 2002-07-30 John Levon <levon@movementarian.org>
3018 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3020 2002-07-30 John Levon <levon@movementarian.org>
3023 * lyxserver.C: remove I/O callback too
3025 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3027 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3030 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * many files: strip,frontStrip -> trim,ltrim,rtrim
3034 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * PrinterParams.h: remove extern containsOnly, and include
3037 support/lstrings.h instead.
3039 * LaTeX.C (scanAuxFile): modify because of strip changes
3041 * buffer.C (makeLaTeXFile): ditto
3042 * bufferparams.C (writeFile): ditt
3043 * lyxfont.C (stateText): ditto
3044 * lyxserver.C (read_ready): ditto
3045 * vc-backend.C (scanMaster): ditto
3047 * BufferView_pimpl.h: ws changes
3049 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3051 2002-07-26 André Pönitz <poenitz@gmx.net>
3053 * kb_sequence.C: remove unnedred usings
3055 2002-07-26 Juergen Vigna <jug@sad.it>
3057 * lyxfind.C (LyXReplace): we have to check better if the returned
3058 text is not of theLockingInset()->getLockingInset().
3060 2002-07-25 Juergen Vigna <jug@sad.it>
3062 * lyxfind.C (LyXReplace): don't replace if we don't get the
3065 * undo_funcs.C (createUndo): remove debugging code.
3067 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3069 * buffer.C (parseSingleLyXformat2Token): Use default placement
3070 when reading old floats.
3072 * FloatList.C (FloatList): Change the default placement of figure
3073 and tables to "tbp".
3075 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3077 * MenuBackend.C: using std::max
3079 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3081 * MenuBackend.C (expandToc):
3082 (expandToc2): code moved from xforms menu frontend. It is now
3083 generic and TOCs are transparent to menu frontends.
3085 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3087 * toc.C (getTocList): protect against buf=0
3089 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3090 Menu as first parameter. Now, this calls itself recursively to
3091 expand a whole tree (this will be useful for TOC handling)
3092 (expandFloatInsert): remove 'wide' version of floats
3094 * MenuBackend.h (submenuname): returns the name of the submenu.
3095 (submenu): returns the submenu itself, provided it has been
3096 created by MenuBackend::expand
3098 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3100 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3101 insets which have noFontChange == true. (bug #172)
3103 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3105 * BufferView_pimpl.C: add connection objects and use them...
3108 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3110 * MenuBackend.C (expandLastfiles):
3113 (expandFloatListInsert):
3114 (expandFloatInsert):
3115 (expand): split expand in parts
3117 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3119 * lyx_gui.C: use lyx_gui::exit()
3121 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3123 * LyXAction.C: show the failing pseudo action
3125 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3127 * buffer.C (readFile): Run the lyxconvert script in order to read
3130 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3134 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3136 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3140 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3142 2002-07-22 Herbert Voss <voss@lyx.org>
3145 * lyxlength.[Ch]: add support for the vertical lengths
3147 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3149 * toc.[Ch]: std:: fixes
3151 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3153 * lyxrc.C: do not include lyx_main.h
3155 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3161 * BufferView2.C: include "lyxlex.h"
3164 * bufferparams.h: do not #include "lyxlex.h"
3166 * lyxtextclasslist.C (Add): remove method
3167 (classlist): renamed to classlist_
3169 * paragraph_pimpl.C:
3173 * bufferview_funcs.C:
3178 * toc.C (getTocList): use BufferParams::getLyXTextClass
3180 * toc.C (getTocList): use InsetFloat::addToToc
3182 * toc.[Ch]: new files, containing helper functions to handle table
3185 * lyxfunc.C (dispatch): no need to remove spaces around command
3187 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3188 first command of the sequence; it is not very clever, but I do not
3189 have a better idea, actually
3191 * LyXAction.C (LookupFunc): make sure to remove space at the
3192 beginning and end of the command
3194 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3196 * MenuBackend.C (getMenubar): new method: return the menubar of
3198 (read): treat differently reading of menu and menubar (in
3199 particular, the menubar has no name now)
3200 (Menu::menubar): remove
3202 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3205 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3207 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3208 a bibitem inset in a RTL paragraph.
3210 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3212 * paragraph_pimpl.C: constify
3214 * BufferView_pimpl.C:
3216 * lyxfunc.C: fix dispatch in a nicer way
3218 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3220 * lyxfunc.C (dispatch):
3221 * BufferView_pimpl.C:
3222 * BufferView_pimpl.h:
3224 * BufferView.h: rename Dispatch() to dispatch()
3226 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3228 * lyxlayout.C (Read): honor DependsOn tag
3230 * lyxlayout.[Ch] (depends_on): new method
3232 * version.C.in: update lyx_docversion
3234 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3236 * paragraph.C (validate): remove from here...
3237 * paragraph_pimpl.C (validate): ... and move here
3238 (isTextAt): make it const
3240 * buffer.C (getLists): ws cleanup
3242 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3244 * language.C (read): Use iso8859-1 encoding in latex_lang
3245 (this prevents LyX from crashing when using iso10646-1 encoding).
3247 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3249 * text2.C (toggleInset): if cursor is inside an inset, close the
3250 inset and leave cursor _after_ it
3252 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3254 * lyxfunc.C: move minibuffer completion handling out of here
3256 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3258 * BufferView_pimpl.C:
3259 * LaTeX.C: fix dispatch calls
3261 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3263 * text.C (drawChars): Fix Arabic text rendering.
3265 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3269 * lyxfunc.C: remove message-push/pop
3273 * lyxfunc.C: rationalise some code by removing verboseDispatch
3274 in favour of a bool argument to dispatch()
3276 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3278 * lyx_main.C (init): make sure to read symlinks as absolute paths
3280 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3283 * lyxfunc.C: no need for commandshortcut to be a member
3285 2002-07-15 André Pönitz <poenitz@gmx.net>
3287 * converter.C: add support for $$s (scripts from lib/scripts dir)
3288 * lyx_main.C: white space
3290 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3294 * lyxrc.C: remove second exit confirmation
3296 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3301 * BufferView_pimpl.h:
3302 * BufferView_pimpl.C:
3303 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3305 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3307 * MenuBackend.C (expand): add numeric shortcuts to document menu
3309 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3311 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3313 * lyxfont.C (setLyXFamily):
3320 * buffer.C (asciiParagraph): use ascii_lowercase
3322 2002-07-15 Mike Fabian <mfabian@suse.de>
3324 * lyxlex_pimpl.C (search_kw):
3325 * lyxlex.C (getLongString):
3326 * converter.h (operator<):
3327 * converter.C (operator<):
3328 * buffer.C (parseSingleLyXformat2Token):
3330 * ToolbarDefaults.C (read):
3331 * MenuBackend.C (checkShortcuts):
3333 * LColor.C (getFromGUIName):
3334 (getFromLyXName): use the compare_ascii_no_case instead of
3335 compare_no_case, because in turkish, 'i' is not the lowercase
3336 version of 'I', and thus turkish locale breaks parsing of tags.
3338 2002-07-16 Angus Leeming <leeming@lyx.org>
3340 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3341 now takes a Buffer const & argument.
3343 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3345 * BufferView.C (resize): check there's a buffer to resize
3347 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3349 * lyxfunc.C: remove dead code
3352 * lyxserver.C: use lyx_guii::set_read_callback
3354 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3356 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3357 an inset in a RTL paragraph.
3359 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3361 * lyxfunc.C: repaint after a font size update
3363 2002-07-15 André Pönitz <poenitz@gmx.net>
3365 * lyxlength.C: inBP should be able to return negative values
3367 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3369 * lyxfunc.C: use lyx_gui::update_fonts()
3371 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3373 * lyxfunc.C: use lyx_gui::update_color()
3375 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3381 * lyxrc.C: remove file->new asks for name option, and let
3382 buffer-new take an argument
3384 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3386 * BufferView_pimpl.C: remove unneeded extra repaint()
3388 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3390 * LyXAction.C: allow command-sequence with NoBuffer
3392 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3394 2002-07-10 Angus Leeming <leeming@lyx.org>
3396 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3398 2002-07-09 Angus Leeming <leeming@lyx.org>
3400 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3402 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3404 * lengthcommon.h: whitespace
3406 * lyxfunc.C: update scrollbar after goto paragraph
3408 * lyxtext.h: factor out page break drawing, and fix it so
3409 page break/added space paints as selected nicely
3411 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3413 * BufferView_pimpl.C: add FIXMEs, clean up a little
3415 2002-07-09 André Pönitz <poenitz@gmx.net>
3417 * lyxfont.[Ch]: support for wasy symbols
3419 2002-07-08 André Pönitz <poenitz@gmx.net>
3421 * BufferView_pimpl.C: apply John's patch for #93.
3423 2002-07-05 Angus Leeming <leeming@lyx.org>
3425 * BufferView_pimpl.C (buffer): generate previews if desired.
3427 * LColor.h: add "preview" to the color enum.
3429 * LColor.C (LColor): add a corresponding entry to the items array.
3431 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3434 2002-07-05 Angus Leeming <leeming@lyx.org>
3436 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3437 The body of the code is now in the method that is passed an ostream &
3438 rather than a file name.
3439 Pass an additional only_preamble parameter, useful for the forthcoming
3442 2002-07-03 André Pönitz <poenitz@gmx.net>
3444 * lyxfunc.C: simplify getStatus() a bit for math stuff
3446 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3448 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3450 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3452 * text.C (changeRegionCase): do not change case of all the
3453 document when region ends at paragraph end (bug #461)
3455 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3457 * paragraph.C (startTeXParParams):
3458 (endTeXParParams): add \protect when necessary
3460 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3462 * BufferView_pimpl.C (workAreaExpose): remove warning
3464 2002-06-27 Angus Leeming <leeming@lyx.org>
3466 * Makefile.am: add lyxlayout_ptr_fwd.h.
3468 2002-06-26 André Pönitz <poenitz@gmx.net>
3470 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3472 2002-06-25 Angus Leeming <leeming@lyx.org>
3474 * lyxfunc.C (dispatch): Comment out the call to
3475 grfx::GCache::changeDisplay. The method no longer exists now that the
3476 pixmap generation part of the graphics loader has been moved into
3479 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3481 * text2.C: layout as layout
3483 * text.C: layout as layout
3485 * tabular.C (OldFormatRead): layout as layout
3487 * paragraph_pimpl.C (TeXDeeper): layout as layout
3488 (realizeFont): layout as layout
3490 * paragraph.C (writeFile): layout as layout
3491 (validate): layout as layout
3492 (getFont): layout as layout
3493 (getLabelFont): layout as layout
3494 (getLayoutFont): layout as layout
3495 (breakParagraph): layout as layout
3496 (stripLeadingSpaces): layout as layout
3497 (getEndLabel): layout as layout
3498 (getMaxDepthAfter): layout as layout
3499 (applyLayout): layout as layout
3500 (TeXOnePar): layout as layout
3501 (simpleTeXOnePar): layout as layout
3502 (TeXEnvironment): layout as layout
3503 (layout): layout as layout
3504 (layout): layout as layout
3506 * lyxtextclass.C (compare_name): new functor to work with
3507 shared_ptr, layout as layout
3508 (Read): layout as layout
3509 (hasLayout): layout as layout
3510 (operator): layout as layout
3511 (delete_layout): layout as layout
3512 (defaultLayout): layout as layout
3514 * lyxlayout_ptr_fwd.h: new file
3516 * lyxlayout.C (Read): layout as layout
3518 * lyx_cb.C (MenuInsertLabel): layout as layout
3520 * bufferlist.C (newFile): layout as layout
3522 * buffer.C (readLyXformat2): layout as layout
3523 (parseSingleLyXformat2Token): layout as layout
3524 (insertStringAsLines): layout as layout
3525 (asciiParagraph): layout as layout
3526 (latexParagraphs): layout as layout
3527 (makeLinuxDocFile): layout as layout
3528 (simpleLinuxDocOnePar): layout as layout
3529 (makeDocBookFile): layout as layout
3530 (simpleDocBookOnePar): layout as layout
3531 (getLists): layout as layout
3533 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3535 * CutAndPaste.C (cutSelection): layout as layout
3536 (pasteSelection): layout as layout
3537 (SwitchLayoutsBetweenClasses): layout as layout
3539 * BufferView_pimpl.C (Dispatch): layout as layout
3540 (smartQuote): layout as layout
3542 * BufferView2.C (unlockInset): layout as layout
3544 2002-06-24 André Pönitz <poenitz@gmx.net>
3546 * lyxfunc.C: fix #487
3548 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3552 * lyxfunc.C: remove display_shortcuts, show_banner
3554 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3556 * Buffer_pimpl.C: oops, update on resize
3558 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3565 * BufferView.C: use repaint()
3567 * BufferView_pimpl.h:
3568 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3569 as it's a clearer description. Remove superfluous
3572 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3574 * text.C: fix bug 488. Not ideal, but getting
3575 getWord() to work properly for the insets that
3576 matter is more difficult ...
3578 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3580 * BufferView_pimpl.C:
3583 * lyxfunc.C: remove the six million index lyxfuncs to just
3584 one, and DTRT (bug 458)
3586 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3590 * BufferView_pimpl.h:
3591 * BufferView_pimpl.C: clean up resize() stuff,
3592 and unnecessary updateScreen()s
3594 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3598 * BufferView_pimpl.h:
3599 * BufferView_pimpl.C:
3602 * minibuffer.C: remove focus management of workarea,
3603 not needed. Use screen's greyOut()
3605 2002-06-17 Herbert Voss <voss@lyx.org>
3607 * converter.C: (convert) do not post a message, when converting
3608 fails, let the calling function decide what to do in this case
3610 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3612 * lyxfunc.C: tidy up a little
3614 2002-06-16 <alstrup@diku.dk>
3616 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3617 Got rid of FORMS_H_LOCATION include. Now we are
3620 2002-06-15 LyX Development team <lyx@rilke>
3622 * buffer.[Ch] (sgmlOpenTag):
3623 (sgmlCloseTag): Added support for avoiding pernicious mixed
3624 content. Return number of lines written.
3627 (makeDocBookFile): Fixed calls to sgml*Tag.
3628 Simple white space clean.
3630 (simpleDocBookOnePar): Simple white space clean.
3632 * tabular.[Ch] (docBook): Renamed to docbook and got another
3633 argument to related with the pernicious mixed content.
3635 (docbookRow): Fixed calls for docbook inset method.
3637 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3639 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3640 so it's X11 independent.
3644 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3646 2002-06-15 Lyx Development team <lyx@electronia>
3648 * intl.h: Renamed getTrans to getTransManager.
3650 2002-06-14 Angus Leeming <leeming@lyx.org>
3652 * Makefile.am: nuke forgotten stl_string_fwd.h.
3654 2002-06-12 Angus Leeming <leeming@lyx.org>
3656 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3658 2002-06-13 Angus Leeming <leeming@lyx.org>
3661 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3663 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3665 * kbmap.C (getiso): add support for cyrillic and greek
3667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3671 * BufferView_pimpl.h:
3672 * BufferView_pimpl.C: move bogus scrolling logic
3675 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3678 * BufferView_pimpl.C: view->resize() change
3680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3682 * BufferView_pimpl.C: topCursorVisible
3685 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3689 * lyx_gui.C: move to frontends/
3693 * lyx_main.C: changes from above
3695 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3702 * lyx_main.C: minor tidy
3704 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3706 * BufferView_pimpl.h:
3707 * BufferView_pimpl.C:
3709 * BufferView.C: make painter() const,
3712 * BufferView2.C: use screen() accessor
3715 * lyx_main.C: some minor cleanup
3717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3719 * BufferView_pimpl.h:
3720 * BufferView_pimpl.C: remove enter/leaveView,
3723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3728 * BufferView_pimpl.h:
3729 * BufferView_pimpl.C: only construct screen once,
3732 * lyxrc.C: remove pointless comment
3734 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3737 * BufferView.C: remove active() and belowMouse()
3739 * BufferView_pimpl.h:
3740 * BufferView_pimpl.C: use workarea() not workarea_,
3741 and make it use a scoped_ptr instead
3743 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3745 * lyx_gui.C: add debug message on BadWindow
3747 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3749 * sp_spell.C: fdopen is not part of the C++ standard.
3751 * paragraph.C (InsetIterator): use >= instead of ==
3753 2002-06-07 Angus Leeming <leeming@lyx.org>
3755 Fixes needed to compile with Compaq cxx 6.5.
3756 * BufferView_pimpl.C:
3763 * lyxtextclasslist.C:
3768 all c-library variables have been moved into namespace std. Wrap
3769 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3774 Add a using std::abs declaration.
3776 * kbmap.h (modifier_pair):
3777 * paragraph.h (InsetTable, InsetList):
3778 * lyxfont.h (FontBits):
3779 type definition made public.
3781 * bufferlist.C (emergencyWriteAll): the compiler complains that
3782 there is more than one possible lyx::class_fun template to choose from.
3783 I re-named the void specialisation as lyx::void_class_fun.
3785 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3787 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3788 the compiler is is unable to find tostr in write_attribute.
3790 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3792 * buffer.C (sgmlError): hide #warning
3794 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * xtl/*: get rid of xtl, which is not in use anyway
3798 * LyXAction.C (init):
3799 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3800 were unimplemented xtl experimentation
3802 2002-06-04 André Pönitz <poenitz@gmx.net>
3804 * lyxfunc.C: disable array operation on simple formulae
3806 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3808 * converter.C: constify a bit
3810 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3812 * lyx_gui.C: check xforms version correctly
3814 2002-04-30 Herbert Voss <voss@lyx.org>
3816 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3819 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3821 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3822 attempt to register it with a VCS)
3824 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3826 * lyx_main.C (init): honor variables LYX_DIR_13x and
3829 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3833 * lyx_main.C: fix a crash on bad command line,
3834 and give a useful exit status on error
3836 * lyxfunc.C (doImport): allow -i lyx to work
3838 2002-03-30 André Pönitz <poenitz@gmx.net>
3840 * lyxfunc.C: mathed font changes
3842 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3857 * trans_mgr.h: srcdocs, and some minor cleanups
3859 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3861 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3862 call getFont all the time)
3864 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3866 * switch from SigC signals to boost::signals
3868 2002-05-29 André Pönitz <poenitz@gmx.net>
3870 * paragraph_pimpl.C (getChar): don't call size() too often...
3872 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3874 * paragraph_pimpl.C (insertChar): do not try to update tables when
3875 appending (pos == size())
3877 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3878 in order to reduce drastically the number of comparisons needed to
3879 parse a large document
3881 2002-05-29 André Pönitz <poenitz@gmx.net>
3887 * textclasslist.[Ch]:
3888 * sp_ispell.h: whitespace change
3890 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3893 lyxaction directly now.
3895 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3899 * lyxvc.C: remove unused headers
3901 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3908 * undo_funcs.C: some cleanups. Use shared_ptr
3909 and a template for the undo stacks.
3911 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3913 * BufferView_pimpl.h:
3914 * BufferView_pimpl.C:
3921 * text2.C: use key_state/mouse_state
3923 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3925 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3928 * chset.C: change include order
3929 (loadFile): use boost regex and get rid of LRegex and LSubstring
3931 * Makefile.am (BOOST_LIBS): new variable
3934 * LaTeX.C: change include order.
3935 (scanAuxFile): use boost regex and get rid of LRegex and
3939 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3944 * FontInfo.C: moved to frontends/xforms/
3947 * FontLoader.C: moved into frontends for GUIIzation
3952 * lyxfunc.C: changes from above
3954 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3956 * LColor.C: remove spurious X include
3958 * BufferView_pimpl.C:
3963 * text2.C: move font metrics to frontends/
3965 2002-05-24 Juergen Vigna <jug@sad.it>
3967 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3968 setting the undo_cursor.
3970 * ParagraphParameters.h: include local includes first.
3972 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3974 * BufferView_pimpl.C:
3975 * BufferView_pimpl.h:
3979 * screen.C: move WorkArea into frontends/
3985 * BufferView2.C: move LyXScreen into frontends/
3989 * lyx_gui.C: move lyxlookup into frontends/xforms/
3991 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3994 * BufferView_pimpl.C:
4004 * bufferview_funcs.C:
4017 * vc-backend.C: move LyX/XFormsView into frontends/
4019 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4031 * text2.C: move Painter to frontends/
4033 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4035 * buffer.C: comment out some some code that depend upon lyx_format
4038 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4039 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4041 * buffer.h (NO_COMPABILITY): turn off compability
4043 * ColorHandler.C: include scoped_array.hpp
4045 * font.C: Use more specific smart_ptr header.
4048 * ShareContainer.h: ditto
4052 * BufferView_pimpl.h: ditto
4053 * ColorHandler.h: ditto
4055 * kbmap.C (defkey): change call to shared_ptr::reset
4057 2002-05-21 Juergen Vigna <jug@sad.it>
4059 * buffer.C (insertErtContents): fix to insert ert asis if it is
4060 non empty. Skip it completely if it contains only whitespaces.
4062 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4064 * BufferView_pimpl.C:
4065 * BufferView2.C: clear selection on paste (bug 393)
4067 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4069 * DepTable.C: include ctime
4071 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4073 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4075 2002-05-14 Juergen Vigna <jug@sad.it>
4077 * text.C (breakParagraph): fixed function to honor the keepempty
4078 layout in the right maner and also to permit the right breaking
4079 algorithm on empty or non empyt keepempty paragraphs.
4081 * paragraph.C (breakParagraph): we have to check also if the par
4082 is really empty (!size()) for isempty otherwise we do the wrong
4085 2002-05-10 Juergen Vigna <jug@sad.it>
4087 * buffer.[Ch] : The following are only changes to the ert
4088 compatibility read reading old LaTeX layout and font stuff and
4089 convert it to ERTInsets.
4091 * buffer.h: added isErtInset().
4093 * buffer.C (struct ErtComp): add a fromlayout bool to check
4094 if we're inside a LaTeX layout.
4095 (isErtInset): new helper function.
4096 (insertErtContents): look for other ert insets before this one
4097 and insert the contents there, so that we don't have subsequent
4098 ERT insets with nothing between them. This way we create only one
4099 inset with multiple paragraphs. Also check if we don't insert only
4100 spaces ' ' as they are ignored anyway afterwards in the .tex file
4101 so if we have only spaces we will ignore this latex part in the
4103 (parseSingleLyXformat2Token \\layout): better compatibility when
4104 reading layout-latex stuff.
4105 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4107 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4108 stuff after reading the inset only get the information back from
4111 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4113 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4115 * LaTeXFeatures.C (getBabelOptions): New method.
4117 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4119 * BufferView_pimpl.C (Dispatch): work around missing argument for
4122 2002-05-08 Juergen Vigna <jug@sad.it>
4124 * text.C (leftMargin): handle paragraph leftindent.
4126 * paragraph.C (writeFile): write the new \\leftindent tag.
4127 (validate): handle leftindent code.
4128 (TeXEnvironment): handle paragraphleftindent code again.
4130 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4132 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4133 for paragrap_extra indent code and new token \\leftindent.
4134 (latexParagraphs): handle the leftindent as environment.
4136 * ParameterStruct.h: added leftindent support.
4138 * ParagraphParameters.C (leftIndent): added support functions for
4139 the paragraph left indent.
4141 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4144 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4146 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4149 * text.C (computeBidiTables): No bidi in insetERT.
4151 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4154 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4156 * version.C.in: pre 5
4158 2002-05-02 José Matos <jamatos@fep.up.pt>
4159 * buffer.C (makeDocBookFile): white space changes, add newline to
4161 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4163 * tabular.C (docBook): fix typo.
4165 2002-05-03 Juergen Vigna <jug@sad.it>
4167 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4168 change in LyXText as we can not be sure it was not freed.
4169 (drawOneRow): remove unused code.
4171 * text.C (drawInset): redo the calculation of the need_break_row as
4172 it could have a row which was already freed.
4173 (draw): look at the return value of drawInset and return false if
4174 it also returned false.
4175 (paintRowText): look at the return value of draw and return false if
4176 it also returned false.
4178 * lyxtext.h: added bool return type to drawInset() and draw() so that
4179 if we have a change in the row so that the rowbreak has to be redone
4180 we abort drawing as it will be called again.
4182 2002-05-02 Juergen Vigna <jug@sad.it>
4184 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4185 a change in the maintext also if we're inside an inset.
4186 (Dispatch): set the cursor again after a break line and after the
4187 screen has been updated as it could be we're in a different row.
4189 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4190 to set the cursor behind the pargraph with > size().
4191 (setCursor): check also for the same paragraph when checking where
4192 to put the cursor if we have a NFR inset.
4194 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4195 parts of layout read further up as it still was in the wrong
4198 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * screen.C (drawFromTo): change sine fullRebreak always return
4203 * buffer.C (parseSingleLyXformat2Token): reindent some
4205 * BufferView_pimpl.C (update): change since fullRebreak always
4207 (Dispatch): git rid of the last hardcoded "Standard"s.
4209 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4211 * text2.[Ch] (fullRebreak): make it return void now that we always
4214 2002-04-30 Juergen Vigna <jug@sad.it>
4216 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4217 ert compatibility check for "latex" layout.
4219 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4221 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4222 minipages: use col% instead of p%, and also use the current font.
4223 (makeLaTeXFile): Fix use babel condition.
4224 (parseSingleLyXformat2Token): Correct font when reading old floats.
4226 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4228 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4229 inserting list of floats.
4231 2002-04-25 Herbert Voss <voss@lyx.org>
4233 * MenuBackend.C (expand): don't add the graphics extensions to the
4236 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4239 non-existing layout, do not complain if it was the default layout
4240 of the original class (bug #342)
4242 2002-04-24 Juergen Vigna <jug@sad.it>
4244 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4245 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4247 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4249 * buffer.C (getBibkeyList): If using \bibliography, return the
4250 option field with the reference itself. Enables us to provide natbib
4251 support when using \bibliography.
4253 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4255 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4257 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4258 natbib is provided by the LaTeX class.
4260 2002-04-23 Juergen Vigna <jug@sad.it>
4262 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4265 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4267 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4269 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4271 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4272 ensuremath around textordmasculine, textordfeminine and
4275 2002-04-19 Juergen Vigna <jug@sad.it>
4277 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4278 reinitializing the buffer otherwise row-dimensions may be wrong.
4279 (update): reset also the selection cursors if they do exits otherwise
4280 their x/y positions may be wrong.
4282 * text2.C (cursorDown): don't enter the inset if we came from a row
4283 above and are one row over the inset.
4285 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4286 really leaving an inset.
4288 2002-04-18 Juergen Vigna <jug@sad.it>
4290 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4291 of the selected paragraph does not have the selected layout also if
4294 * text2.C (setLayout): fixed bug which did not change last selected
4297 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4298 changed the read and substituted \\end_float with \\end_inset!
4300 * BufferView_pimpl.C (cursorPrevious):
4301 (cursorNext): fixed to make it work with rows heigher than the work
4302 area without moving the cursor only the draw of the row.
4303 (workAreaMotionNotify): fix jumping over high rows.
4305 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4307 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4310 2002-04-16 Juergen Vigna <jug@sad.it>
4312 * text2.C (setCursor): set also the irow().
4313 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4315 (cursorDown): support for locking an inset if the x_fix value goes
4316 inside it. That way I can transverse insets too with cursor up/down.
4318 * lyxrow.h: added irow helper function same as other (i) functions.
4320 * BufferView_pimpl.C (cursorPrevious):
4321 (cursorNext): fixed for insets!
4323 2002-04-15 Juergen Vigna <jug@sad.it>
4325 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4326 position otherwise it is wrong in some cases.
4328 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4329 inside the inset before the call.
4331 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4333 * buffer.[Ch] (getBibkeyList): make it const.
4335 2002-04-12 Juergen Vigna <jug@sad.it>
4337 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4339 * text2.C (getCursorX): new helper function
4340 (setCursor): compute also ix_
4341 (setCursorFromCoordinates): set also ix.
4343 * lyxcursor.h: added ix_ and helper functions.
4345 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4347 * buffer.C (insertStringAsLines): dont break paragraph if the this
4348 paragraph is inside an inset which does not permit it!
4350 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4351 also with no chars on this paragraph.
4352 (paintRowText): only paint stuff if it's inside the workarea!
4354 * paragraph.C (breakParagraph): honor keepempty flag and break the
4355 paragraph always below not above.
4357 * BufferView2.C (unlockInset): update the paragraph layout on inset
4358 unlock as we changed paragraph in such a case.
4360 * lyxfind.C (LyXFind): clear the former selection if not found!
4362 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4363 again called in insertChar().
4365 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4366 an inset which uses the whole row!
4367 (rightMargin): ditto.
4368 (insertChar): force a rebreak if we inserted an inset!
4370 2002-03-28 Herbert Voss <voss@lyx.org>
4372 * lyxlength.[Ch]: add inBP() to get the right PS-point
4373 units (BigPoint). With inPixels we have rounding errors
4375 2002-04-11 Juergen Vigna <jug@sad.it>
4377 * text2.C (setCursorFromCoordinates): set iy to the right value.
4378 (setCursor): add check if row->previous exists!
4380 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4381 an old float_type as this was the case in the old code!
4383 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4385 * BufferView2.C (showLockedInsetCursor): use iy
4386 (fitLockedInsetCursor): ditto
4388 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4389 locked insets as there we have the right value now.
4391 * lyxcursor.C: added iy_ variable and iy functions to set to the
4392 baseline of cursor-y of the locked inset.
4394 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4395 (setCursor): fixed for insets which need a full row.
4397 * text.C (rowLastPrintable): don't ignore the last space when before
4398 an inset which needs a full row.
4399 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4400 as last character of a row when before a inset which needs a full row.
4402 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4404 * version.C.in: update date
4406 * text2.C (fullRebreak): try to always return true and see what
4409 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4411 * MenuBackend.C (expand): use Floating::listName
4413 * FloatList.C (FloatList): add listName argument to the built-in
4416 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4417 text associated with the float.
4419 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4423 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4425 * ShareContainer.h: add a couple of missing typenames.
4427 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4429 * lyxrc.C (getDescription): use _() correctly rather than N_().
4431 2002-03-28 Herbert Voss <voss@lyx.org>
4433 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4434 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4436 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4438 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4439 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4441 2002-03-29 Juergen Vigna <jug@sad.it>
4443 * lyxfunc.C (dispatch): add a missing fitCursor call.
4445 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4446 it was scrolled by a cursor move, so return the bool status.
4448 * BufferView.C (fitCursor): return the bool flag also to the outside
4449 world as this is needed.
4451 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4453 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4454 call the edit() as it is not needed (and wrong) IMO.
4455 (workAreaButtonPress): set the screen_first variable before evt.
4456 unlock the inset as this may change screen_first and then we have
4457 a wrong y position for the click!
4459 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4461 * MenuBackend.C (expand): another translation that I missed
4463 2002-03-28 Juergen Vigna <jug@sad.it>
4465 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4467 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4469 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4471 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4473 * MenuBackend.C (expand): fix export/view/update when there is no
4476 2002-03-27 Herbert Voss <voss@lyx.org>
4478 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4481 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4483 * bufferview_funcs.C (currentState): only show paragraph number
4484 for is DEVEL_VERSION is set.
4486 * lyxfunc.C (dispatch): put warning in INFO channel
4488 * MenuBackend.C (expand): translate the name of floats
4490 * FloatList.C (FloatList): mark the float names for translation
4492 * converter.C (convert): use LibScriptSearch
4494 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4496 * MenuBackend.C (defaults): fix default menu (we might as well get
4499 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4501 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4504 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4506 * lyxvc.C: reorder includes.
4508 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4510 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4513 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4515 * CutAndPaste.C: change layouts earlier on paste
4516 to avoid crashing when calling getFont()
4518 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4520 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4523 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4525 * WorkArea.C: remove 'Pending' debug message.
4527 * most files: ws cleanup
4529 * buffer.[Ch]: ws changes
4531 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4533 2002-03-21 Juergen Vigna <jug@sad.it>
4535 * tabular.C (SetMultiColumn): collapse also the contents of the
4536 cells and set the last border right. Added a Buffer const * param.
4538 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4540 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4543 2002-03-19 Juergen Vigna <jug@sad.it>
4545 * text2.C (clearSelection): reset also xsel_cache.
4547 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4548 where it needs to be called (John tells us to do so too :)
4549 (selectionLost): reset sel_cache.
4551 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4553 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * text2.C (setCursorIntern): put debuging code in INSETS channel
4557 2002-03-19 André Pönitz <poenitz@gmx.net>
4559 * lyxfunc.C: tiny whitespace change
4561 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4563 * ToolbarDefaults.C (init):
4564 * LyXAction.C (init):
4566 * BufferView_pimpl.C (Dispatch):
4567 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4569 2002-03-19 Allan Rae <rae@lyx.org>
4571 * exporter.C (Export): removeAutoInsets before doing anything else.
4572 While I've just introduced a dependency on BufferView this really is
4573 the best place to clean the buffer otherwise you need to cleanup in
4574 a dozen places before calling export or cleanup in a dozen functions
4577 * converter.C (runLaTeX):
4578 (scanLog): Better handling of removeAutoInsets and screen updates.
4580 * lyxfunc.C (dispatch): small whitespace changes
4582 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4584 * WorkArea.C (C_WorkAreaEvent): return a value.
4585 (event_cb): return 1 if we handled the event, 0 otherwise.
4587 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4589 2002-03-18 Juergen Vigna <jug@sad.it>
4591 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4592 (GetAdditionalWidth): ditto.
4596 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4597 inset if we're there actually (probably not used right now but this
4598 is the direction to go for unifying code).
4599 (paste): disable code to clear the selection.
4601 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4602 inside an InsetText and move the check further up as it is in the
4605 * text2.C (pasteSelection): set a selection over the pasted text.
4607 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4609 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4610 and libgraphics to build on Cygwin.
4612 2002-03-15 Juergen Vigna <jug@sad.it>
4614 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4615 inserting an Inset into the paragraph. I know this is not the best
4616 fix but we already use current_view in CutAndPaste so we will remove
4617 all of it's using at the same time.
4619 * buffer.C (sgmlError): deactivated function till it is rewritten in
4620 the right mode, now it can create problems.
4622 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4623 before accessing it.
4625 2002-03-14 Juergen Vigna <jug@sad.it>
4627 * undo_funcs.C (textHandleUndo): do the right thing when updating
4628 the inset after the undo/redo.
4630 * text2.C (setCursor): just some testcode for #44 not ready yet.
4632 * undo_funcs.C (textHandleUndo): set the next() and previous()
4633 pointers of the paragraph to 0 before deleting otherwise we have
4634 problems with the Paragraph::[destructor].
4636 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4637 on a paragraph insertion.
4639 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4641 * buffer.C (asciiParagraph): use += operator for char append to
4644 * paragraph.C (getFontSettings): compare >= not just >
4645 (highestFontInRange): ditto
4648 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4650 * paragraph.C: change several algorithm to be more appripriate for
4651 the problem domain. This is lookip in FontList and in the InsetList.
4653 2002-03-13 André Pönitz <poenitz@gmx.net>
4656 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4658 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4663 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4665 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4667 * Painter.C (display): anon helper function, adjust code for this
4669 (pixmap): remove function.
4671 * Painter.h: remove private display variable.
4673 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4675 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4677 * WorkArea.[Ch]: remove figinset_canvas cruft.
4679 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4681 * lyxtextclass.C (operator): add one item cache optimization.
4683 * bufferlist.h: doxy changes
4685 * bufferlist.C: ws changes
4687 * DepTable.[Ch] (ext_exist): place const in the right spot.
4689 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4691 (workAreaExpose): call resizeInsets when the with BufferView changes.
4692 (Dispatch): adjust for protectedBlank removal
4693 (specialChar): call updateInset if the insert went ok.
4695 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4696 specialChar instead.
4698 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4700 * BufferView.h: doxy change
4702 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4704 * lyxtextclass.C (operator[]): remove non-const version
4705 (defaultLayout): remove non-const version
4707 2002-03-12 Juergen Vigna <jug@sad.it>
4709 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4710 did resize the LyXText too.
4712 * buffer.C (readLyXformat2): set layout information on newly allocated
4715 * tabular.C (OldFormatRead): set layout information on the paragraph.
4717 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4719 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4721 2002-03-11 Juergen Vigna <jug@sad.it>
4723 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4725 (resizeCurrentBuffer): force also the insets to resize themselfes.
4726 (moveCursorUpdate): fixed up for InsetText.
4728 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4731 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4732 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4733 value of Dialogs::tooltipsEnabled().
4734 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4736 2002-03-08 Juergen Vigna <jug@sad.it>
4738 * BufferView_pimpl.C (updateInset): update inset inside inset also
4739 if it isn't inside theLockingInset().
4741 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4743 * buffer.C (asciiParagraph): redo some of the word and line length
4745 (getLists): look for Caption instead of caption.
4747 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4749 * buffer.C (Buffer): initialize niceFile to true
4752 (makeDocBookFile): make sure niceFile is true on exit
4754 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4756 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4758 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4760 * LyXSendto.C: remove.
4761 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4762 * lyx_gui.C: remove now-redundant comment.
4763 * ColorHandler.h: remove forward declaration of class WorkArea.
4764 * lyxfunc.C: remove #include "WorkArea.h".
4766 2002-03-07 Juergen Vigna <jug@sad.it>
4768 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4769 got moved away with the DEPM and also set the inset_owner always
4770 right which before could have been omitted.
4772 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4774 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4775 wanted layout is not found.
4777 2002-03-07 Juergen Vigna <jug@sad.it>
4779 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4781 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4783 * paragraph.C (breakParagraph): use default layout not layout of
4785 (Paragraph): clear ParagraphParameters.
4787 2002-03-06 Juergen Vigna <jug@sad.it>
4789 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4790 otherwise it would not be a valid lenght. Fixed a special case in
4791 the minipage compatibility read where we end the document with a
4794 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4795 was set as it could be 0 for InsetTexts first entry.
4797 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4799 * paragraph.C (writeFile): if layout is empty write out
4800 defaultLayoutName().
4802 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4803 file without named layout we set layout to defaultLayoutName().
4805 2002-03-06 Juergen Vigna <jug@sad.it>
4807 * CutAndPaste.C (copySelection): set layout for new paragraph.
4809 * text.C (prepareToPrint): leave ERT inset left aligned
4810 (leftMargin): don't indent paragraphs inside ERT insets
4812 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4814 * paragraph.C (breakParagraph): dont call clear do the work manually
4816 * paragraph.[Ch] (clear): remove function
4818 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4820 * paragraph.C (Paragraph): dont call clear, the work has already
4823 * lyxtextclass.C (operator): assert if n is empty
4825 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4826 work manually instead.
4828 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4830 * BufferView_pimpl.C: protect selectionLost against text == 0
4832 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4834 * text.C (breakParagraph): fix a setting layout to '0' problem.
4836 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4838 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4839 final location of file, for the included files, and graphics.
4841 2002-03-05 Juergen Vigna <jug@sad.it>
4843 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4845 2002-03-04 Juergen Vigna <jug@sad.it>
4847 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4849 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4850 last column of multicolumn cells.
4851 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4853 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4855 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4856 file if it doesn't go to a temporary file.
4858 * buffer.C (sgmlOpenTag):
4859 (sgmlCloseTag): remove extra newline insertion.
4861 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4863 * text.C (getRowNearY): comment out debug msg
4865 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4867 * text2.C: first -> first_y
4869 * text.C (getRowNearY): add some attemts at a possible
4870 optimization, not working.
4872 * tabular.[Ch]: add BufferParams to several function so that newly
4873 created paragraph can be initialized to he default layotu for the
4876 * tabular-old.C (ReadOld): add buf->params to call of Init
4878 * screen.C: rename text->first to text->first_y
4880 * paragraph.C (breakParagraph): always set layout in the broken
4883 * lyxtextclass.C (Read): remove lowercase
4886 (delete_layout): ditto
4888 * lyxtext.h: rename first -> first_y
4890 * lyxlayout.C (Read): remove lowercase
4893 (obsoleted_by): ditto
4895 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4897 * buffer.C (insertErtContents): add params are to InsetERT
4898 (parseSingleLyXformat2Token): add code to check if a paragraphs
4899 layout really exist.
4900 (parseSingleLyXformat2Token): add params to several inset
4902 (asciiParagraph): remove lowercase, do the layout comparisons with
4905 * BufferView_pimpl.C (cursorNext): first -> first_y
4906 (resizeCurrentBuffer): first -> first_y
4907 (updateScrollbar): first -> first_y
4908 (scrollCB): first -> first_y
4909 (workAreaMotionNotify): first -> first_y
4910 (workAreaButtonPress): first -> first_y
4911 (checkInsetHit): first -> first_y
4912 (cursorPrevious): first -> first_y
4913 (cursorNext): first -> first_y
4914 (Dispatch): add buffer_->params to severl inset contructors
4916 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4918 * lyxlayout.C (Read): remove some debug info that I forgot.
4920 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4921 clean up the code slightly.
4922 (makeLinuxDocFile): ditto
4923 (makeDocBookFile): ditto
4925 * text2.C: layout as string
4927 * text.C: layout as string
4929 * paragraph_pimpl.C: layout as string
4931 * paragraph.[Ch]: layout as string
4933 * lyxtextclasslist.[Ch]: layout as string
4935 * lyxtextclass.[Ch]: layout as string
4937 * lyxtext.h: layout as string
4939 * lyxlayout.[Ch]: layout as string
4941 * lyx_cb.C: layout as string
4943 * bufferview_funcs.C: layout as string
4945 * bufferparams.C: layout as string
4947 * buffer.C: layout as string
4949 * LyXView.[Ch]: layout as string
4951 * LaTeXFeatures.[Ch]: layout as string
4953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4955 * BufferView_pimpl.C: change current_layout to string, remove
4960 (workAreaButtonRelease): layout as string
4962 * BufferView2.C (unlockInset): adjust
4964 * vspace.C (asLatexCommand): use an explict temp variable.
4966 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4968 * Makefile.am: use FRONTEND_*
4970 2002-03-01 Juergen Vigna <jug@sad.it>
4972 * tabular.C (SetWidthOfMulticolCell): changed to something better
4973 I hope but still work in progress.
4974 (recalculateMulticolumnsOfColumn): renamed function from
4975 recalculateMulticolCells as it is more appropriate now.
4976 (SetWidthOfCell): calculate multicols better.
4978 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4980 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4982 * lyxfunc.C (processKeySym): print sequence also if it is
4983 `deleted' (complete)
4985 * kbsequence.C (print): print sequence even if it is deleted
4986 (complete would be a better word, actually).
4988 * lyxfunc.C (dispatch): print complete options after a prefix key
4990 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4992 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4994 * text2.C (setCharFont): eliminate setCharFont code duplication.
4996 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4998 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4999 LFUN_TABULAR_FEATURE (bug #177)
5001 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5003 * Makefile.am: remove figure.h
5005 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5007 * Bufferview_pimpl.C:
5019 * text2.C: remove #include "lyx_gui_misc.h".
5021 * LaTeX.C: added #include <cstdio>
5023 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5026 that the paragraph following this one can have.
5028 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5030 * vspace.C (asLatexCommand): fix bogus gcc warning
5032 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5034 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5036 * text2.C (setLayout): get rid of redundant code
5038 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5040 * text2.C (incDepth): make sure depth cannot be increased beyond
5043 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5045 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5046 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5048 * PainterBase.h (image):
5049 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5052 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5056 * BufferView_pimpl.C:
5057 * BufferView_pimpl.h:
5077 * sp_spell.C: remove fig inset, and the crap house of
5078 cards that follows it
5080 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5086 * nt_defines.h: move .h into support/
5088 * vms_defines.h: remove
5090 * WorkArea.C: add space in debug output
5094 * buffer.C: add WITH_WARNINGS
5098 * bufferlist.C: s/retrive/retrieve/, add docs
5109 * lyxgui.C: add ID to X error handler
5111 * lyxtestclass.c: fix typo
5113 2002-02-26 Juergen Vigna <jug@sad.it>
5115 * tabular_funcs.C (write_attribute): changed so that some default
5116 attributes are not written at all.
5117 (getTokenValue): set default values before trying to read the
5118 value so we have the return value always set as default if we don't
5119 find the token we search for.
5121 * tabular.C (Write): write bools as bools not as strings!
5123 2002-02-22 Juergen Vigna <jug@sad.it>
5125 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5126 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5128 * text.C (leftMargin): don't add an indent for paragraphs inside
5129 tabular cells (fix #208).
5131 2002-02-21 José Matos <jamatos@fep.up.pt>
5133 * tabular.C (docBook): fixed support for long tables.
5135 2002-02-20 Juergen Vigna <jug@sad.it>
5137 * text2.C (getFont): get the drawing font of the Inset if this
5138 paragraph is inside an inset (only important for InsetERT for now).
5140 * buffer.C (insertErtContents): use new lanugage params in ERT
5143 * CutAndPaste.C: commenting out seemingly uneeded code.
5145 2002-02-19 Allan Rae <rae@lyx.org>
5147 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5148 Iterators might be simple to use but they also get invalidated.
5149 (removeAutoInsets): renamed saved cursor tracking variables and added
5150 some comments to clarify what everything does.
5152 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5159 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5160 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5163 * vc-backend.h: remove #include "support/syscall.h"
5167 * converter.C: rearrange #includes in Lars' approved fashion.
5169 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5170 forward declare class Timeout in the header file.
5172 * XFormsView.C: changes due to the above.
5174 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5177 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5178 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5180 2002-02-18 José Matos <jamatos@fep.up.pt>
5182 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5185 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5187 * a lot of small ws changes
5188 * add a lot of using std::XXX
5189 * use std construcs some places where approp.
5190 * use some exisint stuff from lyxfunctional where approp.
5191 * Make file changes to use partial linking (lets test this now...)
5193 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5197 remove #include "support/syscontr.h" as it's redundant. Always has been.
5205 change Systemcalls::System to Systemcalls::Wait and
5206 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5207 No change of functionality, just reflects the stripped down Systemcalls
5210 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5212 * debug.[Ch]: add a GRAPHICS type to the enum.
5214 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5218 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5221 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5223 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5224 match the changes below.
5226 * text2.C (toggleInset): if there is not editable inset at cursor
5227 position, try to see if cursor is _inside_ a collapsable inset
5230 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5232 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5233 document menu has a nice checkbox
5235 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * lyxlength.C (asLatexString): change PW to output as percent of
5240 * lengthcommon.C: change '%' to 't%'
5242 * lyxfunc.C (dispatch): a few comments from Martin
5244 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5248 * BufferView_pimpl.h:
5249 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5252 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5254 * vspace.C (inPixels): fix compiler warning
5256 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5258 * lyxfunc.C (getStatus): fix status message for disabled commands.
5260 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5262 * BufferView_pimpl.C: fix crash on close buffer
5263 during selection (#227)
5265 2002-01-27 Herbert Voss <voss@lyx.org>
5267 * buffer.C: link old Figure to new graphic inset
5269 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5271 * FontLoader.C (getFontinfo): Change the latex font names in order
5272 to match the names of type1inst.
5274 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5276 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5278 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5281 (remove_files_with_extension): ditto
5282 (remove_file): ditto
5285 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5286 document is smaller than the work area height. Do not initialize
5287 static variables to 0.
5289 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5291 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5293 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5294 LFUN_LAYOUT_PARAGRAPHS.
5296 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5297 tabular. It is possible to provide a possible cell, which will
5298 typically be the actcell from the corresponding insettabular
5300 * lyxfunc.C (getStatus): small cleanup; disable
5301 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5304 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5306 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5308 * paragraph.C (startTeXParParams):
5309 (endTeXParParams): new methods. The LaTeX code to
5310 start/end paragraph formatting
5311 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5312 empty (fixes bug #200)
5314 * vspace.C (inPixels): adapt to the change below
5315 (inPixels): [later] more cleanups (remove unused variables)
5317 * lyxlength.C (inPixels): change to use a width and a height as
5320 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5322 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5323 Replaced with \paperwidth
5325 * DepTable.C (insert): add std:: qualifier
5327 2002-01-18 Allan Rae <rae@lyx.org>
5329 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5332 * text.C (drawInset): Turned out I didn't know enough about how
5333 rebreaking worked. This fixes most of the redraw problems. I see
5334 an occasional cursor trail when a line is broken now and the cursor
5335 placement can seem out by a few pixels also after a rebreak.
5337 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5339 * buffer.C (parseSingleLyXformat2Token): update because minipage
5340 width is now a LyXLength
5342 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5344 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5347 2002-01-17 Juergen Vigna <jug@sad.it>
5349 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5351 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5352 is set correctly and the inset is updated correctly.
5354 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5356 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5357 the beginning of the loop.
5359 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5361 * lyxrc.C: improve help for use_scalable_fonts
5363 2002-01-17 Allan Rae <rae@lyx.org>
5365 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5367 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5369 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5370 make sure to set their inset_owner to the right value (bug #171)
5372 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5375 * DepTable.C: Implement mtime checking to reduce time spent doing
5378 2002-01-16 Juergen Vigna <jug@sad.it>
5380 * tabular.C (GetAdditionalHeight): one of error fixed.
5382 * lyxrc.C (output): small fix in writing use_pspell.
5384 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5386 * sp_base.h: #include LString.h
5388 2002-01-16 Allan Rae <rae@lyx.org>
5390 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5391 Can someone check this please?
5393 * text.C (drawInset): It was possible that p.row would be removed by
5394 breakAgainOneRow upsetting a few other settings. There may be another
5395 small tweak possible by setting need_break_row = 0 when p.row has been
5396 removed but I don't know enough about the logic here.
5398 2002-01-15 Allan Rae <rae@lyx.org>
5400 * text.C (insertChar): removed conditional truism.
5402 * BufferView2.C (removeAutoInsets): More tweaks.
5403 cur_par_prev could be a stray pointer. Check for trailing empty line
5404 in case last line was cur_par and only had an error inset on it.
5406 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5408 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5411 * vc-backend.C (most methods):
5412 * exporter.C (Export):
5413 * converter.C (convert):
5415 * LyXSendto.C (SendtoApplyCB):
5416 * lyxfunc.C (dispatch):
5420 * lyx_cb.C (AutoSave):
5422 * BufferView_pimpl.C (MenuInsertLyXFile):
5423 * buffer.C (runChktex): use Buffer::filePath().
5425 * buffer.h: rename filename to filename_; rename filepath to
5426 filepath_ and make it private
5427 (filePath): new method
5429 * buffer.C (writeFile): use fileName()
5432 * lyx_main.C (init): fix starting of LyX when the binary is a
5433 link from so,ewhere else.
5435 * minibuffer.C: include <cctype> for isprint
5437 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5439 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5440 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5441 name clash with InsetCollapsable's width function.
5443 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5445 * lastfiles.C: include <iterator>
5447 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5449 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5452 * buffer.C (makeLaTeXFile): ditto.
5453 Also make loop operation more transparent.
5455 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5457 * ToolbarDefaults.C: remove trailing comma closing namespace.
5459 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5461 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5464 * trans.C (Load): comment out unused variable, allowed.
5466 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5468 * minibuffer.[Ch] (append_char): new method to recieve input from the
5469 drop-down completion browser. If a key was pressed, then recieve this
5470 char and append it to the existing string.
5471 (peek_event): modify the positioning data passed to the completion
5472 browser so that it can be placed above the minibuffer rather than below.
5473 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5475 * LyXAction.C (init): alloe error-next for readonly documents.
5477 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5480 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5482 * bufferlist.C (readFile): create the buffer _after_ checking that
5485 * lyxfunc.C (verboseDispatch): fix handling of arguments
5487 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5489 * lyxrc.C: use string::erase() instead of initializing to "".
5492 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5494 * BufferView_pimpl.h:
5495 * BufferView_pimpl.C:
5498 * text2.C: tell X when we have made a selection for copying
5500 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5502 * BufferView_pimpl.C (MenuInsertLyXFile):
5503 * lyxfunc.C (menuNew):
5505 (doImport): add shortcuts to directory buttons
5507 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5510 * lyxfunc.C (setStatusMessage):
5511 (getStatusMessage): new methods
5512 (getStatus):use setStatusMessage instead of setErrorMessage
5513 (dispatch): when function is disabled, set error message here
5514 [instead of in getStatus previously]
5516 * BufferView_pimpl.C (workAreaButtonRelease): update
5517 toolbar/menubar here too.
5519 2002-01-13 Allan Rae <rae@lyx.org>
5521 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5522 Now seems indestructible. Remaining task is to audit all other
5523 code affected by deleteEmptyParagraphMechanism. One small quirk
5524 left is that an empty document with an error in the preamble can
5525 be made to report an error but no error box appears. I don't know
5527 (removeAutoInsets): Improved comments.
5529 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5532 * Thesaurus.C: update for Aiksaurus 0.14
5534 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5536 * text2.C (firstParagraph): removed member function, all uses
5537 replaces with ownerParagraph
5538 (redoParagraphs): here
5540 (toggleAppendix): here
5541 * BufferView2.C (insertErrors): here
5542 (setCursorFromRow): here
5544 2002-01-13 Allan Rae <rae@lyx.org>
5546 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5547 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5548 There is still a way to segfault this although you may have to do this
5549 multiple times: Have an InsetERT with an unknown command in it.
5550 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5551 <down-arrow>, <Enter> again, View->DVI, BANG!
5553 * text2.C (setCursor):
5554 (deleteEmptyParagraphMechanism):
5555 * lyxtext.h (setCursor):
5556 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5557 Making use of the return value may help fix other bugs.
5559 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5563 * LyXView.C (updateMenubar): call MenuBar::update here
5564 (updateToolbar): but not here
5565 (showState): do not update toolbar/menubar
5567 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5568 should need to care about that.
5570 * lyxfunc.C (verboseDispatch): simplify a bit
5571 (getStatus): have a version which takes a pseudoaction, and
5572 another which requires a (kb_action,string).
5574 * LyXAction.C (retrieveActionArg): make it work also when action
5575 is not a pseudo-action.
5576 (getActionName): simplify a bit
5579 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5581 * lyxfunc.C (verboseDispatch): new families of methods with
5582 several ways to specify a command and a bool to indicate whether
5583 the command name and shortcut should be displayed in minibuffer
5584 (eventually, we could extend that to a finer bitmask like
5585 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5586 (dispatch): the pristine dispatch command which just, well,
5587 dispatchs! Note it still sets its result to minibuffer; I'm not
5590 * lyxfunc.h: remove setHintMessage
5592 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5594 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * BufferView_pimpl.C (specialChar): delete new inset if we have
5597 not been able to insert it.
5599 * kbmap.C: revert to using int instead of kb_action, since all we
5600 are dealing with is pseudo-actions.
5602 * LyXAction.C (searchActionArg): change to return int instead of
5603 kb_action, since the result is a pseudoaction.
5605 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5607 * buffer.C (insertErtContents): Fix (partially) the font bug.
5609 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5611 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5612 as the other one is broken on my machine!
5614 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5617 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5619 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5621 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5622 reflect their actual use. Provide compatibility code for older lyxrc
5625 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5627 change names of popup font variables in line with the changes to lyxrc.C
5629 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5631 * buffer.C (asciiParagraph): avoid outputing a word twice after
5634 * lyxrc.C (getDescription): document that document_path and
5635 template_path can be empty.
5637 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5639 * LaTeXFeatures.C (getMacros):
5640 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5642 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5644 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5646 (getPackages): rename feature "floats" to "float". Use an array to
5647 iterate over 'simple' features (i.e. just a \usepackage). Add
5648 handling of "amsmath" (renamed from "amsstyle").
5650 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5652 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5655 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5657 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5658 FuncStaus::FuncStatus & FuncStaus::some_method().
5660 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5662 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5663 of the func_satus stuff. Edited and massaged in various ways by
5666 * lyxfunc.C (getStatus): use FuncStatus
5668 2002-01-08 Juergen Vigna <jug@sad.it>
5670 * text.C (nextBreakPoint): use function Inset::isChar().
5672 * paragraph.C (TeXOnePar): use function
5673 Inset::forceDefaultParagraphs.
5675 * buffer.C (latexParagraphs): use function
5676 Inset::forceDefaultParagraphs.
5678 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5680 * lyx_gui.C (init): set the style of the menu popups to
5681 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5683 2002-01-07 Juergen Vigna <jug@sad.it>
5685 * text.C (setHeightOfRow): small fix
5686 (prepareToPrint): don't look at alignment if we don't have the place
5689 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5691 * box.C: New file. Move the Box methods and functions out of box.h,
5692 following Lars' suggestion.
5694 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5696 * box.h: #include "support/LOstream.h", needed for inlined function.
5699 * lyxtextclasslist.C: added some using std declarations.
5701 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5703 * box.h: make signed dimensions to allow insets wider than
5704 the screen (bug #162)
5706 * BufferView_pimpl.C: add some insetHit debug
5708 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5710 * vc-backend.C: add FIXME
5712 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5714 * lyxfunc.C (getStatus): enable code for showing math font status
5717 2002-01-07 Juergen Vigna <jug@sad.it>
5719 * text.C (nextBreakPoint): removed debug output not needed anymore.
5721 2002-01-06 Juergen Vigna <jug@sad.it>
5723 * text.C (nextBreakPoint): fixed up this function we had this bug
5724 since ever but now hopefully we break row better.
5725 (insertChar): we have to check if an inset is the next char as it
5726 could now happen that a large inset is causing a break.
5728 2002-01-05 Juergen Vigna <jug@sad.it>
5730 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5731 if it doesn't like to be drawed.
5733 2002-01-04 Juergen Vigna <jug@sad.it>
5735 * BufferView2.C (lockInset): forgot to set a cursor.
5737 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5739 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5744 * form_maths_panel.C:
5745 * form_maths_panel.h:
5746 * form_maths_panel.fd: implemented sub- and super- buttons in math
5749 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5750 (or ^ space) to be used as in TeX (req'd by André).
5752 * lyxfunc.C: Allow ^ and _ again to be used both as
5753 super/subscript (mathed) and as themselves (in text).
5755 2002-01-03 Allan Rae <rae@lyx.org>
5757 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5758 "LyX" or the filename of the current buffer if it has one. This is a
5759 modified form of John Levon's patch.
5761 * XFormsView.C (setWindowTitle): also set icon title.
5763 * LyXView.h (setWindowTitle): signature changed.
5764 * XFormsView.h (setWindowTitle): ditto.
5766 2002-01-02 Juergen Vigna <jug@sad.it>
5768 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5770 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5772 * screen.C (topCursorVisible): introduce a temp var for
5773 text->cursor.row(), handle the case where this row is null. (kindo
5776 * text2.C (setCursor): add a couple of asserts.
5778 * paragraph.h (inset_iterator): add -> operator
5780 * paragraph.[Ch] (autoDeleteInsets): remove member function
5782 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5783 cursor pos correctly and handle inset deletion by itself.
5784 (insertErrors): move iterator declaration out of for expression
5786 * lyxtextclass.C: add <algorithm>
5788 * Makefile.am: added the new files to sources, removed layout.C
5790 * layout.C: removed file
5792 * layout.h: remove LYX_DUMMY_LAYOUT
5794 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5798 * lyxtextclass.[Ch]:
5799 * lyxtextclasslist.[Ch]: new files
5801 * include order changes to a lot of files, also changes because of
5804 2001-12-27 Juergen Vigna <jug@sad.it>
5806 * buffer.C (asciiParagraph): more fixes.
5808 * tabular.C (ascii): make ascii export support export of only the
5809 data separated by a column-delimiter.
5810 (ascii): better support for ascii export.
5812 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5814 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5816 * tabular_funcs.C: use a "using std::getline" instead of the
5817 previous fix from Angus (necessary for cxx + lyxstring)
5819 2001-12-24 Juergen Vigna <jug@sad.it>
5821 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5823 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5824 problems. First check a minipage also if we have some ert-contents
5825 (not only on par->size(), second set the right depth of the paragraph
5826 on the relink to the root-paragraph-list!
5828 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5829 which then did not anymore update the main paragraphs on undo/redo!
5831 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5833 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5834 code. Support all font-changing funcs (even those which are not in
5835 menu currently). Support for reporting font settings in
5836 mathed (disabled until Andre provides a function on mathed's side).
5838 * func_status.h (toggle): small helper function to set toggle
5841 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5843 * tabular_funcs.C: getline -> std::getline
5845 2001-12-21 Juergen Vigna <jug@sad.it>
5847 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5848 accessed and could be 0 (I couldn't generate this but it seems
5851 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5853 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5854 * tabular_funcs.h: here and include iosfwd
5856 2001-12-20 Juergen Vigna <jug@sad.it>
5858 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5859 inside inset but undo_par was.
5861 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * Thesaurus.C: always include <config.h> in sources.
5867 * box.h: do not include <config.h> in header files
5869 * text.C (paintLastRow): remove unused variable
5871 * text.C (transformChar):
5873 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5876 * font.C (width): rewrite to use uppercase() instead of
5879 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5881 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5883 * lyxfind.C: clean up of find failure position change
5885 2001-12-20 Juergen Vigna <jug@sad.it>
5887 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5889 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5890 (TeXRow): added to LaTeX a single tabular row.
5891 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5892 (Latex): simplified and finally good LT-h/f support.
5893 (various_functions): just small adaptions for LT-h/f support.
5895 * tabular_funcs.[hC]: added and moved here all not classfunctions
5898 2001-12-19 Juergen Vigna <jug@sad.it>
5900 * tabular.[Ch]: better support for longtabular options (not finished
5903 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5905 * text.C (paintLastRow): use the label font instead of the font of
5906 the last character to compute the size of *_BOX. This makes more
5907 sense and avoids a crash with empty paragraphs.
5908 Use Painter::rectangle to draw EMPTY_BOX.
5910 2001-12-19 Juergen Vigna <jug@sad.it>
5912 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5913 the paragraphs if the replaced paragraph is not the first one!
5914 Tried to delete not used paragraphs but does not work yet so for
5915 now it's inside #ifdef's and by default off!
5917 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5919 * MenuBackend.C: include "lyx_main.h" instead of declaring
5920 lastfiles (actually was declared as LastFiles* instead of a
5923 2001-12-17 Juergen Vigna <jug@sad.it>
5925 * tabular.C (AppendColumn): applied John's fix
5927 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5931 * BufferView_pimpl.h:
5932 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5935 * box.h: new start of class for above
5937 * lyxfunc.C: ignore space-only minibuffer dispatches.
5938 Show the command name when it doesn't exist
5940 * minibuffer.C: don't add empty lines to the history
5942 * minibuffer.C: add a space on dropdown completion
5944 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5946 * text.C: fix line above/below drawing in insets
5948 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5950 * lyxlength.C (LyXLength): Initialize private variables.
5952 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5954 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5955 when inserting error insets.
5957 2001-12-13 Juergen Vigna <jug@sad.it>
5959 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5960 actually sometimes the before-paragraph.
5961 (setUndo): don't clear the redostack if we're not actually undoing!
5963 2001-12-06 Juergen Vigna <jug@sad.it>
5965 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5966 and fixed redoing of main paragraph, so we can use it now ;)
5968 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5970 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5975 2001-12-13 André Pönitz <poenitz@gmx.net>
5978 * undo_func.C: minor cleanup
5980 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5982 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5983 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5984 font in urw-fonts package which is marked as -urw-fontspecific and
5985 does not work (incidentally, changing the encoding in the
5986 fonts.dir of this package to -adobe-fontspecific fixes the
5989 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5990 is a crash when undoing first paragraph (Juergen, please take a
5991 look). THis does not mean the undo fix is wrong, just that it
5994 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5995 the (Paragraph*) version when needed instead of duplicating the
5998 * text.C (workWidth): use Inset::parOwner to find out where the
5999 inset has been inserted. This is a huge performance gain for large
6000 documents with lots of insets. If Inset::parOwner is not set, fall
6001 back on the brute force method
6003 * paragraph_pimpl.C (insertInset):
6004 * paragraph.C (Paragraph):
6005 (cutIntoMinibuffer): set parOwner of insets when
6006 inserting/removing them
6008 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6010 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6016 * mathed/formulabase.C:
6017 * mathed/math_cursor.[Ch]:
6018 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6021 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6023 * lyxlength.[Ch] (operator!=): new function
6025 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6027 * text.C (workWidth): use Inset::parOwner to find out where the
6028 inset has been inserted. This is a huge performance gain for large
6029 documents with lots of insets. If Inset::parOwner is not set, fall
6030 back on the brute force method
6032 * paragraph_pimpl.C (insertInset):
6033 * paragraph.C (Paragraph):
6034 (cutIntoMinibuffer): set parOwner of insets when
6035 inserting/removing them
6037 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6039 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6041 * tabular-old.C (getTokenValue):
6042 * tabular.C (getTokenValue):
6043 (write_attribute): new versions for LyXLength
6044 (everywhere): adjust the use of widths
6046 * tabular.h: change the type of widths from string to LyXLength
6048 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6050 * paragraph.C: fixed missing line number count when exporting
6051 Environments to LaTeX file
6053 * buffer.C: added informational message for checking line numbers.
6055 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6058 paragraph, do the 'double space' part, but not the 'empty
6061 * text.C (workWidth): small optimization
6062 (getLengthMarkerHeight): use minimal size for negative lengths.
6064 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6066 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6068 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6070 2001-12-11 André Pönitz <poenitz@gmx.net>
6073 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6075 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6077 * text2.C: keep selection on a setFont()
6079 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6081 * lyx_cb.C: another bv->text misuse, from insert label
6083 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6086 * kbsequence.C: re-instate nmodifier mask
6088 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6090 * lyx_main.h: make lyxGUI private.
6092 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6094 * lyxfind.C: place the cursor correctly on failed search
6096 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6098 * text.C (getLengthMarkerHeight): for small heights, the arrows
6099 are not always on top/bottom of the text
6100 (drawLengthMarker): smaller arrows; take the left margin in
6101 account; draw also vfills.
6103 (paintLastRow): remove special code for vfill and standard spaces,
6104 since everything is handled in drawLengthMarker now.
6106 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6108 * buffer.C (insertErtContents): try to handle font and language
6109 interaction a bit better.g
6111 * ColorHandler.C (updateColor): change the hash to cover the whole
6112 LColor enum, ws cleanup
6113 (getGCLinepars): ditto
6114 (getGCLinepars): only lookup in the linecache once.
6116 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6118 * iterators.C (operator++): Make the iterator more robust
6120 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6127 * text.C: better added space drawing
6129 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6132 * BufferView2.C: fix layout combo update on inset unlock
6134 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6136 * Makefile.am: don't compile unused files
6138 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6142 * LyXAction.C: remove old LFUN_LAYOUTNO
6144 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6146 * paragraph_pimpl.h:
6147 * paragraph_pimpl.C: isTextAt() doesn't need font param
6149 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6152 * lyxlex.C: little cleanup
6154 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6156 * BufferView_pimpl.C: fix insertAscii for insets
6158 2001-12-05 Juergen Vigna <jug@sad.it>
6160 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6161 set the right font on the "multi" paragraph paste!
6163 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * lyxlength.C: remove out-commented code.
6185 * vc-backend.C: change "while(" to "while ("
6187 * lyxlength.[Ch]: add zero function to check if length is zero or
6189 * lyxgluelength.C: use it
6191 2001-12-05 Allan Rae <rae@lyx.org>
6193 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6194 Works for 2.95.3, from what I understand of Garst's reports this should
6195 work for other g++ versions. We're screwed if the abs(int) definition
6196 changed between bugfix releases of gcc.
6198 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6200 * text.C: fix chapter label offset !
6202 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6205 * text.C: fix hfill at end of line, clean up
6207 2001-12-04 Juergen Vigna <jug@sad.it>
6209 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6210 that we force an update of the inset and it's owners if neccessary.
6212 2001-12-03 Juergen Vigna <jug@sad.it>
6214 * text.C (rowLast): simplified code
6216 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6218 * lyxfunc.C: fix show options on timeout
6220 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6222 * screen.C (topCursorVisible): scroll half a page when the cursor
6223 reached top of bottom of screen
6225 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6227 * minibuffer.C: deactivate on loss of focus
6229 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6231 * vspace.[Ch] (operator!=): add operator.
6233 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6235 * BufferView_pimpl.C: refuse to open an inset when
6236 there's a selection.
6238 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6240 * BufferView_pimpl.C: allow to click on RHS of full row insets
6242 2001-11-30 Juergen Vigna <jug@sad.it>
6244 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6245 insets for undo reasons.
6247 2001-11-28 André Pönitz <poenitz@gmx.net>
6249 * vspace.[Ch]: cosmetical changes
6251 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6261 * kbsequence.C: part re-write of old kb code
6264 * WorkArea.C: remove Lgb_bug_find_hack
6266 2001-11-30 José Matos <jamatos@fep.up.pt>
6268 * buffer.C (makeDocBookFile): add a comment to point a hack.
6269 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6270 Fixed a double write of labels.
6272 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6275 * LaTeX.h Fixed bug in LaTeX class where it would not
6276 re-run latex if no depfiles were changed, but the .dvi was removed.
6278 2001-11-28 André Pönitz <poenitz@gmx.net>
6280 * all the files from the change on 2001/11/26:
6281 use lyx::layout_type instead of LyXTextClass::size_type
6282 use lyx::textclass_type instead of LyXTextClassList::size_type
6284 2001-11-29 Juergen Vigna <jug@sad.it>
6286 * text.C: added support for paragraph::isFreeSpacing()
6288 * buffer.C: same as above
6290 * paragraph.h: inserted isFreeSpacing() function to enable
6291 FreeSpacing inside InsetERT.
6293 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6294 of the paragraph's in the cut/copy buffer to 0!
6296 * text2.C (removeRow): remove the assert as it can!
6298 * lyxtext.h: added helper function firstRow returning firstrow and
6299 made firstrow private again.
6301 * BufferView2.C (lockInset): don't relock if we're already locked!
6303 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6305 (removeRow): added Assert::(firstrow)
6307 * debug.C: forgot to add INSETTEXT here.
6309 2001-11-28 Juergen Vigna <jug@sad.it>
6311 * sp_spell.C (initialize): changed error text to more general
6312 spellchecker command use (not only ispell!)
6314 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6316 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6318 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6320 * vspace.C: initialise lyxgluelength on failure
6322 2001-11-28 Allan Rae <rae@lyx.org>
6324 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6325 declaration & definition that looks like a function declaration.
6327 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6329 * BufferView2.C (copy):
6330 (copyEnvironment): do not clear the selection when doing a copy.
6332 * text.C (paintFirstRow): compilation fix
6334 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6336 * tabular.C (Latex): correct line count when writing latex.
6338 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6340 * paragraph_pimpl.h:
6341 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6344 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6348 * LColor.C: change vfillline->added_space
6350 * text.C: add markers and text for added space
6352 * vspace.C: fix comment
6354 2001-11-28 André Pönitz <poenitz@gmx.net>
6356 * paragraph.C: whitespace changes
6357 * all the other files from the change on 2001/11/26:
6358 change *::pos_type into lyx::pos_type
6360 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6362 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6363 language of the document when inserting error insets.
6365 2001-11-26 André Pönitz <poenitz@gmx.net>
6367 * BufferView_pimpl.[Ch]:
6375 * paragraph_pimpl.[Ch]:
6378 * text2.C: reduce header dependencies, introduce type for positions
6380 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6382 * <various>: change to use Alert.h
6384 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6386 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6387 when encountering an unknown token.
6388 (readLyXformat2): Show an error message if there were unknown tokens.
6390 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6393 * BufferView_pimpl.C:
6397 * text2.C: use par->isInset()
6399 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6401 * paragraph_pimpl.h:
6402 * paragraph_pimpl.C: cleanup
6404 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6406 * text2.C (removeRow):
6407 * text.C (setHeightOfRow): remove useless (and costly) call to
6410 2001-11-20 Allan Rae <rae@lyx.org>
6412 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6413 Now need Inset*::checkInsertChar() to return true for appropriate
6414 cases so that the characters in the minibuffer will actually be
6417 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * text.C: change the order of the includes.
6420 (workWidth): initialize it at once.
6421 (workWidth): make maxw unsigned
6422 (setHeightOfRow): remove unused variable (inset)
6423 (selectSelectedWord): remove unused variable (inset)
6424 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6426 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6428 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6429 server is not running.
6431 (closeConnection): add debug info when server is disabled.
6433 * ColorHandler.C (getGCForeground): send debug message to GUI
6436 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6438 * kbmap.C (bind): modify because return conventions of
6439 kb_sequence::parse have changed.
6441 * kbsequence.C (parse): only ignore spaces and not any stupid
6442 control character. This avoids tests like s[i] <= ' ', which are
6443 guaranteed to fail with 8bit characters and signed chars.
6444 Change return code to string::npos when there have been no error
6445 (0 was a bad idea when error is at first character)
6447 2001-11-14 José Matos <jamatos@fep.up.pt>
6450 * buffer.C (simpleDocBookOnePar): removed unused argument.
6452 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6454 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6455 insets which are part of a word. Paragraph::isLetter takes care of
6456 that now. Use Paragraph::isInset to identify insets.
6457 (selectSelectedWord): do not test for hyphenation break.
6459 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6460 that protected spaces are considered as spaces.
6462 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6465 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6468 * lyxserver.C: fix it. and small cleanup.
6470 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6472 * BufferView_pimpl.C: use inline helpers
6475 * LaTeXFeatures.C: fix typos
6478 * Spacing.C: move spacing_string into class
6480 * ToolbarDefaults.C: move stuff into namespace anon
6482 * layout.h: update enum
6484 * lyxfunc.C: use better debug
6486 * minibuffer.h: fix typo
6490 * WorkArea.C: add and use Debug::WORKAREA
6494 * text2.C: code re-organisation, inline helpers
6496 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6498 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6499 std::vector.empty().
6501 2001-11-09 Allan Rae <rae@lyx.org>
6503 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6504 '\n's after tables. Tabular and ERT inset work now makes this no
6507 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6510 * minibuffer.C: fix crash, improve drop-down completion
6512 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6515 * lyxserver.C: invalidate fd's when doing endPipe()
6517 2001-11-08 José Matos <jamatos@fep.up.pt>
6519 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6520 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6523 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6525 2001-11-07 José Matos <jamatos@fep.up.pt>
6528 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6531 * buffer.C (sgmlOpenTag):
6532 * buffer.C (sgmlCloseTag): removed debug info.
6534 * buffer.h (sgmlOpenTag):
6535 * buffer.h (sgmlCloseTag): made public.
6537 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6539 * buffer.C (saveParamsAsDefaults):
6540 * lyx_cb.C (MenuLayoutSave): remove
6542 * LyXAction.C (init):
6544 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6546 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6548 * buffer.C (setPaperStuff): removed from here...
6550 * bufferparams.C (setPaperStuff): ... and moved there.
6552 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6556 * XFormsView.C: add support for drop-down completion
6558 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6560 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6563 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6565 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6568 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6570 * lyx_main.C: change ref to known bugs
6572 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6574 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6575 to work around older babel problems.
6577 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6579 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6581 2001-10-24 Juergen Vigna <jug@sad.it>
6583 * tabular-old.C (ReadOld): below variable changes reflected.
6585 * tabular.[Ch]: added ltType struct for longtable header/footer
6586 defines and changed all instances where they are used. Added
6587 future support for double top/bottom rows.
6589 2001-10-24 José Matos <jamatos@fep.up.pt>
6591 * buffer.h (docbookHandleCaption):
6592 * buffer.C (docbookHandleCaption): removed unused function.
6593 (makeDocBookFile): moved docbook supported version to v4.1.
6595 2001-10-24 José Matos <jamatos@fep.up.pt>
6598 * tabular.C (docbookRow): new function to export docbook code of a row.
6599 (DocBook): now honors the longtable flags.
6601 2001-10-23 José Matos <jamatos@fep.up.pt>
6604 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6605 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6607 * buffer.C (makeLinuxDocFile):
6608 (makeDocBookFile): reworked the preamble, more clean, and with
6609 support for lyx defined entities. Changed the document declaration
6610 to be more XML friendly.
6612 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6613 if we need to output XML that should be done with a filter.
6615 2001-10-22 Juergen Vigna <jug@sad.it>
6617 * sp_pspell.h (class PSpell): add alive function needed in the
6618 controller to see if the spellchecker could be started.
6620 2001-10-22 Juergen Vigna <jug@sad.it>
6622 * buffer.C (insertStringAsLines): modify the font for inserting
6623 chars in certain conditions by calling checkInsertChar(font).
6625 2001-10-19 Juergen Vigna <jug@sad.it>
6627 * text.C (workWidth): use getRow instead of wrong algorithm.
6628 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6630 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6635 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6637 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6639 * text.C (workWidth): do not search for the exact row when
6640 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6641 optimization for big documents.
6643 2001-10-18 Juergen Vigna <jug@sad.it>
6645 * text.C (workWidth): new function with added Inset * parameter.
6647 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6649 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6651 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6652 change return type of getColumnNearX.
6655 * text.C (changeRegionCase): use uppercase/lowercase instead of
6658 (rightMargin): simplify code by factoring out the uses of
6663 (appendParagraph): use Paragraph::size_type
6665 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * vspace.C (asLatexString): add a missing break
6669 2001-10-15 Herbert Voss <voss@perce.de>
6671 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6673 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6675 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6678 2001-10-10 André Pönitz <poenitz@gmx.net>
6680 * lyxfunc.C: removed greek_kb_flag.
6682 2001-10-10 Herbert Voss <voss@perce.de>
6684 * lyx_main.C: delete global string help_lyxdir.
6686 2001-10-09 Herbert Voss <voss@perce.de>
6688 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6690 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6692 * lyx_main.C: added global string help_lyxdir.
6694 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6696 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6698 * lyxrc.C (set_font_norm_type): support iso8859-4
6700 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6702 * LaTeX.C (deplog): add another regex for MikTeX
6704 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6706 * lyxrc.C (set_font_norm_type): support iso8859-3
6708 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6710 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6712 * LaTeXFeatures.C: remove special case of french and index
6714 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6715 before \begin{document}). This solves several incompatibilities.
6717 2001-10-03 Garst Reese <reese@isn.net>
6719 * lyx_cb.C: change CheckTex error msg.
6721 2001-10-03 José Matos <jamatos@fep.up.pt>
6723 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6725 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * .cvsignore: update
6729 * lyx_main.C (commandLineVersionInfo): use new style version info.
6731 * buffer.C (writeFile):
6734 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6736 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6738 * version.h: update to use stuff in version.C
6740 * version.C.in: new file. Contains version information determined
6741 at compile time. This is a merging of version.h and
6744 2001-10-03 Juergen Vigna <jug@sad.it>
6746 * BufferView_pimpl.C (update): don't change "dirty" status in
6749 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6751 * WorkArea.C (c-tor): re-position version string slightly.
6753 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6755 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6756 revert to previous code.
6758 WorkArea.[Ch]: (show, destroySplash): methods removed.
6760 WorkArea.C: rework code so that it's an amalgam of the codes before and
6761 after the splash screen was moved to WorkArea.
6763 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * vspace.C (inPixels):
6769 * buffer.C (insertStringAsLines):
6770 (asciiParagraph): fix types to be large enough
6772 * lyxlex_pimpl.h: change member status from short to int
6774 * layout.h: fix type of endlabeltype
6777 * kbsequence.C (parse): change return type to string::size_type
6779 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6782 * Bullet.C (bulletSize):
6783 (bulletEntry): do not use short ints as parameters
6785 * BufferView2.C (insertLyXFile): change a char to an int.
6787 * WorkArea.C (WorkArea): remove unneeded floats in computation
6789 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6791 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6793 * paragraph.C (asString): Do not ignore newline/hfill chars when
6794 copying to the clipboard.
6796 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6798 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6799 after a multi-line inset.
6801 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6803 * paragraph.C (validate): Set NeedLyXFootnoteCode
6805 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6807 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6808 and decrease-error to decrease.
6810 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6812 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6813 it more readable (should be equivalent)
6815 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6817 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6819 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6821 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6822 of a cursor (row, etc.) after a character has been deleted
6823 (deleteEmptyParagraphMechanism): call the method above on _all_
6824 cursors held by the LyXText when a double space has been
6827 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6829 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6831 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6833 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6834 background. Use greyOut() and the new show() methods to toggle between
6835 the foreground and background. Add code to remove the splash after
6836 its initial showing.
6838 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6839 (create_forms): no longer call Dialogs::showSplash.
6841 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6843 * .cvsignore: add version_info.h
6845 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6847 * version_info.h.in: new file
6849 * Makefile.am: add version_info.h.in
6851 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6852 version_info.h instead of VERSION_INFO
6854 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6856 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6857 The ERT inset now returns string().
6859 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6861 * lyxtext.h, text.C (selectNextWord): renamed as
6862 selectNextWordToSpellcheck.
6864 * text.C (selectNextWordToSpellcheck): Modified to not select
6865 words inside an ERT inset.
6867 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6869 * lyx_cb.C (MenuLayoutSave): change a bit the question
6871 * sp_base.h: include <sys/types.h>
6873 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6875 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6877 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6879 * several files: fix typos in user-visible strings
6881 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6883 * text2.C (pasteSelection): do not set the selection, since it
6884 will be cleared later. Actually, the intent was to fix the way the
6885 selection was set, but I figured rmoving the code was just as good.
6887 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6889 * FontLoader.C (available): Check if font is available without
6892 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6894 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6896 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6898 * lyxrc.[Ch]: added display_graphics variable and associated code.
6900 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * bufferparams.C (hasClassDefaults): new method. Returns true if
6903 the buffer parameters correspond to known class defaults
6905 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6907 * XFormsView.C (show): set minimum size to the main window.
6909 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6911 * text2.C (copySelection):
6913 * lyxfind.C (LyXReplace):
6914 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6915 LyXText::selectionAsString.
6917 * paragraph.C (asString): add "label" argument to the second form
6919 * text2.C (selectionAsString): add "label" argument and pass it to
6920 Paragraph::asString.
6922 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6924 * lyx_main.C (commandLineHelp): remove version information
6926 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6928 * lyx_main.C: add -version commandline option
6930 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6932 * paragraph.h: make the optional constructor arg required instead.
6933 some modifications to other files because of this.
6935 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6937 * lyxserver.C (C_LyXComm_callback): make it static
6939 * lyx_main.C (error_handler): make it static
6941 * lyx_gui.C (LyX_XErrHandler): make it static
6943 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6945 * WorkArea.C: make the extern "C" methods static.
6947 * Makefile.am (lyx_LDADD): simplify
6949 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6951 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6952 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6954 * LyXAction.C (init):
6955 * lyxfunc.C (dispatch): associated code removal.
6957 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6959 * lyxfont.h (isSymbolFont): shut off warning
6961 * text.C (setHeightOfRow):
6962 (getVisibleRow): fix crash with empty paragraphs which have a
6965 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6967 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6970 2001-09-04 José Matos <jamatos@fep.up.pt>
6973 * tabular.C (docbook): rename docBook method to docbook.
6975 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6977 * Makefile.am: add dependencies to main.o.
6979 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6981 * FontLoader.C (available): Return false if !lyxrc.use_gui
6983 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6985 * FontInfo.C (query):
6986 * converter.C (view):
6987 * importer.C (Import):
6988 * exporter.C (Export): Can not -> cannot.
6990 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6992 * BufferView_pimpl.C: allow to create index inset even if
6995 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6997 * buffer.C (getLists): replace boost::tie code with an explicit pair
6998 as boost::tie can break some compilers.
7000 * iterators.h: Added a std:: declaration to the return type of
7003 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7005 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7008 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7010 * iterators.[Ch]: New files. Provide paragraph iterators.
7012 * buffer.C (changeLanguage): Use paragraph iterators.
7013 (isMultiLingual): ditto
7015 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7017 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7019 * FontLoader.C: Support for cmr font.
7021 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7023 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7024 (available): New method.
7026 * FontInfo.C (getFontname): Use scalable fonts even when
7027 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7030 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7032 * converter.C (Formats::view): reverted! Incorrect fix.
7034 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7036 * converter.C (Formats::view): only output the -paper option
7037 if the dvi viewer is xdvi, thereby fixing bug #233429.
7039 2001-08-23 Herbert Voss <voss@perce>
7041 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7043 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7045 * Spacing.h (Spacing): Set space to Default on in the default
7048 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * vc-backend.h (RCS::versionString): add RCS to version
7051 (CVS::versionString): add CVS to version
7053 * vc-backend.C (scanMaster): do not add CVS to version.
7054 (scanMaster): do not add RCS to version
7056 * lyxvc.C (versionString): new method
7058 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7060 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7062 * Spacing.C (set): initialize fval
7064 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7066 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7069 2001-08-16 Juergen Vigna <jug@sad.it>
7071 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7073 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7075 * BufferView_pimpl.C:
7078 * text2.C: setParagraph takes linespacing now
7080 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7082 * LyxAction.C: add internal LFUN_CITATION_INSERT
7084 * LyXView.C: actually apply fix
7086 * bufferlist.C: fix open non-existent file
7088 * lyxfind.C: fix indentation
7090 * lyxfunc.C: remove unneeded assert, fix typo
7092 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7094 * MenuBackend.C: use "Floatname List"
7096 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7098 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7099 when converting LaTeX layout to insetERT.
7100 Generate a non-collapsed float when reading old float
7102 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7104 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7107 2001-08-13 Juergen Vigna <jug@sad.it>
7109 * text.C (fill): return 0 instead of 20 as this seems to be the more
7112 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7114 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7117 2001-08-13 Juergen Vigna <jug@sad.it>
7119 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7121 (SearchBackward): comment out the unlocking of the inset_owner this
7122 should not be needed!
7124 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7126 * Many files: Remove inherit_language, and add latex_language
7128 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7131 2001-08-10 Juergen Vigna <jug@sad.it>
7133 * text.C (prepareToPrint): fixed hfill-width in draw!
7135 * BufferView2.C (selectLastWord): save the selection cursor as this
7136 now is cleared in the function LyXText::clearSelection!
7138 2001-08-08 Juergen Vigna <jug@sad.it>
7140 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7141 BACKSPACE type functions.
7143 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7144 is only cutted from the document but not put in the cut-buffer, where
7145 still the old stuff should be.
7147 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7149 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7151 * tabular.C (SetWidthOfCell): fixed special case where the width
7153 (LeftLine): handle '|' in align_special.
7155 (LeftAlreadyDrawed): ditto
7156 (SetWidthOfCell): ditto
7158 2001-08-07 Juergen Vigna <jug@sad.it>
7160 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7162 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7164 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7165 * lyxlex.[hC]: ditto
7167 2001-08-06 Juergen Vigna <jug@sad.it>
7169 * text.C (getVisibleRow): fix up row clearing a bit.
7171 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7173 * minibuffer.C: make sure the X server sees the changes in the input.
7175 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7177 * paragraph.C (getFont): split into...
7178 (getLabelFont): this
7179 (getLayoutFont): and this
7180 * paragraph_pimpl.C (realizeFont): calling this
7182 * text2.C (getFont): split into...
7183 (getLayoutFont): this
7184 (getLabelFont): and this
7185 (realizeFont): all three calling this
7187 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7190 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7192 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7194 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7196 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7197 layouts from the Quote inset insertion.
7199 2001-08-03 Juergen Vigna <jug@sad.it>
7201 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7203 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7204 only if status not is already CHANGED_IN_DRAW (second level).
7206 * text.C (draw): don't set the need_break_row when inside an
7209 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7211 * buffer.C (parseSingleLyXformat2Token): handle more latex
7214 * bufferview_funcs.[hC]: change function names to
7215 begin with small char, adjust other files.
7217 2001-08-02 André Pönitz <poenitz@gmx.net>
7220 BufferView_pimpl.C: remove broken special code for math-greek
7222 2001-08-02 Juergen Vigna <jug@sad.it>
7224 * BufferView_pimpl.C (update): redone this function so that we
7225 update the text again if there was a CHANGE_IN_DRAW.
7227 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7228 (drawFromTo): added a new internal bool which is used by draw() and
7230 (general): some cursor drawing problems fixed.
7232 2001-08-01 Juergen Vigna <jug@sad.it>
7234 * lyxfind.C (LyXFind): fixed
7235 (SearchForward): ditto
7236 (SearchBackward): ditto
7238 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7239 spurius drawing of the cursor in the main area.
7241 * text2.C (status): small fix which could lead to a segfault!
7242 (clearSelection): remove unneeded BufferView param.
7244 2001-08-01 André Pönitz <poenitz@gmx.net>
7246 * lyxfunc.C: small change due to changed mathed interface
7248 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7250 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7252 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7254 * lyxfunc.c: fail gracefully if file doesn't exist
7259 * BufferView_pimpl.C: IsDirWriteable() proto changed
7261 * LyXView.C: fix updateWindowTitle() to store the last title
7263 2001-07-31 Juergen Vigna <jug@sad.it>
7265 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7266 the font (wrong since using of Paragraph::highestFontInRange).
7268 * paragraph.C (highestFontInRange): added a default_size parameter.
7270 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7271 (setHeightOfRow): reformat
7273 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7275 * converter.[hC] + affected files: move to (inital-char)lowercase
7278 * ParagraphParameters.C (ParagraphParameters): remove commented code
7280 * PainterBase.[Ch]: remove commented code
7282 * LaTeXFeatures.h: add "bool floats" for float.sty
7284 * LaTeXFeatures.C (LaTeXFeatures): init floats
7285 (require): handle float
7286 (getPackages): do it with floats
7288 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * BufferView_pimpl.C (Dispatch): improve handling of
7291 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7293 * commandtags.h: #include lyxfont.h here temporarily to avoid
7296 * bufferlist.h: include LString.h here.
7298 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7300 * text2.C (getStringToIndex): new method.
7302 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7304 * *: Reduced header file dependencies all over.
7306 2001-07-30 Baruch Even <baruch@lyx.org>
7308 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7310 2001-07-29 Baruch Even <baruch@lyx.org>
7312 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7314 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7316 * ParameterStruct.h (endif): add a default constructor to make
7317 sure that all variables is initialized.
7319 * ParagraphParameters.C (ParagraphParameters): adjust
7321 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7323 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7324 index; also, check that there is something to index, and that it
7325 does not span over several paragraphs.
7326 (doubleClick): use WHOLE_WORD_STRICT for double click.
7328 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7330 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7333 2001-07-26 Baruch Even <baruch@lyx.org>
7335 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7336 an InsetFig figure, backwards compatible reading of old figure code.
7338 2001-07-27 Juergen Vigna <jug@sad.it>
7340 * text2.C: font.realize function adaption.
7342 * text.C (draw): add a warnings lyxerr text if needed.
7344 * layout.C: font.realize function adaption.
7346 * language.C: add inherit_language and implement it's handlings
7348 * bufferview_funcs.C (StyleReset): remove language parameter from
7349 font creation (should be language_inherit now).
7351 * bufferparams.C (writeFile): handle ignore_language.
7353 * paragraph.C (getFontSettings): the language has to be resolved
7354 otherwise we have problems in LyXFont!
7356 * lyxfont.C (lyxWriteChanges): added document_language parameter
7357 (update): removed unneeded language parameter
7359 * paragraph.C (validate): fixed wrong output of color-package when
7360 using interface colors for certain fonts in certain environments,
7361 which should not seen as that on the final output.
7363 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7365 * BufferView_pimpl.C:
7370 * LyXAction.C: add thesaurus support
7373 * lyxfind.C: add "once" parameter, for thesaurus, to not
7374 move to the next match
7376 2001-07-26 Juergen Vigna <jug@sad.it>
7378 * lyxfont.C (realize): honor ignore_language too!
7381 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7383 * text.C (draw): one place more for ignore_language to not draw
7386 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7388 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7390 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7392 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7393 the minipage conversion problem.
7395 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7400 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7402 * BufferView.h: don't forward declare WorkArea
7404 * BufferView.C: don't include WorkArea.h
7406 2001-07-25 André Pönitz <poenitz@gmx.net>
7410 * lyxfunc.C: new LFUN 'math-space'
7412 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7414 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7416 * text2.C (toggleInset): call open/close
7418 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * lyxfunc.C (dispatch): add debug for the disabled case
7422 * font.C (buttonText): make similar to rectText
7424 * buffer.C (readInset): comment out parsing of insetlist and
7427 * PainterBase.C (rectText): small correction
7429 * BufferView_pimpl.C: comment out insettheorem and insetlist
7430 * LyXAction.C: ditto
7431 * commandtags.h: ditto
7433 2001-07-24 Juergen Vigna <jug@sad.it>
7435 * text.C (draw): honor the ignore_language.
7437 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7439 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7441 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7444 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7446 * lyxtext.h: remove unused (and unimplemented) methods
7448 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7450 * text.C (getVisibleRow): honor background color
7453 * Painter.h: remove default color argument for fillRectangle
7455 * text.C (backgroundColor): new method
7457 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7459 * text.C (getVisibleRow): adjust
7461 * font.[Ch] (rectText): new method, metrics
7462 (buttonText): new method, metrics
7464 * PainterBase.[hC]: make rectText and buttonText always draw and take
7467 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7469 * ToolbarDefaults.C (read):
7470 * MenuBackend.C (read): allow escaping in all strings
7472 * BufferView_pimpl.C (insertAndEditInset): new method.
7473 (Dispatch): use insertAndEditInset whenever appropriate.
7475 * BufferView_pimpl.C (insertNote): removed
7477 * BufferView_pimpl.C (smartQuote): new method, moved from
7478 BufferView; if an insetquote cannot be inserted, insert a '"'
7481 * BufferView2.C: remove insertCorrectQuote();
7483 * lyxfunc.C (getStatus): Add support for all remaingin
7486 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7488 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7489 command (necessary to pass " as parameter of self-insert.
7491 * text.C (selectWordWhenUnderCursor):
7492 (selectWord): add word_location parameter
7493 (selectWordWhenUnderCursor): same + remove special code for word
7495 (selectNextWord): use kind() to guess type of insetspecialchar,
7498 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7499 (insertErtContents): create ert insets as collapsed.
7500 (readInset): better compatibility code for Info inset.
7502 2001-07-20 Juergen Vigna <jug@sad.it>
7504 * lyxfunc.C (dispatch): use always LyXFind now!
7506 * text2.C (init): add a reinit flag so that the LyXText can be
7507 reinited instead of deleted and reallocated (used in InsetText).
7509 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7515 2001-07-18 Juergen Vigna <jug@sad.it>
7517 * text.C (selectNextWord): handle insets inside inset by calling
7518 always the bv->text functions so that we can go up the_locking_inset!
7520 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7521 in strange locations when inside an inset!
7523 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7524 handling to include insets.
7526 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7528 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * LyXAction.C (init):
7532 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7533 LIGATURE_BREAK, since the name is so stupid.
7535 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7537 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7540 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7542 * sp_form.[Ch]: remove.
7544 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7546 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7549 * src/buffer.C (readInset): ditto.
7551 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7553 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7554 menuSeparator(), endOfSentenceDot(), ldots() and
7555 hyphenationPoint(), which are therefore removed.
7556 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7558 * LyXAction.C (init):
7559 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7561 * paragraph.C (getWord): removed.
7563 * BufferView_pimpl.C (Dispatch): use last word or selection for
7564 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7566 * lyx_main.C (queryUserLyXDir): do not ask before creating
7567 user_dir, except if it has been named explicitely.
7569 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7571 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7572 a document of zero size.
7574 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7576 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7577 approriately in the c-tor and in require().
7578 (getPackages): output the appropriate LaTeX for natbib support.
7580 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7581 variables "use_natbib" and "use_numerical_citations" when reading the
7583 (readInset): read the various natbib cite commands.
7584 (validate): white-space change.
7586 * bufferparams.[Ch]: new variables "bool use_natbib" and
7587 "bool use_numerical_citations".
7588 (writeFile): output them in the LyX file.
7590 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7592 * lyxfunc.C (getStatus): add support for all the inset insertion
7595 * text2.C (insertInset):
7596 * paragraph.C (insetAllowed):
7597 * BufferView_pimpl.C (insertInset): update to take in account the
7598 renaming of insertInsetAllowed
7600 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7602 * text2.C (getInset): new method. returns inset at cursor position.
7604 * BufferView_pimpl.C (Dispatch): changes because of this.
7606 * LyXAction.C (init): rename open-stuff to inset-toggle.
7608 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7610 * text2.C (toggleInset): renamed from openStuff; use
7613 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7615 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7617 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7619 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7621 * buffer.C (readLyXformat2): Add filename to the error dialog
7623 2001-07-18 Juergen Vigna <jug@sad.it>
7625 * tabular.C (GetCellNumber): put an assert here instead of the check!
7627 2001-07-17 Juergen Vigna <jug@sad.it>
7629 * BufferView_pimpl.C (toggleSelection): adapted too.
7631 * text.C (selectNextWord): adapted for use with insets.
7632 (selectSelectedWord): ditto
7634 2001-07-17 Juergen Vigna <jug@sad.it>
7636 * sp_spell.C (PSpell): fix initialitation order.
7638 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * paragraph.C: spacing
7642 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7644 * sp_spell.C: repair language selection for pspell
7646 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7648 * lyxfunc.h: change more methods to begin with lower char.
7650 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7652 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7653 for unknown layouts.
7655 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7657 * buffer.C (readLyXformat2): Generate an error dialog if there are
7660 2001-07-16 Juergen Vigna <jug@sad.it>
7662 * sp_spell.C: always compile ISpell part.
7664 * lyxrc.C: added use_pspell entry and it's handling.
7666 2001-07-13 Juergen Vigna <jug@sad.it>
7668 * sp_spell.C: removed double includes.
7670 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7672 Consistent use of Lsstream.h:
7673 * Lsstream.h: added using std::stringstream for consistencies sake.
7675 * buffer.C: removed using std::stringstream
7677 * lyxfont.C (stateText):
7678 * paragraph.C (asString):
7679 * text.C (selectNextWord, selectSelectedWord):
7680 * text2.C (setCounter):
7681 * vspace.C (asString, asLatexString):
7682 std::ostringstream -> ostringstream.
7684 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7686 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7687 * commandtags.h: add LFUN_HELP_ABOUTLYX
7688 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7690 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7692 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7694 * lyx_gui_misc.C: remove spellchecker
7695 * lyxfunc.C: showSpellchecker
7697 * sp_ispell.h: added
7698 * sp_pspell.h: added
7700 * sp_form.[Ch]: removed
7701 * spellchecker.[Ch]: removed
7703 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7705 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7707 (simpleTeXSpecialChars): Simply print the input character without
7708 any special translation if pass_thru is set.
7710 * layout.h: Added bool pass_thru to layout class for being able to
7711 implement pass through of a paragraph for Literate Programming.
7713 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7714 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7715 * layout.C (Read): add "passthru" to list of layout tags and add
7716 code to set the pass_thru boolean when it is read.
7718 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * trans_decl.h: remove allowed from KmodInfo
7722 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7726 * paragraph_pimpl.C (erase): use boost::prior
7728 * Painter.C (text): use data() instead of c_str() when length is
7730 * WorkArea.C (putClipboard): ditto
7731 * font.h (width): ditto
7733 * BufferView2.C: use it-> instead of (*it). for iterators
7735 * paragraph_pimpl.C: ditto
7736 * paragraph.C: ditto
7737 * minibuffer.C: ditto
7742 * converter.C: ditto
7744 * Variables.C: ditto
7745 * TextCache.C: ditto
7746 * MenuBackend.C: ditto
7747 * LyXAction.C: ditto
7749 * FloatList.C: ditto
7751 * ColorHandler.C (LyXColorHandler): ditto
7753 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7755 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7757 * text2.C (openStuff): reintroduce this method (which had been
7758 nuked in NEW_INSETS frenzy).
7760 * lyxfunc.C (Dispatch): when an action has not been handled, use
7761 its name in the error message, not its number.
7763 * paragraph.C (inInset): change method name to begin with lowercase.
7766 * text2.C: updates because of this.
7768 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7770 * ToolbarDefaults.C (add): add spaces in error message
7772 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7775 (readLyXformat2): rename return_par to first_par, use lyxlex's
7776 pushToken and remove the manual push handling.
7777 (parseSingleLyXformat2Token): add another ert comp. variable:
7778 in_tabular, rename return_par to first_par. handle newlines better
7780 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7782 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7784 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7786 * text2.C (getParFromID): removed
7788 * buffer.C (getParFromID): new method moved form lyxtext.
7789 * BufferView2.C (insertErrors): adjust
7790 (setCursorFromRow): adjust
7791 * BufferView_pimpl.C (restorePosition): adjust
7792 * lyxfunc.C (Dispatch): adjust
7793 * undo_funcs.C (textUndo): adjust
7795 (textHandleUndo): adjust
7796 (textHandleUndo): adjust
7798 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7800 * buffer.C: up' the LYX_FORMAT
7802 * lyxfont.h: turn NO_LATEX on as default
7804 * buffer.C (insertErtContents): new methods of tex style compability.
7805 (parseSingleLyXformat2Token): use it several places.
7806 * tabular.C (OldFormatRead): and here
7808 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7810 * text2.C: remove some commented code.
7813 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7814 * trans.C: changes because of the above.
7816 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7818 * text2.C (setCounter): Fix counters bug with bibliography layout.
7820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7822 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7823 own member functions
7824 (simpleTeXSpecialChars): ditto
7826 2001-07-06 Juergen Vigna <jug@sad.it>
7828 * a lot of files: changed the access to LyXText::status and the
7829 call of undo-functions.
7831 * undo.[Ch]: added a inset_id to the undo informations.
7833 * undo_funcs.[Ch]: added and moved here all undo functions.
7835 * lyxtext.h: give the status enum a weight, made status_ a private
7836 variable and made accessor functions for it, removed the whole bunch
7837 of undo-functions as they are now in their own file, make some
7838 functions publically available. Added function ownerParagraph with
7841 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7842 made InInset() a const function, added getParFromID() function.
7844 * buffer.[Ch]: added const version for inset_iterator functions,
7845 added getInsetFromID() function.
7847 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7848 changed undo functions for new version.
7850 2001-07-05 Juergen Vigna <jug@sad.it>
7852 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7853 unknow mechanism does not call the proper constructor but only this
7854 one also if I request the other!?
7856 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7858 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7860 * text2.C (LyXText): use initialization lists.
7862 * lyxtext.h (Selection): initialize set_ and mark_
7863 (init): remove method
7865 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7867 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7869 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * screen.[Ch]: change method names to begin with lowercase
7873 * BufferView_pimpl.C (updateScrollbar): simplify further and
7874 hopefully make it a bit faster.
7876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7878 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7879 calling directly xforms functions.
7881 * Painter.C (Painter):
7882 * lyx_cb.C (MenuWrite):
7883 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7886 * lyx_gui.C: remove bogus guiruntime extern declaration.
7888 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7890 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7892 (redoDrawingOfParagraph): ditto
7893 (redoParagraphs): ditto
7894 (cutSelection): don't create a object for CutAndPaste use the
7895 static method directly
7896 (pasteSelection): ditto
7898 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7901 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7903 * modifications to some other files because of this.
7905 * Makefile.am (lyx_SOURCES): add XFormsView
7907 * XFormsView.[Ch]: new files
7909 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7910 the main window. Move the gui dependent stuff to XFormsView
7912 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7914 * tabular.C (GetCellInset): update cur_cell also in the row/col
7915 version of this function.
7917 * lyxfunc.C: no need to include figure_form.h here.
7923 * lyxvc.C: no need to include forms.h here.
7925 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7927 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7929 * lyxfunc.C (Dispatch):
7931 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7932 constructor argument.
7934 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7936 * paragraph.C (Paragraph): dont't clear, and just set layout.
7937 (makeSameLayout): use params's copy contructor.
7939 * ParagraphParameters.[Ch] (makeSame): delete method
7941 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7943 * Variables.[Ch]: fix indentation, rename set to isSet
7945 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7947 * lyxfunc.C (Dispatch): fix typo
7949 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7951 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7954 * bufferlist.C: include assert.h for emergencyWrite().
7956 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7958 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7959 give up at last (bug #425202) !
7961 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7967 * spellchecker.C: strip spellchecker options and bring up
7968 preferences tab instead
7970 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7972 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7973 the istringstream constructor
7975 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7977 * paragraph.C (getLayout): fix return value
7979 * paragraph.h: do not declare getLayout as inline.
7981 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7983 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7985 * lyxcursor.h (operator<): new func
7986 (operator>): new func
7987 (operator>=): new func
7988 (operator<=): new func
7990 * text.C (changeCase): use selection.start and selection.end
7991 (changeRegionCase): require from to be <= to. Require par to be a
7994 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7996 2001-06-27 Juergen Vigna <jug@sad.it>
7998 * text.C (cursorLeftOneWord): changed to return the cursor and added
7999 overlay with BufferView * parameter which calls this one.
8001 (selectWord): use new getWord function.
8002 (changeCase): renamed from changeWordCase as and extended to work
8005 * lyxtext.h: added enum word_location
8007 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8008 changeCase as this operates now also on selections.
8010 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8012 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8014 * many files: send debug output to Debug::INFO instead of
8017 * converter.C (View):
8019 (Move): send debug output to Debug::FILES instead of console.
8021 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8023 * lyxfunc.C (getStatus): use func_status
8025 * func_status.h: new header, describing the results of
8028 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8031 2001-06-25 The LyX Project <jug@sad.it>
8033 * buffer.C (sgmlOpenTag):
8035 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8037 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8039 * text2.C: remove some dead code
8041 * tabular.C (GetCellInset): store the last cell checked (gotten)
8043 * tabular.h: add the helper for the speedup
8045 * lyxtext.h: remove some dead code
8047 2001-06-26 The LyX Project <Asger>
8049 * paragraph.C: Change export to LaTeX of alignment to
8050 \begin{center} and family for better roundtrip work with reLyX.
8052 * Tune the math drawing a bit.
8054 2001-06-25 The LyX Project <Asger>
8056 * LColor.C (LColor): New color for math background. New color
8059 2001-06-25 The LyX Project <jug@sad.it>
8061 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8064 * bufferlist.C (newFile): do not restrict to files ending with
8067 * BufferView_pimpl.C (MenuInsertLyXFile):
8069 2001-06-24 The LyX Project <jug@sad.it>
8071 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8074 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * lyxtext.h: rename most methods to begin with a small char.
8077 Lots of changes because of this.
8079 * paragraph.C (Paragraph): do not call fitToSize
8080 (erase): call Pimpl::erase
8081 (insertChar): call Pimpl::insertChar
8082 (insertInset): call Pipl::insertInset
8083 (breakParagraph): do not call fitToSize
8084 (breakParagraphConservative): do not call fitToSize
8085 (fitToSize): remove method
8087 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8089 2001-06-24 The LyX Project <Asger>
8091 * Fix Qt compilation^2
8093 2001-06-24 The LyX Project <jug@sad.it>
8095 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8096 depthHook(getDepth()-1).
8099 * ParagraphParameters.h:
8100 * ParameterStruct.h: change type of depth to unsigned int ==
8101 depth_type. Many adaptations to other files before of that.
8103 2001-06-24 The LyX Project <Asger>
8105 * Fix Qt compilation.
8107 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8109 * paragraph.h: renamed several methods to begin with small letter.
8110 several changes to many parts of the code because of this.
8112 2001-06-23 The LyX Project <jug@sad.it>
8114 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8115 rewritten to discard all double spaces when KeepEmpty is off
8116 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8117 to only handle newlines but not fiddle with spaces and friends.
8119 * lyxfunc.C (MenuNew): when doing 'new from template', use
8120 template_path as default directory
8122 2001-06-23 The LyX Project <Asger>
8124 * Clean-up of header file includes all over
8125 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8127 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8129 * paragraph.h: renamed from lyxparagraph.h
8131 2001-06-23 Asger <lyx@violet.home.sad.it>
8133 * Buffer.h: Removed Buffer::resize
8134 * BufferList.h: Removed BufferList::resize
8135 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8136 the document lazily when we change the width, or the font settings.
8138 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8140 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8142 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8144 * buffer.h: remove out of date comment
8146 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8149 * screen.C: fix "theoretical" GC leak
8151 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * LaTeX.C (scanAuxFile):
8154 (deplog): remove trailing \r when reading stream (useful under
8157 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8159 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8160 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8161 and BufferView::theLockingInset(Inset*), so should use them and not
8162 access bv_->text->the_locking_inset directly.
8164 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8166 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8169 * tex-defs.h: remove old unused file
8171 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8173 * BufferView_pimpl.C: fix typo, remove minibuffer message
8174 when buffer has loaded
8176 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8178 * lyxfunc.C (Dispatch): use stringstream
8179 (MenuNew): use stringstream
8180 (Open): use stringstream
8182 * importer.C (Import): use stringstream
8184 * bufferview_funcs.C (CurrentState): use stringstream
8186 * LaTeX.C (run): use stringstream
8188 * BufferView_pimpl.C (savePosition): use stringstream
8189 (restorePosition): use stringstream
8190 (MenuInsertLyXFile): use stringstream
8192 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8205 * vspace.C: removed // -*- C++ -*- as first line.
8208 * version.h: added // -*- C++ -*- as first line.
8210 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8214 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8217 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8222 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * gettext.C: include LString.h even when --disable-nls is on.
8226 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8228 * converter.h (Get): changed argument type from int to
8229 FormatList::size_type to avoid unnecessary conversion.
8231 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8234 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * gettext.h: include LString.h even when --disable-nls is on.
8238 2001-06-07 Juergen Vigna <jug@sad.it>
8240 * text.C (BreakAgain): subst spaces with tabs.
8242 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8243 (resizeInsetsLyXText): set force on resizeLyXText.
8245 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * gettext.h (gettext_init):
8248 (locale_init): use a real definition instead of a macro
8250 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8252 * Bufferview_pimpl.C:
8254 * LColor.C: further lcolor tidies
8256 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8258 * BufferView_pimpl.C (updateScrollbar): simplify.
8260 * BufferView2.C: don't include insets/insetinfo.h, change
8261 prototype for insertInset and call the Pimpl version. let
8262 updateInset call Pimpl version.
8264 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8265 gotoInset to BufferView::Pimpl
8267 2001-06-01 Juergen Vigna <jug@sad.it>
8269 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8270 inside a LockingInset (is the update needed at all?).
8272 2001-05-31 Juergen Vigna <jug@sad.it>
8274 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8275 here not the old one otherwise how should we compare it afterwards
8278 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8283 * FontInfo.C: bring C functions into global namespace when
8286 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8288 * LString.h: make sure config.h has been loaded before LString.h.
8290 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8291 (one for each char read by EatLine!).
8293 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8296 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8299 to the same as the par we break from
8301 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8305 * MenuBackend.C (expand): also create menu entries for wide
8306 versions of the floats.
8308 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8310 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8312 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8313 frontends/Makefile.am
8319 * tabular.C (getTokenValue): add std::
8321 * tabular-old.C (getTokenValue): add std::
8322 (getTokenValue): ditto
8323 (getTokenValue): ditto
8325 * screen.C (ToggleSelection): adjust
8327 * lyxtext.h: put selection cursors inside a Selection struct.
8329 * lyxfunc.C (moveCursorUpdate): adjust
8331 * lyxfont.C (latexWriteStartChanges): add std::
8335 * font.h: delete with(char const *, LyXFont const &)
8337 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8339 * FontInfo.C (getFontname): add std::
8341 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8342 (workAreaButtonPress): adjust
8343 (tripleClick): adjust
8345 (moveCursorUpdate): adjust
8348 * BufferView2.C (gotoInset): adjust
8350 2001-05-30 Juergen Vigna <jug@sad.it>
8352 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8353 to check pspell I add this as default as I now have new pspell
8354 libraries and they seem to use this.
8356 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * text2.C (CutSelection): make the cursor valid before the call to
8361 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8363 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8364 relied on 0 terminated strings and other horrors. Bug found due to
8365 the new assert in lyxstring!
8367 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8370 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8372 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8375 * lyxfunc.C (processKeySym): change method of getting to the
8378 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8379 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8380 * BufferView_pimpl.[Ch]: here as private methods.
8382 2001-05-28 Juergen Vigna <jug@sad.it>
8384 * text.C (SetHeightOfRow): added the update() call again as it is
8385 needed to initialize inset dimensions!
8387 2001-05-16 Juergen Vigna <jug@sad.it>
8389 * text2.C (SetCharFont): Add new function with BufferView * and
8390 bool toggleall parameters for setting insets internal fonts.
8391 (SetFont): Freeze the undo as we may change fonts in Insets and
8392 all this change should be inside only one Undo!
8394 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8395 setting font's in insets as for them we have the SetFont function!
8397 2001-05-15 Juergen Vigna <jug@sad.it>
8399 * text2.C (ClearSelection): to be sure we REALLY don't have any
8402 * tabular.C (TeXCellPreamble): fixed the left border problem for
8405 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8407 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8410 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8412 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8413 LFUN_BREAKPARAGRAPH.
8415 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8416 help test to "internal only", similar for LFUN_INSERT_URL
8418 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8419 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8420 auto_region_delete and deadkeys.
8422 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8425 * LColor.C: remove some dead entries, tidy a little
8427 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8431 (Dispatch): implement LFUN_ESCAPE
8433 * commandtags.h: add LFUN_ESCAPE
8435 * LyXAction.C (init): add entry for LFUN_ESCAPE
8437 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8438 Remove commented code.
8439 (insertNote): moved here
8440 (open_new_inset): moved here
8442 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8445 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8447 * kbmap.C (findbinding): clean it up and make it work correctly.
8449 * lyx_main.C (init): do not pass argc and argv as parameters
8451 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8453 * buffer.C: fix path for OS/2 & Win32
8457 * lyx_main.C: Added os:: class.
8459 * os2_defines.h: update
8461 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8463 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8464 better by trying again with reduced state.
8466 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8468 * lyxrc.C (read): print error about invalid key sequence only when
8469 debugging (because not all latinX keysyms are known to some X
8472 * kbsequence.C (getiso): add a few std:: qualifiers
8473 (getiso): comment out extra return statement.
8475 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8477 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8479 (Dispatch): enhance the accent inset a bit. (not perfect)
8481 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8485 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8487 * bufferlist.C (emergencyWrite): fix assert() call
8489 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8491 * text.C (InsertChar): Added trivial patch to only send the "you
8492 can not do multiple spaces this way" message once during a
8495 2001-05-08 Baruch Even <baruch@lyx.org>
8497 * Makefile.am: Changed order of libraries to get LyX to link properly
8498 with the gnome frontend.
8500 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8502 * LaTeXFeatures.h: add a std:: qualifier
8504 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8506 * paragraph.C (String): use stringstream
8508 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8510 * paragraph.C (writeFile): remove footflag arg
8512 * buffer.C (makeLaTeXFile): use stringstream
8513 (latexParagraphs): remove footnot gurba
8515 * LaTeXFeatures.C (getPackages): use stringstream
8516 (getMacros): likewise
8517 (getTClassPreamble): likewise
8518 (getFloatDefinitions): new method
8520 * paragraph.C (writeFile): reindent
8523 * WorkArea.h: revert the xpos + etc changes.
8525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8527 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8529 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8530 (pasteSelection): likewise
8531 * text2.C (CreateUndo): likewise
8533 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8535 * minibuffer.C (peek_event): temporarily reduce the functionality
8536 of the minibuffer (to allow args on lfuns)
8538 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8539 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8541 * buffer.C (readInset): add compability reading of old float
8542 lists, add reading of new style float list.
8543 (readInset): avoid reevaluation of inscmd.getCmdName()
8544 (getLists): reindent
8546 * MenuBackend.C (MenuItem): implement parsing of
8547 md_floatlistinsert and md_floatinsert.
8548 (expand::LastFiles): move initalizaton of iterators out of loop,
8550 (expand::Documents): introduce typdedef vector<string> Strings,
8552 (expand::ExportFormats): introduce typedef vector<Format const *>
8553 Formats, and use it.
8554 (expand): implement FloatListInsert and FloatInsert.
8556 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8557 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8558 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8560 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8562 (Dispatch::LFUN_FLOAT_LIST): implement
8564 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8566 * LaTeX.C (run): Fix problem with --export code.
8568 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8570 * BufferView.[Ch] (workarea): removed.
8571 (getClipboard) new method; wrapper for workarea()->getClipboard()
8573 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8576 * WorkArea.h (width, height, xpos, ypos): These methods all
8577 returned the dimensions of the work_area sub-area of WorkArea,
8578 resulting in a position error if the WorkArea were resized. Now
8579 return the dimensions of the entire WorkArea.
8581 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8583 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * LaTeX.C (deplog): correct the syntax of regex reg1
8587 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * undo.C: remove !NEW_INSETS cruft
8591 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8593 * text2.C: remove !NEW_INSETS cruft
8595 * text.C: remove !NEW_INSETS cruft
8597 * tabular.C: remove !NEW_INSETS cruft
8599 * spellchecker.C: remove !NEW_INSETS cruft
8601 * lyxtext.h: remove !NEW_INSETS cruft
8603 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8605 * lyxfunc.C: remove !NEW_INSETS cruft
8607 * lyxfind.C: remove !NEW_INSETS cruft
8609 * lyx_cb.C: remove !NEW_INSETS cruft
8611 * figureForm.C: remove !NEW_INSETS cruft
8613 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8615 * buffer.[Ch]: remove !NEW_INSETS cruft
8617 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8619 * CutAndPaste.C: remove !NEW_INSETS cruft
8621 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8623 * BufferView2.C: remove !NEW_INSETS cruft
8625 * BufferView.h: remove !NEW_INSETS cruft
8627 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8629 * Lsstream.h: include LString.h before the sstream headers to
8630 fix problem with gcc 2.95.3 and lyxstring
8632 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * lyx_main.C: add using directives when needed for C functions
8635 declared in std:: namespace.
8637 2001-04-27 Juergen Vigna <jug@sad.it>
8639 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8640 (SetHeightOfRow): comment out the update call should not be needed!
8642 2001-04-13 Juergen Vigna <jug@sad.it>
8644 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8645 (LyXTabular): tried to minimize operator= operations (and realized
8646 hopfully Lars wish).
8648 2001-04-27 Juergen Vigna <jug@sad.it>
8650 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8652 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8654 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8656 * buffer.C (readInset): hack to make listof algorithm work
8658 * BufferView_pimpl.C: hack to make listof algorithm work
8660 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * LyXAction.C: removed all !NEW_INSETS cruft
8663 (init): moved lfun_item in method
8665 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8667 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8669 * BufferView2.C (theLockingInset): white space.
8671 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8673 * minibuffer.C: include <iostream>
8675 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8677 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8679 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8681 * text.[Ch] (TransposeChars): new method
8683 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * call message directly through LyXView instead of through LyXFunc
8686 * BufferView2.C: adjust
8687 * BufferView_pimpl.C: adjust
8688 * FontLoader.C: adjust
8690 * bufferview_funcs.C: adjust
8691 * converter.C: adjust
8692 * figureForm.C: adjust
8693 * importer.C: adjust
8695 * lyx_gui_misc.C: adjust
8699 + more files in subdirs
8701 * lyxparagraph.h (size): move up int file
8704 * adjust all uses of Assert to lyx::Assert.
8706 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8707 lyxfunctional in namespace lyx
8708 * layout.C (hasLayout): ditto
8711 (delete_layout): ditto
8712 (NumberOfClass): ditto
8713 * converter.C (GetFormat): ditto
8718 * bufferlist.C (getFileNames): ditto
8719 (emergencyWriteAll): ditto
8722 * MenuBackend.C (hasSubmenu): ditto
8725 * BufferView_pimpl.C (getInsetByCode): ditto
8727 2001-04-18 Juergen Vigna <jug@sad.it>
8729 * vspace.C (asLatexString): fixed the 100% problem.
8731 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8733 * lyxfunc.C (Dispatch):
8735 * minibuffer.h: add a few std:: qualifiers
8737 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8739 * minibuffer.[Ch]: reimplement so that commands is initiated and
8740 run from lyxfunc, simplified som handling, and made the completion
8741 and history code for complete. wip.
8743 * lyxfunc.C (processKeySym): call message
8744 (miniDispatch): new temporary method
8745 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8746 (LFUN_MESSAGE): implement
8747 (LFUN_MESSAGE_PUSH): implement
8748 (LFUN_MESSAGE_POP): implement
8749 (initMiniBuffer): the initial/defualt minibuffer message.
8751 * lyxfont.[Ch]: inline some more getters
8753 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8755 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8757 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8758 (AutoSave): use LFUN_MESSAGE
8759 (Reconfigure): ditto
8761 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8763 * figureForm.C: use LFUN_MESSAGE
8765 * converter.C (runLaTeX): use LFUN_MESSAGE
8767 * bufferview_funcs.C: use LFUN_MESSAGE
8769 (changeDepth): ditto
8771 * bufferparams.h: use boost::
8773 * bufferlist.h: inherit privately from noncopyable
8775 * bufferlist.C (loadLyXFile): remove some commented code.
8777 * buffer.C (runChktex): use LFUN_MESSAGE
8779 * ShareContainer.h: inherit privately from noncopyable
8781 * ParagraphParameters.[hC] (depth): inline it.
8783 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8785 (message): new method
8786 (messagePush): ditto
8788 (show): init minibuffer
8789 (showState): direct call
8791 * LaTeX.[Ch]: inherit privately from noncopyable
8792 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8793 instead of WriteStatus.
8795 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8797 * BufferView_pimpl.C (buffer): don't init minibuffer
8798 (workAreaButtonPress): use LFUN_MESSAGE
8799 (workAreaButtonRelease): ditto
8800 (savePosition): ditto
8801 (restorePosition): ditto
8802 (MenuInsertLyXFile): ditto
8803 (workAreaExpose): don't init minibuffer
8804 (update): remove commented code, simplify
8806 * BufferView2.C (openStuff): use LFUN_MESSAGE
8807 (toggleFloat): ditto
8810 (copyEnvironment): ditto
8811 (pasteEnvironment): ditto
8816 (updateInset): remove some commented code
8818 * lastfiles.h: inherit privately from noncopyable
8823 * lyxlex_pimpl.h: ditto
8825 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8826 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8827 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8829 * LyXAction.h: inherit privately from noncopyable, add methods
8830 func_begin, func_end, returning iterators to the func map.
8832 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8833 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8834 (func_begin): new method
8835 (func_end): new method
8837 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8839 (copySelection): ditto
8840 (pasteSelection): ditto
8842 * BufferView.C: whitespace change
8843 * BufferView.h: inherit privately from noncopyable
8845 2001-04-16 Allan Rae <rae@lyx.org>
8847 * tabular-old.C (l_getline):
8848 * spellchecker.C (sc_check_word):
8849 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8850 an unrecognised preprocessor directive. So ensure they're wrapped.
8852 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8854 * src/exporter.C (Export): Give an error message when path to file
8857 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8859 * LaTeX.C (deplog): Always check that foundfile exists.
8861 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8864 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8866 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8868 * tabular.[Ch] (getLabelList): implement new method
8870 * minibuffer.h: comment ouf setTiimer
8872 * minibuffer.C (ExecutingCB): constify res
8873 (peek_event): constify s
8874 (Set): constify ntext
8875 (Init): constify nicename
8877 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8879 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8880 (savePosition): use two params to Minibuffer::Set
8881 (restorePosition): ditto
8883 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * lyx_main.C: include language.h
8887 * Makefile.am (lyx_main.o): add language.h
8889 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * CutAndPaste.C: include gettext.h
8897 * lyxfont.h: remove old hack with ON and OFF.
8900 * lyxfont.h: do not include language.h...
8905 * bufferview_funcs.C:
8911 * paragraph.C: ... but do it here instead
8913 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8915 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8917 * tabular.C: small reformat
8919 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8922 (BreakParagraph): ditto
8923 (SetOnlyLayout): ditto
8926 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8929 * lastfiles.C: removed most using decl, add std:: where needed
8931 * buffer.C: ws changes
8933 * MenuBackend.C (class compare_format): put into anon namespace
8934 (expand): constify label, names, action, action2
8937 * text.C (SingleWidth): constify font
8938 (IsBoundary): constify rtl2
8939 (GetVisibleRow): constify ww
8941 * LaTeX.C (deplog): constify logfile
8943 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8945 (workAreaExpose): constify widthChange, heightChange
8947 * lyxrow.C (par): moved
8950 * lyxrow.h: as inlines here
8952 * lyxfont.h (shape): moved from lyxfont.C
8953 (emph): moved from lyxfont.C
8955 * lyxfont.C (LyXFont): use initialization list for all
8957 (shape): move to lyxfont.h as inline
8958 (emph): move to lyxfont.h as inline
8961 2001-04-04 Juergen Vigna <jug@sad.it>
8963 * vspace.C: had to include stdio.h for use of sscanf
8965 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8968 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8969 independent of xforms.
8971 2001-04-02 Juergen Vigna <jug@sad.it>
8973 * spellchecker.C: fixed namespace placing!
8975 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8977 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8978 the LyXParagraph * is 0.
8980 2001-03-29 Juergen Vigna <jug@sad.it>
8982 * vspace.C: added support for %, c%, p%, l%.
8983 (stringFromUnit): added helper function.
8984 (asLatexString): changed to give right results for the %-values.
8986 * buffer.C: convert the widthp in a width%.
8988 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8990 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8993 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8994 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8996 * lyx_cb.[Ch]: see above.
8998 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9002 * lyx.[Ch]: replaced by figure_form.[Ch].
9006 * lyxfunc.C: changed headers associated with above changes.
9008 2001-03-27 Juergen Vigna <jug@sad.it>
9010 * BufferView_pimpl.C: set the temporary cursor right!
9012 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9014 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9016 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9018 * LString.h: removed "using std::getline"!
9020 * BufferView_pimpl.C (Dispatch): changes due to changes in
9021 InsetInclude::Params.
9023 * buffer.C (tag_name): removed redundant break statements as they were
9024 producing lots of warnings with my compiler.
9026 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9028 * LString.h: add "using std::getline" when using the real <string>.
9030 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9032 * buffer.C: removed bitset usage.
9033 PAR_TAG moved to an anonymous name space.
9034 (tag_name): new funtion, also in the anonymous namespace.
9035 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9036 (makeDocBookFile): clean code. Completed transition from string arrays
9038 (SimpleDocBookOnePar): code clean.
9040 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9042 * tabular.C: add some comments.
9044 2001-03-22 Juergen Vigna <jug@sad.it>
9046 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9047 compatibility read a bit and fixed bug with minipage in different
9050 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9052 * buffer.C (pop_tag): removed.
9053 (push_tag): removed.
9054 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9055 array replaced with vector. Added support for CDATA sections.
9056 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9058 (makeDocBookFile): XML conformant declaration of CDATA section,
9059 fixed bug related to <emphasis> in the first paragraph char.
9060 (sgmlOpenTag): exclude empty tags.
9061 (sgmlCloseTag): ditto.
9063 * buffer.h (pop_tag): removed.
9064 (push_tag): removed.
9066 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9068 * language.h (Languages): added size_type and size().
9070 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9072 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9073 response on compability reading of minipages. One probliem is that
9074 the old usage of minipages was «flertydig»
9076 * several files here and in subdirs: don't use static at file
9077 scope use anon namespaces instead.
9079 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9081 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9082 LaTeX output. This is necessary for Literate document
9085 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9087 * buffer.C: insert hfill when needed.
9089 * tabular.C (l_getline): use string::erase, small whitespace change.
9091 * BufferView_pimpl.C: try the anon namespace.
9094 2001-03-16 Juergen Vigna <jug@sad.it>
9096 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9097 otherwise it won't open options-dialogs.
9099 * buffer.C: honor pextraWidth(p) on converting minipages.
9101 * tabular.C (l_getline): changed the functions to strip trailing \r.
9103 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9105 * BufferView_pimpl.C:
9106 * minibuffer..C: added "using SigC::slot" declaration.
9108 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9110 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9116 * paragraph.C: ditto
9118 * lyxtext.h: NO_PEXTRA
9120 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9122 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9123 * ParameterStruct.h: ditto
9124 * ParagraphParameters.h: ditto
9125 * lyxparagraph.h: ditto
9127 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9129 * buffer.C: add compability for minipage alignment.
9130 (latexParagraphs): remove unwanted pextra check.
9132 * several files: remove CXX_WORKING_NAMESPACES
9134 * buffer.C (pop_tag): tie is in namespace boost
9136 * BufferView.h: noncopyable is in namespace boost
9141 * lastfiles.h: ditto
9142 * bufferlist.h: ditto
9143 * ShareContainer.h: ditto
9145 * LyXAction.h: ditto
9148 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9150 * Merging changes from BRANCH_MVC back into HEAD.
9152 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9154 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9156 * BufferView_pimpl.C: change from intl.C
9160 * Makefile.am: move combox.*
9166 * intl.C: remove dialog (covered by prefs)
9168 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9170 * lyxfunc.C (Dispatch): removed redundant break statement.
9172 2001-03-14 Juergen Vigna <jug@sad.it>
9174 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9176 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9178 * buffer.C: add hack to fix compability reading of minipages.
9180 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9182 * buffer.C (getLists): Cleanup.
9184 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * lyxfont.C (update): don't honor toggleall on font size.
9188 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9192 * Makefile.am: moved to frontends/xforms/
9196 * BufferView_pimpl.C: changes for moved mathpanel
9198 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9200 * gettext.h: fix gettext_init() in --disable-nls
9202 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9204 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9206 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9209 * lyx.h: strip external form
9211 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9213 * BufferView_pimpl.C: add comment, destroySplash()
9215 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9217 * BufferView_pimpl.C:
9221 * lyxfunc.C: use re-worked insetinclude
9223 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9225 * buffer.C: add using std::stringstream.
9227 * lyx_cb.C: readd using std::ios.
9229 * buffer.C: add using std::map.
9231 * BufferView_pimpl.C: add using std::vector.
9233 * ShareContainer.h: add std:: to swap.
9235 * buffer.h: add some typedefs
9236 * buffer.C (getLists): use them
9237 (getLists): renamed from getTocList.
9238 add a counter for the different float types and use it in the
9240 (getLists): use the same counter for the NEW_INSETS and the "non"
9243 * lyx_cb.h: remove unused items, includes, using etc.
9245 * ShareContainer.h: remove some commented code, add more comments
9246 and "documentation".
9248 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9250 * buffer.C (getTocList): make the list also when NEW_INSETS is
9253 * buffer.h: remove TocType
9255 * buffer.C (getTocList): change to return a map<string,
9256 vector<TocItem> >, implement for dynamic number of list.
9258 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9259 * text2.C (PasteSelection): adjust
9260 * CutAndPaste.C (pasteSelection): adjust
9262 * FloatList.C (FloatList): update from the new_insets branch.
9263 * Floating.[Ch]: ditto
9264 * LaTeXFeatures.C: ditto
9266 * lyxlex_pimpl.C: ditto
9268 * paragraph.C (Last): remove when NEW_INSETS is defined.
9270 * other file: changes because of the above.
9272 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9274 * lyxparagraph.h: rename next to next_, previous to previous_,
9275 make them private for NEW_INSETS. Rename Next() to next(),
9276 Previous() to previous().
9278 * other files: changes because of the above.
9280 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9283 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9286 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9288 * main.C (main): pass lyx_localedir to gettext_init().
9290 * gettext.h: remove locale_init and gettext_init macros
9292 * gettext.C (locale_init): new function
9293 (gettext_init): new function
9295 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9298 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9300 * Moved credits to frontends:
9301 * credits.[Ch]: removed
9302 * credits_form.[Ch]: removed
9303 * lyx_gui_misc.C: remove credits stuff
9306 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9308 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9310 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9311 unneeded destructor.
9313 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9314 a standalone pointer again.
9316 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9318 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9324 * ToolbarDefaults.C:
9333 * BufferView_pimpl.C: use new file dialog in GUII
9336 * lyx_cb.C: remove LayoutsCB to Toolbar
9338 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9340 * ShareContainer.h (get): add std:: qualifier
9342 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9344 * ShareContainer.h: define a proper ShareContainer::value_type
9345 type (and use typename to please compaq cxx)
9347 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9349 * lyxparagraph.h: move serveral local vars to
9350 ParameterStruct/ParagraphParameters., use ShareContainer in
9351 FontTable., make vars in FontTable private and add getter and
9354 * paragraph.C: changes because of the above.
9356 * lyxfont.h: remove copy constructor and copy assignment. (the
9357 default ones is ok), move number inside FontBits. move inlines to
9360 * lyxfont.C: add number to initializaton of statics, move several
9361 inlines here. constify several local vars. some whitespace
9362 cleanup. Dont hide outerscope variables.
9364 * Spacing.h: add two new constructors to match the set methods.
9366 * ShareContainer.h: new file, will perhaps be moved to support
9368 * ParameterStruct.h: new file
9370 * ParagraphParameters.h: new file
9372 * ParagraphParameters.C: new file
9374 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9375 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9377 * BufferView_pimpl.C: ParagraphParameter changes.
9378 * buffer.C: Likewise.
9379 * bufferview_funcs.C: Likewise.
9381 * text2.C: Likewise.
9383 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9385 * lyxfind.C (LyXReplace): do not redefine default argument in
9387 (IsStringInText): ditto
9388 (SearchForward): ditto
9389 (SearchBackward): ditto
9391 2001-03-06 Juergen Vigna <jug@sad.it>
9393 * lyxfind.C (IsStringInText): put parentes around expressions.
9395 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9397 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9399 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9401 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9403 * stl_string_fwd.h: add comment
9405 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9408 * tabular.C: remove unused DocBook methods
9414 killed DO_USE_DEFAULT_LANGUAGE
9416 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9418 * lyx_gui.C: do not include language.h.
9420 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9421 arguments in function implementation.
9423 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9425 * BufferView_pimpl.C: add <ctime>
9427 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9429 * BufferView_pimpl.C: add using std::find_if
9431 2001-02-27 José Matos <jamatos@fep.up.pt>
9433 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9436 2001-02-11 José Matos <jamatos@fep.up.pt>
9438 * buffer.C (makeDocBookFile): command styles now have a parameter as
9441 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9443 * layout_forms.[Ch]: removed
9444 * lyx_cb.[Ch]: out character
9445 * lyx_gui.C: out character
9446 * lyx_gui_misc.C: out character
9447 * bufferview_funcs.C: : out character,
9448 added toggleall as parameter in ToggleAndShow
9450 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9452 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9454 * text2.C (SetCurrentFont): Disable number property at boundary.
9456 2001-02-26 Juergen Vigna <jug@sad.it>
9458 * lyxfunc.C (getStatus): added a string argument override function so
9459 that this is correctly called from LyXFunc::Dispatch if it contains a
9460 do_not_use_argument which is used!
9461 (Dispatch): added check for "custom" export and call appropriate func.
9463 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9465 * lyxrc.C: Add language_command_local, language_use_babel and
9466 language_global_options.
9468 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9470 * buffer.C (makeLaTeXFile): Use language_use_babel and
9471 language_global_options.
9473 2001-02-23 Juergen Vigna <jug@sad.it>
9475 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9476 which works with LyXText and putted it inside BufferView. Here now we
9477 only call for that part the BufferView::Dispatch() function.
9479 * BufferView.C (Dispatch): added.
9481 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9482 functions which needs to use a LyXText over from LyXFunc.
9483 (MenuInsertLyXFile): added
9484 (getInsetByCode): added
9485 (moveCursorUpdate): added
9486 (static TEXT): added
9488 2001-02-22 Juergen Vigna <jug@sad.it>
9490 * BufferView_pimpl.C (update): call a status update to see if LyXText
9493 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9495 * vc-backend.C (revert): implement for CVS
9496 (getLog): implement for CVS
9498 2001-02-20 Juergen Vigna <jug@sad.it>
9500 * text2.C (ClearSelection): added BufferView param for inset_owner call
9502 * lyxfunc.C (TEXT): added this function and use it instead of
9503 directly owner->view()-text of getLyXText().
9505 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9507 * src/layout_forms.C: out preamble
9508 * src/layout_forms.h: out preamble
9509 * src/lyx_cb.C: out preamble
9510 * src/lyx_cb.h: out preamble
9511 * src/lyx_gui.C: out preamble
9512 * src/lyx_gui_misc.C: out preamble
9513 * src/lyxfunc.C: connect with guii preamble
9515 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9517 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9519 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9521 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9522 whether to run bibtex.
9524 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9526 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9528 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9530 * Makefile.am (lyx_SOURCES): removed bibforms.h
9534 * text.C (GetVisibleRow): make several local vars const
9536 * tabular.C: small cleanup.
9538 * lyxserver.C (callback): use compare instead of strncmp
9540 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9541 inlines to after class or to paragraph.C
9543 * lyxfont.h: remove friend operator!=
9545 * converter.h: move friend bool operator< to non friend and after
9548 * combox.h: small cleanup
9550 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9551 to inlines after class def.
9553 * buffer.C (pop_tag): use string operations instead of strcmp
9555 * bmtable.c: doxygen, small cleanup
9557 * LaTeX.h: remove friend operator==
9559 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9571 * BufferView_pimpl.C:
9572 * BufferView.[Ch]: remove cruft
9574 2001-02-14 Juergen Vigna <jug@sad.it>
9576 * lyxfunc.C: removed #if 0 unused code
9578 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9580 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9582 * text2.C (SetSelection): added a BufferView * parameter
9584 2001-02-13 Juergen Vigna <jug@sad.it>
9586 * lyxfunc.C (Dispatch): fixed protected blank problem.
9587 * BufferView2.C (protectedBlank): added LyxText * parameter.
9589 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9590 (AppendColumn): same as above for column_info.
9592 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9593 (moveCursorUpdate): use a LyXText param for support of InsetText.
9595 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9596 (tripleClick): ditto
9598 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9600 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9602 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9604 * text2.C (SetSelection): set correct update status if inset_owner
9607 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9609 * tabular.C: remove some commented code.
9611 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9613 * BufferView_pimpl.C: call hideSplash()
9615 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9618 * bibforms.h: remove
9621 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9622 add LFUN_CHILD_CREATE
9624 * counters.h: fix tiny typo
9629 * lyx.C: move splash to frontends/xforms/
9631 * lyx_gui_misc.C: move Include and Bibform to frontends
9633 * lyxvc.h: clarify comment
9635 * vspace.C: tiny housekeeping
9637 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9639 * text.C (PrepareToPrint): RTL Fix.
9641 * paragraph.C (GetUChar): New method.
9642 (String): Use GetUChar.
9644 * buffer.C (asciiParagraph): Use GetUChar.
9646 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9648 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9650 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9653 * buffer.C: rename to getLogName(), handle
9654 build log / latex log nicely
9656 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9659 * MenuBackend.h: remove support for reference menuitem type.
9661 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9663 * BufferView_pimpl.C: housekeeping
9664 * BufferView_pimpl.h:
9669 * minibuffer.h: move Timeout GUI-I
9671 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9673 * lyxrc.C (read): Update converters data-structures.
9675 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9677 * LaTeX.h (operator!=): add operator != for Aux_Info
9679 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9681 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9683 * LaTeXLog.C: deleted, useful code moved to Buffer
9686 * buffer.C: new function getLatexLogName()
9692 * lyxfunc.C: use frontends for LaTeX and VC logs
9694 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9696 * LaTeX.h: yet another std:: that Allan forgot.
9698 * Variables.C (set): renamed from isset(), because this clashes
9699 with some HP-UX macros (grr).
9701 2001-02-06 Allan Rae <rae@lyx.org>
9703 * LaTeX.h: Another bug fix. Missing std:: this time.
9705 2001-02-04 Allan Rae <rae@lyx.org>
9707 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9708 floats problem. I've left it commented out because it's not quite
9709 correct. It should also test that the current object is a table or
9710 figure inset. But I haven't gotten around to figuring out how to do
9711 that. I *think* it'll be something like: "table" == inset.type()
9713 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9716 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9718 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9719 all the citation/databases/styles in the auxilary file.
9720 (run): Rerun latex if there was a babel language error.
9722 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9724 * text.C (Backspace): Preserve the font when changing newline char
9726 (BreakParagraph): If the cursor is before a space, delete the space.
9728 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9730 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9732 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9733 new argument (code).
9734 (ChangeCitationsIfUnique): New method.
9736 * paragraph.C (GetPositionOfInset): Handle bibkey.
9738 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * BufferView_pimpl.h: change type of Position::par_pos to
9741 LyXParagraph::size_type.
9743 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9745 * BufferView_pimpl.C (savePosition, restorePosition): Write
9746 messages to minibuffer.
9748 2001-01-28 José Matos <jamatos@fep.up.pt>
9750 * buffer.C (makeDocBookFile): adds support for document language.
9751 A silly restriction on the name of LatexCommand types where removed.
9752 Added support for CDATA sections, allows to chars unescaped, used
9753 among others in code, to avoid escape < and >.
9755 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9757 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9758 saved positions instrad of a stack. Furthermore, a position is
9759 stored using paragraph id/paragraph position.
9761 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9762 Remove LFUN_REF_BACK.
9764 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9766 * converter.C (dvipdfm_options): New method.
9768 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9770 * vspace.C (isValidLength): Fix for empty input string.
9772 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * LyXAction.C (init): change description of LFUN_FIGURE to
9777 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * LaTeX.C: add using directive
9781 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9783 * MenuBackend.C (expand): Fix the sorting of the formats.
9785 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9787 * lyx_main.C: tiny error message fix
9789 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9792 calling fl_initialize(). This fixes the problem with ',' as
9793 decimal separator in text files.
9795 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9797 * trans.C (process): Fix the keymap bug.
9799 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9801 * LaTeX.C (scanAuxFiles): New method. Provides support for
9802 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9803 (scanLogFile) Scan for "run BibTeX" messages.
9805 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9806 OT1 font encoding. Also, load the aecompl package if the ae
9809 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9811 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * texrow.C (increasePos): turn two error messages into debug
9816 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9818 * LaTeX.C (scanAux): Handle the \@input macro.
9819 (runBibTeX): Use scanAux().
9821 * language.C (latex_options_): New field.
9823 * LaTeXFeatures.C (getMacros): Add language macros.
9825 * buffer.C (makeLaTeXFile): Small fix.
9827 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9831 * text2.C: add a using directive.
9833 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9838 * lyxfunc.C: kill LyXBell.
9840 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9842 * text.C (IsBoundary): Remove the error message
9844 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9846 * lyxrc.C (setDefaults): Correct initialization value for
9849 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9851 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9854 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9857 * src/LyXAction.C: Added reference-next.
9859 * text.C (InsertChar): Use contains instead of strchr.
9861 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9863 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9865 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9866 alignment commands (when needed).
9868 * text.C (InsertChar): Add ':' to number separator chars.