1 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3 * text2.C (setCursor): do not anchor to cursor row for the time being
5 2003-04-02 John Levon <levon@movementarian.org>
12 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
14 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
16 * paragraph.h: make ParagraphList and ParagraphList::iterator
19 * buffer.C (makeLinuxDocFile): move towards ParagraphList
21 * ParagraphList.C: Use the private next_ and previous_ from
24 2003-04-01 John Levon <levon@movementarian.org>
28 * Makefile.am: rename, remove defaults gunk
31 * MenuBackend.C: remove defaults gunk
34 * Languages.C: remove defaults gunk
37 * lyx_main.C: error out if files couldn't be found.
39 2003-04-02 John Levon <levon@movementarian.org>
41 * text2.C: make incDepth() use parlist
43 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * undo_funcs.C (firstUndoParagraph): adjust
47 * text3.C (gotoInset): adjust
48 (dispatch): adjust, and rewrite loop.
50 * text2.C (init): adjust, and rewrite loop.
51 (redoParagraphs): adjust
52 (updateInset): adjust, and rewrite loop.
53 (deleteEmptyParagraphMechanism): adjust
55 * tabular.C (LyXTabular): adjust
56 (SetMultiColumn): adjust
59 * lyxtext.[Ch] (ownerParagraph): delete function
60 (ownerParagraphs): new function returns a ParagraphList.
62 * BufferView.C (removeAutoInsets): adjust
63 (insertErrors): adjust
64 (setCursorFromRow): adjust
66 2003-04-01 Angus Leeming <leeming@lyx.org>
68 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
71 2003-04-02 John Levon <levon@movementarian.org>
77 * text_funcs.C: make transposeChars a free function
79 * lyxrow_funcs.C: remove wrong comment
81 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * rowpainter.C: adjust
89 * lyxrow_funcs. [Ch]: new files
91 * lyxrow.[Ch]: remove next and previous pointers
92 (next,previous): remove accessor functions
93 (isParEnd): move to lyxrow_funcs
94 (lastPos): move to lyxrow_funcs
95 (nextRowIsAllInset): move to lyxrow_funcs
96 (lastPrintablePos): move to lyxrow_funcs
97 (numberOfSeparators): move to lyxrow_funcs
98 (numberOfHfills): move to lyxrow_funcs
99 (numberOfLabelHfills): move to lyxrow_funcs
100 (hfillExpansion): move to lyxrow_funcs
104 * bufferview_funcs.C (toggleAndShow): adjust
106 * RowList.h: Remove class RowList from file leave just a
109 * RowList.C: delete file
111 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
114 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
116 * text3.C (cursorPrevious): adjust
120 * text2.C (redoHeightOfParagraph): adjust
121 (redoDrawingOfParagraph): adjust
124 * text.C (breakParagraph): adjust
128 * rowpainter.C (RowPainter): adjust
129 (leftMargin): simplify and adjust
130 (most rowpainter functions): adjust.
132 * rowpainter.h: store the row as RowList::iterator not as Row*
134 * lyxcursor.C (row): taka RowList::iterator as arg
137 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
140 2003-04-01 Angus Leeming <leeming@lyx.org>
142 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
143 stuff like bool Bool.
145 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
147 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
150 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
152 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
155 * lyxtext.h (rows): drop one version and leve a const variant that
156 returns a RowList::iterator.
158 2003-03-31 Angus Leeming <leeming@lyx.org>
160 * text.C (fill): ensure that the signature is the same as that in the
163 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
165 * text2.C (redoParagraphs): adjust
166 (updateCounters): adjust
167 (checkParagraph): adjust
168 (getColumnNearX): adjust and reformat a bit.
170 * text.C (top_y): adjust
173 (prepareToPrint): adjust
175 (getRowNearY): adjust
177 * lyxtext.h: make rowlist_ mutable.
179 * RowList.h: add const_iterator
180 * RowList.C: adjust for RowList::const_iterator.
182 * text2.C (getCursorX): make it take a RowList::iterator as arg,
185 2003-03-31 John Levon <levon@movementarian.org>
188 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
190 * lyx_main.C: set default fonts from using lyx_gui funcs
192 * exporter.C: pdf_mode moved from lyxrc
195 * lyxfunc.C: changes from above
197 2003-03-31 John Levon <levon@movementarian.org>
199 * lyx_main.C: fix to the last fix
201 2003-03-31 John Levon <levon@movementarian.org>
203 * bufferlist.C: "Load original" -> "Load Original"
209 * format.C: more Alert cleanups
211 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
213 * text2.C (removeParagraph): make it take a RowList::iterator as
215 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
216 (postRowPaint): make it take a RowList::iterator as arg, adjust.
218 * text.C (anchor_row): make it take a RowList::iterator as arg,
220 (computeBidiTables): make it take a const reference to Row instead
221 of Row pointer, adjust.
222 (leftMargin): make it take a RowList::iterator as arg, adjust.
223 (rowBreakPoint): adjust
224 (breakAgainOneRow): make it take a RowList::iterator as arg,
226 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
228 * bufferview_funcs.C (toggleAndShow): adjust
230 2003-03-30 John Levon <levon@movementarian.org>
234 * boost-inst.C: moved to support
236 * several files: changes as a result
238 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * text2.C (LyXText): adjust.
242 (removeRow): make it take a RowList::iterator as arg, adjust.
243 (fullRebreak): adjust
244 (deleteEmptyParagraphMechanism): adjust
248 * text.C (top_y): adjust
249 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
250 (breakAgain): make it take a RowList::iterator as arg, adjust.
251 (breakParagraph): adjust
255 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
256 need_break_row, and refresh_row.
258 * text3.C (dispatch): adjust
260 * text2.C (checkParagraph): adjust
262 (setCursorFromCoordinates): adjust
264 * text.C (top_y): adjust
266 (getRow): make it return a RowList::iterator, adjust
267 (getRowNearY): make it return a RowList::iterator, adjust
269 * text2.C (init): adjust
270 (insertRow): remove function
271 (insertParagraph): adjust
272 (redoParagraphs): adjust
273 (fullRebreak): adjust
274 (updateCounters): adjust
276 * text.C (top_y): rewrite to use RowList iterators.
278 (setHeightOfRow): rewrite to sue RowList iterators.
279 (appendParagraph): adjust
281 (breakAgainOneRow): adjust
282 (breakParagraph): adjust
284 (getRowNearY): adjust, and remove commented code.
286 * lyxtext.h (firstRow): delete function
287 (lastRow): delete function
288 (rows): new function (const and non-const versions.)
289 (insertRow): delete function
291 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
293 2003-03-29 John Levon <levon@movementarian.org>
295 * BufferView_pimpl.C: always update scrollbar top
296 because pasting text when we're anchored could mean we
297 miss an update altogether
299 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
301 * text2.C (init): use rowlist_.end() and not 0.
302 (insertRow): change to take a RowList::iterator as arg, adjust
304 (insertParagraph): change to take a RowList::iterator as arg,
306 (redoParagraphs): remove some debug msgs.
308 * text.C (appendParagraph): change to take a RowList::iterator
309 arg, adjust for this.
310 (breakAgain): add an assert
311 (breakAgainOneRow): ditto
313 2003-03-29 John Levon <levon@movementarian.org>
315 * text2.C: do not clear selection after inc/decDepth
318 2003-03-29 John Levon <levon@movementarian.org>
321 * buffer.C: fix broken strerrors according to Lars
323 2003-03-29 John Levon <levon@movementarian.org>
325 * converters.C: more Alert cleanups
327 2003-03-29 John Levon <levon@movementarian.org>
329 * bufferview_funcs.C: remove pointless Alert
331 * buffer.C: fix confusing error message when
332 a template is chmoded 000
334 2003-03-29 John Levon <levon@movementarian.org>
338 * BufferView_pimpl.C: Alert fixes
342 * tabular-old.C: remove unused table compat reading
344 2003-03-29 John Levon <levon@movementarian.org>
349 * lyx_cb.C: more Alert cleanups
351 * lyxfunc.C: don't allow chktex if not latex document
353 2003-03-29 John Levon <levon@movementarian.org>
357 * buffer.C: warnings pushed down from support/,
360 2003-03-29 John Levon <levon@movementarian.org>
362 * lyxfunc.C: safety check for C-r (revert)
364 2003-03-29 John Levon <levon@movementarian.org>
367 * bufferlist.C: several UI fixes using Alert::prompt.
368 Fix the pointless looping quit code. Fix stupid revert
373 * lyx_cb.C: use Alert::prompt
375 * lyx_main.C: remove a silly question
377 * lyxfunc.C: remove a couple of silly questions,
380 2003-03-28 John Levon <levon@movementarian.org>
382 * text2.C: fix bug 974 (End on empty par)
384 2003-03-28 John Levon <levon@movementarian.org>
386 * BufferView_pimpl.C:
388 * lfuns.h: remove do-nothing math greek lfuns
390 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * lyxgluelength.h (isValidGlueLength): add default arg on
393 parameter 2. Remove default arg from friend in class.
395 * lyxlength.h (isValidLength): add default arg on parameter 2.
396 Remove default arg from friend in class.
398 * text2.C (LyXText): adjust, initialize refresh_row.
402 (insertParagraph): adjst
403 (redoParagraphs): adjust
404 (fullRebreak): adjust
405 (updateCounters): adjust
406 (deleteEmptyParagraphMechanism): first attempt at fixing a
409 * text.C (top_y): adjust
410 (setHeightOfRow): adjust
412 (getRowNearY): adjust
414 * lyxtext.h: include RowList.h
415 (~LyXText): not needed anymore, deleted.
416 (firstRow): modify for RowList
417 (lastRow): new function
418 Delete firstrow and lastrow class variables, add a Rowlist
419 rowlist_ class variable.
421 * lyxrow.C (lastPos): use empty() and not !size() to check if a
424 * RowList.C (insert): fix case where it == begin().
426 2003-03-26 Angus Leeming <leeming@lyx.org>
428 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
429 the thesaurus dialog.
431 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
433 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
435 * RowList.[Ch]: new files
437 * ParagraphList.C (erase): handle the case where it == begin
440 2003-03-25 John Levon <levon@movementarian.org>
444 * aspell.C: add new aspell support
447 * lyxrc.C: Make use_pspell be use_spell_lib. Always
450 2003-03-25 Angus Leeming <leeming@lyx.org>
453 * LyXAction.C (init): new LFUN_INSET_INSERT.
455 * BufferView_pimpl.C (dispatch): split out part of the
456 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
458 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
461 2003-03-25 Angus Leeming <leeming@lyx.org>
463 * lyxfunc.C (dispatch): changes to the Dialogs interface.
465 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
468 * text3.C: remove useless row->height(0)
470 2003-03-25 John Levon <levon@movementarian.org>
474 * text3.C: rename the refreshing stuff to better names
476 2003-03-24 John Levon <levon@movementarian.org>
478 * BufferView_pimpl.h:
479 * BufferView_pimpl.C: update layout choice on a mouse
482 2003-03-23 John Levon <levon@movementarian.org>
484 * Makefile.am: fix commandtags.h reference
486 2003-03-22 John Levon <levon@movementarian.org>
488 * BufferView_pimpl.C:
493 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
495 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
498 * text.C: take the rtl methods out of line
500 2003-03-21 André Pönitz <poenitz@gmx.net>
502 * metricsinfo.[Ch]: new files containing structures to be passed around
503 during the two-phase-drawing...
505 2003-03-21 André Pönitz <poenitz@gmx.net>
507 * lyxtextclass.C: read 'environment' tag.
509 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
511 * text2.C (removeRow): fix bug 964
513 2003-03-20 John Levon <levon@movementarian.org>
517 * text2.C: paint cleanups. Inset::update() dropped font
520 2003-03-19 John Levon <levon@movementarian.org>
522 * lyxfunc.C: only fitcursor/markDirty if available()
524 2003-03-19 John Levon <levon@movementarian.org>
526 * commandtags.h: rename to ...
528 * lfuns.h: ... this, and renumber / cleanup
530 2003-03-19 John Levon <levon@movementarian.org>
532 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
533 fit the cursor after an lfun
537 * BufferView_pimpl.h:
538 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
540 * LyXAction.C: layout-character should have ReadOnly
542 * ParagraphParameters.C:
544 * bufferview_funcs.C:
551 * undo_funcs.C: changes from above
553 2003-03-18 John Levon <levon@movementarian.org>
555 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
556 remove it from update()
558 * lyxfunc.C: update layout choice after an lfun
560 * text3.C: remove extra updateLayoutChoice()s
562 2003-03-18 John Levon <levon@movementarian.org>
564 * text.C: top_y change means full repaint, fix
565 a drawing bug with cursor movement
567 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
571 * text2.C: anchor row on setCursor
573 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
575 * lyxtext.h: remove almost all mutable keywords
578 * text3.C: remove const keywords accordingly
580 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
584 (TeXEnvironment): ditto
587 2003-03-17 John Levon <levon@movementarian.org>
589 * text.C (rowBreakPoint): remove attempt to fix displayed
590 math insets inside a manual label
592 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * lyxtext.h: remove BufferView* as first arg from almost all class
596 * other files: adjust.
598 2003-03-17 John Levon <levon@movementarian.org>
602 * text2.C: more paint cleanups
604 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
607 * rowpainter.C: remove "smart" background painting code
609 2003-03-16 John Levon <levon@movementarian.org>
614 * text3.C: add helper functions for setting refresh_row/y
616 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
618 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
619 newline inset which *can* get inserted in the pass_thru layouts.
620 This is primarily for literate documents.
622 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
624 * buffer.C: increment LYX_FORMAT to 223
626 2003-03-14 André Pönitz <poenitz@gmx.net>
628 * textclass.h: prepare for environment handling, ws changes
629 * lyxlayout.C: read latexheader and latexfooter tags
631 2003-03-14 John Levon <levon@movementarian.org>
633 * text2.C: rewrite ::status() a bit
635 2003-03-13 John Levon <levon@movementarian.org>
637 * lyxtext.h: add some docs
639 2003-03-13 John Levon <levon@movementarian.org>
644 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
646 2003-03-13 John Levon <levon@movementarian.org>
648 * text3.C: fix appendix redrawing
650 2003-03-13 John Levon <levon@movementarian.org>
652 * text.C (setHeightOfRow):
654 * rowpainter.C: make appendix mark have the text
655 "Appendix" so the user knows what it is
658 * LColor.C: s/appendixline/appendix/ from above
660 2003-03-13 John Levon <levon@movementarian.org>
662 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
664 * text.C: fix a getChar(pos) bug properly
666 2003-03-13 Angus Leeming <leeming@lyx.org>
669 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
670 Probably only temporary. Let's see how things pan out.
672 * BufferView.C (unlockInset):
673 * BufferView_pimpl.C (fitCursor):
674 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
676 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
677 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
679 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
680 new functions that convert ParagraphParameters to and from a string.
682 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
683 BufferView::Pimpl's dispatch.
684 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
686 2003-03-13 André Pönitz <poenitz@gmx.net>
690 * factory.C: make it aware of InsetEnv
692 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * text2.C (setCursor): never ask for one past last
695 (setCursor): add some debugging messages.
697 * text.C (singleWidth): never ask for one past last
701 (rowBreakPoint): ditto
702 (setHeightOfRow): ditto
703 (prepareToPrint): ditto
705 * rowpainter.C (paintBackground): never ask for one past last
706 (paintText): never ask for one past last
708 * paragraph_pimpl.C (getChar): make the assert stricter, never
709 allow the one past last pos to be taken
711 * paragraph.C (getChar): ws changes only
713 * lyxrow.C (nextRowIsAllInset): never ask for one past last
714 (numberOfSeparators): ditto
715 (numberOfHfills): ditto
717 2003-03-12 John Levon <levon@movementarian.org>
723 * paragraph_funcs.C: fix per-buffer authorlists
725 2003-03-12 John Levon <levon@movementarian.org>
727 * text.C: fix newline in right address
729 2003-03-12 Angus Leeming <leeming@lyx.org>
731 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
732 duplicate those in LyXFunc::dispatch.
737 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
738 Add LFUN_FONTFREE_UPDATE.
740 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
741 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
743 * bufferview_func.[Ch]: several new functions to facilliate
744 transfer of data to and from the character dialog.
746 2003-03-12 John Levon <levon@movementarian.org>
756 * text3.C: remove META_NEWLINE in favour of an inset
759 * rowpainter.C: remove paintNewline (done by inset)
761 2003-03-12 John Levon <levon@movementarian.org>
763 * paragraph_pimpl.C: complain about bad getChar()s
766 2003-03-12 John Levon <levon@movementarian.org>
769 * buffer.C: move paragraph read into a separate function,
770 a little renaming to reflect that.
773 * bufferparams.C: remove the author_ids map, not necessary now
776 * factory.C: moved Buffer::readInset to here
779 * paragraph_funcs.C: readParagraph free function moved from
782 * tabular.C: name change
784 2003-03-12 John Levon <levon@movementarian.org>
787 * ParagraphParameters.C: move par params input to
790 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
791 behave like a normal read from the stream wrt reading
794 2003-03-12 John Levon <levon@movementarian.org>
797 * ParagraphParameters.h:
798 * ParagraphParameters.C: move output code to a
801 2003-03-12 John Levon <levon@movementarian.org>
803 * BufferView.C (insertLyXFile):
806 * tabular.C: use a parlist iterator for creating the
809 2003-03-12 John Levon <levon@movementarian.org>
811 * buffer.C: make current_change static local not
814 2003-03-12 John Levon <levon@movementarian.org>
816 * buffer.C: fix insertStringAsLines for change tracking
818 2003-03-12 John Levon <levon@movementarian.org>
825 * bufferparams.C: move author list into params. Rename some
826 functions. Move the header reading into a separate token
827 loop. Move the header token reading into BufferParams.
829 2003-03-12 John Levon <levon@movementarian.org>
831 * changes.C: put debug inside lyxerr.debugging() checks
833 2003-03-11 André Pönitz <poenitz@gmx.net>
835 * factory.C: make it aware of InsetHFill
837 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
839 * buffer.C (latexParagraphs): move function from here...
840 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
843 2003-03-10 Angus Leeming <leeming@lyx.org>
845 * LyXAction.C (init): fix bug in poplating array with multiple entries
846 with the same LFUN (spotted by JMarc).
848 2003-03-10 John Levon <levon@movementarian.org>
851 * text2.C: move getColumnNearX() near its
854 2003-03-10 John Levon <levon@movementarian.org>
856 * text.C: fix break before a minipage
858 2003-03-10 John Levon <levon@movementarian.org>
860 * text.C: fix the last commit
862 2003-03-09 John Levon <levon@movementarian.org>
866 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
867 bug 365 (don't break before insets unless needed). Don't
868 return a value > last under any circumstances.
870 2003-03-09 Angus Leeming <leeming@lyx.org>
872 * BufferView_pimpl.C (trackChanges, dispatch): call
873 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
875 2003-03-09 Angus Leeming <leeming@lyx.org>
877 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
878 than Dialogs::showAboutlyx().
880 2003-03-09 Angus Leeming <leeming@lyx.org>
882 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
883 than Dialogs::showTabularCreate().
885 2003-03-09 John Levon <levon@movementarian.org>
889 * text2.C: 3rd arg to nextBreakPoint was always the same.
892 2003-03-08 John Levon <levon@movementarian.org>
899 * text2.C: Remove the "main" bit from the "main body"
902 2003-03-08 John Levon <levon@movementarian.org>
904 * text.C (leftMargin): The left margin of an empty
905 manual label paragraph should not include the label width
908 * text.C (prepareToPrint): don't attempt to measure hfills
909 for empty manual label paragraphs - the answer should be 0
911 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
913 * CutAndPaste.C: remove commented code and reindent.
915 2003-03-08 John Levon <levon@movementarian.org>
918 * lyxfunc.C: move reloadBuffer()
921 * BufferView.C: to here
923 * lyxvc.C: add comment
926 * vc-backend.C: call bv->reload() to avoid
927 getStatus() check on MENURELOAD
929 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
931 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
932 to an old format .dep file.
934 2003-03-07 Angus Leeming <leeming@lyx.org>
936 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
937 when the LFUN_MOUSE_RELEASE should have been handled by
938 inset->localDispatch.
940 2003-03-07 Angus Leeming <leeming@lyx.org>
942 * BufferView_pimpl.C (dispatch):
943 * LyXAction.C (init):
944 * ToolbarDefaults.C (init):
946 * lyxfunc.C (getStatus):
947 remove LFUN_INSET_GRAPHICS.
949 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
951 2003-03-07 Angus Leeming <leeming@lyx.org>
954 * LyXAction.C (init):
955 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
957 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
960 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
962 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
963 localDispatch method LFUN_INSET_DIALOG_UPDATE.
965 2003-03-07 Angus Leeming <leeming@lyx.org>
967 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
970 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * ParagraphList.C (front): new function
975 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
977 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
978 and top_row_offset_. removed var first_y.
980 * text2.C (LyXText, removeRow):
982 * BufferView_pimpl.C:
983 use these methods instead of using first_y
985 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * text2.C (pasteSelection): adjust for checkPastePossible
989 * CutAndPaste.C: remove Paragraph * buf and replace with
990 ParagraphList paragraphs.
991 (DeleteBuffer): delete
992 (cutSelection): change the tc type to textclass_type
993 (copySelection): change the tc type to textclass_type
994 (copySelection): adjust for ParagraphList
995 (pasteSelection): change the tc type to textclass_type
996 (pasteSelection): adjust for Paragraphlist
997 (nrOfParagraphs): simplify for ParagraphList
998 (checkPastePossible): simplify for ParagraphList
999 (checkPastePossible): remove unused arg
1001 * ParagraphList.C (insert): handle the case where there are no
1004 * CutAndPaste.h: make CutAndPaste a namespace.
1006 * text3.C (dispatch): adjust
1008 * text.C (breakParagraph): add a ParagraphList as arg
1010 * paragraph_funcs.C (breakParagraph): change to take a
1011 BufferParams and a ParagraphList as args.
1012 (breakParagraphConservative): ditto
1013 (mergeParagraph): ditto
1014 (TeXDeeper): add a ParagraphList arg
1015 (TeXEnvironment): ditto
1018 * buffer.C (readLyXformat2): adjust
1019 (insertStringAsLines): adjust
1020 (latexParagraphs): adjust
1022 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1023 (cutSelection): adjust
1024 (pasteSelection): adjust
1026 * BufferView_pimpl.C (insertInset): adjust
1028 2003-03-05 Angus Leeming <leeming@lyx.org>
1031 * LyXAction.C (init):
1032 * BufferView_pimpl.C (dispatch):
1033 * lyxfunc.C (getStatus):
1034 remove LFUN_CHILD_INSERT.
1036 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1038 2003-03-05 Angus Leeming <leeming@lyx.org>
1041 * LyXAction.C (init):
1042 * src/factory.C (createInset):
1043 * lyxfunc.C (getStatus):
1044 * text3.C (dispatch):
1045 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1047 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1049 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * ParagraphList.C (insert): handle insert right before end()
1052 (erase): fix cases where it can be first or last paragraph.
1054 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1056 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1057 Paragraph::next and Paragraph::previous
1060 * text.C (breakParagraph): adjust
1062 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1063 BufferParams& as arg.
1064 (breakParagraph): use ParagraphList::insert
1065 (breakParagraphConservative): take a Buffer* instead of a
1066 BufferParams& as arg.
1067 (breakParagraphConservative): use ParagraphList::insert.
1069 * buffer.C (insertStringAsLines): un-const it
1070 (insertStringAsLines): adjust
1072 * ParagraphList.C (insert): new function
1074 * CutAndPaste.C (pasteSelection): adjust
1076 * text.C (backspace): adjust
1078 * tabular.C (SetMultiColumn): adjust
1080 * CutAndPaste.C (cutSelection): adjust
1081 (pasteSelection): adjust
1083 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1084 Buffer const * as arg
1086 * ParagraphList.C (erase): new function
1087 * paragraph_funcs.C (mergeParagraph): use it
1088 (mergeParagraph): make it take a Buffer* instead of a
1089 BufferParams* as arg
1091 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1093 (breakParagraphConservative): ditto
1095 * paragraph.h: remove the breakParagraph friend
1097 * paragraph.C (eraseIntern): new function
1098 (setChange): new function
1100 * paragraph_funcs.C (mergeParagraph): make it take a
1101 ParagraphList::iterator instead of a Paragraph *, adjust
1104 * paragraph.h: move an #endif so that the change tracking stuff
1105 also works in the NO_NEXT case.
1107 2003-03-04 Angus Leeming <leeming@lyx.org>
1110 * LyXAction.C: new LFUN_INSET_MODIFY.
1112 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1113 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1115 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * several files: ws changes only
1119 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1120 (TeXEnvironment): ditto
1123 * buffer.C (makeLaTeXFile): adjust
1124 (latexParagraphs): make it take ParagraphList::iterator as args
1126 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * buffer.C (latexParagraphs): adjust
1130 * paragraph.C (TeXOnePar): move function...
1131 (optArgInset): move function...
1132 (TeXEnvironment): move function...
1133 * paragraph_pimpl.C (TeXDeeper): move function...
1134 * paragraph_funcs.C: ...here
1136 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1138 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * buffer.C (readInset): remove compability code for old Figure and
1143 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * buffer.C: ws changes
1148 * BufferView_pimpl.C: ditto
1151 * bufferlist.h: ditto
1155 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1157 * converter.[Ch]: split into itself +
1160 * Makefile.am: += graph.[Ch] + format.[Ch]
1167 * lyxrc.C: added #include "format.h"
1169 2003-02-27 Angus Leeming <leeming@lyx.org>
1171 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1174 * factory.C (createInset): add "label" to the factory.
1176 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1177 string and do no more.
1179 2003-02-27 Angus Leeming <leeming@lyx.org>
1182 * LyXAction.C (init):
1183 * factory.C (createInset):
1184 * BufferView_pimpl.C (dispatch):
1185 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1187 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1189 * lyxfunc.C (dispatch):
1190 * text3.C (dispatch): pass name to params2string.
1192 2003-02-26 Angus Leeming <leeming@lyx.org>
1194 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1196 Rearrange the ~includes. Strip out the unnecessary ones.
1198 * factory.C (createInset): reformat.
1199 create new insets for the various LFUN_XYZ_APPLY lfuns.
1201 2003-02-26 John Levon <levon@movementarian.org>
1204 * lyxrow.C: add isParStart,isParEnd helpers
1206 * paragraph.h: make isInserted/DeletedText take refs
1208 * paragraph_funcs.h:
1209 * paragraph_funcs.C: remove #if 0'd code
1214 * text.C: use lyxrow helpers above.
1215 Move draw and paint routines to RowPainter.
1216 Make several methods use refs not pointers.
1217 Make backgroundColor() const.
1218 Add markChangeInDraw(), isInInset().
1219 Merge changeRegionCase into changeCase.
1220 Make workWidth() shouldn't-happen code into an Assert.
1223 * rowpainter.C: new class for painting a row.
1226 * vspace.C: make inPixels take a ref
1228 2003-02-26 Angus Leeming <leeming@lyx.org>
1230 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1233 2003-02-25 John Levon <levon@movementarian.org>
1235 * ispell.C: give the forked command a more accurate name
1237 2003-02-22 John Levon <levon@movementarian.org>
1240 * toc.C: make TocItem store an id not a Paragraph *
1243 2003-02-21 Angus Leeming <leeming@lyx.org>
1245 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1246 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1247 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1248 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1249 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1250 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1252 * BufferView_pimpl.C (dispatch):
1253 * LyXAction.C (init):
1254 * factory.C (createInset):
1255 * lyxfunc.C (getStatus, dispatch):
1256 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1258 2003-02-21 Angus Leeming <leeming@lyx.org>
1260 * BufferView_pimpl.C (MenuInsertLyXFile):
1261 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1262 * lyxfunc.C (menuNew, open, doImport):
1263 no longer pass a LyXView & to fileDlg.
1265 2003-02-21 Angus Leeming <leeming@lyx.org>
1267 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1268 * LyXAction.C: change, BIBKEY to BIBITEM.
1269 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1270 Change InsetBibKey to InsetBibitem.
1271 Change BIBKEY_CODE to BIBITEM_CODE.
1272 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1273 * factory.C: replace insetbib.h with insetbibitem.h.
1274 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1275 * paragraph.C: replace insetbib.h with insetbibitem.h.
1276 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1277 Change bibkey() to bibitem().
1278 * text.C: remove insetbib.h.
1279 * text2.C: replace insetbib.h with insetbibitem.h.
1280 change bibkey() to bibitem().
1281 * text3.C: remove insetbib.h.
1282 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1284 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1286 * lyxrc.C (output): enclose user email in quotes (in case there are
1289 2003-02-18 John Levon <levon@movementarian.org>
1291 * buffer.h: add std::
1293 2003-02-17 John Levon <levon@movementarian.org>
1299 * pspell.C: reworking. Especially in ispell, a large
1300 number of clean ups and bug fixes.
1302 * lyxfunc.C: fix revert to behave sensibly
1304 2003-02-17 André Pönitz <poenitz@gmx.net>
1307 * commandtags.h: new LFUN_INSERT_BIBKEY
1317 * paragraph_func.C: remove special bibkey handling
1319 2003-02-17 John Levon <levon@movementarian.org>
1321 * text.C (Delete): fix case where delete at the end of
1322 the very first paragraph would not merge the pars
1324 2003-02-17 John Levon <levon@movementarian.org>
1326 * lyxrow.C: fix lastPrintablePos()
1328 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1330 * bufferparams.C (writeLaTeX): add a std:here
1332 * buffer.C: and remove a using directive there
1334 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1336 * buffer.C (makeLaTeXFile): move the code that generates the
1339 * bufferparams.C (writeLaTeX): ... in this new method
1341 * LaTeXFeatures.C (getEncodingSet): make const
1342 (getLanguages): make const
1344 * MenuBackend.C (binding): returns the binding associated to this
1346 (add): sets the status of each item by calling getStatus. Adds
1348 (read): add support for OptSubMenu
1349 (expand): remove extra separator at the end of expanded menu
1351 2003-02-15 John Levon <levon@movementarian.org>
1354 * BufferView_pimpl.C:
1356 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1357 inset code that had no actual effect. Remove unneeded status
1360 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1362 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1365 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1367 * text.C (drawLengthMarker): also draw an arrow marker for
1368 symbolic lengths (medskip...)
1370 2003-02-14 John Levon <levon@movementarian.org>
1373 * tabular.C: better method names
1375 2003-02-14 John Levon <levon@movementarian.org>
1377 * BufferView_pimpl.C:
1382 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1383 it's a more accurate name. Remove some pointless uses.
1385 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1387 * text2.C (LyXText): change order of initilizers to shut off
1390 2003-02-14 John Levon <levon@movementarian.org>
1392 * buffer.C: use ParIterator for getParFromID()
1396 * paragraph_pimpl.h:
1397 * paragraph_pimpl.C: remove unused getParFromID()
1399 2003-02-14 John Levon <levon@movementarian.org>
1401 * buffer.C: remove some very old #if 0'd parse code
1403 2003-02-13 John Levon <levon@movementarian.org>
1407 * text2.C: move hfillExpansion(), numberOfSeparators(),
1408 rowLast(), rowLastPrintable(), numberofHfills(),
1409 numberOfLabelHfills() ...
1412 * lyxrow.C: ... to member functions here.
1417 * text.C: remove LyXText::beginningOfMainBody(), and call
1418 p->beginningOfMainBody() directly. Move the check for
1419 LABEL_MANUAL into the latter.
1426 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1432 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1433 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1435 2003-02-13 John Levon <levon@movementarian.org>
1437 * CutAndPaste.C: remove debug
1439 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1441 * paragraph.C (asString): remove two unused variables
1443 * lyxtextclass.C (readTitleType):
1445 (LyXTextClass): handle new members titletype_ and titlename_
1447 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1449 2003-02-09 John Levon <levon@movementarian.org>
1452 * buffer.C: replace hand-coded list with a map for the dep clean
1454 2003-02-08 John Levon <levon@movementarian.org>
1456 * LaTeX.C: consolidate code into showRunMessage() helper
1458 2003-02-08 John Levon <levon@movementarian.org>
1463 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1464 and pass the size in explicitly
1466 * BufferView_pimpl.h:
1467 * BufferView_pimpl.C:
1469 * BufferView.C: add getCurrentChange()
1471 * BufferView_pimpl.h:
1472 * BufferView_pimpl.C: handle change lfuns
1474 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1475 for changes. Mark pasted paragraphs as new.
1477 * support/lyxtime.h:
1478 * support/lyxtime.C:
1479 * DepTable.C: abstract time_t as lyx::time_type
1482 * LColor.C: add colours for new text, deleted text, changebars
1484 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1485 package use "usenames" option.
1489 * LyXAction.C: add change lfuns
1493 * author.C: author handling
1496 * buffer.C: add a per-buffer author list, with first entry as
1497 current author. Handle new .lyx tokens for change tracking. Output
1498 author list to .lyx file. Output dvipost stuff to .tex preamble.
1499 Bump lyx format to 222.
1502 * bufferlist.C: add setCurrentAuthor() to reset current author details
1506 * bufferparams.C: add param for tracking
1508 * bufferview_funcs.C: output change info in minibuffer
1512 * changes.C: add change-tracking structure
1515 * debug.C: add CHANGES debug flag
1518 * lyxfind.C: add code for finding the next change piece
1521 * lyxrc.C: add user_name and user_email
1524 * lyxrow.C: add a metric for the top of the text line
1527 * text.C: implement accept/rejectChange()
1530 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1531 Strike through deleted text.
1535 * paragraph_pimpl.h:
1536 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1537 to the insert functions. Rework erase to mark text as deleted, adding
1538 an eraseIntern() and a range-based erase(). Implement
1539 per-paragraph change lookup and accept/reject.
1541 * paragraph_funcs.C: Fixup paste for change tracking.
1543 * tabular.C: mark added row/columns as new.
1545 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1546 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1548 * text2.C: leave cursor at end of selection after a cut.
1550 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1552 * text.C (getLengthMarkerHeight):
1553 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1554 visible on screen too.
1556 2003-02-07 John Levon <levon@movementarian.org>
1558 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1560 2003-02-05 Angus Leeming <leeming@lyx.org>
1562 * lyxserver.C (read_ready): revert my patch of 11 September last year
1563 as it sends PC cpu through the roof. Presumably this means that
1564 the lyxserver will no longer run on an Alpha...
1566 2003-01-30 Angus Leeming <leeming@lyx.org>
1568 * factory.C (createInset): create an InsetCommandParam of type "index"
1569 and use it to 'do the right thing'.
1571 * text2.C (getStringToIndex): ensure that cursor position is always
1572 reset to the reset_cursor position.
1574 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1576 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1579 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1583 * lyxfunc.C: Output messages with identical spelling, punctuation,
1586 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1588 * MenuBackend.C (expandFormats): List only viewable export formats
1591 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1594 * lyxfunc.C (getStatus): Make sure that formats other than
1595 "fax" can also be disabled
1597 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1599 * text3.C (dispatch): put the lfuns that insert insets in 3
1600 groups, and call doInsertInset with appropriate arguments.
1601 (doInsertInset): new function, that creates an inset and inserts
1602 it according to some boolean parameters.
1604 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * buffer.C (readFile): remember to pass on 'par' when calling
1607 readFile recursively.
1609 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1611 * MenuBackend.C (expandFormats): add "..." to import formats.
1613 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1615 * paragraph.C (asString): Remove XForms RTL hacks.
1617 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1618 * buffer.C: fix typo
1620 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1622 * Makefile.am (LIBS): delete var
1623 (lyx_LDADD): add @LIBS@ here instead.
1625 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1627 * Clarify the meaning of "wheel mouse jump"
1629 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1631 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1634 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1636 * importer.C (Loaders): do not preallocate 3 elements in the
1637 vector, since one ends up with 6 elements otherwise
1639 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1641 * DepTable.C (write): write the file name as last element of the
1642 .dep file (because it may contain spaces)
1643 (read): read info in the right order
1645 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1647 * paragraph_pimpl.C (simpleTeXBlanks):
1648 (simpleTeXSpecialChars):
1649 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1651 * tabular.C (latex): add some missing case statements. Reindent.
1653 * MenuBackend.C (expandToc): remove unused variable.
1655 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1664 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1667 2003-01-05 John Levon <levon@movementarian.org>
1670 * BufferView.C: add getEncoding()
1673 * kbsequence.C: do not store last keypress
1676 * lyxfunc.C: store last keypress here instead. Pass encoding
1679 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1681 * lyx_main.C (init): remove annoying error message when following
1682 symbolic links (bug #780)
1684 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1686 * text.C (insertChar):
1687 * lyxrc.C (getDescription): remove extra spaces
1689 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1691 * lyxrc.C (getDescription): remove extra spaces
1693 2002-12-20 John Levon <levon@movementarian.org>
1695 * text3.C: hack fix for page up/down across tall rows
1697 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1699 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1702 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1704 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1705 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1706 thesaurus is not compiled in
1708 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1710 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1712 2002-12-16 Angus Leeming <leeming@lyx.org>
1715 * lyx_main.C (init): remove override_x_deadkeys stuff.
1717 2002-12-12 John Levon <levon@movementarian.org>
1719 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1720 insert. Only remove shift modifier under strict
1723 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * MenuBackend.C (expandToc): fix crash.
1727 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * MenuBackend.C (expandToc): gettext on float names.
1731 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1733 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1734 implement bool empty() [bug 490]
1736 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1740 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * several files: ws changes
1744 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * text2.C (setCounter): clean up a bit, use boost.format.
1747 (updateCounters): initialize par upon declaration.
1749 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1750 if the layout exists. We do not just store the layout any more.
1751 (SwitchLayoutsBetweenClasses): use boost.format
1753 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1755 * converter.C (convert): if from and to files are the same, use a
1756 temporary files as intermediary
1758 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1761 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1763 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1765 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1767 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * tabular.C (asciiPrintCell): use string(size, char) instead of
1772 * sgml.C (openTag): fix order of arguments to string constructor
1775 * lyxfunc.C (dispatch): use boost.format
1777 * lots of files: change "c" -> 'c'
1779 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1781 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1783 2002-11-25 Angus Leeming <leeming@lyx.org>
1785 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1787 * lyx_main.C (init): compile fix.
1789 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1791 * lyx_cb.C (start): boost.formatify
1792 do not include <iostream>
1794 * lengthcommon.C: ws only
1796 * boost-inst.C,BoostFormat.h: add more explict instantations
1798 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * lots of files: handle USE_BOOST_FORMAT
1802 2002-11-21 John Levon <levon@movementarian.org>
1804 * pspell.C: fix compile
1806 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1808 * lyxfunc.C (dispatch): use boost::format
1812 * lyxfont.C (stateText): use boost::format
1814 * lyx_main.C (LyX): use boost::format
1816 (queryUserLyXDir): ditto
1819 (typedef boost::function): use the recommened syntax.
1821 * importer.C (Import): use boost::format
1823 * debug.C (showLevel): use boost::format
1825 * converter.C (view): use boost::format
1830 * bufferview_funcs.C (currentState): use boost::format
1832 * bufferlist.C (emergencyWrite): use boost::format
1834 * buffer.C (readLyXformat2): use boost::format
1835 (parseSingleLyXformat2Token): ditto
1837 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1839 * LaTeX.C (run): use boost::format
1841 * Chktex.C (scanLogFile): use boost::format
1843 * BufferView_pimpl.C (savePosition): use boost::format
1844 (restorePosition): ditto
1845 (MenuInsertLyXFile): ditto
1847 * BoostFormat.h: help file for explicit instation.
1849 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1851 * tabular.C (latex): Support for block alignment in fixed width
1854 2002-11-17 John Levon <levon@movementarian.org>
1856 * BufferView_pimpl.C:
1858 * lyxfunc.C: split filedialog into open/save
1860 2002-11-08 Juergen Vigna <jug@sad.it>
1862 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1863 by my last patch (hopefully).
1865 2002-11-08 John Levon <levon@movementarian.org>
1874 * toc.C: ParConstIterator, and use it (from Lars)
1876 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1878 * lyxtextclass.[Ch]: revise and add doxygen comments
1880 2002-11-07 John Levon <levon@movementarian.org>
1882 * text.C: fix progress value for spellchecker
1884 * toc.C: fix navigate menu for insetwrap inside minipage
1886 * paragraph_funcs.C: added FIXME for suspect code
1888 2002-11-07 John Levon <levon@movementarian.org>
1890 * BufferView_pimpl.C: fix redrawing of insets
1893 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1895 * text2.C (updateCounters): fix bug 668
1897 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1899 * text3.C (dispatch): Do not make the buffer dirty when moving the
1902 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * vc-backend.C: STRCONV
1907 * text2.C (setCounter): STRCONV
1909 * paragraph.C (asString): STRCONV
1911 * lyxlength.C (asString): STRCONV
1912 (asLatexString): ditto
1914 * lyxgluelength.C (asString): STRCONV
1915 (asLatexString): ditto
1917 * lyxfunc.C (dispatch): STRCONV
1920 * lyxfont.C (stateText): STRCONV
1922 * importer.C (Import): STRCONV
1924 * counters.C (labelItem): STRCONV
1925 (numberLabel): ditto
1926 (numberLabel): remove unused ostringstream o
1931 * bufferview_funcs.C (currentState): STRCONV
1933 * buffer.C (readFile): STRCONV
1934 (asciiParagraph): ditto
1935 (makeLaTeXFile): ditto
1937 * Spacing.C (writeEnvirBegin): STRCONV
1939 * LaTeXFeatures.C (getLanguages): STRCONV
1940 (getPackages): ditto
1942 (getBabelOptions): ditto
1943 (getTClassPreamble): ditto
1944 (getLyXSGMLEntities): ditto
1945 (getIncludedFiles): ditto
1949 (scanAuxFile): ditto
1952 * LString.h: add the STRCONV macros
1954 * BufferView_pimpl.C (savePosition): STRCONV
1955 (restorePosition): ditto
1956 (MenuInsertLyXFile): ditto
1958 * vc-backend.C (scanMaster): change from submatch[...] to
1961 * funcrequest.C: include config.h
1963 * factory.C: include config.h
1965 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1967 * box.C: include config.h
1969 * LaTeX.C (scanAuxFile): change from submatch[...] to
1973 2002-10-25 Angus Leeming <leeming@lyx.org>
1975 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1977 * ispell.[Ch] (setError): new method.
1978 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1979 Use setError() insetead of goto END.
1981 * lyx_cb.C (AutoSave): move out child process into new class
1984 2002-10-30 John Levon <levon@movementarian.org>
1986 * text3.C: make start appendix undoable
1988 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1990 * lyxlength.C (inPixels): Fix returned value.
1992 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1995 2002-10-24 Angus Leeming <leeming@lyx.org>
1997 * lyxgluelength.h: no need to forward declare BufferParams
1998 or BufferView, so don't.
2000 2002-10-21 John Levon <levon@movementarian.org>
2002 * BufferView.C: menuUndo ->undo, redo
2004 * BufferView.h: document, remove dead, make some methods private
2006 * paragraph_funcs.h:
2007 * paragraph_funcs.C:
2008 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2013 * sgml.C: move sgml open/close tag into sgml.C
2015 * bufferview_funcs.h: unused prototype
2018 * lyxfunc.C: remove unused
2021 * text.C: remove unused
2023 2002-10-21 John Levon <levon@movementarian.org>
2027 * BufferView_pimpl.h:
2028 * BufferView_pimpl.C: fix mouse wheel handling based on
2029 patch from Darren Freeman
2031 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2033 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2035 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2037 * lyxlength.C (inPixels): Fix hanfling of negative length.
2038 Fix LyXLength::MU case.
2040 2002-10-16 John Levon <levon@movementarian.org>
2042 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2044 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2046 * converter.C (view): add support for $$i (file name) and $$p
2047 (file path) for the viewer command. If $$i is not specified, then
2048 it is appended to the command (for compatibility with old syntax)
2050 2002-10-14 Juergen Vigna <jug@sad.it>
2052 * undo_funcs.C (textHandleUndo): alter the order in which the
2053 new undopar is added to the LyXText, as we have to set first
2054 the right prev/next and then add it as otherwise the rebuild of
2055 LyXText is not correct. Also reset the cursor to the right paragraph,
2056 with this IMO we could remove the hack in "redoParagraphs()".
2058 2002-10-09 Angus Leeming <leeming@lyx.org>
2060 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2061 to turn off an optimisation if a new inset is to be inserted.
2063 2002-10-11 André Pönitz <poenitz@gmx.net>
2065 * lyxtext.h: make some functions public to allow access
2066 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2068 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2070 * text3.C (dispatch): when changing layout, avoid an infinite loop
2073 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2075 * lyxrc.C (read): treat a viewer or converter command of "none" as
2078 * MenuBackend.C (expandFormats): for an update, also allow the
2079 formats that are not viewable
2081 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2082 script if it is newer than the lyxrc.defaults in user directory
2084 2002-10-07 André Pönitz <poenitz@gmx.net>
2086 * text.C: Vitaly Lipatov's small i18n fix
2088 2002-09-25 Angus Leeming <leeming@lyx.org>
2090 * ispell.h: doxygen fix.
2092 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2094 * buffer.h (readFile): Add a new argument to the method, to allow
2095 reading of old-format templates.
2097 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2099 * toc.C (getTocList): Get TOC from InsetWrap.
2101 2002-09-16 John Levon <levon@movementarian.org>
2103 * lyxfunc.C: check tabular for cut/copy too
2105 2002-09-12 John Levon <levon@movementarian.org>
2110 * factory.C: add header
2112 * paragraph_funcs.h:
2113 * paragraph_funcs.C: cleanup
2115 2002-09-11 John Levon <levon@movementarian.org>
2117 * PrinterParams.h: odd/even default to true
2119 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2121 * PrinterParams.h: update printer parameters for new xforms dialog
2123 2002-09-11 Angus Leeming <leeming@lyx.org>
2125 * lyxserver.C (read_ready): re-write to make it more transparent
2126 and to make it work in coherent fashion under Tru64 Unix.
2128 2002-09-11 André Pönitz <poenitz@gmx.net>
2132 * text3.C: implement LFUN_WORDSEL
2134 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2137 make floatlist_ a boost::shared_ptr<FloatList>
2139 * lyxtextclass.C: include FloatList.h
2140 (LyXTextClass): initialize floatlist_
2141 (TextClassTags): add TC_NOFLOAT
2142 (Read): match "nofloat" to TC_NOFLOAT and use it.
2143 (readFloat): modify call to floatlist_
2147 * FloatList.[Ch] (FloatList): remove commented out float
2149 (erase): new function
2151 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2153 * MenuBackend.C (expandToc): fix crash when there is no document
2156 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2158 * many files: Add insetwrap.
2160 2002-09-09 John Levon <levon@movementarian.org>
2162 * text2.C: remove confusing and awkward depth wraparound
2164 2002-09-09 John Levon <levon@movementarian.org>
2166 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2169 * buffer.C: remove getIncludeonlyList()
2172 * lyxfunc.C: remove headers
2174 2002-09-09 Juergen Vigna <jug@sad.it>
2176 * text.C (getColumnNearX): fix form Michael this is most
2177 probably a cut&paste bug.
2179 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2183 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2184 references, ws changes.
2186 * text2.C (init): update counters after init
2187 (insertParagraph): no need to set counter on idividual paragraphs.
2188 (setCounter): access the counters object in the textclass object
2189 on in the buffer object.
2190 (updateCounters): ditto
2192 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2193 shared_ptr<Counters> to avoid loading counters.h in all
2195 (LyXTextClass): initialize ctrs_
2196 (TextClassTags): add TC_COUNTER, and ...
2197 (Read): use it here.
2198 (CounterTags): new tags
2199 (readCounter): new function
2200 (counters): new funtion
2201 (defaultLayoutName): return a const reference
2203 * counters.C (Counters): remove contructor
2204 (newCounter): remove a couple of unneeded statements.
2205 (newCounter): simplify a bit.
2206 (numberLabel): some small formatting changes.
2208 * buffer.[Ch]: remove all traces of counters, move the Counters
2209 object to the LyXTextClass.
2211 2002-09-06 Alain Castera <castera@in2p3.fr>
2213 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2214 package to set the horizontal alignment on fixed width columns.
2217 * lyx_sty.h: added tabularnewline macro def.
2219 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2221 2002-09-06 John Levon <levon@movementarian.org>
2223 * LyXAction.C: tooltips for sub/superscript
2225 * MenuBackend.C: a bit more verbose
2227 * lyxfunc.C: tiny clean
2229 * undo_funcs.C: document undo_frozen
2231 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * counters.C (Counters): add missing algorithm counter.
2235 * text2.C (setCounter): lookup the counter with layouts latexname
2236 instead of by section number.
2237 (setCounter): use a hackish way to lookup the correct enum
2239 a float name->type change
2240 reset enum couners with counter name directly instead of depth value.
2242 * counters.C (Counters): remove the push_backs, change to use the
2243 float type not the float name.
2244 (labelItem): remove unused string, float name->type change
2246 * counters.h: don't include vector, loose the enums and sects vectors
2248 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2251 (Read): add float->TC_FLOAT to textclassTags
2252 (Read): and handle it in the switch
2253 (readFloat): new function
2255 * FloatList.C (FloatList): comment out the hardcoded float
2258 * lyxlayout.h: ws change.
2260 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2262 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2264 2002-09-03 Angus Leeming <leeming@lyx.org>
2266 * BufferView_pimpl.h: qualified name is not allowed in member
2267 declaration: WorkArea & Pimpl::workarea() const;
2269 * factory.C: added using std::endl directive.
2271 * text3.C: added using std::find and std::vector directives.
2273 2002-08-29 André Pönitz <poenitz@gmx.net>
2276 * text2.C: remove unused member number_of_rows
2279 * BufferView2.C: remove file, move contents to...
2280 * BufferView.C: ... here
2282 * BufferView_pimpl.C:
2283 * factory.C: move more inset creation to factory
2285 * vspace.C: avoid direct usage of LyXText, ws changes
2288 don't provide direct access to WorkArea, use two simple
2289 acessors haveSelction() and workHeight() instead
2292 2002-08-29 John Levon <levon@movementarian.org>
2294 * BufferView_pimpl.C (dispatch): do not continue when
2297 2002-08-28 André Pönitz <poenitz@gmx.net>
2299 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2302 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2304 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2306 * buffer.C: increment LYX_FORMAT to 221
2308 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2309 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2311 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2313 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2315 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2317 * factory.C (createInset): use LyXTextClass::floats
2319 * MenuBackend.C (expandFloatListInsert):
2320 (expandFloatInsert):
2323 * text2.C (setCounter):
2325 * LaTeXFeatures.C (useFloat):
2326 (getFloatDefinitions):
2328 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2330 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2331 floatlist_, with accessor floats().
2333 * FloatList.h: remove global FloatList
2335 2002-08-26 André Pönitz <poenitz@gmx.net>
2337 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2341 * BufferView_pimpl.C:
2342 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2344 2002-08-25 John Levon <levon@movementarian.org>
2346 * LyXAction.C: fix margin note description
2348 2002-08-24 John Levon <levon@movementarian.org>
2352 * bufferview_funcs.C:
2354 * undo_funcs.C: cleanups
2356 * lyxfunc.C: disable CUT/COPY when no selection
2358 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2360 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2361 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2363 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2364 Add backward compatibility to "mono", "gray" and "no".
2366 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2368 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2369 (and file_format >= 200).
2371 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2373 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2375 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2377 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2379 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2381 * BufferView_pimpl.C:
2388 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2389 inset and code to make it work with the paragraph code. The inset
2390 can be anywhere in the paragraph, but will only do the expected
2391 thing in LaTeX if the layout file contains the parameter line
2393 (or more generally, a nonzero value) for that layout.
2395 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * paragraph.h: remove the declaration of undefined counters class
2400 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2402 * text2.C (setCounter): fixed enumeration mis-count as reported by
2403 Dr. Richard Hawkins.
2405 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2407 * paragraph_funcs.h: remove some unneeded includes
2409 * text.C (backspace): pasteParagraph now in global scipe
2411 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2412 (pasteSelection): ditto
2414 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2415 * paragraph_funcs.C (pasteParagraph): ... here
2417 2002-08-20 André Pönitz <poenitz@gmx.net>
2419 * commandtags.h: new LFUNs for swapping/copying table row/colums
2422 * lyxfunc.C: support for new lfuns
2424 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * buffer.[Ch]: remove NO_COMPABILITY stuff
2429 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * boost.C (throw_exception): new file, with helper function for
2432 boost compiled without exceptions.
2437 * ParameterStruct.h:
2438 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2440 * bufferlist.C (emergencyWriteAll): use boost bind
2442 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2444 * text.C: include paragraph_funcs.h
2445 (breakParagraph): breakParagraph is now in global scope
2447 * paragraph_funcs.[Ch]: new files
2449 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2452 * buffer.C: include paragraph_funcs.h
2453 (insertStringAsLines): breakParagraph is now in global scope
2455 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2458 * CutAndPaste.C: include paragraph_funcs.h
2459 (cutSelection): breakParagraphConservative is now in global scope
2460 (pasteSelection): ditto
2462 * buffer.h: declare oprator== and operator!= for
2463 Buffer::inset_iterator
2465 * bufferlist.C (emergencyWrite): don't use fmt(...)
2467 * text3.C: add using std::endl
2469 * BufferView.C (moveCursorUpdate): remove default arg
2471 2002-08-20 André Pönitz <poenitz@gmx.net>
2473 * buffer.[Ch]: move inline functions to .C
2476 * BufferView_pimpl.C:
2478 * buffer.[Ch]: use improved inset_iterator
2481 * paragraph.[Ch]: write one paragraph at a time
2483 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2485 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2486 style if style is not specified.
2488 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2490 * text2.C (setCounter): when searching for right label for a
2491 caption, make sure to recurse to parent insets (so that a caption
2492 in a minipage in a figure float works) (bug #568)
2494 2002-08-20 André Pönitz <poenitz@gmx.net>
2496 * text3.C: new file for LyXText::dispatch() and helpers
2498 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2500 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2502 2002-08-19 André Pönitz <poenitz@gmx.net>
2505 * text.C: new LyXText::dispatch()
2507 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2509 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2511 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2513 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2516 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2518 * Makefile.am: use $(variables) instead of @substitutions@
2520 2002-08-15 André Pönitz <poenitz@gmx.net>
2523 * BufferView_pimpl.C: streamlining mathed <-> outer world
2527 * LyXAction.C: remove unused LFUN_MATH
2529 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2533 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * paragraph.C (Paragraph): reformat a bit
2536 (cutIntoMinibuffer): use builtin InsetList function instad of
2540 * buffer.C: include boost/bind.hpp, add using std::for_each
2541 (writeFileAscii): use ParagraphList iterators
2542 (validate): use for_each for validate traversal of paragraphs
2543 (getBibkeyList): use ParagraphList iterators
2544 (resizeInsets): use for_each to resizeInsetsLyXText for all
2546 (getParFromID): use ParagraphList iterators
2548 * BufferView2.C (lockInset): use paragraph list and iterators
2550 2002-08-14 John Levon <levon@movementarian.org>
2552 * lyxserver.C: remove spurious xforms include
2554 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2556 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2558 2002-08-13 André Pönitz <poenitz@gmx.net>
2561 * lyxfunc.C: further cleaning
2563 2002-08-13 André Pönitz <poenitz@gmx.net>
2565 * funcrequest.h: new constructor
2567 * funcrequest.C: move stuff here from .h
2570 * BufferView_pimpl.C:
2573 * lyxfunc.C: subsequent changes
2575 * lyxfunc.h: new view() member function
2577 * lyxfunc.C: subsequent changes
2579 2002-08-13 Angus Leeming <leeming@lyx.org>
2582 * BufferView_pimpl.C:
2590 changes due to the changed LyXView interface that now returns references
2591 to member variables not pointers.
2593 2002-08-13 Angus Leeming <leeming@lyx.org>
2595 * WordLangTuple (word, lang_code): return references to strings,
2600 * lyxtext.h: forward-declare WordLangTuple.
2605 * text.C: #include "WordLangTuple.h".
2608 * text.C: (selectNextWordToSpellcheck): constify return type.
2610 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2616 * paragraph_pimpl.h:
2619 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2621 Made updateCounter always count from start of buffer, and removed
2622 second argument (par).
2623 Reverted floats number display to '#'. Perhaps I'll try again when the
2624 code base is sanitized a bit.
2626 2002-08-12 Angus Leeming <leeming@lyx.org>
2628 * buffer.[Ch] (getLabelList): constify.
2630 2002-08-07 André Pönitz <poenitz@gmx.net>
2632 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2634 * funcrequest.h: extension to keep mouse (x,y) position
2636 2002-08-12 Juergen Vigna <jug@sad.it>
2638 * BufferView2.C (insertErrors): forbid undo when inserting error
2641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2643 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * ParagraphList.[Ch]: new files
2647 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2649 * BufferView2.C (lockInset): ParagraphList changes
2652 * bufferlist.C: ditto
2656 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2658 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2659 unused class variable counter_,
2661 * paragraph.[Ch] (getFirstCounter): delete unused function
2663 * counters.C: include LAssert.h
2664 (reset): add a new function with no arg, change other version to
2665 not have def. arg and to not allow empty arg.
2667 * text2.C (setCounter): remove empty arg from call to Counters::reset
2669 2002-08-11 John Levon <levon@movementarian.org>
2671 * Makefile.am: add WordLangTuple.h
2673 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2676 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2678 * insets/insettext.C: InsetList changes
2680 * graphics/GraphicsSupport.C (operator()): InsetList changes
2682 * toc.C (getTocList): InsetList changes
2684 * paragraph_pimpl.[Ch]: InsetList changes
2686 * paragraph.[Ch]: InsetList changes
2688 * buffer.C (inset_iterator): InsetList changes
2689 (setParagraph): ditto
2690 * buffer.h (inset_iterator): ditto
2691 * iterators.C (operator++): ditto
2692 * iterators.h: ditto
2694 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2696 * InsetList.[Ch]: new files, most InsetList handling moved out of
2699 * BufferView2.C (removeAutoInsets): InsetList changes
2701 (ChangeInsets): ditto
2703 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * paragraph_pimpl.h (empty): new function
2707 * paragraph.[Ch] (empty): new function
2709 * other files: use the new Paragraph::empty function
2711 2002-08-09 John Levon <levon@movementarian.org>
2713 * lyxtext.h: remove unused refresh_height
2715 2002-08-09 John Levon <levon@movementarian.org>
2722 * paragraph.C: move sgml char escaping out of paragraph
2725 * paragraph.C: remove id setter
2729 * paragraph_pimpl.C: remove dead tex_code_break_column
2731 * bufferview_funcs.C: small cleanup
2733 * lyxfunc.C: remove dead proto
2735 * lyxtext.h: make some stuff private. Remove some dead stuff.
2737 * lyxgluelength.C: make as[LyX]String() readable
2739 2002-08-08 John Levon <levon@movementarian.org>
2744 * ToolbarDefaults.C:
2747 * toc.C: lyxaction cleanup
2749 2002-08-08 John Levon <levon@movementarian.org>
2751 * BufferView2.C: small cleanup
2754 * lyxfind.C: move unnecessary header into the .C
2756 2002-08-08 John Levon <levon@movementarian.org>
2758 * funcrequest.h: just tedious nonsense
2761 * lyx_main.C: cleanups
2764 * vspace.C: remove dead header lyx_main.h
2766 2002-08-07 Angus Leeming <leeming@lyx.org>
2769 * paragraph_pimpl.h:
2770 Forward declare class Counters in paragraph.h by moving the ctrs member
2771 variable into Paragraph::Pimpl.
2772 (counters): new method, returning a reference to pimpl_->ctrs.
2774 * text2.C: ensuing changes.
2776 2002-08-07 John Levon <levon@movementarian.org>
2778 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2780 * BufferView_pimpl.C: announce X selection on double/triple
2783 * lyx_main.C: use correct bool in batch dispatch
2785 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2787 2002-08-07 André Pönitz <poenitz@gmx.net>
2789 * funcrequest.h: new class to wrap a kb_action and its argument
2792 * BufferView_pimpl[Ch]:
2796 * lyxrc.C: subsequent changes
2799 2002-08-07 John Levon <levon@movementarian.org>
2801 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2802 document options change.
2804 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2809 * makefile.am: move counters functionality over from
2810 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2812 2002-08-06 John Levon <levon@movementarian.org>
2814 * WordLangTuple.h: new file for word + language code tuple
2825 * BufferView2.C: use WordLangTuple
2828 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2830 2002-08-06 John Levon <levon@movementarian.org>
2832 * lyx_main.C: fix cmdline batch handling
2834 2002-08-06 André Pönitz <poenitz@gmx.net>
2836 * lyxrc.C: set default for show_banner to true
2838 2002-08-06 John Levon <levon@movementarian.org>
2840 * pspell.C: fix a crash, and allow new aspell to work
2842 2002-08-06 John Levon <levon@movementarian.org>
2845 * kbmap.C: small cleanup
2848 * vspace.C: add const
2850 2002-08-05 John Levon <levon@movementarian.org>
2852 * LyXAction.C: back to tabular-insert
2854 2002-08-04 John Levon <levon@movementarian.org>
2857 * BufferView.C: cosmetic change
2859 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2869 * BufferView2.C: purge all "Lyx" not "LyX" strings
2872 * lyxcursor.C: attempt to add some documentation
2877 * ToolbarDefaults.C:
2878 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2879 merge with LFUN_TABULAR_INSERT
2886 * pspell.C: split up i/pspell implementations into separate
2887 files, many cleanups
2889 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2891 * text2.C: some cleanup
2893 * lyxfunc.C: don't check for isp_command == "none" any more, it
2894 didn't make any sense
2896 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2901 * makefile.am: move counters functionality over
2902 from text2.C/paragraph.[Ch] to counters.[Ch], and
2904 2002-08-02 John Levon <levon@movementarian.org>
2906 * buffer.C: s/lyxconvert/lyx2lyx/
2908 2002-08-02 Angus Leeming <leeming@lyx.org>
2910 * lyxlex.C: revert John's change as it breaks reading of the user
2913 2002-08-02 Angus Leeming <leeming@lyx.org>
2915 * importer.C (Import):
2916 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2917 changes due to LyXView::view() now returning a boost::shared_ptr.
2919 2002-08-02 John Levon <levon@movementarian.org>
2921 * lyxlex.C: small cleanup
2923 2002-08-02 John Levon <levon@movementarian.org>
2925 * text2.C (status): small cleanup, no logic change
2927 2002-08-01 John Levon <levon@movementarian.org>
2930 * buffer.C (writeFile): don't output alerts, caller
2934 * lyx_cb.C: from above
2936 * lyxfunc.C: allow to open non-existent files
2938 2002-07-31 John Levon <levon@movementarian.org>
2940 * lyxserver.C: don't let incidental errors get
2943 2002-07-30 John Levon <levon@movementarian.org>
2945 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2947 2002-07-30 John Levon <levon@movementarian.org>
2950 * lyxserver.C: remove I/O callback too
2952 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2954 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2957 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * many files: strip,frontStrip -> trim,ltrim,rtrim
2961 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * PrinterParams.h: remove extern containsOnly, and include
2964 support/lstrings.h instead.
2966 * LaTeX.C (scanAuxFile): modify because of strip changes
2968 * buffer.C (makeLaTeXFile): ditto
2969 * bufferparams.C (writeFile): ditt
2970 * lyxfont.C (stateText): ditto
2971 * lyxserver.C (read_ready): ditto
2972 * vc-backend.C (scanMaster): ditto
2974 * BufferView_pimpl.h: ws changes
2976 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2978 2002-07-26 André Pönitz <poenitz@gmx.net>
2980 * kb_sequence.C: remove unnedred usings
2982 2002-07-26 Juergen Vigna <jug@sad.it>
2984 * lyxfind.C (LyXReplace): we have to check better if the returned
2985 text is not of theLockingInset()->getLockingInset().
2987 2002-07-25 Juergen Vigna <jug@sad.it>
2989 * lyxfind.C (LyXReplace): don't replace if we don't get the
2992 * undo_funcs.C (createUndo): remove debugging code.
2994 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2996 * buffer.C (parseSingleLyXformat2Token): Use default placement
2997 when reading old floats.
2999 * FloatList.C (FloatList): Change the default placement of figure
3000 and tables to "tbp".
3002 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3004 * MenuBackend.C: using std::max
3006 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3008 * MenuBackend.C (expandToc):
3009 (expandToc2): code moved from xforms menu frontend. It is now
3010 generic and TOCs are transparent to menu frontends.
3012 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3014 * toc.C (getTocList): protect against buf=0
3016 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3017 Menu as first parameter. Now, this calls itself recursively to
3018 expand a whole tree (this will be useful for TOC handling)
3019 (expandFloatInsert): remove 'wide' version of floats
3021 * MenuBackend.h (submenuname): returns the name of the submenu.
3022 (submenu): returns the submenu itself, provided it has been
3023 created by MenuBackend::expand
3025 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3027 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3028 insets which have noFontChange == true. (bug #172)
3030 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3032 * BufferView_pimpl.C: add connection objects and use them...
3035 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3037 * MenuBackend.C (expandLastfiles):
3040 (expandFloatListInsert):
3041 (expandFloatInsert):
3042 (expand): split expand in parts
3044 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3046 * lyx_gui.C: use lyx_gui::exit()
3048 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3050 * LyXAction.C: show the failing pseudo action
3052 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3054 * buffer.C (readFile): Run the lyxconvert script in order to read
3057 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3061 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3063 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3067 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3069 2002-07-22 Herbert Voss <voss@lyx.org>
3072 * lyxlength.[Ch]: add support for the vertical lengths
3074 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3076 * toc.[Ch]: std:: fixes
3078 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3080 * lyxrc.C: do not include lyx_main.h
3082 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3088 * BufferView2.C: include "lyxlex.h"
3091 * bufferparams.h: do not #include "lyxlex.h"
3093 * lyxtextclasslist.C (Add): remove method
3094 (classlist): renamed to classlist_
3096 * paragraph_pimpl.C:
3100 * bufferview_funcs.C:
3105 * toc.C (getTocList): use BufferParams::getLyXTextClass
3107 * toc.C (getTocList): use InsetFloat::addToToc
3109 * toc.[Ch]: new files, containing helper functions to handle table
3112 * lyxfunc.C (dispatch): no need to remove spaces around command
3114 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3115 first command of the sequence; it is not very clever, but I do not
3116 have a better idea, actually
3118 * LyXAction.C (LookupFunc): make sure to remove space at the
3119 beginning and end of the command
3121 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3123 * MenuBackend.C (getMenubar): new method: return the menubar of
3125 (read): treat differently reading of menu and menubar (in
3126 particular, the menubar has no name now)
3127 (Menu::menubar): remove
3129 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3132 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3134 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3135 a bibitem inset in a RTL paragraph.
3137 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3139 * paragraph_pimpl.C: constify
3141 * BufferView_pimpl.C:
3143 * lyxfunc.C: fix dispatch in a nicer way
3145 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3147 * lyxfunc.C (dispatch):
3148 * BufferView_pimpl.C:
3149 * BufferView_pimpl.h:
3151 * BufferView.h: rename Dispatch() to dispatch()
3153 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3155 * lyxlayout.C (Read): honor DependsOn tag
3157 * lyxlayout.[Ch] (depends_on): new method
3159 * version.C.in: update lyx_docversion
3161 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3163 * paragraph.C (validate): remove from here...
3164 * paragraph_pimpl.C (validate): ... and move here
3165 (isTextAt): make it const
3167 * buffer.C (getLists): ws cleanup
3169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3171 * language.C (read): Use iso8859-1 encoding in latex_lang
3172 (this prevents LyX from crashing when using iso10646-1 encoding).
3174 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3176 * text2.C (toggleInset): if cursor is inside an inset, close the
3177 inset and leave cursor _after_ it
3179 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3181 * lyxfunc.C: move minibuffer completion handling out of here
3183 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3185 * BufferView_pimpl.C:
3186 * LaTeX.C: fix dispatch calls
3188 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3190 * text.C (drawChars): Fix Arabic text rendering.
3192 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3196 * lyxfunc.C: remove message-push/pop
3200 * lyxfunc.C: rationalise some code by removing verboseDispatch
3201 in favour of a bool argument to dispatch()
3203 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3205 * lyx_main.C (init): make sure to read symlinks as absolute paths
3207 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3210 * lyxfunc.C: no need for commandshortcut to be a member
3212 2002-07-15 André Pönitz <poenitz@gmx.net>
3214 * converter.C: add support for $$s (scripts from lib/scripts dir)
3215 * lyx_main.C: white space
3217 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3221 * lyxrc.C: remove second exit confirmation
3223 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3228 * BufferView_pimpl.h:
3229 * BufferView_pimpl.C:
3230 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3232 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3234 * MenuBackend.C (expand): add numeric shortcuts to document menu
3236 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3238 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3240 * lyxfont.C (setLyXFamily):
3247 * buffer.C (asciiParagraph): use ascii_lowercase
3249 2002-07-15 Mike Fabian <mfabian@suse.de>
3251 * lyxlex_pimpl.C (search_kw):
3252 * lyxlex.C (getLongString):
3253 * converter.h (operator<):
3254 * converter.C (operator<):
3255 * buffer.C (parseSingleLyXformat2Token):
3257 * ToolbarDefaults.C (read):
3258 * MenuBackend.C (checkShortcuts):
3260 * LColor.C (getFromGUIName):
3261 (getFromLyXName): use the compare_ascii_no_case instead of
3262 compare_no_case, because in turkish, 'i' is not the lowercase
3263 version of 'I', and thus turkish locale breaks parsing of tags.
3265 2002-07-16 Angus Leeming <leeming@lyx.org>
3267 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3268 now takes a Buffer const & argument.
3270 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3272 * BufferView.C (resize): check there's a buffer to resize
3274 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3276 * lyxfunc.C: remove dead code
3279 * lyxserver.C: use lyx_guii::set_read_callback
3281 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3283 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3284 an inset in a RTL paragraph.
3286 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3288 * lyxfunc.C: repaint after a font size update
3290 2002-07-15 André Pönitz <poenitz@gmx.net>
3292 * lyxlength.C: inBP should be able to return negative values
3294 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3296 * lyxfunc.C: use lyx_gui::update_fonts()
3298 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3300 * lyxfunc.C: use lyx_gui::update_color()
3302 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3308 * lyxrc.C: remove file->new asks for name option, and let
3309 buffer-new take an argument
3311 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3313 * BufferView_pimpl.C: remove unneeded extra repaint()
3315 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3317 * LyXAction.C: allow command-sequence with NoBuffer
3319 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3321 2002-07-10 Angus Leeming <leeming@lyx.org>
3323 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3325 2002-07-09 Angus Leeming <leeming@lyx.org>
3327 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3329 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3331 * lengthcommon.h: whitespace
3333 * lyxfunc.C: update scrollbar after goto paragraph
3335 * lyxtext.h: factor out page break drawing, and fix it so
3336 page break/added space paints as selected nicely
3338 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3340 * BufferView_pimpl.C: add FIXMEs, clean up a little
3342 2002-07-09 André Pönitz <poenitz@gmx.net>
3344 * lyxfont.[Ch]: support for wasy symbols
3346 2002-07-08 André Pönitz <poenitz@gmx.net>
3348 * BufferView_pimpl.C: apply John's patch for #93.
3350 2002-07-05 Angus Leeming <leeming@lyx.org>
3352 * BufferView_pimpl.C (buffer): generate previews if desired.
3354 * LColor.h: add "preview" to the color enum.
3356 * LColor.C (LColor): add a corresponding entry to the items array.
3358 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3361 2002-07-05 Angus Leeming <leeming@lyx.org>
3363 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3364 The body of the code is now in the method that is passed an ostream &
3365 rather than a file name.
3366 Pass an additional only_preamble parameter, useful for the forthcoming
3369 2002-07-03 André Pönitz <poenitz@gmx.net>
3371 * lyxfunc.C: simplify getStatus() a bit for math stuff
3373 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3375 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3377 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3379 * text.C (changeRegionCase): do not change case of all the
3380 document when region ends at paragraph end (bug #461)
3382 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3384 * paragraph.C (startTeXParParams):
3385 (endTeXParParams): add \protect when necessary
3387 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3389 * BufferView_pimpl.C (workAreaExpose): remove warning
3391 2002-06-27 Angus Leeming <leeming@lyx.org>
3393 * Makefile.am: add lyxlayout_ptr_fwd.h.
3395 2002-06-26 André Pönitz <poenitz@gmx.net>
3397 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3399 2002-06-25 Angus Leeming <leeming@lyx.org>
3401 * lyxfunc.C (dispatch): Comment out the call to
3402 grfx::GCache::changeDisplay. The method no longer exists now that the
3403 pixmap generation part of the graphics loader has been moved into
3406 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3408 * text2.C: layout as layout
3410 * text.C: layout as layout
3412 * tabular.C (OldFormatRead): layout as layout
3414 * paragraph_pimpl.C (TeXDeeper): layout as layout
3415 (realizeFont): layout as layout
3417 * paragraph.C (writeFile): layout as layout
3418 (validate): layout as layout
3419 (getFont): layout as layout
3420 (getLabelFont): layout as layout
3421 (getLayoutFont): layout as layout
3422 (breakParagraph): layout as layout
3423 (stripLeadingSpaces): layout as layout
3424 (getEndLabel): layout as layout
3425 (getMaxDepthAfter): layout as layout
3426 (applyLayout): layout as layout
3427 (TeXOnePar): layout as layout
3428 (simpleTeXOnePar): layout as layout
3429 (TeXEnvironment): layout as layout
3430 (layout): layout as layout
3431 (layout): layout as layout
3433 * lyxtextclass.C (compare_name): new functor to work with
3434 shared_ptr, layout as layout
3435 (Read): layout as layout
3436 (hasLayout): layout as layout
3437 (operator): layout as layout
3438 (delete_layout): layout as layout
3439 (defaultLayout): layout as layout
3441 * lyxlayout_ptr_fwd.h: new file
3443 * lyxlayout.C (Read): layout as layout
3445 * lyx_cb.C (MenuInsertLabel): layout as layout
3447 * bufferlist.C (newFile): layout as layout
3449 * buffer.C (readLyXformat2): layout as layout
3450 (parseSingleLyXformat2Token): layout as layout
3451 (insertStringAsLines): layout as layout
3452 (asciiParagraph): layout as layout
3453 (latexParagraphs): layout as layout
3454 (makeLinuxDocFile): layout as layout
3455 (simpleLinuxDocOnePar): layout as layout
3456 (makeDocBookFile): layout as layout
3457 (simpleDocBookOnePar): layout as layout
3458 (getLists): layout as layout
3460 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3462 * CutAndPaste.C (cutSelection): layout as layout
3463 (pasteSelection): layout as layout
3464 (SwitchLayoutsBetweenClasses): layout as layout
3466 * BufferView_pimpl.C (Dispatch): layout as layout
3467 (smartQuote): layout as layout
3469 * BufferView2.C (unlockInset): layout as layout
3471 2002-06-24 André Pönitz <poenitz@gmx.net>
3473 * lyxfunc.C: fix #487
3475 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3479 * lyxfunc.C: remove display_shortcuts, show_banner
3481 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3483 * Buffer_pimpl.C: oops, update on resize
3485 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3492 * BufferView.C: use repaint()
3494 * BufferView_pimpl.h:
3495 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3496 as it's a clearer description. Remove superfluous
3499 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3501 * text.C: fix bug 488. Not ideal, but getting
3502 getWord() to work properly for the insets that
3503 matter is more difficult ...
3505 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3507 * BufferView_pimpl.C:
3510 * lyxfunc.C: remove the six million index lyxfuncs to just
3511 one, and DTRT (bug 458)
3513 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3517 * BufferView_pimpl.h:
3518 * BufferView_pimpl.C: clean up resize() stuff,
3519 and unnecessary updateScreen()s
3521 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3525 * BufferView_pimpl.h:
3526 * BufferView_pimpl.C:
3529 * minibuffer.C: remove focus management of workarea,
3530 not needed. Use screen's greyOut()
3532 2002-06-17 Herbert Voss <voss@lyx.org>
3534 * converter.C: (convert) do not post a message, when converting
3535 fails, let the calling function decide what to do in this case
3537 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3539 * lyxfunc.C: tidy up a little
3541 2002-06-16 <alstrup@diku.dk>
3543 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3544 Got rid of FORMS_H_LOCATION include. Now we are
3547 2002-06-15 LyX Development team <lyx@rilke>
3549 * buffer.[Ch] (sgmlOpenTag):
3550 (sgmlCloseTag): Added support for avoiding pernicious mixed
3551 content. Return number of lines written.
3554 (makeDocBookFile): Fixed calls to sgml*Tag.
3555 Simple white space clean.
3557 (simpleDocBookOnePar): Simple white space clean.
3559 * tabular.[Ch] (docBook): Renamed to docbook and got another
3560 argument to related with the pernicious mixed content.
3562 (docbookRow): Fixed calls for docbook inset method.
3564 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3566 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3567 so it's X11 independent.
3571 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3573 2002-06-15 Lyx Development team <lyx@electronia>
3575 * intl.h: Renamed getTrans to getTransManager.
3577 2002-06-14 Angus Leeming <leeming@lyx.org>
3579 * Makefile.am: nuke forgotten stl_string_fwd.h.
3581 2002-06-12 Angus Leeming <leeming@lyx.org>
3583 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3585 2002-06-13 Angus Leeming <leeming@lyx.org>
3588 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3590 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3592 * kbmap.C (getiso): add support for cyrillic and greek
3594 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3598 * BufferView_pimpl.h:
3599 * BufferView_pimpl.C: move bogus scrolling logic
3602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3605 * BufferView_pimpl.C: view->resize() change
3607 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3609 * BufferView_pimpl.C: topCursorVisible
3612 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3616 * lyx_gui.C: move to frontends/
3620 * lyx_main.C: changes from above
3622 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3629 * lyx_main.C: minor tidy
3631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3633 * BufferView_pimpl.h:
3634 * BufferView_pimpl.C:
3636 * BufferView.C: make painter() const,
3639 * BufferView2.C: use screen() accessor
3642 * lyx_main.C: some minor cleanup
3644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3646 * BufferView_pimpl.h:
3647 * BufferView_pimpl.C: remove enter/leaveView,
3650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3655 * BufferView_pimpl.h:
3656 * BufferView_pimpl.C: only construct screen once,
3659 * lyxrc.C: remove pointless comment
3661 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3664 * BufferView.C: remove active() and belowMouse()
3666 * BufferView_pimpl.h:
3667 * BufferView_pimpl.C: use workarea() not workarea_,
3668 and make it use a scoped_ptr instead
3670 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3672 * lyx_gui.C: add debug message on BadWindow
3674 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3676 * sp_spell.C: fdopen is not part of the C++ standard.
3678 * paragraph.C (InsetIterator): use >= instead of ==
3680 2002-06-07 Angus Leeming <leeming@lyx.org>
3682 Fixes needed to compile with Compaq cxx 6.5.
3683 * BufferView_pimpl.C:
3690 * lyxtextclasslist.C:
3695 all c-library variables have been moved into namespace std. Wrap
3696 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3701 Add a using std::abs declaration.
3703 * kbmap.h (modifier_pair):
3704 * paragraph.h (InsetTable, InsetList):
3705 * lyxfont.h (FontBits):
3706 type definition made public.
3708 * bufferlist.C (emergencyWriteAll): the compiler complains that
3709 there is more than one possible lyx::class_fun template to choose from.
3710 I re-named the void specialisation as lyx::void_class_fun.
3712 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3714 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3715 the compiler is is unable to find tostr in write_attribute.
3717 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3719 * buffer.C (sgmlError): hide #warning
3721 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3723 * xtl/*: get rid of xtl, which is not in use anyway
3725 * LyXAction.C (init):
3726 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3727 were unimplemented xtl experimentation
3729 2002-06-04 André Pönitz <poenitz@gmx.net>
3731 * lyxfunc.C: disable array operation on simple formulae
3733 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3735 * converter.C: constify a bit
3737 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3739 * lyx_gui.C: check xforms version correctly
3741 2002-04-30 Herbert Voss <voss@lyx.org>
3743 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3746 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3748 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3749 attempt to register it with a VCS)
3751 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3753 * lyx_main.C (init): honor variables LYX_DIR_13x and
3756 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3760 * lyx_main.C: fix a crash on bad command line,
3761 and give a useful exit status on error
3763 * lyxfunc.C (doImport): allow -i lyx to work
3765 2002-03-30 André Pönitz <poenitz@gmx.net>
3767 * lyxfunc.C: mathed font changes
3769 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3784 * trans_mgr.h: srcdocs, and some minor cleanups
3786 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3788 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3789 call getFont all the time)
3791 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3793 * switch from SigC signals to boost::signals
3795 2002-05-29 André Pönitz <poenitz@gmx.net>
3797 * paragraph_pimpl.C (getChar): don't call size() too often...
3799 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * paragraph_pimpl.C (insertChar): do not try to update tables when
3802 appending (pos == size())
3804 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3805 in order to reduce drastically the number of comparisons needed to
3806 parse a large document
3808 2002-05-29 André Pönitz <poenitz@gmx.net>
3814 * textclasslist.[Ch]:
3815 * sp_ispell.h: whitespace change
3817 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3820 lyxaction directly now.
3822 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3826 * lyxvc.C: remove unused headers
3828 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3835 * undo_funcs.C: some cleanups. Use shared_ptr
3836 and a template for the undo stacks.
3838 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3840 * BufferView_pimpl.h:
3841 * BufferView_pimpl.C:
3848 * text2.C: use key_state/mouse_state
3850 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3852 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3855 * chset.C: change include order
3856 (loadFile): use boost regex and get rid of LRegex and LSubstring
3858 * Makefile.am (BOOST_LIBS): new variable
3861 * LaTeX.C: change include order.
3862 (scanAuxFile): use boost regex and get rid of LRegex and
3866 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3871 * FontInfo.C: moved to frontends/xforms/
3874 * FontLoader.C: moved into frontends for GUIIzation
3879 * lyxfunc.C: changes from above
3881 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3883 * LColor.C: remove spurious X include
3885 * BufferView_pimpl.C:
3890 * text2.C: move font metrics to frontends/
3892 2002-05-24 Juergen Vigna <jug@sad.it>
3894 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3895 setting the undo_cursor.
3897 * ParagraphParameters.h: include local includes first.
3899 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3901 * BufferView_pimpl.C:
3902 * BufferView_pimpl.h:
3906 * screen.C: move WorkArea into frontends/
3912 * BufferView2.C: move LyXScreen into frontends/
3916 * lyx_gui.C: move lyxlookup into frontends/xforms/
3918 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3921 * BufferView_pimpl.C:
3931 * bufferview_funcs.C:
3944 * vc-backend.C: move LyX/XFormsView into frontends/
3946 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3958 * text2.C: move Painter to frontends/
3960 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3962 * buffer.C: comment out some some code that depend upon lyx_format
3965 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3966 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3968 * buffer.h (NO_COMPABILITY): turn off compability
3970 * ColorHandler.C: include scoped_array.hpp
3972 * font.C: Use more specific smart_ptr header.
3975 * ShareContainer.h: ditto
3979 * BufferView_pimpl.h: ditto
3980 * ColorHandler.h: ditto
3982 * kbmap.C (defkey): change call to shared_ptr::reset
3984 2002-05-21 Juergen Vigna <jug@sad.it>
3986 * buffer.C (insertErtContents): fix to insert ert asis if it is
3987 non empty. Skip it completely if it contains only whitespaces.
3989 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3991 * BufferView_pimpl.C:
3992 * BufferView2.C: clear selection on paste (bug 393)
3994 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3996 * DepTable.C: include ctime
3998 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4000 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4002 2002-05-14 Juergen Vigna <jug@sad.it>
4004 * text.C (breakParagraph): fixed function to honor the keepempty
4005 layout in the right maner and also to permit the right breaking
4006 algorithm on empty or non empyt keepempty paragraphs.
4008 * paragraph.C (breakParagraph): we have to check also if the par
4009 is really empty (!size()) for isempty otherwise we do the wrong
4012 2002-05-10 Juergen Vigna <jug@sad.it>
4014 * buffer.[Ch] : The following are only changes to the ert
4015 compatibility read reading old LaTeX layout and font stuff and
4016 convert it to ERTInsets.
4018 * buffer.h: added isErtInset().
4020 * buffer.C (struct ErtComp): add a fromlayout bool to check
4021 if we're inside a LaTeX layout.
4022 (isErtInset): new helper function.
4023 (insertErtContents): look for other ert insets before this one
4024 and insert the contents there, so that we don't have subsequent
4025 ERT insets with nothing between them. This way we create only one
4026 inset with multiple paragraphs. Also check if we don't insert only
4027 spaces ' ' as they are ignored anyway afterwards in the .tex file
4028 so if we have only spaces we will ignore this latex part in the
4030 (parseSingleLyXformat2Token \\layout): better compatibility when
4031 reading layout-latex stuff.
4032 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4034 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4035 stuff after reading the inset only get the information back from
4038 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4040 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4042 * LaTeXFeatures.C (getBabelOptions): New method.
4044 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4046 * BufferView_pimpl.C (Dispatch): work around missing argument for
4049 2002-05-08 Juergen Vigna <jug@sad.it>
4051 * text.C (leftMargin): handle paragraph leftindent.
4053 * paragraph.C (writeFile): write the new \\leftindent tag.
4054 (validate): handle leftindent code.
4055 (TeXEnvironment): handle paragraphleftindent code again.
4057 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4059 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4060 for paragrap_extra indent code and new token \\leftindent.
4061 (latexParagraphs): handle the leftindent as environment.
4063 * ParameterStruct.h: added leftindent support.
4065 * ParagraphParameters.C (leftIndent): added support functions for
4066 the paragraph left indent.
4068 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4071 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4073 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4076 * text.C (computeBidiTables): No bidi in insetERT.
4078 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4081 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * version.C.in: pre 5
4085 2002-05-02 José Matos <jamatos@fep.up.pt>
4086 * buffer.C (makeDocBookFile): white space changes, add newline to
4088 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4090 * tabular.C (docBook): fix typo.
4092 2002-05-03 Juergen Vigna <jug@sad.it>
4094 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4095 change in LyXText as we can not be sure it was not freed.
4096 (drawOneRow): remove unused code.
4098 * text.C (drawInset): redo the calculation of the need_break_row as
4099 it could have a row which was already freed.
4100 (draw): look at the return value of drawInset and return false if
4101 it also returned false.
4102 (paintRowText): look at the return value of draw and return false if
4103 it also returned false.
4105 * lyxtext.h: added bool return type to drawInset() and draw() so that
4106 if we have a change in the row so that the rowbreak has to be redone
4107 we abort drawing as it will be called again.
4109 2002-05-02 Juergen Vigna <jug@sad.it>
4111 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4112 a change in the maintext also if we're inside an inset.
4113 (Dispatch): set the cursor again after a break line and after the
4114 screen has been updated as it could be we're in a different row.
4116 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4117 to set the cursor behind the pargraph with > size().
4118 (setCursor): check also for the same paragraph when checking where
4119 to put the cursor if we have a NFR inset.
4121 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4122 parts of layout read further up as it still was in the wrong
4125 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4127 * screen.C (drawFromTo): change sine fullRebreak always return
4130 * buffer.C (parseSingleLyXformat2Token): reindent some
4132 * BufferView_pimpl.C (update): change since fullRebreak always
4134 (Dispatch): git rid of the last hardcoded "Standard"s.
4136 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4138 * text2.[Ch] (fullRebreak): make it return void now that we always
4141 2002-04-30 Juergen Vigna <jug@sad.it>
4143 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4144 ert compatibility check for "latex" layout.
4146 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4148 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4149 minipages: use col% instead of p%, and also use the current font.
4150 (makeLaTeXFile): Fix use babel condition.
4151 (parseSingleLyXformat2Token): Correct font when reading old floats.
4153 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4155 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4156 inserting list of floats.
4158 2002-04-25 Herbert Voss <voss@lyx.org>
4160 * MenuBackend.C (expand): don't add the graphics extensions to the
4163 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4166 non-existing layout, do not complain if it was the default layout
4167 of the original class (bug #342)
4169 2002-04-24 Juergen Vigna <jug@sad.it>
4171 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4172 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4174 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4176 * buffer.C (getBibkeyList): If using \bibliography, return the
4177 option field with the reference itself. Enables us to provide natbib
4178 support when using \bibliography.
4180 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4182 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4184 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4185 natbib is provided by the LaTeX class.
4187 2002-04-23 Juergen Vigna <jug@sad.it>
4189 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4192 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4194 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4196 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4198 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4199 ensuremath around textordmasculine, textordfeminine and
4202 2002-04-19 Juergen Vigna <jug@sad.it>
4204 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4205 reinitializing the buffer otherwise row-dimensions may be wrong.
4206 (update): reset also the selection cursors if they do exits otherwise
4207 their x/y positions may be wrong.
4209 * text2.C (cursorDown): don't enter the inset if we came from a row
4210 above and are one row over the inset.
4212 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4213 really leaving an inset.
4215 2002-04-18 Juergen Vigna <jug@sad.it>
4217 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4218 of the selected paragraph does not have the selected layout also if
4221 * text2.C (setLayout): fixed bug which did not change last selected
4224 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4225 changed the read and substituted \\end_float with \\end_inset!
4227 * BufferView_pimpl.C (cursorPrevious):
4228 (cursorNext): fixed to make it work with rows heigher than the work
4229 area without moving the cursor only the draw of the row.
4230 (workAreaMotionNotify): fix jumping over high rows.
4232 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4234 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4237 2002-04-16 Juergen Vigna <jug@sad.it>
4239 * text2.C (setCursor): set also the irow().
4240 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4242 (cursorDown): support for locking an inset if the x_fix value goes
4243 inside it. That way I can transverse insets too with cursor up/down.
4245 * lyxrow.h: added irow helper function same as other (i) functions.
4247 * BufferView_pimpl.C (cursorPrevious):
4248 (cursorNext): fixed for insets!
4250 2002-04-15 Juergen Vigna <jug@sad.it>
4252 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4253 position otherwise it is wrong in some cases.
4255 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4256 inside the inset before the call.
4258 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4260 * buffer.[Ch] (getBibkeyList): make it const.
4262 2002-04-12 Juergen Vigna <jug@sad.it>
4264 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4266 * text2.C (getCursorX): new helper function
4267 (setCursor): compute also ix_
4268 (setCursorFromCoordinates): set also ix.
4270 * lyxcursor.h: added ix_ and helper functions.
4272 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4274 * buffer.C (insertStringAsLines): dont break paragraph if the this
4275 paragraph is inside an inset which does not permit it!
4277 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4278 also with no chars on this paragraph.
4279 (paintRowText): only paint stuff if it's inside the workarea!
4281 * paragraph.C (breakParagraph): honor keepempty flag and break the
4282 paragraph always below not above.
4284 * BufferView2.C (unlockInset): update the paragraph layout on inset
4285 unlock as we changed paragraph in such a case.
4287 * lyxfind.C (LyXFind): clear the former selection if not found!
4289 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4290 again called in insertChar().
4292 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4293 an inset which uses the whole row!
4294 (rightMargin): ditto.
4295 (insertChar): force a rebreak if we inserted an inset!
4297 2002-03-28 Herbert Voss <voss@lyx.org>
4299 * lyxlength.[Ch]: add inBP() to get the right PS-point
4300 units (BigPoint). With inPixels we have rounding errors
4302 2002-04-11 Juergen Vigna <jug@sad.it>
4304 * text2.C (setCursorFromCoordinates): set iy to the right value.
4305 (setCursor): add check if row->previous exists!
4307 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4308 an old float_type as this was the case in the old code!
4310 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4312 * BufferView2.C (showLockedInsetCursor): use iy
4313 (fitLockedInsetCursor): ditto
4315 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4316 locked insets as there we have the right value now.
4318 * lyxcursor.C: added iy_ variable and iy functions to set to the
4319 baseline of cursor-y of the locked inset.
4321 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4322 (setCursor): fixed for insets which need a full row.
4324 * text.C (rowLastPrintable): don't ignore the last space when before
4325 an inset which needs a full row.
4326 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4327 as last character of a row when before a inset which needs a full row.
4329 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4331 * version.C.in: update date
4333 * text2.C (fullRebreak): try to always return true and see what
4336 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4338 * MenuBackend.C (expand): use Floating::listName
4340 * FloatList.C (FloatList): add listName argument to the built-in
4343 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4344 text associated with the float.
4346 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4348 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4350 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4352 * ShareContainer.h: add a couple of missing typenames.
4354 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4356 * lyxrc.C (getDescription): use _() correctly rather than N_().
4358 2002-03-28 Herbert Voss <voss@lyx.org>
4360 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4361 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4363 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4365 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4366 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4368 2002-03-29 Juergen Vigna <jug@sad.it>
4370 * lyxfunc.C (dispatch): add a missing fitCursor call.
4372 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4373 it was scrolled by a cursor move, so return the bool status.
4375 * BufferView.C (fitCursor): return the bool flag also to the outside
4376 world as this is needed.
4378 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4380 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4381 call the edit() as it is not needed (and wrong) IMO.
4382 (workAreaButtonPress): set the screen_first variable before evt.
4383 unlock the inset as this may change screen_first and then we have
4384 a wrong y position for the click!
4386 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * MenuBackend.C (expand): another translation that I missed
4390 2002-03-28 Juergen Vigna <jug@sad.it>
4392 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4394 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4396 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4400 * MenuBackend.C (expand): fix export/view/update when there is no
4403 2002-03-27 Herbert Voss <voss@lyx.org>
4405 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4408 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4410 * bufferview_funcs.C (currentState): only show paragraph number
4411 for is DEVEL_VERSION is set.
4413 * lyxfunc.C (dispatch): put warning in INFO channel
4415 * MenuBackend.C (expand): translate the name of floats
4417 * FloatList.C (FloatList): mark the float names for translation
4419 * converter.C (convert): use LibScriptSearch
4421 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4423 * MenuBackend.C (defaults): fix default menu (we might as well get
4426 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4428 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4431 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4433 * lyxvc.C: reorder includes.
4435 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4437 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4440 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4442 * CutAndPaste.C: change layouts earlier on paste
4443 to avoid crashing when calling getFont()
4445 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4447 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4450 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4452 * WorkArea.C: remove 'Pending' debug message.
4454 * most files: ws cleanup
4456 * buffer.[Ch]: ws changes
4458 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4460 2002-03-21 Juergen Vigna <jug@sad.it>
4462 * tabular.C (SetMultiColumn): collapse also the contents of the
4463 cells and set the last border right. Added a Buffer const * param.
4465 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4467 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4470 2002-03-19 Juergen Vigna <jug@sad.it>
4472 * text2.C (clearSelection): reset also xsel_cache.
4474 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4475 where it needs to be called (John tells us to do so too :)
4476 (selectionLost): reset sel_cache.
4478 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4480 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4482 * text2.C (setCursorIntern): put debuging code in INSETS channel
4484 2002-03-19 André Pönitz <poenitz@gmx.net>
4486 * lyxfunc.C: tiny whitespace change
4488 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4490 * ToolbarDefaults.C (init):
4491 * LyXAction.C (init):
4493 * BufferView_pimpl.C (Dispatch):
4494 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4496 2002-03-19 Allan Rae <rae@lyx.org>
4498 * exporter.C (Export): removeAutoInsets before doing anything else.
4499 While I've just introduced a dependency on BufferView this really is
4500 the best place to clean the buffer otherwise you need to cleanup in
4501 a dozen places before calling export or cleanup in a dozen functions
4504 * converter.C (runLaTeX):
4505 (scanLog): Better handling of removeAutoInsets and screen updates.
4507 * lyxfunc.C (dispatch): small whitespace changes
4509 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4511 * WorkArea.C (C_WorkAreaEvent): return a value.
4512 (event_cb): return 1 if we handled the event, 0 otherwise.
4514 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4516 2002-03-18 Juergen Vigna <jug@sad.it>
4518 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4519 (GetAdditionalWidth): ditto.
4523 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4524 inset if we're there actually (probably not used right now but this
4525 is the direction to go for unifying code).
4526 (paste): disable code to clear the selection.
4528 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4529 inside an InsetText and move the check further up as it is in the
4532 * text2.C (pasteSelection): set a selection over the pasted text.
4534 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4536 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4537 and libgraphics to build on Cygwin.
4539 2002-03-15 Juergen Vigna <jug@sad.it>
4541 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4542 inserting an Inset into the paragraph. I know this is not the best
4543 fix but we already use current_view in CutAndPaste so we will remove
4544 all of it's using at the same time.
4546 * buffer.C (sgmlError): deactivated function till it is rewritten in
4547 the right mode, now it can create problems.
4549 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4550 before accessing it.
4552 2002-03-14 Juergen Vigna <jug@sad.it>
4554 * undo_funcs.C (textHandleUndo): do the right thing when updating
4555 the inset after the undo/redo.
4557 * text2.C (setCursor): just some testcode for #44 not ready yet.
4559 * undo_funcs.C (textHandleUndo): set the next() and previous()
4560 pointers of the paragraph to 0 before deleting otherwise we have
4561 problems with the Paragraph::[destructor].
4563 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4564 on a paragraph insertion.
4566 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4568 * buffer.C (asciiParagraph): use += operator for char append to
4571 * paragraph.C (getFontSettings): compare >= not just >
4572 (highestFontInRange): ditto
4575 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4577 * paragraph.C: change several algorithm to be more appripriate for
4578 the problem domain. This is lookip in FontList and in the InsetList.
4580 2002-03-13 André Pönitz <poenitz@gmx.net>
4583 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4585 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4590 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4592 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4594 * Painter.C (display): anon helper function, adjust code for this
4596 (pixmap): remove function.
4598 * Painter.h: remove private display variable.
4600 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4602 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4604 * WorkArea.[Ch]: remove figinset_canvas cruft.
4606 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4608 * lyxtextclass.C (operator): add one item cache optimization.
4610 * bufferlist.h: doxy changes
4612 * bufferlist.C: ws changes
4614 * DepTable.[Ch] (ext_exist): place const in the right spot.
4616 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4618 (workAreaExpose): call resizeInsets when the with BufferView changes.
4619 (Dispatch): adjust for protectedBlank removal
4620 (specialChar): call updateInset if the insert went ok.
4622 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4623 specialChar instead.
4625 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4627 * BufferView.h: doxy change
4629 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4631 * lyxtextclass.C (operator[]): remove non-const version
4632 (defaultLayout): remove non-const version
4634 2002-03-12 Juergen Vigna <jug@sad.it>
4636 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4637 did resize the LyXText too.
4639 * buffer.C (readLyXformat2): set layout information on newly allocated
4642 * tabular.C (OldFormatRead): set layout information on the paragraph.
4644 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4646 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4648 2002-03-11 Juergen Vigna <jug@sad.it>
4650 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4652 (resizeCurrentBuffer): force also the insets to resize themselfes.
4653 (moveCursorUpdate): fixed up for InsetText.
4655 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4658 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4659 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4660 value of Dialogs::tooltipsEnabled().
4661 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4663 2002-03-08 Juergen Vigna <jug@sad.it>
4665 * BufferView_pimpl.C (updateInset): update inset inside inset also
4666 if it isn't inside theLockingInset().
4668 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4670 * buffer.C (asciiParagraph): redo some of the word and line length
4672 (getLists): look for Caption instead of caption.
4674 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4676 * buffer.C (Buffer): initialize niceFile to true
4679 (makeDocBookFile): make sure niceFile is true on exit
4681 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4683 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4685 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4687 * LyXSendto.C: remove.
4688 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4689 * lyx_gui.C: remove now-redundant comment.
4690 * ColorHandler.h: remove forward declaration of class WorkArea.
4691 * lyxfunc.C: remove #include "WorkArea.h".
4693 2002-03-07 Juergen Vigna <jug@sad.it>
4695 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4696 got moved away with the DEPM and also set the inset_owner always
4697 right which before could have been omitted.
4699 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4701 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4702 wanted layout is not found.
4704 2002-03-07 Juergen Vigna <jug@sad.it>
4706 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4708 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * paragraph.C (breakParagraph): use default layout not layout of
4712 (Paragraph): clear ParagraphParameters.
4714 2002-03-06 Juergen Vigna <jug@sad.it>
4716 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4717 otherwise it would not be a valid lenght. Fixed a special case in
4718 the minipage compatibility read where we end the document with a
4721 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4722 was set as it could be 0 for InsetTexts first entry.
4724 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4726 * paragraph.C (writeFile): if layout is empty write out
4727 defaultLayoutName().
4729 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4730 file without named layout we set layout to defaultLayoutName().
4732 2002-03-06 Juergen Vigna <jug@sad.it>
4734 * CutAndPaste.C (copySelection): set layout for new paragraph.
4736 * text.C (prepareToPrint): leave ERT inset left aligned
4737 (leftMargin): don't indent paragraphs inside ERT insets
4739 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4741 * paragraph.C (breakParagraph): dont call clear do the work manually
4743 * paragraph.[Ch] (clear): remove function
4745 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * paragraph.C (Paragraph): dont call clear, the work has already
4750 * lyxtextclass.C (operator): assert if n is empty
4752 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4753 work manually instead.
4755 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4757 * BufferView_pimpl.C: protect selectionLost against text == 0
4759 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4761 * text.C (breakParagraph): fix a setting layout to '0' problem.
4763 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4765 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4766 final location of file, for the included files, and graphics.
4768 2002-03-05 Juergen Vigna <jug@sad.it>
4770 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4772 2002-03-04 Juergen Vigna <jug@sad.it>
4774 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4776 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4777 last column of multicolumn cells.
4778 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4780 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4782 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4783 file if it doesn't go to a temporary file.
4785 * buffer.C (sgmlOpenTag):
4786 (sgmlCloseTag): remove extra newline insertion.
4788 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4790 * text.C (getRowNearY): comment out debug msg
4792 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4794 * text2.C: first -> first_y
4796 * text.C (getRowNearY): add some attemts at a possible
4797 optimization, not working.
4799 * tabular.[Ch]: add BufferParams to several function so that newly
4800 created paragraph can be initialized to he default layotu for the
4803 * tabular-old.C (ReadOld): add buf->params to call of Init
4805 * screen.C: rename text->first to text->first_y
4807 * paragraph.C (breakParagraph): always set layout in the broken
4810 * lyxtextclass.C (Read): remove lowercase
4813 (delete_layout): ditto
4815 * lyxtext.h: rename first -> first_y
4817 * lyxlayout.C (Read): remove lowercase
4820 (obsoleted_by): ditto
4822 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4824 * buffer.C (insertErtContents): add params are to InsetERT
4825 (parseSingleLyXformat2Token): add code to check if a paragraphs
4826 layout really exist.
4827 (parseSingleLyXformat2Token): add params to several inset
4829 (asciiParagraph): remove lowercase, do the layout comparisons with
4832 * BufferView_pimpl.C (cursorNext): first -> first_y
4833 (resizeCurrentBuffer): first -> first_y
4834 (updateScrollbar): first -> first_y
4835 (scrollCB): first -> first_y
4836 (workAreaMotionNotify): first -> first_y
4837 (workAreaButtonPress): first -> first_y
4838 (checkInsetHit): first -> first_y
4839 (cursorPrevious): first -> first_y
4840 (cursorNext): first -> first_y
4841 (Dispatch): add buffer_->params to severl inset contructors
4843 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4845 * lyxlayout.C (Read): remove some debug info that I forgot.
4847 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4848 clean up the code slightly.
4849 (makeLinuxDocFile): ditto
4850 (makeDocBookFile): ditto
4852 * text2.C: layout as string
4854 * text.C: layout as string
4856 * paragraph_pimpl.C: layout as string
4858 * paragraph.[Ch]: layout as string
4860 * lyxtextclasslist.[Ch]: layout as string
4862 * lyxtextclass.[Ch]: layout as string
4864 * lyxtext.h: layout as string
4866 * lyxlayout.[Ch]: layout as string
4868 * lyx_cb.C: layout as string
4870 * bufferview_funcs.C: layout as string
4872 * bufferparams.C: layout as string
4874 * buffer.C: layout as string
4876 * LyXView.[Ch]: layout as string
4878 * LaTeXFeatures.[Ch]: layout as string
4880 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4882 * BufferView_pimpl.C: change current_layout to string, remove
4887 (workAreaButtonRelease): layout as string
4889 * BufferView2.C (unlockInset): adjust
4891 * vspace.C (asLatexCommand): use an explict temp variable.
4893 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4895 * Makefile.am: use FRONTEND_*
4897 2002-03-01 Juergen Vigna <jug@sad.it>
4899 * tabular.C (SetWidthOfMulticolCell): changed to something better
4900 I hope but still work in progress.
4901 (recalculateMulticolumnsOfColumn): renamed function from
4902 recalculateMulticolCells as it is more appropriate now.
4903 (SetWidthOfCell): calculate multicols better.
4905 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4909 * lyxfunc.C (processKeySym): print sequence also if it is
4910 `deleted' (complete)
4912 * kbsequence.C (print): print sequence even if it is deleted
4913 (complete would be a better word, actually).
4915 * lyxfunc.C (dispatch): print complete options after a prefix key
4917 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4919 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4921 * text2.C (setCharFont): eliminate setCharFont code duplication.
4923 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4925 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4926 LFUN_TABULAR_FEATURE (bug #177)
4928 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4930 * Makefile.am: remove figure.h
4932 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4934 * Bufferview_pimpl.C:
4946 * text2.C: remove #include "lyx_gui_misc.h".
4948 * LaTeX.C: added #include <cstdio>
4950 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4953 that the paragraph following this one can have.
4955 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4957 * vspace.C (asLatexCommand): fix bogus gcc warning
4959 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4961 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4963 * text2.C (setLayout): get rid of redundant code
4965 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4967 * text2.C (incDepth): make sure depth cannot be increased beyond
4970 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4972 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4973 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4975 * PainterBase.h (image):
4976 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4979 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4983 * BufferView_pimpl.C:
4984 * BufferView_pimpl.h:
5004 * sp_spell.C: remove fig inset, and the crap house of
5005 cards that follows it
5007 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5013 * nt_defines.h: move .h into support/
5015 * vms_defines.h: remove
5017 * WorkArea.C: add space in debug output
5021 * buffer.C: add WITH_WARNINGS
5025 * bufferlist.C: s/retrive/retrieve/, add docs
5036 * lyxgui.C: add ID to X error handler
5038 * lyxtestclass.c: fix typo
5040 2002-02-26 Juergen Vigna <jug@sad.it>
5042 * tabular_funcs.C (write_attribute): changed so that some default
5043 attributes are not written at all.
5044 (getTokenValue): set default values before trying to read the
5045 value so we have the return value always set as default if we don't
5046 find the token we search for.
5048 * tabular.C (Write): write bools as bools not as strings!
5050 2002-02-22 Juergen Vigna <jug@sad.it>
5052 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5053 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5055 * text.C (leftMargin): don't add an indent for paragraphs inside
5056 tabular cells (fix #208).
5058 2002-02-21 José Matos <jamatos@fep.up.pt>
5060 * tabular.C (docBook): fixed support for long tables.
5062 2002-02-20 Juergen Vigna <jug@sad.it>
5064 * text2.C (getFont): get the drawing font of the Inset if this
5065 paragraph is inside an inset (only important for InsetERT for now).
5067 * buffer.C (insertErtContents): use new lanugage params in ERT
5070 * CutAndPaste.C: commenting out seemingly uneeded code.
5072 2002-02-19 Allan Rae <rae@lyx.org>
5074 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5075 Iterators might be simple to use but they also get invalidated.
5076 (removeAutoInsets): renamed saved cursor tracking variables and added
5077 some comments to clarify what everything does.
5079 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5086 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5087 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5090 * vc-backend.h: remove #include "support/syscall.h"
5094 * converter.C: rearrange #includes in Lars' approved fashion.
5096 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5097 forward declare class Timeout in the header file.
5099 * XFormsView.C: changes due to the above.
5101 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5104 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5105 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5107 2002-02-18 José Matos <jamatos@fep.up.pt>
5109 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5112 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5114 * a lot of small ws changes
5115 * add a lot of using std::XXX
5116 * use std construcs some places where approp.
5117 * use some exisint stuff from lyxfunctional where approp.
5118 * Make file changes to use partial linking (lets test this now...)
5120 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5124 remove #include "support/syscontr.h" as it's redundant. Always has been.
5132 change Systemcalls::System to Systemcalls::Wait and
5133 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5134 No change of functionality, just reflects the stripped down Systemcalls
5137 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5139 * debug.[Ch]: add a GRAPHICS type to the enum.
5141 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5143 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5145 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5148 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5150 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5151 match the changes below.
5153 * text2.C (toggleInset): if there is not editable inset at cursor
5154 position, try to see if cursor is _inside_ a collapsable inset
5157 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5159 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5160 document menu has a nice checkbox
5162 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5164 * lyxlength.C (asLatexString): change PW to output as percent of
5167 * lengthcommon.C: change '%' to 't%'
5169 * lyxfunc.C (dispatch): a few comments from Martin
5171 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5175 * BufferView_pimpl.h:
5176 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5179 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * vspace.C (inPixels): fix compiler warning
5183 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5185 * lyxfunc.C (getStatus): fix status message for disabled commands.
5187 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5189 * BufferView_pimpl.C: fix crash on close buffer
5190 during selection (#227)
5192 2002-01-27 Herbert Voss <voss@lyx.org>
5194 * buffer.C: link old Figure to new graphic inset
5196 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5198 * FontLoader.C (getFontinfo): Change the latex font names in order
5199 to match the names of type1inst.
5201 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5203 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5205 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5208 (remove_files_with_extension): ditto
5209 (remove_file): ditto
5212 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5213 document is smaller than the work area height. Do not initialize
5214 static variables to 0.
5216 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5218 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5220 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5221 LFUN_LAYOUT_PARAGRAPHS.
5223 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5224 tabular. It is possible to provide a possible cell, which will
5225 typically be the actcell from the corresponding insettabular
5227 * lyxfunc.C (getStatus): small cleanup; disable
5228 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5231 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5233 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5235 * paragraph.C (startTeXParParams):
5236 (endTeXParParams): new methods. The LaTeX code to
5237 start/end paragraph formatting
5238 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5239 empty (fixes bug #200)
5241 * vspace.C (inPixels): adapt to the change below
5242 (inPixels): [later] more cleanups (remove unused variables)
5244 * lyxlength.C (inPixels): change to use a width and a height as
5247 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5249 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5250 Replaced with \paperwidth
5252 * DepTable.C (insert): add std:: qualifier
5254 2002-01-18 Allan Rae <rae@lyx.org>
5256 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5259 * text.C (drawInset): Turned out I didn't know enough about how
5260 rebreaking worked. This fixes most of the redraw problems. I see
5261 an occasional cursor trail when a line is broken now and the cursor
5262 placement can seem out by a few pixels also after a rebreak.
5264 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5266 * buffer.C (parseSingleLyXformat2Token): update because minipage
5267 width is now a LyXLength
5269 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5271 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5274 2002-01-17 Juergen Vigna <jug@sad.it>
5276 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5278 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5279 is set correctly and the inset is updated correctly.
5281 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5283 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5284 the beginning of the loop.
5286 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5288 * lyxrc.C: improve help for use_scalable_fonts
5290 2002-01-17 Allan Rae <rae@lyx.org>
5292 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5294 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5296 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5297 make sure to set their inset_owner to the right value (bug #171)
5299 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5302 * DepTable.C: Implement mtime checking to reduce time spent doing
5305 2002-01-16 Juergen Vigna <jug@sad.it>
5307 * tabular.C (GetAdditionalHeight): one of error fixed.
5309 * lyxrc.C (output): small fix in writing use_pspell.
5311 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5313 * sp_base.h: #include LString.h
5315 2002-01-16 Allan Rae <rae@lyx.org>
5317 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5318 Can someone check this please?
5320 * text.C (drawInset): It was possible that p.row would be removed by
5321 breakAgainOneRow upsetting a few other settings. There may be another
5322 small tweak possible by setting need_break_row = 0 when p.row has been
5323 removed but I don't know enough about the logic here.
5325 2002-01-15 Allan Rae <rae@lyx.org>
5327 * text.C (insertChar): removed conditional truism.
5329 * BufferView2.C (removeAutoInsets): More tweaks.
5330 cur_par_prev could be a stray pointer. Check for trailing empty line
5331 in case last line was cur_par and only had an error inset on it.
5333 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5335 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5338 * vc-backend.C (most methods):
5339 * exporter.C (Export):
5340 * converter.C (convert):
5342 * LyXSendto.C (SendtoApplyCB):
5343 * lyxfunc.C (dispatch):
5347 * lyx_cb.C (AutoSave):
5349 * BufferView_pimpl.C (MenuInsertLyXFile):
5350 * buffer.C (runChktex): use Buffer::filePath().
5352 * buffer.h: rename filename to filename_; rename filepath to
5353 filepath_ and make it private
5354 (filePath): new method
5356 * buffer.C (writeFile): use fileName()
5359 * lyx_main.C (init): fix starting of LyX when the binary is a
5360 link from so,ewhere else.
5362 * minibuffer.C: include <cctype> for isprint
5364 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5366 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5367 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5368 name clash with InsetCollapsable's width function.
5370 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * lastfiles.C: include <iterator>
5374 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5376 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5379 * buffer.C (makeLaTeXFile): ditto.
5380 Also make loop operation more transparent.
5382 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5384 * ToolbarDefaults.C: remove trailing comma closing namespace.
5386 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5388 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5391 * trans.C (Load): comment out unused variable, allowed.
5393 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5395 * minibuffer.[Ch] (append_char): new method to recieve input from the
5396 drop-down completion browser. If a key was pressed, then recieve this
5397 char and append it to the existing string.
5398 (peek_event): modify the positioning data passed to the completion
5399 browser so that it can be placed above the minibuffer rather than below.
5400 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5402 * LyXAction.C (init): alloe error-next for readonly documents.
5404 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5407 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5409 * bufferlist.C (readFile): create the buffer _after_ checking that
5412 * lyxfunc.C (verboseDispatch): fix handling of arguments
5414 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5416 * lyxrc.C: use string::erase() instead of initializing to "".
5419 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5421 * BufferView_pimpl.h:
5422 * BufferView_pimpl.C:
5425 * text2.C: tell X when we have made a selection for copying
5427 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5429 * BufferView_pimpl.C (MenuInsertLyXFile):
5430 * lyxfunc.C (menuNew):
5432 (doImport): add shortcuts to directory buttons
5434 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5437 * lyxfunc.C (setStatusMessage):
5438 (getStatusMessage): new methods
5439 (getStatus):use setStatusMessage instead of setErrorMessage
5440 (dispatch): when function is disabled, set error message here
5441 [instead of in getStatus previously]
5443 * BufferView_pimpl.C (workAreaButtonRelease): update
5444 toolbar/menubar here too.
5446 2002-01-13 Allan Rae <rae@lyx.org>
5448 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5449 Now seems indestructible. Remaining task is to audit all other
5450 code affected by deleteEmptyParagraphMechanism. One small quirk
5451 left is that an empty document with an error in the preamble can
5452 be made to report an error but no error box appears. I don't know
5454 (removeAutoInsets): Improved comments.
5456 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5459 * Thesaurus.C: update for Aiksaurus 0.14
5461 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5463 * text2.C (firstParagraph): removed member function, all uses
5464 replaces with ownerParagraph
5465 (redoParagraphs): here
5467 (toggleAppendix): here
5468 * BufferView2.C (insertErrors): here
5469 (setCursorFromRow): here
5471 2002-01-13 Allan Rae <rae@lyx.org>
5473 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5474 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5475 There is still a way to segfault this although you may have to do this
5476 multiple times: Have an InsetERT with an unknown command in it.
5477 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5478 <down-arrow>, <Enter> again, View->DVI, BANG!
5480 * text2.C (setCursor):
5481 (deleteEmptyParagraphMechanism):
5482 * lyxtext.h (setCursor):
5483 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5484 Making use of the return value may help fix other bugs.
5486 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5490 * LyXView.C (updateMenubar): call MenuBar::update here
5491 (updateToolbar): but not here
5492 (showState): do not update toolbar/menubar
5494 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5495 should need to care about that.
5497 * lyxfunc.C (verboseDispatch): simplify a bit
5498 (getStatus): have a version which takes a pseudoaction, and
5499 another which requires a (kb_action,string).
5501 * LyXAction.C (retrieveActionArg): make it work also when action
5502 is not a pseudo-action.
5503 (getActionName): simplify a bit
5506 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5508 * lyxfunc.C (verboseDispatch): new families of methods with
5509 several ways to specify a command and a bool to indicate whether
5510 the command name and shortcut should be displayed in minibuffer
5511 (eventually, we could extend that to a finer bitmask like
5512 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5513 (dispatch): the pristine dispatch command which just, well,
5514 dispatchs! Note it still sets its result to minibuffer; I'm not
5517 * lyxfunc.h: remove setHintMessage
5519 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5521 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5523 * BufferView_pimpl.C (specialChar): delete new inset if we have
5524 not been able to insert it.
5526 * kbmap.C: revert to using int instead of kb_action, since all we
5527 are dealing with is pseudo-actions.
5529 * LyXAction.C (searchActionArg): change to return int instead of
5530 kb_action, since the result is a pseudoaction.
5532 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5534 * buffer.C (insertErtContents): Fix (partially) the font bug.
5536 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5538 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5539 as the other one is broken on my machine!
5541 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5544 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5546 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5548 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5549 reflect their actual use. Provide compatibility code for older lyxrc
5552 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5554 change names of popup font variables in line with the changes to lyxrc.C
5556 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5558 * buffer.C (asciiParagraph): avoid outputing a word twice after
5561 * lyxrc.C (getDescription): document that document_path and
5562 template_path can be empty.
5564 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * LaTeXFeatures.C (getMacros):
5567 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5569 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5571 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5573 (getPackages): rename feature "floats" to "float". Use an array to
5574 iterate over 'simple' features (i.e. just a \usepackage). Add
5575 handling of "amsmath" (renamed from "amsstyle").
5577 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5579 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5582 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5584 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5585 FuncStaus::FuncStatus & FuncStaus::some_method().
5587 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5589 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5590 of the func_satus stuff. Edited and massaged in various ways by
5593 * lyxfunc.C (getStatus): use FuncStatus
5595 2002-01-08 Juergen Vigna <jug@sad.it>
5597 * text.C (nextBreakPoint): use function Inset::isChar().
5599 * paragraph.C (TeXOnePar): use function
5600 Inset::forceDefaultParagraphs.
5602 * buffer.C (latexParagraphs): use function
5603 Inset::forceDefaultParagraphs.
5605 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5607 * lyx_gui.C (init): set the style of the menu popups to
5608 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5610 2002-01-07 Juergen Vigna <jug@sad.it>
5612 * text.C (setHeightOfRow): small fix
5613 (prepareToPrint): don't look at alignment if we don't have the place
5616 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5618 * box.C: New file. Move the Box methods and functions out of box.h,
5619 following Lars' suggestion.
5621 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5623 * box.h: #include "support/LOstream.h", needed for inlined function.
5626 * lyxtextclasslist.C: added some using std declarations.
5628 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5630 * box.h: make signed dimensions to allow insets wider than
5631 the screen (bug #162)
5633 * BufferView_pimpl.C: add some insetHit debug
5635 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5637 * vc-backend.C: add FIXME
5639 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * lyxfunc.C (getStatus): enable code for showing math font status
5644 2002-01-07 Juergen Vigna <jug@sad.it>
5646 * text.C (nextBreakPoint): removed debug output not needed anymore.
5648 2002-01-06 Juergen Vigna <jug@sad.it>
5650 * text.C (nextBreakPoint): fixed up this function we had this bug
5651 since ever but now hopefully we break row better.
5652 (insertChar): we have to check if an inset is the next char as it
5653 could now happen that a large inset is causing a break.
5655 2002-01-05 Juergen Vigna <jug@sad.it>
5657 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5658 if it doesn't like to be drawed.
5660 2002-01-04 Juergen Vigna <jug@sad.it>
5662 * BufferView2.C (lockInset): forgot to set a cursor.
5664 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5666 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5671 * form_maths_panel.C:
5672 * form_maths_panel.h:
5673 * form_maths_panel.fd: implemented sub- and super- buttons in math
5676 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5677 (or ^ space) to be used as in TeX (req'd by André).
5679 * lyxfunc.C: Allow ^ and _ again to be used both as
5680 super/subscript (mathed) and as themselves (in text).
5682 2002-01-03 Allan Rae <rae@lyx.org>
5684 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5685 "LyX" or the filename of the current buffer if it has one. This is a
5686 modified form of John Levon's patch.
5688 * XFormsView.C (setWindowTitle): also set icon title.
5690 * LyXView.h (setWindowTitle): signature changed.
5691 * XFormsView.h (setWindowTitle): ditto.
5693 2002-01-02 Juergen Vigna <jug@sad.it>
5695 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5697 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5699 * screen.C (topCursorVisible): introduce a temp var for
5700 text->cursor.row(), handle the case where this row is null. (kindo
5703 * text2.C (setCursor): add a couple of asserts.
5705 * paragraph.h (inset_iterator): add -> operator
5707 * paragraph.[Ch] (autoDeleteInsets): remove member function
5709 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5710 cursor pos correctly and handle inset deletion by itself.
5711 (insertErrors): move iterator declaration out of for expression
5713 * lyxtextclass.C: add <algorithm>
5715 * Makefile.am: added the new files to sources, removed layout.C
5717 * layout.C: removed file
5719 * layout.h: remove LYX_DUMMY_LAYOUT
5721 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5725 * lyxtextclass.[Ch]:
5726 * lyxtextclasslist.[Ch]: new files
5728 * include order changes to a lot of files, also changes because of
5731 2001-12-27 Juergen Vigna <jug@sad.it>
5733 * buffer.C (asciiParagraph): more fixes.
5735 * tabular.C (ascii): make ascii export support export of only the
5736 data separated by a column-delimiter.
5737 (ascii): better support for ascii export.
5739 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5741 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5743 * tabular_funcs.C: use a "using std::getline" instead of the
5744 previous fix from Angus (necessary for cxx + lyxstring)
5746 2001-12-24 Juergen Vigna <jug@sad.it>
5748 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5750 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5751 problems. First check a minipage also if we have some ert-contents
5752 (not only on par->size(), second set the right depth of the paragraph
5753 on the relink to the root-paragraph-list!
5755 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5756 which then did not anymore update the main paragraphs on undo/redo!
5758 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5760 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5761 code. Support all font-changing funcs (even those which are not in
5762 menu currently). Support for reporting font settings in
5763 mathed (disabled until Andre provides a function on mathed's side).
5765 * func_status.h (toggle): small helper function to set toggle
5768 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5770 * tabular_funcs.C: getline -> std::getline
5772 2001-12-21 Juergen Vigna <jug@sad.it>
5774 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5775 accessed and could be 0 (I couldn't generate this but it seems
5778 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5780 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5781 * tabular_funcs.h: here and include iosfwd
5783 2001-12-20 Juergen Vigna <jug@sad.it>
5785 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5786 inside inset but undo_par was.
5788 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5790 * Thesaurus.C: always include <config.h> in sources.
5794 * box.h: do not include <config.h> in header files
5796 * text.C (paintLastRow): remove unused variable
5798 * text.C (transformChar):
5800 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5803 * font.C (width): rewrite to use uppercase() instead of
5806 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5808 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5810 * lyxfind.C: clean up of find failure position change
5812 2001-12-20 Juergen Vigna <jug@sad.it>
5814 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5816 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5817 (TeXRow): added to LaTeX a single tabular row.
5818 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5819 (Latex): simplified and finally good LT-h/f support.
5820 (various_functions): just small adaptions for LT-h/f support.
5822 * tabular_funcs.[hC]: added and moved here all not classfunctions
5825 2001-12-19 Juergen Vigna <jug@sad.it>
5827 * tabular.[Ch]: better support for longtabular options (not finished
5830 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5832 * text.C (paintLastRow): use the label font instead of the font of
5833 the last character to compute the size of *_BOX. This makes more
5834 sense and avoids a crash with empty paragraphs.
5835 Use Painter::rectangle to draw EMPTY_BOX.
5837 2001-12-19 Juergen Vigna <jug@sad.it>
5839 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5840 the paragraphs if the replaced paragraph is not the first one!
5841 Tried to delete not used paragraphs but does not work yet so for
5842 now it's inside #ifdef's and by default off!
5844 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5846 * MenuBackend.C: include "lyx_main.h" instead of declaring
5847 lastfiles (actually was declared as LastFiles* instead of a
5850 2001-12-17 Juergen Vigna <jug@sad.it>
5852 * tabular.C (AppendColumn): applied John's fix
5854 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5858 * BufferView_pimpl.h:
5859 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5862 * box.h: new start of class for above
5864 * lyxfunc.C: ignore space-only minibuffer dispatches.
5865 Show the command name when it doesn't exist
5867 * minibuffer.C: don't add empty lines to the history
5869 * minibuffer.C: add a space on dropdown completion
5871 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5873 * text.C: fix line above/below drawing in insets
5875 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5877 * lyxlength.C (LyXLength): Initialize private variables.
5879 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5881 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5882 when inserting error insets.
5884 2001-12-13 Juergen Vigna <jug@sad.it>
5886 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5887 actually sometimes the before-paragraph.
5888 (setUndo): don't clear the redostack if we're not actually undoing!
5890 2001-12-06 Juergen Vigna <jug@sad.it>
5892 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5893 and fixed redoing of main paragraph, so we can use it now ;)
5895 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5897 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5899 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5902 2001-12-13 André Pönitz <poenitz@gmx.net>
5905 * undo_func.C: minor cleanup
5907 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5910 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5911 font in urw-fonts package which is marked as -urw-fontspecific and
5912 does not work (incidentally, changing the encoding in the
5913 fonts.dir of this package to -adobe-fontspecific fixes the
5916 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5917 is a crash when undoing first paragraph (Juergen, please take a
5918 look). THis does not mean the undo fix is wrong, just that it
5921 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5922 the (Paragraph*) version when needed instead of duplicating the
5925 * text.C (workWidth): use Inset::parOwner to find out where the
5926 inset has been inserted. This is a huge performance gain for large
5927 documents with lots of insets. If Inset::parOwner is not set, fall
5928 back on the brute force method
5930 * paragraph_pimpl.C (insertInset):
5931 * paragraph.C (Paragraph):
5932 (cutIntoMinibuffer): set parOwner of insets when
5933 inserting/removing them
5935 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5937 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5943 * mathed/formulabase.C:
5944 * mathed/math_cursor.[Ch]:
5945 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5948 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5950 * lyxlength.[Ch] (operator!=): new function
5952 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5954 * text.C (workWidth): use Inset::parOwner to find out where the
5955 inset has been inserted. This is a huge performance gain for large
5956 documents with lots of insets. If Inset::parOwner is not set, fall
5957 back on the brute force method
5959 * paragraph_pimpl.C (insertInset):
5960 * paragraph.C (Paragraph):
5961 (cutIntoMinibuffer): set parOwner of insets when
5962 inserting/removing them
5964 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5966 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5968 * tabular-old.C (getTokenValue):
5969 * tabular.C (getTokenValue):
5970 (write_attribute): new versions for LyXLength
5971 (everywhere): adjust the use of widths
5973 * tabular.h: change the type of widths from string to LyXLength
5975 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5977 * paragraph.C: fixed missing line number count when exporting
5978 Environments to LaTeX file
5980 * buffer.C: added informational message for checking line numbers.
5982 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5984 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5985 paragraph, do the 'double space' part, but not the 'empty
5988 * text.C (workWidth): small optimization
5989 (getLengthMarkerHeight): use minimal size for negative lengths.
5991 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5993 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5995 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5997 2001-12-11 André Pönitz <poenitz@gmx.net>
6000 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6002 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6004 * text2.C: keep selection on a setFont()
6006 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6008 * lyx_cb.C: another bv->text misuse, from insert label
6010 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6013 * kbsequence.C: re-instate nmodifier mask
6015 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6017 * lyx_main.h: make lyxGUI private.
6019 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6021 * lyxfind.C: place the cursor correctly on failed search
6023 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6025 * text.C (getLengthMarkerHeight): for small heights, the arrows
6026 are not always on top/bottom of the text
6027 (drawLengthMarker): smaller arrows; take the left margin in
6028 account; draw also vfills.
6030 (paintLastRow): remove special code for vfill and standard spaces,
6031 since everything is handled in drawLengthMarker now.
6033 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6035 * buffer.C (insertErtContents): try to handle font and language
6036 interaction a bit better.g
6038 * ColorHandler.C (updateColor): change the hash to cover the whole
6039 LColor enum, ws cleanup
6040 (getGCLinepars): ditto
6041 (getGCLinepars): only lookup in the linecache once.
6043 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6045 * iterators.C (operator++): Make the iterator more robust
6047 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6054 * text.C: better added space drawing
6056 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6059 * BufferView2.C: fix layout combo update on inset unlock
6061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6063 * Makefile.am: don't compile unused files
6065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6069 * LyXAction.C: remove old LFUN_LAYOUTNO
6071 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6073 * paragraph_pimpl.h:
6074 * paragraph_pimpl.C: isTextAt() doesn't need font param
6076 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6079 * lyxlex.C: little cleanup
6081 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6083 * BufferView_pimpl.C: fix insertAscii for insets
6085 2001-12-05 Juergen Vigna <jug@sad.it>
6087 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6088 set the right font on the "multi" paragraph paste!
6090 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6096 * lyxlength.C: remove out-commented code.
6112 * vc-backend.C: change "while(" to "while ("
6114 * lyxlength.[Ch]: add zero function to check if length is zero or
6116 * lyxgluelength.C: use it
6118 2001-12-05 Allan Rae <rae@lyx.org>
6120 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6121 Works for 2.95.3, from what I understand of Garst's reports this should
6122 work for other g++ versions. We're screwed if the abs(int) definition
6123 changed between bugfix releases of gcc.
6125 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6127 * text.C: fix chapter label offset !
6129 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6132 * text.C: fix hfill at end of line, clean up
6134 2001-12-04 Juergen Vigna <jug@sad.it>
6136 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6137 that we force an update of the inset and it's owners if neccessary.
6139 2001-12-03 Juergen Vigna <jug@sad.it>
6141 * text.C (rowLast): simplified code
6143 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6145 * lyxfunc.C: fix show options on timeout
6147 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6149 * screen.C (topCursorVisible): scroll half a page when the cursor
6150 reached top of bottom of screen
6152 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6154 * minibuffer.C: deactivate on loss of focus
6156 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6158 * vspace.[Ch] (operator!=): add operator.
6160 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6162 * BufferView_pimpl.C: refuse to open an inset when
6163 there's a selection.
6165 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6167 * BufferView_pimpl.C: allow to click on RHS of full row insets
6169 2001-11-30 Juergen Vigna <jug@sad.it>
6171 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6172 insets for undo reasons.
6174 2001-11-28 André Pönitz <poenitz@gmx.net>
6176 * vspace.[Ch]: cosmetical changes
6178 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6188 * kbsequence.C: part re-write of old kb code
6191 * WorkArea.C: remove Lgb_bug_find_hack
6193 2001-11-30 José Matos <jamatos@fep.up.pt>
6195 * buffer.C (makeDocBookFile): add a comment to point a hack.
6196 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6197 Fixed a double write of labels.
6199 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6202 * LaTeX.h Fixed bug in LaTeX class where it would not
6203 re-run latex if no depfiles were changed, but the .dvi was removed.
6205 2001-11-28 André Pönitz <poenitz@gmx.net>
6207 * all the files from the change on 2001/11/26:
6208 use lyx::layout_type instead of LyXTextClass::size_type
6209 use lyx::textclass_type instead of LyXTextClassList::size_type
6211 2001-11-29 Juergen Vigna <jug@sad.it>
6213 * text.C: added support for paragraph::isFreeSpacing()
6215 * buffer.C: same as above
6217 * paragraph.h: inserted isFreeSpacing() function to enable
6218 FreeSpacing inside InsetERT.
6220 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6221 of the paragraph's in the cut/copy buffer to 0!
6223 * text2.C (removeRow): remove the assert as it can!
6225 * lyxtext.h: added helper function firstRow returning firstrow and
6226 made firstrow private again.
6228 * BufferView2.C (lockInset): don't relock if we're already locked!
6230 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6232 (removeRow): added Assert::(firstrow)
6234 * debug.C: forgot to add INSETTEXT here.
6236 2001-11-28 Juergen Vigna <jug@sad.it>
6238 * sp_spell.C (initialize): changed error text to more general
6239 spellchecker command use (not only ispell!)
6241 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6243 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6245 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6247 * vspace.C: initialise lyxgluelength on failure
6249 2001-11-28 Allan Rae <rae@lyx.org>
6251 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6252 declaration & definition that looks like a function declaration.
6254 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * BufferView2.C (copy):
6257 (copyEnvironment): do not clear the selection when doing a copy.
6259 * text.C (paintFirstRow): compilation fix
6261 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6263 * tabular.C (Latex): correct line count when writing latex.
6265 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6267 * paragraph_pimpl.h:
6268 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6271 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6275 * LColor.C: change vfillline->added_space
6277 * text.C: add markers and text for added space
6279 * vspace.C: fix comment
6281 2001-11-28 André Pönitz <poenitz@gmx.net>
6283 * paragraph.C: whitespace changes
6284 * all the other files from the change on 2001/11/26:
6285 change *::pos_type into lyx::pos_type
6287 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6289 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6290 language of the document when inserting error insets.
6292 2001-11-26 André Pönitz <poenitz@gmx.net>
6294 * BufferView_pimpl.[Ch]:
6302 * paragraph_pimpl.[Ch]:
6305 * text2.C: reduce header dependencies, introduce type for positions
6307 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6309 * <various>: change to use Alert.h
6311 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6313 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6314 when encountering an unknown token.
6315 (readLyXformat2): Show an error message if there were unknown tokens.
6317 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6320 * BufferView_pimpl.C:
6324 * text2.C: use par->isInset()
6326 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6328 * paragraph_pimpl.h:
6329 * paragraph_pimpl.C: cleanup
6331 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6333 * text2.C (removeRow):
6334 * text.C (setHeightOfRow): remove useless (and costly) call to
6337 2001-11-20 Allan Rae <rae@lyx.org>
6339 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6340 Now need Inset*::checkInsertChar() to return true for appropriate
6341 cases so that the characters in the minibuffer will actually be
6344 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6346 * text.C: change the order of the includes.
6347 (workWidth): initialize it at once.
6348 (workWidth): make maxw unsigned
6349 (setHeightOfRow): remove unused variable (inset)
6350 (selectSelectedWord): remove unused variable (inset)
6351 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6353 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6355 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6356 server is not running.
6358 (closeConnection): add debug info when server is disabled.
6360 * ColorHandler.C (getGCForeground): send debug message to GUI
6363 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6365 * kbmap.C (bind): modify because return conventions of
6366 kb_sequence::parse have changed.
6368 * kbsequence.C (parse): only ignore spaces and not any stupid
6369 control character. This avoids tests like s[i] <= ' ', which are
6370 guaranteed to fail with 8bit characters and signed chars.
6371 Change return code to string::npos when there have been no error
6372 (0 was a bad idea when error is at first character)
6374 2001-11-14 José Matos <jamatos@fep.up.pt>
6377 * buffer.C (simpleDocBookOnePar): removed unused argument.
6379 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6381 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6382 insets which are part of a word. Paragraph::isLetter takes care of
6383 that now. Use Paragraph::isInset to identify insets.
6384 (selectSelectedWord): do not test for hyphenation break.
6386 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6387 that protected spaces are considered as spaces.
6389 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6392 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6395 * lyxserver.C: fix it. and small cleanup.
6397 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6399 * BufferView_pimpl.C: use inline helpers
6402 * LaTeXFeatures.C: fix typos
6405 * Spacing.C: move spacing_string into class
6407 * ToolbarDefaults.C: move stuff into namespace anon
6409 * layout.h: update enum
6411 * lyxfunc.C: use better debug
6413 * minibuffer.h: fix typo
6417 * WorkArea.C: add and use Debug::WORKAREA
6421 * text2.C: code re-organisation, inline helpers
6423 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6425 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6426 std::vector.empty().
6428 2001-11-09 Allan Rae <rae@lyx.org>
6430 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6431 '\n's after tables. Tabular and ERT inset work now makes this no
6434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6437 * minibuffer.C: fix crash, improve drop-down completion
6439 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6442 * lyxserver.C: invalidate fd's when doing endPipe()
6444 2001-11-08 José Matos <jamatos@fep.up.pt>
6446 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6447 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6450 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6452 2001-11-07 José Matos <jamatos@fep.up.pt>
6455 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6458 * buffer.C (sgmlOpenTag):
6459 * buffer.C (sgmlCloseTag): removed debug info.
6461 * buffer.h (sgmlOpenTag):
6462 * buffer.h (sgmlCloseTag): made public.
6464 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6466 * buffer.C (saveParamsAsDefaults):
6467 * lyx_cb.C (MenuLayoutSave): remove
6469 * LyXAction.C (init):
6471 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6473 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6475 * buffer.C (setPaperStuff): removed from here...
6477 * bufferparams.C (setPaperStuff): ... and moved there.
6479 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6483 * XFormsView.C: add support for drop-down completion
6485 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6487 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6490 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6492 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6495 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6497 * lyx_main.C: change ref to known bugs
6499 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6501 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6502 to work around older babel problems.
6504 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6506 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6508 2001-10-24 Juergen Vigna <jug@sad.it>
6510 * tabular-old.C (ReadOld): below variable changes reflected.
6512 * tabular.[Ch]: added ltType struct for longtable header/footer
6513 defines and changed all instances where they are used. Added
6514 future support for double top/bottom rows.
6516 2001-10-24 José Matos <jamatos@fep.up.pt>
6518 * buffer.h (docbookHandleCaption):
6519 * buffer.C (docbookHandleCaption): removed unused function.
6520 (makeDocBookFile): moved docbook supported version to v4.1.
6522 2001-10-24 José Matos <jamatos@fep.up.pt>
6525 * tabular.C (docbookRow): new function to export docbook code of a row.
6526 (DocBook): now honors the longtable flags.
6528 2001-10-23 José Matos <jamatos@fep.up.pt>
6531 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6532 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6534 * buffer.C (makeLinuxDocFile):
6535 (makeDocBookFile): reworked the preamble, more clean, and with
6536 support for lyx defined entities. Changed the document declaration
6537 to be more XML friendly.
6539 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6540 if we need to output XML that should be done with a filter.
6542 2001-10-22 Juergen Vigna <jug@sad.it>
6544 * sp_pspell.h (class PSpell): add alive function needed in the
6545 controller to see if the spellchecker could be started.
6547 2001-10-22 Juergen Vigna <jug@sad.it>
6549 * buffer.C (insertStringAsLines): modify the font for inserting
6550 chars in certain conditions by calling checkInsertChar(font).
6552 2001-10-19 Juergen Vigna <jug@sad.it>
6554 * text.C (workWidth): use getRow instead of wrong algorithm.
6555 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6557 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6562 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6564 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6566 * text.C (workWidth): do not search for the exact row when
6567 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6568 optimization for big documents.
6570 2001-10-18 Juergen Vigna <jug@sad.it>
6572 * text.C (workWidth): new function with added Inset * parameter.
6574 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6578 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6579 change return type of getColumnNearX.
6582 * text.C (changeRegionCase): use uppercase/lowercase instead of
6585 (rightMargin): simplify code by factoring out the uses of
6590 (appendParagraph): use Paragraph::size_type
6592 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * vspace.C (asLatexString): add a missing break
6596 2001-10-15 Herbert Voss <voss@perce.de>
6598 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6600 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6605 2001-10-10 André Pönitz <poenitz@gmx.net>
6607 * lyxfunc.C: removed greek_kb_flag.
6609 2001-10-10 Herbert Voss <voss@perce.de>
6611 * lyx_main.C: delete global string help_lyxdir.
6613 2001-10-09 Herbert Voss <voss@perce.de>
6615 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6617 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6619 * lyx_main.C: added global string help_lyxdir.
6621 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6623 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6625 * lyxrc.C (set_font_norm_type): support iso8859-4
6627 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6629 * LaTeX.C (deplog): add another regex for MikTeX
6631 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6633 * lyxrc.C (set_font_norm_type): support iso8859-3
6635 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6637 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6639 * LaTeXFeatures.C: remove special case of french and index
6641 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6642 before \begin{document}). This solves several incompatibilities.
6644 2001-10-03 Garst Reese <reese@isn.net>
6646 * lyx_cb.C: change CheckTex error msg.
6648 2001-10-03 José Matos <jamatos@fep.up.pt>
6650 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6652 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6654 * .cvsignore: update
6656 * lyx_main.C (commandLineVersionInfo): use new style version info.
6658 * buffer.C (writeFile):
6661 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6663 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6665 * version.h: update to use stuff in version.C
6667 * version.C.in: new file. Contains version information determined
6668 at compile time. This is a merging of version.h and
6671 2001-10-03 Juergen Vigna <jug@sad.it>
6673 * BufferView_pimpl.C (update): don't change "dirty" status in
6676 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6678 * WorkArea.C (c-tor): re-position version string slightly.
6680 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6682 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6683 revert to previous code.
6685 WorkArea.[Ch]: (show, destroySplash): methods removed.
6687 WorkArea.C: rework code so that it's an amalgam of the codes before and
6688 after the splash screen was moved to WorkArea.
6690 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6693 * vspace.C (inPixels):
6696 * buffer.C (insertStringAsLines):
6697 (asciiParagraph): fix types to be large enough
6699 * lyxlex_pimpl.h: change member status from short to int
6701 * layout.h: fix type of endlabeltype
6704 * kbsequence.C (parse): change return type to string::size_type
6706 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6709 * Bullet.C (bulletSize):
6710 (bulletEntry): do not use short ints as parameters
6712 * BufferView2.C (insertLyXFile): change a char to an int.
6714 * WorkArea.C (WorkArea): remove unneeded floats in computation
6716 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6718 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6720 * paragraph.C (asString): Do not ignore newline/hfill chars when
6721 copying to the clipboard.
6723 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6725 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6726 after a multi-line inset.
6728 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6730 * paragraph.C (validate): Set NeedLyXFootnoteCode
6732 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6734 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6735 and decrease-error to decrease.
6737 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6739 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6740 it more readable (should be equivalent)
6742 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6744 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6746 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6748 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6749 of a cursor (row, etc.) after a character has been deleted
6750 (deleteEmptyParagraphMechanism): call the method above on _all_
6751 cursors held by the LyXText when a double space has been
6754 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6756 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6758 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6760 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6761 background. Use greyOut() and the new show() methods to toggle between
6762 the foreground and background. Add code to remove the splash after
6763 its initial showing.
6765 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6766 (create_forms): no longer call Dialogs::showSplash.
6768 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6770 * .cvsignore: add version_info.h
6772 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6774 * version_info.h.in: new file
6776 * Makefile.am: add version_info.h.in
6778 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6779 version_info.h instead of VERSION_INFO
6781 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6783 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6784 The ERT inset now returns string().
6786 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6788 * lyxtext.h, text.C (selectNextWord): renamed as
6789 selectNextWordToSpellcheck.
6791 * text.C (selectNextWordToSpellcheck): Modified to not select
6792 words inside an ERT inset.
6794 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * lyx_cb.C (MenuLayoutSave): change a bit the question
6798 * sp_base.h: include <sys/types.h>
6800 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6802 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6804 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6806 * several files: fix typos in user-visible strings
6808 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6810 * text2.C (pasteSelection): do not set the selection, since it
6811 will be cleared later. Actually, the intent was to fix the way the
6812 selection was set, but I figured rmoving the code was just as good.
6814 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6816 * FontLoader.C (available): Check if font is available without
6819 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6821 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6823 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6825 * lyxrc.[Ch]: added display_graphics variable and associated code.
6827 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6829 * bufferparams.C (hasClassDefaults): new method. Returns true if
6830 the buffer parameters correspond to known class defaults
6832 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6834 * XFormsView.C (show): set minimum size to the main window.
6836 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6838 * text2.C (copySelection):
6840 * lyxfind.C (LyXReplace):
6841 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6842 LyXText::selectionAsString.
6844 * paragraph.C (asString): add "label" argument to the second form
6846 * text2.C (selectionAsString): add "label" argument and pass it to
6847 Paragraph::asString.
6849 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6851 * lyx_main.C (commandLineHelp): remove version information
6853 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6855 * lyx_main.C: add -version commandline option
6857 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6859 * paragraph.h: make the optional constructor arg required instead.
6860 some modifications to other files because of this.
6862 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6864 * lyxserver.C (C_LyXComm_callback): make it static
6866 * lyx_main.C (error_handler): make it static
6868 * lyx_gui.C (LyX_XErrHandler): make it static
6870 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6872 * WorkArea.C: make the extern "C" methods static.
6874 * Makefile.am (lyx_LDADD): simplify
6876 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6878 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6879 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6881 * LyXAction.C (init):
6882 * lyxfunc.C (dispatch): associated code removal.
6884 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6886 * lyxfont.h (isSymbolFont): shut off warning
6888 * text.C (setHeightOfRow):
6889 (getVisibleRow): fix crash with empty paragraphs which have a
6892 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6894 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6897 2001-09-04 José Matos <jamatos@fep.up.pt>
6900 * tabular.C (docbook): rename docBook method to docbook.
6902 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6904 * Makefile.am: add dependencies to main.o.
6906 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6908 * FontLoader.C (available): Return false if !lyxrc.use_gui
6910 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6912 * FontInfo.C (query):
6913 * converter.C (view):
6914 * importer.C (Import):
6915 * exporter.C (Export): Can not -> cannot.
6917 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6919 * BufferView_pimpl.C: allow to create index inset even if
6922 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6924 * buffer.C (getLists): replace boost::tie code with an explicit pair
6925 as boost::tie can break some compilers.
6927 * iterators.h: Added a std:: declaration to the return type of
6930 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6932 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6935 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6937 * iterators.[Ch]: New files. Provide paragraph iterators.
6939 * buffer.C (changeLanguage): Use paragraph iterators.
6940 (isMultiLingual): ditto
6942 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6944 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6946 * FontLoader.C: Support for cmr font.
6948 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6950 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6951 (available): New method.
6953 * FontInfo.C (getFontname): Use scalable fonts even when
6954 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6957 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6959 * converter.C (Formats::view): reverted! Incorrect fix.
6961 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6963 * converter.C (Formats::view): only output the -paper option
6964 if the dvi viewer is xdvi, thereby fixing bug #233429.
6966 2001-08-23 Herbert Voss <voss@perce>
6968 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6970 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6972 * Spacing.h (Spacing): Set space to Default on in the default
6975 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * vc-backend.h (RCS::versionString): add RCS to version
6978 (CVS::versionString): add CVS to version
6980 * vc-backend.C (scanMaster): do not add CVS to version.
6981 (scanMaster): do not add RCS to version
6983 * lyxvc.C (versionString): new method
6985 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6987 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6989 * Spacing.C (set): initialize fval
6991 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6993 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6996 2001-08-16 Juergen Vigna <jug@sad.it>
6998 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7000 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7002 * BufferView_pimpl.C:
7005 * text2.C: setParagraph takes linespacing now
7007 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7009 * LyxAction.C: add internal LFUN_CITATION_INSERT
7011 * LyXView.C: actually apply fix
7013 * bufferlist.C: fix open non-existent file
7015 * lyxfind.C: fix indentation
7017 * lyxfunc.C: remove unneeded assert, fix typo
7019 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7021 * MenuBackend.C: use "Floatname List"
7023 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7025 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7026 when converting LaTeX layout to insetERT.
7027 Generate a non-collapsed float when reading old float
7029 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7031 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7034 2001-08-13 Juergen Vigna <jug@sad.it>
7036 * text.C (fill): return 0 instead of 20 as this seems to be the more
7039 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7041 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7044 2001-08-13 Juergen Vigna <jug@sad.it>
7046 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7048 (SearchBackward): comment out the unlocking of the inset_owner this
7049 should not be needed!
7051 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7053 * Many files: Remove inherit_language, and add latex_language
7055 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7058 2001-08-10 Juergen Vigna <jug@sad.it>
7060 * text.C (prepareToPrint): fixed hfill-width in draw!
7062 * BufferView2.C (selectLastWord): save the selection cursor as this
7063 now is cleared in the function LyXText::clearSelection!
7065 2001-08-08 Juergen Vigna <jug@sad.it>
7067 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7068 BACKSPACE type functions.
7070 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7071 is only cutted from the document but not put in the cut-buffer, where
7072 still the old stuff should be.
7074 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7076 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7078 * tabular.C (SetWidthOfCell): fixed special case where the width
7080 (LeftLine): handle '|' in align_special.
7082 (LeftAlreadyDrawed): ditto
7083 (SetWidthOfCell): ditto
7085 2001-08-07 Juergen Vigna <jug@sad.it>
7087 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7089 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7091 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7092 * lyxlex.[hC]: ditto
7094 2001-08-06 Juergen Vigna <jug@sad.it>
7096 * text.C (getVisibleRow): fix up row clearing a bit.
7098 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7100 * minibuffer.C: make sure the X server sees the changes in the input.
7102 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7104 * paragraph.C (getFont): split into...
7105 (getLabelFont): this
7106 (getLayoutFont): and this
7107 * paragraph_pimpl.C (realizeFont): calling this
7109 * text2.C (getFont): split into...
7110 (getLayoutFont): this
7111 (getLabelFont): and this
7112 (realizeFont): all three calling this
7114 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7117 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7119 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7121 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7123 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7124 layouts from the Quote inset insertion.
7126 2001-08-03 Juergen Vigna <jug@sad.it>
7128 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7130 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7131 only if status not is already CHANGED_IN_DRAW (second level).
7133 * text.C (draw): don't set the need_break_row when inside an
7136 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7138 * buffer.C (parseSingleLyXformat2Token): handle more latex
7141 * bufferview_funcs.[hC]: change function names to
7142 begin with small char, adjust other files.
7144 2001-08-02 André Pönitz <poenitz@gmx.net>
7147 BufferView_pimpl.C: remove broken special code for math-greek
7149 2001-08-02 Juergen Vigna <jug@sad.it>
7151 * BufferView_pimpl.C (update): redone this function so that we
7152 update the text again if there was a CHANGE_IN_DRAW.
7154 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7155 (drawFromTo): added a new internal bool which is used by draw() and
7157 (general): some cursor drawing problems fixed.
7159 2001-08-01 Juergen Vigna <jug@sad.it>
7161 * lyxfind.C (LyXFind): fixed
7162 (SearchForward): ditto
7163 (SearchBackward): ditto
7165 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7166 spurius drawing of the cursor in the main area.
7168 * text2.C (status): small fix which could lead to a segfault!
7169 (clearSelection): remove unneeded BufferView param.
7171 2001-08-01 André Pönitz <poenitz@gmx.net>
7173 * lyxfunc.C: small change due to changed mathed interface
7175 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7177 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7179 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7181 * lyxfunc.c: fail gracefully if file doesn't exist
7186 * BufferView_pimpl.C: IsDirWriteable() proto changed
7188 * LyXView.C: fix updateWindowTitle() to store the last title
7190 2001-07-31 Juergen Vigna <jug@sad.it>
7192 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7193 the font (wrong since using of Paragraph::highestFontInRange).
7195 * paragraph.C (highestFontInRange): added a default_size parameter.
7197 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7198 (setHeightOfRow): reformat
7200 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7202 * converter.[hC] + affected files: move to (inital-char)lowercase
7205 * ParagraphParameters.C (ParagraphParameters): remove commented code
7207 * PainterBase.[Ch]: remove commented code
7209 * LaTeXFeatures.h: add "bool floats" for float.sty
7211 * LaTeXFeatures.C (LaTeXFeatures): init floats
7212 (require): handle float
7213 (getPackages): do it with floats
7215 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * BufferView_pimpl.C (Dispatch): improve handling of
7218 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7220 * commandtags.h: #include lyxfont.h here temporarily to avoid
7223 * bufferlist.h: include LString.h here.
7225 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * text2.C (getStringToIndex): new method.
7229 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7231 * *: Reduced header file dependencies all over.
7233 2001-07-30 Baruch Even <baruch@lyx.org>
7235 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7237 2001-07-29 Baruch Even <baruch@lyx.org>
7239 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7241 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7243 * ParameterStruct.h (endif): add a default constructor to make
7244 sure that all variables is initialized.
7246 * ParagraphParameters.C (ParagraphParameters): adjust
7248 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7250 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7251 index; also, check that there is something to index, and that it
7252 does not span over several paragraphs.
7253 (doubleClick): use WHOLE_WORD_STRICT for double click.
7255 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7257 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7260 2001-07-26 Baruch Even <baruch@lyx.org>
7262 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7263 an InsetFig figure, backwards compatible reading of old figure code.
7265 2001-07-27 Juergen Vigna <jug@sad.it>
7267 * text2.C: font.realize function adaption.
7269 * text.C (draw): add a warnings lyxerr text if needed.
7271 * layout.C: font.realize function adaption.
7273 * language.C: add inherit_language and implement it's handlings
7275 * bufferview_funcs.C (StyleReset): remove language parameter from
7276 font creation (should be language_inherit now).
7278 * bufferparams.C (writeFile): handle ignore_language.
7280 * paragraph.C (getFontSettings): the language has to be resolved
7281 otherwise we have problems in LyXFont!
7283 * lyxfont.C (lyxWriteChanges): added document_language parameter
7284 (update): removed unneeded language parameter
7286 * paragraph.C (validate): fixed wrong output of color-package when
7287 using interface colors for certain fonts in certain environments,
7288 which should not seen as that on the final output.
7290 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7292 * BufferView_pimpl.C:
7297 * LyXAction.C: add thesaurus support
7300 * lyxfind.C: add "once" parameter, for thesaurus, to not
7301 move to the next match
7303 2001-07-26 Juergen Vigna <jug@sad.it>
7305 * lyxfont.C (realize): honor ignore_language too!
7308 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7310 * text.C (draw): one place more for ignore_language to not draw
7313 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7315 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7317 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7320 the minipage conversion problem.
7322 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7324 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7327 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7329 * BufferView.h: don't forward declare WorkArea
7331 * BufferView.C: don't include WorkArea.h
7333 2001-07-25 André Pönitz <poenitz@gmx.net>
7337 * lyxfunc.C: new LFUN 'math-space'
7339 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7341 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7343 * text2.C (toggleInset): call open/close
7345 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7347 * lyxfunc.C (dispatch): add debug for the disabled case
7349 * font.C (buttonText): make similar to rectText
7351 * buffer.C (readInset): comment out parsing of insetlist and
7354 * PainterBase.C (rectText): small correction
7356 * BufferView_pimpl.C: comment out insettheorem and insetlist
7357 * LyXAction.C: ditto
7358 * commandtags.h: ditto
7360 2001-07-24 Juergen Vigna <jug@sad.it>
7362 * text.C (draw): honor the ignore_language.
7364 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7366 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7368 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7371 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7373 * lyxtext.h: remove unused (and unimplemented) methods
7375 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7377 * text.C (getVisibleRow): honor background color
7380 * Painter.h: remove default color argument for fillRectangle
7382 * text.C (backgroundColor): new method
7384 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7386 * text.C (getVisibleRow): adjust
7388 * font.[Ch] (rectText): new method, metrics
7389 (buttonText): new method, metrics
7391 * PainterBase.[hC]: make rectText and buttonText always draw and take
7394 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7396 * ToolbarDefaults.C (read):
7397 * MenuBackend.C (read): allow escaping in all strings
7399 * BufferView_pimpl.C (insertAndEditInset): new method.
7400 (Dispatch): use insertAndEditInset whenever appropriate.
7402 * BufferView_pimpl.C (insertNote): removed
7404 * BufferView_pimpl.C (smartQuote): new method, moved from
7405 BufferView; if an insetquote cannot be inserted, insert a '"'
7408 * BufferView2.C: remove insertCorrectQuote();
7410 * lyxfunc.C (getStatus): Add support for all remaingin
7413 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7415 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7416 command (necessary to pass " as parameter of self-insert.
7418 * text.C (selectWordWhenUnderCursor):
7419 (selectWord): add word_location parameter
7420 (selectWordWhenUnderCursor): same + remove special code for word
7422 (selectNextWord): use kind() to guess type of insetspecialchar,
7425 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7426 (insertErtContents): create ert insets as collapsed.
7427 (readInset): better compatibility code for Info inset.
7429 2001-07-20 Juergen Vigna <jug@sad.it>
7431 * lyxfunc.C (dispatch): use always LyXFind now!
7433 * text2.C (init): add a reinit flag so that the LyXText can be
7434 reinited instead of deleted and reallocated (used in InsetText).
7436 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7442 2001-07-18 Juergen Vigna <jug@sad.it>
7444 * text.C (selectNextWord): handle insets inside inset by calling
7445 always the bv->text functions so that we can go up the_locking_inset!
7447 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7448 in strange locations when inside an inset!
7450 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7451 handling to include insets.
7453 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7455 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7457 * LyXAction.C (init):
7459 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7460 LIGATURE_BREAK, since the name is so stupid.
7462 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7464 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7467 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7469 * sp_form.[Ch]: remove.
7471 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7473 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7476 * src/buffer.C (readInset): ditto.
7478 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7480 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7481 menuSeparator(), endOfSentenceDot(), ldots() and
7482 hyphenationPoint(), which are therefore removed.
7483 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7485 * LyXAction.C (init):
7486 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7488 * paragraph.C (getWord): removed.
7490 * BufferView_pimpl.C (Dispatch): use last word or selection for
7491 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7493 * lyx_main.C (queryUserLyXDir): do not ask before creating
7494 user_dir, except if it has been named explicitely.
7496 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7498 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7499 a document of zero size.
7501 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7503 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7504 approriately in the c-tor and in require().
7505 (getPackages): output the appropriate LaTeX for natbib support.
7507 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7508 variables "use_natbib" and "use_numerical_citations" when reading the
7510 (readInset): read the various natbib cite commands.
7511 (validate): white-space change.
7513 * bufferparams.[Ch]: new variables "bool use_natbib" and
7514 "bool use_numerical_citations".
7515 (writeFile): output them in the LyX file.
7517 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7519 * lyxfunc.C (getStatus): add support for all the inset insertion
7522 * text2.C (insertInset):
7523 * paragraph.C (insetAllowed):
7524 * BufferView_pimpl.C (insertInset): update to take in account the
7525 renaming of insertInsetAllowed
7527 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7529 * text2.C (getInset): new method. returns inset at cursor position.
7531 * BufferView_pimpl.C (Dispatch): changes because of this.
7533 * LyXAction.C (init): rename open-stuff to inset-toggle.
7535 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7537 * text2.C (toggleInset): renamed from openStuff; use
7540 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7542 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7544 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7546 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7548 * buffer.C (readLyXformat2): Add filename to the error dialog
7550 2001-07-18 Juergen Vigna <jug@sad.it>
7552 * tabular.C (GetCellNumber): put an assert here instead of the check!
7554 2001-07-17 Juergen Vigna <jug@sad.it>
7556 * BufferView_pimpl.C (toggleSelection): adapted too.
7558 * text.C (selectNextWord): adapted for use with insets.
7559 (selectSelectedWord): ditto
7561 2001-07-17 Juergen Vigna <jug@sad.it>
7563 * sp_spell.C (PSpell): fix initialitation order.
7565 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7567 * paragraph.C: spacing
7569 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7571 * sp_spell.C: repair language selection for pspell
7573 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * lyxfunc.h: change more methods to begin with lower char.
7577 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7579 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7580 for unknown layouts.
7582 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7584 * buffer.C (readLyXformat2): Generate an error dialog if there are
7587 2001-07-16 Juergen Vigna <jug@sad.it>
7589 * sp_spell.C: always compile ISpell part.
7591 * lyxrc.C: added use_pspell entry and it's handling.
7593 2001-07-13 Juergen Vigna <jug@sad.it>
7595 * sp_spell.C: removed double includes.
7597 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7599 Consistent use of Lsstream.h:
7600 * Lsstream.h: added using std::stringstream for consistencies sake.
7602 * buffer.C: removed using std::stringstream
7604 * lyxfont.C (stateText):
7605 * paragraph.C (asString):
7606 * text.C (selectNextWord, selectSelectedWord):
7607 * text2.C (setCounter):
7608 * vspace.C (asString, asLatexString):
7609 std::ostringstream -> ostringstream.
7611 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7613 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7614 * commandtags.h: add LFUN_HELP_ABOUTLYX
7615 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7617 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7619 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7621 * lyx_gui_misc.C: remove spellchecker
7622 * lyxfunc.C: showSpellchecker
7624 * sp_ispell.h: added
7625 * sp_pspell.h: added
7627 * sp_form.[Ch]: removed
7628 * spellchecker.[Ch]: removed
7630 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7632 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7634 (simpleTeXSpecialChars): Simply print the input character without
7635 any special translation if pass_thru is set.
7637 * layout.h: Added bool pass_thru to layout class for being able to
7638 implement pass through of a paragraph for Literate Programming.
7640 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7641 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7642 * layout.C (Read): add "passthru" to list of layout tags and add
7643 code to set the pass_thru boolean when it is read.
7645 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7647 * trans_decl.h: remove allowed from KmodInfo
7649 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7653 * paragraph_pimpl.C (erase): use boost::prior
7655 * Painter.C (text): use data() instead of c_str() when length is
7657 * WorkArea.C (putClipboard): ditto
7658 * font.h (width): ditto
7660 * BufferView2.C: use it-> instead of (*it). for iterators
7662 * paragraph_pimpl.C: ditto
7663 * paragraph.C: ditto
7664 * minibuffer.C: ditto
7669 * converter.C: ditto
7671 * Variables.C: ditto
7672 * TextCache.C: ditto
7673 * MenuBackend.C: ditto
7674 * LyXAction.C: ditto
7676 * FloatList.C: ditto
7678 * ColorHandler.C (LyXColorHandler): ditto
7680 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7682 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7684 * text2.C (openStuff): reintroduce this method (which had been
7685 nuked in NEW_INSETS frenzy).
7687 * lyxfunc.C (Dispatch): when an action has not been handled, use
7688 its name in the error message, not its number.
7690 * paragraph.C (inInset): change method name to begin with lowercase.
7693 * text2.C: updates because of this.
7695 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * ToolbarDefaults.C (add): add spaces in error message
7699 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7701 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7702 (readLyXformat2): rename return_par to first_par, use lyxlex's
7703 pushToken and remove the manual push handling.
7704 (parseSingleLyXformat2Token): add another ert comp. variable:
7705 in_tabular, rename return_par to first_par. handle newlines better
7707 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7709 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7711 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7713 * text2.C (getParFromID): removed
7715 * buffer.C (getParFromID): new method moved form lyxtext.
7716 * BufferView2.C (insertErrors): adjust
7717 (setCursorFromRow): adjust
7718 * BufferView_pimpl.C (restorePosition): adjust
7719 * lyxfunc.C (Dispatch): adjust
7720 * undo_funcs.C (textUndo): adjust
7722 (textHandleUndo): adjust
7723 (textHandleUndo): adjust
7725 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7727 * buffer.C: up' the LYX_FORMAT
7729 * lyxfont.h: turn NO_LATEX on as default
7731 * buffer.C (insertErtContents): new methods of tex style compability.
7732 (parseSingleLyXformat2Token): use it several places.
7733 * tabular.C (OldFormatRead): and here
7735 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7737 * text2.C: remove some commented code.
7740 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7741 * trans.C: changes because of the above.
7743 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7745 * text2.C (setCounter): Fix counters bug with bibliography layout.
7747 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7750 own member functions
7751 (simpleTeXSpecialChars): ditto
7753 2001-07-06 Juergen Vigna <jug@sad.it>
7755 * a lot of files: changed the access to LyXText::status and the
7756 call of undo-functions.
7758 * undo.[Ch]: added a inset_id to the undo informations.
7760 * undo_funcs.[Ch]: added and moved here all undo functions.
7762 * lyxtext.h: give the status enum a weight, made status_ a private
7763 variable and made accessor functions for it, removed the whole bunch
7764 of undo-functions as they are now in their own file, make some
7765 functions publically available. Added function ownerParagraph with
7768 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7769 made InInset() a const function, added getParFromID() function.
7771 * buffer.[Ch]: added const version for inset_iterator functions,
7772 added getInsetFromID() function.
7774 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7775 changed undo functions for new version.
7777 2001-07-05 Juergen Vigna <jug@sad.it>
7779 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7780 unknow mechanism does not call the proper constructor but only this
7781 one also if I request the other!?
7783 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7785 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7787 * text2.C (LyXText): use initialization lists.
7789 * lyxtext.h (Selection): initialize set_ and mark_
7790 (init): remove method
7792 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7794 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7796 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7798 * screen.[Ch]: change method names to begin with lowercase
7800 * BufferView_pimpl.C (updateScrollbar): simplify further and
7801 hopefully make it a bit faster.
7803 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7805 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7806 calling directly xforms functions.
7808 * Painter.C (Painter):
7809 * lyx_cb.C (MenuWrite):
7810 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7813 * lyx_gui.C: remove bogus guiruntime extern declaration.
7815 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7817 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7819 (redoDrawingOfParagraph): ditto
7820 (redoParagraphs): ditto
7821 (cutSelection): don't create a object for CutAndPaste use the
7822 static method directly
7823 (pasteSelection): ditto
7825 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7828 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7830 * modifications to some other files because of this.
7832 * Makefile.am (lyx_SOURCES): add XFormsView
7834 * XFormsView.[Ch]: new files
7836 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7837 the main window. Move the gui dependent stuff to XFormsView
7839 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7841 * tabular.C (GetCellInset): update cur_cell also in the row/col
7842 version of this function.
7844 * lyxfunc.C: no need to include figure_form.h here.
7850 * lyxvc.C: no need to include forms.h here.
7852 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7854 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7856 * lyxfunc.C (Dispatch):
7858 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7859 constructor argument.
7861 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7863 * paragraph.C (Paragraph): dont't clear, and just set layout.
7864 (makeSameLayout): use params's copy contructor.
7866 * ParagraphParameters.[Ch] (makeSame): delete method
7868 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7870 * Variables.[Ch]: fix indentation, rename set to isSet
7872 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7874 * lyxfunc.C (Dispatch): fix typo
7876 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7878 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7881 * bufferlist.C: include assert.h for emergencyWrite().
7883 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7885 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7886 give up at last (bug #425202) !
7888 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7894 * spellchecker.C: strip spellchecker options and bring up
7895 preferences tab instead
7897 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7899 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7900 the istringstream constructor
7902 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7904 * paragraph.C (getLayout): fix return value
7906 * paragraph.h: do not declare getLayout as inline.
7908 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7910 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7912 * lyxcursor.h (operator<): new func
7913 (operator>): new func
7914 (operator>=): new func
7915 (operator<=): new func
7917 * text.C (changeCase): use selection.start and selection.end
7918 (changeRegionCase): require from to be <= to. Require par to be a
7921 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7923 2001-06-27 Juergen Vigna <jug@sad.it>
7925 * text.C (cursorLeftOneWord): changed to return the cursor and added
7926 overlay with BufferView * parameter which calls this one.
7928 (selectWord): use new getWord function.
7929 (changeCase): renamed from changeWordCase as and extended to work
7932 * lyxtext.h: added enum word_location
7934 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7935 changeCase as this operates now also on selections.
7937 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7939 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7941 * many files: send debug output to Debug::INFO instead of
7944 * converter.C (View):
7946 (Move): send debug output to Debug::FILES instead of console.
7948 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7950 * lyxfunc.C (getStatus): use func_status
7952 * func_status.h: new header, describing the results of
7955 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7958 2001-06-25 The LyX Project <jug@sad.it>
7960 * buffer.C (sgmlOpenTag):
7962 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7964 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7966 * text2.C: remove some dead code
7968 * tabular.C (GetCellInset): store the last cell checked (gotten)
7970 * tabular.h: add the helper for the speedup
7972 * lyxtext.h: remove some dead code
7974 2001-06-26 The LyX Project <Asger>
7976 * paragraph.C: Change export to LaTeX of alignment to
7977 \begin{center} and family for better roundtrip work with reLyX.
7979 * Tune the math drawing a bit.
7981 2001-06-25 The LyX Project <Asger>
7983 * LColor.C (LColor): New color for math background. New color
7986 2001-06-25 The LyX Project <jug@sad.it>
7988 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7991 * bufferlist.C (newFile): do not restrict to files ending with
7994 * BufferView_pimpl.C (MenuInsertLyXFile):
7996 2001-06-24 The LyX Project <jug@sad.it>
7998 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8001 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8003 * lyxtext.h: rename most methods to begin with a small char.
8004 Lots of changes because of this.
8006 * paragraph.C (Paragraph): do not call fitToSize
8007 (erase): call Pimpl::erase
8008 (insertChar): call Pimpl::insertChar
8009 (insertInset): call Pipl::insertInset
8010 (breakParagraph): do not call fitToSize
8011 (breakParagraphConservative): do not call fitToSize
8012 (fitToSize): remove method
8014 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8016 2001-06-24 The LyX Project <Asger>
8018 * Fix Qt compilation^2
8020 2001-06-24 The LyX Project <jug@sad.it>
8022 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8023 depthHook(getDepth()-1).
8026 * ParagraphParameters.h:
8027 * ParameterStruct.h: change type of depth to unsigned int ==
8028 depth_type. Many adaptations to other files before of that.
8030 2001-06-24 The LyX Project <Asger>
8032 * Fix Qt compilation.
8034 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8036 * paragraph.h: renamed several methods to begin with small letter.
8037 several changes to many parts of the code because of this.
8039 2001-06-23 The LyX Project <jug@sad.it>
8041 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8042 rewritten to discard all double spaces when KeepEmpty is off
8043 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8044 to only handle newlines but not fiddle with spaces and friends.
8046 * lyxfunc.C (MenuNew): when doing 'new from template', use
8047 template_path as default directory
8049 2001-06-23 The LyX Project <Asger>
8051 * Clean-up of header file includes all over
8052 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8054 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8056 * paragraph.h: renamed from lyxparagraph.h
8058 2001-06-23 Asger <lyx@violet.home.sad.it>
8060 * Buffer.h: Removed Buffer::resize
8061 * BufferList.h: Removed BufferList::resize
8062 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8063 the document lazily when we change the width, or the font settings.
8065 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8067 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8069 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8071 * buffer.h: remove out of date comment
8073 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8076 * screen.C: fix "theoretical" GC leak
8078 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8080 * LaTeX.C (scanAuxFile):
8081 (deplog): remove trailing \r when reading stream (useful under
8084 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8086 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8087 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8088 and BufferView::theLockingInset(Inset*), so should use them and not
8089 access bv_->text->the_locking_inset directly.
8091 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8093 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8096 * tex-defs.h: remove old unused file
8098 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8100 * BufferView_pimpl.C: fix typo, remove minibuffer message
8101 when buffer has loaded
8103 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8105 * lyxfunc.C (Dispatch): use stringstream
8106 (MenuNew): use stringstream
8107 (Open): use stringstream
8109 * importer.C (Import): use stringstream
8111 * bufferview_funcs.C (CurrentState): use stringstream
8113 * LaTeX.C (run): use stringstream
8115 * BufferView_pimpl.C (savePosition): use stringstream
8116 (restorePosition): use stringstream
8117 (MenuInsertLyXFile): use stringstream
8119 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8132 * vspace.C: removed // -*- C++ -*- as first line.
8135 * version.h: added // -*- C++ -*- as first line.
8137 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8139 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8141 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8144 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8146 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8149 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * gettext.C: include LString.h even when --disable-nls is on.
8153 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8155 * converter.h (Get): changed argument type from int to
8156 FormatList::size_type to avoid unnecessary conversion.
8158 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8161 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8163 * gettext.h: include LString.h even when --disable-nls is on.
8165 2001-06-07 Juergen Vigna <jug@sad.it>
8167 * text.C (BreakAgain): subst spaces with tabs.
8169 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8170 (resizeInsetsLyXText): set force on resizeLyXText.
8172 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8174 * gettext.h (gettext_init):
8175 (locale_init): use a real definition instead of a macro
8177 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8179 * Bufferview_pimpl.C:
8181 * LColor.C: further lcolor tidies
8183 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * BufferView_pimpl.C (updateScrollbar): simplify.
8187 * BufferView2.C: don't include insets/insetinfo.h, change
8188 prototype for insertInset and call the Pimpl version. let
8189 updateInset call Pimpl version.
8191 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8192 gotoInset to BufferView::Pimpl
8194 2001-06-01 Juergen Vigna <jug@sad.it>
8196 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8197 inside a LockingInset (is the update needed at all?).
8199 2001-05-31 Juergen Vigna <jug@sad.it>
8201 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8202 here not the old one otherwise how should we compare it afterwards
8205 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8210 * FontInfo.C: bring C functions into global namespace when
8213 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8215 * LString.h: make sure config.h has been loaded before LString.h.
8217 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8218 (one for each char read by EatLine!).
8220 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8223 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8226 to the same as the par we break from
8228 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8230 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8232 * MenuBackend.C (expand): also create menu entries for wide
8233 versions of the floats.
8235 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8237 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8239 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8240 frontends/Makefile.am
8246 * tabular.C (getTokenValue): add std::
8248 * tabular-old.C (getTokenValue): add std::
8249 (getTokenValue): ditto
8250 (getTokenValue): ditto
8252 * screen.C (ToggleSelection): adjust
8254 * lyxtext.h: put selection cursors inside a Selection struct.
8256 * lyxfunc.C (moveCursorUpdate): adjust
8258 * lyxfont.C (latexWriteStartChanges): add std::
8262 * font.h: delete with(char const *, LyXFont const &)
8264 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8266 * FontInfo.C (getFontname): add std::
8268 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8269 (workAreaButtonPress): adjust
8270 (tripleClick): adjust
8272 (moveCursorUpdate): adjust
8275 * BufferView2.C (gotoInset): adjust
8277 2001-05-30 Juergen Vigna <jug@sad.it>
8279 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8280 to check pspell I add this as default as I now have new pspell
8281 libraries and they seem to use this.
8283 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8285 * text2.C (CutSelection): make the cursor valid before the call to
8288 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8290 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8291 relied on 0 terminated strings and other horrors. Bug found due to
8292 the new assert in lyxstring!
8294 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8297 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8299 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8302 * lyxfunc.C (processKeySym): change method of getting to the
8305 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8306 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8307 * BufferView_pimpl.[Ch]: here as private methods.
8309 2001-05-28 Juergen Vigna <jug@sad.it>
8311 * text.C (SetHeightOfRow): added the update() call again as it is
8312 needed to initialize inset dimensions!
8314 2001-05-16 Juergen Vigna <jug@sad.it>
8316 * text2.C (SetCharFont): Add new function with BufferView * and
8317 bool toggleall parameters for setting insets internal fonts.
8318 (SetFont): Freeze the undo as we may change fonts in Insets and
8319 all this change should be inside only one Undo!
8321 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8322 setting font's in insets as for them we have the SetFont function!
8324 2001-05-15 Juergen Vigna <jug@sad.it>
8326 * text2.C (ClearSelection): to be sure we REALLY don't have any
8329 * tabular.C (TeXCellPreamble): fixed the left border problem for
8332 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8334 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8337 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8339 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8340 LFUN_BREAKPARAGRAPH.
8342 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8343 help test to "internal only", similar for LFUN_INSERT_URL
8345 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8346 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8347 auto_region_delete and deadkeys.
8349 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8352 * LColor.C: remove some dead entries, tidy a little
8354 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8358 (Dispatch): implement LFUN_ESCAPE
8360 * commandtags.h: add LFUN_ESCAPE
8362 * LyXAction.C (init): add entry for LFUN_ESCAPE
8364 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8365 Remove commented code.
8366 (insertNote): moved here
8367 (open_new_inset): moved here
8369 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8372 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8374 * kbmap.C (findbinding): clean it up and make it work correctly.
8376 * lyx_main.C (init): do not pass argc and argv as parameters
8378 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8380 * buffer.C: fix path for OS/2 & Win32
8384 * lyx_main.C: Added os:: class.
8386 * os2_defines.h: update
8388 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8390 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8391 better by trying again with reduced state.
8393 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * lyxrc.C (read): print error about invalid key sequence only when
8396 debugging (because not all latinX keysyms are known to some X
8399 * kbsequence.C (getiso): add a few std:: qualifiers
8400 (getiso): comment out extra return statement.
8402 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8404 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8406 (Dispatch): enhance the accent inset a bit. (not perfect)
8408 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8412 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * bufferlist.C (emergencyWrite): fix assert() call
8416 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8418 * text.C (InsertChar): Added trivial patch to only send the "you
8419 can not do multiple spaces this way" message once during a
8422 2001-05-08 Baruch Even <baruch@lyx.org>
8424 * Makefile.am: Changed order of libraries to get LyX to link properly
8425 with the gnome frontend.
8427 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8429 * LaTeXFeatures.h: add a std:: qualifier
8431 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8433 * paragraph.C (String): use stringstream
8435 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * paragraph.C (writeFile): remove footflag arg
8439 * buffer.C (makeLaTeXFile): use stringstream
8440 (latexParagraphs): remove footnot gurba
8442 * LaTeXFeatures.C (getPackages): use stringstream
8443 (getMacros): likewise
8444 (getTClassPreamble): likewise
8445 (getFloatDefinitions): new method
8447 * paragraph.C (writeFile): reindent
8450 * WorkArea.h: revert the xpos + etc changes.
8452 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8454 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8456 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8457 (pasteSelection): likewise
8458 * text2.C (CreateUndo): likewise
8460 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8462 * minibuffer.C (peek_event): temporarily reduce the functionality
8463 of the minibuffer (to allow args on lfuns)
8465 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8466 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8468 * buffer.C (readInset): add compability reading of old float
8469 lists, add reading of new style float list.
8470 (readInset): avoid reevaluation of inscmd.getCmdName()
8471 (getLists): reindent
8473 * MenuBackend.C (MenuItem): implement parsing of
8474 md_floatlistinsert and md_floatinsert.
8475 (expand::LastFiles): move initalizaton of iterators out of loop,
8477 (expand::Documents): introduce typdedef vector<string> Strings,
8479 (expand::ExportFormats): introduce typedef vector<Format const *>
8480 Formats, and use it.
8481 (expand): implement FloatListInsert and FloatInsert.
8483 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8484 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8485 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8487 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8489 (Dispatch::LFUN_FLOAT_LIST): implement
8491 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8493 * LaTeX.C (run): Fix problem with --export code.
8495 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8497 * BufferView.[Ch] (workarea): removed.
8498 (getClipboard) new method; wrapper for workarea()->getClipboard()
8500 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8503 * WorkArea.h (width, height, xpos, ypos): These methods all
8504 returned the dimensions of the work_area sub-area of WorkArea,
8505 resulting in a position error if the WorkArea were resized. Now
8506 return the dimensions of the entire WorkArea.
8508 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8510 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8512 * LaTeX.C (deplog): correct the syntax of regex reg1
8514 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8516 * undo.C: remove !NEW_INSETS cruft
8518 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8520 * text2.C: remove !NEW_INSETS cruft
8522 * text.C: remove !NEW_INSETS cruft
8524 * tabular.C: remove !NEW_INSETS cruft
8526 * spellchecker.C: remove !NEW_INSETS cruft
8528 * lyxtext.h: remove !NEW_INSETS cruft
8530 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8532 * lyxfunc.C: remove !NEW_INSETS cruft
8534 * lyxfind.C: remove !NEW_INSETS cruft
8536 * lyx_cb.C: remove !NEW_INSETS cruft
8538 * figureForm.C: remove !NEW_INSETS cruft
8540 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8542 * buffer.[Ch]: remove !NEW_INSETS cruft
8544 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8546 * CutAndPaste.C: remove !NEW_INSETS cruft
8548 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8550 * BufferView2.C: remove !NEW_INSETS cruft
8552 * BufferView.h: remove !NEW_INSETS cruft
8554 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8556 * Lsstream.h: include LString.h before the sstream headers to
8557 fix problem with gcc 2.95.3 and lyxstring
8559 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8561 * lyx_main.C: add using directives when needed for C functions
8562 declared in std:: namespace.
8564 2001-04-27 Juergen Vigna <jug@sad.it>
8566 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8567 (SetHeightOfRow): comment out the update call should not be needed!
8569 2001-04-13 Juergen Vigna <jug@sad.it>
8571 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8572 (LyXTabular): tried to minimize operator= operations (and realized
8573 hopfully Lars wish).
8575 2001-04-27 Juergen Vigna <jug@sad.it>
8577 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8579 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8581 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8583 * buffer.C (readInset): hack to make listof algorithm work
8585 * BufferView_pimpl.C: hack to make listof algorithm work
8587 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * LyXAction.C: removed all !NEW_INSETS cruft
8590 (init): moved lfun_item in method
8592 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8594 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8596 * BufferView2.C (theLockingInset): white space.
8598 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8600 * minibuffer.C: include <iostream>
8602 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8604 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8606 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8608 * text.[Ch] (TransposeChars): new method
8610 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * call message directly through LyXView instead of through LyXFunc
8613 * BufferView2.C: adjust
8614 * BufferView_pimpl.C: adjust
8615 * FontLoader.C: adjust
8617 * bufferview_funcs.C: adjust
8618 * converter.C: adjust
8619 * figureForm.C: adjust
8620 * importer.C: adjust
8622 * lyx_gui_misc.C: adjust
8626 + more files in subdirs
8628 * lyxparagraph.h (size): move up int file
8631 * adjust all uses of Assert to lyx::Assert.
8633 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8634 lyxfunctional in namespace lyx
8635 * layout.C (hasLayout): ditto
8638 (delete_layout): ditto
8639 (NumberOfClass): ditto
8640 * converter.C (GetFormat): ditto
8645 * bufferlist.C (getFileNames): ditto
8646 (emergencyWriteAll): ditto
8649 * MenuBackend.C (hasSubmenu): ditto
8652 * BufferView_pimpl.C (getInsetByCode): ditto
8654 2001-04-18 Juergen Vigna <jug@sad.it>
8656 * vspace.C (asLatexString): fixed the 100% problem.
8658 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8660 * lyxfunc.C (Dispatch):
8662 * minibuffer.h: add a few std:: qualifiers
8664 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * minibuffer.[Ch]: reimplement so that commands is initiated and
8667 run from lyxfunc, simplified som handling, and made the completion
8668 and history code for complete. wip.
8670 * lyxfunc.C (processKeySym): call message
8671 (miniDispatch): new temporary method
8672 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8673 (LFUN_MESSAGE): implement
8674 (LFUN_MESSAGE_PUSH): implement
8675 (LFUN_MESSAGE_POP): implement
8676 (initMiniBuffer): the initial/defualt minibuffer message.
8678 * lyxfont.[Ch]: inline some more getters
8680 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8682 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8684 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8685 (AutoSave): use LFUN_MESSAGE
8686 (Reconfigure): ditto
8688 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8690 * figureForm.C: use LFUN_MESSAGE
8692 * converter.C (runLaTeX): use LFUN_MESSAGE
8694 * bufferview_funcs.C: use LFUN_MESSAGE
8696 (changeDepth): ditto
8698 * bufferparams.h: use boost::
8700 * bufferlist.h: inherit privately from noncopyable
8702 * bufferlist.C (loadLyXFile): remove some commented code.
8704 * buffer.C (runChktex): use LFUN_MESSAGE
8706 * ShareContainer.h: inherit privately from noncopyable
8708 * ParagraphParameters.[hC] (depth): inline it.
8710 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8712 (message): new method
8713 (messagePush): ditto
8715 (show): init minibuffer
8716 (showState): direct call
8718 * LaTeX.[Ch]: inherit privately from noncopyable
8719 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8720 instead of WriteStatus.
8722 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8724 * BufferView_pimpl.C (buffer): don't init minibuffer
8725 (workAreaButtonPress): use LFUN_MESSAGE
8726 (workAreaButtonRelease): ditto
8727 (savePosition): ditto
8728 (restorePosition): ditto
8729 (MenuInsertLyXFile): ditto
8730 (workAreaExpose): don't init minibuffer
8731 (update): remove commented code, simplify
8733 * BufferView2.C (openStuff): use LFUN_MESSAGE
8734 (toggleFloat): ditto
8737 (copyEnvironment): ditto
8738 (pasteEnvironment): ditto
8743 (updateInset): remove some commented code
8745 * lastfiles.h: inherit privately from noncopyable
8750 * lyxlex_pimpl.h: ditto
8752 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8753 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8754 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8756 * LyXAction.h: inherit privately from noncopyable, add methods
8757 func_begin, func_end, returning iterators to the func map.
8759 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8760 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8761 (func_begin): new method
8762 (func_end): new method
8764 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8766 (copySelection): ditto
8767 (pasteSelection): ditto
8769 * BufferView.C: whitespace change
8770 * BufferView.h: inherit privately from noncopyable
8772 2001-04-16 Allan Rae <rae@lyx.org>
8774 * tabular-old.C (l_getline):
8775 * spellchecker.C (sc_check_word):
8776 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8777 an unrecognised preprocessor directive. So ensure they're wrapped.
8779 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8781 * src/exporter.C (Export): Give an error message when path to file
8784 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8786 * LaTeX.C (deplog): Always check that foundfile exists.
8788 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8791 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8793 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8795 * tabular.[Ch] (getLabelList): implement new method
8797 * minibuffer.h: comment ouf setTiimer
8799 * minibuffer.C (ExecutingCB): constify res
8800 (peek_event): constify s
8801 (Set): constify ntext
8802 (Init): constify nicename
8804 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8806 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8807 (savePosition): use two params to Minibuffer::Set
8808 (restorePosition): ditto
8810 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * lyx_main.C: include language.h
8814 * Makefile.am (lyx_main.o): add language.h
8816 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * CutAndPaste.C: include gettext.h
8824 * lyxfont.h: remove old hack with ON and OFF.
8827 * lyxfont.h: do not include language.h...
8832 * bufferview_funcs.C:
8838 * paragraph.C: ... but do it here instead
8840 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8842 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8844 * tabular.C: small reformat
8846 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8849 (BreakParagraph): ditto
8850 (SetOnlyLayout): ditto
8853 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8856 * lastfiles.C: removed most using decl, add std:: where needed
8858 * buffer.C: ws changes
8860 * MenuBackend.C (class compare_format): put into anon namespace
8861 (expand): constify label, names, action, action2
8864 * text.C (SingleWidth): constify font
8865 (IsBoundary): constify rtl2
8866 (GetVisibleRow): constify ww
8868 * LaTeX.C (deplog): constify logfile
8870 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8872 (workAreaExpose): constify widthChange, heightChange
8874 * lyxrow.C (par): moved
8877 * lyxrow.h: as inlines here
8879 * lyxfont.h (shape): moved from lyxfont.C
8880 (emph): moved from lyxfont.C
8882 * lyxfont.C (LyXFont): use initialization list for all
8884 (shape): move to lyxfont.h as inline
8885 (emph): move to lyxfont.h as inline
8888 2001-04-04 Juergen Vigna <jug@sad.it>
8890 * vspace.C: had to include stdio.h for use of sscanf
8892 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8895 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8896 independent of xforms.
8898 2001-04-02 Juergen Vigna <jug@sad.it>
8900 * spellchecker.C: fixed namespace placing!
8902 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8904 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8905 the LyXParagraph * is 0.
8907 2001-03-29 Juergen Vigna <jug@sad.it>
8909 * vspace.C: added support for %, c%, p%, l%.
8910 (stringFromUnit): added helper function.
8911 (asLatexString): changed to give right results for the %-values.
8913 * buffer.C: convert the widthp in a width%.
8915 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8917 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8920 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8921 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8923 * lyx_cb.[Ch]: see above.
8925 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8929 * lyx.[Ch]: replaced by figure_form.[Ch].
8933 * lyxfunc.C: changed headers associated with above changes.
8935 2001-03-27 Juergen Vigna <jug@sad.it>
8937 * BufferView_pimpl.C: set the temporary cursor right!
8939 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8941 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8943 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8945 * LString.h: removed "using std::getline"!
8947 * BufferView_pimpl.C (Dispatch): changes due to changes in
8948 InsetInclude::Params.
8950 * buffer.C (tag_name): removed redundant break statements as they were
8951 producing lots of warnings with my compiler.
8953 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8955 * LString.h: add "using std::getline" when using the real <string>.
8957 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8959 * buffer.C: removed bitset usage.
8960 PAR_TAG moved to an anonymous name space.
8961 (tag_name): new funtion, also in the anonymous namespace.
8962 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8963 (makeDocBookFile): clean code. Completed transition from string arrays
8965 (SimpleDocBookOnePar): code clean.
8967 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8969 * tabular.C: add some comments.
8971 2001-03-22 Juergen Vigna <jug@sad.it>
8973 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8974 compatibility read a bit and fixed bug with minipage in different
8977 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8979 * buffer.C (pop_tag): removed.
8980 (push_tag): removed.
8981 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8982 array replaced with vector. Added support for CDATA sections.
8983 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8985 (makeDocBookFile): XML conformant declaration of CDATA section,
8986 fixed bug related to <emphasis> in the first paragraph char.
8987 (sgmlOpenTag): exclude empty tags.
8988 (sgmlCloseTag): ditto.
8990 * buffer.h (pop_tag): removed.
8991 (push_tag): removed.
8993 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8995 * language.h (Languages): added size_type and size().
8997 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8999 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9000 response on compability reading of minipages. One probliem is that
9001 the old usage of minipages was «flertydig»
9003 * several files here and in subdirs: don't use static at file
9004 scope use anon namespaces instead.
9006 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9008 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9009 LaTeX output. This is necessary for Literate document
9012 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9014 * buffer.C: insert hfill when needed.
9016 * tabular.C (l_getline): use string::erase, small whitespace change.
9018 * BufferView_pimpl.C: try the anon namespace.
9021 2001-03-16 Juergen Vigna <jug@sad.it>
9023 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9024 otherwise it won't open options-dialogs.
9026 * buffer.C: honor pextraWidth(p) on converting minipages.
9028 * tabular.C (l_getline): changed the functions to strip trailing \r.
9030 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9032 * BufferView_pimpl.C:
9033 * minibuffer..C: added "using SigC::slot" declaration.
9035 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9037 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9043 * paragraph.C: ditto
9045 * lyxtext.h: NO_PEXTRA
9047 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9049 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9050 * ParameterStruct.h: ditto
9051 * ParagraphParameters.h: ditto
9052 * lyxparagraph.h: ditto
9054 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9056 * buffer.C: add compability for minipage alignment.
9057 (latexParagraphs): remove unwanted pextra check.
9059 * several files: remove CXX_WORKING_NAMESPACES
9061 * buffer.C (pop_tag): tie is in namespace boost
9063 * BufferView.h: noncopyable is in namespace boost
9068 * lastfiles.h: ditto
9069 * bufferlist.h: ditto
9070 * ShareContainer.h: ditto
9072 * LyXAction.h: ditto
9075 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9077 * Merging changes from BRANCH_MVC back into HEAD.
9079 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9081 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9083 * BufferView_pimpl.C: change from intl.C
9087 * Makefile.am: move combox.*
9093 * intl.C: remove dialog (covered by prefs)
9095 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9097 * lyxfunc.C (Dispatch): removed redundant break statement.
9099 2001-03-14 Juergen Vigna <jug@sad.it>
9101 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9103 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9105 * buffer.C: add hack to fix compability reading of minipages.
9107 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9109 * buffer.C (getLists): Cleanup.
9111 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * lyxfont.C (update): don't honor toggleall on font size.
9115 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9119 * Makefile.am: moved to frontends/xforms/
9123 * BufferView_pimpl.C: changes for moved mathpanel
9125 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9127 * gettext.h: fix gettext_init() in --disable-nls
9129 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9133 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9136 * lyx.h: strip external form
9138 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9140 * BufferView_pimpl.C: add comment, destroySplash()
9142 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9144 * BufferView_pimpl.C:
9148 * lyxfunc.C: use re-worked insetinclude
9150 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9152 * buffer.C: add using std::stringstream.
9154 * lyx_cb.C: readd using std::ios.
9156 * buffer.C: add using std::map.
9158 * BufferView_pimpl.C: add using std::vector.
9160 * ShareContainer.h: add std:: to swap.
9162 * buffer.h: add some typedefs
9163 * buffer.C (getLists): use them
9164 (getLists): renamed from getTocList.
9165 add a counter for the different float types and use it in the
9167 (getLists): use the same counter for the NEW_INSETS and the "non"
9170 * lyx_cb.h: remove unused items, includes, using etc.
9172 * ShareContainer.h: remove some commented code, add more comments
9173 and "documentation".
9175 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9177 * buffer.C (getTocList): make the list also when NEW_INSETS is
9180 * buffer.h: remove TocType
9182 * buffer.C (getTocList): change to return a map<string,
9183 vector<TocItem> >, implement for dynamic number of list.
9185 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9186 * text2.C (PasteSelection): adjust
9187 * CutAndPaste.C (pasteSelection): adjust
9189 * FloatList.C (FloatList): update from the new_insets branch.
9190 * Floating.[Ch]: ditto
9191 * LaTeXFeatures.C: ditto
9193 * lyxlex_pimpl.C: ditto
9195 * paragraph.C (Last): remove when NEW_INSETS is defined.
9197 * other file: changes because of the above.
9199 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9201 * lyxparagraph.h: rename next to next_, previous to previous_,
9202 make them private for NEW_INSETS. Rename Next() to next(),
9203 Previous() to previous().
9205 * other files: changes because of the above.
9207 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9210 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9213 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * main.C (main): pass lyx_localedir to gettext_init().
9217 * gettext.h: remove locale_init and gettext_init macros
9219 * gettext.C (locale_init): new function
9220 (gettext_init): new function
9222 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9225 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9227 * Moved credits to frontends:
9228 * credits.[Ch]: removed
9229 * credits_form.[Ch]: removed
9230 * lyx_gui_misc.C: remove credits stuff
9233 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9235 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9237 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9238 unneeded destructor.
9240 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9241 a standalone pointer again.
9243 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9245 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9251 * ToolbarDefaults.C:
9260 * BufferView_pimpl.C: use new file dialog in GUII
9263 * lyx_cb.C: remove LayoutsCB to Toolbar
9265 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * ShareContainer.h (get): add std:: qualifier
9269 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * ShareContainer.h: define a proper ShareContainer::value_type
9272 type (and use typename to please compaq cxx)
9274 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9276 * lyxparagraph.h: move serveral local vars to
9277 ParameterStruct/ParagraphParameters., use ShareContainer in
9278 FontTable., make vars in FontTable private and add getter and
9281 * paragraph.C: changes because of the above.
9283 * lyxfont.h: remove copy constructor and copy assignment. (the
9284 default ones is ok), move number inside FontBits. move inlines to
9287 * lyxfont.C: add number to initializaton of statics, move several
9288 inlines here. constify several local vars. some whitespace
9289 cleanup. Dont hide outerscope variables.
9291 * Spacing.h: add two new constructors to match the set methods.
9293 * ShareContainer.h: new file, will perhaps be moved to support
9295 * ParameterStruct.h: new file
9297 * ParagraphParameters.h: new file
9299 * ParagraphParameters.C: new file
9301 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9302 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9304 * BufferView_pimpl.C: ParagraphParameter changes.
9305 * buffer.C: Likewise.
9306 * bufferview_funcs.C: Likewise.
9308 * text2.C: Likewise.
9310 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * lyxfind.C (LyXReplace): do not redefine default argument in
9314 (IsStringInText): ditto
9315 (SearchForward): ditto
9316 (SearchBackward): ditto
9318 2001-03-06 Juergen Vigna <jug@sad.it>
9320 * lyxfind.C (IsStringInText): put parentes around expressions.
9322 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9324 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9326 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9328 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9330 * stl_string_fwd.h: add comment
9332 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9335 * tabular.C: remove unused DocBook methods
9341 killed DO_USE_DEFAULT_LANGUAGE
9343 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9345 * lyx_gui.C: do not include language.h.
9347 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9348 arguments in function implementation.
9350 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9352 * BufferView_pimpl.C: add <ctime>
9354 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9356 * BufferView_pimpl.C: add using std::find_if
9358 2001-02-27 José Matos <jamatos@fep.up.pt>
9360 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9363 2001-02-11 José Matos <jamatos@fep.up.pt>
9365 * buffer.C (makeDocBookFile): command styles now have a parameter as
9368 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9370 * layout_forms.[Ch]: removed
9371 * lyx_cb.[Ch]: out character
9372 * lyx_gui.C: out character
9373 * lyx_gui_misc.C: out character
9374 * bufferview_funcs.C: : out character,
9375 added toggleall as parameter in ToggleAndShow
9377 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9379 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9381 * text2.C (SetCurrentFont): Disable number property at boundary.
9383 2001-02-26 Juergen Vigna <jug@sad.it>
9385 * lyxfunc.C (getStatus): added a string argument override function so
9386 that this is correctly called from LyXFunc::Dispatch if it contains a
9387 do_not_use_argument which is used!
9388 (Dispatch): added check for "custom" export and call appropriate func.
9390 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9392 * lyxrc.C: Add language_command_local, language_use_babel and
9393 language_global_options.
9395 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9397 * buffer.C (makeLaTeXFile): Use language_use_babel and
9398 language_global_options.
9400 2001-02-23 Juergen Vigna <jug@sad.it>
9402 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9403 which works with LyXText and putted it inside BufferView. Here now we
9404 only call for that part the BufferView::Dispatch() function.
9406 * BufferView.C (Dispatch): added.
9408 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9409 functions which needs to use a LyXText over from LyXFunc.
9410 (MenuInsertLyXFile): added
9411 (getInsetByCode): added
9412 (moveCursorUpdate): added
9413 (static TEXT): added
9415 2001-02-22 Juergen Vigna <jug@sad.it>
9417 * BufferView_pimpl.C (update): call a status update to see if LyXText
9420 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9422 * vc-backend.C (revert): implement for CVS
9423 (getLog): implement for CVS
9425 2001-02-20 Juergen Vigna <jug@sad.it>
9427 * text2.C (ClearSelection): added BufferView param for inset_owner call
9429 * lyxfunc.C (TEXT): added this function and use it instead of
9430 directly owner->view()-text of getLyXText().
9432 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9434 * src/layout_forms.C: out preamble
9435 * src/layout_forms.h: out preamble
9436 * src/lyx_cb.C: out preamble
9437 * src/lyx_cb.h: out preamble
9438 * src/lyx_gui.C: out preamble
9439 * src/lyx_gui_misc.C: out preamble
9440 * src/lyxfunc.C: connect with guii preamble
9442 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9444 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9446 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9448 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9449 whether to run bibtex.
9451 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9453 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9455 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9457 * Makefile.am (lyx_SOURCES): removed bibforms.h
9461 * text.C (GetVisibleRow): make several local vars const
9463 * tabular.C: small cleanup.
9465 * lyxserver.C (callback): use compare instead of strncmp
9467 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9468 inlines to after class or to paragraph.C
9470 * lyxfont.h: remove friend operator!=
9472 * converter.h: move friend bool operator< to non friend and after
9475 * combox.h: small cleanup
9477 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9478 to inlines after class def.
9480 * buffer.C (pop_tag): use string operations instead of strcmp
9482 * bmtable.c: doxygen, small cleanup
9484 * LaTeX.h: remove friend operator==
9486 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9498 * BufferView_pimpl.C:
9499 * BufferView.[Ch]: remove cruft
9501 2001-02-14 Juergen Vigna <jug@sad.it>
9503 * lyxfunc.C: removed #if 0 unused code
9505 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9507 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9509 * text2.C (SetSelection): added a BufferView * parameter
9511 2001-02-13 Juergen Vigna <jug@sad.it>
9513 * lyxfunc.C (Dispatch): fixed protected blank problem.
9514 * BufferView2.C (protectedBlank): added LyxText * parameter.
9516 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9517 (AppendColumn): same as above for column_info.
9519 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9520 (moveCursorUpdate): use a LyXText param for support of InsetText.
9522 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9523 (tripleClick): ditto
9525 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9527 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9529 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9531 * text2.C (SetSelection): set correct update status if inset_owner
9534 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9536 * tabular.C: remove some commented code.
9538 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9540 * BufferView_pimpl.C: call hideSplash()
9542 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9545 * bibforms.h: remove
9548 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9549 add LFUN_CHILD_CREATE
9551 * counters.h: fix tiny typo
9556 * lyx.C: move splash to frontends/xforms/
9558 * lyx_gui_misc.C: move Include and Bibform to frontends
9560 * lyxvc.h: clarify comment
9562 * vspace.C: tiny housekeeping
9564 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9566 * text.C (PrepareToPrint): RTL Fix.
9568 * paragraph.C (GetUChar): New method.
9569 (String): Use GetUChar.
9571 * buffer.C (asciiParagraph): Use GetUChar.
9573 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9575 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9577 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9580 * buffer.C: rename to getLogName(), handle
9581 build log / latex log nicely
9583 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9586 * MenuBackend.h: remove support for reference menuitem type.
9588 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9590 * BufferView_pimpl.C: housekeeping
9591 * BufferView_pimpl.h:
9596 * minibuffer.h: move Timeout GUI-I
9598 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9600 * lyxrc.C (read): Update converters data-structures.
9602 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9604 * LaTeX.h (operator!=): add operator != for Aux_Info
9606 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9608 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9610 * LaTeXLog.C: deleted, useful code moved to Buffer
9613 * buffer.C: new function getLatexLogName()
9619 * lyxfunc.C: use frontends for LaTeX and VC logs
9621 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * LaTeX.h: yet another std:: that Allan forgot.
9625 * Variables.C (set): renamed from isset(), because this clashes
9626 with some HP-UX macros (grr).
9628 2001-02-06 Allan Rae <rae@lyx.org>
9630 * LaTeX.h: Another bug fix. Missing std:: this time.
9632 2001-02-04 Allan Rae <rae@lyx.org>
9634 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9635 floats problem. I've left it commented out because it's not quite
9636 correct. It should also test that the current object is a table or
9637 figure inset. But I haven't gotten around to figuring out how to do
9638 that. I *think* it'll be something like: "table" == inset.type()
9640 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9643 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9645 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9646 all the citation/databases/styles in the auxilary file.
9647 (run): Rerun latex if there was a babel language error.
9649 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9651 * text.C (Backspace): Preserve the font when changing newline char
9653 (BreakParagraph): If the cursor is before a space, delete the space.
9655 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9657 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9659 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9660 new argument (code).
9661 (ChangeCitationsIfUnique): New method.
9663 * paragraph.C (GetPositionOfInset): Handle bibkey.
9665 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * BufferView_pimpl.h: change type of Position::par_pos to
9668 LyXParagraph::size_type.
9670 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9672 * BufferView_pimpl.C (savePosition, restorePosition): Write
9673 messages to minibuffer.
9675 2001-01-28 José Matos <jamatos@fep.up.pt>
9677 * buffer.C (makeDocBookFile): adds support for document language.
9678 A silly restriction on the name of LatexCommand types where removed.
9679 Added support for CDATA sections, allows to chars unescaped, used
9680 among others in code, to avoid escape < and >.
9682 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9684 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9685 saved positions instrad of a stack. Furthermore, a position is
9686 stored using paragraph id/paragraph position.
9688 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9689 Remove LFUN_REF_BACK.
9691 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9693 * converter.C (dvipdfm_options): New method.
9695 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9697 * vspace.C (isValidLength): Fix for empty input string.
9699 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * LyXAction.C (init): change description of LFUN_FIGURE to
9704 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * LaTeX.C: add using directive
9708 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9710 * MenuBackend.C (expand): Fix the sorting of the formats.
9712 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9714 * lyx_main.C: tiny error message fix
9716 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9719 calling fl_initialize(). This fixes the problem with ',' as
9720 decimal separator in text files.
9722 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9724 * trans.C (process): Fix the keymap bug.
9726 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9728 * LaTeX.C (scanAuxFiles): New method. Provides support for
9729 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9730 (scanLogFile) Scan for "run BibTeX" messages.
9732 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9733 OT1 font encoding. Also, load the aecompl package if the ae
9736 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9738 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * texrow.C (increasePos): turn two error messages into debug
9743 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9745 * LaTeX.C (scanAux): Handle the \@input macro.
9746 (runBibTeX): Use scanAux().
9748 * language.C (latex_options_): New field.
9750 * LaTeXFeatures.C (getMacros): Add language macros.
9752 * buffer.C (makeLaTeXFile): Small fix.
9754 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9758 * text2.C: add a using directive.
9760 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9765 * lyxfunc.C: kill LyXBell.
9767 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9769 * text.C (IsBoundary): Remove the error message
9771 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9773 * lyxrc.C (setDefaults): Correct initialization value for
9776 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9778 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9781 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9784 * src/LyXAction.C: Added reference-next.
9786 * text.C (InsertChar): Use contains instead of strchr.
9788 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9790 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9792 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9793 alignment commands (when needed).
9795 * text.C (InsertChar): Add ':' to number separator chars.