1 2003-04-02 John Levon <levon@movementarian.org>
7 * text_funcs.C: make transposeChars a free function
9 * lyxrow_funcs.C: remove wrong comment
11 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
14 * rowpainter.C: adjust
19 * lyxrow_funcs. [Ch]: new files
21 * lyxrow.[Ch]: remove next and previous pointers
22 (next,previous): remove accessor functions
23 (isParEnd): move to lyxrow_funcs
24 (lastPos): move to lyxrow_funcs
25 (nextRowIsAllInset): move to lyxrow_funcs
26 (lastPrintablePos): move to lyxrow_funcs
27 (numberOfSeparators): move to lyxrow_funcs
28 (numberOfHfills): move to lyxrow_funcs
29 (numberOfLabelHfills): move to lyxrow_funcs
30 (hfillExpansion): move to lyxrow_funcs
34 * bufferview_funcs.C (toggleAndShow): adjust
36 * RowList.h: Remove class RowList from file leave just a
39 * RowList.C: delete file
41 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
44 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
46 * text3.C (cursorPrevious): adjust
50 * text2.C (redoHeightOfParagraph): adjust
51 (redoDrawingOfParagraph): adjust
54 * text.C (breakParagraph): adjust
58 * rowpainter.C (RowPainter): adjust
59 (leftMargin): simplify and adjust
60 (most rowpainter functions): adjust.
62 * rowpainter.h: store the row as RowList::iterator not as Row*
64 * lyxcursor.C (row): taka RowList::iterator as arg
67 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
70 2003-04-01 Angus Leeming <leeming@lyx.org>
72 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
75 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
77 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
80 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
82 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
85 * lyxtext.h (rows): drop one version and leve a const variant that
86 returns a RowList::iterator.
88 2003-03-31 Angus Leeming <leeming@lyx.org>
90 * text.C (fill): ensure that the signature is the same as that in the
93 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
95 * text2.C (redoParagraphs): adjust
96 (updateCounters): adjust
97 (checkParagraph): adjust
98 (getColumnNearX): adjust and reformat a bit.
100 * text.C (top_y): adjust
103 (prepareToPrint): adjust
105 (getRowNearY): adjust
107 * lyxtext.h: make rowlist_ mutable.
109 * RowList.h: add const_iterator
110 * RowList.C: adjust for RowList::const_iterator.
112 * text2.C (getCursorX): make it take a RowList::iterator as arg,
115 2003-03-31 John Levon <levon@movementarian.org>
118 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
120 * lyx_main.C: set default fonts from using lyx_gui funcs
122 * exporter.C: pdf_mode moved from lyxrc
125 * lyxfunc.C: changes from above
127 2003-03-31 John Levon <levon@movementarian.org>
129 * lyx_main.C: fix to the last fix
131 2003-03-31 John Levon <levon@movementarian.org>
133 * bufferlist.C: "Load original" -> "Load Original"
139 * format.C: more Alert cleanups
141 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
143 * text2.C (removeParagraph): make it take a RowList::iterator as
145 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
146 (postRowPaint): make it take a RowList::iterator as arg, adjust.
148 * text.C (anchor_row): make it take a RowList::iterator as arg,
150 (computeBidiTables): make it take a const reference to Row instead
151 of Row pointer, adjust.
152 (leftMargin): make it take a RowList::iterator as arg, adjust.
153 (rowBreakPoint): adjust
154 (breakAgainOneRow): make it take a RowList::iterator as arg,
156 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
158 * bufferview_funcs.C (toggleAndShow): adjust
160 2003-03-30 John Levon <levon@movementarian.org>
164 * boost-inst.C: moved to support
166 * several files: changes as a result
168 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
170 * text2.C (LyXText): adjust.
172 (removeRow): make it take a RowList::iterator as arg, adjust.
173 (fullRebreak): adjust
174 (deleteEmptyParagraphMechanism): adjust
178 * text.C (top_y): adjust
179 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
180 (breakAgain): make it take a RowList::iterator as arg, adjust.
181 (breakParagraph): adjust
185 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
186 need_break_row, and refresh_row.
188 * text3.C (dispatch): adjust
190 * text2.C (checkParagraph): adjust
192 (setCursorFromCoordinates): adjust
194 * text.C (top_y): adjust
196 (getRow): make it return a RowList::iterator, adjust
197 (getRowNearY): make it return a RowList::iterator, adjust
199 * text2.C (init): adjust
200 (insertRow): remove function
201 (insertParagraph): adjust
202 (redoParagraphs): adjust
203 (fullRebreak): adjust
204 (updateCounters): adjust
206 * text.C (top_y): rewrite to use RowList iterators.
208 (setHeightOfRow): rewrite to sue RowList iterators.
209 (appendParagraph): adjust
211 (breakAgainOneRow): adjust
212 (breakParagraph): adjust
214 (getRowNearY): adjust, and remove commented code.
216 * lyxtext.h (firstRow): delete function
217 (lastRow): delete function
218 (rows): new function (const and non-const versions.)
219 (insertRow): delete function
221 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
223 2003-03-29 John Levon <levon@movementarian.org>
225 * BufferView_pimpl.C: always update scrollbar top
226 because pasting text when we're anchored could mean we
227 miss an update altogether
229 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * text2.C (init): use rowlist_.end() and not 0.
232 (insertRow): change to take a RowList::iterator as arg, adjust
234 (insertParagraph): change to take a RowList::iterator as arg,
236 (redoParagraphs): remove some debug msgs.
238 * text.C (appendParagraph): change to take a RowList::iterator
239 arg, adjust for this.
240 (breakAgain): add an assert
241 (breakAgainOneRow): ditto
243 2003-03-29 John Levon <levon@movementarian.org>
245 * text2.C: do not clear selection after inc/decDepth
248 2003-03-29 John Levon <levon@movementarian.org>
251 * buffer.C: fix broken strerrors according to Lars
253 2003-03-29 John Levon <levon@movementarian.org>
255 * converters.C: more Alert cleanups
257 2003-03-29 John Levon <levon@movementarian.org>
259 * bufferview_funcs.C: remove pointless Alert
261 * buffer.C: fix confusing error message when
262 a template is chmoded 000
264 2003-03-29 John Levon <levon@movementarian.org>
268 * BufferView_pimpl.C: Alert fixes
272 * tabular-old.C: remove unused table compat reading
274 2003-03-29 John Levon <levon@movementarian.org>
279 * lyx_cb.C: more Alert cleanups
281 * lyxfunc.C: don't allow chktex if not latex document
283 2003-03-29 John Levon <levon@movementarian.org>
287 * buffer.C: warnings pushed down from support/,
290 2003-03-29 John Levon <levon@movementarian.org>
292 * lyxfunc.C: safety check for C-r (revert)
294 2003-03-29 John Levon <levon@movementarian.org>
297 * bufferlist.C: several UI fixes using Alert::prompt.
298 Fix the pointless looping quit code. Fix stupid revert
303 * lyx_cb.C: use Alert::prompt
305 * lyx_main.C: remove a silly question
307 * lyxfunc.C: remove a couple of silly questions,
310 2003-03-28 John Levon <levon@movementarian.org>
312 * text2.C: fix bug 974 (End on empty par)
314 2003-03-28 John Levon <levon@movementarian.org>
316 * BufferView_pimpl.C:
318 * lfuns.h: remove do-nothing math greek lfuns
320 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
322 * lyxgluelength.h (isValidGlueLength): add default arg on
323 parameter 2. Remove default arg from friend in class.
325 * lyxlength.h (isValidLength): add default arg on parameter 2.
326 Remove default arg from friend in class.
328 * text2.C (LyXText): adjust, initialize refresh_row.
332 (insertParagraph): adjst
333 (redoParagraphs): adjust
334 (fullRebreak): adjust
335 (updateCounters): adjust
336 (deleteEmptyParagraphMechanism): first attempt at fixing a
339 * text.C (top_y): adjust
340 (setHeightOfRow): adjust
342 (getRowNearY): adjust
344 * lyxtext.h: include RowList.h
345 (~LyXText): not needed anymore, deleted.
346 (firstRow): modify for RowList
347 (lastRow): new function
348 Delete firstrow and lastrow class variables, add a Rowlist
349 rowlist_ class variable.
351 * lyxrow.C (lastPos): use empty() and not !size() to check if a
354 * RowList.C (insert): fix case where it == begin().
356 2003-03-26 Angus Leeming <leeming@lyx.org>
358 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
359 the thesaurus dialog.
361 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
365 * RowList.[Ch]: new files
367 * ParagraphList.C (erase): handle the case where it == begin
370 2003-03-25 John Levon <levon@movementarian.org>
374 * aspell.C: add new aspell support
377 * lyxrc.C: Make use_pspell be use_spell_lib. Always
380 2003-03-25 Angus Leeming <leeming@lyx.org>
383 * LyXAction.C (init): new LFUN_INSET_INSERT.
385 * BufferView_pimpl.C (dispatch): split out part of the
386 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
388 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
391 2003-03-25 Angus Leeming <leeming@lyx.org>
393 * lyxfunc.C (dispatch): changes to the Dialogs interface.
395 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
398 * text3.C: remove useless row->height(0)
400 2003-03-25 John Levon <levon@movementarian.org>
404 * text3.C: rename the refreshing stuff to better names
406 2003-03-24 John Levon <levon@movementarian.org>
408 * BufferView_pimpl.h:
409 * BufferView_pimpl.C: update layout choice on a mouse
412 2003-03-23 John Levon <levon@movementarian.org>
414 * Makefile.am: fix commandtags.h reference
416 2003-03-22 John Levon <levon@movementarian.org>
418 * BufferView_pimpl.C:
423 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
425 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
428 * text.C: take the rtl methods out of line
430 2003-03-21 André Pönitz <poenitz@gmx.net>
432 * metricsinfo.[Ch]: new files containing structures to be passed around
433 during the two-phase-drawing...
435 2003-03-21 André Pönitz <poenitz@gmx.net>
437 * lyxtextclass.C: read 'environment' tag.
439 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
441 * text2.C (removeRow): fix bug 964
443 2003-03-20 John Levon <levon@movementarian.org>
447 * text2.C: paint cleanups. Inset::update() dropped font
450 2003-03-19 John Levon <levon@movementarian.org>
452 * lyxfunc.C: only fitcursor/markDirty if available()
454 2003-03-19 John Levon <levon@movementarian.org>
456 * commandtags.h: rename to ...
458 * lfuns.h: ... this, and renumber / cleanup
460 2003-03-19 John Levon <levon@movementarian.org>
462 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
463 fit the cursor after an lfun
467 * BufferView_pimpl.h:
468 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
470 * LyXAction.C: layout-character should have ReadOnly
472 * ParagraphParameters.C:
474 * bufferview_funcs.C:
481 * undo_funcs.C: changes from above
483 2003-03-18 John Levon <levon@movementarian.org>
485 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
486 remove it from update()
488 * lyxfunc.C: update layout choice after an lfun
490 * text3.C: remove extra updateLayoutChoice()s
492 2003-03-18 John Levon <levon@movementarian.org>
494 * text.C: top_y change means full repaint, fix
495 a drawing bug with cursor movement
497 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
501 * text2.C: anchor row on setCursor
503 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
505 * lyxtext.h: remove almost all mutable keywords
508 * text3.C: remove const keywords accordingly
510 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
512 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
514 (TeXEnvironment): ditto
517 2003-03-17 John Levon <levon@movementarian.org>
519 * text.C (rowBreakPoint): remove attempt to fix displayed
520 math insets inside a manual label
522 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * lyxtext.h: remove BufferView* as first arg from almost all class
526 * other files: adjust.
528 2003-03-17 John Levon <levon@movementarian.org>
532 * text2.C: more paint cleanups
534 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
537 * rowpainter.C: remove "smart" background painting code
539 2003-03-16 John Levon <levon@movementarian.org>
544 * text3.C: add helper functions for setting refresh_row/y
546 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
548 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
549 newline inset which *can* get inserted in the pass_thru layouts.
550 This is primarily for literate documents.
552 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
554 * buffer.C: increment LYX_FORMAT to 223
556 2003-03-14 André Pönitz <poenitz@gmx.net>
558 * textclass.h: prepare for environment handling, ws changes
559 * lyxlayout.C: read latexheader and latexfooter tags
561 2003-03-14 John Levon <levon@movementarian.org>
563 * text2.C: rewrite ::status() a bit
565 2003-03-13 John Levon <levon@movementarian.org>
567 * lyxtext.h: add some docs
569 2003-03-13 John Levon <levon@movementarian.org>
574 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
576 2003-03-13 John Levon <levon@movementarian.org>
578 * text3.C: fix appendix redrawing
580 2003-03-13 John Levon <levon@movementarian.org>
582 * text.C (setHeightOfRow):
584 * rowpainter.C: make appendix mark have the text
585 "Appendix" so the user knows what it is
588 * LColor.C: s/appendixline/appendix/ from above
590 2003-03-13 John Levon <levon@movementarian.org>
592 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
594 * text.C: fix a getChar(pos) bug properly
596 2003-03-13 Angus Leeming <leeming@lyx.org>
599 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
600 Probably only temporary. Let's see how things pan out.
602 * BufferView.C (unlockInset):
603 * BufferView_pimpl.C (fitCursor):
604 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
606 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
607 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
609 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
610 new functions that convert ParagraphParameters to and from a string.
612 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
613 BufferView::Pimpl's dispatch.
614 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
616 2003-03-13 André Pönitz <poenitz@gmx.net>
620 * factory.C: make it aware of InsetEnv
622 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * text2.C (setCursor): never ask for one past last
625 (setCursor): add some debugging messages.
627 * text.C (singleWidth): never ask for one past last
631 (rowBreakPoint): ditto
632 (setHeightOfRow): ditto
633 (prepareToPrint): ditto
635 * rowpainter.C (paintBackground): never ask for one past last
636 (paintText): never ask for one past last
638 * paragraph_pimpl.C (getChar): make the assert stricter, never
639 allow the one past last pos to be taken
641 * paragraph.C (getChar): ws changes only
643 * lyxrow.C (nextRowIsAllInset): never ask for one past last
644 (numberOfSeparators): ditto
645 (numberOfHfills): ditto
647 2003-03-12 John Levon <levon@movementarian.org>
653 * paragraph_funcs.C: fix per-buffer authorlists
655 2003-03-12 John Levon <levon@movementarian.org>
657 * text.C: fix newline in right address
659 2003-03-12 Angus Leeming <leeming@lyx.org>
661 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
662 duplicate those in LyXFunc::dispatch.
667 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
668 Add LFUN_FONTFREE_UPDATE.
670 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
671 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
673 * bufferview_func.[Ch]: several new functions to facilliate
674 transfer of data to and from the character dialog.
676 2003-03-12 John Levon <levon@movementarian.org>
686 * text3.C: remove META_NEWLINE in favour of an inset
689 * rowpainter.C: remove paintNewline (done by inset)
691 2003-03-12 John Levon <levon@movementarian.org>
693 * paragraph_pimpl.C: complain about bad getChar()s
696 2003-03-12 John Levon <levon@movementarian.org>
699 * buffer.C: move paragraph read into a separate function,
700 a little renaming to reflect that.
703 * bufferparams.C: remove the author_ids map, not necessary now
706 * factory.C: moved Buffer::readInset to here
709 * paragraph_funcs.C: readParagraph free function moved from
712 * tabular.C: name change
714 2003-03-12 John Levon <levon@movementarian.org>
717 * ParagraphParameters.C: move par params input to
720 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
721 behave like a normal read from the stream wrt reading
724 2003-03-12 John Levon <levon@movementarian.org>
727 * ParagraphParameters.h:
728 * ParagraphParameters.C: move output code to a
731 2003-03-12 John Levon <levon@movementarian.org>
733 * BufferView.C (insertLyXFile):
736 * tabular.C: use a parlist iterator for creating the
739 2003-03-12 John Levon <levon@movementarian.org>
741 * buffer.C: make current_change static local not
744 2003-03-12 John Levon <levon@movementarian.org>
746 * buffer.C: fix insertStringAsLines for change tracking
748 2003-03-12 John Levon <levon@movementarian.org>
755 * bufferparams.C: move author list into params. Rename some
756 functions. Move the header reading into a separate token
757 loop. Move the header token reading into BufferParams.
759 2003-03-12 John Levon <levon@movementarian.org>
761 * changes.C: put debug inside lyxerr.debugging() checks
763 2003-03-11 André Pönitz <poenitz@gmx.net>
765 * factory.C: make it aware of InsetHFill
767 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
769 * buffer.C (latexParagraphs): move function from here...
770 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
773 2003-03-10 Angus Leeming <leeming@lyx.org>
775 * LyXAction.C (init): fix bug in poplating array with multiple entries
776 with the same LFUN (spotted by JMarc).
778 2003-03-10 John Levon <levon@movementarian.org>
781 * text2.C: move getColumnNearX() near its
784 2003-03-10 John Levon <levon@movementarian.org>
786 * text.C: fix break before a minipage
788 2003-03-10 John Levon <levon@movementarian.org>
790 * text.C: fix the last commit
792 2003-03-09 John Levon <levon@movementarian.org>
796 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
797 bug 365 (don't break before insets unless needed). Don't
798 return a value > last under any circumstances.
800 2003-03-09 Angus Leeming <leeming@lyx.org>
802 * BufferView_pimpl.C (trackChanges, dispatch): call
803 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
805 2003-03-09 Angus Leeming <leeming@lyx.org>
807 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
808 than Dialogs::showAboutlyx().
810 2003-03-09 Angus Leeming <leeming@lyx.org>
812 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
813 than Dialogs::showTabularCreate().
815 2003-03-09 John Levon <levon@movementarian.org>
819 * text2.C: 3rd arg to nextBreakPoint was always the same.
822 2003-03-08 John Levon <levon@movementarian.org>
829 * text2.C: Remove the "main" bit from the "main body"
832 2003-03-08 John Levon <levon@movementarian.org>
834 * text.C (leftMargin): The left margin of an empty
835 manual label paragraph should not include the label width
838 * text.C (prepareToPrint): don't attempt to measure hfills
839 for empty manual label paragraphs - the answer should be 0
841 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * CutAndPaste.C: remove commented code and reindent.
845 2003-03-08 John Levon <levon@movementarian.org>
848 * lyxfunc.C: move reloadBuffer()
851 * BufferView.C: to here
853 * lyxvc.C: add comment
856 * vc-backend.C: call bv->reload() to avoid
857 getStatus() check on MENURELOAD
859 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
861 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
862 to an old format .dep file.
864 2003-03-07 Angus Leeming <leeming@lyx.org>
866 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
867 when the LFUN_MOUSE_RELEASE should have been handled by
868 inset->localDispatch.
870 2003-03-07 Angus Leeming <leeming@lyx.org>
872 * BufferView_pimpl.C (dispatch):
873 * LyXAction.C (init):
874 * ToolbarDefaults.C (init):
876 * lyxfunc.C (getStatus):
877 remove LFUN_INSET_GRAPHICS.
879 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
881 2003-03-07 Angus Leeming <leeming@lyx.org>
884 * LyXAction.C (init):
885 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
887 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
890 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
892 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
893 localDispatch method LFUN_INSET_DIALOG_UPDATE.
895 2003-03-07 Angus Leeming <leeming@lyx.org>
897 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
900 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * ParagraphList.C (front): new function
905 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
907 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
908 and top_row_offset_. removed var first_y.
910 * text2.C (LyXText, removeRow):
912 * BufferView_pimpl.C:
913 use these methods instead of using first_y
915 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
917 * text2.C (pasteSelection): adjust for checkPastePossible
919 * CutAndPaste.C: remove Paragraph * buf and replace with
920 ParagraphList paragraphs.
921 (DeleteBuffer): delete
922 (cutSelection): change the tc type to textclass_type
923 (copySelection): change the tc type to textclass_type
924 (copySelection): adjust for ParagraphList
925 (pasteSelection): change the tc type to textclass_type
926 (pasteSelection): adjust for Paragraphlist
927 (nrOfParagraphs): simplify for ParagraphList
928 (checkPastePossible): simplify for ParagraphList
929 (checkPastePossible): remove unused arg
931 * ParagraphList.C (insert): handle the case where there are no
934 * CutAndPaste.h: make CutAndPaste a namespace.
936 * text3.C (dispatch): adjust
938 * text.C (breakParagraph): add a ParagraphList as arg
940 * paragraph_funcs.C (breakParagraph): change to take a
941 BufferParams and a ParagraphList as args.
942 (breakParagraphConservative): ditto
943 (mergeParagraph): ditto
944 (TeXDeeper): add a ParagraphList arg
945 (TeXEnvironment): ditto
948 * buffer.C (readLyXformat2): adjust
949 (insertStringAsLines): adjust
950 (latexParagraphs): adjust
952 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
953 (cutSelection): adjust
954 (pasteSelection): adjust
956 * BufferView_pimpl.C (insertInset): adjust
958 2003-03-05 Angus Leeming <leeming@lyx.org>
961 * LyXAction.C (init):
962 * BufferView_pimpl.C (dispatch):
963 * lyxfunc.C (getStatus):
964 remove LFUN_CHILD_INSERT.
966 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
968 2003-03-05 Angus Leeming <leeming@lyx.org>
971 * LyXAction.C (init):
972 * src/factory.C (createInset):
973 * lyxfunc.C (getStatus):
974 * text3.C (dispatch):
975 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
977 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
979 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * ParagraphList.C (insert): handle insert right before end()
982 (erase): fix cases where it can be first or last paragraph.
984 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * paragraph_funcs.C (TeXEnvironment): remove all usage of
987 Paragraph::next and Paragraph::previous
990 * text.C (breakParagraph): adjust
992 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
993 BufferParams& as arg.
994 (breakParagraph): use ParagraphList::insert
995 (breakParagraphConservative): take a Buffer* instead of a
996 BufferParams& as arg.
997 (breakParagraphConservative): use ParagraphList::insert.
999 * buffer.C (insertStringAsLines): un-const it
1000 (insertStringAsLines): adjust
1002 * ParagraphList.C (insert): new function
1004 * CutAndPaste.C (pasteSelection): adjust
1006 * text.C (backspace): adjust
1008 * tabular.C (SetMultiColumn): adjust
1010 * CutAndPaste.C (cutSelection): adjust
1011 (pasteSelection): adjust
1013 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1014 Buffer const * as arg
1016 * ParagraphList.C (erase): new function
1017 * paragraph_funcs.C (mergeParagraph): use it
1018 (mergeParagraph): make it take a Buffer* instead of a
1019 BufferParams* as arg
1021 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1023 (breakParagraphConservative): ditto
1025 * paragraph.h: remove the breakParagraph friend
1027 * paragraph.C (eraseIntern): new function
1028 (setChange): new function
1030 * paragraph_funcs.C (mergeParagraph): make it take a
1031 ParagraphList::iterator instead of a Paragraph *, adjust
1034 * paragraph.h: move an #endif so that the change tracking stuff
1035 also works in the NO_NEXT case.
1037 2003-03-04 Angus Leeming <leeming@lyx.org>
1040 * LyXAction.C: new LFUN_INSET_MODIFY.
1042 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1043 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1045 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * several files: ws changes only
1049 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1050 (TeXEnvironment): ditto
1053 * buffer.C (makeLaTeXFile): adjust
1054 (latexParagraphs): make it take ParagraphList::iterator as args
1056 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * buffer.C (latexParagraphs): adjust
1060 * paragraph.C (TeXOnePar): move function...
1061 (optArgInset): move function...
1062 (TeXEnvironment): move function...
1063 * paragraph_pimpl.C (TeXDeeper): move function...
1064 * paragraph_funcs.C: ...here
1066 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1068 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * buffer.C (readInset): remove compability code for old Figure and
1073 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * buffer.C: ws changes
1078 * BufferView_pimpl.C: ditto
1081 * bufferlist.h: ditto
1085 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1087 * converter.[Ch]: split into itself +
1090 * Makefile.am: += graph.[Ch] + format.[Ch]
1097 * lyxrc.C: added #include "format.h"
1099 2003-02-27 Angus Leeming <leeming@lyx.org>
1101 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1104 * factory.C (createInset): add "label" to the factory.
1106 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1107 string and do no more.
1109 2003-02-27 Angus Leeming <leeming@lyx.org>
1112 * LyXAction.C (init):
1113 * factory.C (createInset):
1114 * BufferView_pimpl.C (dispatch):
1115 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1117 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1119 * lyxfunc.C (dispatch):
1120 * text3.C (dispatch): pass name to params2string.
1122 2003-02-26 Angus Leeming <leeming@lyx.org>
1124 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1126 Rearrange the ~includes. Strip out the unnecessary ones.
1128 * factory.C (createInset): reformat.
1129 create new insets for the various LFUN_XYZ_APPLY lfuns.
1131 2003-02-26 John Levon <levon@movementarian.org>
1134 * lyxrow.C: add isParStart,isParEnd helpers
1136 * paragraph.h: make isInserted/DeletedText take refs
1138 * paragraph_funcs.h:
1139 * paragraph_funcs.C: remove #if 0'd code
1144 * text.C: use lyxrow helpers above.
1145 Move draw and paint routines to RowPainter.
1146 Make several methods use refs not pointers.
1147 Make backgroundColor() const.
1148 Add markChangeInDraw(), isInInset().
1149 Merge changeRegionCase into changeCase.
1150 Make workWidth() shouldn't-happen code into an Assert.
1153 * rowpainter.C: new class for painting a row.
1156 * vspace.C: make inPixels take a ref
1158 2003-02-26 Angus Leeming <leeming@lyx.org>
1160 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1163 2003-02-25 John Levon <levon@movementarian.org>
1165 * ispell.C: give the forked command a more accurate name
1167 2003-02-22 John Levon <levon@movementarian.org>
1170 * toc.C: make TocItem store an id not a Paragraph *
1173 2003-02-21 Angus Leeming <leeming@lyx.org>
1175 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1176 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1177 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1178 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1179 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1180 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1182 * BufferView_pimpl.C (dispatch):
1183 * LyXAction.C (init):
1184 * factory.C (createInset):
1185 * lyxfunc.C (getStatus, dispatch):
1186 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1188 2003-02-21 Angus Leeming <leeming@lyx.org>
1190 * BufferView_pimpl.C (MenuInsertLyXFile):
1191 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1192 * lyxfunc.C (menuNew, open, doImport):
1193 no longer pass a LyXView & to fileDlg.
1195 2003-02-21 Angus Leeming <leeming@lyx.org>
1197 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1198 * LyXAction.C: change, BIBKEY to BIBITEM.
1199 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1200 Change InsetBibKey to InsetBibitem.
1201 Change BIBKEY_CODE to BIBITEM_CODE.
1202 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1203 * factory.C: replace insetbib.h with insetbibitem.h.
1204 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1205 * paragraph.C: replace insetbib.h with insetbibitem.h.
1206 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1207 Change bibkey() to bibitem().
1208 * text.C: remove insetbib.h.
1209 * text2.C: replace insetbib.h with insetbibitem.h.
1210 change bibkey() to bibitem().
1211 * text3.C: remove insetbib.h.
1212 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1214 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * lyxrc.C (output): enclose user email in quotes (in case there are
1219 2003-02-18 John Levon <levon@movementarian.org>
1221 * buffer.h: add std::
1223 2003-02-17 John Levon <levon@movementarian.org>
1229 * pspell.C: reworking. Especially in ispell, a large
1230 number of clean ups and bug fixes.
1232 * lyxfunc.C: fix revert to behave sensibly
1234 2003-02-17 André Pönitz <poenitz@gmx.net>
1237 * commandtags.h: new LFUN_INSERT_BIBKEY
1247 * paragraph_func.C: remove special bibkey handling
1249 2003-02-17 John Levon <levon@movementarian.org>
1251 * text.C (Delete): fix case where delete at the end of
1252 the very first paragraph would not merge the pars
1254 2003-02-17 John Levon <levon@movementarian.org>
1256 * lyxrow.C: fix lastPrintablePos()
1258 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1260 * bufferparams.C (writeLaTeX): add a std:here
1262 * buffer.C: and remove a using directive there
1264 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1266 * buffer.C (makeLaTeXFile): move the code that generates the
1269 * bufferparams.C (writeLaTeX): ... in this new method
1271 * LaTeXFeatures.C (getEncodingSet): make const
1272 (getLanguages): make const
1274 * MenuBackend.C (binding): returns the binding associated to this
1276 (add): sets the status of each item by calling getStatus. Adds
1278 (read): add support for OptSubMenu
1279 (expand): remove extra separator at the end of expanded menu
1281 2003-02-15 John Levon <levon@movementarian.org>
1284 * BufferView_pimpl.C:
1286 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1287 inset code that had no actual effect. Remove unneeded status
1290 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1292 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1295 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1297 * text.C (drawLengthMarker): also draw an arrow marker for
1298 symbolic lengths (medskip...)
1300 2003-02-14 John Levon <levon@movementarian.org>
1303 * tabular.C: better method names
1305 2003-02-14 John Levon <levon@movementarian.org>
1307 * BufferView_pimpl.C:
1312 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1313 it's a more accurate name. Remove some pointless uses.
1315 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1317 * text2.C (LyXText): change order of initilizers to shut off
1320 2003-02-14 John Levon <levon@movementarian.org>
1322 * buffer.C: use ParIterator for getParFromID()
1326 * paragraph_pimpl.h:
1327 * paragraph_pimpl.C: remove unused getParFromID()
1329 2003-02-14 John Levon <levon@movementarian.org>
1331 * buffer.C: remove some very old #if 0'd parse code
1333 2003-02-13 John Levon <levon@movementarian.org>
1337 * text2.C: move hfillExpansion(), numberOfSeparators(),
1338 rowLast(), rowLastPrintable(), numberofHfills(),
1339 numberOfLabelHfills() ...
1342 * lyxrow.C: ... to member functions here.
1347 * text.C: remove LyXText::beginningOfMainBody(), and call
1348 p->beginningOfMainBody() directly. Move the check for
1349 LABEL_MANUAL into the latter.
1356 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1362 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1363 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1365 2003-02-13 John Levon <levon@movementarian.org>
1367 * CutAndPaste.C: remove debug
1369 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1371 * paragraph.C (asString): remove two unused variables
1373 * lyxtextclass.C (readTitleType):
1375 (LyXTextClass): handle new members titletype_ and titlename_
1377 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1379 2003-02-09 John Levon <levon@movementarian.org>
1382 * buffer.C: replace hand-coded list with a map for the dep clean
1384 2003-02-08 John Levon <levon@movementarian.org>
1386 * LaTeX.C: consolidate code into showRunMessage() helper
1388 2003-02-08 John Levon <levon@movementarian.org>
1393 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1394 and pass the size in explicitly
1396 * BufferView_pimpl.h:
1397 * BufferView_pimpl.C:
1399 * BufferView.C: add getCurrentChange()
1401 * BufferView_pimpl.h:
1402 * BufferView_pimpl.C: handle change lfuns
1404 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1405 for changes. Mark pasted paragraphs as new.
1407 * support/lyxtime.h:
1408 * support/lyxtime.C:
1409 * DepTable.C: abstract time_t as lyx::time_type
1412 * LColor.C: add colours for new text, deleted text, changebars
1414 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1415 package use "usenames" option.
1419 * LyXAction.C: add change lfuns
1423 * author.C: author handling
1426 * buffer.C: add a per-buffer author list, with first entry as
1427 current author. Handle new .lyx tokens for change tracking. Output
1428 author list to .lyx file. Output dvipost stuff to .tex preamble.
1429 Bump lyx format to 222.
1432 * bufferlist.C: add setCurrentAuthor() to reset current author details
1436 * bufferparams.C: add param for tracking
1438 * bufferview_funcs.C: output change info in minibuffer
1442 * changes.C: add change-tracking structure
1445 * debug.C: add CHANGES debug flag
1448 * lyxfind.C: add code for finding the next change piece
1451 * lyxrc.C: add user_name and user_email
1454 * lyxrow.C: add a metric for the top of the text line
1457 * text.C: implement accept/rejectChange()
1460 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1461 Strike through deleted text.
1465 * paragraph_pimpl.h:
1466 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1467 to the insert functions. Rework erase to mark text as deleted, adding
1468 an eraseIntern() and a range-based erase(). Implement
1469 per-paragraph change lookup and accept/reject.
1471 * paragraph_funcs.C: Fixup paste for change tracking.
1473 * tabular.C: mark added row/columns as new.
1475 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1476 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1478 * text2.C: leave cursor at end of selection after a cut.
1480 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1482 * text.C (getLengthMarkerHeight):
1483 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1484 visible on screen too.
1486 2003-02-07 John Levon <levon@movementarian.org>
1488 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1490 2003-02-05 Angus Leeming <leeming@lyx.org>
1492 * lyxserver.C (read_ready): revert my patch of 11 September last year
1493 as it sends PC cpu through the roof. Presumably this means that
1494 the lyxserver will no longer run on an Alpha...
1496 2003-01-30 Angus Leeming <leeming@lyx.org>
1498 * factory.C (createInset): create an InsetCommandParam of type "index"
1499 and use it to 'do the right thing'.
1501 * text2.C (getStringToIndex): ensure that cursor position is always
1502 reset to the reset_cursor position.
1504 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1506 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1509 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1513 * lyxfunc.C: Output messages with identical spelling, punctuation,
1516 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1518 * MenuBackend.C (expandFormats): List only viewable export formats
1521 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1524 * lyxfunc.C (getStatus): Make sure that formats other than
1525 "fax" can also be disabled
1527 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1529 * text3.C (dispatch): put the lfuns that insert insets in 3
1530 groups, and call doInsertInset with appropriate arguments.
1531 (doInsertInset): new function, that creates an inset and inserts
1532 it according to some boolean parameters.
1534 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * buffer.C (readFile): remember to pass on 'par' when calling
1537 readFile recursively.
1539 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1541 * MenuBackend.C (expandFormats): add "..." to import formats.
1543 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1545 * paragraph.C (asString): Remove XForms RTL hacks.
1547 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1548 * buffer.C: fix typo
1550 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * Makefile.am (LIBS): delete var
1553 (lyx_LDADD): add @LIBS@ here instead.
1555 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1557 * Clarify the meaning of "wheel mouse jump"
1559 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1561 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1564 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1566 * importer.C (Loaders): do not preallocate 3 elements in the
1567 vector, since one ends up with 6 elements otherwise
1569 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1571 * DepTable.C (write): write the file name as last element of the
1572 .dep file (because it may contain spaces)
1573 (read): read info in the right order
1575 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1577 * paragraph_pimpl.C (simpleTeXBlanks):
1578 (simpleTeXSpecialChars):
1579 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1581 * tabular.C (latex): add some missing case statements. Reindent.
1583 * MenuBackend.C (expandToc): remove unused variable.
1585 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1594 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1597 2003-01-05 John Levon <levon@movementarian.org>
1600 * BufferView.C: add getEncoding()
1603 * kbsequence.C: do not store last keypress
1606 * lyxfunc.C: store last keypress here instead. Pass encoding
1609 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1611 * lyx_main.C (init): remove annoying error message when following
1612 symbolic links (bug #780)
1614 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1616 * text.C (insertChar):
1617 * lyxrc.C (getDescription): remove extra spaces
1619 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1621 * lyxrc.C (getDescription): remove extra spaces
1623 2002-12-20 John Levon <levon@movementarian.org>
1625 * text3.C: hack fix for page up/down across tall rows
1627 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1629 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1632 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1634 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1635 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1636 thesaurus is not compiled in
1638 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1640 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1642 2002-12-16 Angus Leeming <leeming@lyx.org>
1645 * lyx_main.C (init): remove override_x_deadkeys stuff.
1647 2002-12-12 John Levon <levon@movementarian.org>
1649 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1650 insert. Only remove shift modifier under strict
1653 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * MenuBackend.C (expandToc): fix crash.
1657 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1659 * MenuBackend.C (expandToc): gettext on float names.
1661 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1663 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1664 implement bool empty() [bug 490]
1666 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1670 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * several files: ws changes
1674 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * text2.C (setCounter): clean up a bit, use boost.format.
1677 (updateCounters): initialize par upon declaration.
1679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1680 if the layout exists. We do not just store the layout any more.
1681 (SwitchLayoutsBetweenClasses): use boost.format
1683 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1685 * converter.C (convert): if from and to files are the same, use a
1686 temporary files as intermediary
1688 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1691 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1693 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1695 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1697 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * tabular.C (asciiPrintCell): use string(size, char) instead of
1702 * sgml.C (openTag): fix order of arguments to string constructor
1705 * lyxfunc.C (dispatch): use boost.format
1707 * lots of files: change "c" -> 'c'
1709 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1711 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1713 2002-11-25 Angus Leeming <leeming@lyx.org>
1715 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1717 * lyx_main.C (init): compile fix.
1719 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * lyx_cb.C (start): boost.formatify
1722 do not include <iostream>
1724 * lengthcommon.C: ws only
1726 * boost-inst.C,BoostFormat.h: add more explict instantations
1728 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1730 * lots of files: handle USE_BOOST_FORMAT
1732 2002-11-21 John Levon <levon@movementarian.org>
1734 * pspell.C: fix compile
1736 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1738 * lyxfunc.C (dispatch): use boost::format
1742 * lyxfont.C (stateText): use boost::format
1744 * lyx_main.C (LyX): use boost::format
1746 (queryUserLyXDir): ditto
1749 (typedef boost::function): use the recommened syntax.
1751 * importer.C (Import): use boost::format
1753 * debug.C (showLevel): use boost::format
1755 * converter.C (view): use boost::format
1760 * bufferview_funcs.C (currentState): use boost::format
1762 * bufferlist.C (emergencyWrite): use boost::format
1764 * buffer.C (readLyXformat2): use boost::format
1765 (parseSingleLyXformat2Token): ditto
1767 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1769 * LaTeX.C (run): use boost::format
1771 * Chktex.C (scanLogFile): use boost::format
1773 * BufferView_pimpl.C (savePosition): use boost::format
1774 (restorePosition): ditto
1775 (MenuInsertLyXFile): ditto
1777 * BoostFormat.h: help file for explicit instation.
1779 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1781 * tabular.C (latex): Support for block alignment in fixed width
1784 2002-11-17 John Levon <levon@movementarian.org>
1786 * BufferView_pimpl.C:
1788 * lyxfunc.C: split filedialog into open/save
1790 2002-11-08 Juergen Vigna <jug@sad.it>
1792 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1793 by my last patch (hopefully).
1795 2002-11-08 John Levon <levon@movementarian.org>
1804 * toc.C: ParConstIterator, and use it (from Lars)
1806 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1808 * lyxtextclass.[Ch]: revise and add doxygen comments
1810 2002-11-07 John Levon <levon@movementarian.org>
1812 * text.C: fix progress value for spellchecker
1814 * toc.C: fix navigate menu for insetwrap inside minipage
1816 * paragraph_funcs.C: added FIXME for suspect code
1818 2002-11-07 John Levon <levon@movementarian.org>
1820 * BufferView_pimpl.C: fix redrawing of insets
1823 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1825 * text2.C (updateCounters): fix bug 668
1827 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1829 * text3.C (dispatch): Do not make the buffer dirty when moving the
1832 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * vc-backend.C: STRCONV
1837 * text2.C (setCounter): STRCONV
1839 * paragraph.C (asString): STRCONV
1841 * lyxlength.C (asString): STRCONV
1842 (asLatexString): ditto
1844 * lyxgluelength.C (asString): STRCONV
1845 (asLatexString): ditto
1847 * lyxfunc.C (dispatch): STRCONV
1850 * lyxfont.C (stateText): STRCONV
1852 * importer.C (Import): STRCONV
1854 * counters.C (labelItem): STRCONV
1855 (numberLabel): ditto
1856 (numberLabel): remove unused ostringstream o
1861 * bufferview_funcs.C (currentState): STRCONV
1863 * buffer.C (readFile): STRCONV
1864 (asciiParagraph): ditto
1865 (makeLaTeXFile): ditto
1867 * Spacing.C (writeEnvirBegin): STRCONV
1869 * LaTeXFeatures.C (getLanguages): STRCONV
1870 (getPackages): ditto
1872 (getBabelOptions): ditto
1873 (getTClassPreamble): ditto
1874 (getLyXSGMLEntities): ditto
1875 (getIncludedFiles): ditto
1879 (scanAuxFile): ditto
1882 * LString.h: add the STRCONV macros
1884 * BufferView_pimpl.C (savePosition): STRCONV
1885 (restorePosition): ditto
1886 (MenuInsertLyXFile): ditto
1888 * vc-backend.C (scanMaster): change from submatch[...] to
1891 * funcrequest.C: include config.h
1893 * factory.C: include config.h
1895 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1897 * box.C: include config.h
1899 * LaTeX.C (scanAuxFile): change from submatch[...] to
1903 2002-10-25 Angus Leeming <leeming@lyx.org>
1905 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1907 * ispell.[Ch] (setError): new method.
1908 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1909 Use setError() insetead of goto END.
1911 * lyx_cb.C (AutoSave): move out child process into new class
1914 2002-10-30 John Levon <levon@movementarian.org>
1916 * text3.C: make start appendix undoable
1918 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1920 * lyxlength.C (inPixels): Fix returned value.
1922 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1925 2002-10-24 Angus Leeming <leeming@lyx.org>
1927 * lyxgluelength.h: no need to forward declare BufferParams
1928 or BufferView, so don't.
1930 2002-10-21 John Levon <levon@movementarian.org>
1932 * BufferView.C: menuUndo ->undo, redo
1934 * BufferView.h: document, remove dead, make some methods private
1936 * paragraph_funcs.h:
1937 * paragraph_funcs.C:
1938 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1943 * sgml.C: move sgml open/close tag into sgml.C
1945 * bufferview_funcs.h: unused prototype
1948 * lyxfunc.C: remove unused
1951 * text.C: remove unused
1953 2002-10-21 John Levon <levon@movementarian.org>
1957 * BufferView_pimpl.h:
1958 * BufferView_pimpl.C: fix mouse wheel handling based on
1959 patch from Darren Freeman
1961 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1963 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1965 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1967 * lyxlength.C (inPixels): Fix hanfling of negative length.
1968 Fix LyXLength::MU case.
1970 2002-10-16 John Levon <levon@movementarian.org>
1972 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1974 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1976 * converter.C (view): add support for $$i (file name) and $$p
1977 (file path) for the viewer command. If $$i is not specified, then
1978 it is appended to the command (for compatibility with old syntax)
1980 2002-10-14 Juergen Vigna <jug@sad.it>
1982 * undo_funcs.C (textHandleUndo): alter the order in which the
1983 new undopar is added to the LyXText, as we have to set first
1984 the right prev/next and then add it as otherwise the rebuild of
1985 LyXText is not correct. Also reset the cursor to the right paragraph,
1986 with this IMO we could remove the hack in "redoParagraphs()".
1988 2002-10-09 Angus Leeming <leeming@lyx.org>
1990 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1991 to turn off an optimisation if a new inset is to be inserted.
1993 2002-10-11 André Pönitz <poenitz@gmx.net>
1995 * lyxtext.h: make some functions public to allow access
1996 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1998 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2000 * text3.C (dispatch): when changing layout, avoid an infinite loop
2003 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2005 * lyxrc.C (read): treat a viewer or converter command of "none" as
2008 * MenuBackend.C (expandFormats): for an update, also allow the
2009 formats that are not viewable
2011 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2012 script if it is newer than the lyxrc.defaults in user directory
2014 2002-10-07 André Pönitz <poenitz@gmx.net>
2016 * text.C: Vitaly Lipatov's small i18n fix
2018 2002-09-25 Angus Leeming <leeming@lyx.org>
2020 * ispell.h: doxygen fix.
2022 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2024 * buffer.h (readFile): Add a new argument to the method, to allow
2025 reading of old-format templates.
2027 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2029 * toc.C (getTocList): Get TOC from InsetWrap.
2031 2002-09-16 John Levon <levon@movementarian.org>
2033 * lyxfunc.C: check tabular for cut/copy too
2035 2002-09-12 John Levon <levon@movementarian.org>
2040 * factory.C: add header
2042 * paragraph_funcs.h:
2043 * paragraph_funcs.C: cleanup
2045 2002-09-11 John Levon <levon@movementarian.org>
2047 * PrinterParams.h: odd/even default to true
2049 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2051 * PrinterParams.h: update printer parameters for new xforms dialog
2053 2002-09-11 Angus Leeming <leeming@lyx.org>
2055 * lyxserver.C (read_ready): re-write to make it more transparent
2056 and to make it work in coherent fashion under Tru64 Unix.
2058 2002-09-11 André Pönitz <poenitz@gmx.net>
2062 * text3.C: implement LFUN_WORDSEL
2064 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2066 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2067 make floatlist_ a boost::shared_ptr<FloatList>
2069 * lyxtextclass.C: include FloatList.h
2070 (LyXTextClass): initialize floatlist_
2071 (TextClassTags): add TC_NOFLOAT
2072 (Read): match "nofloat" to TC_NOFLOAT and use it.
2073 (readFloat): modify call to floatlist_
2077 * FloatList.[Ch] (FloatList): remove commented out float
2079 (erase): new function
2081 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2083 * MenuBackend.C (expandToc): fix crash when there is no document
2086 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2088 * many files: Add insetwrap.
2090 2002-09-09 John Levon <levon@movementarian.org>
2092 * text2.C: remove confusing and awkward depth wraparound
2094 2002-09-09 John Levon <levon@movementarian.org>
2096 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2099 * buffer.C: remove getIncludeonlyList()
2102 * lyxfunc.C: remove headers
2104 2002-09-09 Juergen Vigna <jug@sad.it>
2106 * text.C (getColumnNearX): fix form Michael this is most
2107 probably a cut&paste bug.
2109 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2113 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2114 references, ws changes.
2116 * text2.C (init): update counters after init
2117 (insertParagraph): no need to set counter on idividual paragraphs.
2118 (setCounter): access the counters object in the textclass object
2119 on in the buffer object.
2120 (updateCounters): ditto
2122 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2123 shared_ptr<Counters> to avoid loading counters.h in all
2125 (LyXTextClass): initialize ctrs_
2126 (TextClassTags): add TC_COUNTER, and ...
2127 (Read): use it here.
2128 (CounterTags): new tags
2129 (readCounter): new function
2130 (counters): new funtion
2131 (defaultLayoutName): return a const reference
2133 * counters.C (Counters): remove contructor
2134 (newCounter): remove a couple of unneeded statements.
2135 (newCounter): simplify a bit.
2136 (numberLabel): some small formatting changes.
2138 * buffer.[Ch]: remove all traces of counters, move the Counters
2139 object to the LyXTextClass.
2141 2002-09-06 Alain Castera <castera@in2p3.fr>
2143 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2144 package to set the horizontal alignment on fixed width columns.
2147 * lyx_sty.h: added tabularnewline macro def.
2149 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2151 2002-09-06 John Levon <levon@movementarian.org>
2153 * LyXAction.C: tooltips for sub/superscript
2155 * MenuBackend.C: a bit more verbose
2157 * lyxfunc.C: tiny clean
2159 * undo_funcs.C: document undo_frozen
2161 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2163 * counters.C (Counters): add missing algorithm counter.
2165 * text2.C (setCounter): lookup the counter with layouts latexname
2166 instead of by section number.
2167 (setCounter): use a hackish way to lookup the correct enum
2169 a float name->type change
2170 reset enum couners with counter name directly instead of depth value.
2172 * counters.C (Counters): remove the push_backs, change to use the
2173 float type not the float name.
2174 (labelItem): remove unused string, float name->type change
2176 * counters.h: don't include vector, loose the enums and sects vectors
2178 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2181 (Read): add float->TC_FLOAT to textclassTags
2182 (Read): and handle it in the switch
2183 (readFloat): new function
2185 * FloatList.C (FloatList): comment out the hardcoded float
2188 * lyxlayout.h: ws change.
2190 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2192 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2194 2002-09-03 Angus Leeming <leeming@lyx.org>
2196 * BufferView_pimpl.h: qualified name is not allowed in member
2197 declaration: WorkArea & Pimpl::workarea() const;
2199 * factory.C: added using std::endl directive.
2201 * text3.C: added using std::find and std::vector directives.
2203 2002-08-29 André Pönitz <poenitz@gmx.net>
2206 * text2.C: remove unused member number_of_rows
2209 * BufferView2.C: remove file, move contents to...
2210 * BufferView.C: ... here
2212 * BufferView_pimpl.C:
2213 * factory.C: move more inset creation to factory
2215 * vspace.C: avoid direct usage of LyXText, ws changes
2218 don't provide direct access to WorkArea, use two simple
2219 acessors haveSelction() and workHeight() instead
2222 2002-08-29 John Levon <levon@movementarian.org>
2224 * BufferView_pimpl.C (dispatch): do not continue when
2227 2002-08-28 André Pönitz <poenitz@gmx.net>
2229 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2232 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2234 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2236 * buffer.C: increment LYX_FORMAT to 221
2238 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2239 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2241 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2243 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2245 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2247 * factory.C (createInset): use LyXTextClass::floats
2249 * MenuBackend.C (expandFloatListInsert):
2250 (expandFloatInsert):
2253 * text2.C (setCounter):
2255 * LaTeXFeatures.C (useFloat):
2256 (getFloatDefinitions):
2258 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2260 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2261 floatlist_, with accessor floats().
2263 * FloatList.h: remove global FloatList
2265 2002-08-26 André Pönitz <poenitz@gmx.net>
2267 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2271 * BufferView_pimpl.C:
2272 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2274 2002-08-25 John Levon <levon@movementarian.org>
2276 * LyXAction.C: fix margin note description
2278 2002-08-24 John Levon <levon@movementarian.org>
2282 * bufferview_funcs.C:
2284 * undo_funcs.C: cleanups
2286 * lyxfunc.C: disable CUT/COPY when no selection
2288 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2290 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2291 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2293 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2294 Add backward compatibility to "mono", "gray" and "no".
2296 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2298 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2299 (and file_format >= 200).
2301 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2303 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2305 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2307 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2309 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2311 * BufferView_pimpl.C:
2318 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2319 inset and code to make it work with the paragraph code. The inset
2320 can be anywhere in the paragraph, but will only do the expected
2321 thing in LaTeX if the layout file contains the parameter line
2323 (or more generally, a nonzero value) for that layout.
2325 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2327 * paragraph.h: remove the declaration of undefined counters class
2330 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2332 * text2.C (setCounter): fixed enumeration mis-count as reported by
2333 Dr. Richard Hawkins.
2335 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2337 * paragraph_funcs.h: remove some unneeded includes
2339 * text.C (backspace): pasteParagraph now in global scipe
2341 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2342 (pasteSelection): ditto
2344 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2345 * paragraph_funcs.C (pasteParagraph): ... here
2347 2002-08-20 André Pönitz <poenitz@gmx.net>
2349 * commandtags.h: new LFUNs for swapping/copying table row/colums
2352 * lyxfunc.C: support for new lfuns
2354 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * buffer.[Ch]: remove NO_COMPABILITY stuff
2359 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * boost.C (throw_exception): new file, with helper function for
2362 boost compiled without exceptions.
2367 * ParameterStruct.h:
2368 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2370 * bufferlist.C (emergencyWriteAll): use boost bind
2372 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2374 * text.C: include paragraph_funcs.h
2375 (breakParagraph): breakParagraph is now in global scope
2377 * paragraph_funcs.[Ch]: new files
2379 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2382 * buffer.C: include paragraph_funcs.h
2383 (insertStringAsLines): breakParagraph is now in global scope
2385 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2388 * CutAndPaste.C: include paragraph_funcs.h
2389 (cutSelection): breakParagraphConservative is now in global scope
2390 (pasteSelection): ditto
2392 * buffer.h: declare oprator== and operator!= for
2393 Buffer::inset_iterator
2395 * bufferlist.C (emergencyWrite): don't use fmt(...)
2397 * text3.C: add using std::endl
2399 * BufferView.C (moveCursorUpdate): remove default arg
2401 2002-08-20 André Pönitz <poenitz@gmx.net>
2403 * buffer.[Ch]: move inline functions to .C
2406 * BufferView_pimpl.C:
2408 * buffer.[Ch]: use improved inset_iterator
2411 * paragraph.[Ch]: write one paragraph at a time
2413 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2415 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2416 style if style is not specified.
2418 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2420 * text2.C (setCounter): when searching for right label for a
2421 caption, make sure to recurse to parent insets (so that a caption
2422 in a minipage in a figure float works) (bug #568)
2424 2002-08-20 André Pönitz <poenitz@gmx.net>
2426 * text3.C: new file for LyXText::dispatch() and helpers
2428 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2430 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2432 2002-08-19 André Pönitz <poenitz@gmx.net>
2435 * text.C: new LyXText::dispatch()
2437 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2439 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2441 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2443 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2446 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2448 * Makefile.am: use $(variables) instead of @substitutions@
2450 2002-08-15 André Pönitz <poenitz@gmx.net>
2453 * BufferView_pimpl.C: streamlining mathed <-> outer world
2457 * LyXAction.C: remove unused LFUN_MATH
2459 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2463 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * paragraph.C (Paragraph): reformat a bit
2466 (cutIntoMinibuffer): use builtin InsetList function instad of
2470 * buffer.C: include boost/bind.hpp, add using std::for_each
2471 (writeFileAscii): use ParagraphList iterators
2472 (validate): use for_each for validate traversal of paragraphs
2473 (getBibkeyList): use ParagraphList iterators
2474 (resizeInsets): use for_each to resizeInsetsLyXText for all
2476 (getParFromID): use ParagraphList iterators
2478 * BufferView2.C (lockInset): use paragraph list and iterators
2480 2002-08-14 John Levon <levon@movementarian.org>
2482 * lyxserver.C: remove spurious xforms include
2484 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2486 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2488 2002-08-13 André Pönitz <poenitz@gmx.net>
2491 * lyxfunc.C: further cleaning
2493 2002-08-13 André Pönitz <poenitz@gmx.net>
2495 * funcrequest.h: new constructor
2497 * funcrequest.C: move stuff here from .h
2500 * BufferView_pimpl.C:
2503 * lyxfunc.C: subsequent changes
2505 * lyxfunc.h: new view() member function
2507 * lyxfunc.C: subsequent changes
2509 2002-08-13 Angus Leeming <leeming@lyx.org>
2512 * BufferView_pimpl.C:
2520 changes due to the changed LyXView interface that now returns references
2521 to member variables not pointers.
2523 2002-08-13 Angus Leeming <leeming@lyx.org>
2525 * WordLangTuple (word, lang_code): return references to strings,
2530 * lyxtext.h: forward-declare WordLangTuple.
2535 * text.C: #include "WordLangTuple.h".
2538 * text.C: (selectNextWordToSpellcheck): constify return type.
2540 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2546 * paragraph_pimpl.h:
2549 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2551 Made updateCounter always count from start of buffer, and removed
2552 second argument (par).
2553 Reverted floats number display to '#'. Perhaps I'll try again when the
2554 code base is sanitized a bit.
2556 2002-08-12 Angus Leeming <leeming@lyx.org>
2558 * buffer.[Ch] (getLabelList): constify.
2560 2002-08-07 André Pönitz <poenitz@gmx.net>
2562 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2564 * funcrequest.h: extension to keep mouse (x,y) position
2566 2002-08-12 Juergen Vigna <jug@sad.it>
2568 * BufferView2.C (insertErrors): forbid undo when inserting error
2571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2573 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * ParagraphList.[Ch]: new files
2577 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2579 * BufferView2.C (lockInset): ParagraphList changes
2582 * bufferlist.C: ditto
2586 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2589 unused class variable counter_,
2591 * paragraph.[Ch] (getFirstCounter): delete unused function
2593 * counters.C: include LAssert.h
2594 (reset): add a new function with no arg, change other version to
2595 not have def. arg and to not allow empty arg.
2597 * text2.C (setCounter): remove empty arg from call to Counters::reset
2599 2002-08-11 John Levon <levon@movementarian.org>
2601 * Makefile.am: add WordLangTuple.h
2603 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2606 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2608 * insets/insettext.C: InsetList changes
2610 * graphics/GraphicsSupport.C (operator()): InsetList changes
2612 * toc.C (getTocList): InsetList changes
2614 * paragraph_pimpl.[Ch]: InsetList changes
2616 * paragraph.[Ch]: InsetList changes
2618 * buffer.C (inset_iterator): InsetList changes
2619 (setParagraph): ditto
2620 * buffer.h (inset_iterator): ditto
2621 * iterators.C (operator++): ditto
2622 * iterators.h: ditto
2624 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2626 * InsetList.[Ch]: new files, most InsetList handling moved out of
2629 * BufferView2.C (removeAutoInsets): InsetList changes
2631 (ChangeInsets): ditto
2633 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * paragraph_pimpl.h (empty): new function
2637 * paragraph.[Ch] (empty): new function
2639 * other files: use the new Paragraph::empty function
2641 2002-08-09 John Levon <levon@movementarian.org>
2643 * lyxtext.h: remove unused refresh_height
2645 2002-08-09 John Levon <levon@movementarian.org>
2652 * paragraph.C: move sgml char escaping out of paragraph
2655 * paragraph.C: remove id setter
2659 * paragraph_pimpl.C: remove dead tex_code_break_column
2661 * bufferview_funcs.C: small cleanup
2663 * lyxfunc.C: remove dead proto
2665 * lyxtext.h: make some stuff private. Remove some dead stuff.
2667 * lyxgluelength.C: make as[LyX]String() readable
2669 2002-08-08 John Levon <levon@movementarian.org>
2674 * ToolbarDefaults.C:
2677 * toc.C: lyxaction cleanup
2679 2002-08-08 John Levon <levon@movementarian.org>
2681 * BufferView2.C: small cleanup
2684 * lyxfind.C: move unnecessary header into the .C
2686 2002-08-08 John Levon <levon@movementarian.org>
2688 * funcrequest.h: just tedious nonsense
2691 * lyx_main.C: cleanups
2694 * vspace.C: remove dead header lyx_main.h
2696 2002-08-07 Angus Leeming <leeming@lyx.org>
2699 * paragraph_pimpl.h:
2700 Forward declare class Counters in paragraph.h by moving the ctrs member
2701 variable into Paragraph::Pimpl.
2702 (counters): new method, returning a reference to pimpl_->ctrs.
2704 * text2.C: ensuing changes.
2706 2002-08-07 John Levon <levon@movementarian.org>
2708 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2710 * BufferView_pimpl.C: announce X selection on double/triple
2713 * lyx_main.C: use correct bool in batch dispatch
2715 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2717 2002-08-07 André Pönitz <poenitz@gmx.net>
2719 * funcrequest.h: new class to wrap a kb_action and its argument
2722 * BufferView_pimpl[Ch]:
2726 * lyxrc.C: subsequent changes
2729 2002-08-07 John Levon <levon@movementarian.org>
2731 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2732 document options change.
2734 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2739 * makefile.am: move counters functionality over from
2740 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2742 2002-08-06 John Levon <levon@movementarian.org>
2744 * WordLangTuple.h: new file for word + language code tuple
2755 * BufferView2.C: use WordLangTuple
2758 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2760 2002-08-06 John Levon <levon@movementarian.org>
2762 * lyx_main.C: fix cmdline batch handling
2764 2002-08-06 André Pönitz <poenitz@gmx.net>
2766 * lyxrc.C: set default for show_banner to true
2768 2002-08-06 John Levon <levon@movementarian.org>
2770 * pspell.C: fix a crash, and allow new aspell to work
2772 2002-08-06 John Levon <levon@movementarian.org>
2775 * kbmap.C: small cleanup
2778 * vspace.C: add const
2780 2002-08-05 John Levon <levon@movementarian.org>
2782 * LyXAction.C: back to tabular-insert
2784 2002-08-04 John Levon <levon@movementarian.org>
2787 * BufferView.C: cosmetic change
2789 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2799 * BufferView2.C: purge all "Lyx" not "LyX" strings
2802 * lyxcursor.C: attempt to add some documentation
2807 * ToolbarDefaults.C:
2808 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2809 merge with LFUN_TABULAR_INSERT
2816 * pspell.C: split up i/pspell implementations into separate
2817 files, many cleanups
2819 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2821 * text2.C: some cleanup
2823 * lyxfunc.C: don't check for isp_command == "none" any more, it
2824 didn't make any sense
2826 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2831 * makefile.am: move counters functionality over
2832 from text2.C/paragraph.[Ch] to counters.[Ch], and
2834 2002-08-02 John Levon <levon@movementarian.org>
2836 * buffer.C: s/lyxconvert/lyx2lyx/
2838 2002-08-02 Angus Leeming <leeming@lyx.org>
2840 * lyxlex.C: revert John's change as it breaks reading of the user
2843 2002-08-02 Angus Leeming <leeming@lyx.org>
2845 * importer.C (Import):
2846 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2847 changes due to LyXView::view() now returning a boost::shared_ptr.
2849 2002-08-02 John Levon <levon@movementarian.org>
2851 * lyxlex.C: small cleanup
2853 2002-08-02 John Levon <levon@movementarian.org>
2855 * text2.C (status): small cleanup, no logic change
2857 2002-08-01 John Levon <levon@movementarian.org>
2860 * buffer.C (writeFile): don't output alerts, caller
2864 * lyx_cb.C: from above
2866 * lyxfunc.C: allow to open non-existent files
2868 2002-07-31 John Levon <levon@movementarian.org>
2870 * lyxserver.C: don't let incidental errors get
2873 2002-07-30 John Levon <levon@movementarian.org>
2875 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2877 2002-07-30 John Levon <levon@movementarian.org>
2880 * lyxserver.C: remove I/O callback too
2882 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2884 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2887 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * many files: strip,frontStrip -> trim,ltrim,rtrim
2891 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * PrinterParams.h: remove extern containsOnly, and include
2894 support/lstrings.h instead.
2896 * LaTeX.C (scanAuxFile): modify because of strip changes
2898 * buffer.C (makeLaTeXFile): ditto
2899 * bufferparams.C (writeFile): ditt
2900 * lyxfont.C (stateText): ditto
2901 * lyxserver.C (read_ready): ditto
2902 * vc-backend.C (scanMaster): ditto
2904 * BufferView_pimpl.h: ws changes
2906 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2908 2002-07-26 André Pönitz <poenitz@gmx.net>
2910 * kb_sequence.C: remove unnedred usings
2912 2002-07-26 Juergen Vigna <jug@sad.it>
2914 * lyxfind.C (LyXReplace): we have to check better if the returned
2915 text is not of theLockingInset()->getLockingInset().
2917 2002-07-25 Juergen Vigna <jug@sad.it>
2919 * lyxfind.C (LyXReplace): don't replace if we don't get the
2922 * undo_funcs.C (createUndo): remove debugging code.
2924 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2926 * buffer.C (parseSingleLyXformat2Token): Use default placement
2927 when reading old floats.
2929 * FloatList.C (FloatList): Change the default placement of figure
2930 and tables to "tbp".
2932 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2934 * MenuBackend.C: using std::max
2936 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2938 * MenuBackend.C (expandToc):
2939 (expandToc2): code moved from xforms menu frontend. It is now
2940 generic and TOCs are transparent to menu frontends.
2942 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2944 * toc.C (getTocList): protect against buf=0
2946 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2947 Menu as first parameter. Now, this calls itself recursively to
2948 expand a whole tree (this will be useful for TOC handling)
2949 (expandFloatInsert): remove 'wide' version of floats
2951 * MenuBackend.h (submenuname): returns the name of the submenu.
2952 (submenu): returns the submenu itself, provided it has been
2953 created by MenuBackend::expand
2955 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2957 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2958 insets which have noFontChange == true. (bug #172)
2960 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2962 * BufferView_pimpl.C: add connection objects and use them...
2965 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2967 * MenuBackend.C (expandLastfiles):
2970 (expandFloatListInsert):
2971 (expandFloatInsert):
2972 (expand): split expand in parts
2974 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2976 * lyx_gui.C: use lyx_gui::exit()
2978 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2980 * LyXAction.C: show the failing pseudo action
2982 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2984 * buffer.C (readFile): Run the lyxconvert script in order to read
2987 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2991 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2993 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2997 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2999 2002-07-22 Herbert Voss <voss@lyx.org>
3002 * lyxlength.[Ch]: add support for the vertical lengths
3004 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3006 * toc.[Ch]: std:: fixes
3008 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3010 * lyxrc.C: do not include lyx_main.h
3012 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3018 * BufferView2.C: include "lyxlex.h"
3021 * bufferparams.h: do not #include "lyxlex.h"
3023 * lyxtextclasslist.C (Add): remove method
3024 (classlist): renamed to classlist_
3026 * paragraph_pimpl.C:
3030 * bufferview_funcs.C:
3035 * toc.C (getTocList): use BufferParams::getLyXTextClass
3037 * toc.C (getTocList): use InsetFloat::addToToc
3039 * toc.[Ch]: new files, containing helper functions to handle table
3042 * lyxfunc.C (dispatch): no need to remove spaces around command
3044 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3045 first command of the sequence; it is not very clever, but I do not
3046 have a better idea, actually
3048 * LyXAction.C (LookupFunc): make sure to remove space at the
3049 beginning and end of the command
3051 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3053 * MenuBackend.C (getMenubar): new method: return the menubar of
3055 (read): treat differently reading of menu and menubar (in
3056 particular, the menubar has no name now)
3057 (Menu::menubar): remove
3059 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3062 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3064 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3065 a bibitem inset in a RTL paragraph.
3067 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3069 * paragraph_pimpl.C: constify
3071 * BufferView_pimpl.C:
3073 * lyxfunc.C: fix dispatch in a nicer way
3075 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3077 * lyxfunc.C (dispatch):
3078 * BufferView_pimpl.C:
3079 * BufferView_pimpl.h:
3081 * BufferView.h: rename Dispatch() to dispatch()
3083 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3085 * lyxlayout.C (Read): honor DependsOn tag
3087 * lyxlayout.[Ch] (depends_on): new method
3089 * version.C.in: update lyx_docversion
3091 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3093 * paragraph.C (validate): remove from here...
3094 * paragraph_pimpl.C (validate): ... and move here
3095 (isTextAt): make it const
3097 * buffer.C (getLists): ws cleanup
3099 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3101 * language.C (read): Use iso8859-1 encoding in latex_lang
3102 (this prevents LyX from crashing when using iso10646-1 encoding).
3104 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3106 * text2.C (toggleInset): if cursor is inside an inset, close the
3107 inset and leave cursor _after_ it
3109 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3111 * lyxfunc.C: move minibuffer completion handling out of here
3113 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3115 * BufferView_pimpl.C:
3116 * LaTeX.C: fix dispatch calls
3118 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3120 * text.C (drawChars): Fix Arabic text rendering.
3122 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3126 * lyxfunc.C: remove message-push/pop
3130 * lyxfunc.C: rationalise some code by removing verboseDispatch
3131 in favour of a bool argument to dispatch()
3133 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3135 * lyx_main.C (init): make sure to read symlinks as absolute paths
3137 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3140 * lyxfunc.C: no need for commandshortcut to be a member
3142 2002-07-15 André Pönitz <poenitz@gmx.net>
3144 * converter.C: add support for $$s (scripts from lib/scripts dir)
3145 * lyx_main.C: white space
3147 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3151 * lyxrc.C: remove second exit confirmation
3153 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3158 * BufferView_pimpl.h:
3159 * BufferView_pimpl.C:
3160 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3162 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3164 * MenuBackend.C (expand): add numeric shortcuts to document menu
3166 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3168 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3170 * lyxfont.C (setLyXFamily):
3177 * buffer.C (asciiParagraph): use ascii_lowercase
3179 2002-07-15 Mike Fabian <mfabian@suse.de>
3181 * lyxlex_pimpl.C (search_kw):
3182 * lyxlex.C (getLongString):
3183 * converter.h (operator<):
3184 * converter.C (operator<):
3185 * buffer.C (parseSingleLyXformat2Token):
3187 * ToolbarDefaults.C (read):
3188 * MenuBackend.C (checkShortcuts):
3190 * LColor.C (getFromGUIName):
3191 (getFromLyXName): use the compare_ascii_no_case instead of
3192 compare_no_case, because in turkish, 'i' is not the lowercase
3193 version of 'I', and thus turkish locale breaks parsing of tags.
3195 2002-07-16 Angus Leeming <leeming@lyx.org>
3197 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3198 now takes a Buffer const & argument.
3200 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3202 * BufferView.C (resize): check there's a buffer to resize
3204 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3206 * lyxfunc.C: remove dead code
3209 * lyxserver.C: use lyx_guii::set_read_callback
3211 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3213 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3214 an inset in a RTL paragraph.
3216 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3218 * lyxfunc.C: repaint after a font size update
3220 2002-07-15 André Pönitz <poenitz@gmx.net>
3222 * lyxlength.C: inBP should be able to return negative values
3224 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3226 * lyxfunc.C: use lyx_gui::update_fonts()
3228 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3230 * lyxfunc.C: use lyx_gui::update_color()
3232 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3238 * lyxrc.C: remove file->new asks for name option, and let
3239 buffer-new take an argument
3241 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3243 * BufferView_pimpl.C: remove unneeded extra repaint()
3245 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3247 * LyXAction.C: allow command-sequence with NoBuffer
3249 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3251 2002-07-10 Angus Leeming <leeming@lyx.org>
3253 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3255 2002-07-09 Angus Leeming <leeming@lyx.org>
3257 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3259 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3261 * lengthcommon.h: whitespace
3263 * lyxfunc.C: update scrollbar after goto paragraph
3265 * lyxtext.h: factor out page break drawing, and fix it so
3266 page break/added space paints as selected nicely
3268 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3270 * BufferView_pimpl.C: add FIXMEs, clean up a little
3272 2002-07-09 André Pönitz <poenitz@gmx.net>
3274 * lyxfont.[Ch]: support for wasy symbols
3276 2002-07-08 André Pönitz <poenitz@gmx.net>
3278 * BufferView_pimpl.C: apply John's patch for #93.
3280 2002-07-05 Angus Leeming <leeming@lyx.org>
3282 * BufferView_pimpl.C (buffer): generate previews if desired.
3284 * LColor.h: add "preview" to the color enum.
3286 * LColor.C (LColor): add a corresponding entry to the items array.
3288 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3291 2002-07-05 Angus Leeming <leeming@lyx.org>
3293 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3294 The body of the code is now in the method that is passed an ostream &
3295 rather than a file name.
3296 Pass an additional only_preamble parameter, useful for the forthcoming
3299 2002-07-03 André Pönitz <poenitz@gmx.net>
3301 * lyxfunc.C: simplify getStatus() a bit for math stuff
3303 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3305 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3307 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3309 * text.C (changeRegionCase): do not change case of all the
3310 document when region ends at paragraph end (bug #461)
3312 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3314 * paragraph.C (startTeXParParams):
3315 (endTeXParParams): add \protect when necessary
3317 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3319 * BufferView_pimpl.C (workAreaExpose): remove warning
3321 2002-06-27 Angus Leeming <leeming@lyx.org>
3323 * Makefile.am: add lyxlayout_ptr_fwd.h.
3325 2002-06-26 André Pönitz <poenitz@gmx.net>
3327 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3329 2002-06-25 Angus Leeming <leeming@lyx.org>
3331 * lyxfunc.C (dispatch): Comment out the call to
3332 grfx::GCache::changeDisplay. The method no longer exists now that the
3333 pixmap generation part of the graphics loader has been moved into
3336 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3338 * text2.C: layout as layout
3340 * text.C: layout as layout
3342 * tabular.C (OldFormatRead): layout as layout
3344 * paragraph_pimpl.C (TeXDeeper): layout as layout
3345 (realizeFont): layout as layout
3347 * paragraph.C (writeFile): layout as layout
3348 (validate): layout as layout
3349 (getFont): layout as layout
3350 (getLabelFont): layout as layout
3351 (getLayoutFont): layout as layout
3352 (breakParagraph): layout as layout
3353 (stripLeadingSpaces): layout as layout
3354 (getEndLabel): layout as layout
3355 (getMaxDepthAfter): layout as layout
3356 (applyLayout): layout as layout
3357 (TeXOnePar): layout as layout
3358 (simpleTeXOnePar): layout as layout
3359 (TeXEnvironment): layout as layout
3360 (layout): layout as layout
3361 (layout): layout as layout
3363 * lyxtextclass.C (compare_name): new functor to work with
3364 shared_ptr, layout as layout
3365 (Read): layout as layout
3366 (hasLayout): layout as layout
3367 (operator): layout as layout
3368 (delete_layout): layout as layout
3369 (defaultLayout): layout as layout
3371 * lyxlayout_ptr_fwd.h: new file
3373 * lyxlayout.C (Read): layout as layout
3375 * lyx_cb.C (MenuInsertLabel): layout as layout
3377 * bufferlist.C (newFile): layout as layout
3379 * buffer.C (readLyXformat2): layout as layout
3380 (parseSingleLyXformat2Token): layout as layout
3381 (insertStringAsLines): layout as layout
3382 (asciiParagraph): layout as layout
3383 (latexParagraphs): layout as layout
3384 (makeLinuxDocFile): layout as layout
3385 (simpleLinuxDocOnePar): layout as layout
3386 (makeDocBookFile): layout as layout
3387 (simpleDocBookOnePar): layout as layout
3388 (getLists): layout as layout
3390 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3392 * CutAndPaste.C (cutSelection): layout as layout
3393 (pasteSelection): layout as layout
3394 (SwitchLayoutsBetweenClasses): layout as layout
3396 * BufferView_pimpl.C (Dispatch): layout as layout
3397 (smartQuote): layout as layout
3399 * BufferView2.C (unlockInset): layout as layout
3401 2002-06-24 André Pönitz <poenitz@gmx.net>
3403 * lyxfunc.C: fix #487
3405 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3409 * lyxfunc.C: remove display_shortcuts, show_banner
3411 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3413 * Buffer_pimpl.C: oops, update on resize
3415 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3422 * BufferView.C: use repaint()
3424 * BufferView_pimpl.h:
3425 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3426 as it's a clearer description. Remove superfluous
3429 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3431 * text.C: fix bug 488. Not ideal, but getting
3432 getWord() to work properly for the insets that
3433 matter is more difficult ...
3435 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3437 * BufferView_pimpl.C:
3440 * lyxfunc.C: remove the six million index lyxfuncs to just
3441 one, and DTRT (bug 458)
3443 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3447 * BufferView_pimpl.h:
3448 * BufferView_pimpl.C: clean up resize() stuff,
3449 and unnecessary updateScreen()s
3451 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3455 * BufferView_pimpl.h:
3456 * BufferView_pimpl.C:
3459 * minibuffer.C: remove focus management of workarea,
3460 not needed. Use screen's greyOut()
3462 2002-06-17 Herbert Voss <voss@lyx.org>
3464 * converter.C: (convert) do not post a message, when converting
3465 fails, let the calling function decide what to do in this case
3467 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3469 * lyxfunc.C: tidy up a little
3471 2002-06-16 <alstrup@diku.dk>
3473 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3474 Got rid of FORMS_H_LOCATION include. Now we are
3477 2002-06-15 LyX Development team <lyx@rilke>
3479 * buffer.[Ch] (sgmlOpenTag):
3480 (sgmlCloseTag): Added support for avoiding pernicious mixed
3481 content. Return number of lines written.
3484 (makeDocBookFile): Fixed calls to sgml*Tag.
3485 Simple white space clean.
3487 (simpleDocBookOnePar): Simple white space clean.
3489 * tabular.[Ch] (docBook): Renamed to docbook and got another
3490 argument to related with the pernicious mixed content.
3492 (docbookRow): Fixed calls for docbook inset method.
3494 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3496 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3497 so it's X11 independent.
3501 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3503 2002-06-15 Lyx Development team <lyx@electronia>
3505 * intl.h: Renamed getTrans to getTransManager.
3507 2002-06-14 Angus Leeming <leeming@lyx.org>
3509 * Makefile.am: nuke forgotten stl_string_fwd.h.
3511 2002-06-12 Angus Leeming <leeming@lyx.org>
3513 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3515 2002-06-13 Angus Leeming <leeming@lyx.org>
3518 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3520 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3522 * kbmap.C (getiso): add support for cyrillic and greek
3524 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3528 * BufferView_pimpl.h:
3529 * BufferView_pimpl.C: move bogus scrolling logic
3532 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3535 * BufferView_pimpl.C: view->resize() change
3537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3539 * BufferView_pimpl.C: topCursorVisible
3542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3546 * lyx_gui.C: move to frontends/
3550 * lyx_main.C: changes from above
3552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3559 * lyx_main.C: minor tidy
3561 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3563 * BufferView_pimpl.h:
3564 * BufferView_pimpl.C:
3566 * BufferView.C: make painter() const,
3569 * BufferView2.C: use screen() accessor
3572 * lyx_main.C: some minor cleanup
3574 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3576 * BufferView_pimpl.h:
3577 * BufferView_pimpl.C: remove enter/leaveView,
3580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3585 * BufferView_pimpl.h:
3586 * BufferView_pimpl.C: only construct screen once,
3589 * lyxrc.C: remove pointless comment
3591 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3594 * BufferView.C: remove active() and belowMouse()
3596 * BufferView_pimpl.h:
3597 * BufferView_pimpl.C: use workarea() not workarea_,
3598 and make it use a scoped_ptr instead
3600 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3602 * lyx_gui.C: add debug message on BadWindow
3604 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3606 * sp_spell.C: fdopen is not part of the C++ standard.
3608 * paragraph.C (InsetIterator): use >= instead of ==
3610 2002-06-07 Angus Leeming <leeming@lyx.org>
3612 Fixes needed to compile with Compaq cxx 6.5.
3613 * BufferView_pimpl.C:
3620 * lyxtextclasslist.C:
3625 all c-library variables have been moved into namespace std. Wrap
3626 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3631 Add a using std::abs declaration.
3633 * kbmap.h (modifier_pair):
3634 * paragraph.h (InsetTable, InsetList):
3635 * lyxfont.h (FontBits):
3636 type definition made public.
3638 * bufferlist.C (emergencyWriteAll): the compiler complains that
3639 there is more than one possible lyx::class_fun template to choose from.
3640 I re-named the void specialisation as lyx::void_class_fun.
3642 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3644 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3645 the compiler is is unable to find tostr in write_attribute.
3647 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3649 * buffer.C (sgmlError): hide #warning
3651 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3653 * xtl/*: get rid of xtl, which is not in use anyway
3655 * LyXAction.C (init):
3656 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3657 were unimplemented xtl experimentation
3659 2002-06-04 André Pönitz <poenitz@gmx.net>
3661 * lyxfunc.C: disable array operation on simple formulae
3663 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3665 * converter.C: constify a bit
3667 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3669 * lyx_gui.C: check xforms version correctly
3671 2002-04-30 Herbert Voss <voss@lyx.org>
3673 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3676 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3678 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3679 attempt to register it with a VCS)
3681 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3683 * lyx_main.C (init): honor variables LYX_DIR_13x and
3686 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3690 * lyx_main.C: fix a crash on bad command line,
3691 and give a useful exit status on error
3693 * lyxfunc.C (doImport): allow -i lyx to work
3695 2002-03-30 André Pönitz <poenitz@gmx.net>
3697 * lyxfunc.C: mathed font changes
3699 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3714 * trans_mgr.h: srcdocs, and some minor cleanups
3716 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3718 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3719 call getFont all the time)
3721 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3723 * switch from SigC signals to boost::signals
3725 2002-05-29 André Pönitz <poenitz@gmx.net>
3727 * paragraph_pimpl.C (getChar): don't call size() too often...
3729 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3731 * paragraph_pimpl.C (insertChar): do not try to update tables when
3732 appending (pos == size())
3734 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3735 in order to reduce drastically the number of comparisons needed to
3736 parse a large document
3738 2002-05-29 André Pönitz <poenitz@gmx.net>
3744 * textclasslist.[Ch]:
3745 * sp_ispell.h: whitespace change
3747 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3749 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3750 lyxaction directly now.
3752 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3756 * lyxvc.C: remove unused headers
3758 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3765 * undo_funcs.C: some cleanups. Use shared_ptr
3766 and a template for the undo stacks.
3768 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3770 * BufferView_pimpl.h:
3771 * BufferView_pimpl.C:
3778 * text2.C: use key_state/mouse_state
3780 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3782 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3785 * chset.C: change include order
3786 (loadFile): use boost regex and get rid of LRegex and LSubstring
3788 * Makefile.am (BOOST_LIBS): new variable
3791 * LaTeX.C: change include order.
3792 (scanAuxFile): use boost regex and get rid of LRegex and
3796 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3801 * FontInfo.C: moved to frontends/xforms/
3804 * FontLoader.C: moved into frontends for GUIIzation
3809 * lyxfunc.C: changes from above
3811 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3813 * LColor.C: remove spurious X include
3815 * BufferView_pimpl.C:
3820 * text2.C: move font metrics to frontends/
3822 2002-05-24 Juergen Vigna <jug@sad.it>
3824 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3825 setting the undo_cursor.
3827 * ParagraphParameters.h: include local includes first.
3829 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3831 * BufferView_pimpl.C:
3832 * BufferView_pimpl.h:
3836 * screen.C: move WorkArea into frontends/
3842 * BufferView2.C: move LyXScreen into frontends/
3846 * lyx_gui.C: move lyxlookup into frontends/xforms/
3848 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3851 * BufferView_pimpl.C:
3861 * bufferview_funcs.C:
3874 * vc-backend.C: move LyX/XFormsView into frontends/
3876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3888 * text2.C: move Painter to frontends/
3890 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3892 * buffer.C: comment out some some code that depend upon lyx_format
3895 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3896 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3898 * buffer.h (NO_COMPABILITY): turn off compability
3900 * ColorHandler.C: include scoped_array.hpp
3902 * font.C: Use more specific smart_ptr header.
3905 * ShareContainer.h: ditto
3909 * BufferView_pimpl.h: ditto
3910 * ColorHandler.h: ditto
3912 * kbmap.C (defkey): change call to shared_ptr::reset
3914 2002-05-21 Juergen Vigna <jug@sad.it>
3916 * buffer.C (insertErtContents): fix to insert ert asis if it is
3917 non empty. Skip it completely if it contains only whitespaces.
3919 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3921 * BufferView_pimpl.C:
3922 * BufferView2.C: clear selection on paste (bug 393)
3924 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3926 * DepTable.C: include ctime
3928 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3930 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3932 2002-05-14 Juergen Vigna <jug@sad.it>
3934 * text.C (breakParagraph): fixed function to honor the keepempty
3935 layout in the right maner and also to permit the right breaking
3936 algorithm on empty or non empyt keepempty paragraphs.
3938 * paragraph.C (breakParagraph): we have to check also if the par
3939 is really empty (!size()) for isempty otherwise we do the wrong
3942 2002-05-10 Juergen Vigna <jug@sad.it>
3944 * buffer.[Ch] : The following are only changes to the ert
3945 compatibility read reading old LaTeX layout and font stuff and
3946 convert it to ERTInsets.
3948 * buffer.h: added isErtInset().
3950 * buffer.C (struct ErtComp): add a fromlayout bool to check
3951 if we're inside a LaTeX layout.
3952 (isErtInset): new helper function.
3953 (insertErtContents): look for other ert insets before this one
3954 and insert the contents there, so that we don't have subsequent
3955 ERT insets with nothing between them. This way we create only one
3956 inset with multiple paragraphs. Also check if we don't insert only
3957 spaces ' ' as they are ignored anyway afterwards in the .tex file
3958 so if we have only spaces we will ignore this latex part in the
3960 (parseSingleLyXformat2Token \\layout): better compatibility when
3961 reading layout-latex stuff.
3962 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3964 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3965 stuff after reading the inset only get the information back from
3968 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3970 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3972 * LaTeXFeatures.C (getBabelOptions): New method.
3974 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3976 * BufferView_pimpl.C (Dispatch): work around missing argument for
3979 2002-05-08 Juergen Vigna <jug@sad.it>
3981 * text.C (leftMargin): handle paragraph leftindent.
3983 * paragraph.C (writeFile): write the new \\leftindent tag.
3984 (validate): handle leftindent code.
3985 (TeXEnvironment): handle paragraphleftindent code again.
3987 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3989 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3990 for paragrap_extra indent code and new token \\leftindent.
3991 (latexParagraphs): handle the leftindent as environment.
3993 * ParameterStruct.h: added leftindent support.
3995 * ParagraphParameters.C (leftIndent): added support functions for
3996 the paragraph left indent.
3998 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4001 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4003 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4006 * text.C (computeBidiTables): No bidi in insetERT.
4008 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4011 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * version.C.in: pre 5
4015 2002-05-02 José Matos <jamatos@fep.up.pt>
4016 * buffer.C (makeDocBookFile): white space changes, add newline to
4018 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4020 * tabular.C (docBook): fix typo.
4022 2002-05-03 Juergen Vigna <jug@sad.it>
4024 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4025 change in LyXText as we can not be sure it was not freed.
4026 (drawOneRow): remove unused code.
4028 * text.C (drawInset): redo the calculation of the need_break_row as
4029 it could have a row which was already freed.
4030 (draw): look at the return value of drawInset and return false if
4031 it also returned false.
4032 (paintRowText): look at the return value of draw and return false if
4033 it also returned false.
4035 * lyxtext.h: added bool return type to drawInset() and draw() so that
4036 if we have a change in the row so that the rowbreak has to be redone
4037 we abort drawing as it will be called again.
4039 2002-05-02 Juergen Vigna <jug@sad.it>
4041 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4042 a change in the maintext also if we're inside an inset.
4043 (Dispatch): set the cursor again after a break line and after the
4044 screen has been updated as it could be we're in a different row.
4046 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4047 to set the cursor behind the pargraph with > size().
4048 (setCursor): check also for the same paragraph when checking where
4049 to put the cursor if we have a NFR inset.
4051 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4052 parts of layout read further up as it still was in the wrong
4055 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4057 * screen.C (drawFromTo): change sine fullRebreak always return
4060 * buffer.C (parseSingleLyXformat2Token): reindent some
4062 * BufferView_pimpl.C (update): change since fullRebreak always
4064 (Dispatch): git rid of the last hardcoded "Standard"s.
4066 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4068 * text2.[Ch] (fullRebreak): make it return void now that we always
4071 2002-04-30 Juergen Vigna <jug@sad.it>
4073 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4074 ert compatibility check for "latex" layout.
4076 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4078 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4079 minipages: use col% instead of p%, and also use the current font.
4080 (makeLaTeXFile): Fix use babel condition.
4081 (parseSingleLyXformat2Token): Correct font when reading old floats.
4083 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4085 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4086 inserting list of floats.
4088 2002-04-25 Herbert Voss <voss@lyx.org>
4090 * MenuBackend.C (expand): don't add the graphics extensions to the
4093 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4096 non-existing layout, do not complain if it was the default layout
4097 of the original class (bug #342)
4099 2002-04-24 Juergen Vigna <jug@sad.it>
4101 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4102 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4104 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4106 * buffer.C (getBibkeyList): If using \bibliography, return the
4107 option field with the reference itself. Enables us to provide natbib
4108 support when using \bibliography.
4110 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4112 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4114 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4115 natbib is provided by the LaTeX class.
4117 2002-04-23 Juergen Vigna <jug@sad.it>
4119 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4122 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4124 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4126 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4128 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4129 ensuremath around textordmasculine, textordfeminine and
4132 2002-04-19 Juergen Vigna <jug@sad.it>
4134 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4135 reinitializing the buffer otherwise row-dimensions may be wrong.
4136 (update): reset also the selection cursors if they do exits otherwise
4137 their x/y positions may be wrong.
4139 * text2.C (cursorDown): don't enter the inset if we came from a row
4140 above and are one row over the inset.
4142 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4143 really leaving an inset.
4145 2002-04-18 Juergen Vigna <jug@sad.it>
4147 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4148 of the selected paragraph does not have the selected layout also if
4151 * text2.C (setLayout): fixed bug which did not change last selected
4154 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4155 changed the read and substituted \\end_float with \\end_inset!
4157 * BufferView_pimpl.C (cursorPrevious):
4158 (cursorNext): fixed to make it work with rows heigher than the work
4159 area without moving the cursor only the draw of the row.
4160 (workAreaMotionNotify): fix jumping over high rows.
4162 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4164 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4167 2002-04-16 Juergen Vigna <jug@sad.it>
4169 * text2.C (setCursor): set also the irow().
4170 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4172 (cursorDown): support for locking an inset if the x_fix value goes
4173 inside it. That way I can transverse insets too with cursor up/down.
4175 * lyxrow.h: added irow helper function same as other (i) functions.
4177 * BufferView_pimpl.C (cursorPrevious):
4178 (cursorNext): fixed for insets!
4180 2002-04-15 Juergen Vigna <jug@sad.it>
4182 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4183 position otherwise it is wrong in some cases.
4185 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4186 inside the inset before the call.
4188 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4190 * buffer.[Ch] (getBibkeyList): make it const.
4192 2002-04-12 Juergen Vigna <jug@sad.it>
4194 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4196 * text2.C (getCursorX): new helper function
4197 (setCursor): compute also ix_
4198 (setCursorFromCoordinates): set also ix.
4200 * lyxcursor.h: added ix_ and helper functions.
4202 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4204 * buffer.C (insertStringAsLines): dont break paragraph if the this
4205 paragraph is inside an inset which does not permit it!
4207 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4208 also with no chars on this paragraph.
4209 (paintRowText): only paint stuff if it's inside the workarea!
4211 * paragraph.C (breakParagraph): honor keepempty flag and break the
4212 paragraph always below not above.
4214 * BufferView2.C (unlockInset): update the paragraph layout on inset
4215 unlock as we changed paragraph in such a case.
4217 * lyxfind.C (LyXFind): clear the former selection if not found!
4219 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4220 again called in insertChar().
4222 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4223 an inset which uses the whole row!
4224 (rightMargin): ditto.
4225 (insertChar): force a rebreak if we inserted an inset!
4227 2002-03-28 Herbert Voss <voss@lyx.org>
4229 * lyxlength.[Ch]: add inBP() to get the right PS-point
4230 units (BigPoint). With inPixels we have rounding errors
4232 2002-04-11 Juergen Vigna <jug@sad.it>
4234 * text2.C (setCursorFromCoordinates): set iy to the right value.
4235 (setCursor): add check if row->previous exists!
4237 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4238 an old float_type as this was the case in the old code!
4240 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4242 * BufferView2.C (showLockedInsetCursor): use iy
4243 (fitLockedInsetCursor): ditto
4245 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4246 locked insets as there we have the right value now.
4248 * lyxcursor.C: added iy_ variable and iy functions to set to the
4249 baseline of cursor-y of the locked inset.
4251 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4252 (setCursor): fixed for insets which need a full row.
4254 * text.C (rowLastPrintable): don't ignore the last space when before
4255 an inset which needs a full row.
4256 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4257 as last character of a row when before a inset which needs a full row.
4259 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4261 * version.C.in: update date
4263 * text2.C (fullRebreak): try to always return true and see what
4266 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * MenuBackend.C (expand): use Floating::listName
4270 * FloatList.C (FloatList): add listName argument to the built-in
4273 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4274 text associated with the float.
4276 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4278 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4280 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4282 * ShareContainer.h: add a couple of missing typenames.
4284 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4286 * lyxrc.C (getDescription): use _() correctly rather than N_().
4288 2002-03-28 Herbert Voss <voss@lyx.org>
4290 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4291 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4293 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4295 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4296 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4298 2002-03-29 Juergen Vigna <jug@sad.it>
4300 * lyxfunc.C (dispatch): add a missing fitCursor call.
4302 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4303 it was scrolled by a cursor move, so return the bool status.
4305 * BufferView.C (fitCursor): return the bool flag also to the outside
4306 world as this is needed.
4308 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4310 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4311 call the edit() as it is not needed (and wrong) IMO.
4312 (workAreaButtonPress): set the screen_first variable before evt.
4313 unlock the inset as this may change screen_first and then we have
4314 a wrong y position for the click!
4316 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4318 * MenuBackend.C (expand): another translation that I missed
4320 2002-03-28 Juergen Vigna <jug@sad.it>
4322 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4324 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4326 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4328 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4330 * MenuBackend.C (expand): fix export/view/update when there is no
4333 2002-03-27 Herbert Voss <voss@lyx.org>
4335 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4338 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4340 * bufferview_funcs.C (currentState): only show paragraph number
4341 for is DEVEL_VERSION is set.
4343 * lyxfunc.C (dispatch): put warning in INFO channel
4345 * MenuBackend.C (expand): translate the name of floats
4347 * FloatList.C (FloatList): mark the float names for translation
4349 * converter.C (convert): use LibScriptSearch
4351 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4353 * MenuBackend.C (defaults): fix default menu (we might as well get
4356 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4361 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4363 * lyxvc.C: reorder includes.
4365 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4367 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4370 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4372 * CutAndPaste.C: change layouts earlier on paste
4373 to avoid crashing when calling getFont()
4375 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4377 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4380 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4382 * WorkArea.C: remove 'Pending' debug message.
4384 * most files: ws cleanup
4386 * buffer.[Ch]: ws changes
4388 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4390 2002-03-21 Juergen Vigna <jug@sad.it>
4392 * tabular.C (SetMultiColumn): collapse also the contents of the
4393 cells and set the last border right. Added a Buffer const * param.
4395 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4397 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4400 2002-03-19 Juergen Vigna <jug@sad.it>
4402 * text2.C (clearSelection): reset also xsel_cache.
4404 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4405 where it needs to be called (John tells us to do so too :)
4406 (selectionLost): reset sel_cache.
4408 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4410 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4412 * text2.C (setCursorIntern): put debuging code in INSETS channel
4414 2002-03-19 André Pönitz <poenitz@gmx.net>
4416 * lyxfunc.C: tiny whitespace change
4418 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4420 * ToolbarDefaults.C (init):
4421 * LyXAction.C (init):
4423 * BufferView_pimpl.C (Dispatch):
4424 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4426 2002-03-19 Allan Rae <rae@lyx.org>
4428 * exporter.C (Export): removeAutoInsets before doing anything else.
4429 While I've just introduced a dependency on BufferView this really is
4430 the best place to clean the buffer otherwise you need to cleanup in
4431 a dozen places before calling export or cleanup in a dozen functions
4434 * converter.C (runLaTeX):
4435 (scanLog): Better handling of removeAutoInsets and screen updates.
4437 * lyxfunc.C (dispatch): small whitespace changes
4439 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4441 * WorkArea.C (C_WorkAreaEvent): return a value.
4442 (event_cb): return 1 if we handled the event, 0 otherwise.
4444 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4446 2002-03-18 Juergen Vigna <jug@sad.it>
4448 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4449 (GetAdditionalWidth): ditto.
4453 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4454 inset if we're there actually (probably not used right now but this
4455 is the direction to go for unifying code).
4456 (paste): disable code to clear the selection.
4458 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4459 inside an InsetText and move the check further up as it is in the
4462 * text2.C (pasteSelection): set a selection over the pasted text.
4464 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4466 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4467 and libgraphics to build on Cygwin.
4469 2002-03-15 Juergen Vigna <jug@sad.it>
4471 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4472 inserting an Inset into the paragraph. I know this is not the best
4473 fix but we already use current_view in CutAndPaste so we will remove
4474 all of it's using at the same time.
4476 * buffer.C (sgmlError): deactivated function till it is rewritten in
4477 the right mode, now it can create problems.
4479 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4480 before accessing it.
4482 2002-03-14 Juergen Vigna <jug@sad.it>
4484 * undo_funcs.C (textHandleUndo): do the right thing when updating
4485 the inset after the undo/redo.
4487 * text2.C (setCursor): just some testcode for #44 not ready yet.
4489 * undo_funcs.C (textHandleUndo): set the next() and previous()
4490 pointers of the paragraph to 0 before deleting otherwise we have
4491 problems with the Paragraph::[destructor].
4493 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4494 on a paragraph insertion.
4496 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4498 * buffer.C (asciiParagraph): use += operator for char append to
4501 * paragraph.C (getFontSettings): compare >= not just >
4502 (highestFontInRange): ditto
4505 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4507 * paragraph.C: change several algorithm to be more appripriate for
4508 the problem domain. This is lookip in FontList and in the InsetList.
4510 2002-03-13 André Pönitz <poenitz@gmx.net>
4513 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4515 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4520 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4522 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4524 * Painter.C (display): anon helper function, adjust code for this
4526 (pixmap): remove function.
4528 * Painter.h: remove private display variable.
4530 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4532 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4534 * WorkArea.[Ch]: remove figinset_canvas cruft.
4536 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4538 * lyxtextclass.C (operator): add one item cache optimization.
4540 * bufferlist.h: doxy changes
4542 * bufferlist.C: ws changes
4544 * DepTable.[Ch] (ext_exist): place const in the right spot.
4546 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4548 (workAreaExpose): call resizeInsets when the with BufferView changes.
4549 (Dispatch): adjust for protectedBlank removal
4550 (specialChar): call updateInset if the insert went ok.
4552 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4553 specialChar instead.
4555 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4557 * BufferView.h: doxy change
4559 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4561 * lyxtextclass.C (operator[]): remove non-const version
4562 (defaultLayout): remove non-const version
4564 2002-03-12 Juergen Vigna <jug@sad.it>
4566 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4567 did resize the LyXText too.
4569 * buffer.C (readLyXformat2): set layout information on newly allocated
4572 * tabular.C (OldFormatRead): set layout information on the paragraph.
4574 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4576 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4578 2002-03-11 Juergen Vigna <jug@sad.it>
4580 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4582 (resizeCurrentBuffer): force also the insets to resize themselfes.
4583 (moveCursorUpdate): fixed up for InsetText.
4585 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4588 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4589 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4590 value of Dialogs::tooltipsEnabled().
4591 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4593 2002-03-08 Juergen Vigna <jug@sad.it>
4595 * BufferView_pimpl.C (updateInset): update inset inside inset also
4596 if it isn't inside theLockingInset().
4598 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4600 * buffer.C (asciiParagraph): redo some of the word and line length
4602 (getLists): look for Caption instead of caption.
4604 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4606 * buffer.C (Buffer): initialize niceFile to true
4609 (makeDocBookFile): make sure niceFile is true on exit
4611 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4613 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4615 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4617 * LyXSendto.C: remove.
4618 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4619 * lyx_gui.C: remove now-redundant comment.
4620 * ColorHandler.h: remove forward declaration of class WorkArea.
4621 * lyxfunc.C: remove #include "WorkArea.h".
4623 2002-03-07 Juergen Vigna <jug@sad.it>
4625 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4626 got moved away with the DEPM and also set the inset_owner always
4627 right which before could have been omitted.
4629 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4631 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4632 wanted layout is not found.
4634 2002-03-07 Juergen Vigna <jug@sad.it>
4636 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4638 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4640 * paragraph.C (breakParagraph): use default layout not layout of
4642 (Paragraph): clear ParagraphParameters.
4644 2002-03-06 Juergen Vigna <jug@sad.it>
4646 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4647 otherwise it would not be a valid lenght. Fixed a special case in
4648 the minipage compatibility read where we end the document with a
4651 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4652 was set as it could be 0 for InsetTexts first entry.
4654 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * paragraph.C (writeFile): if layout is empty write out
4657 defaultLayoutName().
4659 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4660 file without named layout we set layout to defaultLayoutName().
4662 2002-03-06 Juergen Vigna <jug@sad.it>
4664 * CutAndPaste.C (copySelection): set layout for new paragraph.
4666 * text.C (prepareToPrint): leave ERT inset left aligned
4667 (leftMargin): don't indent paragraphs inside ERT insets
4669 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4671 * paragraph.C (breakParagraph): dont call clear do the work manually
4673 * paragraph.[Ch] (clear): remove function
4675 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4677 * paragraph.C (Paragraph): dont call clear, the work has already
4680 * lyxtextclass.C (operator): assert if n is empty
4682 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4683 work manually instead.
4685 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4687 * BufferView_pimpl.C: protect selectionLost against text == 0
4689 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4691 * text.C (breakParagraph): fix a setting layout to '0' problem.
4693 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4695 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4696 final location of file, for the included files, and graphics.
4698 2002-03-05 Juergen Vigna <jug@sad.it>
4700 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4702 2002-03-04 Juergen Vigna <jug@sad.it>
4704 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4706 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4707 last column of multicolumn cells.
4708 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4710 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4712 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4713 file if it doesn't go to a temporary file.
4715 * buffer.C (sgmlOpenTag):
4716 (sgmlCloseTag): remove extra newline insertion.
4718 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4720 * text.C (getRowNearY): comment out debug msg
4722 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4724 * text2.C: first -> first_y
4726 * text.C (getRowNearY): add some attemts at a possible
4727 optimization, not working.
4729 * tabular.[Ch]: add BufferParams to several function so that newly
4730 created paragraph can be initialized to he default layotu for the
4733 * tabular-old.C (ReadOld): add buf->params to call of Init
4735 * screen.C: rename text->first to text->first_y
4737 * paragraph.C (breakParagraph): always set layout in the broken
4740 * lyxtextclass.C (Read): remove lowercase
4743 (delete_layout): ditto
4745 * lyxtext.h: rename first -> first_y
4747 * lyxlayout.C (Read): remove lowercase
4750 (obsoleted_by): ditto
4752 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4754 * buffer.C (insertErtContents): add params are to InsetERT
4755 (parseSingleLyXformat2Token): add code to check if a paragraphs
4756 layout really exist.
4757 (parseSingleLyXformat2Token): add params to several inset
4759 (asciiParagraph): remove lowercase, do the layout comparisons with
4762 * BufferView_pimpl.C (cursorNext): first -> first_y
4763 (resizeCurrentBuffer): first -> first_y
4764 (updateScrollbar): first -> first_y
4765 (scrollCB): first -> first_y
4766 (workAreaMotionNotify): first -> first_y
4767 (workAreaButtonPress): first -> first_y
4768 (checkInsetHit): first -> first_y
4769 (cursorPrevious): first -> first_y
4770 (cursorNext): first -> first_y
4771 (Dispatch): add buffer_->params to severl inset contructors
4773 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4775 * lyxlayout.C (Read): remove some debug info that I forgot.
4777 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4778 clean up the code slightly.
4779 (makeLinuxDocFile): ditto
4780 (makeDocBookFile): ditto
4782 * text2.C: layout as string
4784 * text.C: layout as string
4786 * paragraph_pimpl.C: layout as string
4788 * paragraph.[Ch]: layout as string
4790 * lyxtextclasslist.[Ch]: layout as string
4792 * lyxtextclass.[Ch]: layout as string
4794 * lyxtext.h: layout as string
4796 * lyxlayout.[Ch]: layout as string
4798 * lyx_cb.C: layout as string
4800 * bufferview_funcs.C: layout as string
4802 * bufferparams.C: layout as string
4804 * buffer.C: layout as string
4806 * LyXView.[Ch]: layout as string
4808 * LaTeXFeatures.[Ch]: layout as string
4810 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4812 * BufferView_pimpl.C: change current_layout to string, remove
4817 (workAreaButtonRelease): layout as string
4819 * BufferView2.C (unlockInset): adjust
4821 * vspace.C (asLatexCommand): use an explict temp variable.
4823 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4825 * Makefile.am: use FRONTEND_*
4827 2002-03-01 Juergen Vigna <jug@sad.it>
4829 * tabular.C (SetWidthOfMulticolCell): changed to something better
4830 I hope but still work in progress.
4831 (recalculateMulticolumnsOfColumn): renamed function from
4832 recalculateMulticolCells as it is more appropriate now.
4833 (SetWidthOfCell): calculate multicols better.
4835 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4837 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4839 * lyxfunc.C (processKeySym): print sequence also if it is
4840 `deleted' (complete)
4842 * kbsequence.C (print): print sequence even if it is deleted
4843 (complete would be a better word, actually).
4845 * lyxfunc.C (dispatch): print complete options after a prefix key
4847 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4849 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4851 * text2.C (setCharFont): eliminate setCharFont code duplication.
4853 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4855 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4856 LFUN_TABULAR_FEATURE (bug #177)
4858 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4860 * Makefile.am: remove figure.h
4862 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4864 * Bufferview_pimpl.C:
4876 * text2.C: remove #include "lyx_gui_misc.h".
4878 * LaTeX.C: added #include <cstdio>
4880 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4882 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4883 that the paragraph following this one can have.
4885 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4887 * vspace.C (asLatexCommand): fix bogus gcc warning
4889 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4891 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4893 * text2.C (setLayout): get rid of redundant code
4895 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4897 * text2.C (incDepth): make sure depth cannot be increased beyond
4900 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4902 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4903 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4905 * PainterBase.h (image):
4906 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4909 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4913 * BufferView_pimpl.C:
4914 * BufferView_pimpl.h:
4934 * sp_spell.C: remove fig inset, and the crap house of
4935 cards that follows it
4937 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4943 * nt_defines.h: move .h into support/
4945 * vms_defines.h: remove
4947 * WorkArea.C: add space in debug output
4951 * buffer.C: add WITH_WARNINGS
4955 * bufferlist.C: s/retrive/retrieve/, add docs
4966 * lyxgui.C: add ID to X error handler
4968 * lyxtestclass.c: fix typo
4970 2002-02-26 Juergen Vigna <jug@sad.it>
4972 * tabular_funcs.C (write_attribute): changed so that some default
4973 attributes are not written at all.
4974 (getTokenValue): set default values before trying to read the
4975 value so we have the return value always set as default if we don't
4976 find the token we search for.
4978 * tabular.C (Write): write bools as bools not as strings!
4980 2002-02-22 Juergen Vigna <jug@sad.it>
4982 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4983 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4985 * text.C (leftMargin): don't add an indent for paragraphs inside
4986 tabular cells (fix #208).
4988 2002-02-21 José Matos <jamatos@fep.up.pt>
4990 * tabular.C (docBook): fixed support for long tables.
4992 2002-02-20 Juergen Vigna <jug@sad.it>
4994 * text2.C (getFont): get the drawing font of the Inset if this
4995 paragraph is inside an inset (only important for InsetERT for now).
4997 * buffer.C (insertErtContents): use new lanugage params in ERT
5000 * CutAndPaste.C: commenting out seemingly uneeded code.
5002 2002-02-19 Allan Rae <rae@lyx.org>
5004 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5005 Iterators might be simple to use but they also get invalidated.
5006 (removeAutoInsets): renamed saved cursor tracking variables and added
5007 some comments to clarify what everything does.
5009 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5016 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5017 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5020 * vc-backend.h: remove #include "support/syscall.h"
5024 * converter.C: rearrange #includes in Lars' approved fashion.
5026 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5027 forward declare class Timeout in the header file.
5029 * XFormsView.C: changes due to the above.
5031 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5034 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5035 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5037 2002-02-18 José Matos <jamatos@fep.up.pt>
5039 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5042 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5044 * a lot of small ws changes
5045 * add a lot of using std::XXX
5046 * use std construcs some places where approp.
5047 * use some exisint stuff from lyxfunctional where approp.
5048 * Make file changes to use partial linking (lets test this now...)
5050 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5054 remove #include "support/syscontr.h" as it's redundant. Always has been.
5062 change Systemcalls::System to Systemcalls::Wait and
5063 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5064 No change of functionality, just reflects the stripped down Systemcalls
5067 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5069 * debug.[Ch]: add a GRAPHICS type to the enum.
5071 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5075 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5078 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5080 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5081 match the changes below.
5083 * text2.C (toggleInset): if there is not editable inset at cursor
5084 position, try to see if cursor is _inside_ a collapsable inset
5087 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5089 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5090 document menu has a nice checkbox
5092 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5094 * lyxlength.C (asLatexString): change PW to output as percent of
5097 * lengthcommon.C: change '%' to 't%'
5099 * lyxfunc.C (dispatch): a few comments from Martin
5101 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5105 * BufferView_pimpl.h:
5106 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5109 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5111 * vspace.C (inPixels): fix compiler warning
5113 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5115 * lyxfunc.C (getStatus): fix status message for disabled commands.
5117 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5119 * BufferView_pimpl.C: fix crash on close buffer
5120 during selection (#227)
5122 2002-01-27 Herbert Voss <voss@lyx.org>
5124 * buffer.C: link old Figure to new graphic inset
5126 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5128 * FontLoader.C (getFontinfo): Change the latex font names in order
5129 to match the names of type1inst.
5131 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5133 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5135 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5138 (remove_files_with_extension): ditto
5139 (remove_file): ditto
5142 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5143 document is smaller than the work area height. Do not initialize
5144 static variables to 0.
5146 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5148 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5150 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5151 LFUN_LAYOUT_PARAGRAPHS.
5153 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5154 tabular. It is possible to provide a possible cell, which will
5155 typically be the actcell from the corresponding insettabular
5157 * lyxfunc.C (getStatus): small cleanup; disable
5158 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5161 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5165 * paragraph.C (startTeXParParams):
5166 (endTeXParParams): new methods. The LaTeX code to
5167 start/end paragraph formatting
5168 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5169 empty (fixes bug #200)
5171 * vspace.C (inPixels): adapt to the change below
5172 (inPixels): [later] more cleanups (remove unused variables)
5174 * lyxlength.C (inPixels): change to use a width and a height as
5177 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5179 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5180 Replaced with \paperwidth
5182 * DepTable.C (insert): add std:: qualifier
5184 2002-01-18 Allan Rae <rae@lyx.org>
5186 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5189 * text.C (drawInset): Turned out I didn't know enough about how
5190 rebreaking worked. This fixes most of the redraw problems. I see
5191 an occasional cursor trail when a line is broken now and the cursor
5192 placement can seem out by a few pixels also after a rebreak.
5194 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5196 * buffer.C (parseSingleLyXformat2Token): update because minipage
5197 width is now a LyXLength
5199 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5201 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5204 2002-01-17 Juergen Vigna <jug@sad.it>
5206 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5208 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5209 is set correctly and the inset is updated correctly.
5211 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5213 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5214 the beginning of the loop.
5216 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5218 * lyxrc.C: improve help for use_scalable_fonts
5220 2002-01-17 Allan Rae <rae@lyx.org>
5222 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5224 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5226 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5227 make sure to set their inset_owner to the right value (bug #171)
5229 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5232 * DepTable.C: Implement mtime checking to reduce time spent doing
5235 2002-01-16 Juergen Vigna <jug@sad.it>
5237 * tabular.C (GetAdditionalHeight): one of error fixed.
5239 * lyxrc.C (output): small fix in writing use_pspell.
5241 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5243 * sp_base.h: #include LString.h
5245 2002-01-16 Allan Rae <rae@lyx.org>
5247 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5248 Can someone check this please?
5250 * text.C (drawInset): It was possible that p.row would be removed by
5251 breakAgainOneRow upsetting a few other settings. There may be another
5252 small tweak possible by setting need_break_row = 0 when p.row has been
5253 removed but I don't know enough about the logic here.
5255 2002-01-15 Allan Rae <rae@lyx.org>
5257 * text.C (insertChar): removed conditional truism.
5259 * BufferView2.C (removeAutoInsets): More tweaks.
5260 cur_par_prev could be a stray pointer. Check for trailing empty line
5261 in case last line was cur_par and only had an error inset on it.
5263 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5265 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5268 * vc-backend.C (most methods):
5269 * exporter.C (Export):
5270 * converter.C (convert):
5272 * LyXSendto.C (SendtoApplyCB):
5273 * lyxfunc.C (dispatch):
5277 * lyx_cb.C (AutoSave):
5279 * BufferView_pimpl.C (MenuInsertLyXFile):
5280 * buffer.C (runChktex): use Buffer::filePath().
5282 * buffer.h: rename filename to filename_; rename filepath to
5283 filepath_ and make it private
5284 (filePath): new method
5286 * buffer.C (writeFile): use fileName()
5289 * lyx_main.C (init): fix starting of LyX when the binary is a
5290 link from so,ewhere else.
5292 * minibuffer.C: include <cctype> for isprint
5294 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5296 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5297 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5298 name clash with InsetCollapsable's width function.
5300 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5302 * lastfiles.C: include <iterator>
5304 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5306 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5309 * buffer.C (makeLaTeXFile): ditto.
5310 Also make loop operation more transparent.
5312 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5314 * ToolbarDefaults.C: remove trailing comma closing namespace.
5316 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5318 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5321 * trans.C (Load): comment out unused variable, allowed.
5323 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5325 * minibuffer.[Ch] (append_char): new method to recieve input from the
5326 drop-down completion browser. If a key was pressed, then recieve this
5327 char and append it to the existing string.
5328 (peek_event): modify the positioning data passed to the completion
5329 browser so that it can be placed above the minibuffer rather than below.
5330 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5332 * LyXAction.C (init): alloe error-next for readonly documents.
5334 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5337 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5339 * bufferlist.C (readFile): create the buffer _after_ checking that
5342 * lyxfunc.C (verboseDispatch): fix handling of arguments
5344 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5346 * lyxrc.C: use string::erase() instead of initializing to "".
5349 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5351 * BufferView_pimpl.h:
5352 * BufferView_pimpl.C:
5355 * text2.C: tell X when we have made a selection for copying
5357 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5359 * BufferView_pimpl.C (MenuInsertLyXFile):
5360 * lyxfunc.C (menuNew):
5362 (doImport): add shortcuts to directory buttons
5364 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5367 * lyxfunc.C (setStatusMessage):
5368 (getStatusMessage): new methods
5369 (getStatus):use setStatusMessage instead of setErrorMessage
5370 (dispatch): when function is disabled, set error message here
5371 [instead of in getStatus previously]
5373 * BufferView_pimpl.C (workAreaButtonRelease): update
5374 toolbar/menubar here too.
5376 2002-01-13 Allan Rae <rae@lyx.org>
5378 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5379 Now seems indestructible. Remaining task is to audit all other
5380 code affected by deleteEmptyParagraphMechanism. One small quirk
5381 left is that an empty document with an error in the preamble can
5382 be made to report an error but no error box appears. I don't know
5384 (removeAutoInsets): Improved comments.
5386 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5389 * Thesaurus.C: update for Aiksaurus 0.14
5391 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5393 * text2.C (firstParagraph): removed member function, all uses
5394 replaces with ownerParagraph
5395 (redoParagraphs): here
5397 (toggleAppendix): here
5398 * BufferView2.C (insertErrors): here
5399 (setCursorFromRow): here
5401 2002-01-13 Allan Rae <rae@lyx.org>
5403 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5404 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5405 There is still a way to segfault this although you may have to do this
5406 multiple times: Have an InsetERT with an unknown command in it.
5407 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5408 <down-arrow>, <Enter> again, View->DVI, BANG!
5410 * text2.C (setCursor):
5411 (deleteEmptyParagraphMechanism):
5412 * lyxtext.h (setCursor):
5413 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5414 Making use of the return value may help fix other bugs.
5416 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5418 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5420 * LyXView.C (updateMenubar): call MenuBar::update here
5421 (updateToolbar): but not here
5422 (showState): do not update toolbar/menubar
5424 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5425 should need to care about that.
5427 * lyxfunc.C (verboseDispatch): simplify a bit
5428 (getStatus): have a version which takes a pseudoaction, and
5429 another which requires a (kb_action,string).
5431 * LyXAction.C (retrieveActionArg): make it work also when action
5432 is not a pseudo-action.
5433 (getActionName): simplify a bit
5436 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5438 * lyxfunc.C (verboseDispatch): new families of methods with
5439 several ways to specify a command and a bool to indicate whether
5440 the command name and shortcut should be displayed in minibuffer
5441 (eventually, we could extend that to a finer bitmask like
5442 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5443 (dispatch): the pristine dispatch command which just, well,
5444 dispatchs! Note it still sets its result to minibuffer; I'm not
5447 * lyxfunc.h: remove setHintMessage
5449 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5451 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5453 * BufferView_pimpl.C (specialChar): delete new inset if we have
5454 not been able to insert it.
5456 * kbmap.C: revert to using int instead of kb_action, since all we
5457 are dealing with is pseudo-actions.
5459 * LyXAction.C (searchActionArg): change to return int instead of
5460 kb_action, since the result is a pseudoaction.
5462 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5464 * buffer.C (insertErtContents): Fix (partially) the font bug.
5466 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5468 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5469 as the other one is broken on my machine!
5471 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5474 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5476 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5478 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5479 reflect their actual use. Provide compatibility code for older lyxrc
5482 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5484 change names of popup font variables in line with the changes to lyxrc.C
5486 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * buffer.C (asciiParagraph): avoid outputing a word twice after
5491 * lyxrc.C (getDescription): document that document_path and
5492 template_path can be empty.
5494 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5496 * LaTeXFeatures.C (getMacros):
5497 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5499 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5501 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5503 (getPackages): rename feature "floats" to "float". Use an array to
5504 iterate over 'simple' features (i.e. just a \usepackage). Add
5505 handling of "amsmath" (renamed from "amsstyle").
5507 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5509 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5512 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5514 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5515 FuncStaus::FuncStatus & FuncStaus::some_method().
5517 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5519 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5520 of the func_satus stuff. Edited and massaged in various ways by
5523 * lyxfunc.C (getStatus): use FuncStatus
5525 2002-01-08 Juergen Vigna <jug@sad.it>
5527 * text.C (nextBreakPoint): use function Inset::isChar().
5529 * paragraph.C (TeXOnePar): use function
5530 Inset::forceDefaultParagraphs.
5532 * buffer.C (latexParagraphs): use function
5533 Inset::forceDefaultParagraphs.
5535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5537 * lyx_gui.C (init): set the style of the menu popups to
5538 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5540 2002-01-07 Juergen Vigna <jug@sad.it>
5542 * text.C (setHeightOfRow): small fix
5543 (prepareToPrint): don't look at alignment if we don't have the place
5546 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5548 * box.C: New file. Move the Box methods and functions out of box.h,
5549 following Lars' suggestion.
5551 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5553 * box.h: #include "support/LOstream.h", needed for inlined function.
5556 * lyxtextclasslist.C: added some using std declarations.
5558 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5560 * box.h: make signed dimensions to allow insets wider than
5561 the screen (bug #162)
5563 * BufferView_pimpl.C: add some insetHit debug
5565 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5567 * vc-backend.C: add FIXME
5569 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5571 * lyxfunc.C (getStatus): enable code for showing math font status
5574 2002-01-07 Juergen Vigna <jug@sad.it>
5576 * text.C (nextBreakPoint): removed debug output not needed anymore.
5578 2002-01-06 Juergen Vigna <jug@sad.it>
5580 * text.C (nextBreakPoint): fixed up this function we had this bug
5581 since ever but now hopefully we break row better.
5582 (insertChar): we have to check if an inset is the next char as it
5583 could now happen that a large inset is causing a break.
5585 2002-01-05 Juergen Vigna <jug@sad.it>
5587 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5588 if it doesn't like to be drawed.
5590 2002-01-04 Juergen Vigna <jug@sad.it>
5592 * BufferView2.C (lockInset): forgot to set a cursor.
5594 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5596 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5601 * form_maths_panel.C:
5602 * form_maths_panel.h:
5603 * form_maths_panel.fd: implemented sub- and super- buttons in math
5606 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5607 (or ^ space) to be used as in TeX (req'd by André).
5609 * lyxfunc.C: Allow ^ and _ again to be used both as
5610 super/subscript (mathed) and as themselves (in text).
5612 2002-01-03 Allan Rae <rae@lyx.org>
5614 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5615 "LyX" or the filename of the current buffer if it has one. This is a
5616 modified form of John Levon's patch.
5618 * XFormsView.C (setWindowTitle): also set icon title.
5620 * LyXView.h (setWindowTitle): signature changed.
5621 * XFormsView.h (setWindowTitle): ditto.
5623 2002-01-02 Juergen Vigna <jug@sad.it>
5625 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5627 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5629 * screen.C (topCursorVisible): introduce a temp var for
5630 text->cursor.row(), handle the case where this row is null. (kindo
5633 * text2.C (setCursor): add a couple of asserts.
5635 * paragraph.h (inset_iterator): add -> operator
5637 * paragraph.[Ch] (autoDeleteInsets): remove member function
5639 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5640 cursor pos correctly and handle inset deletion by itself.
5641 (insertErrors): move iterator declaration out of for expression
5643 * lyxtextclass.C: add <algorithm>
5645 * Makefile.am: added the new files to sources, removed layout.C
5647 * layout.C: removed file
5649 * layout.h: remove LYX_DUMMY_LAYOUT
5651 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5655 * lyxtextclass.[Ch]:
5656 * lyxtextclasslist.[Ch]: new files
5658 * include order changes to a lot of files, also changes because of
5661 2001-12-27 Juergen Vigna <jug@sad.it>
5663 * buffer.C (asciiParagraph): more fixes.
5665 * tabular.C (ascii): make ascii export support export of only the
5666 data separated by a column-delimiter.
5667 (ascii): better support for ascii export.
5669 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5671 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5673 * tabular_funcs.C: use a "using std::getline" instead of the
5674 previous fix from Angus (necessary for cxx + lyxstring)
5676 2001-12-24 Juergen Vigna <jug@sad.it>
5678 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5680 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5681 problems. First check a minipage also if we have some ert-contents
5682 (not only on par->size(), second set the right depth of the paragraph
5683 on the relink to the root-paragraph-list!
5685 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5686 which then did not anymore update the main paragraphs on undo/redo!
5688 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5690 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5691 code. Support all font-changing funcs (even those which are not in
5692 menu currently). Support for reporting font settings in
5693 mathed (disabled until Andre provides a function on mathed's side).
5695 * func_status.h (toggle): small helper function to set toggle
5698 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5700 * tabular_funcs.C: getline -> std::getline
5702 2001-12-21 Juergen Vigna <jug@sad.it>
5704 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5705 accessed and could be 0 (I couldn't generate this but it seems
5708 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5710 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5711 * tabular_funcs.h: here and include iosfwd
5713 2001-12-20 Juergen Vigna <jug@sad.it>
5715 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5716 inside inset but undo_par was.
5718 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5720 * Thesaurus.C: always include <config.h> in sources.
5724 * box.h: do not include <config.h> in header files
5726 * text.C (paintLastRow): remove unused variable
5728 * text.C (transformChar):
5730 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5733 * font.C (width): rewrite to use uppercase() instead of
5736 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5738 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5740 * lyxfind.C: clean up of find failure position change
5742 2001-12-20 Juergen Vigna <jug@sad.it>
5744 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5746 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5747 (TeXRow): added to LaTeX a single tabular row.
5748 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5749 (Latex): simplified and finally good LT-h/f support.
5750 (various_functions): just small adaptions for LT-h/f support.
5752 * tabular_funcs.[hC]: added and moved here all not classfunctions
5755 2001-12-19 Juergen Vigna <jug@sad.it>
5757 * tabular.[Ch]: better support for longtabular options (not finished
5760 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5762 * text.C (paintLastRow): use the label font instead of the font of
5763 the last character to compute the size of *_BOX. This makes more
5764 sense and avoids a crash with empty paragraphs.
5765 Use Painter::rectangle to draw EMPTY_BOX.
5767 2001-12-19 Juergen Vigna <jug@sad.it>
5769 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5770 the paragraphs if the replaced paragraph is not the first one!
5771 Tried to delete not used paragraphs but does not work yet so for
5772 now it's inside #ifdef's and by default off!
5774 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5776 * MenuBackend.C: include "lyx_main.h" instead of declaring
5777 lastfiles (actually was declared as LastFiles* instead of a
5780 2001-12-17 Juergen Vigna <jug@sad.it>
5782 * tabular.C (AppendColumn): applied John's fix
5784 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5788 * BufferView_pimpl.h:
5789 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5792 * box.h: new start of class for above
5794 * lyxfunc.C: ignore space-only minibuffer dispatches.
5795 Show the command name when it doesn't exist
5797 * minibuffer.C: don't add empty lines to the history
5799 * minibuffer.C: add a space on dropdown completion
5801 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5803 * text.C: fix line above/below drawing in insets
5805 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5807 * lyxlength.C (LyXLength): Initialize private variables.
5809 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5812 when inserting error insets.
5814 2001-12-13 Juergen Vigna <jug@sad.it>
5816 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5817 actually sometimes the before-paragraph.
5818 (setUndo): don't clear the redostack if we're not actually undoing!
5820 2001-12-06 Juergen Vigna <jug@sad.it>
5822 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5823 and fixed redoing of main paragraph, so we can use it now ;)
5825 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5827 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5829 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5832 2001-12-13 André Pönitz <poenitz@gmx.net>
5835 * undo_func.C: minor cleanup
5837 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5839 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5840 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5841 font in urw-fonts package which is marked as -urw-fontspecific and
5842 does not work (incidentally, changing the encoding in the
5843 fonts.dir of this package to -adobe-fontspecific fixes the
5846 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5847 is a crash when undoing first paragraph (Juergen, please take a
5848 look). THis does not mean the undo fix is wrong, just that it
5851 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5852 the (Paragraph*) version when needed instead of duplicating the
5855 * text.C (workWidth): use Inset::parOwner to find out where the
5856 inset has been inserted. This is a huge performance gain for large
5857 documents with lots of insets. If Inset::parOwner is not set, fall
5858 back on the brute force method
5860 * paragraph_pimpl.C (insertInset):
5861 * paragraph.C (Paragraph):
5862 (cutIntoMinibuffer): set parOwner of insets when
5863 inserting/removing them
5865 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5867 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5873 * mathed/formulabase.C:
5874 * mathed/math_cursor.[Ch]:
5875 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5878 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5880 * lyxlength.[Ch] (operator!=): new function
5882 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * text.C (workWidth): use Inset::parOwner to find out where the
5885 inset has been inserted. This is a huge performance gain for large
5886 documents with lots of insets. If Inset::parOwner is not set, fall
5887 back on the brute force method
5889 * paragraph_pimpl.C (insertInset):
5890 * paragraph.C (Paragraph):
5891 (cutIntoMinibuffer): set parOwner of insets when
5892 inserting/removing them
5894 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5896 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5898 * tabular-old.C (getTokenValue):
5899 * tabular.C (getTokenValue):
5900 (write_attribute): new versions for LyXLength
5901 (everywhere): adjust the use of widths
5903 * tabular.h: change the type of widths from string to LyXLength
5905 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5907 * paragraph.C: fixed missing line number count when exporting
5908 Environments to LaTeX file
5910 * buffer.C: added informational message for checking line numbers.
5912 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5915 paragraph, do the 'double space' part, but not the 'empty
5918 * text.C (workWidth): small optimization
5919 (getLengthMarkerHeight): use minimal size for negative lengths.
5921 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5923 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5925 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5927 2001-12-11 André Pönitz <poenitz@gmx.net>
5930 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5932 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5934 * text2.C: keep selection on a setFont()
5936 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5938 * lyx_cb.C: another bv->text misuse, from insert label
5940 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5943 * kbsequence.C: re-instate nmodifier mask
5945 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5947 * lyx_main.h: make lyxGUI private.
5949 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5951 * lyxfind.C: place the cursor correctly on failed search
5953 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5955 * text.C (getLengthMarkerHeight): for small heights, the arrows
5956 are not always on top/bottom of the text
5957 (drawLengthMarker): smaller arrows; take the left margin in
5958 account; draw also vfills.
5960 (paintLastRow): remove special code for vfill and standard spaces,
5961 since everything is handled in drawLengthMarker now.
5963 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5965 * buffer.C (insertErtContents): try to handle font and language
5966 interaction a bit better.g
5968 * ColorHandler.C (updateColor): change the hash to cover the whole
5969 LColor enum, ws cleanup
5970 (getGCLinepars): ditto
5971 (getGCLinepars): only lookup in the linecache once.
5973 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5975 * iterators.C (operator++): Make the iterator more robust
5977 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5981 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5984 * text.C: better added space drawing
5986 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5989 * BufferView2.C: fix layout combo update on inset unlock
5991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5993 * Makefile.am: don't compile unused files
5995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5999 * LyXAction.C: remove old LFUN_LAYOUTNO
6001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6003 * paragraph_pimpl.h:
6004 * paragraph_pimpl.C: isTextAt() doesn't need font param
6006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6009 * lyxlex.C: little cleanup
6011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6013 * BufferView_pimpl.C: fix insertAscii for insets
6015 2001-12-05 Juergen Vigna <jug@sad.it>
6017 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6018 set the right font on the "multi" paragraph paste!
6020 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6026 * lyxlength.C: remove out-commented code.
6042 * vc-backend.C: change "while(" to "while ("
6044 * lyxlength.[Ch]: add zero function to check if length is zero or
6046 * lyxgluelength.C: use it
6048 2001-12-05 Allan Rae <rae@lyx.org>
6050 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6051 Works for 2.95.3, from what I understand of Garst's reports this should
6052 work for other g++ versions. We're screwed if the abs(int) definition
6053 changed between bugfix releases of gcc.
6055 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6057 * text.C: fix chapter label offset !
6059 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6062 * text.C: fix hfill at end of line, clean up
6064 2001-12-04 Juergen Vigna <jug@sad.it>
6066 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6067 that we force an update of the inset and it's owners if neccessary.
6069 2001-12-03 Juergen Vigna <jug@sad.it>
6071 * text.C (rowLast): simplified code
6073 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6075 * lyxfunc.C: fix show options on timeout
6077 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6079 * screen.C (topCursorVisible): scroll half a page when the cursor
6080 reached top of bottom of screen
6082 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6084 * minibuffer.C: deactivate on loss of focus
6086 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * vspace.[Ch] (operator!=): add operator.
6090 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6092 * BufferView_pimpl.C: refuse to open an inset when
6093 there's a selection.
6095 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6097 * BufferView_pimpl.C: allow to click on RHS of full row insets
6099 2001-11-30 Juergen Vigna <jug@sad.it>
6101 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6102 insets for undo reasons.
6104 2001-11-28 André Pönitz <poenitz@gmx.net>
6106 * vspace.[Ch]: cosmetical changes
6108 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6118 * kbsequence.C: part re-write of old kb code
6121 * WorkArea.C: remove Lgb_bug_find_hack
6123 2001-11-30 José Matos <jamatos@fep.up.pt>
6125 * buffer.C (makeDocBookFile): add a comment to point a hack.
6126 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6127 Fixed a double write of labels.
6129 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6132 * LaTeX.h Fixed bug in LaTeX class where it would not
6133 re-run latex if no depfiles were changed, but the .dvi was removed.
6135 2001-11-28 André Pönitz <poenitz@gmx.net>
6137 * all the files from the change on 2001/11/26:
6138 use lyx::layout_type instead of LyXTextClass::size_type
6139 use lyx::textclass_type instead of LyXTextClassList::size_type
6141 2001-11-29 Juergen Vigna <jug@sad.it>
6143 * text.C: added support for paragraph::isFreeSpacing()
6145 * buffer.C: same as above
6147 * paragraph.h: inserted isFreeSpacing() function to enable
6148 FreeSpacing inside InsetERT.
6150 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6151 of the paragraph's in the cut/copy buffer to 0!
6153 * text2.C (removeRow): remove the assert as it can!
6155 * lyxtext.h: added helper function firstRow returning firstrow and
6156 made firstrow private again.
6158 * BufferView2.C (lockInset): don't relock if we're already locked!
6160 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6162 (removeRow): added Assert::(firstrow)
6164 * debug.C: forgot to add INSETTEXT here.
6166 2001-11-28 Juergen Vigna <jug@sad.it>
6168 * sp_spell.C (initialize): changed error text to more general
6169 spellchecker command use (not only ispell!)
6171 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6173 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6175 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6177 * vspace.C: initialise lyxgluelength on failure
6179 2001-11-28 Allan Rae <rae@lyx.org>
6181 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6182 declaration & definition that looks like a function declaration.
6184 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6186 * BufferView2.C (copy):
6187 (copyEnvironment): do not clear the selection when doing a copy.
6189 * text.C (paintFirstRow): compilation fix
6191 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6193 * tabular.C (Latex): correct line count when writing latex.
6195 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6197 * paragraph_pimpl.h:
6198 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6201 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6205 * LColor.C: change vfillline->added_space
6207 * text.C: add markers and text for added space
6209 * vspace.C: fix comment
6211 2001-11-28 André Pönitz <poenitz@gmx.net>
6213 * paragraph.C: whitespace changes
6214 * all the other files from the change on 2001/11/26:
6215 change *::pos_type into lyx::pos_type
6217 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6219 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6220 language of the document when inserting error insets.
6222 2001-11-26 André Pönitz <poenitz@gmx.net>
6224 * BufferView_pimpl.[Ch]:
6232 * paragraph_pimpl.[Ch]:
6235 * text2.C: reduce header dependencies, introduce type for positions
6237 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6239 * <various>: change to use Alert.h
6241 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6243 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6244 when encountering an unknown token.
6245 (readLyXformat2): Show an error message if there were unknown tokens.
6247 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6250 * BufferView_pimpl.C:
6254 * text2.C: use par->isInset()
6256 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6258 * paragraph_pimpl.h:
6259 * paragraph_pimpl.C: cleanup
6261 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * text2.C (removeRow):
6264 * text.C (setHeightOfRow): remove useless (and costly) call to
6267 2001-11-20 Allan Rae <rae@lyx.org>
6269 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6270 Now need Inset*::checkInsertChar() to return true for appropriate
6271 cases so that the characters in the minibuffer will actually be
6274 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * text.C: change the order of the includes.
6277 (workWidth): initialize it at once.
6278 (workWidth): make maxw unsigned
6279 (setHeightOfRow): remove unused variable (inset)
6280 (selectSelectedWord): remove unused variable (inset)
6281 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6283 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6285 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6286 server is not running.
6288 (closeConnection): add debug info when server is disabled.
6290 * ColorHandler.C (getGCForeground): send debug message to GUI
6293 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6295 * kbmap.C (bind): modify because return conventions of
6296 kb_sequence::parse have changed.
6298 * kbsequence.C (parse): only ignore spaces and not any stupid
6299 control character. This avoids tests like s[i] <= ' ', which are
6300 guaranteed to fail with 8bit characters and signed chars.
6301 Change return code to string::npos when there have been no error
6302 (0 was a bad idea when error is at first character)
6304 2001-11-14 José Matos <jamatos@fep.up.pt>
6307 * buffer.C (simpleDocBookOnePar): removed unused argument.
6309 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6311 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6312 insets which are part of a word. Paragraph::isLetter takes care of
6313 that now. Use Paragraph::isInset to identify insets.
6314 (selectSelectedWord): do not test for hyphenation break.
6316 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6317 that protected spaces are considered as spaces.
6319 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6322 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6325 * lyxserver.C: fix it. and small cleanup.
6327 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6329 * BufferView_pimpl.C: use inline helpers
6332 * LaTeXFeatures.C: fix typos
6335 * Spacing.C: move spacing_string into class
6337 * ToolbarDefaults.C: move stuff into namespace anon
6339 * layout.h: update enum
6341 * lyxfunc.C: use better debug
6343 * minibuffer.h: fix typo
6347 * WorkArea.C: add and use Debug::WORKAREA
6351 * text2.C: code re-organisation, inline helpers
6353 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6355 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6356 std::vector.empty().
6358 2001-11-09 Allan Rae <rae@lyx.org>
6360 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6361 '\n's after tables. Tabular and ERT inset work now makes this no
6364 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6367 * minibuffer.C: fix crash, improve drop-down completion
6369 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6372 * lyxserver.C: invalidate fd's when doing endPipe()
6374 2001-11-08 José Matos <jamatos@fep.up.pt>
6376 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6377 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6380 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6382 2001-11-07 José Matos <jamatos@fep.up.pt>
6385 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6388 * buffer.C (sgmlOpenTag):
6389 * buffer.C (sgmlCloseTag): removed debug info.
6391 * buffer.h (sgmlOpenTag):
6392 * buffer.h (sgmlCloseTag): made public.
6394 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6396 * buffer.C (saveParamsAsDefaults):
6397 * lyx_cb.C (MenuLayoutSave): remove
6399 * LyXAction.C (init):
6401 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6403 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6405 * buffer.C (setPaperStuff): removed from here...
6407 * bufferparams.C (setPaperStuff): ... and moved there.
6409 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6413 * XFormsView.C: add support for drop-down completion
6415 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6417 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6420 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6422 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6425 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6427 * lyx_main.C: change ref to known bugs
6429 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6431 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6432 to work around older babel problems.
6434 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6436 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6438 2001-10-24 Juergen Vigna <jug@sad.it>
6440 * tabular-old.C (ReadOld): below variable changes reflected.
6442 * tabular.[Ch]: added ltType struct for longtable header/footer
6443 defines and changed all instances where they are used. Added
6444 future support for double top/bottom rows.
6446 2001-10-24 José Matos <jamatos@fep.up.pt>
6448 * buffer.h (docbookHandleCaption):
6449 * buffer.C (docbookHandleCaption): removed unused function.
6450 (makeDocBookFile): moved docbook supported version to v4.1.
6452 2001-10-24 José Matos <jamatos@fep.up.pt>
6455 * tabular.C (docbookRow): new function to export docbook code of a row.
6456 (DocBook): now honors the longtable flags.
6458 2001-10-23 José Matos <jamatos@fep.up.pt>
6461 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6462 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6464 * buffer.C (makeLinuxDocFile):
6465 (makeDocBookFile): reworked the preamble, more clean, and with
6466 support for lyx defined entities. Changed the document declaration
6467 to be more XML friendly.
6469 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6470 if we need to output XML that should be done with a filter.
6472 2001-10-22 Juergen Vigna <jug@sad.it>
6474 * sp_pspell.h (class PSpell): add alive function needed in the
6475 controller to see if the spellchecker could be started.
6477 2001-10-22 Juergen Vigna <jug@sad.it>
6479 * buffer.C (insertStringAsLines): modify the font for inserting
6480 chars in certain conditions by calling checkInsertChar(font).
6482 2001-10-19 Juergen Vigna <jug@sad.it>
6484 * text.C (workWidth): use getRow instead of wrong algorithm.
6485 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6487 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6492 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6494 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6496 * text.C (workWidth): do not search for the exact row when
6497 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6498 optimization for big documents.
6500 2001-10-18 Juergen Vigna <jug@sad.it>
6502 * text.C (workWidth): new function with added Inset * parameter.
6504 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6506 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6508 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6509 change return type of getColumnNearX.
6512 * text.C (changeRegionCase): use uppercase/lowercase instead of
6515 (rightMargin): simplify code by factoring out the uses of
6520 (appendParagraph): use Paragraph::size_type
6522 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * vspace.C (asLatexString): add a missing break
6526 2001-10-15 Herbert Voss <voss@perce.de>
6528 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6530 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6532 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6535 2001-10-10 André Pönitz <poenitz@gmx.net>
6537 * lyxfunc.C: removed greek_kb_flag.
6539 2001-10-10 Herbert Voss <voss@perce.de>
6541 * lyx_main.C: delete global string help_lyxdir.
6543 2001-10-09 Herbert Voss <voss@perce.de>
6545 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6547 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6549 * lyx_main.C: added global string help_lyxdir.
6551 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6553 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6555 * lyxrc.C (set_font_norm_type): support iso8859-4
6557 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6559 * LaTeX.C (deplog): add another regex for MikTeX
6561 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6563 * lyxrc.C (set_font_norm_type): support iso8859-3
6565 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6567 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6569 * LaTeXFeatures.C: remove special case of french and index
6571 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6572 before \begin{document}). This solves several incompatibilities.
6574 2001-10-03 Garst Reese <reese@isn.net>
6576 * lyx_cb.C: change CheckTex error msg.
6578 2001-10-03 José Matos <jamatos@fep.up.pt>
6580 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6582 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6584 * .cvsignore: update
6586 * lyx_main.C (commandLineVersionInfo): use new style version info.
6588 * buffer.C (writeFile):
6591 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6593 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6595 * version.h: update to use stuff in version.C
6597 * version.C.in: new file. Contains version information determined
6598 at compile time. This is a merging of version.h and
6601 2001-10-03 Juergen Vigna <jug@sad.it>
6603 * BufferView_pimpl.C (update): don't change "dirty" status in
6606 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6608 * WorkArea.C (c-tor): re-position version string slightly.
6610 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6612 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6613 revert to previous code.
6615 WorkArea.[Ch]: (show, destroySplash): methods removed.
6617 WorkArea.C: rework code so that it's an amalgam of the codes before and
6618 after the splash screen was moved to WorkArea.
6620 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6623 * vspace.C (inPixels):
6626 * buffer.C (insertStringAsLines):
6627 (asciiParagraph): fix types to be large enough
6629 * lyxlex_pimpl.h: change member status from short to int
6631 * layout.h: fix type of endlabeltype
6634 * kbsequence.C (parse): change return type to string::size_type
6636 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6639 * Bullet.C (bulletSize):
6640 (bulletEntry): do not use short ints as parameters
6642 * BufferView2.C (insertLyXFile): change a char to an int.
6644 * WorkArea.C (WorkArea): remove unneeded floats in computation
6646 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6648 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6650 * paragraph.C (asString): Do not ignore newline/hfill chars when
6651 copying to the clipboard.
6653 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6655 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6656 after a multi-line inset.
6658 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6660 * paragraph.C (validate): Set NeedLyXFootnoteCode
6662 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6664 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6665 and decrease-error to decrease.
6667 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6669 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6670 it more readable (should be equivalent)
6672 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6674 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6676 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6678 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6679 of a cursor (row, etc.) after a character has been deleted
6680 (deleteEmptyParagraphMechanism): call the method above on _all_
6681 cursors held by the LyXText when a double space has been
6684 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6686 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6688 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6690 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6691 background. Use greyOut() and the new show() methods to toggle between
6692 the foreground and background. Add code to remove the splash after
6693 its initial showing.
6695 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6696 (create_forms): no longer call Dialogs::showSplash.
6698 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6700 * .cvsignore: add version_info.h
6702 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6704 * version_info.h.in: new file
6706 * Makefile.am: add version_info.h.in
6708 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6709 version_info.h instead of VERSION_INFO
6711 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6713 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6714 The ERT inset now returns string().
6716 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6718 * lyxtext.h, text.C (selectNextWord): renamed as
6719 selectNextWordToSpellcheck.
6721 * text.C (selectNextWordToSpellcheck): Modified to not select
6722 words inside an ERT inset.
6724 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6726 * lyx_cb.C (MenuLayoutSave): change a bit the question
6728 * sp_base.h: include <sys/types.h>
6730 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6732 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6734 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6736 * several files: fix typos in user-visible strings
6738 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * text2.C (pasteSelection): do not set the selection, since it
6741 will be cleared later. Actually, the intent was to fix the way the
6742 selection was set, but I figured rmoving the code was just as good.
6744 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6746 * FontLoader.C (available): Check if font is available without
6749 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6751 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6753 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6755 * lyxrc.[Ch]: added display_graphics variable and associated code.
6757 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * bufferparams.C (hasClassDefaults): new method. Returns true if
6760 the buffer parameters correspond to known class defaults
6762 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6764 * XFormsView.C (show): set minimum size to the main window.
6766 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6768 * text2.C (copySelection):
6770 * lyxfind.C (LyXReplace):
6771 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6772 LyXText::selectionAsString.
6774 * paragraph.C (asString): add "label" argument to the second form
6776 * text2.C (selectionAsString): add "label" argument and pass it to
6777 Paragraph::asString.
6779 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6781 * lyx_main.C (commandLineHelp): remove version information
6783 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6785 * lyx_main.C: add -version commandline option
6787 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6789 * paragraph.h: make the optional constructor arg required instead.
6790 some modifications to other files because of this.
6792 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6794 * lyxserver.C (C_LyXComm_callback): make it static
6796 * lyx_main.C (error_handler): make it static
6798 * lyx_gui.C (LyX_XErrHandler): make it static
6800 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6802 * WorkArea.C: make the extern "C" methods static.
6804 * Makefile.am (lyx_LDADD): simplify
6806 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6808 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6809 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6811 * LyXAction.C (init):
6812 * lyxfunc.C (dispatch): associated code removal.
6814 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * lyxfont.h (isSymbolFont): shut off warning
6818 * text.C (setHeightOfRow):
6819 (getVisibleRow): fix crash with empty paragraphs which have a
6822 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6824 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6827 2001-09-04 José Matos <jamatos@fep.up.pt>
6830 * tabular.C (docbook): rename docBook method to docbook.
6832 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6834 * Makefile.am: add dependencies to main.o.
6836 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6838 * FontLoader.C (available): Return false if !lyxrc.use_gui
6840 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6842 * FontInfo.C (query):
6843 * converter.C (view):
6844 * importer.C (Import):
6845 * exporter.C (Export): Can not -> cannot.
6847 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.C: allow to create index inset even if
6852 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6854 * buffer.C (getLists): replace boost::tie code with an explicit pair
6855 as boost::tie can break some compilers.
6857 * iterators.h: Added a std:: declaration to the return type of
6860 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6862 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6865 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6867 * iterators.[Ch]: New files. Provide paragraph iterators.
6869 * buffer.C (changeLanguage): Use paragraph iterators.
6870 (isMultiLingual): ditto
6872 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6874 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6876 * FontLoader.C: Support for cmr font.
6878 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6880 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6881 (available): New method.
6883 * FontInfo.C (getFontname): Use scalable fonts even when
6884 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6887 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6889 * converter.C (Formats::view): reverted! Incorrect fix.
6891 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6893 * converter.C (Formats::view): only output the -paper option
6894 if the dvi viewer is xdvi, thereby fixing bug #233429.
6896 2001-08-23 Herbert Voss <voss@perce>
6898 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6900 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6902 * Spacing.h (Spacing): Set space to Default on in the default
6905 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6907 * vc-backend.h (RCS::versionString): add RCS to version
6908 (CVS::versionString): add CVS to version
6910 * vc-backend.C (scanMaster): do not add CVS to version.
6911 (scanMaster): do not add RCS to version
6913 * lyxvc.C (versionString): new method
6915 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6917 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6919 * Spacing.C (set): initialize fval
6921 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6923 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6926 2001-08-16 Juergen Vigna <jug@sad.it>
6928 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6930 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6932 * BufferView_pimpl.C:
6935 * text2.C: setParagraph takes linespacing now
6937 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6939 * LyxAction.C: add internal LFUN_CITATION_INSERT
6941 * LyXView.C: actually apply fix
6943 * bufferlist.C: fix open non-existent file
6945 * lyxfind.C: fix indentation
6947 * lyxfunc.C: remove unneeded assert, fix typo
6949 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6951 * MenuBackend.C: use "Floatname List"
6953 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6955 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6956 when converting LaTeX layout to insetERT.
6957 Generate a non-collapsed float when reading old float
6959 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6961 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6964 2001-08-13 Juergen Vigna <jug@sad.it>
6966 * text.C (fill): return 0 instead of 20 as this seems to be the more
6969 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6971 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6974 2001-08-13 Juergen Vigna <jug@sad.it>
6976 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6978 (SearchBackward): comment out the unlocking of the inset_owner this
6979 should not be needed!
6981 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6983 * Many files: Remove inherit_language, and add latex_language
6985 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6988 2001-08-10 Juergen Vigna <jug@sad.it>
6990 * text.C (prepareToPrint): fixed hfill-width in draw!
6992 * BufferView2.C (selectLastWord): save the selection cursor as this
6993 now is cleared in the function LyXText::clearSelection!
6995 2001-08-08 Juergen Vigna <jug@sad.it>
6997 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6998 BACKSPACE type functions.
7000 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7001 is only cutted from the document but not put in the cut-buffer, where
7002 still the old stuff should be.
7004 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7006 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7008 * tabular.C (SetWidthOfCell): fixed special case where the width
7010 (LeftLine): handle '|' in align_special.
7012 (LeftAlreadyDrawed): ditto
7013 (SetWidthOfCell): ditto
7015 2001-08-07 Juergen Vigna <jug@sad.it>
7017 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7019 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7022 * lyxlex.[hC]: ditto
7024 2001-08-06 Juergen Vigna <jug@sad.it>
7026 * text.C (getVisibleRow): fix up row clearing a bit.
7028 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7030 * minibuffer.C: make sure the X server sees the changes in the input.
7032 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7034 * paragraph.C (getFont): split into...
7035 (getLabelFont): this
7036 (getLayoutFont): and this
7037 * paragraph_pimpl.C (realizeFont): calling this
7039 * text2.C (getFont): split into...
7040 (getLayoutFont): this
7041 (getLabelFont): and this
7042 (realizeFont): all three calling this
7044 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7047 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7049 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7051 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7053 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7054 layouts from the Quote inset insertion.
7056 2001-08-03 Juergen Vigna <jug@sad.it>
7058 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7060 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7061 only if status not is already CHANGED_IN_DRAW (second level).
7063 * text.C (draw): don't set the need_break_row when inside an
7066 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * buffer.C (parseSingleLyXformat2Token): handle more latex
7071 * bufferview_funcs.[hC]: change function names to
7072 begin with small char, adjust other files.
7074 2001-08-02 André Pönitz <poenitz@gmx.net>
7077 BufferView_pimpl.C: remove broken special code for math-greek
7079 2001-08-02 Juergen Vigna <jug@sad.it>
7081 * BufferView_pimpl.C (update): redone this function so that we
7082 update the text again if there was a CHANGE_IN_DRAW.
7084 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7085 (drawFromTo): added a new internal bool which is used by draw() and
7087 (general): some cursor drawing problems fixed.
7089 2001-08-01 Juergen Vigna <jug@sad.it>
7091 * lyxfind.C (LyXFind): fixed
7092 (SearchForward): ditto
7093 (SearchBackward): ditto
7095 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7096 spurius drawing of the cursor in the main area.
7098 * text2.C (status): small fix which could lead to a segfault!
7099 (clearSelection): remove unneeded BufferView param.
7101 2001-08-01 André Pönitz <poenitz@gmx.net>
7103 * lyxfunc.C: small change due to changed mathed interface
7105 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7107 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7109 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7111 * lyxfunc.c: fail gracefully if file doesn't exist
7116 * BufferView_pimpl.C: IsDirWriteable() proto changed
7118 * LyXView.C: fix updateWindowTitle() to store the last title
7120 2001-07-31 Juergen Vigna <jug@sad.it>
7122 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7123 the font (wrong since using of Paragraph::highestFontInRange).
7125 * paragraph.C (highestFontInRange): added a default_size parameter.
7127 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7128 (setHeightOfRow): reformat
7130 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7132 * converter.[hC] + affected files: move to (inital-char)lowercase
7135 * ParagraphParameters.C (ParagraphParameters): remove commented code
7137 * PainterBase.[Ch]: remove commented code
7139 * LaTeXFeatures.h: add "bool floats" for float.sty
7141 * LaTeXFeatures.C (LaTeXFeatures): init floats
7142 (require): handle float
7143 (getPackages): do it with floats
7145 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * BufferView_pimpl.C (Dispatch): improve handling of
7148 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7150 * commandtags.h: #include lyxfont.h here temporarily to avoid
7153 * bufferlist.h: include LString.h here.
7155 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7157 * text2.C (getStringToIndex): new method.
7159 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7161 * *: Reduced header file dependencies all over.
7163 2001-07-30 Baruch Even <baruch@lyx.org>
7165 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7167 2001-07-29 Baruch Even <baruch@lyx.org>
7169 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7171 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7173 * ParameterStruct.h (endif): add a default constructor to make
7174 sure that all variables is initialized.
7176 * ParagraphParameters.C (ParagraphParameters): adjust
7178 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7180 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7181 index; also, check that there is something to index, and that it
7182 does not span over several paragraphs.
7183 (doubleClick): use WHOLE_WORD_STRICT for double click.
7185 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7187 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7190 2001-07-26 Baruch Even <baruch@lyx.org>
7192 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7193 an InsetFig figure, backwards compatible reading of old figure code.
7195 2001-07-27 Juergen Vigna <jug@sad.it>
7197 * text2.C: font.realize function adaption.
7199 * text.C (draw): add a warnings lyxerr text if needed.
7201 * layout.C: font.realize function adaption.
7203 * language.C: add inherit_language and implement it's handlings
7205 * bufferview_funcs.C (StyleReset): remove language parameter from
7206 font creation (should be language_inherit now).
7208 * bufferparams.C (writeFile): handle ignore_language.
7210 * paragraph.C (getFontSettings): the language has to be resolved
7211 otherwise we have problems in LyXFont!
7213 * lyxfont.C (lyxWriteChanges): added document_language parameter
7214 (update): removed unneeded language parameter
7216 * paragraph.C (validate): fixed wrong output of color-package when
7217 using interface colors for certain fonts in certain environments,
7218 which should not seen as that on the final output.
7220 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7222 * BufferView_pimpl.C:
7227 * LyXAction.C: add thesaurus support
7230 * lyxfind.C: add "once" parameter, for thesaurus, to not
7231 move to the next match
7233 2001-07-26 Juergen Vigna <jug@sad.it>
7235 * lyxfont.C (realize): honor ignore_language too!
7238 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7240 * text.C (draw): one place more for ignore_language to not draw
7243 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7245 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7247 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7249 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7250 the minipage conversion problem.
7252 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7254 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7257 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * BufferView.h: don't forward declare WorkArea
7261 * BufferView.C: don't include WorkArea.h
7263 2001-07-25 André Pönitz <poenitz@gmx.net>
7267 * lyxfunc.C: new LFUN 'math-space'
7269 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7271 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7273 * text2.C (toggleInset): call open/close
7275 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7277 * lyxfunc.C (dispatch): add debug for the disabled case
7279 * font.C (buttonText): make similar to rectText
7281 * buffer.C (readInset): comment out parsing of insetlist and
7284 * PainterBase.C (rectText): small correction
7286 * BufferView_pimpl.C: comment out insettheorem and insetlist
7287 * LyXAction.C: ditto
7288 * commandtags.h: ditto
7290 2001-07-24 Juergen Vigna <jug@sad.it>
7292 * text.C (draw): honor the ignore_language.
7294 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7296 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7298 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7301 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7303 * lyxtext.h: remove unused (and unimplemented) methods
7305 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7307 * text.C (getVisibleRow): honor background color
7310 * Painter.h: remove default color argument for fillRectangle
7312 * text.C (backgroundColor): new method
7314 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7316 * text.C (getVisibleRow): adjust
7318 * font.[Ch] (rectText): new method, metrics
7319 (buttonText): new method, metrics
7321 * PainterBase.[hC]: make rectText and buttonText always draw and take
7324 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7326 * ToolbarDefaults.C (read):
7327 * MenuBackend.C (read): allow escaping in all strings
7329 * BufferView_pimpl.C (insertAndEditInset): new method.
7330 (Dispatch): use insertAndEditInset whenever appropriate.
7332 * BufferView_pimpl.C (insertNote): removed
7334 * BufferView_pimpl.C (smartQuote): new method, moved from
7335 BufferView; if an insetquote cannot be inserted, insert a '"'
7338 * BufferView2.C: remove insertCorrectQuote();
7340 * lyxfunc.C (getStatus): Add support for all remaingin
7343 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7345 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7346 command (necessary to pass " as parameter of self-insert.
7348 * text.C (selectWordWhenUnderCursor):
7349 (selectWord): add word_location parameter
7350 (selectWordWhenUnderCursor): same + remove special code for word
7352 (selectNextWord): use kind() to guess type of insetspecialchar,
7355 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7356 (insertErtContents): create ert insets as collapsed.
7357 (readInset): better compatibility code for Info inset.
7359 2001-07-20 Juergen Vigna <jug@sad.it>
7361 * lyxfunc.C (dispatch): use always LyXFind now!
7363 * text2.C (init): add a reinit flag so that the LyXText can be
7364 reinited instead of deleted and reallocated (used in InsetText).
7366 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7372 2001-07-18 Juergen Vigna <jug@sad.it>
7374 * text.C (selectNextWord): handle insets inside inset by calling
7375 always the bv->text functions so that we can go up the_locking_inset!
7377 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7378 in strange locations when inside an inset!
7380 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7381 handling to include insets.
7383 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7385 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7387 * LyXAction.C (init):
7389 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7390 LIGATURE_BREAK, since the name is so stupid.
7392 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7394 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7397 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7399 * sp_form.[Ch]: remove.
7401 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7403 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7406 * src/buffer.C (readInset): ditto.
7408 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7410 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7411 menuSeparator(), endOfSentenceDot(), ldots() and
7412 hyphenationPoint(), which are therefore removed.
7413 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7415 * LyXAction.C (init):
7416 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7418 * paragraph.C (getWord): removed.
7420 * BufferView_pimpl.C (Dispatch): use last word or selection for
7421 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7423 * lyx_main.C (queryUserLyXDir): do not ask before creating
7424 user_dir, except if it has been named explicitely.
7426 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7428 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7429 a document of zero size.
7431 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7433 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7434 approriately in the c-tor and in require().
7435 (getPackages): output the appropriate LaTeX for natbib support.
7437 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7438 variables "use_natbib" and "use_numerical_citations" when reading the
7440 (readInset): read the various natbib cite commands.
7441 (validate): white-space change.
7443 * bufferparams.[Ch]: new variables "bool use_natbib" and
7444 "bool use_numerical_citations".
7445 (writeFile): output them in the LyX file.
7447 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7449 * lyxfunc.C (getStatus): add support for all the inset insertion
7452 * text2.C (insertInset):
7453 * paragraph.C (insetAllowed):
7454 * BufferView_pimpl.C (insertInset): update to take in account the
7455 renaming of insertInsetAllowed
7457 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7459 * text2.C (getInset): new method. returns inset at cursor position.
7461 * BufferView_pimpl.C (Dispatch): changes because of this.
7463 * LyXAction.C (init): rename open-stuff to inset-toggle.
7465 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7467 * text2.C (toggleInset): renamed from openStuff; use
7470 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7472 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7474 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7476 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7478 * buffer.C (readLyXformat2): Add filename to the error dialog
7480 2001-07-18 Juergen Vigna <jug@sad.it>
7482 * tabular.C (GetCellNumber): put an assert here instead of the check!
7484 2001-07-17 Juergen Vigna <jug@sad.it>
7486 * BufferView_pimpl.C (toggleSelection): adapted too.
7488 * text.C (selectNextWord): adapted for use with insets.
7489 (selectSelectedWord): ditto
7491 2001-07-17 Juergen Vigna <jug@sad.it>
7493 * sp_spell.C (PSpell): fix initialitation order.
7495 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7497 * paragraph.C: spacing
7499 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7501 * sp_spell.C: repair language selection for pspell
7503 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7505 * lyxfunc.h: change more methods to begin with lower char.
7507 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7509 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7510 for unknown layouts.
7512 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7514 * buffer.C (readLyXformat2): Generate an error dialog if there are
7517 2001-07-16 Juergen Vigna <jug@sad.it>
7519 * sp_spell.C: always compile ISpell part.
7521 * lyxrc.C: added use_pspell entry and it's handling.
7523 2001-07-13 Juergen Vigna <jug@sad.it>
7525 * sp_spell.C: removed double includes.
7527 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7529 Consistent use of Lsstream.h:
7530 * Lsstream.h: added using std::stringstream for consistencies sake.
7532 * buffer.C: removed using std::stringstream
7534 * lyxfont.C (stateText):
7535 * paragraph.C (asString):
7536 * text.C (selectNextWord, selectSelectedWord):
7537 * text2.C (setCounter):
7538 * vspace.C (asString, asLatexString):
7539 std::ostringstream -> ostringstream.
7541 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7543 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7544 * commandtags.h: add LFUN_HELP_ABOUTLYX
7545 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7547 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7549 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7551 * lyx_gui_misc.C: remove spellchecker
7552 * lyxfunc.C: showSpellchecker
7554 * sp_ispell.h: added
7555 * sp_pspell.h: added
7557 * sp_form.[Ch]: removed
7558 * spellchecker.[Ch]: removed
7560 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7562 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7564 (simpleTeXSpecialChars): Simply print the input character without
7565 any special translation if pass_thru is set.
7567 * layout.h: Added bool pass_thru to layout class for being able to
7568 implement pass through of a paragraph for Literate Programming.
7570 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7571 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7572 * layout.C (Read): add "passthru" to list of layout tags and add
7573 code to set the pass_thru boolean when it is read.
7575 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7577 * trans_decl.h: remove allowed from KmodInfo
7579 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7583 * paragraph_pimpl.C (erase): use boost::prior
7585 * Painter.C (text): use data() instead of c_str() when length is
7587 * WorkArea.C (putClipboard): ditto
7588 * font.h (width): ditto
7590 * BufferView2.C: use it-> instead of (*it). for iterators
7592 * paragraph_pimpl.C: ditto
7593 * paragraph.C: ditto
7594 * minibuffer.C: ditto
7599 * converter.C: ditto
7601 * Variables.C: ditto
7602 * TextCache.C: ditto
7603 * MenuBackend.C: ditto
7604 * LyXAction.C: ditto
7606 * FloatList.C: ditto
7608 * ColorHandler.C (LyXColorHandler): ditto
7610 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7614 * text2.C (openStuff): reintroduce this method (which had been
7615 nuked in NEW_INSETS frenzy).
7617 * lyxfunc.C (Dispatch): when an action has not been handled, use
7618 its name in the error message, not its number.
7620 * paragraph.C (inInset): change method name to begin with lowercase.
7623 * text2.C: updates because of this.
7625 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7627 * ToolbarDefaults.C (add): add spaces in error message
7629 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7632 (readLyXformat2): rename return_par to first_par, use lyxlex's
7633 pushToken and remove the manual push handling.
7634 (parseSingleLyXformat2Token): add another ert comp. variable:
7635 in_tabular, rename return_par to first_par. handle newlines better
7637 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7639 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7641 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7643 * text2.C (getParFromID): removed
7645 * buffer.C (getParFromID): new method moved form lyxtext.
7646 * BufferView2.C (insertErrors): adjust
7647 (setCursorFromRow): adjust
7648 * BufferView_pimpl.C (restorePosition): adjust
7649 * lyxfunc.C (Dispatch): adjust
7650 * undo_funcs.C (textUndo): adjust
7652 (textHandleUndo): adjust
7653 (textHandleUndo): adjust
7655 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * buffer.C: up' the LYX_FORMAT
7659 * lyxfont.h: turn NO_LATEX on as default
7661 * buffer.C (insertErtContents): new methods of tex style compability.
7662 (parseSingleLyXformat2Token): use it several places.
7663 * tabular.C (OldFormatRead): and here
7665 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7667 * text2.C: remove some commented code.
7670 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7671 * trans.C: changes because of the above.
7673 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7675 * text2.C (setCounter): Fix counters bug with bibliography layout.
7677 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7679 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7680 own member functions
7681 (simpleTeXSpecialChars): ditto
7683 2001-07-06 Juergen Vigna <jug@sad.it>
7685 * a lot of files: changed the access to LyXText::status and the
7686 call of undo-functions.
7688 * undo.[Ch]: added a inset_id to the undo informations.
7690 * undo_funcs.[Ch]: added and moved here all undo functions.
7692 * lyxtext.h: give the status enum a weight, made status_ a private
7693 variable and made accessor functions for it, removed the whole bunch
7694 of undo-functions as they are now in their own file, make some
7695 functions publically available. Added function ownerParagraph with
7698 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7699 made InInset() a const function, added getParFromID() function.
7701 * buffer.[Ch]: added const version for inset_iterator functions,
7702 added getInsetFromID() function.
7704 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7705 changed undo functions for new version.
7707 2001-07-05 Juergen Vigna <jug@sad.it>
7709 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7710 unknow mechanism does not call the proper constructor but only this
7711 one also if I request the other!?
7713 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7717 * text2.C (LyXText): use initialization lists.
7719 * lyxtext.h (Selection): initialize set_ and mark_
7720 (init): remove method
7722 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7724 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7726 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * screen.[Ch]: change method names to begin with lowercase
7730 * BufferView_pimpl.C (updateScrollbar): simplify further and
7731 hopefully make it a bit faster.
7733 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7735 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7736 calling directly xforms functions.
7738 * Painter.C (Painter):
7739 * lyx_cb.C (MenuWrite):
7740 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7743 * lyx_gui.C: remove bogus guiruntime extern declaration.
7745 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7749 (redoDrawingOfParagraph): ditto
7750 (redoParagraphs): ditto
7751 (cutSelection): don't create a object for CutAndPaste use the
7752 static method directly
7753 (pasteSelection): ditto
7755 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7758 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7760 * modifications to some other files because of this.
7762 * Makefile.am (lyx_SOURCES): add XFormsView
7764 * XFormsView.[Ch]: new files
7766 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7767 the main window. Move the gui dependent stuff to XFormsView
7769 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7771 * tabular.C (GetCellInset): update cur_cell also in the row/col
7772 version of this function.
7774 * lyxfunc.C: no need to include figure_form.h here.
7780 * lyxvc.C: no need to include forms.h here.
7782 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7786 * lyxfunc.C (Dispatch):
7788 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7789 constructor argument.
7791 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * paragraph.C (Paragraph): dont't clear, and just set layout.
7794 (makeSameLayout): use params's copy contructor.
7796 * ParagraphParameters.[Ch] (makeSame): delete method
7798 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7800 * Variables.[Ch]: fix indentation, rename set to isSet
7802 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7804 * lyxfunc.C (Dispatch): fix typo
7806 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7808 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7811 * bufferlist.C: include assert.h for emergencyWrite().
7813 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7815 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7816 give up at last (bug #425202) !
7818 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7824 * spellchecker.C: strip spellchecker options and bring up
7825 preferences tab instead
7827 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7829 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7830 the istringstream constructor
7832 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7834 * paragraph.C (getLayout): fix return value
7836 * paragraph.h: do not declare getLayout as inline.
7838 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7840 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * lyxcursor.h (operator<): new func
7843 (operator>): new func
7844 (operator>=): new func
7845 (operator<=): new func
7847 * text.C (changeCase): use selection.start and selection.end
7848 (changeRegionCase): require from to be <= to. Require par to be a
7851 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7853 2001-06-27 Juergen Vigna <jug@sad.it>
7855 * text.C (cursorLeftOneWord): changed to return the cursor and added
7856 overlay with BufferView * parameter which calls this one.
7858 (selectWord): use new getWord function.
7859 (changeCase): renamed from changeWordCase as and extended to work
7862 * lyxtext.h: added enum word_location
7864 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7865 changeCase as this operates now also on selections.
7867 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7869 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7871 * many files: send debug output to Debug::INFO instead of
7874 * converter.C (View):
7876 (Move): send debug output to Debug::FILES instead of console.
7878 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7880 * lyxfunc.C (getStatus): use func_status
7882 * func_status.h: new header, describing the results of
7885 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7888 2001-06-25 The LyX Project <jug@sad.it>
7890 * buffer.C (sgmlOpenTag):
7892 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7894 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7896 * text2.C: remove some dead code
7898 * tabular.C (GetCellInset): store the last cell checked (gotten)
7900 * tabular.h: add the helper for the speedup
7902 * lyxtext.h: remove some dead code
7904 2001-06-26 The LyX Project <Asger>
7906 * paragraph.C: Change export to LaTeX of alignment to
7907 \begin{center} and family for better roundtrip work with reLyX.
7909 * Tune the math drawing a bit.
7911 2001-06-25 The LyX Project <Asger>
7913 * LColor.C (LColor): New color for math background. New color
7916 2001-06-25 The LyX Project <jug@sad.it>
7918 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7921 * bufferlist.C (newFile): do not restrict to files ending with
7924 * BufferView_pimpl.C (MenuInsertLyXFile):
7926 2001-06-24 The LyX Project <jug@sad.it>
7928 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7931 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7933 * lyxtext.h: rename most methods to begin with a small char.
7934 Lots of changes because of this.
7936 * paragraph.C (Paragraph): do not call fitToSize
7937 (erase): call Pimpl::erase
7938 (insertChar): call Pimpl::insertChar
7939 (insertInset): call Pipl::insertInset
7940 (breakParagraph): do not call fitToSize
7941 (breakParagraphConservative): do not call fitToSize
7942 (fitToSize): remove method
7944 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7946 2001-06-24 The LyX Project <Asger>
7948 * Fix Qt compilation^2
7950 2001-06-24 The LyX Project <jug@sad.it>
7952 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7953 depthHook(getDepth()-1).
7956 * ParagraphParameters.h:
7957 * ParameterStruct.h: change type of depth to unsigned int ==
7958 depth_type. Many adaptations to other files before of that.
7960 2001-06-24 The LyX Project <Asger>
7962 * Fix Qt compilation.
7964 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7966 * paragraph.h: renamed several methods to begin with small letter.
7967 several changes to many parts of the code because of this.
7969 2001-06-23 The LyX Project <jug@sad.it>
7971 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7972 rewritten to discard all double spaces when KeepEmpty is off
7973 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7974 to only handle newlines but not fiddle with spaces and friends.
7976 * lyxfunc.C (MenuNew): when doing 'new from template', use
7977 template_path as default directory
7979 2001-06-23 The LyX Project <Asger>
7981 * Clean-up of header file includes all over
7982 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7984 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7986 * paragraph.h: renamed from lyxparagraph.h
7988 2001-06-23 Asger <lyx@violet.home.sad.it>
7990 * Buffer.h: Removed Buffer::resize
7991 * BufferList.h: Removed BufferList::resize
7992 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7993 the document lazily when we change the width, or the font settings.
7995 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7997 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7999 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8001 * buffer.h: remove out of date comment
8003 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8006 * screen.C: fix "theoretical" GC leak
8008 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8010 * LaTeX.C (scanAuxFile):
8011 (deplog): remove trailing \r when reading stream (useful under
8014 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8016 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8017 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8018 and BufferView::theLockingInset(Inset*), so should use them and not
8019 access bv_->text->the_locking_inset directly.
8021 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8023 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8026 * tex-defs.h: remove old unused file
8028 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8030 * BufferView_pimpl.C: fix typo, remove minibuffer message
8031 when buffer has loaded
8033 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * lyxfunc.C (Dispatch): use stringstream
8036 (MenuNew): use stringstream
8037 (Open): use stringstream
8039 * importer.C (Import): use stringstream
8041 * bufferview_funcs.C (CurrentState): use stringstream
8043 * LaTeX.C (run): use stringstream
8045 * BufferView_pimpl.C (savePosition): use stringstream
8046 (restorePosition): use stringstream
8047 (MenuInsertLyXFile): use stringstream
8049 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8062 * vspace.C: removed // -*- C++ -*- as first line.
8065 * version.h: added // -*- C++ -*- as first line.
8067 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8069 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8071 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8074 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8079 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8081 * gettext.C: include LString.h even when --disable-nls is on.
8083 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8085 * converter.h (Get): changed argument type from int to
8086 FormatList::size_type to avoid unnecessary conversion.
8088 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8091 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8093 * gettext.h: include LString.h even when --disable-nls is on.
8095 2001-06-07 Juergen Vigna <jug@sad.it>
8097 * text.C (BreakAgain): subst spaces with tabs.
8099 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8100 (resizeInsetsLyXText): set force on resizeLyXText.
8102 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * gettext.h (gettext_init):
8105 (locale_init): use a real definition instead of a macro
8107 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8109 * Bufferview_pimpl.C:
8111 * LColor.C: further lcolor tidies
8113 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * BufferView_pimpl.C (updateScrollbar): simplify.
8117 * BufferView2.C: don't include insets/insetinfo.h, change
8118 prototype for insertInset and call the Pimpl version. let
8119 updateInset call Pimpl version.
8121 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8122 gotoInset to BufferView::Pimpl
8124 2001-06-01 Juergen Vigna <jug@sad.it>
8126 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8127 inside a LockingInset (is the update needed at all?).
8129 2001-05-31 Juergen Vigna <jug@sad.it>
8131 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8132 here not the old one otherwise how should we compare it afterwards
8135 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * FontInfo.C: bring C functions into global namespace when
8143 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8145 * LString.h: make sure config.h has been loaded before LString.h.
8147 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8148 (one for each char read by EatLine!).
8150 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8153 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8155 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8156 to the same as the par we break from
8158 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8160 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8162 * MenuBackend.C (expand): also create menu entries for wide
8163 versions of the floats.
8165 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8167 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8169 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8170 frontends/Makefile.am
8176 * tabular.C (getTokenValue): add std::
8178 * tabular-old.C (getTokenValue): add std::
8179 (getTokenValue): ditto
8180 (getTokenValue): ditto
8182 * screen.C (ToggleSelection): adjust
8184 * lyxtext.h: put selection cursors inside a Selection struct.
8186 * lyxfunc.C (moveCursorUpdate): adjust
8188 * lyxfont.C (latexWriteStartChanges): add std::
8192 * font.h: delete with(char const *, LyXFont const &)
8194 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8196 * FontInfo.C (getFontname): add std::
8198 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8199 (workAreaButtonPress): adjust
8200 (tripleClick): adjust
8202 (moveCursorUpdate): adjust
8205 * BufferView2.C (gotoInset): adjust
8207 2001-05-30 Juergen Vigna <jug@sad.it>
8209 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8210 to check pspell I add this as default as I now have new pspell
8211 libraries and they seem to use this.
8213 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8215 * text2.C (CutSelection): make the cursor valid before the call to
8218 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8220 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8221 relied on 0 terminated strings and other horrors. Bug found due to
8222 the new assert in lyxstring!
8224 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8227 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8229 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8232 * lyxfunc.C (processKeySym): change method of getting to the
8235 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8236 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8237 * BufferView_pimpl.[Ch]: here as private methods.
8239 2001-05-28 Juergen Vigna <jug@sad.it>
8241 * text.C (SetHeightOfRow): added the update() call again as it is
8242 needed to initialize inset dimensions!
8244 2001-05-16 Juergen Vigna <jug@sad.it>
8246 * text2.C (SetCharFont): Add new function with BufferView * and
8247 bool toggleall parameters for setting insets internal fonts.
8248 (SetFont): Freeze the undo as we may change fonts in Insets and
8249 all this change should be inside only one Undo!
8251 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8252 setting font's in insets as for them we have the SetFont function!
8254 2001-05-15 Juergen Vigna <jug@sad.it>
8256 * text2.C (ClearSelection): to be sure we REALLY don't have any
8259 * tabular.C (TeXCellPreamble): fixed the left border problem for
8262 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8264 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8267 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8269 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8270 LFUN_BREAKPARAGRAPH.
8272 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8273 help test to "internal only", similar for LFUN_INSERT_URL
8275 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8276 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8277 auto_region_delete and deadkeys.
8279 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8282 * LColor.C: remove some dead entries, tidy a little
8284 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8286 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8288 (Dispatch): implement LFUN_ESCAPE
8290 * commandtags.h: add LFUN_ESCAPE
8292 * LyXAction.C (init): add entry for LFUN_ESCAPE
8294 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8295 Remove commented code.
8296 (insertNote): moved here
8297 (open_new_inset): moved here
8299 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8302 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8304 * kbmap.C (findbinding): clean it up and make it work correctly.
8306 * lyx_main.C (init): do not pass argc and argv as parameters
8308 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8310 * buffer.C: fix path for OS/2 & Win32
8314 * lyx_main.C: Added os:: class.
8316 * os2_defines.h: update
8318 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8320 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8321 better by trying again with reduced state.
8323 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8325 * lyxrc.C (read): print error about invalid key sequence only when
8326 debugging (because not all latinX keysyms are known to some X
8329 * kbsequence.C (getiso): add a few std:: qualifiers
8330 (getiso): comment out extra return statement.
8332 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8334 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8336 (Dispatch): enhance the accent inset a bit. (not perfect)
8338 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8340 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8342 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8344 * bufferlist.C (emergencyWrite): fix assert() call
8346 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8348 * text.C (InsertChar): Added trivial patch to only send the "you
8349 can not do multiple spaces this way" message once during a
8352 2001-05-08 Baruch Even <baruch@lyx.org>
8354 * Makefile.am: Changed order of libraries to get LyX to link properly
8355 with the gnome frontend.
8357 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8359 * LaTeXFeatures.h: add a std:: qualifier
8361 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * paragraph.C (String): use stringstream
8365 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8367 * paragraph.C (writeFile): remove footflag arg
8369 * buffer.C (makeLaTeXFile): use stringstream
8370 (latexParagraphs): remove footnot gurba
8372 * LaTeXFeatures.C (getPackages): use stringstream
8373 (getMacros): likewise
8374 (getTClassPreamble): likewise
8375 (getFloatDefinitions): new method
8377 * paragraph.C (writeFile): reindent
8380 * WorkArea.h: revert the xpos + etc changes.
8382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8384 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8386 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8387 (pasteSelection): likewise
8388 * text2.C (CreateUndo): likewise
8390 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8392 * minibuffer.C (peek_event): temporarily reduce the functionality
8393 of the minibuffer (to allow args on lfuns)
8395 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8396 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8398 * buffer.C (readInset): add compability reading of old float
8399 lists, add reading of new style float list.
8400 (readInset): avoid reevaluation of inscmd.getCmdName()
8401 (getLists): reindent
8403 * MenuBackend.C (MenuItem): implement parsing of
8404 md_floatlistinsert and md_floatinsert.
8405 (expand::LastFiles): move initalizaton of iterators out of loop,
8407 (expand::Documents): introduce typdedef vector<string> Strings,
8409 (expand::ExportFormats): introduce typedef vector<Format const *>
8410 Formats, and use it.
8411 (expand): implement FloatListInsert and FloatInsert.
8413 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8414 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8415 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8417 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8419 (Dispatch::LFUN_FLOAT_LIST): implement
8421 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8423 * LaTeX.C (run): Fix problem with --export code.
8425 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8427 * BufferView.[Ch] (workarea): removed.
8428 (getClipboard) new method; wrapper for workarea()->getClipboard()
8430 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8433 * WorkArea.h (width, height, xpos, ypos): These methods all
8434 returned the dimensions of the work_area sub-area of WorkArea,
8435 resulting in a position error if the WorkArea were resized. Now
8436 return the dimensions of the entire WorkArea.
8438 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8440 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * LaTeX.C (deplog): correct the syntax of regex reg1
8444 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8446 * undo.C: remove !NEW_INSETS cruft
8448 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * text2.C: remove !NEW_INSETS cruft
8452 * text.C: remove !NEW_INSETS cruft
8454 * tabular.C: remove !NEW_INSETS cruft
8456 * spellchecker.C: remove !NEW_INSETS cruft
8458 * lyxtext.h: remove !NEW_INSETS cruft
8460 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8462 * lyxfunc.C: remove !NEW_INSETS cruft
8464 * lyxfind.C: remove !NEW_INSETS cruft
8466 * lyx_cb.C: remove !NEW_INSETS cruft
8468 * figureForm.C: remove !NEW_INSETS cruft
8470 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8472 * buffer.[Ch]: remove !NEW_INSETS cruft
8474 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8476 * CutAndPaste.C: remove !NEW_INSETS cruft
8478 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8480 * BufferView2.C: remove !NEW_INSETS cruft
8482 * BufferView.h: remove !NEW_INSETS cruft
8484 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * Lsstream.h: include LString.h before the sstream headers to
8487 fix problem with gcc 2.95.3 and lyxstring
8489 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * lyx_main.C: add using directives when needed for C functions
8492 declared in std:: namespace.
8494 2001-04-27 Juergen Vigna <jug@sad.it>
8496 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8497 (SetHeightOfRow): comment out the update call should not be needed!
8499 2001-04-13 Juergen Vigna <jug@sad.it>
8501 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8502 (LyXTabular): tried to minimize operator= operations (and realized
8503 hopfully Lars wish).
8505 2001-04-27 Juergen Vigna <jug@sad.it>
8507 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8509 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8513 * buffer.C (readInset): hack to make listof algorithm work
8515 * BufferView_pimpl.C: hack to make listof algorithm work
8517 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * LyXAction.C: removed all !NEW_INSETS cruft
8520 (init): moved lfun_item in method
8522 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8524 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8526 * BufferView2.C (theLockingInset): white space.
8528 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8530 * minibuffer.C: include <iostream>
8532 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8534 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8536 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8538 * text.[Ch] (TransposeChars): new method
8540 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * call message directly through LyXView instead of through LyXFunc
8543 * BufferView2.C: adjust
8544 * BufferView_pimpl.C: adjust
8545 * FontLoader.C: adjust
8547 * bufferview_funcs.C: adjust
8548 * converter.C: adjust
8549 * figureForm.C: adjust
8550 * importer.C: adjust
8552 * lyx_gui_misc.C: adjust
8556 + more files in subdirs
8558 * lyxparagraph.h (size): move up int file
8561 * adjust all uses of Assert to lyx::Assert.
8563 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8564 lyxfunctional in namespace lyx
8565 * layout.C (hasLayout): ditto
8568 (delete_layout): ditto
8569 (NumberOfClass): ditto
8570 * converter.C (GetFormat): ditto
8575 * bufferlist.C (getFileNames): ditto
8576 (emergencyWriteAll): ditto
8579 * MenuBackend.C (hasSubmenu): ditto
8582 * BufferView_pimpl.C (getInsetByCode): ditto
8584 2001-04-18 Juergen Vigna <jug@sad.it>
8586 * vspace.C (asLatexString): fixed the 100% problem.
8588 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8590 * lyxfunc.C (Dispatch):
8592 * minibuffer.h: add a few std:: qualifiers
8594 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8596 * minibuffer.[Ch]: reimplement so that commands is initiated and
8597 run from lyxfunc, simplified som handling, and made the completion
8598 and history code for complete. wip.
8600 * lyxfunc.C (processKeySym): call message
8601 (miniDispatch): new temporary method
8602 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8603 (LFUN_MESSAGE): implement
8604 (LFUN_MESSAGE_PUSH): implement
8605 (LFUN_MESSAGE_POP): implement
8606 (initMiniBuffer): the initial/defualt minibuffer message.
8608 * lyxfont.[Ch]: inline some more getters
8610 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8612 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8614 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8615 (AutoSave): use LFUN_MESSAGE
8616 (Reconfigure): ditto
8618 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8620 * figureForm.C: use LFUN_MESSAGE
8622 * converter.C (runLaTeX): use LFUN_MESSAGE
8624 * bufferview_funcs.C: use LFUN_MESSAGE
8626 (changeDepth): ditto
8628 * bufferparams.h: use boost::
8630 * bufferlist.h: inherit privately from noncopyable
8632 * bufferlist.C (loadLyXFile): remove some commented code.
8634 * buffer.C (runChktex): use LFUN_MESSAGE
8636 * ShareContainer.h: inherit privately from noncopyable
8638 * ParagraphParameters.[hC] (depth): inline it.
8640 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8642 (message): new method
8643 (messagePush): ditto
8645 (show): init minibuffer
8646 (showState): direct call
8648 * LaTeX.[Ch]: inherit privately from noncopyable
8649 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8650 instead of WriteStatus.
8652 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8654 * BufferView_pimpl.C (buffer): don't init minibuffer
8655 (workAreaButtonPress): use LFUN_MESSAGE
8656 (workAreaButtonRelease): ditto
8657 (savePosition): ditto
8658 (restorePosition): ditto
8659 (MenuInsertLyXFile): ditto
8660 (workAreaExpose): don't init minibuffer
8661 (update): remove commented code, simplify
8663 * BufferView2.C (openStuff): use LFUN_MESSAGE
8664 (toggleFloat): ditto
8667 (copyEnvironment): ditto
8668 (pasteEnvironment): ditto
8673 (updateInset): remove some commented code
8675 * lastfiles.h: inherit privately from noncopyable
8680 * lyxlex_pimpl.h: ditto
8682 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8683 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8684 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8686 * LyXAction.h: inherit privately from noncopyable, add methods
8687 func_begin, func_end, returning iterators to the func map.
8689 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8690 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8691 (func_begin): new method
8692 (func_end): new method
8694 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8696 (copySelection): ditto
8697 (pasteSelection): ditto
8699 * BufferView.C: whitespace change
8700 * BufferView.h: inherit privately from noncopyable
8702 2001-04-16 Allan Rae <rae@lyx.org>
8704 * tabular-old.C (l_getline):
8705 * spellchecker.C (sc_check_word):
8706 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8707 an unrecognised preprocessor directive. So ensure they're wrapped.
8709 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8711 * src/exporter.C (Export): Give an error message when path to file
8714 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8716 * LaTeX.C (deplog): Always check that foundfile exists.
8718 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8723 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8725 * tabular.[Ch] (getLabelList): implement new method
8727 * minibuffer.h: comment ouf setTiimer
8729 * minibuffer.C (ExecutingCB): constify res
8730 (peek_event): constify s
8731 (Set): constify ntext
8732 (Init): constify nicename
8734 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8736 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8737 (savePosition): use two params to Minibuffer::Set
8738 (restorePosition): ditto
8740 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * lyx_main.C: include language.h
8744 * Makefile.am (lyx_main.o): add language.h
8746 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * CutAndPaste.C: include gettext.h
8754 * lyxfont.h: remove old hack with ON and OFF.
8757 * lyxfont.h: do not include language.h...
8762 * bufferview_funcs.C:
8768 * paragraph.C: ... but do it here instead
8770 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8774 * tabular.C: small reformat
8776 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8779 (BreakParagraph): ditto
8780 (SetOnlyLayout): ditto
8783 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8786 * lastfiles.C: removed most using decl, add std:: where needed
8788 * buffer.C: ws changes
8790 * MenuBackend.C (class compare_format): put into anon namespace
8791 (expand): constify label, names, action, action2
8794 * text.C (SingleWidth): constify font
8795 (IsBoundary): constify rtl2
8796 (GetVisibleRow): constify ww
8798 * LaTeX.C (deplog): constify logfile
8800 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8802 (workAreaExpose): constify widthChange, heightChange
8804 * lyxrow.C (par): moved
8807 * lyxrow.h: as inlines here
8809 * lyxfont.h (shape): moved from lyxfont.C
8810 (emph): moved from lyxfont.C
8812 * lyxfont.C (LyXFont): use initialization list for all
8814 (shape): move to lyxfont.h as inline
8815 (emph): move to lyxfont.h as inline
8818 2001-04-04 Juergen Vigna <jug@sad.it>
8820 * vspace.C: had to include stdio.h for use of sscanf
8822 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8825 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8826 independent of xforms.
8828 2001-04-02 Juergen Vigna <jug@sad.it>
8830 * spellchecker.C: fixed namespace placing!
8832 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8834 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8835 the LyXParagraph * is 0.
8837 2001-03-29 Juergen Vigna <jug@sad.it>
8839 * vspace.C: added support for %, c%, p%, l%.
8840 (stringFromUnit): added helper function.
8841 (asLatexString): changed to give right results for the %-values.
8843 * buffer.C: convert the widthp in a width%.
8845 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8847 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8850 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8851 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8853 * lyx_cb.[Ch]: see above.
8855 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8859 * lyx.[Ch]: replaced by figure_form.[Ch].
8863 * lyxfunc.C: changed headers associated with above changes.
8865 2001-03-27 Juergen Vigna <jug@sad.it>
8867 * BufferView_pimpl.C: set the temporary cursor right!
8869 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8871 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8873 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8875 * LString.h: removed "using std::getline"!
8877 * BufferView_pimpl.C (Dispatch): changes due to changes in
8878 InsetInclude::Params.
8880 * buffer.C (tag_name): removed redundant break statements as they were
8881 producing lots of warnings with my compiler.
8883 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * LString.h: add "using std::getline" when using the real <string>.
8887 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8889 * buffer.C: removed bitset usage.
8890 PAR_TAG moved to an anonymous name space.
8891 (tag_name): new funtion, also in the anonymous namespace.
8892 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8893 (makeDocBookFile): clean code. Completed transition from string arrays
8895 (SimpleDocBookOnePar): code clean.
8897 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8899 * tabular.C: add some comments.
8901 2001-03-22 Juergen Vigna <jug@sad.it>
8903 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8904 compatibility read a bit and fixed bug with minipage in different
8907 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8909 * buffer.C (pop_tag): removed.
8910 (push_tag): removed.
8911 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8912 array replaced with vector. Added support for CDATA sections.
8913 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8915 (makeDocBookFile): XML conformant declaration of CDATA section,
8916 fixed bug related to <emphasis> in the first paragraph char.
8917 (sgmlOpenTag): exclude empty tags.
8918 (sgmlCloseTag): ditto.
8920 * buffer.h (pop_tag): removed.
8921 (push_tag): removed.
8923 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8925 * language.h (Languages): added size_type and size().
8927 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8929 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8930 response on compability reading of minipages. One probliem is that
8931 the old usage of minipages was «flertydig»
8933 * several files here and in subdirs: don't use static at file
8934 scope use anon namespaces instead.
8936 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8938 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8939 LaTeX output. This is necessary for Literate document
8942 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8944 * buffer.C: insert hfill when needed.
8946 * tabular.C (l_getline): use string::erase, small whitespace change.
8948 * BufferView_pimpl.C: try the anon namespace.
8951 2001-03-16 Juergen Vigna <jug@sad.it>
8953 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8954 otherwise it won't open options-dialogs.
8956 * buffer.C: honor pextraWidth(p) on converting minipages.
8958 * tabular.C (l_getline): changed the functions to strip trailing \r.
8960 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8962 * BufferView_pimpl.C:
8963 * minibuffer..C: added "using SigC::slot" declaration.
8965 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8967 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8973 * paragraph.C: ditto
8975 * lyxtext.h: NO_PEXTRA
8977 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8979 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8980 * ParameterStruct.h: ditto
8981 * ParagraphParameters.h: ditto
8982 * lyxparagraph.h: ditto
8984 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8986 * buffer.C: add compability for minipage alignment.
8987 (latexParagraphs): remove unwanted pextra check.
8989 * several files: remove CXX_WORKING_NAMESPACES
8991 * buffer.C (pop_tag): tie is in namespace boost
8993 * BufferView.h: noncopyable is in namespace boost
8998 * lastfiles.h: ditto
8999 * bufferlist.h: ditto
9000 * ShareContainer.h: ditto
9002 * LyXAction.h: ditto
9005 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9007 * Merging changes from BRANCH_MVC back into HEAD.
9009 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9011 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9013 * BufferView_pimpl.C: change from intl.C
9017 * Makefile.am: move combox.*
9023 * intl.C: remove dialog (covered by prefs)
9025 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9027 * lyxfunc.C (Dispatch): removed redundant break statement.
9029 2001-03-14 Juergen Vigna <jug@sad.it>
9031 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9033 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9035 * buffer.C: add hack to fix compability reading of minipages.
9037 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9039 * buffer.C (getLists): Cleanup.
9041 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9043 * lyxfont.C (update): don't honor toggleall on font size.
9045 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9049 * Makefile.am: moved to frontends/xforms/
9053 * BufferView_pimpl.C: changes for moved mathpanel
9055 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9057 * gettext.h: fix gettext_init() in --disable-nls
9059 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9063 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9066 * lyx.h: strip external form
9068 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9070 * BufferView_pimpl.C: add comment, destroySplash()
9072 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9074 * BufferView_pimpl.C:
9078 * lyxfunc.C: use re-worked insetinclude
9080 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9082 * buffer.C: add using std::stringstream.
9084 * lyx_cb.C: readd using std::ios.
9086 * buffer.C: add using std::map.
9088 * BufferView_pimpl.C: add using std::vector.
9090 * ShareContainer.h: add std:: to swap.
9092 * buffer.h: add some typedefs
9093 * buffer.C (getLists): use them
9094 (getLists): renamed from getTocList.
9095 add a counter for the different float types and use it in the
9097 (getLists): use the same counter for the NEW_INSETS and the "non"
9100 * lyx_cb.h: remove unused items, includes, using etc.
9102 * ShareContainer.h: remove some commented code, add more comments
9103 and "documentation".
9105 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9107 * buffer.C (getTocList): make the list also when NEW_INSETS is
9110 * buffer.h: remove TocType
9112 * buffer.C (getTocList): change to return a map<string,
9113 vector<TocItem> >, implement for dynamic number of list.
9115 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9116 * text2.C (PasteSelection): adjust
9117 * CutAndPaste.C (pasteSelection): adjust
9119 * FloatList.C (FloatList): update from the new_insets branch.
9120 * Floating.[Ch]: ditto
9121 * LaTeXFeatures.C: ditto
9123 * lyxlex_pimpl.C: ditto
9125 * paragraph.C (Last): remove when NEW_INSETS is defined.
9127 * other file: changes because of the above.
9129 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9131 * lyxparagraph.h: rename next to next_, previous to previous_,
9132 make them private for NEW_INSETS. Rename Next() to next(),
9133 Previous() to previous().
9135 * other files: changes because of the above.
9137 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9140 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9143 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9145 * main.C (main): pass lyx_localedir to gettext_init().
9147 * gettext.h: remove locale_init and gettext_init macros
9149 * gettext.C (locale_init): new function
9150 (gettext_init): new function
9152 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9155 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9157 * Moved credits to frontends:
9158 * credits.[Ch]: removed
9159 * credits_form.[Ch]: removed
9160 * lyx_gui_misc.C: remove credits stuff
9163 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9165 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9167 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9168 unneeded destructor.
9170 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9171 a standalone pointer again.
9173 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9175 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9181 * ToolbarDefaults.C:
9190 * BufferView_pimpl.C: use new file dialog in GUII
9193 * lyx_cb.C: remove LayoutsCB to Toolbar
9195 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9197 * ShareContainer.h (get): add std:: qualifier
9199 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * ShareContainer.h: define a proper ShareContainer::value_type
9202 type (and use typename to please compaq cxx)
9204 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9206 * lyxparagraph.h: move serveral local vars to
9207 ParameterStruct/ParagraphParameters., use ShareContainer in
9208 FontTable., make vars in FontTable private and add getter and
9211 * paragraph.C: changes because of the above.
9213 * lyxfont.h: remove copy constructor and copy assignment. (the
9214 default ones is ok), move number inside FontBits. move inlines to
9217 * lyxfont.C: add number to initializaton of statics, move several
9218 inlines here. constify several local vars. some whitespace
9219 cleanup. Dont hide outerscope variables.
9221 * Spacing.h: add two new constructors to match the set methods.
9223 * ShareContainer.h: new file, will perhaps be moved to support
9225 * ParameterStruct.h: new file
9227 * ParagraphParameters.h: new file
9229 * ParagraphParameters.C: new file
9231 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9232 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9234 * BufferView_pimpl.C: ParagraphParameter changes.
9235 * buffer.C: Likewise.
9236 * bufferview_funcs.C: Likewise.
9238 * text2.C: Likewise.
9240 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9242 * lyxfind.C (LyXReplace): do not redefine default argument in
9244 (IsStringInText): ditto
9245 (SearchForward): ditto
9246 (SearchBackward): ditto
9248 2001-03-06 Juergen Vigna <jug@sad.it>
9250 * lyxfind.C (IsStringInText): put parentes around expressions.
9252 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9254 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9256 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9258 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9260 * stl_string_fwd.h: add comment
9262 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9265 * tabular.C: remove unused DocBook methods
9271 killed DO_USE_DEFAULT_LANGUAGE
9273 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9275 * lyx_gui.C: do not include language.h.
9277 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9278 arguments in function implementation.
9280 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9282 * BufferView_pimpl.C: add <ctime>
9284 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9286 * BufferView_pimpl.C: add using std::find_if
9288 2001-02-27 José Matos <jamatos@fep.up.pt>
9290 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9293 2001-02-11 José Matos <jamatos@fep.up.pt>
9295 * buffer.C (makeDocBookFile): command styles now have a parameter as
9298 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9300 * layout_forms.[Ch]: removed
9301 * lyx_cb.[Ch]: out character
9302 * lyx_gui.C: out character
9303 * lyx_gui_misc.C: out character
9304 * bufferview_funcs.C: : out character,
9305 added toggleall as parameter in ToggleAndShow
9307 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9309 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9311 * text2.C (SetCurrentFont): Disable number property at boundary.
9313 2001-02-26 Juergen Vigna <jug@sad.it>
9315 * lyxfunc.C (getStatus): added a string argument override function so
9316 that this is correctly called from LyXFunc::Dispatch if it contains a
9317 do_not_use_argument which is used!
9318 (Dispatch): added check for "custom" export and call appropriate func.
9320 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9322 * lyxrc.C: Add language_command_local, language_use_babel and
9323 language_global_options.
9325 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9327 * buffer.C (makeLaTeXFile): Use language_use_babel and
9328 language_global_options.
9330 2001-02-23 Juergen Vigna <jug@sad.it>
9332 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9333 which works with LyXText and putted it inside BufferView. Here now we
9334 only call for that part the BufferView::Dispatch() function.
9336 * BufferView.C (Dispatch): added.
9338 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9339 functions which needs to use a LyXText over from LyXFunc.
9340 (MenuInsertLyXFile): added
9341 (getInsetByCode): added
9342 (moveCursorUpdate): added
9343 (static TEXT): added
9345 2001-02-22 Juergen Vigna <jug@sad.it>
9347 * BufferView_pimpl.C (update): call a status update to see if LyXText
9350 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9352 * vc-backend.C (revert): implement for CVS
9353 (getLog): implement for CVS
9355 2001-02-20 Juergen Vigna <jug@sad.it>
9357 * text2.C (ClearSelection): added BufferView param for inset_owner call
9359 * lyxfunc.C (TEXT): added this function and use it instead of
9360 directly owner->view()-text of getLyXText().
9362 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9364 * src/layout_forms.C: out preamble
9365 * src/layout_forms.h: out preamble
9366 * src/lyx_cb.C: out preamble
9367 * src/lyx_cb.h: out preamble
9368 * src/lyx_gui.C: out preamble
9369 * src/lyx_gui_misc.C: out preamble
9370 * src/lyxfunc.C: connect with guii preamble
9372 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9374 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9376 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9378 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9379 whether to run bibtex.
9381 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9383 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9385 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9387 * Makefile.am (lyx_SOURCES): removed bibforms.h
9391 * text.C (GetVisibleRow): make several local vars const
9393 * tabular.C: small cleanup.
9395 * lyxserver.C (callback): use compare instead of strncmp
9397 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9398 inlines to after class or to paragraph.C
9400 * lyxfont.h: remove friend operator!=
9402 * converter.h: move friend bool operator< to non friend and after
9405 * combox.h: small cleanup
9407 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9408 to inlines after class def.
9410 * buffer.C (pop_tag): use string operations instead of strcmp
9412 * bmtable.c: doxygen, small cleanup
9414 * LaTeX.h: remove friend operator==
9416 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9428 * BufferView_pimpl.C:
9429 * BufferView.[Ch]: remove cruft
9431 2001-02-14 Juergen Vigna <jug@sad.it>
9433 * lyxfunc.C: removed #if 0 unused code
9435 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9437 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9439 * text2.C (SetSelection): added a BufferView * parameter
9441 2001-02-13 Juergen Vigna <jug@sad.it>
9443 * lyxfunc.C (Dispatch): fixed protected blank problem.
9444 * BufferView2.C (protectedBlank): added LyxText * parameter.
9446 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9447 (AppendColumn): same as above for column_info.
9449 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9450 (moveCursorUpdate): use a LyXText param for support of InsetText.
9452 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9453 (tripleClick): ditto
9455 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9457 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9459 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9461 * text2.C (SetSelection): set correct update status if inset_owner
9464 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9466 * tabular.C: remove some commented code.
9468 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9470 * BufferView_pimpl.C: call hideSplash()
9472 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9475 * bibforms.h: remove
9478 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9479 add LFUN_CHILD_CREATE
9481 * counters.h: fix tiny typo
9486 * lyx.C: move splash to frontends/xforms/
9488 * lyx_gui_misc.C: move Include and Bibform to frontends
9490 * lyxvc.h: clarify comment
9492 * vspace.C: tiny housekeeping
9494 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9496 * text.C (PrepareToPrint): RTL Fix.
9498 * paragraph.C (GetUChar): New method.
9499 (String): Use GetUChar.
9501 * buffer.C (asciiParagraph): Use GetUChar.
9503 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9505 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9507 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9510 * buffer.C: rename to getLogName(), handle
9511 build log / latex log nicely
9513 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9516 * MenuBackend.h: remove support for reference menuitem type.
9518 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9520 * BufferView_pimpl.C: housekeeping
9521 * BufferView_pimpl.h:
9526 * minibuffer.h: move Timeout GUI-I
9528 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9530 * lyxrc.C (read): Update converters data-structures.
9532 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9534 * LaTeX.h (operator!=): add operator != for Aux_Info
9536 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9538 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9540 * LaTeXLog.C: deleted, useful code moved to Buffer
9543 * buffer.C: new function getLatexLogName()
9549 * lyxfunc.C: use frontends for LaTeX and VC logs
9551 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9553 * LaTeX.h: yet another std:: that Allan forgot.
9555 * Variables.C (set): renamed from isset(), because this clashes
9556 with some HP-UX macros (grr).
9558 2001-02-06 Allan Rae <rae@lyx.org>
9560 * LaTeX.h: Another bug fix. Missing std:: this time.
9562 2001-02-04 Allan Rae <rae@lyx.org>
9564 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9565 floats problem. I've left it commented out because it's not quite
9566 correct. It should also test that the current object is a table or
9567 figure inset. But I haven't gotten around to figuring out how to do
9568 that. I *think* it'll be something like: "table" == inset.type()
9570 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9573 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9575 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9576 all the citation/databases/styles in the auxilary file.
9577 (run): Rerun latex if there was a babel language error.
9579 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9581 * text.C (Backspace): Preserve the font when changing newline char
9583 (BreakParagraph): If the cursor is before a space, delete the space.
9585 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9587 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9589 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9590 new argument (code).
9591 (ChangeCitationsIfUnique): New method.
9593 * paragraph.C (GetPositionOfInset): Handle bibkey.
9595 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9597 * BufferView_pimpl.h: change type of Position::par_pos to
9598 LyXParagraph::size_type.
9600 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9602 * BufferView_pimpl.C (savePosition, restorePosition): Write
9603 messages to minibuffer.
9605 2001-01-28 José Matos <jamatos@fep.up.pt>
9607 * buffer.C (makeDocBookFile): adds support for document language.
9608 A silly restriction on the name of LatexCommand types where removed.
9609 Added support for CDATA sections, allows to chars unescaped, used
9610 among others in code, to avoid escape < and >.
9612 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9614 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9615 saved positions instrad of a stack. Furthermore, a position is
9616 stored using paragraph id/paragraph position.
9618 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9619 Remove LFUN_REF_BACK.
9621 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9623 * converter.C (dvipdfm_options): New method.
9625 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9627 * vspace.C (isValidLength): Fix for empty input string.
9629 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * LyXAction.C (init): change description of LFUN_FIGURE to
9634 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * LaTeX.C: add using directive
9638 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9640 * MenuBackend.C (expand): Fix the sorting of the formats.
9642 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9644 * lyx_main.C: tiny error message fix
9646 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9648 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9649 calling fl_initialize(). This fixes the problem with ',' as
9650 decimal separator in text files.
9652 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9654 * trans.C (process): Fix the keymap bug.
9656 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9658 * LaTeX.C (scanAuxFiles): New method. Provides support for
9659 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9660 (scanLogFile) Scan for "run BibTeX" messages.
9662 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9663 OT1 font encoding. Also, load the aecompl package if the ae
9666 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9668 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * texrow.C (increasePos): turn two error messages into debug
9673 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9675 * LaTeX.C (scanAux): Handle the \@input macro.
9676 (runBibTeX): Use scanAux().
9678 * language.C (latex_options_): New field.
9680 * LaTeXFeatures.C (getMacros): Add language macros.
9682 * buffer.C (makeLaTeXFile): Small fix.
9684 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9688 * text2.C: add a using directive.
9690 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9695 * lyxfunc.C: kill LyXBell.
9697 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9699 * text.C (IsBoundary): Remove the error message
9701 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9703 * lyxrc.C (setDefaults): Correct initialization value for
9706 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9708 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9711 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9714 * src/LyXAction.C: Added reference-next.
9716 * text.C (InsertChar): Use contains instead of strchr.
9718 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9720 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9722 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9723 alignment commands (when needed).
9725 * text.C (InsertChar): Add ':' to number separator chars.