1 2003-04-01 John Levon <levon@movementarian.org>
5 * Makefile.am: rename, remove defaults gunk
8 * MenuBackend.C: remove defaults gunk
11 * Languages.C: remove defaults gunk
14 * lyx_main.C: error out if files couldn't be found.
16 2003-04-02 John Levon <levon@movementarian.org>
18 * text2.C: make incDepth() use parlist
20 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * undo_funcs.C (firstUndoParagraph): adjust
24 * text3.C (gotoInset): adjust
25 (dispatch): adjust, and rewrite loop.
27 * text2.C (init): adjust, and rewrite loop.
28 (redoParagraphs): adjust
29 (updateInset): adjust, and rewrite loop.
30 (deleteEmptyParagraphMechanism): adjust
32 * tabular.C (LyXTabular): adjust
33 (SetMultiColumn): adjust
36 * lyxtext.[Ch] (ownerParagraph): delete function
37 (ownerParagraphs): new function returns a ParagraphList.
39 * BufferView.C (removeAutoInsets): adjust
40 (insertErrors): adjust
41 (setCursorFromRow): adjust
43 2003-04-01 Angus Leeming <leeming@lyx.org>
45 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
48 2003-04-02 John Levon <levon@movementarian.org>
54 * text_funcs.C: make transposeChars a free function
56 * lyxrow_funcs.C: remove wrong comment
58 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * rowpainter.C: adjust
66 * lyxrow_funcs. [Ch]: new files
68 * lyxrow.[Ch]: remove next and previous pointers
69 (next,previous): remove accessor functions
70 (isParEnd): move to lyxrow_funcs
71 (lastPos): move to lyxrow_funcs
72 (nextRowIsAllInset): move to lyxrow_funcs
73 (lastPrintablePos): move to lyxrow_funcs
74 (numberOfSeparators): move to lyxrow_funcs
75 (numberOfHfills): move to lyxrow_funcs
76 (numberOfLabelHfills): move to lyxrow_funcs
77 (hfillExpansion): move to lyxrow_funcs
81 * bufferview_funcs.C (toggleAndShow): adjust
83 * RowList.h: Remove class RowList from file leave just a
86 * RowList.C: delete file
88 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
91 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * text3.C (cursorPrevious): adjust
97 * text2.C (redoHeightOfParagraph): adjust
98 (redoDrawingOfParagraph): adjust
101 * text.C (breakParagraph): adjust
105 * rowpainter.C (RowPainter): adjust
106 (leftMargin): simplify and adjust
107 (most rowpainter functions): adjust.
109 * rowpainter.h: store the row as RowList::iterator not as Row*
111 * lyxcursor.C (row): taka RowList::iterator as arg
114 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
117 2003-04-01 Angus Leeming <leeming@lyx.org>
119 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
120 stuff like bool Bool.
122 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
124 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
127 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
132 * lyxtext.h (rows): drop one version and leve a const variant that
133 returns a RowList::iterator.
135 2003-03-31 Angus Leeming <leeming@lyx.org>
137 * text.C (fill): ensure that the signature is the same as that in the
140 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
142 * text2.C (redoParagraphs): adjust
143 (updateCounters): adjust
144 (checkParagraph): adjust
145 (getColumnNearX): adjust and reformat a bit.
147 * text.C (top_y): adjust
150 (prepareToPrint): adjust
152 (getRowNearY): adjust
154 * lyxtext.h: make rowlist_ mutable.
156 * RowList.h: add const_iterator
157 * RowList.C: adjust for RowList::const_iterator.
159 * text2.C (getCursorX): make it take a RowList::iterator as arg,
162 2003-03-31 John Levon <levon@movementarian.org>
165 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
167 * lyx_main.C: set default fonts from using lyx_gui funcs
169 * exporter.C: pdf_mode moved from lyxrc
172 * lyxfunc.C: changes from above
174 2003-03-31 John Levon <levon@movementarian.org>
176 * lyx_main.C: fix to the last fix
178 2003-03-31 John Levon <levon@movementarian.org>
180 * bufferlist.C: "Load original" -> "Load Original"
186 * format.C: more Alert cleanups
188 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
190 * text2.C (removeParagraph): make it take a RowList::iterator as
192 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
193 (postRowPaint): make it take a RowList::iterator as arg, adjust.
195 * text.C (anchor_row): make it take a RowList::iterator as arg,
197 (computeBidiTables): make it take a const reference to Row instead
198 of Row pointer, adjust.
199 (leftMargin): make it take a RowList::iterator as arg, adjust.
200 (rowBreakPoint): adjust
201 (breakAgainOneRow): make it take a RowList::iterator as arg,
203 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
205 * bufferview_funcs.C (toggleAndShow): adjust
207 2003-03-30 John Levon <levon@movementarian.org>
211 * boost-inst.C: moved to support
213 * several files: changes as a result
215 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * text2.C (LyXText): adjust.
219 (removeRow): make it take a RowList::iterator as arg, adjust.
220 (fullRebreak): adjust
221 (deleteEmptyParagraphMechanism): adjust
225 * text.C (top_y): adjust
226 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
227 (breakAgain): make it take a RowList::iterator as arg, adjust.
228 (breakParagraph): adjust
232 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
233 need_break_row, and refresh_row.
235 * text3.C (dispatch): adjust
237 * text2.C (checkParagraph): adjust
239 (setCursorFromCoordinates): adjust
241 * text.C (top_y): adjust
243 (getRow): make it return a RowList::iterator, adjust
244 (getRowNearY): make it return a RowList::iterator, adjust
246 * text2.C (init): adjust
247 (insertRow): remove function
248 (insertParagraph): adjust
249 (redoParagraphs): adjust
250 (fullRebreak): adjust
251 (updateCounters): adjust
253 * text.C (top_y): rewrite to use RowList iterators.
255 (setHeightOfRow): rewrite to sue RowList iterators.
256 (appendParagraph): adjust
258 (breakAgainOneRow): adjust
259 (breakParagraph): adjust
261 (getRowNearY): adjust, and remove commented code.
263 * lyxtext.h (firstRow): delete function
264 (lastRow): delete function
265 (rows): new function (const and non-const versions.)
266 (insertRow): delete function
268 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
270 2003-03-29 John Levon <levon@movementarian.org>
272 * BufferView_pimpl.C: always update scrollbar top
273 because pasting text when we're anchored could mean we
274 miss an update altogether
276 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
278 * text2.C (init): use rowlist_.end() and not 0.
279 (insertRow): change to take a RowList::iterator as arg, adjust
281 (insertParagraph): change to take a RowList::iterator as arg,
283 (redoParagraphs): remove some debug msgs.
285 * text.C (appendParagraph): change to take a RowList::iterator
286 arg, adjust for this.
287 (breakAgain): add an assert
288 (breakAgainOneRow): ditto
290 2003-03-29 John Levon <levon@movementarian.org>
292 * text2.C: do not clear selection after inc/decDepth
295 2003-03-29 John Levon <levon@movementarian.org>
298 * buffer.C: fix broken strerrors according to Lars
300 2003-03-29 John Levon <levon@movementarian.org>
302 * converters.C: more Alert cleanups
304 2003-03-29 John Levon <levon@movementarian.org>
306 * bufferview_funcs.C: remove pointless Alert
308 * buffer.C: fix confusing error message when
309 a template is chmoded 000
311 2003-03-29 John Levon <levon@movementarian.org>
315 * BufferView_pimpl.C: Alert fixes
319 * tabular-old.C: remove unused table compat reading
321 2003-03-29 John Levon <levon@movementarian.org>
326 * lyx_cb.C: more Alert cleanups
328 * lyxfunc.C: don't allow chktex if not latex document
330 2003-03-29 John Levon <levon@movementarian.org>
334 * buffer.C: warnings pushed down from support/,
337 2003-03-29 John Levon <levon@movementarian.org>
339 * lyxfunc.C: safety check for C-r (revert)
341 2003-03-29 John Levon <levon@movementarian.org>
344 * bufferlist.C: several UI fixes using Alert::prompt.
345 Fix the pointless looping quit code. Fix stupid revert
350 * lyx_cb.C: use Alert::prompt
352 * lyx_main.C: remove a silly question
354 * lyxfunc.C: remove a couple of silly questions,
357 2003-03-28 John Levon <levon@movementarian.org>
359 * text2.C: fix bug 974 (End on empty par)
361 2003-03-28 John Levon <levon@movementarian.org>
363 * BufferView_pimpl.C:
365 * lfuns.h: remove do-nothing math greek lfuns
367 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
369 * lyxgluelength.h (isValidGlueLength): add default arg on
370 parameter 2. Remove default arg from friend in class.
372 * lyxlength.h (isValidLength): add default arg on parameter 2.
373 Remove default arg from friend in class.
375 * text2.C (LyXText): adjust, initialize refresh_row.
379 (insertParagraph): adjst
380 (redoParagraphs): adjust
381 (fullRebreak): adjust
382 (updateCounters): adjust
383 (deleteEmptyParagraphMechanism): first attempt at fixing a
386 * text.C (top_y): adjust
387 (setHeightOfRow): adjust
389 (getRowNearY): adjust
391 * lyxtext.h: include RowList.h
392 (~LyXText): not needed anymore, deleted.
393 (firstRow): modify for RowList
394 (lastRow): new function
395 Delete firstrow and lastrow class variables, add a Rowlist
396 rowlist_ class variable.
398 * lyxrow.C (lastPos): use empty() and not !size() to check if a
401 * RowList.C (insert): fix case where it == begin().
403 2003-03-26 Angus Leeming <leeming@lyx.org>
405 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
406 the thesaurus dialog.
408 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
410 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
412 * RowList.[Ch]: new files
414 * ParagraphList.C (erase): handle the case where it == begin
417 2003-03-25 John Levon <levon@movementarian.org>
421 * aspell.C: add new aspell support
424 * lyxrc.C: Make use_pspell be use_spell_lib. Always
427 2003-03-25 Angus Leeming <leeming@lyx.org>
430 * LyXAction.C (init): new LFUN_INSET_INSERT.
432 * BufferView_pimpl.C (dispatch): split out part of the
433 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
435 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
438 2003-03-25 Angus Leeming <leeming@lyx.org>
440 * lyxfunc.C (dispatch): changes to the Dialogs interface.
442 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
445 * text3.C: remove useless row->height(0)
447 2003-03-25 John Levon <levon@movementarian.org>
451 * text3.C: rename the refreshing stuff to better names
453 2003-03-24 John Levon <levon@movementarian.org>
455 * BufferView_pimpl.h:
456 * BufferView_pimpl.C: update layout choice on a mouse
459 2003-03-23 John Levon <levon@movementarian.org>
461 * Makefile.am: fix commandtags.h reference
463 2003-03-22 John Levon <levon@movementarian.org>
465 * BufferView_pimpl.C:
470 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
472 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
475 * text.C: take the rtl methods out of line
477 2003-03-21 André Pönitz <poenitz@gmx.net>
479 * metricsinfo.[Ch]: new files containing structures to be passed around
480 during the two-phase-drawing...
482 2003-03-21 André Pönitz <poenitz@gmx.net>
484 * lyxtextclass.C: read 'environment' tag.
486 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
488 * text2.C (removeRow): fix bug 964
490 2003-03-20 John Levon <levon@movementarian.org>
494 * text2.C: paint cleanups. Inset::update() dropped font
497 2003-03-19 John Levon <levon@movementarian.org>
499 * lyxfunc.C: only fitcursor/markDirty if available()
501 2003-03-19 John Levon <levon@movementarian.org>
503 * commandtags.h: rename to ...
505 * lfuns.h: ... this, and renumber / cleanup
507 2003-03-19 John Levon <levon@movementarian.org>
509 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
510 fit the cursor after an lfun
514 * BufferView_pimpl.h:
515 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
517 * LyXAction.C: layout-character should have ReadOnly
519 * ParagraphParameters.C:
521 * bufferview_funcs.C:
528 * undo_funcs.C: changes from above
530 2003-03-18 John Levon <levon@movementarian.org>
532 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
533 remove it from update()
535 * lyxfunc.C: update layout choice after an lfun
537 * text3.C: remove extra updateLayoutChoice()s
539 2003-03-18 John Levon <levon@movementarian.org>
541 * text.C: top_y change means full repaint, fix
542 a drawing bug with cursor movement
544 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
548 * text2.C: anchor row on setCursor
550 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
552 * lyxtext.h: remove almost all mutable keywords
555 * text3.C: remove const keywords accordingly
557 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
559 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
561 (TeXEnvironment): ditto
564 2003-03-17 John Levon <levon@movementarian.org>
566 * text.C (rowBreakPoint): remove attempt to fix displayed
567 math insets inside a manual label
569 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
571 * lyxtext.h: remove BufferView* as first arg from almost all class
573 * other files: adjust.
575 2003-03-17 John Levon <levon@movementarian.org>
579 * text2.C: more paint cleanups
581 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
584 * rowpainter.C: remove "smart" background painting code
586 2003-03-16 John Levon <levon@movementarian.org>
591 * text3.C: add helper functions for setting refresh_row/y
593 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
595 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
596 newline inset which *can* get inserted in the pass_thru layouts.
597 This is primarily for literate documents.
599 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
601 * buffer.C: increment LYX_FORMAT to 223
603 2003-03-14 André Pönitz <poenitz@gmx.net>
605 * textclass.h: prepare for environment handling, ws changes
606 * lyxlayout.C: read latexheader and latexfooter tags
608 2003-03-14 John Levon <levon@movementarian.org>
610 * text2.C: rewrite ::status() a bit
612 2003-03-13 John Levon <levon@movementarian.org>
614 * lyxtext.h: add some docs
616 2003-03-13 John Levon <levon@movementarian.org>
621 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
623 2003-03-13 John Levon <levon@movementarian.org>
625 * text3.C: fix appendix redrawing
627 2003-03-13 John Levon <levon@movementarian.org>
629 * text.C (setHeightOfRow):
631 * rowpainter.C: make appendix mark have the text
632 "Appendix" so the user knows what it is
635 * LColor.C: s/appendixline/appendix/ from above
637 2003-03-13 John Levon <levon@movementarian.org>
639 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
641 * text.C: fix a getChar(pos) bug properly
643 2003-03-13 Angus Leeming <leeming@lyx.org>
646 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
647 Probably only temporary. Let's see how things pan out.
649 * BufferView.C (unlockInset):
650 * BufferView_pimpl.C (fitCursor):
651 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
653 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
654 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
656 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
657 new functions that convert ParagraphParameters to and from a string.
659 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
660 BufferView::Pimpl's dispatch.
661 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
663 2003-03-13 André Pönitz <poenitz@gmx.net>
667 * factory.C: make it aware of InsetEnv
669 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * text2.C (setCursor): never ask for one past last
672 (setCursor): add some debugging messages.
674 * text.C (singleWidth): never ask for one past last
678 (rowBreakPoint): ditto
679 (setHeightOfRow): ditto
680 (prepareToPrint): ditto
682 * rowpainter.C (paintBackground): never ask for one past last
683 (paintText): never ask for one past last
685 * paragraph_pimpl.C (getChar): make the assert stricter, never
686 allow the one past last pos to be taken
688 * paragraph.C (getChar): ws changes only
690 * lyxrow.C (nextRowIsAllInset): never ask for one past last
691 (numberOfSeparators): ditto
692 (numberOfHfills): ditto
694 2003-03-12 John Levon <levon@movementarian.org>
700 * paragraph_funcs.C: fix per-buffer authorlists
702 2003-03-12 John Levon <levon@movementarian.org>
704 * text.C: fix newline in right address
706 2003-03-12 Angus Leeming <leeming@lyx.org>
708 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
709 duplicate those in LyXFunc::dispatch.
714 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
715 Add LFUN_FONTFREE_UPDATE.
717 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
718 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
720 * bufferview_func.[Ch]: several new functions to facilliate
721 transfer of data to and from the character dialog.
723 2003-03-12 John Levon <levon@movementarian.org>
733 * text3.C: remove META_NEWLINE in favour of an inset
736 * rowpainter.C: remove paintNewline (done by inset)
738 2003-03-12 John Levon <levon@movementarian.org>
740 * paragraph_pimpl.C: complain about bad getChar()s
743 2003-03-12 John Levon <levon@movementarian.org>
746 * buffer.C: move paragraph read into a separate function,
747 a little renaming to reflect that.
750 * bufferparams.C: remove the author_ids map, not necessary now
753 * factory.C: moved Buffer::readInset to here
756 * paragraph_funcs.C: readParagraph free function moved from
759 * tabular.C: name change
761 2003-03-12 John Levon <levon@movementarian.org>
764 * ParagraphParameters.C: move par params input to
767 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
768 behave like a normal read from the stream wrt reading
771 2003-03-12 John Levon <levon@movementarian.org>
774 * ParagraphParameters.h:
775 * ParagraphParameters.C: move output code to a
778 2003-03-12 John Levon <levon@movementarian.org>
780 * BufferView.C (insertLyXFile):
783 * tabular.C: use a parlist iterator for creating the
786 2003-03-12 John Levon <levon@movementarian.org>
788 * buffer.C: make current_change static local not
791 2003-03-12 John Levon <levon@movementarian.org>
793 * buffer.C: fix insertStringAsLines for change tracking
795 2003-03-12 John Levon <levon@movementarian.org>
802 * bufferparams.C: move author list into params. Rename some
803 functions. Move the header reading into a separate token
804 loop. Move the header token reading into BufferParams.
806 2003-03-12 John Levon <levon@movementarian.org>
808 * changes.C: put debug inside lyxerr.debugging() checks
810 2003-03-11 André Pönitz <poenitz@gmx.net>
812 * factory.C: make it aware of InsetHFill
814 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
816 * buffer.C (latexParagraphs): move function from here...
817 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
820 2003-03-10 Angus Leeming <leeming@lyx.org>
822 * LyXAction.C (init): fix bug in poplating array with multiple entries
823 with the same LFUN (spotted by JMarc).
825 2003-03-10 John Levon <levon@movementarian.org>
828 * text2.C: move getColumnNearX() near its
831 2003-03-10 John Levon <levon@movementarian.org>
833 * text.C: fix break before a minipage
835 2003-03-10 John Levon <levon@movementarian.org>
837 * text.C: fix the last commit
839 2003-03-09 John Levon <levon@movementarian.org>
843 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
844 bug 365 (don't break before insets unless needed). Don't
845 return a value > last under any circumstances.
847 2003-03-09 Angus Leeming <leeming@lyx.org>
849 * BufferView_pimpl.C (trackChanges, dispatch): call
850 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
852 2003-03-09 Angus Leeming <leeming@lyx.org>
854 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
855 than Dialogs::showAboutlyx().
857 2003-03-09 Angus Leeming <leeming@lyx.org>
859 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
860 than Dialogs::showTabularCreate().
862 2003-03-09 John Levon <levon@movementarian.org>
866 * text2.C: 3rd arg to nextBreakPoint was always the same.
869 2003-03-08 John Levon <levon@movementarian.org>
876 * text2.C: Remove the "main" bit from the "main body"
879 2003-03-08 John Levon <levon@movementarian.org>
881 * text.C (leftMargin): The left margin of an empty
882 manual label paragraph should not include the label width
885 * text.C (prepareToPrint): don't attempt to measure hfills
886 for empty manual label paragraphs - the answer should be 0
888 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * CutAndPaste.C: remove commented code and reindent.
892 2003-03-08 John Levon <levon@movementarian.org>
895 * lyxfunc.C: move reloadBuffer()
898 * BufferView.C: to here
900 * lyxvc.C: add comment
903 * vc-backend.C: call bv->reload() to avoid
904 getStatus() check on MENURELOAD
906 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
908 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
909 to an old format .dep file.
911 2003-03-07 Angus Leeming <leeming@lyx.org>
913 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
914 when the LFUN_MOUSE_RELEASE should have been handled by
915 inset->localDispatch.
917 2003-03-07 Angus Leeming <leeming@lyx.org>
919 * BufferView_pimpl.C (dispatch):
920 * LyXAction.C (init):
921 * ToolbarDefaults.C (init):
923 * lyxfunc.C (getStatus):
924 remove LFUN_INSET_GRAPHICS.
926 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
928 2003-03-07 Angus Leeming <leeming@lyx.org>
931 * LyXAction.C (init):
932 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
934 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
937 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
939 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
940 localDispatch method LFUN_INSET_DIALOG_UPDATE.
942 2003-03-07 Angus Leeming <leeming@lyx.org>
944 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
947 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * ParagraphList.C (front): new function
952 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
954 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
955 and top_row_offset_. removed var first_y.
957 * text2.C (LyXText, removeRow):
959 * BufferView_pimpl.C:
960 use these methods instead of using first_y
962 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * text2.C (pasteSelection): adjust for checkPastePossible
966 * CutAndPaste.C: remove Paragraph * buf and replace with
967 ParagraphList paragraphs.
968 (DeleteBuffer): delete
969 (cutSelection): change the tc type to textclass_type
970 (copySelection): change the tc type to textclass_type
971 (copySelection): adjust for ParagraphList
972 (pasteSelection): change the tc type to textclass_type
973 (pasteSelection): adjust for Paragraphlist
974 (nrOfParagraphs): simplify for ParagraphList
975 (checkPastePossible): simplify for ParagraphList
976 (checkPastePossible): remove unused arg
978 * ParagraphList.C (insert): handle the case where there are no
981 * CutAndPaste.h: make CutAndPaste a namespace.
983 * text3.C (dispatch): adjust
985 * text.C (breakParagraph): add a ParagraphList as arg
987 * paragraph_funcs.C (breakParagraph): change to take a
988 BufferParams and a ParagraphList as args.
989 (breakParagraphConservative): ditto
990 (mergeParagraph): ditto
991 (TeXDeeper): add a ParagraphList arg
992 (TeXEnvironment): ditto
995 * buffer.C (readLyXformat2): adjust
996 (insertStringAsLines): adjust
997 (latexParagraphs): adjust
999 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1000 (cutSelection): adjust
1001 (pasteSelection): adjust
1003 * BufferView_pimpl.C (insertInset): adjust
1005 2003-03-05 Angus Leeming <leeming@lyx.org>
1008 * LyXAction.C (init):
1009 * BufferView_pimpl.C (dispatch):
1010 * lyxfunc.C (getStatus):
1011 remove LFUN_CHILD_INSERT.
1013 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1015 2003-03-05 Angus Leeming <leeming@lyx.org>
1018 * LyXAction.C (init):
1019 * src/factory.C (createInset):
1020 * lyxfunc.C (getStatus):
1021 * text3.C (dispatch):
1022 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1024 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1026 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1028 * ParagraphList.C (insert): handle insert right before end()
1029 (erase): fix cases where it can be first or last paragraph.
1031 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1034 Paragraph::next and Paragraph::previous
1037 * text.C (breakParagraph): adjust
1039 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1040 BufferParams& as arg.
1041 (breakParagraph): use ParagraphList::insert
1042 (breakParagraphConservative): take a Buffer* instead of a
1043 BufferParams& as arg.
1044 (breakParagraphConservative): use ParagraphList::insert.
1046 * buffer.C (insertStringAsLines): un-const it
1047 (insertStringAsLines): adjust
1049 * ParagraphList.C (insert): new function
1051 * CutAndPaste.C (pasteSelection): adjust
1053 * text.C (backspace): adjust
1055 * tabular.C (SetMultiColumn): adjust
1057 * CutAndPaste.C (cutSelection): adjust
1058 (pasteSelection): adjust
1060 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1061 Buffer const * as arg
1063 * ParagraphList.C (erase): new function
1064 * paragraph_funcs.C (mergeParagraph): use it
1065 (mergeParagraph): make it take a Buffer* instead of a
1066 BufferParams* as arg
1068 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1070 (breakParagraphConservative): ditto
1072 * paragraph.h: remove the breakParagraph friend
1074 * paragraph.C (eraseIntern): new function
1075 (setChange): new function
1077 * paragraph_funcs.C (mergeParagraph): make it take a
1078 ParagraphList::iterator instead of a Paragraph *, adjust
1081 * paragraph.h: move an #endif so that the change tracking stuff
1082 also works in the NO_NEXT case.
1084 2003-03-04 Angus Leeming <leeming@lyx.org>
1087 * LyXAction.C: new LFUN_INSET_MODIFY.
1089 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1090 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1092 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * several files: ws changes only
1096 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1097 (TeXEnvironment): ditto
1100 * buffer.C (makeLaTeXFile): adjust
1101 (latexParagraphs): make it take ParagraphList::iterator as args
1103 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * buffer.C (latexParagraphs): adjust
1107 * paragraph.C (TeXOnePar): move function...
1108 (optArgInset): move function...
1109 (TeXEnvironment): move function...
1110 * paragraph_pimpl.C (TeXDeeper): move function...
1111 * paragraph_funcs.C: ...here
1113 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1115 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * buffer.C (readInset): remove compability code for old Figure and
1120 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1122 * buffer.C: ws changes
1125 * BufferView_pimpl.C: ditto
1128 * bufferlist.h: ditto
1132 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1134 * converter.[Ch]: split into itself +
1137 * Makefile.am: += graph.[Ch] + format.[Ch]
1144 * lyxrc.C: added #include "format.h"
1146 2003-02-27 Angus Leeming <leeming@lyx.org>
1148 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1151 * factory.C (createInset): add "label" to the factory.
1153 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1154 string and do no more.
1156 2003-02-27 Angus Leeming <leeming@lyx.org>
1159 * LyXAction.C (init):
1160 * factory.C (createInset):
1161 * BufferView_pimpl.C (dispatch):
1162 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1164 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1166 * lyxfunc.C (dispatch):
1167 * text3.C (dispatch): pass name to params2string.
1169 2003-02-26 Angus Leeming <leeming@lyx.org>
1171 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1173 Rearrange the ~includes. Strip out the unnecessary ones.
1175 * factory.C (createInset): reformat.
1176 create new insets for the various LFUN_XYZ_APPLY lfuns.
1178 2003-02-26 John Levon <levon@movementarian.org>
1181 * lyxrow.C: add isParStart,isParEnd helpers
1183 * paragraph.h: make isInserted/DeletedText take refs
1185 * paragraph_funcs.h:
1186 * paragraph_funcs.C: remove #if 0'd code
1191 * text.C: use lyxrow helpers above.
1192 Move draw and paint routines to RowPainter.
1193 Make several methods use refs not pointers.
1194 Make backgroundColor() const.
1195 Add markChangeInDraw(), isInInset().
1196 Merge changeRegionCase into changeCase.
1197 Make workWidth() shouldn't-happen code into an Assert.
1200 * rowpainter.C: new class for painting a row.
1203 * vspace.C: make inPixels take a ref
1205 2003-02-26 Angus Leeming <leeming@lyx.org>
1207 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1210 2003-02-25 John Levon <levon@movementarian.org>
1212 * ispell.C: give the forked command a more accurate name
1214 2003-02-22 John Levon <levon@movementarian.org>
1217 * toc.C: make TocItem store an id not a Paragraph *
1220 2003-02-21 Angus Leeming <leeming@lyx.org>
1222 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1223 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1224 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1225 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1226 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1227 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1229 * BufferView_pimpl.C (dispatch):
1230 * LyXAction.C (init):
1231 * factory.C (createInset):
1232 * lyxfunc.C (getStatus, dispatch):
1233 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1235 2003-02-21 Angus Leeming <leeming@lyx.org>
1237 * BufferView_pimpl.C (MenuInsertLyXFile):
1238 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1239 * lyxfunc.C (menuNew, open, doImport):
1240 no longer pass a LyXView & to fileDlg.
1242 2003-02-21 Angus Leeming <leeming@lyx.org>
1244 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1245 * LyXAction.C: change, BIBKEY to BIBITEM.
1246 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1247 Change InsetBibKey to InsetBibitem.
1248 Change BIBKEY_CODE to BIBITEM_CODE.
1249 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1250 * factory.C: replace insetbib.h with insetbibitem.h.
1251 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1252 * paragraph.C: replace insetbib.h with insetbibitem.h.
1253 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1254 Change bibkey() to bibitem().
1255 * text.C: remove insetbib.h.
1256 * text2.C: replace insetbib.h with insetbibitem.h.
1257 change bibkey() to bibitem().
1258 * text3.C: remove insetbib.h.
1259 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1261 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1263 * lyxrc.C (output): enclose user email in quotes (in case there are
1266 2003-02-18 John Levon <levon@movementarian.org>
1268 * buffer.h: add std::
1270 2003-02-17 John Levon <levon@movementarian.org>
1276 * pspell.C: reworking. Especially in ispell, a large
1277 number of clean ups and bug fixes.
1279 * lyxfunc.C: fix revert to behave sensibly
1281 2003-02-17 André Pönitz <poenitz@gmx.net>
1284 * commandtags.h: new LFUN_INSERT_BIBKEY
1294 * paragraph_func.C: remove special bibkey handling
1296 2003-02-17 John Levon <levon@movementarian.org>
1298 * text.C (Delete): fix case where delete at the end of
1299 the very first paragraph would not merge the pars
1301 2003-02-17 John Levon <levon@movementarian.org>
1303 * lyxrow.C: fix lastPrintablePos()
1305 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1307 * bufferparams.C (writeLaTeX): add a std:here
1309 * buffer.C: and remove a using directive there
1311 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1313 * buffer.C (makeLaTeXFile): move the code that generates the
1316 * bufferparams.C (writeLaTeX): ... in this new method
1318 * LaTeXFeatures.C (getEncodingSet): make const
1319 (getLanguages): make const
1321 * MenuBackend.C (binding): returns the binding associated to this
1323 (add): sets the status of each item by calling getStatus. Adds
1325 (read): add support for OptSubMenu
1326 (expand): remove extra separator at the end of expanded menu
1328 2003-02-15 John Levon <levon@movementarian.org>
1331 * BufferView_pimpl.C:
1333 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1334 inset code that had no actual effect. Remove unneeded status
1337 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1339 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1342 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1344 * text.C (drawLengthMarker): also draw an arrow marker for
1345 symbolic lengths (medskip...)
1347 2003-02-14 John Levon <levon@movementarian.org>
1350 * tabular.C: better method names
1352 2003-02-14 John Levon <levon@movementarian.org>
1354 * BufferView_pimpl.C:
1359 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1360 it's a more accurate name. Remove some pointless uses.
1362 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1364 * text2.C (LyXText): change order of initilizers to shut off
1367 2003-02-14 John Levon <levon@movementarian.org>
1369 * buffer.C: use ParIterator for getParFromID()
1373 * paragraph_pimpl.h:
1374 * paragraph_pimpl.C: remove unused getParFromID()
1376 2003-02-14 John Levon <levon@movementarian.org>
1378 * buffer.C: remove some very old #if 0'd parse code
1380 2003-02-13 John Levon <levon@movementarian.org>
1384 * text2.C: move hfillExpansion(), numberOfSeparators(),
1385 rowLast(), rowLastPrintable(), numberofHfills(),
1386 numberOfLabelHfills() ...
1389 * lyxrow.C: ... to member functions here.
1394 * text.C: remove LyXText::beginningOfMainBody(), and call
1395 p->beginningOfMainBody() directly. Move the check for
1396 LABEL_MANUAL into the latter.
1403 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1409 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1410 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1412 2003-02-13 John Levon <levon@movementarian.org>
1414 * CutAndPaste.C: remove debug
1416 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1418 * paragraph.C (asString): remove two unused variables
1420 * lyxtextclass.C (readTitleType):
1422 (LyXTextClass): handle new members titletype_ and titlename_
1424 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1426 2003-02-09 John Levon <levon@movementarian.org>
1429 * buffer.C: replace hand-coded list with a map for the dep clean
1431 2003-02-08 John Levon <levon@movementarian.org>
1433 * LaTeX.C: consolidate code into showRunMessage() helper
1435 2003-02-08 John Levon <levon@movementarian.org>
1440 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1441 and pass the size in explicitly
1443 * BufferView_pimpl.h:
1444 * BufferView_pimpl.C:
1446 * BufferView.C: add getCurrentChange()
1448 * BufferView_pimpl.h:
1449 * BufferView_pimpl.C: handle change lfuns
1451 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1452 for changes. Mark pasted paragraphs as new.
1454 * support/lyxtime.h:
1455 * support/lyxtime.C:
1456 * DepTable.C: abstract time_t as lyx::time_type
1459 * LColor.C: add colours for new text, deleted text, changebars
1461 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1462 package use "usenames" option.
1466 * LyXAction.C: add change lfuns
1470 * author.C: author handling
1473 * buffer.C: add a per-buffer author list, with first entry as
1474 current author. Handle new .lyx tokens for change tracking. Output
1475 author list to .lyx file. Output dvipost stuff to .tex preamble.
1476 Bump lyx format to 222.
1479 * bufferlist.C: add setCurrentAuthor() to reset current author details
1483 * bufferparams.C: add param for tracking
1485 * bufferview_funcs.C: output change info in minibuffer
1489 * changes.C: add change-tracking structure
1492 * debug.C: add CHANGES debug flag
1495 * lyxfind.C: add code for finding the next change piece
1498 * lyxrc.C: add user_name and user_email
1501 * lyxrow.C: add a metric for the top of the text line
1504 * text.C: implement accept/rejectChange()
1507 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1508 Strike through deleted text.
1512 * paragraph_pimpl.h:
1513 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1514 to the insert functions. Rework erase to mark text as deleted, adding
1515 an eraseIntern() and a range-based erase(). Implement
1516 per-paragraph change lookup and accept/reject.
1518 * paragraph_funcs.C: Fixup paste for change tracking.
1520 * tabular.C: mark added row/columns as new.
1522 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1523 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1525 * text2.C: leave cursor at end of selection after a cut.
1527 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1529 * text.C (getLengthMarkerHeight):
1530 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1531 visible on screen too.
1533 2003-02-07 John Levon <levon@movementarian.org>
1535 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1537 2003-02-05 Angus Leeming <leeming@lyx.org>
1539 * lyxserver.C (read_ready): revert my patch of 11 September last year
1540 as it sends PC cpu through the roof. Presumably this means that
1541 the lyxserver will no longer run on an Alpha...
1543 2003-01-30 Angus Leeming <leeming@lyx.org>
1545 * factory.C (createInset): create an InsetCommandParam of type "index"
1546 and use it to 'do the right thing'.
1548 * text2.C (getStringToIndex): ensure that cursor position is always
1549 reset to the reset_cursor position.
1551 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1553 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1556 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1560 * lyxfunc.C: Output messages with identical spelling, punctuation,
1563 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1565 * MenuBackend.C (expandFormats): List only viewable export formats
1568 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1571 * lyxfunc.C (getStatus): Make sure that formats other than
1572 "fax" can also be disabled
1574 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1576 * text3.C (dispatch): put the lfuns that insert insets in 3
1577 groups, and call doInsertInset with appropriate arguments.
1578 (doInsertInset): new function, that creates an inset and inserts
1579 it according to some boolean parameters.
1581 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * buffer.C (readFile): remember to pass on 'par' when calling
1584 readFile recursively.
1586 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1588 * MenuBackend.C (expandFormats): add "..." to import formats.
1590 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1592 * paragraph.C (asString): Remove XForms RTL hacks.
1594 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1595 * buffer.C: fix typo
1597 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1599 * Makefile.am (LIBS): delete var
1600 (lyx_LDADD): add @LIBS@ here instead.
1602 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1604 * Clarify the meaning of "wheel mouse jump"
1606 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1608 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1611 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1613 * importer.C (Loaders): do not preallocate 3 elements in the
1614 vector, since one ends up with 6 elements otherwise
1616 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1618 * DepTable.C (write): write the file name as last element of the
1619 .dep file (because it may contain spaces)
1620 (read): read info in the right order
1622 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1624 * paragraph_pimpl.C (simpleTeXBlanks):
1625 (simpleTeXSpecialChars):
1626 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1628 * tabular.C (latex): add some missing case statements. Reindent.
1630 * MenuBackend.C (expandToc): remove unused variable.
1632 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1641 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1644 2003-01-05 John Levon <levon@movementarian.org>
1647 * BufferView.C: add getEncoding()
1650 * kbsequence.C: do not store last keypress
1653 * lyxfunc.C: store last keypress here instead. Pass encoding
1656 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1658 * lyx_main.C (init): remove annoying error message when following
1659 symbolic links (bug #780)
1661 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1663 * text.C (insertChar):
1664 * lyxrc.C (getDescription): remove extra spaces
1666 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1668 * lyxrc.C (getDescription): remove extra spaces
1670 2002-12-20 John Levon <levon@movementarian.org>
1672 * text3.C: hack fix for page up/down across tall rows
1674 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1676 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1679 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1681 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1682 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1683 thesaurus is not compiled in
1685 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1687 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1689 2002-12-16 Angus Leeming <leeming@lyx.org>
1692 * lyx_main.C (init): remove override_x_deadkeys stuff.
1694 2002-12-12 John Levon <levon@movementarian.org>
1696 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1697 insert. Only remove shift modifier under strict
1700 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1702 * MenuBackend.C (expandToc): fix crash.
1704 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * MenuBackend.C (expandToc): gettext on float names.
1708 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1710 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1711 implement bool empty() [bug 490]
1713 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1715 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1717 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * several files: ws changes
1721 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * text2.C (setCounter): clean up a bit, use boost.format.
1724 (updateCounters): initialize par upon declaration.
1726 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1727 if the layout exists. We do not just store the layout any more.
1728 (SwitchLayoutsBetweenClasses): use boost.format
1730 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1732 * converter.C (convert): if from and to files are the same, use a
1733 temporary files as intermediary
1735 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1738 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1740 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1742 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1744 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * tabular.C (asciiPrintCell): use string(size, char) instead of
1749 * sgml.C (openTag): fix order of arguments to string constructor
1752 * lyxfunc.C (dispatch): use boost.format
1754 * lots of files: change "c" -> 'c'
1756 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1758 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1760 2002-11-25 Angus Leeming <leeming@lyx.org>
1762 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1764 * lyx_main.C (init): compile fix.
1766 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * lyx_cb.C (start): boost.formatify
1769 do not include <iostream>
1771 * lengthcommon.C: ws only
1773 * boost-inst.C,BoostFormat.h: add more explict instantations
1775 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * lots of files: handle USE_BOOST_FORMAT
1779 2002-11-21 John Levon <levon@movementarian.org>
1781 * pspell.C: fix compile
1783 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1785 * lyxfunc.C (dispatch): use boost::format
1789 * lyxfont.C (stateText): use boost::format
1791 * lyx_main.C (LyX): use boost::format
1793 (queryUserLyXDir): ditto
1796 (typedef boost::function): use the recommened syntax.
1798 * importer.C (Import): use boost::format
1800 * debug.C (showLevel): use boost::format
1802 * converter.C (view): use boost::format
1807 * bufferview_funcs.C (currentState): use boost::format
1809 * bufferlist.C (emergencyWrite): use boost::format
1811 * buffer.C (readLyXformat2): use boost::format
1812 (parseSingleLyXformat2Token): ditto
1814 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1816 * LaTeX.C (run): use boost::format
1818 * Chktex.C (scanLogFile): use boost::format
1820 * BufferView_pimpl.C (savePosition): use boost::format
1821 (restorePosition): ditto
1822 (MenuInsertLyXFile): ditto
1824 * BoostFormat.h: help file for explicit instation.
1826 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1828 * tabular.C (latex): Support for block alignment in fixed width
1831 2002-11-17 John Levon <levon@movementarian.org>
1833 * BufferView_pimpl.C:
1835 * lyxfunc.C: split filedialog into open/save
1837 2002-11-08 Juergen Vigna <jug@sad.it>
1839 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1840 by my last patch (hopefully).
1842 2002-11-08 John Levon <levon@movementarian.org>
1851 * toc.C: ParConstIterator, and use it (from Lars)
1853 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1855 * lyxtextclass.[Ch]: revise and add doxygen comments
1857 2002-11-07 John Levon <levon@movementarian.org>
1859 * text.C: fix progress value for spellchecker
1861 * toc.C: fix navigate menu for insetwrap inside minipage
1863 * paragraph_funcs.C: added FIXME for suspect code
1865 2002-11-07 John Levon <levon@movementarian.org>
1867 * BufferView_pimpl.C: fix redrawing of insets
1870 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1872 * text2.C (updateCounters): fix bug 668
1874 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1876 * text3.C (dispatch): Do not make the buffer dirty when moving the
1879 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * vc-backend.C: STRCONV
1884 * text2.C (setCounter): STRCONV
1886 * paragraph.C (asString): STRCONV
1888 * lyxlength.C (asString): STRCONV
1889 (asLatexString): ditto
1891 * lyxgluelength.C (asString): STRCONV
1892 (asLatexString): ditto
1894 * lyxfunc.C (dispatch): STRCONV
1897 * lyxfont.C (stateText): STRCONV
1899 * importer.C (Import): STRCONV
1901 * counters.C (labelItem): STRCONV
1902 (numberLabel): ditto
1903 (numberLabel): remove unused ostringstream o
1908 * bufferview_funcs.C (currentState): STRCONV
1910 * buffer.C (readFile): STRCONV
1911 (asciiParagraph): ditto
1912 (makeLaTeXFile): ditto
1914 * Spacing.C (writeEnvirBegin): STRCONV
1916 * LaTeXFeatures.C (getLanguages): STRCONV
1917 (getPackages): ditto
1919 (getBabelOptions): ditto
1920 (getTClassPreamble): ditto
1921 (getLyXSGMLEntities): ditto
1922 (getIncludedFiles): ditto
1926 (scanAuxFile): ditto
1929 * LString.h: add the STRCONV macros
1931 * BufferView_pimpl.C (savePosition): STRCONV
1932 (restorePosition): ditto
1933 (MenuInsertLyXFile): ditto
1935 * vc-backend.C (scanMaster): change from submatch[...] to
1938 * funcrequest.C: include config.h
1940 * factory.C: include config.h
1942 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1944 * box.C: include config.h
1946 * LaTeX.C (scanAuxFile): change from submatch[...] to
1950 2002-10-25 Angus Leeming <leeming@lyx.org>
1952 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1954 * ispell.[Ch] (setError): new method.
1955 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1956 Use setError() insetead of goto END.
1958 * lyx_cb.C (AutoSave): move out child process into new class
1961 2002-10-30 John Levon <levon@movementarian.org>
1963 * text3.C: make start appendix undoable
1965 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1967 * lyxlength.C (inPixels): Fix returned value.
1969 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1972 2002-10-24 Angus Leeming <leeming@lyx.org>
1974 * lyxgluelength.h: no need to forward declare BufferParams
1975 or BufferView, so don't.
1977 2002-10-21 John Levon <levon@movementarian.org>
1979 * BufferView.C: menuUndo ->undo, redo
1981 * BufferView.h: document, remove dead, make some methods private
1983 * paragraph_funcs.h:
1984 * paragraph_funcs.C:
1985 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1990 * sgml.C: move sgml open/close tag into sgml.C
1992 * bufferview_funcs.h: unused prototype
1995 * lyxfunc.C: remove unused
1998 * text.C: remove unused
2000 2002-10-21 John Levon <levon@movementarian.org>
2004 * BufferView_pimpl.h:
2005 * BufferView_pimpl.C: fix mouse wheel handling based on
2006 patch from Darren Freeman
2008 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2010 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2012 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2014 * lyxlength.C (inPixels): Fix hanfling of negative length.
2015 Fix LyXLength::MU case.
2017 2002-10-16 John Levon <levon@movementarian.org>
2019 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2021 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2023 * converter.C (view): add support for $$i (file name) and $$p
2024 (file path) for the viewer command. If $$i is not specified, then
2025 it is appended to the command (for compatibility with old syntax)
2027 2002-10-14 Juergen Vigna <jug@sad.it>
2029 * undo_funcs.C (textHandleUndo): alter the order in which the
2030 new undopar is added to the LyXText, as we have to set first
2031 the right prev/next and then add it as otherwise the rebuild of
2032 LyXText is not correct. Also reset the cursor to the right paragraph,
2033 with this IMO we could remove the hack in "redoParagraphs()".
2035 2002-10-09 Angus Leeming <leeming@lyx.org>
2037 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2038 to turn off an optimisation if a new inset is to be inserted.
2040 2002-10-11 André Pönitz <poenitz@gmx.net>
2042 * lyxtext.h: make some functions public to allow access
2043 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2045 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2047 * text3.C (dispatch): when changing layout, avoid an infinite loop
2050 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2052 * lyxrc.C (read): treat a viewer or converter command of "none" as
2055 * MenuBackend.C (expandFormats): for an update, also allow the
2056 formats that are not viewable
2058 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2059 script if it is newer than the lyxrc.defaults in user directory
2061 2002-10-07 André Pönitz <poenitz@gmx.net>
2063 * text.C: Vitaly Lipatov's small i18n fix
2065 2002-09-25 Angus Leeming <leeming@lyx.org>
2067 * ispell.h: doxygen fix.
2069 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2071 * buffer.h (readFile): Add a new argument to the method, to allow
2072 reading of old-format templates.
2074 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2076 * toc.C (getTocList): Get TOC from InsetWrap.
2078 2002-09-16 John Levon <levon@movementarian.org>
2080 * lyxfunc.C: check tabular for cut/copy too
2082 2002-09-12 John Levon <levon@movementarian.org>
2087 * factory.C: add header
2089 * paragraph_funcs.h:
2090 * paragraph_funcs.C: cleanup
2092 2002-09-11 John Levon <levon@movementarian.org>
2094 * PrinterParams.h: odd/even default to true
2096 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2098 * PrinterParams.h: update printer parameters for new xforms dialog
2100 2002-09-11 Angus Leeming <leeming@lyx.org>
2102 * lyxserver.C (read_ready): re-write to make it more transparent
2103 and to make it work in coherent fashion under Tru64 Unix.
2105 2002-09-11 André Pönitz <poenitz@gmx.net>
2109 * text3.C: implement LFUN_WORDSEL
2111 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2114 make floatlist_ a boost::shared_ptr<FloatList>
2116 * lyxtextclass.C: include FloatList.h
2117 (LyXTextClass): initialize floatlist_
2118 (TextClassTags): add TC_NOFLOAT
2119 (Read): match "nofloat" to TC_NOFLOAT and use it.
2120 (readFloat): modify call to floatlist_
2124 * FloatList.[Ch] (FloatList): remove commented out float
2126 (erase): new function
2128 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2130 * MenuBackend.C (expandToc): fix crash when there is no document
2133 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2135 * many files: Add insetwrap.
2137 2002-09-09 John Levon <levon@movementarian.org>
2139 * text2.C: remove confusing and awkward depth wraparound
2141 2002-09-09 John Levon <levon@movementarian.org>
2143 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2146 * buffer.C: remove getIncludeonlyList()
2149 * lyxfunc.C: remove headers
2151 2002-09-09 Juergen Vigna <jug@sad.it>
2153 * text.C (getColumnNearX): fix form Michael this is most
2154 probably a cut&paste bug.
2156 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2160 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2161 references, ws changes.
2163 * text2.C (init): update counters after init
2164 (insertParagraph): no need to set counter on idividual paragraphs.
2165 (setCounter): access the counters object in the textclass object
2166 on in the buffer object.
2167 (updateCounters): ditto
2169 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2170 shared_ptr<Counters> to avoid loading counters.h in all
2172 (LyXTextClass): initialize ctrs_
2173 (TextClassTags): add TC_COUNTER, and ...
2174 (Read): use it here.
2175 (CounterTags): new tags
2176 (readCounter): new function
2177 (counters): new funtion
2178 (defaultLayoutName): return a const reference
2180 * counters.C (Counters): remove contructor
2181 (newCounter): remove a couple of unneeded statements.
2182 (newCounter): simplify a bit.
2183 (numberLabel): some small formatting changes.
2185 * buffer.[Ch]: remove all traces of counters, move the Counters
2186 object to the LyXTextClass.
2188 2002-09-06 Alain Castera <castera@in2p3.fr>
2190 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2191 package to set the horizontal alignment on fixed width columns.
2194 * lyx_sty.h: added tabularnewline macro def.
2196 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2198 2002-09-06 John Levon <levon@movementarian.org>
2200 * LyXAction.C: tooltips for sub/superscript
2202 * MenuBackend.C: a bit more verbose
2204 * lyxfunc.C: tiny clean
2206 * undo_funcs.C: document undo_frozen
2208 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * counters.C (Counters): add missing algorithm counter.
2212 * text2.C (setCounter): lookup the counter with layouts latexname
2213 instead of by section number.
2214 (setCounter): use a hackish way to lookup the correct enum
2216 a float name->type change
2217 reset enum couners with counter name directly instead of depth value.
2219 * counters.C (Counters): remove the push_backs, change to use the
2220 float type not the float name.
2221 (labelItem): remove unused string, float name->type change
2223 * counters.h: don't include vector, loose the enums and sects vectors
2225 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2227 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2228 (Read): add float->TC_FLOAT to textclassTags
2229 (Read): and handle it in the switch
2230 (readFloat): new function
2232 * FloatList.C (FloatList): comment out the hardcoded float
2235 * lyxlayout.h: ws change.
2237 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2239 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2241 2002-09-03 Angus Leeming <leeming@lyx.org>
2243 * BufferView_pimpl.h: qualified name is not allowed in member
2244 declaration: WorkArea & Pimpl::workarea() const;
2246 * factory.C: added using std::endl directive.
2248 * text3.C: added using std::find and std::vector directives.
2250 2002-08-29 André Pönitz <poenitz@gmx.net>
2253 * text2.C: remove unused member number_of_rows
2256 * BufferView2.C: remove file, move contents to...
2257 * BufferView.C: ... here
2259 * BufferView_pimpl.C:
2260 * factory.C: move more inset creation to factory
2262 * vspace.C: avoid direct usage of LyXText, ws changes
2265 don't provide direct access to WorkArea, use two simple
2266 acessors haveSelction() and workHeight() instead
2269 2002-08-29 John Levon <levon@movementarian.org>
2271 * BufferView_pimpl.C (dispatch): do not continue when
2274 2002-08-28 André Pönitz <poenitz@gmx.net>
2276 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2279 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2281 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2283 * buffer.C: increment LYX_FORMAT to 221
2285 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2286 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2288 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2290 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2292 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2294 * factory.C (createInset): use LyXTextClass::floats
2296 * MenuBackend.C (expandFloatListInsert):
2297 (expandFloatInsert):
2300 * text2.C (setCounter):
2302 * LaTeXFeatures.C (useFloat):
2303 (getFloatDefinitions):
2305 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2307 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2308 floatlist_, with accessor floats().
2310 * FloatList.h: remove global FloatList
2312 2002-08-26 André Pönitz <poenitz@gmx.net>
2314 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2318 * BufferView_pimpl.C:
2319 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2321 2002-08-25 John Levon <levon@movementarian.org>
2323 * LyXAction.C: fix margin note description
2325 2002-08-24 John Levon <levon@movementarian.org>
2329 * bufferview_funcs.C:
2331 * undo_funcs.C: cleanups
2333 * lyxfunc.C: disable CUT/COPY when no selection
2335 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2337 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2338 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2340 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2341 Add backward compatibility to "mono", "gray" and "no".
2343 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2345 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2346 (and file_format >= 200).
2348 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2350 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2352 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2354 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2356 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2358 * BufferView_pimpl.C:
2365 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2366 inset and code to make it work with the paragraph code. The inset
2367 can be anywhere in the paragraph, but will only do the expected
2368 thing in LaTeX if the layout file contains the parameter line
2370 (or more generally, a nonzero value) for that layout.
2372 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * paragraph.h: remove the declaration of undefined counters class
2377 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2379 * text2.C (setCounter): fixed enumeration mis-count as reported by
2380 Dr. Richard Hawkins.
2382 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2384 * paragraph_funcs.h: remove some unneeded includes
2386 * text.C (backspace): pasteParagraph now in global scipe
2388 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2389 (pasteSelection): ditto
2391 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2392 * paragraph_funcs.C (pasteParagraph): ... here
2394 2002-08-20 André Pönitz <poenitz@gmx.net>
2396 * commandtags.h: new LFUNs for swapping/copying table row/colums
2399 * lyxfunc.C: support for new lfuns
2401 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * buffer.[Ch]: remove NO_COMPABILITY stuff
2406 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * boost.C (throw_exception): new file, with helper function for
2409 boost compiled without exceptions.
2414 * ParameterStruct.h:
2415 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2417 * bufferlist.C (emergencyWriteAll): use boost bind
2419 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2421 * text.C: include paragraph_funcs.h
2422 (breakParagraph): breakParagraph is now in global scope
2424 * paragraph_funcs.[Ch]: new files
2426 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2429 * buffer.C: include paragraph_funcs.h
2430 (insertStringAsLines): breakParagraph is now in global scope
2432 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2435 * CutAndPaste.C: include paragraph_funcs.h
2436 (cutSelection): breakParagraphConservative is now in global scope
2437 (pasteSelection): ditto
2439 * buffer.h: declare oprator== and operator!= for
2440 Buffer::inset_iterator
2442 * bufferlist.C (emergencyWrite): don't use fmt(...)
2444 * text3.C: add using std::endl
2446 * BufferView.C (moveCursorUpdate): remove default arg
2448 2002-08-20 André Pönitz <poenitz@gmx.net>
2450 * buffer.[Ch]: move inline functions to .C
2453 * BufferView_pimpl.C:
2455 * buffer.[Ch]: use improved inset_iterator
2458 * paragraph.[Ch]: write one paragraph at a time
2460 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2462 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2463 style if style is not specified.
2465 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2467 * text2.C (setCounter): when searching for right label for a
2468 caption, make sure to recurse to parent insets (so that a caption
2469 in a minipage in a figure float works) (bug #568)
2471 2002-08-20 André Pönitz <poenitz@gmx.net>
2473 * text3.C: new file for LyXText::dispatch() and helpers
2475 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2477 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2479 2002-08-19 André Pönitz <poenitz@gmx.net>
2482 * text.C: new LyXText::dispatch()
2484 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2486 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2488 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2490 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2493 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2495 * Makefile.am: use $(variables) instead of @substitutions@
2497 2002-08-15 André Pönitz <poenitz@gmx.net>
2500 * BufferView_pimpl.C: streamlining mathed <-> outer world
2504 * LyXAction.C: remove unused LFUN_MATH
2506 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2510 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * paragraph.C (Paragraph): reformat a bit
2513 (cutIntoMinibuffer): use builtin InsetList function instad of
2517 * buffer.C: include boost/bind.hpp, add using std::for_each
2518 (writeFileAscii): use ParagraphList iterators
2519 (validate): use for_each for validate traversal of paragraphs
2520 (getBibkeyList): use ParagraphList iterators
2521 (resizeInsets): use for_each to resizeInsetsLyXText for all
2523 (getParFromID): use ParagraphList iterators
2525 * BufferView2.C (lockInset): use paragraph list and iterators
2527 2002-08-14 John Levon <levon@movementarian.org>
2529 * lyxserver.C: remove spurious xforms include
2531 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2533 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2535 2002-08-13 André Pönitz <poenitz@gmx.net>
2538 * lyxfunc.C: further cleaning
2540 2002-08-13 André Pönitz <poenitz@gmx.net>
2542 * funcrequest.h: new constructor
2544 * funcrequest.C: move stuff here from .h
2547 * BufferView_pimpl.C:
2550 * lyxfunc.C: subsequent changes
2552 * lyxfunc.h: new view() member function
2554 * lyxfunc.C: subsequent changes
2556 2002-08-13 Angus Leeming <leeming@lyx.org>
2559 * BufferView_pimpl.C:
2567 changes due to the changed LyXView interface that now returns references
2568 to member variables not pointers.
2570 2002-08-13 Angus Leeming <leeming@lyx.org>
2572 * WordLangTuple (word, lang_code): return references to strings,
2577 * lyxtext.h: forward-declare WordLangTuple.
2582 * text.C: #include "WordLangTuple.h".
2585 * text.C: (selectNextWordToSpellcheck): constify return type.
2587 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2593 * paragraph_pimpl.h:
2596 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2598 Made updateCounter always count from start of buffer, and removed
2599 second argument (par).
2600 Reverted floats number display to '#'. Perhaps I'll try again when the
2601 code base is sanitized a bit.
2603 2002-08-12 Angus Leeming <leeming@lyx.org>
2605 * buffer.[Ch] (getLabelList): constify.
2607 2002-08-07 André Pönitz <poenitz@gmx.net>
2609 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2611 * funcrequest.h: extension to keep mouse (x,y) position
2613 2002-08-12 Juergen Vigna <jug@sad.it>
2615 * BufferView2.C (insertErrors): forbid undo when inserting error
2618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2620 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * ParagraphList.[Ch]: new files
2624 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2626 * BufferView2.C (lockInset): ParagraphList changes
2629 * bufferlist.C: ditto
2633 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2636 unused class variable counter_,
2638 * paragraph.[Ch] (getFirstCounter): delete unused function
2640 * counters.C: include LAssert.h
2641 (reset): add a new function with no arg, change other version to
2642 not have def. arg and to not allow empty arg.
2644 * text2.C (setCounter): remove empty arg from call to Counters::reset
2646 2002-08-11 John Levon <levon@movementarian.org>
2648 * Makefile.am: add WordLangTuple.h
2650 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2653 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2655 * insets/insettext.C: InsetList changes
2657 * graphics/GraphicsSupport.C (operator()): InsetList changes
2659 * toc.C (getTocList): InsetList changes
2661 * paragraph_pimpl.[Ch]: InsetList changes
2663 * paragraph.[Ch]: InsetList changes
2665 * buffer.C (inset_iterator): InsetList changes
2666 (setParagraph): ditto
2667 * buffer.h (inset_iterator): ditto
2668 * iterators.C (operator++): ditto
2669 * iterators.h: ditto
2671 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2673 * InsetList.[Ch]: new files, most InsetList handling moved out of
2676 * BufferView2.C (removeAutoInsets): InsetList changes
2678 (ChangeInsets): ditto
2680 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * paragraph_pimpl.h (empty): new function
2684 * paragraph.[Ch] (empty): new function
2686 * other files: use the new Paragraph::empty function
2688 2002-08-09 John Levon <levon@movementarian.org>
2690 * lyxtext.h: remove unused refresh_height
2692 2002-08-09 John Levon <levon@movementarian.org>
2699 * paragraph.C: move sgml char escaping out of paragraph
2702 * paragraph.C: remove id setter
2706 * paragraph_pimpl.C: remove dead tex_code_break_column
2708 * bufferview_funcs.C: small cleanup
2710 * lyxfunc.C: remove dead proto
2712 * lyxtext.h: make some stuff private. Remove some dead stuff.
2714 * lyxgluelength.C: make as[LyX]String() readable
2716 2002-08-08 John Levon <levon@movementarian.org>
2721 * ToolbarDefaults.C:
2724 * toc.C: lyxaction cleanup
2726 2002-08-08 John Levon <levon@movementarian.org>
2728 * BufferView2.C: small cleanup
2731 * lyxfind.C: move unnecessary header into the .C
2733 2002-08-08 John Levon <levon@movementarian.org>
2735 * funcrequest.h: just tedious nonsense
2738 * lyx_main.C: cleanups
2741 * vspace.C: remove dead header lyx_main.h
2743 2002-08-07 Angus Leeming <leeming@lyx.org>
2746 * paragraph_pimpl.h:
2747 Forward declare class Counters in paragraph.h by moving the ctrs member
2748 variable into Paragraph::Pimpl.
2749 (counters): new method, returning a reference to pimpl_->ctrs.
2751 * text2.C: ensuing changes.
2753 2002-08-07 John Levon <levon@movementarian.org>
2755 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2757 * BufferView_pimpl.C: announce X selection on double/triple
2760 * lyx_main.C: use correct bool in batch dispatch
2762 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2764 2002-08-07 André Pönitz <poenitz@gmx.net>
2766 * funcrequest.h: new class to wrap a kb_action and its argument
2769 * BufferView_pimpl[Ch]:
2773 * lyxrc.C: subsequent changes
2776 2002-08-07 John Levon <levon@movementarian.org>
2778 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2779 document options change.
2781 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2786 * makefile.am: move counters functionality over from
2787 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2789 2002-08-06 John Levon <levon@movementarian.org>
2791 * WordLangTuple.h: new file for word + language code tuple
2802 * BufferView2.C: use WordLangTuple
2805 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2807 2002-08-06 John Levon <levon@movementarian.org>
2809 * lyx_main.C: fix cmdline batch handling
2811 2002-08-06 André Pönitz <poenitz@gmx.net>
2813 * lyxrc.C: set default for show_banner to true
2815 2002-08-06 John Levon <levon@movementarian.org>
2817 * pspell.C: fix a crash, and allow new aspell to work
2819 2002-08-06 John Levon <levon@movementarian.org>
2822 * kbmap.C: small cleanup
2825 * vspace.C: add const
2827 2002-08-05 John Levon <levon@movementarian.org>
2829 * LyXAction.C: back to tabular-insert
2831 2002-08-04 John Levon <levon@movementarian.org>
2834 * BufferView.C: cosmetic change
2836 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2846 * BufferView2.C: purge all "Lyx" not "LyX" strings
2849 * lyxcursor.C: attempt to add some documentation
2854 * ToolbarDefaults.C:
2855 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2856 merge with LFUN_TABULAR_INSERT
2863 * pspell.C: split up i/pspell implementations into separate
2864 files, many cleanups
2866 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2868 * text2.C: some cleanup
2870 * lyxfunc.C: don't check for isp_command == "none" any more, it
2871 didn't make any sense
2873 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2878 * makefile.am: move counters functionality over
2879 from text2.C/paragraph.[Ch] to counters.[Ch], and
2881 2002-08-02 John Levon <levon@movementarian.org>
2883 * buffer.C: s/lyxconvert/lyx2lyx/
2885 2002-08-02 Angus Leeming <leeming@lyx.org>
2887 * lyxlex.C: revert John's change as it breaks reading of the user
2890 2002-08-02 Angus Leeming <leeming@lyx.org>
2892 * importer.C (Import):
2893 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2894 changes due to LyXView::view() now returning a boost::shared_ptr.
2896 2002-08-02 John Levon <levon@movementarian.org>
2898 * lyxlex.C: small cleanup
2900 2002-08-02 John Levon <levon@movementarian.org>
2902 * text2.C (status): small cleanup, no logic change
2904 2002-08-01 John Levon <levon@movementarian.org>
2907 * buffer.C (writeFile): don't output alerts, caller
2911 * lyx_cb.C: from above
2913 * lyxfunc.C: allow to open non-existent files
2915 2002-07-31 John Levon <levon@movementarian.org>
2917 * lyxserver.C: don't let incidental errors get
2920 2002-07-30 John Levon <levon@movementarian.org>
2922 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2924 2002-07-30 John Levon <levon@movementarian.org>
2927 * lyxserver.C: remove I/O callback too
2929 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2931 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2934 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2936 * many files: strip,frontStrip -> trim,ltrim,rtrim
2938 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * PrinterParams.h: remove extern containsOnly, and include
2941 support/lstrings.h instead.
2943 * LaTeX.C (scanAuxFile): modify because of strip changes
2945 * buffer.C (makeLaTeXFile): ditto
2946 * bufferparams.C (writeFile): ditt
2947 * lyxfont.C (stateText): ditto
2948 * lyxserver.C (read_ready): ditto
2949 * vc-backend.C (scanMaster): ditto
2951 * BufferView_pimpl.h: ws changes
2953 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2955 2002-07-26 André Pönitz <poenitz@gmx.net>
2957 * kb_sequence.C: remove unnedred usings
2959 2002-07-26 Juergen Vigna <jug@sad.it>
2961 * lyxfind.C (LyXReplace): we have to check better if the returned
2962 text is not of theLockingInset()->getLockingInset().
2964 2002-07-25 Juergen Vigna <jug@sad.it>
2966 * lyxfind.C (LyXReplace): don't replace if we don't get the
2969 * undo_funcs.C (createUndo): remove debugging code.
2971 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2973 * buffer.C (parseSingleLyXformat2Token): Use default placement
2974 when reading old floats.
2976 * FloatList.C (FloatList): Change the default placement of figure
2977 and tables to "tbp".
2979 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2981 * MenuBackend.C: using std::max
2983 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2985 * MenuBackend.C (expandToc):
2986 (expandToc2): code moved from xforms menu frontend. It is now
2987 generic and TOCs are transparent to menu frontends.
2989 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2991 * toc.C (getTocList): protect against buf=0
2993 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2994 Menu as first parameter. Now, this calls itself recursively to
2995 expand a whole tree (this will be useful for TOC handling)
2996 (expandFloatInsert): remove 'wide' version of floats
2998 * MenuBackend.h (submenuname): returns the name of the submenu.
2999 (submenu): returns the submenu itself, provided it has been
3000 created by MenuBackend::expand
3002 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3004 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3005 insets which have noFontChange == true. (bug #172)
3007 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3009 * BufferView_pimpl.C: add connection objects and use them...
3012 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3014 * MenuBackend.C (expandLastfiles):
3017 (expandFloatListInsert):
3018 (expandFloatInsert):
3019 (expand): split expand in parts
3021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3023 * lyx_gui.C: use lyx_gui::exit()
3025 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3027 * LyXAction.C: show the failing pseudo action
3029 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3031 * buffer.C (readFile): Run the lyxconvert script in order to read
3034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3038 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3040 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3044 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3046 2002-07-22 Herbert Voss <voss@lyx.org>
3049 * lyxlength.[Ch]: add support for the vertical lengths
3051 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3053 * toc.[Ch]: std:: fixes
3055 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3057 * lyxrc.C: do not include lyx_main.h
3059 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3065 * BufferView2.C: include "lyxlex.h"
3068 * bufferparams.h: do not #include "lyxlex.h"
3070 * lyxtextclasslist.C (Add): remove method
3071 (classlist): renamed to classlist_
3073 * paragraph_pimpl.C:
3077 * bufferview_funcs.C:
3082 * toc.C (getTocList): use BufferParams::getLyXTextClass
3084 * toc.C (getTocList): use InsetFloat::addToToc
3086 * toc.[Ch]: new files, containing helper functions to handle table
3089 * lyxfunc.C (dispatch): no need to remove spaces around command
3091 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3092 first command of the sequence; it is not very clever, but I do not
3093 have a better idea, actually
3095 * LyXAction.C (LookupFunc): make sure to remove space at the
3096 beginning and end of the command
3098 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3100 * MenuBackend.C (getMenubar): new method: return the menubar of
3102 (read): treat differently reading of menu and menubar (in
3103 particular, the menubar has no name now)
3104 (Menu::menubar): remove
3106 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3109 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3111 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3112 a bibitem inset in a RTL paragraph.
3114 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3116 * paragraph_pimpl.C: constify
3118 * BufferView_pimpl.C:
3120 * lyxfunc.C: fix dispatch in a nicer way
3122 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3124 * lyxfunc.C (dispatch):
3125 * BufferView_pimpl.C:
3126 * BufferView_pimpl.h:
3128 * BufferView.h: rename Dispatch() to dispatch()
3130 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3132 * lyxlayout.C (Read): honor DependsOn tag
3134 * lyxlayout.[Ch] (depends_on): new method
3136 * version.C.in: update lyx_docversion
3138 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3140 * paragraph.C (validate): remove from here...
3141 * paragraph_pimpl.C (validate): ... and move here
3142 (isTextAt): make it const
3144 * buffer.C (getLists): ws cleanup
3146 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3148 * language.C (read): Use iso8859-1 encoding in latex_lang
3149 (this prevents LyX from crashing when using iso10646-1 encoding).
3151 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3153 * text2.C (toggleInset): if cursor is inside an inset, close the
3154 inset and leave cursor _after_ it
3156 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3158 * lyxfunc.C: move minibuffer completion handling out of here
3160 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3162 * BufferView_pimpl.C:
3163 * LaTeX.C: fix dispatch calls
3165 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3167 * text.C (drawChars): Fix Arabic text rendering.
3169 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3173 * lyxfunc.C: remove message-push/pop
3177 * lyxfunc.C: rationalise some code by removing verboseDispatch
3178 in favour of a bool argument to dispatch()
3180 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3182 * lyx_main.C (init): make sure to read symlinks as absolute paths
3184 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3187 * lyxfunc.C: no need for commandshortcut to be a member
3189 2002-07-15 André Pönitz <poenitz@gmx.net>
3191 * converter.C: add support for $$s (scripts from lib/scripts dir)
3192 * lyx_main.C: white space
3194 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3198 * lyxrc.C: remove second exit confirmation
3200 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3205 * BufferView_pimpl.h:
3206 * BufferView_pimpl.C:
3207 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3209 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3211 * MenuBackend.C (expand): add numeric shortcuts to document menu
3213 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3215 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3217 * lyxfont.C (setLyXFamily):
3224 * buffer.C (asciiParagraph): use ascii_lowercase
3226 2002-07-15 Mike Fabian <mfabian@suse.de>
3228 * lyxlex_pimpl.C (search_kw):
3229 * lyxlex.C (getLongString):
3230 * converter.h (operator<):
3231 * converter.C (operator<):
3232 * buffer.C (parseSingleLyXformat2Token):
3234 * ToolbarDefaults.C (read):
3235 * MenuBackend.C (checkShortcuts):
3237 * LColor.C (getFromGUIName):
3238 (getFromLyXName): use the compare_ascii_no_case instead of
3239 compare_no_case, because in turkish, 'i' is not the lowercase
3240 version of 'I', and thus turkish locale breaks parsing of tags.
3242 2002-07-16 Angus Leeming <leeming@lyx.org>
3244 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3245 now takes a Buffer const & argument.
3247 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3249 * BufferView.C (resize): check there's a buffer to resize
3251 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3253 * lyxfunc.C: remove dead code
3256 * lyxserver.C: use lyx_guii::set_read_callback
3258 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3260 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3261 an inset in a RTL paragraph.
3263 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3265 * lyxfunc.C: repaint after a font size update
3267 2002-07-15 André Pönitz <poenitz@gmx.net>
3269 * lyxlength.C: inBP should be able to return negative values
3271 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3273 * lyxfunc.C: use lyx_gui::update_fonts()
3275 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3277 * lyxfunc.C: use lyx_gui::update_color()
3279 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3285 * lyxrc.C: remove file->new asks for name option, and let
3286 buffer-new take an argument
3288 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3290 * BufferView_pimpl.C: remove unneeded extra repaint()
3292 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3294 * LyXAction.C: allow command-sequence with NoBuffer
3296 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3298 2002-07-10 Angus Leeming <leeming@lyx.org>
3300 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3302 2002-07-09 Angus Leeming <leeming@lyx.org>
3304 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3306 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3308 * lengthcommon.h: whitespace
3310 * lyxfunc.C: update scrollbar after goto paragraph
3312 * lyxtext.h: factor out page break drawing, and fix it so
3313 page break/added space paints as selected nicely
3315 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3317 * BufferView_pimpl.C: add FIXMEs, clean up a little
3319 2002-07-09 André Pönitz <poenitz@gmx.net>
3321 * lyxfont.[Ch]: support for wasy symbols
3323 2002-07-08 André Pönitz <poenitz@gmx.net>
3325 * BufferView_pimpl.C: apply John's patch for #93.
3327 2002-07-05 Angus Leeming <leeming@lyx.org>
3329 * BufferView_pimpl.C (buffer): generate previews if desired.
3331 * LColor.h: add "preview" to the color enum.
3333 * LColor.C (LColor): add a corresponding entry to the items array.
3335 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3338 2002-07-05 Angus Leeming <leeming@lyx.org>
3340 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3341 The body of the code is now in the method that is passed an ostream &
3342 rather than a file name.
3343 Pass an additional only_preamble parameter, useful for the forthcoming
3346 2002-07-03 André Pönitz <poenitz@gmx.net>
3348 * lyxfunc.C: simplify getStatus() a bit for math stuff
3350 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3352 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3354 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3356 * text.C (changeRegionCase): do not change case of all the
3357 document when region ends at paragraph end (bug #461)
3359 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3361 * paragraph.C (startTeXParParams):
3362 (endTeXParParams): add \protect when necessary
3364 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3366 * BufferView_pimpl.C (workAreaExpose): remove warning
3368 2002-06-27 Angus Leeming <leeming@lyx.org>
3370 * Makefile.am: add lyxlayout_ptr_fwd.h.
3372 2002-06-26 André Pönitz <poenitz@gmx.net>
3374 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3376 2002-06-25 Angus Leeming <leeming@lyx.org>
3378 * lyxfunc.C (dispatch): Comment out the call to
3379 grfx::GCache::changeDisplay. The method no longer exists now that the
3380 pixmap generation part of the graphics loader has been moved into
3383 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3385 * text2.C: layout as layout
3387 * text.C: layout as layout
3389 * tabular.C (OldFormatRead): layout as layout
3391 * paragraph_pimpl.C (TeXDeeper): layout as layout
3392 (realizeFont): layout as layout
3394 * paragraph.C (writeFile): layout as layout
3395 (validate): layout as layout
3396 (getFont): layout as layout
3397 (getLabelFont): layout as layout
3398 (getLayoutFont): layout as layout
3399 (breakParagraph): layout as layout
3400 (stripLeadingSpaces): layout as layout
3401 (getEndLabel): layout as layout
3402 (getMaxDepthAfter): layout as layout
3403 (applyLayout): layout as layout
3404 (TeXOnePar): layout as layout
3405 (simpleTeXOnePar): layout as layout
3406 (TeXEnvironment): layout as layout
3407 (layout): layout as layout
3408 (layout): layout as layout
3410 * lyxtextclass.C (compare_name): new functor to work with
3411 shared_ptr, layout as layout
3412 (Read): layout as layout
3413 (hasLayout): layout as layout
3414 (operator): layout as layout
3415 (delete_layout): layout as layout
3416 (defaultLayout): layout as layout
3418 * lyxlayout_ptr_fwd.h: new file
3420 * lyxlayout.C (Read): layout as layout
3422 * lyx_cb.C (MenuInsertLabel): layout as layout
3424 * bufferlist.C (newFile): layout as layout
3426 * buffer.C (readLyXformat2): layout as layout
3427 (parseSingleLyXformat2Token): layout as layout
3428 (insertStringAsLines): layout as layout
3429 (asciiParagraph): layout as layout
3430 (latexParagraphs): layout as layout
3431 (makeLinuxDocFile): layout as layout
3432 (simpleLinuxDocOnePar): layout as layout
3433 (makeDocBookFile): layout as layout
3434 (simpleDocBookOnePar): layout as layout
3435 (getLists): layout as layout
3437 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3439 * CutAndPaste.C (cutSelection): layout as layout
3440 (pasteSelection): layout as layout
3441 (SwitchLayoutsBetweenClasses): layout as layout
3443 * BufferView_pimpl.C (Dispatch): layout as layout
3444 (smartQuote): layout as layout
3446 * BufferView2.C (unlockInset): layout as layout
3448 2002-06-24 André Pönitz <poenitz@gmx.net>
3450 * lyxfunc.C: fix #487
3452 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3456 * lyxfunc.C: remove display_shortcuts, show_banner
3458 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3460 * Buffer_pimpl.C: oops, update on resize
3462 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3469 * BufferView.C: use repaint()
3471 * BufferView_pimpl.h:
3472 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3473 as it's a clearer description. Remove superfluous
3476 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3478 * text.C: fix bug 488. Not ideal, but getting
3479 getWord() to work properly for the insets that
3480 matter is more difficult ...
3482 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3484 * BufferView_pimpl.C:
3487 * lyxfunc.C: remove the six million index lyxfuncs to just
3488 one, and DTRT (bug 458)
3490 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3494 * BufferView_pimpl.h:
3495 * BufferView_pimpl.C: clean up resize() stuff,
3496 and unnecessary updateScreen()s
3498 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3502 * BufferView_pimpl.h:
3503 * BufferView_pimpl.C:
3506 * minibuffer.C: remove focus management of workarea,
3507 not needed. Use screen's greyOut()
3509 2002-06-17 Herbert Voss <voss@lyx.org>
3511 * converter.C: (convert) do not post a message, when converting
3512 fails, let the calling function decide what to do in this case
3514 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3516 * lyxfunc.C: tidy up a little
3518 2002-06-16 <alstrup@diku.dk>
3520 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3521 Got rid of FORMS_H_LOCATION include. Now we are
3524 2002-06-15 LyX Development team <lyx@rilke>
3526 * buffer.[Ch] (sgmlOpenTag):
3527 (sgmlCloseTag): Added support for avoiding pernicious mixed
3528 content. Return number of lines written.
3531 (makeDocBookFile): Fixed calls to sgml*Tag.
3532 Simple white space clean.
3534 (simpleDocBookOnePar): Simple white space clean.
3536 * tabular.[Ch] (docBook): Renamed to docbook and got another
3537 argument to related with the pernicious mixed content.
3539 (docbookRow): Fixed calls for docbook inset method.
3541 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3543 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3544 so it's X11 independent.
3548 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3550 2002-06-15 Lyx Development team <lyx@electronia>
3552 * intl.h: Renamed getTrans to getTransManager.
3554 2002-06-14 Angus Leeming <leeming@lyx.org>
3556 * Makefile.am: nuke forgotten stl_string_fwd.h.
3558 2002-06-12 Angus Leeming <leeming@lyx.org>
3560 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3562 2002-06-13 Angus Leeming <leeming@lyx.org>
3565 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3567 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3569 * kbmap.C (getiso): add support for cyrillic and greek
3571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3575 * BufferView_pimpl.h:
3576 * BufferView_pimpl.C: move bogus scrolling logic
3579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3582 * BufferView_pimpl.C: view->resize() change
3584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3586 * BufferView_pimpl.C: topCursorVisible
3589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3593 * lyx_gui.C: move to frontends/
3597 * lyx_main.C: changes from above
3599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3606 * lyx_main.C: minor tidy
3608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3610 * BufferView_pimpl.h:
3611 * BufferView_pimpl.C:
3613 * BufferView.C: make painter() const,
3616 * BufferView2.C: use screen() accessor
3619 * lyx_main.C: some minor cleanup
3621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3623 * BufferView_pimpl.h:
3624 * BufferView_pimpl.C: remove enter/leaveView,
3627 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3632 * BufferView_pimpl.h:
3633 * BufferView_pimpl.C: only construct screen once,
3636 * lyxrc.C: remove pointless comment
3638 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3641 * BufferView.C: remove active() and belowMouse()
3643 * BufferView_pimpl.h:
3644 * BufferView_pimpl.C: use workarea() not workarea_,
3645 and make it use a scoped_ptr instead
3647 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3649 * lyx_gui.C: add debug message on BadWindow
3651 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3653 * sp_spell.C: fdopen is not part of the C++ standard.
3655 * paragraph.C (InsetIterator): use >= instead of ==
3657 2002-06-07 Angus Leeming <leeming@lyx.org>
3659 Fixes needed to compile with Compaq cxx 6.5.
3660 * BufferView_pimpl.C:
3667 * lyxtextclasslist.C:
3672 all c-library variables have been moved into namespace std. Wrap
3673 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3678 Add a using std::abs declaration.
3680 * kbmap.h (modifier_pair):
3681 * paragraph.h (InsetTable, InsetList):
3682 * lyxfont.h (FontBits):
3683 type definition made public.
3685 * bufferlist.C (emergencyWriteAll): the compiler complains that
3686 there is more than one possible lyx::class_fun template to choose from.
3687 I re-named the void specialisation as lyx::void_class_fun.
3689 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3691 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3692 the compiler is is unable to find tostr in write_attribute.
3694 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3696 * buffer.C (sgmlError): hide #warning
3698 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3700 * xtl/*: get rid of xtl, which is not in use anyway
3702 * LyXAction.C (init):
3703 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3704 were unimplemented xtl experimentation
3706 2002-06-04 André Pönitz <poenitz@gmx.net>
3708 * lyxfunc.C: disable array operation on simple formulae
3710 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3712 * converter.C: constify a bit
3714 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3716 * lyx_gui.C: check xforms version correctly
3718 2002-04-30 Herbert Voss <voss@lyx.org>
3720 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3723 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3725 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3726 attempt to register it with a VCS)
3728 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3730 * lyx_main.C (init): honor variables LYX_DIR_13x and
3733 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3737 * lyx_main.C: fix a crash on bad command line,
3738 and give a useful exit status on error
3740 * lyxfunc.C (doImport): allow -i lyx to work
3742 2002-03-30 André Pönitz <poenitz@gmx.net>
3744 * lyxfunc.C: mathed font changes
3746 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3761 * trans_mgr.h: srcdocs, and some minor cleanups
3763 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3765 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3766 call getFont all the time)
3768 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3770 * switch from SigC signals to boost::signals
3772 2002-05-29 André Pönitz <poenitz@gmx.net>
3774 * paragraph_pimpl.C (getChar): don't call size() too often...
3776 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3778 * paragraph_pimpl.C (insertChar): do not try to update tables when
3779 appending (pos == size())
3781 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3782 in order to reduce drastically the number of comparisons needed to
3783 parse a large document
3785 2002-05-29 André Pönitz <poenitz@gmx.net>
3791 * textclasslist.[Ch]:
3792 * sp_ispell.h: whitespace change
3794 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3797 lyxaction directly now.
3799 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3803 * lyxvc.C: remove unused headers
3805 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3812 * undo_funcs.C: some cleanups. Use shared_ptr
3813 and a template for the undo stacks.
3815 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3817 * BufferView_pimpl.h:
3818 * BufferView_pimpl.C:
3825 * text2.C: use key_state/mouse_state
3827 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3829 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3832 * chset.C: change include order
3833 (loadFile): use boost regex and get rid of LRegex and LSubstring
3835 * Makefile.am (BOOST_LIBS): new variable
3838 * LaTeX.C: change include order.
3839 (scanAuxFile): use boost regex and get rid of LRegex and
3843 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3848 * FontInfo.C: moved to frontends/xforms/
3851 * FontLoader.C: moved into frontends for GUIIzation
3856 * lyxfunc.C: changes from above
3858 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3860 * LColor.C: remove spurious X include
3862 * BufferView_pimpl.C:
3867 * text2.C: move font metrics to frontends/
3869 2002-05-24 Juergen Vigna <jug@sad.it>
3871 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3872 setting the undo_cursor.
3874 * ParagraphParameters.h: include local includes first.
3876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3878 * BufferView_pimpl.C:
3879 * BufferView_pimpl.h:
3883 * screen.C: move WorkArea into frontends/
3889 * BufferView2.C: move LyXScreen into frontends/
3893 * lyx_gui.C: move lyxlookup into frontends/xforms/
3895 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3898 * BufferView_pimpl.C:
3908 * bufferview_funcs.C:
3921 * vc-backend.C: move LyX/XFormsView into frontends/
3923 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3935 * text2.C: move Painter to frontends/
3937 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3939 * buffer.C: comment out some some code that depend upon lyx_format
3942 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3943 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3945 * buffer.h (NO_COMPABILITY): turn off compability
3947 * ColorHandler.C: include scoped_array.hpp
3949 * font.C: Use more specific smart_ptr header.
3952 * ShareContainer.h: ditto
3956 * BufferView_pimpl.h: ditto
3957 * ColorHandler.h: ditto
3959 * kbmap.C (defkey): change call to shared_ptr::reset
3961 2002-05-21 Juergen Vigna <jug@sad.it>
3963 * buffer.C (insertErtContents): fix to insert ert asis if it is
3964 non empty. Skip it completely if it contains only whitespaces.
3966 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3968 * BufferView_pimpl.C:
3969 * BufferView2.C: clear selection on paste (bug 393)
3971 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3973 * DepTable.C: include ctime
3975 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3977 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3979 2002-05-14 Juergen Vigna <jug@sad.it>
3981 * text.C (breakParagraph): fixed function to honor the keepempty
3982 layout in the right maner and also to permit the right breaking
3983 algorithm on empty or non empyt keepempty paragraphs.
3985 * paragraph.C (breakParagraph): we have to check also if the par
3986 is really empty (!size()) for isempty otherwise we do the wrong
3989 2002-05-10 Juergen Vigna <jug@sad.it>
3991 * buffer.[Ch] : The following are only changes to the ert
3992 compatibility read reading old LaTeX layout and font stuff and
3993 convert it to ERTInsets.
3995 * buffer.h: added isErtInset().
3997 * buffer.C (struct ErtComp): add a fromlayout bool to check
3998 if we're inside a LaTeX layout.
3999 (isErtInset): new helper function.
4000 (insertErtContents): look for other ert insets before this one
4001 and insert the contents there, so that we don't have subsequent
4002 ERT insets with nothing between them. This way we create only one
4003 inset with multiple paragraphs. Also check if we don't insert only
4004 spaces ' ' as they are ignored anyway afterwards in the .tex file
4005 so if we have only spaces we will ignore this latex part in the
4007 (parseSingleLyXformat2Token \\layout): better compatibility when
4008 reading layout-latex stuff.
4009 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4011 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4012 stuff after reading the inset only get the information back from
4015 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4017 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4019 * LaTeXFeatures.C (getBabelOptions): New method.
4021 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4023 * BufferView_pimpl.C (Dispatch): work around missing argument for
4026 2002-05-08 Juergen Vigna <jug@sad.it>
4028 * text.C (leftMargin): handle paragraph leftindent.
4030 * paragraph.C (writeFile): write the new \\leftindent tag.
4031 (validate): handle leftindent code.
4032 (TeXEnvironment): handle paragraphleftindent code again.
4034 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4036 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4037 for paragrap_extra indent code and new token \\leftindent.
4038 (latexParagraphs): handle the leftindent as environment.
4040 * ParameterStruct.h: added leftindent support.
4042 * ParagraphParameters.C (leftIndent): added support functions for
4043 the paragraph left indent.
4045 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4048 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4050 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4053 * text.C (computeBidiTables): No bidi in insetERT.
4055 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4058 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4060 * version.C.in: pre 5
4062 2002-05-02 José Matos <jamatos@fep.up.pt>
4063 * buffer.C (makeDocBookFile): white space changes, add newline to
4065 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4067 * tabular.C (docBook): fix typo.
4069 2002-05-03 Juergen Vigna <jug@sad.it>
4071 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4072 change in LyXText as we can not be sure it was not freed.
4073 (drawOneRow): remove unused code.
4075 * text.C (drawInset): redo the calculation of the need_break_row as
4076 it could have a row which was already freed.
4077 (draw): look at the return value of drawInset and return false if
4078 it also returned false.
4079 (paintRowText): look at the return value of draw and return false if
4080 it also returned false.
4082 * lyxtext.h: added bool return type to drawInset() and draw() so that
4083 if we have a change in the row so that the rowbreak has to be redone
4084 we abort drawing as it will be called again.
4086 2002-05-02 Juergen Vigna <jug@sad.it>
4088 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4089 a change in the maintext also if we're inside an inset.
4090 (Dispatch): set the cursor again after a break line and after the
4091 screen has been updated as it could be we're in a different row.
4093 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4094 to set the cursor behind the pargraph with > size().
4095 (setCursor): check also for the same paragraph when checking where
4096 to put the cursor if we have a NFR inset.
4098 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4099 parts of layout read further up as it still was in the wrong
4102 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4104 * screen.C (drawFromTo): change sine fullRebreak always return
4107 * buffer.C (parseSingleLyXformat2Token): reindent some
4109 * BufferView_pimpl.C (update): change since fullRebreak always
4111 (Dispatch): git rid of the last hardcoded "Standard"s.
4113 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4115 * text2.[Ch] (fullRebreak): make it return void now that we always
4118 2002-04-30 Juergen Vigna <jug@sad.it>
4120 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4121 ert compatibility check for "latex" layout.
4123 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4125 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4126 minipages: use col% instead of p%, and also use the current font.
4127 (makeLaTeXFile): Fix use babel condition.
4128 (parseSingleLyXformat2Token): Correct font when reading old floats.
4130 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4132 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4133 inserting list of floats.
4135 2002-04-25 Herbert Voss <voss@lyx.org>
4137 * MenuBackend.C (expand): don't add the graphics extensions to the
4140 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4143 non-existing layout, do not complain if it was the default layout
4144 of the original class (bug #342)
4146 2002-04-24 Juergen Vigna <jug@sad.it>
4148 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4149 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4151 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4153 * buffer.C (getBibkeyList): If using \bibliography, return the
4154 option field with the reference itself. Enables us to provide natbib
4155 support when using \bibliography.
4157 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4159 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4161 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4162 natbib is provided by the LaTeX class.
4164 2002-04-23 Juergen Vigna <jug@sad.it>
4166 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4169 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4171 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4173 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4175 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4176 ensuremath around textordmasculine, textordfeminine and
4179 2002-04-19 Juergen Vigna <jug@sad.it>
4181 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4182 reinitializing the buffer otherwise row-dimensions may be wrong.
4183 (update): reset also the selection cursors if they do exits otherwise
4184 their x/y positions may be wrong.
4186 * text2.C (cursorDown): don't enter the inset if we came from a row
4187 above and are one row over the inset.
4189 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4190 really leaving an inset.
4192 2002-04-18 Juergen Vigna <jug@sad.it>
4194 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4195 of the selected paragraph does not have the selected layout also if
4198 * text2.C (setLayout): fixed bug which did not change last selected
4201 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4202 changed the read and substituted \\end_float with \\end_inset!
4204 * BufferView_pimpl.C (cursorPrevious):
4205 (cursorNext): fixed to make it work with rows heigher than the work
4206 area without moving the cursor only the draw of the row.
4207 (workAreaMotionNotify): fix jumping over high rows.
4209 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4211 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4214 2002-04-16 Juergen Vigna <jug@sad.it>
4216 * text2.C (setCursor): set also the irow().
4217 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4219 (cursorDown): support for locking an inset if the x_fix value goes
4220 inside it. That way I can transverse insets too with cursor up/down.
4222 * lyxrow.h: added irow helper function same as other (i) functions.
4224 * BufferView_pimpl.C (cursorPrevious):
4225 (cursorNext): fixed for insets!
4227 2002-04-15 Juergen Vigna <jug@sad.it>
4229 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4230 position otherwise it is wrong in some cases.
4232 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4233 inside the inset before the call.
4235 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4237 * buffer.[Ch] (getBibkeyList): make it const.
4239 2002-04-12 Juergen Vigna <jug@sad.it>
4241 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4243 * text2.C (getCursorX): new helper function
4244 (setCursor): compute also ix_
4245 (setCursorFromCoordinates): set also ix.
4247 * lyxcursor.h: added ix_ and helper functions.
4249 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4251 * buffer.C (insertStringAsLines): dont break paragraph if the this
4252 paragraph is inside an inset which does not permit it!
4254 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4255 also with no chars on this paragraph.
4256 (paintRowText): only paint stuff if it's inside the workarea!
4258 * paragraph.C (breakParagraph): honor keepempty flag and break the
4259 paragraph always below not above.
4261 * BufferView2.C (unlockInset): update the paragraph layout on inset
4262 unlock as we changed paragraph in such a case.
4264 * lyxfind.C (LyXFind): clear the former selection if not found!
4266 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4267 again called in insertChar().
4269 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4270 an inset which uses the whole row!
4271 (rightMargin): ditto.
4272 (insertChar): force a rebreak if we inserted an inset!
4274 2002-03-28 Herbert Voss <voss@lyx.org>
4276 * lyxlength.[Ch]: add inBP() to get the right PS-point
4277 units (BigPoint). With inPixels we have rounding errors
4279 2002-04-11 Juergen Vigna <jug@sad.it>
4281 * text2.C (setCursorFromCoordinates): set iy to the right value.
4282 (setCursor): add check if row->previous exists!
4284 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4285 an old float_type as this was the case in the old code!
4287 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4289 * BufferView2.C (showLockedInsetCursor): use iy
4290 (fitLockedInsetCursor): ditto
4292 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4293 locked insets as there we have the right value now.
4295 * lyxcursor.C: added iy_ variable and iy functions to set to the
4296 baseline of cursor-y of the locked inset.
4298 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4299 (setCursor): fixed for insets which need a full row.
4301 * text.C (rowLastPrintable): don't ignore the last space when before
4302 an inset which needs a full row.
4303 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4304 as last character of a row when before a inset which needs a full row.
4306 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4308 * version.C.in: update date
4310 * text2.C (fullRebreak): try to always return true and see what
4313 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4315 * MenuBackend.C (expand): use Floating::listName
4317 * FloatList.C (FloatList): add listName argument to the built-in
4320 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4321 text associated with the float.
4323 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4325 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4327 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4329 * ShareContainer.h: add a couple of missing typenames.
4331 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4333 * lyxrc.C (getDescription): use _() correctly rather than N_().
4335 2002-03-28 Herbert Voss <voss@lyx.org>
4337 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4338 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4340 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4343 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4345 2002-03-29 Juergen Vigna <jug@sad.it>
4347 * lyxfunc.C (dispatch): add a missing fitCursor call.
4349 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4350 it was scrolled by a cursor move, so return the bool status.
4352 * BufferView.C (fitCursor): return the bool flag also to the outside
4353 world as this is needed.
4355 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4357 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4358 call the edit() as it is not needed (and wrong) IMO.
4359 (workAreaButtonPress): set the screen_first variable before evt.
4360 unlock the inset as this may change screen_first and then we have
4361 a wrong y position for the click!
4363 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4365 * MenuBackend.C (expand): another translation that I missed
4367 2002-03-28 Juergen Vigna <jug@sad.it>
4369 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4371 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4373 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4375 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4377 * MenuBackend.C (expand): fix export/view/update when there is no
4380 2002-03-27 Herbert Voss <voss@lyx.org>
4382 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4385 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4387 * bufferview_funcs.C (currentState): only show paragraph number
4388 for is DEVEL_VERSION is set.
4390 * lyxfunc.C (dispatch): put warning in INFO channel
4392 * MenuBackend.C (expand): translate the name of floats
4394 * FloatList.C (FloatList): mark the float names for translation
4396 * converter.C (convert): use LibScriptSearch
4398 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4400 * MenuBackend.C (defaults): fix default menu (we might as well get
4403 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4405 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4408 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4410 * lyxvc.C: reorder includes.
4412 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4414 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4417 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4419 * CutAndPaste.C: change layouts earlier on paste
4420 to avoid crashing when calling getFont()
4422 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4424 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4427 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4429 * WorkArea.C: remove 'Pending' debug message.
4431 * most files: ws cleanup
4433 * buffer.[Ch]: ws changes
4435 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4437 2002-03-21 Juergen Vigna <jug@sad.it>
4439 * tabular.C (SetMultiColumn): collapse also the contents of the
4440 cells and set the last border right. Added a Buffer const * param.
4442 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4444 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4447 2002-03-19 Juergen Vigna <jug@sad.it>
4449 * text2.C (clearSelection): reset also xsel_cache.
4451 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4452 where it needs to be called (John tells us to do so too :)
4453 (selectionLost): reset sel_cache.
4455 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4457 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4459 * text2.C (setCursorIntern): put debuging code in INSETS channel
4461 2002-03-19 André Pönitz <poenitz@gmx.net>
4463 * lyxfunc.C: tiny whitespace change
4465 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4467 * ToolbarDefaults.C (init):
4468 * LyXAction.C (init):
4470 * BufferView_pimpl.C (Dispatch):
4471 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4473 2002-03-19 Allan Rae <rae@lyx.org>
4475 * exporter.C (Export): removeAutoInsets before doing anything else.
4476 While I've just introduced a dependency on BufferView this really is
4477 the best place to clean the buffer otherwise you need to cleanup in
4478 a dozen places before calling export or cleanup in a dozen functions
4481 * converter.C (runLaTeX):
4482 (scanLog): Better handling of removeAutoInsets and screen updates.
4484 * lyxfunc.C (dispatch): small whitespace changes
4486 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4488 * WorkArea.C (C_WorkAreaEvent): return a value.
4489 (event_cb): return 1 if we handled the event, 0 otherwise.
4491 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4493 2002-03-18 Juergen Vigna <jug@sad.it>
4495 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4496 (GetAdditionalWidth): ditto.
4500 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4501 inset if we're there actually (probably not used right now but this
4502 is the direction to go for unifying code).
4503 (paste): disable code to clear the selection.
4505 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4506 inside an InsetText and move the check further up as it is in the
4509 * text2.C (pasteSelection): set a selection over the pasted text.
4511 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4513 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4514 and libgraphics to build on Cygwin.
4516 2002-03-15 Juergen Vigna <jug@sad.it>
4518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4519 inserting an Inset into the paragraph. I know this is not the best
4520 fix but we already use current_view in CutAndPaste so we will remove
4521 all of it's using at the same time.
4523 * buffer.C (sgmlError): deactivated function till it is rewritten in
4524 the right mode, now it can create problems.
4526 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4527 before accessing it.
4529 2002-03-14 Juergen Vigna <jug@sad.it>
4531 * undo_funcs.C (textHandleUndo): do the right thing when updating
4532 the inset after the undo/redo.
4534 * text2.C (setCursor): just some testcode for #44 not ready yet.
4536 * undo_funcs.C (textHandleUndo): set the next() and previous()
4537 pointers of the paragraph to 0 before deleting otherwise we have
4538 problems with the Paragraph::[destructor].
4540 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4541 on a paragraph insertion.
4543 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4545 * buffer.C (asciiParagraph): use += operator for char append to
4548 * paragraph.C (getFontSettings): compare >= not just >
4549 (highestFontInRange): ditto
4552 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4554 * paragraph.C: change several algorithm to be more appripriate for
4555 the problem domain. This is lookip in FontList and in the InsetList.
4557 2002-03-13 André Pönitz <poenitz@gmx.net>
4560 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4562 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4567 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4569 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4571 * Painter.C (display): anon helper function, adjust code for this
4573 (pixmap): remove function.
4575 * Painter.h: remove private display variable.
4577 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4579 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4581 * WorkArea.[Ch]: remove figinset_canvas cruft.
4583 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * lyxtextclass.C (operator): add one item cache optimization.
4587 * bufferlist.h: doxy changes
4589 * bufferlist.C: ws changes
4591 * DepTable.[Ch] (ext_exist): place const in the right spot.
4593 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4595 (workAreaExpose): call resizeInsets when the with BufferView changes.
4596 (Dispatch): adjust for protectedBlank removal
4597 (specialChar): call updateInset if the insert went ok.
4599 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4600 specialChar instead.
4602 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4604 * BufferView.h: doxy change
4606 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4608 * lyxtextclass.C (operator[]): remove non-const version
4609 (defaultLayout): remove non-const version
4611 2002-03-12 Juergen Vigna <jug@sad.it>
4613 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4614 did resize the LyXText too.
4616 * buffer.C (readLyXformat2): set layout information on newly allocated
4619 * tabular.C (OldFormatRead): set layout information on the paragraph.
4621 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4623 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4625 2002-03-11 Juergen Vigna <jug@sad.it>
4627 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4629 (resizeCurrentBuffer): force also the insets to resize themselfes.
4630 (moveCursorUpdate): fixed up for InsetText.
4632 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4635 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4636 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4637 value of Dialogs::tooltipsEnabled().
4638 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4640 2002-03-08 Juergen Vigna <jug@sad.it>
4642 * BufferView_pimpl.C (updateInset): update inset inside inset also
4643 if it isn't inside theLockingInset().
4645 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4647 * buffer.C (asciiParagraph): redo some of the word and line length
4649 (getLists): look for Caption instead of caption.
4651 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4653 * buffer.C (Buffer): initialize niceFile to true
4656 (makeDocBookFile): make sure niceFile is true on exit
4658 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4660 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4662 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4664 * LyXSendto.C: remove.
4665 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4666 * lyx_gui.C: remove now-redundant comment.
4667 * ColorHandler.h: remove forward declaration of class WorkArea.
4668 * lyxfunc.C: remove #include "WorkArea.h".
4670 2002-03-07 Juergen Vigna <jug@sad.it>
4672 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4673 got moved away with the DEPM and also set the inset_owner always
4674 right which before could have been omitted.
4676 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4678 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4679 wanted layout is not found.
4681 2002-03-07 Juergen Vigna <jug@sad.it>
4683 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4687 * paragraph.C (breakParagraph): use default layout not layout of
4689 (Paragraph): clear ParagraphParameters.
4691 2002-03-06 Juergen Vigna <jug@sad.it>
4693 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4694 otherwise it would not be a valid lenght. Fixed a special case in
4695 the minipage compatibility read where we end the document with a
4698 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4699 was set as it could be 0 for InsetTexts first entry.
4701 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4703 * paragraph.C (writeFile): if layout is empty write out
4704 defaultLayoutName().
4706 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4707 file without named layout we set layout to defaultLayoutName().
4709 2002-03-06 Juergen Vigna <jug@sad.it>
4711 * CutAndPaste.C (copySelection): set layout for new paragraph.
4713 * text.C (prepareToPrint): leave ERT inset left aligned
4714 (leftMargin): don't indent paragraphs inside ERT insets
4716 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4718 * paragraph.C (breakParagraph): dont call clear do the work manually
4720 * paragraph.[Ch] (clear): remove function
4722 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4724 * paragraph.C (Paragraph): dont call clear, the work has already
4727 * lyxtextclass.C (operator): assert if n is empty
4729 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4730 work manually instead.
4732 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4734 * BufferView_pimpl.C: protect selectionLost against text == 0
4736 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4738 * text.C (breakParagraph): fix a setting layout to '0' problem.
4740 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4742 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4743 final location of file, for the included files, and graphics.
4745 2002-03-05 Juergen Vigna <jug@sad.it>
4747 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4749 2002-03-04 Juergen Vigna <jug@sad.it>
4751 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4753 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4754 last column of multicolumn cells.
4755 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4757 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4759 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4760 file if it doesn't go to a temporary file.
4762 * buffer.C (sgmlOpenTag):
4763 (sgmlCloseTag): remove extra newline insertion.
4765 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4767 * text.C (getRowNearY): comment out debug msg
4769 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4771 * text2.C: first -> first_y
4773 * text.C (getRowNearY): add some attemts at a possible
4774 optimization, not working.
4776 * tabular.[Ch]: add BufferParams to several function so that newly
4777 created paragraph can be initialized to he default layotu for the
4780 * tabular-old.C (ReadOld): add buf->params to call of Init
4782 * screen.C: rename text->first to text->first_y
4784 * paragraph.C (breakParagraph): always set layout in the broken
4787 * lyxtextclass.C (Read): remove lowercase
4790 (delete_layout): ditto
4792 * lyxtext.h: rename first -> first_y
4794 * lyxlayout.C (Read): remove lowercase
4797 (obsoleted_by): ditto
4799 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4801 * buffer.C (insertErtContents): add params are to InsetERT
4802 (parseSingleLyXformat2Token): add code to check if a paragraphs
4803 layout really exist.
4804 (parseSingleLyXformat2Token): add params to several inset
4806 (asciiParagraph): remove lowercase, do the layout comparisons with
4809 * BufferView_pimpl.C (cursorNext): first -> first_y
4810 (resizeCurrentBuffer): first -> first_y
4811 (updateScrollbar): first -> first_y
4812 (scrollCB): first -> first_y
4813 (workAreaMotionNotify): first -> first_y
4814 (workAreaButtonPress): first -> first_y
4815 (checkInsetHit): first -> first_y
4816 (cursorPrevious): first -> first_y
4817 (cursorNext): first -> first_y
4818 (Dispatch): add buffer_->params to severl inset contructors
4820 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4822 * lyxlayout.C (Read): remove some debug info that I forgot.
4824 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4825 clean up the code slightly.
4826 (makeLinuxDocFile): ditto
4827 (makeDocBookFile): ditto
4829 * text2.C: layout as string
4831 * text.C: layout as string
4833 * paragraph_pimpl.C: layout as string
4835 * paragraph.[Ch]: layout as string
4837 * lyxtextclasslist.[Ch]: layout as string
4839 * lyxtextclass.[Ch]: layout as string
4841 * lyxtext.h: layout as string
4843 * lyxlayout.[Ch]: layout as string
4845 * lyx_cb.C: layout as string
4847 * bufferview_funcs.C: layout as string
4849 * bufferparams.C: layout as string
4851 * buffer.C: layout as string
4853 * LyXView.[Ch]: layout as string
4855 * LaTeXFeatures.[Ch]: layout as string
4857 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4859 * BufferView_pimpl.C: change current_layout to string, remove
4864 (workAreaButtonRelease): layout as string
4866 * BufferView2.C (unlockInset): adjust
4868 * vspace.C (asLatexCommand): use an explict temp variable.
4870 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4872 * Makefile.am: use FRONTEND_*
4874 2002-03-01 Juergen Vigna <jug@sad.it>
4876 * tabular.C (SetWidthOfMulticolCell): changed to something better
4877 I hope but still work in progress.
4878 (recalculateMulticolumnsOfColumn): renamed function from
4879 recalculateMulticolCells as it is more appropriate now.
4880 (SetWidthOfCell): calculate multicols better.
4882 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4884 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4886 * lyxfunc.C (processKeySym): print sequence also if it is
4887 `deleted' (complete)
4889 * kbsequence.C (print): print sequence even if it is deleted
4890 (complete would be a better word, actually).
4892 * lyxfunc.C (dispatch): print complete options after a prefix key
4894 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4896 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4898 * text2.C (setCharFont): eliminate setCharFont code duplication.
4900 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4902 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4903 LFUN_TABULAR_FEATURE (bug #177)
4905 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4907 * Makefile.am: remove figure.h
4909 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4911 * Bufferview_pimpl.C:
4923 * text2.C: remove #include "lyx_gui_misc.h".
4925 * LaTeX.C: added #include <cstdio>
4927 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4930 that the paragraph following this one can have.
4932 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4934 * vspace.C (asLatexCommand): fix bogus gcc warning
4936 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4938 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4940 * text2.C (setLayout): get rid of redundant code
4942 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4944 * text2.C (incDepth): make sure depth cannot be increased beyond
4947 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4949 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4950 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4952 * PainterBase.h (image):
4953 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4956 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4960 * BufferView_pimpl.C:
4961 * BufferView_pimpl.h:
4981 * sp_spell.C: remove fig inset, and the crap house of
4982 cards that follows it
4984 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4990 * nt_defines.h: move .h into support/
4992 * vms_defines.h: remove
4994 * WorkArea.C: add space in debug output
4998 * buffer.C: add WITH_WARNINGS
5002 * bufferlist.C: s/retrive/retrieve/, add docs
5013 * lyxgui.C: add ID to X error handler
5015 * lyxtestclass.c: fix typo
5017 2002-02-26 Juergen Vigna <jug@sad.it>
5019 * tabular_funcs.C (write_attribute): changed so that some default
5020 attributes are not written at all.
5021 (getTokenValue): set default values before trying to read the
5022 value so we have the return value always set as default if we don't
5023 find the token we search for.
5025 * tabular.C (Write): write bools as bools not as strings!
5027 2002-02-22 Juergen Vigna <jug@sad.it>
5029 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5030 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5032 * text.C (leftMargin): don't add an indent for paragraphs inside
5033 tabular cells (fix #208).
5035 2002-02-21 José Matos <jamatos@fep.up.pt>
5037 * tabular.C (docBook): fixed support for long tables.
5039 2002-02-20 Juergen Vigna <jug@sad.it>
5041 * text2.C (getFont): get the drawing font of the Inset if this
5042 paragraph is inside an inset (only important for InsetERT for now).
5044 * buffer.C (insertErtContents): use new lanugage params in ERT
5047 * CutAndPaste.C: commenting out seemingly uneeded code.
5049 2002-02-19 Allan Rae <rae@lyx.org>
5051 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5052 Iterators might be simple to use but they also get invalidated.
5053 (removeAutoInsets): renamed saved cursor tracking variables and added
5054 some comments to clarify what everything does.
5056 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5063 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5064 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5067 * vc-backend.h: remove #include "support/syscall.h"
5071 * converter.C: rearrange #includes in Lars' approved fashion.
5073 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5074 forward declare class Timeout in the header file.
5076 * XFormsView.C: changes due to the above.
5078 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5081 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5082 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5084 2002-02-18 José Matos <jamatos@fep.up.pt>
5086 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5089 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5091 * a lot of small ws changes
5092 * add a lot of using std::XXX
5093 * use std construcs some places where approp.
5094 * use some exisint stuff from lyxfunctional where approp.
5095 * Make file changes to use partial linking (lets test this now...)
5097 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5101 remove #include "support/syscontr.h" as it's redundant. Always has been.
5109 change Systemcalls::System to Systemcalls::Wait and
5110 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5111 No change of functionality, just reflects the stripped down Systemcalls
5114 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5116 * debug.[Ch]: add a GRAPHICS type to the enum.
5118 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5120 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5122 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5125 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5127 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5128 match the changes below.
5130 * text2.C (toggleInset): if there is not editable inset at cursor
5131 position, try to see if cursor is _inside_ a collapsable inset
5134 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5136 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5137 document menu has a nice checkbox
5139 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5141 * lyxlength.C (asLatexString): change PW to output as percent of
5144 * lengthcommon.C: change '%' to 't%'
5146 * lyxfunc.C (dispatch): a few comments from Martin
5148 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5152 * BufferView_pimpl.h:
5153 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5156 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * vspace.C (inPixels): fix compiler warning
5160 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5162 * lyxfunc.C (getStatus): fix status message for disabled commands.
5164 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5166 * BufferView_pimpl.C: fix crash on close buffer
5167 during selection (#227)
5169 2002-01-27 Herbert Voss <voss@lyx.org>
5171 * buffer.C: link old Figure to new graphic inset
5173 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5175 * FontLoader.C (getFontinfo): Change the latex font names in order
5176 to match the names of type1inst.
5178 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5180 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5182 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5185 (remove_files_with_extension): ditto
5186 (remove_file): ditto
5189 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5190 document is smaller than the work area height. Do not initialize
5191 static variables to 0.
5193 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5195 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5197 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5198 LFUN_LAYOUT_PARAGRAPHS.
5200 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5201 tabular. It is possible to provide a possible cell, which will
5202 typically be the actcell from the corresponding insettabular
5204 * lyxfunc.C (getStatus): small cleanup; disable
5205 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5208 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5210 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5212 * paragraph.C (startTeXParParams):
5213 (endTeXParParams): new methods. The LaTeX code to
5214 start/end paragraph formatting
5215 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5216 empty (fixes bug #200)
5218 * vspace.C (inPixels): adapt to the change below
5219 (inPixels): [later] more cleanups (remove unused variables)
5221 * lyxlength.C (inPixels): change to use a width and a height as
5224 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5226 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5227 Replaced with \paperwidth
5229 * DepTable.C (insert): add std:: qualifier
5231 2002-01-18 Allan Rae <rae@lyx.org>
5233 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5236 * text.C (drawInset): Turned out I didn't know enough about how
5237 rebreaking worked. This fixes most of the redraw problems. I see
5238 an occasional cursor trail when a line is broken now and the cursor
5239 placement can seem out by a few pixels also after a rebreak.
5241 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5243 * buffer.C (parseSingleLyXformat2Token): update because minipage
5244 width is now a LyXLength
5246 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5248 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5251 2002-01-17 Juergen Vigna <jug@sad.it>
5253 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5255 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5256 is set correctly and the inset is updated correctly.
5258 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5261 the beginning of the loop.
5263 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5265 * lyxrc.C: improve help for use_scalable_fonts
5267 2002-01-17 Allan Rae <rae@lyx.org>
5269 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5273 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5274 make sure to set their inset_owner to the right value (bug #171)
5276 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5279 * DepTable.C: Implement mtime checking to reduce time spent doing
5282 2002-01-16 Juergen Vigna <jug@sad.it>
5284 * tabular.C (GetAdditionalHeight): one of error fixed.
5286 * lyxrc.C (output): small fix in writing use_pspell.
5288 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5290 * sp_base.h: #include LString.h
5292 2002-01-16 Allan Rae <rae@lyx.org>
5294 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5295 Can someone check this please?
5297 * text.C (drawInset): It was possible that p.row would be removed by
5298 breakAgainOneRow upsetting a few other settings. There may be another
5299 small tweak possible by setting need_break_row = 0 when p.row has been
5300 removed but I don't know enough about the logic here.
5302 2002-01-15 Allan Rae <rae@lyx.org>
5304 * text.C (insertChar): removed conditional truism.
5306 * BufferView2.C (removeAutoInsets): More tweaks.
5307 cur_par_prev could be a stray pointer. Check for trailing empty line
5308 in case last line was cur_par and only had an error inset on it.
5310 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5312 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5315 * vc-backend.C (most methods):
5316 * exporter.C (Export):
5317 * converter.C (convert):
5319 * LyXSendto.C (SendtoApplyCB):
5320 * lyxfunc.C (dispatch):
5324 * lyx_cb.C (AutoSave):
5326 * BufferView_pimpl.C (MenuInsertLyXFile):
5327 * buffer.C (runChktex): use Buffer::filePath().
5329 * buffer.h: rename filename to filename_; rename filepath to
5330 filepath_ and make it private
5331 (filePath): new method
5333 * buffer.C (writeFile): use fileName()
5336 * lyx_main.C (init): fix starting of LyX when the binary is a
5337 link from so,ewhere else.
5339 * minibuffer.C: include <cctype> for isprint
5341 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5343 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5344 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5345 name clash with InsetCollapsable's width function.
5347 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5349 * lastfiles.C: include <iterator>
5351 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5353 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5356 * buffer.C (makeLaTeXFile): ditto.
5357 Also make loop operation more transparent.
5359 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5361 * ToolbarDefaults.C: remove trailing comma closing namespace.
5363 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5365 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5368 * trans.C (Load): comment out unused variable, allowed.
5370 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5372 * minibuffer.[Ch] (append_char): new method to recieve input from the
5373 drop-down completion browser. If a key was pressed, then recieve this
5374 char and append it to the existing string.
5375 (peek_event): modify the positioning data passed to the completion
5376 browser so that it can be placed above the minibuffer rather than below.
5377 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5379 * LyXAction.C (init): alloe error-next for readonly documents.
5381 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5384 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5386 * bufferlist.C (readFile): create the buffer _after_ checking that
5389 * lyxfunc.C (verboseDispatch): fix handling of arguments
5391 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5393 * lyxrc.C: use string::erase() instead of initializing to "".
5396 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5398 * BufferView_pimpl.h:
5399 * BufferView_pimpl.C:
5402 * text2.C: tell X when we have made a selection for copying
5404 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5406 * BufferView_pimpl.C (MenuInsertLyXFile):
5407 * lyxfunc.C (menuNew):
5409 (doImport): add shortcuts to directory buttons
5411 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5414 * lyxfunc.C (setStatusMessage):
5415 (getStatusMessage): new methods
5416 (getStatus):use setStatusMessage instead of setErrorMessage
5417 (dispatch): when function is disabled, set error message here
5418 [instead of in getStatus previously]
5420 * BufferView_pimpl.C (workAreaButtonRelease): update
5421 toolbar/menubar here too.
5423 2002-01-13 Allan Rae <rae@lyx.org>
5425 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5426 Now seems indestructible. Remaining task is to audit all other
5427 code affected by deleteEmptyParagraphMechanism. One small quirk
5428 left is that an empty document with an error in the preamble can
5429 be made to report an error but no error box appears. I don't know
5431 (removeAutoInsets): Improved comments.
5433 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5436 * Thesaurus.C: update for Aiksaurus 0.14
5438 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5440 * text2.C (firstParagraph): removed member function, all uses
5441 replaces with ownerParagraph
5442 (redoParagraphs): here
5444 (toggleAppendix): here
5445 * BufferView2.C (insertErrors): here
5446 (setCursorFromRow): here
5448 2002-01-13 Allan Rae <rae@lyx.org>
5450 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5451 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5452 There is still a way to segfault this although you may have to do this
5453 multiple times: Have an InsetERT with an unknown command in it.
5454 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5455 <down-arrow>, <Enter> again, View->DVI, BANG!
5457 * text2.C (setCursor):
5458 (deleteEmptyParagraphMechanism):
5459 * lyxtext.h (setCursor):
5460 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5461 Making use of the return value may help fix other bugs.
5463 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5465 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5467 * LyXView.C (updateMenubar): call MenuBar::update here
5468 (updateToolbar): but not here
5469 (showState): do not update toolbar/menubar
5471 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5472 should need to care about that.
5474 * lyxfunc.C (verboseDispatch): simplify a bit
5475 (getStatus): have a version which takes a pseudoaction, and
5476 another which requires a (kb_action,string).
5478 * LyXAction.C (retrieveActionArg): make it work also when action
5479 is not a pseudo-action.
5480 (getActionName): simplify a bit
5483 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5485 * lyxfunc.C (verboseDispatch): new families of methods with
5486 several ways to specify a command and a bool to indicate whether
5487 the command name and shortcut should be displayed in minibuffer
5488 (eventually, we could extend that to a finer bitmask like
5489 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5490 (dispatch): the pristine dispatch command which just, well,
5491 dispatchs! Note it still sets its result to minibuffer; I'm not
5494 * lyxfunc.h: remove setHintMessage
5496 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5498 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5500 * BufferView_pimpl.C (specialChar): delete new inset if we have
5501 not been able to insert it.
5503 * kbmap.C: revert to using int instead of kb_action, since all we
5504 are dealing with is pseudo-actions.
5506 * LyXAction.C (searchActionArg): change to return int instead of
5507 kb_action, since the result is a pseudoaction.
5509 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5511 * buffer.C (insertErtContents): Fix (partially) the font bug.
5513 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5515 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5516 as the other one is broken on my machine!
5518 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5521 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5523 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5525 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5526 reflect their actual use. Provide compatibility code for older lyxrc
5529 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5531 change names of popup font variables in line with the changes to lyxrc.C
5533 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5535 * buffer.C (asciiParagraph): avoid outputing a word twice after
5538 * lyxrc.C (getDescription): document that document_path and
5539 template_path can be empty.
5541 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5543 * LaTeXFeatures.C (getMacros):
5544 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5546 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5548 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5550 (getPackages): rename feature "floats" to "float". Use an array to
5551 iterate over 'simple' features (i.e. just a \usepackage). Add
5552 handling of "amsmath" (renamed from "amsstyle").
5554 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5556 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5559 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5561 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5562 FuncStaus::FuncStatus & FuncStaus::some_method().
5564 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5566 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5567 of the func_satus stuff. Edited and massaged in various ways by
5570 * lyxfunc.C (getStatus): use FuncStatus
5572 2002-01-08 Juergen Vigna <jug@sad.it>
5574 * text.C (nextBreakPoint): use function Inset::isChar().
5576 * paragraph.C (TeXOnePar): use function
5577 Inset::forceDefaultParagraphs.
5579 * buffer.C (latexParagraphs): use function
5580 Inset::forceDefaultParagraphs.
5582 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5584 * lyx_gui.C (init): set the style of the menu popups to
5585 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5587 2002-01-07 Juergen Vigna <jug@sad.it>
5589 * text.C (setHeightOfRow): small fix
5590 (prepareToPrint): don't look at alignment if we don't have the place
5593 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5595 * box.C: New file. Move the Box methods and functions out of box.h,
5596 following Lars' suggestion.
5598 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5600 * box.h: #include "support/LOstream.h", needed for inlined function.
5603 * lyxtextclasslist.C: added some using std declarations.
5605 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5607 * box.h: make signed dimensions to allow insets wider than
5608 the screen (bug #162)
5610 * BufferView_pimpl.C: add some insetHit debug
5612 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5614 * vc-backend.C: add FIXME
5616 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5618 * lyxfunc.C (getStatus): enable code for showing math font status
5621 2002-01-07 Juergen Vigna <jug@sad.it>
5623 * text.C (nextBreakPoint): removed debug output not needed anymore.
5625 2002-01-06 Juergen Vigna <jug@sad.it>
5627 * text.C (nextBreakPoint): fixed up this function we had this bug
5628 since ever but now hopefully we break row better.
5629 (insertChar): we have to check if an inset is the next char as it
5630 could now happen that a large inset is causing a break.
5632 2002-01-05 Juergen Vigna <jug@sad.it>
5634 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5635 if it doesn't like to be drawed.
5637 2002-01-04 Juergen Vigna <jug@sad.it>
5639 * BufferView2.C (lockInset): forgot to set a cursor.
5641 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5643 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5648 * form_maths_panel.C:
5649 * form_maths_panel.h:
5650 * form_maths_panel.fd: implemented sub- and super- buttons in math
5653 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5654 (or ^ space) to be used as in TeX (req'd by André).
5656 * lyxfunc.C: Allow ^ and _ again to be used both as
5657 super/subscript (mathed) and as themselves (in text).
5659 2002-01-03 Allan Rae <rae@lyx.org>
5661 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5662 "LyX" or the filename of the current buffer if it has one. This is a
5663 modified form of John Levon's patch.
5665 * XFormsView.C (setWindowTitle): also set icon title.
5667 * LyXView.h (setWindowTitle): signature changed.
5668 * XFormsView.h (setWindowTitle): ditto.
5670 2002-01-02 Juergen Vigna <jug@sad.it>
5672 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5674 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5676 * screen.C (topCursorVisible): introduce a temp var for
5677 text->cursor.row(), handle the case where this row is null. (kindo
5680 * text2.C (setCursor): add a couple of asserts.
5682 * paragraph.h (inset_iterator): add -> operator
5684 * paragraph.[Ch] (autoDeleteInsets): remove member function
5686 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5687 cursor pos correctly and handle inset deletion by itself.
5688 (insertErrors): move iterator declaration out of for expression
5690 * lyxtextclass.C: add <algorithm>
5692 * Makefile.am: added the new files to sources, removed layout.C
5694 * layout.C: removed file
5696 * layout.h: remove LYX_DUMMY_LAYOUT
5698 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5702 * lyxtextclass.[Ch]:
5703 * lyxtextclasslist.[Ch]: new files
5705 * include order changes to a lot of files, also changes because of
5708 2001-12-27 Juergen Vigna <jug@sad.it>
5710 * buffer.C (asciiParagraph): more fixes.
5712 * tabular.C (ascii): make ascii export support export of only the
5713 data separated by a column-delimiter.
5714 (ascii): better support for ascii export.
5716 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5718 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5720 * tabular_funcs.C: use a "using std::getline" instead of the
5721 previous fix from Angus (necessary for cxx + lyxstring)
5723 2001-12-24 Juergen Vigna <jug@sad.it>
5725 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5727 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5728 problems. First check a minipage also if we have some ert-contents
5729 (not only on par->size(), second set the right depth of the paragraph
5730 on the relink to the root-paragraph-list!
5732 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5733 which then did not anymore update the main paragraphs on undo/redo!
5735 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5737 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5738 code. Support all font-changing funcs (even those which are not in
5739 menu currently). Support for reporting font settings in
5740 mathed (disabled until Andre provides a function on mathed's side).
5742 * func_status.h (toggle): small helper function to set toggle
5745 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5747 * tabular_funcs.C: getline -> std::getline
5749 2001-12-21 Juergen Vigna <jug@sad.it>
5751 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5752 accessed and could be 0 (I couldn't generate this but it seems
5755 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5757 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5758 * tabular_funcs.h: here and include iosfwd
5760 2001-12-20 Juergen Vigna <jug@sad.it>
5762 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5763 inside inset but undo_par was.
5765 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5767 * Thesaurus.C: always include <config.h> in sources.
5771 * box.h: do not include <config.h> in header files
5773 * text.C (paintLastRow): remove unused variable
5775 * text.C (transformChar):
5777 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5780 * font.C (width): rewrite to use uppercase() instead of
5783 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5785 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5787 * lyxfind.C: clean up of find failure position change
5789 2001-12-20 Juergen Vigna <jug@sad.it>
5791 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5793 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5794 (TeXRow): added to LaTeX a single tabular row.
5795 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5796 (Latex): simplified and finally good LT-h/f support.
5797 (various_functions): just small adaptions for LT-h/f support.
5799 * tabular_funcs.[hC]: added and moved here all not classfunctions
5802 2001-12-19 Juergen Vigna <jug@sad.it>
5804 * tabular.[Ch]: better support for longtabular options (not finished
5807 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5809 * text.C (paintLastRow): use the label font instead of the font of
5810 the last character to compute the size of *_BOX. This makes more
5811 sense and avoids a crash with empty paragraphs.
5812 Use Painter::rectangle to draw EMPTY_BOX.
5814 2001-12-19 Juergen Vigna <jug@sad.it>
5816 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5817 the paragraphs if the replaced paragraph is not the first one!
5818 Tried to delete not used paragraphs but does not work yet so for
5819 now it's inside #ifdef's and by default off!
5821 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5823 * MenuBackend.C: include "lyx_main.h" instead of declaring
5824 lastfiles (actually was declared as LastFiles* instead of a
5827 2001-12-17 Juergen Vigna <jug@sad.it>
5829 * tabular.C (AppendColumn): applied John's fix
5831 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5835 * BufferView_pimpl.h:
5836 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5839 * box.h: new start of class for above
5841 * lyxfunc.C: ignore space-only minibuffer dispatches.
5842 Show the command name when it doesn't exist
5844 * minibuffer.C: don't add empty lines to the history
5846 * minibuffer.C: add a space on dropdown completion
5848 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5850 * text.C: fix line above/below drawing in insets
5852 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * lyxlength.C (LyXLength): Initialize private variables.
5856 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5859 when inserting error insets.
5861 2001-12-13 Juergen Vigna <jug@sad.it>
5863 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5864 actually sometimes the before-paragraph.
5865 (setUndo): don't clear the redostack if we're not actually undoing!
5867 2001-12-06 Juergen Vigna <jug@sad.it>
5869 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5870 and fixed redoing of main paragraph, so we can use it now ;)
5872 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5874 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5876 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5879 2001-12-13 André Pönitz <poenitz@gmx.net>
5882 * undo_func.C: minor cleanup
5884 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5886 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5887 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5888 font in urw-fonts package which is marked as -urw-fontspecific and
5889 does not work (incidentally, changing the encoding in the
5890 fonts.dir of this package to -adobe-fontspecific fixes the
5893 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5894 is a crash when undoing first paragraph (Juergen, please take a
5895 look). THis does not mean the undo fix is wrong, just that it
5898 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5899 the (Paragraph*) version when needed instead of duplicating the
5902 * text.C (workWidth): use Inset::parOwner to find out where the
5903 inset has been inserted. This is a huge performance gain for large
5904 documents with lots of insets. If Inset::parOwner is not set, fall
5905 back on the brute force method
5907 * paragraph_pimpl.C (insertInset):
5908 * paragraph.C (Paragraph):
5909 (cutIntoMinibuffer): set parOwner of insets when
5910 inserting/removing them
5912 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5914 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5920 * mathed/formulabase.C:
5921 * mathed/math_cursor.[Ch]:
5922 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5925 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * lyxlength.[Ch] (operator!=): new function
5929 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5931 * text.C (workWidth): use Inset::parOwner to find out where the
5932 inset has been inserted. This is a huge performance gain for large
5933 documents with lots of insets. If Inset::parOwner is not set, fall
5934 back on the brute force method
5936 * paragraph_pimpl.C (insertInset):
5937 * paragraph.C (Paragraph):
5938 (cutIntoMinibuffer): set parOwner of insets when
5939 inserting/removing them
5941 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5943 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5945 * tabular-old.C (getTokenValue):
5946 * tabular.C (getTokenValue):
5947 (write_attribute): new versions for LyXLength
5948 (everywhere): adjust the use of widths
5950 * tabular.h: change the type of widths from string to LyXLength
5952 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5954 * paragraph.C: fixed missing line number count when exporting
5955 Environments to LaTeX file
5957 * buffer.C: added informational message for checking line numbers.
5959 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5961 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5962 paragraph, do the 'double space' part, but not the 'empty
5965 * text.C (workWidth): small optimization
5966 (getLengthMarkerHeight): use minimal size for negative lengths.
5968 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5970 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5972 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5974 2001-12-11 André Pönitz <poenitz@gmx.net>
5977 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5979 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5981 * text2.C: keep selection on a setFont()
5983 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5985 * lyx_cb.C: another bv->text misuse, from insert label
5987 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5990 * kbsequence.C: re-instate nmodifier mask
5992 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5994 * lyx_main.h: make lyxGUI private.
5996 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5998 * lyxfind.C: place the cursor correctly on failed search
6000 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6002 * text.C (getLengthMarkerHeight): for small heights, the arrows
6003 are not always on top/bottom of the text
6004 (drawLengthMarker): smaller arrows; take the left margin in
6005 account; draw also vfills.
6007 (paintLastRow): remove special code for vfill and standard spaces,
6008 since everything is handled in drawLengthMarker now.
6010 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6012 * buffer.C (insertErtContents): try to handle font and language
6013 interaction a bit better.g
6015 * ColorHandler.C (updateColor): change the hash to cover the whole
6016 LColor enum, ws cleanup
6017 (getGCLinepars): ditto
6018 (getGCLinepars): only lookup in the linecache once.
6020 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6022 * iterators.C (operator++): Make the iterator more robust
6024 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6026 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6031 * text.C: better added space drawing
6033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6036 * BufferView2.C: fix layout combo update on inset unlock
6038 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6040 * Makefile.am: don't compile unused files
6042 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6046 * LyXAction.C: remove old LFUN_LAYOUTNO
6048 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6050 * paragraph_pimpl.h:
6051 * paragraph_pimpl.C: isTextAt() doesn't need font param
6053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6056 * lyxlex.C: little cleanup
6058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6060 * BufferView_pimpl.C: fix insertAscii for insets
6062 2001-12-05 Juergen Vigna <jug@sad.it>
6064 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6065 set the right font on the "multi" paragraph paste!
6067 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6073 * lyxlength.C: remove out-commented code.
6089 * vc-backend.C: change "while(" to "while ("
6091 * lyxlength.[Ch]: add zero function to check if length is zero or
6093 * lyxgluelength.C: use it
6095 2001-12-05 Allan Rae <rae@lyx.org>
6097 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6098 Works for 2.95.3, from what I understand of Garst's reports this should
6099 work for other g++ versions. We're screwed if the abs(int) definition
6100 changed between bugfix releases of gcc.
6102 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6104 * text.C: fix chapter label offset !
6106 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6109 * text.C: fix hfill at end of line, clean up
6111 2001-12-04 Juergen Vigna <jug@sad.it>
6113 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6114 that we force an update of the inset and it's owners if neccessary.
6116 2001-12-03 Juergen Vigna <jug@sad.it>
6118 * text.C (rowLast): simplified code
6120 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6122 * lyxfunc.C: fix show options on timeout
6124 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6126 * screen.C (topCursorVisible): scroll half a page when the cursor
6127 reached top of bottom of screen
6129 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6131 * minibuffer.C: deactivate on loss of focus
6133 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * vspace.[Ch] (operator!=): add operator.
6137 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6139 * BufferView_pimpl.C: refuse to open an inset when
6140 there's a selection.
6142 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6144 * BufferView_pimpl.C: allow to click on RHS of full row insets
6146 2001-11-30 Juergen Vigna <jug@sad.it>
6148 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6149 insets for undo reasons.
6151 2001-11-28 André Pönitz <poenitz@gmx.net>
6153 * vspace.[Ch]: cosmetical changes
6155 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6165 * kbsequence.C: part re-write of old kb code
6168 * WorkArea.C: remove Lgb_bug_find_hack
6170 2001-11-30 José Matos <jamatos@fep.up.pt>
6172 * buffer.C (makeDocBookFile): add a comment to point a hack.
6173 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6174 Fixed a double write of labels.
6176 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6179 * LaTeX.h Fixed bug in LaTeX class where it would not
6180 re-run latex if no depfiles were changed, but the .dvi was removed.
6182 2001-11-28 André Pönitz <poenitz@gmx.net>
6184 * all the files from the change on 2001/11/26:
6185 use lyx::layout_type instead of LyXTextClass::size_type
6186 use lyx::textclass_type instead of LyXTextClassList::size_type
6188 2001-11-29 Juergen Vigna <jug@sad.it>
6190 * text.C: added support for paragraph::isFreeSpacing()
6192 * buffer.C: same as above
6194 * paragraph.h: inserted isFreeSpacing() function to enable
6195 FreeSpacing inside InsetERT.
6197 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6198 of the paragraph's in the cut/copy buffer to 0!
6200 * text2.C (removeRow): remove the assert as it can!
6202 * lyxtext.h: added helper function firstRow returning firstrow and
6203 made firstrow private again.
6205 * BufferView2.C (lockInset): don't relock if we're already locked!
6207 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6209 (removeRow): added Assert::(firstrow)
6211 * debug.C: forgot to add INSETTEXT here.
6213 2001-11-28 Juergen Vigna <jug@sad.it>
6215 * sp_spell.C (initialize): changed error text to more general
6216 spellchecker command use (not only ispell!)
6218 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6220 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6224 * vspace.C: initialise lyxgluelength on failure
6226 2001-11-28 Allan Rae <rae@lyx.org>
6228 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6229 declaration & definition that looks like a function declaration.
6231 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * BufferView2.C (copy):
6234 (copyEnvironment): do not clear the selection when doing a copy.
6236 * text.C (paintFirstRow): compilation fix
6238 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6240 * tabular.C (Latex): correct line count when writing latex.
6242 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6244 * paragraph_pimpl.h:
6245 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6252 * LColor.C: change vfillline->added_space
6254 * text.C: add markers and text for added space
6256 * vspace.C: fix comment
6258 2001-11-28 André Pönitz <poenitz@gmx.net>
6260 * paragraph.C: whitespace changes
6261 * all the other files from the change on 2001/11/26:
6262 change *::pos_type into lyx::pos_type
6264 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6266 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6267 language of the document when inserting error insets.
6269 2001-11-26 André Pönitz <poenitz@gmx.net>
6271 * BufferView_pimpl.[Ch]:
6279 * paragraph_pimpl.[Ch]:
6282 * text2.C: reduce header dependencies, introduce type for positions
6284 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6286 * <various>: change to use Alert.h
6288 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6290 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6291 when encountering an unknown token.
6292 (readLyXformat2): Show an error message if there were unknown tokens.
6294 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6297 * BufferView_pimpl.C:
6301 * text2.C: use par->isInset()
6303 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6305 * paragraph_pimpl.h:
6306 * paragraph_pimpl.C: cleanup
6308 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6310 * text2.C (removeRow):
6311 * text.C (setHeightOfRow): remove useless (and costly) call to
6314 2001-11-20 Allan Rae <rae@lyx.org>
6316 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6317 Now need Inset*::checkInsertChar() to return true for appropriate
6318 cases so that the characters in the minibuffer will actually be
6321 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6323 * text.C: change the order of the includes.
6324 (workWidth): initialize it at once.
6325 (workWidth): make maxw unsigned
6326 (setHeightOfRow): remove unused variable (inset)
6327 (selectSelectedWord): remove unused variable (inset)
6328 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6330 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6333 server is not running.
6335 (closeConnection): add debug info when server is disabled.
6337 * ColorHandler.C (getGCForeground): send debug message to GUI
6340 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6342 * kbmap.C (bind): modify because return conventions of
6343 kb_sequence::parse have changed.
6345 * kbsequence.C (parse): only ignore spaces and not any stupid
6346 control character. This avoids tests like s[i] <= ' ', which are
6347 guaranteed to fail with 8bit characters and signed chars.
6348 Change return code to string::npos when there have been no error
6349 (0 was a bad idea when error is at first character)
6351 2001-11-14 José Matos <jamatos@fep.up.pt>
6354 * buffer.C (simpleDocBookOnePar): removed unused argument.
6356 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6358 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6359 insets which are part of a word. Paragraph::isLetter takes care of
6360 that now. Use Paragraph::isInset to identify insets.
6361 (selectSelectedWord): do not test for hyphenation break.
6363 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6364 that protected spaces are considered as spaces.
6366 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6369 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6372 * lyxserver.C: fix it. and small cleanup.
6374 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6376 * BufferView_pimpl.C: use inline helpers
6379 * LaTeXFeatures.C: fix typos
6382 * Spacing.C: move spacing_string into class
6384 * ToolbarDefaults.C: move stuff into namespace anon
6386 * layout.h: update enum
6388 * lyxfunc.C: use better debug
6390 * minibuffer.h: fix typo
6394 * WorkArea.C: add and use Debug::WORKAREA
6398 * text2.C: code re-organisation, inline helpers
6400 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6402 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6403 std::vector.empty().
6405 2001-11-09 Allan Rae <rae@lyx.org>
6407 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6408 '\n's after tables. Tabular and ERT inset work now makes this no
6411 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6414 * minibuffer.C: fix crash, improve drop-down completion
6416 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6419 * lyxserver.C: invalidate fd's when doing endPipe()
6421 2001-11-08 José Matos <jamatos@fep.up.pt>
6423 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6424 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6427 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6429 2001-11-07 José Matos <jamatos@fep.up.pt>
6432 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6435 * buffer.C (sgmlOpenTag):
6436 * buffer.C (sgmlCloseTag): removed debug info.
6438 * buffer.h (sgmlOpenTag):
6439 * buffer.h (sgmlCloseTag): made public.
6441 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6443 * buffer.C (saveParamsAsDefaults):
6444 * lyx_cb.C (MenuLayoutSave): remove
6446 * LyXAction.C (init):
6448 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6450 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6452 * buffer.C (setPaperStuff): removed from here...
6454 * bufferparams.C (setPaperStuff): ... and moved there.
6456 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6460 * XFormsView.C: add support for drop-down completion
6462 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6464 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6467 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6469 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6472 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6474 * lyx_main.C: change ref to known bugs
6476 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6478 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6479 to work around older babel problems.
6481 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6483 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6485 2001-10-24 Juergen Vigna <jug@sad.it>
6487 * tabular-old.C (ReadOld): below variable changes reflected.
6489 * tabular.[Ch]: added ltType struct for longtable header/footer
6490 defines and changed all instances where they are used. Added
6491 future support for double top/bottom rows.
6493 2001-10-24 José Matos <jamatos@fep.up.pt>
6495 * buffer.h (docbookHandleCaption):
6496 * buffer.C (docbookHandleCaption): removed unused function.
6497 (makeDocBookFile): moved docbook supported version to v4.1.
6499 2001-10-24 José Matos <jamatos@fep.up.pt>
6502 * tabular.C (docbookRow): new function to export docbook code of a row.
6503 (DocBook): now honors the longtable flags.
6505 2001-10-23 José Matos <jamatos@fep.up.pt>
6508 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6509 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6511 * buffer.C (makeLinuxDocFile):
6512 (makeDocBookFile): reworked the preamble, more clean, and with
6513 support for lyx defined entities. Changed the document declaration
6514 to be more XML friendly.
6516 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6517 if we need to output XML that should be done with a filter.
6519 2001-10-22 Juergen Vigna <jug@sad.it>
6521 * sp_pspell.h (class PSpell): add alive function needed in the
6522 controller to see if the spellchecker could be started.
6524 2001-10-22 Juergen Vigna <jug@sad.it>
6526 * buffer.C (insertStringAsLines): modify the font for inserting
6527 chars in certain conditions by calling checkInsertChar(font).
6529 2001-10-19 Juergen Vigna <jug@sad.it>
6531 * text.C (workWidth): use getRow instead of wrong algorithm.
6532 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6534 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6539 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6541 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6543 * text.C (workWidth): do not search for the exact row when
6544 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6545 optimization for big documents.
6547 2001-10-18 Juergen Vigna <jug@sad.it>
6549 * text.C (workWidth): new function with added Inset * parameter.
6551 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6553 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6555 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6556 change return type of getColumnNearX.
6559 * text.C (changeRegionCase): use uppercase/lowercase instead of
6562 (rightMargin): simplify code by factoring out the uses of
6567 (appendParagraph): use Paragraph::size_type
6569 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6571 * vspace.C (asLatexString): add a missing break
6573 2001-10-15 Herbert Voss <voss@perce.de>
6575 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6577 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6579 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6582 2001-10-10 André Pönitz <poenitz@gmx.net>
6584 * lyxfunc.C: removed greek_kb_flag.
6586 2001-10-10 Herbert Voss <voss@perce.de>
6588 * lyx_main.C: delete global string help_lyxdir.
6590 2001-10-09 Herbert Voss <voss@perce.de>
6592 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6594 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6596 * lyx_main.C: added global string help_lyxdir.
6598 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6600 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6602 * lyxrc.C (set_font_norm_type): support iso8859-4
6604 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6606 * LaTeX.C (deplog): add another regex for MikTeX
6608 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6610 * lyxrc.C (set_font_norm_type): support iso8859-3
6612 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6614 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6616 * LaTeXFeatures.C: remove special case of french and index
6618 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6619 before \begin{document}). This solves several incompatibilities.
6621 2001-10-03 Garst Reese <reese@isn.net>
6623 * lyx_cb.C: change CheckTex error msg.
6625 2001-10-03 José Matos <jamatos@fep.up.pt>
6627 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6629 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * .cvsignore: update
6633 * lyx_main.C (commandLineVersionInfo): use new style version info.
6635 * buffer.C (writeFile):
6638 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6640 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6642 * version.h: update to use stuff in version.C
6644 * version.C.in: new file. Contains version information determined
6645 at compile time. This is a merging of version.h and
6648 2001-10-03 Juergen Vigna <jug@sad.it>
6650 * BufferView_pimpl.C (update): don't change "dirty" status in
6653 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6655 * WorkArea.C (c-tor): re-position version string slightly.
6657 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6659 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6660 revert to previous code.
6662 WorkArea.[Ch]: (show, destroySplash): methods removed.
6664 WorkArea.C: rework code so that it's an amalgam of the codes before and
6665 after the splash screen was moved to WorkArea.
6667 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6670 * vspace.C (inPixels):
6673 * buffer.C (insertStringAsLines):
6674 (asciiParagraph): fix types to be large enough
6676 * lyxlex_pimpl.h: change member status from short to int
6678 * layout.h: fix type of endlabeltype
6681 * kbsequence.C (parse): change return type to string::size_type
6683 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6686 * Bullet.C (bulletSize):
6687 (bulletEntry): do not use short ints as parameters
6689 * BufferView2.C (insertLyXFile): change a char to an int.
6691 * WorkArea.C (WorkArea): remove unneeded floats in computation
6693 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6695 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6697 * paragraph.C (asString): Do not ignore newline/hfill chars when
6698 copying to the clipboard.
6700 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6702 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6703 after a multi-line inset.
6705 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6707 * paragraph.C (validate): Set NeedLyXFootnoteCode
6709 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6711 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6712 and decrease-error to decrease.
6714 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6717 it more readable (should be equivalent)
6719 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6721 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6723 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6725 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6726 of a cursor (row, etc.) after a character has been deleted
6727 (deleteEmptyParagraphMechanism): call the method above on _all_
6728 cursors held by the LyXText when a double space has been
6731 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6733 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6735 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6737 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6738 background. Use greyOut() and the new show() methods to toggle between
6739 the foreground and background. Add code to remove the splash after
6740 its initial showing.
6742 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6743 (create_forms): no longer call Dialogs::showSplash.
6745 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6747 * .cvsignore: add version_info.h
6749 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * version_info.h.in: new file
6753 * Makefile.am: add version_info.h.in
6755 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6756 version_info.h instead of VERSION_INFO
6758 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6760 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6761 The ERT inset now returns string().
6763 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6765 * lyxtext.h, text.C (selectNextWord): renamed as
6766 selectNextWordToSpellcheck.
6768 * text.C (selectNextWordToSpellcheck): Modified to not select
6769 words inside an ERT inset.
6771 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6773 * lyx_cb.C (MenuLayoutSave): change a bit the question
6775 * sp_base.h: include <sys/types.h>
6777 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6779 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6781 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6783 * several files: fix typos in user-visible strings
6785 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6787 * text2.C (pasteSelection): do not set the selection, since it
6788 will be cleared later. Actually, the intent was to fix the way the
6789 selection was set, but I figured rmoving the code was just as good.
6791 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6793 * FontLoader.C (available): Check if font is available without
6796 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6798 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6800 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6802 * lyxrc.[Ch]: added display_graphics variable and associated code.
6804 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6806 * bufferparams.C (hasClassDefaults): new method. Returns true if
6807 the buffer parameters correspond to known class defaults
6809 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6811 * XFormsView.C (show): set minimum size to the main window.
6813 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6815 * text2.C (copySelection):
6817 * lyxfind.C (LyXReplace):
6818 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6819 LyXText::selectionAsString.
6821 * paragraph.C (asString): add "label" argument to the second form
6823 * text2.C (selectionAsString): add "label" argument and pass it to
6824 Paragraph::asString.
6826 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6828 * lyx_main.C (commandLineHelp): remove version information
6830 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6832 * lyx_main.C: add -version commandline option
6834 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6836 * paragraph.h: make the optional constructor arg required instead.
6837 some modifications to other files because of this.
6839 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6841 * lyxserver.C (C_LyXComm_callback): make it static
6843 * lyx_main.C (error_handler): make it static
6845 * lyx_gui.C (LyX_XErrHandler): make it static
6847 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6849 * WorkArea.C: make the extern "C" methods static.
6851 * Makefile.am (lyx_LDADD): simplify
6853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6855 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6856 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6858 * LyXAction.C (init):
6859 * lyxfunc.C (dispatch): associated code removal.
6861 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6863 * lyxfont.h (isSymbolFont): shut off warning
6865 * text.C (setHeightOfRow):
6866 (getVisibleRow): fix crash with empty paragraphs which have a
6869 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6871 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6874 2001-09-04 José Matos <jamatos@fep.up.pt>
6877 * tabular.C (docbook): rename docBook method to docbook.
6879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6881 * Makefile.am: add dependencies to main.o.
6883 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6885 * FontLoader.C (available): Return false if !lyxrc.use_gui
6887 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6889 * FontInfo.C (query):
6890 * converter.C (view):
6891 * importer.C (Import):
6892 * exporter.C (Export): Can not -> cannot.
6894 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6896 * BufferView_pimpl.C: allow to create index inset even if
6899 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6901 * buffer.C (getLists): replace boost::tie code with an explicit pair
6902 as boost::tie can break some compilers.
6904 * iterators.h: Added a std:: declaration to the return type of
6907 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6909 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6912 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6914 * iterators.[Ch]: New files. Provide paragraph iterators.
6916 * buffer.C (changeLanguage): Use paragraph iterators.
6917 (isMultiLingual): ditto
6919 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6921 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6923 * FontLoader.C: Support for cmr font.
6925 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6927 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6928 (available): New method.
6930 * FontInfo.C (getFontname): Use scalable fonts even when
6931 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6934 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6936 * converter.C (Formats::view): reverted! Incorrect fix.
6938 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6940 * converter.C (Formats::view): only output the -paper option
6941 if the dvi viewer is xdvi, thereby fixing bug #233429.
6943 2001-08-23 Herbert Voss <voss@perce>
6945 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6947 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6949 * Spacing.h (Spacing): Set space to Default on in the default
6952 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * vc-backend.h (RCS::versionString): add RCS to version
6955 (CVS::versionString): add CVS to version
6957 * vc-backend.C (scanMaster): do not add CVS to version.
6958 (scanMaster): do not add RCS to version
6960 * lyxvc.C (versionString): new method
6962 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6964 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6966 * Spacing.C (set): initialize fval
6968 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6970 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6973 2001-08-16 Juergen Vigna <jug@sad.it>
6975 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6977 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6979 * BufferView_pimpl.C:
6982 * text2.C: setParagraph takes linespacing now
6984 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6986 * LyxAction.C: add internal LFUN_CITATION_INSERT
6988 * LyXView.C: actually apply fix
6990 * bufferlist.C: fix open non-existent file
6992 * lyxfind.C: fix indentation
6994 * lyxfunc.C: remove unneeded assert, fix typo
6996 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6998 * MenuBackend.C: use "Floatname List"
7000 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7002 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7003 when converting LaTeX layout to insetERT.
7004 Generate a non-collapsed float when reading old float
7006 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7008 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7011 2001-08-13 Juergen Vigna <jug@sad.it>
7013 * text.C (fill): return 0 instead of 20 as this seems to be the more
7016 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7018 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7021 2001-08-13 Juergen Vigna <jug@sad.it>
7023 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7025 (SearchBackward): comment out the unlocking of the inset_owner this
7026 should not be needed!
7028 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7030 * Many files: Remove inherit_language, and add latex_language
7032 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7035 2001-08-10 Juergen Vigna <jug@sad.it>
7037 * text.C (prepareToPrint): fixed hfill-width in draw!
7039 * BufferView2.C (selectLastWord): save the selection cursor as this
7040 now is cleared in the function LyXText::clearSelection!
7042 2001-08-08 Juergen Vigna <jug@sad.it>
7044 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7045 BACKSPACE type functions.
7047 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7048 is only cutted from the document but not put in the cut-buffer, where
7049 still the old stuff should be.
7051 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7053 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7055 * tabular.C (SetWidthOfCell): fixed special case where the width
7057 (LeftLine): handle '|' in align_special.
7059 (LeftAlreadyDrawed): ditto
7060 (SetWidthOfCell): ditto
7062 2001-08-07 Juergen Vigna <jug@sad.it>
7064 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7066 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7069 * lyxlex.[hC]: ditto
7071 2001-08-06 Juergen Vigna <jug@sad.it>
7073 * text.C (getVisibleRow): fix up row clearing a bit.
7075 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7077 * minibuffer.C: make sure the X server sees the changes in the input.
7079 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7081 * paragraph.C (getFont): split into...
7082 (getLabelFont): this
7083 (getLayoutFont): and this
7084 * paragraph_pimpl.C (realizeFont): calling this
7086 * text2.C (getFont): split into...
7087 (getLayoutFont): this
7088 (getLabelFont): and this
7089 (realizeFont): all three calling this
7091 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7094 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7096 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7098 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7100 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7101 layouts from the Quote inset insertion.
7103 2001-08-03 Juergen Vigna <jug@sad.it>
7105 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7107 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7108 only if status not is already CHANGED_IN_DRAW (second level).
7110 * text.C (draw): don't set the need_break_row when inside an
7113 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * buffer.C (parseSingleLyXformat2Token): handle more latex
7118 * bufferview_funcs.[hC]: change function names to
7119 begin with small char, adjust other files.
7121 2001-08-02 André Pönitz <poenitz@gmx.net>
7124 BufferView_pimpl.C: remove broken special code for math-greek
7126 2001-08-02 Juergen Vigna <jug@sad.it>
7128 * BufferView_pimpl.C (update): redone this function so that we
7129 update the text again if there was a CHANGE_IN_DRAW.
7131 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7132 (drawFromTo): added a new internal bool which is used by draw() and
7134 (general): some cursor drawing problems fixed.
7136 2001-08-01 Juergen Vigna <jug@sad.it>
7138 * lyxfind.C (LyXFind): fixed
7139 (SearchForward): ditto
7140 (SearchBackward): ditto
7142 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7143 spurius drawing of the cursor in the main area.
7145 * text2.C (status): small fix which could lead to a segfault!
7146 (clearSelection): remove unneeded BufferView param.
7148 2001-08-01 André Pönitz <poenitz@gmx.net>
7150 * lyxfunc.C: small change due to changed mathed interface
7152 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7154 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7156 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7158 * lyxfunc.c: fail gracefully if file doesn't exist
7163 * BufferView_pimpl.C: IsDirWriteable() proto changed
7165 * LyXView.C: fix updateWindowTitle() to store the last title
7167 2001-07-31 Juergen Vigna <jug@sad.it>
7169 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7170 the font (wrong since using of Paragraph::highestFontInRange).
7172 * paragraph.C (highestFontInRange): added a default_size parameter.
7174 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7175 (setHeightOfRow): reformat
7177 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7179 * converter.[hC] + affected files: move to (inital-char)lowercase
7182 * ParagraphParameters.C (ParagraphParameters): remove commented code
7184 * PainterBase.[Ch]: remove commented code
7186 * LaTeXFeatures.h: add "bool floats" for float.sty
7188 * LaTeXFeatures.C (LaTeXFeatures): init floats
7189 (require): handle float
7190 (getPackages): do it with floats
7192 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7194 * BufferView_pimpl.C (Dispatch): improve handling of
7195 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7197 * commandtags.h: #include lyxfont.h here temporarily to avoid
7200 * bufferlist.h: include LString.h here.
7202 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7204 * text2.C (getStringToIndex): new method.
7206 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7208 * *: Reduced header file dependencies all over.
7210 2001-07-30 Baruch Even <baruch@lyx.org>
7212 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7214 2001-07-29 Baruch Even <baruch@lyx.org>
7216 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7218 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * ParameterStruct.h (endif): add a default constructor to make
7221 sure that all variables is initialized.
7223 * ParagraphParameters.C (ParagraphParameters): adjust
7225 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7228 index; also, check that there is something to index, and that it
7229 does not span over several paragraphs.
7230 (doubleClick): use WHOLE_WORD_STRICT for double click.
7232 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7234 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7237 2001-07-26 Baruch Even <baruch@lyx.org>
7239 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7240 an InsetFig figure, backwards compatible reading of old figure code.
7242 2001-07-27 Juergen Vigna <jug@sad.it>
7244 * text2.C: font.realize function adaption.
7246 * text.C (draw): add a warnings lyxerr text if needed.
7248 * layout.C: font.realize function adaption.
7250 * language.C: add inherit_language and implement it's handlings
7252 * bufferview_funcs.C (StyleReset): remove language parameter from
7253 font creation (should be language_inherit now).
7255 * bufferparams.C (writeFile): handle ignore_language.
7257 * paragraph.C (getFontSettings): the language has to be resolved
7258 otherwise we have problems in LyXFont!
7260 * lyxfont.C (lyxWriteChanges): added document_language parameter
7261 (update): removed unneeded language parameter
7263 * paragraph.C (validate): fixed wrong output of color-package when
7264 using interface colors for certain fonts in certain environments,
7265 which should not seen as that on the final output.
7267 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7269 * BufferView_pimpl.C:
7274 * LyXAction.C: add thesaurus support
7277 * lyxfind.C: add "once" parameter, for thesaurus, to not
7278 move to the next match
7280 2001-07-26 Juergen Vigna <jug@sad.it>
7282 * lyxfont.C (realize): honor ignore_language too!
7285 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7287 * text.C (draw): one place more for ignore_language to not draw
7290 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7292 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7294 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7297 the minipage conversion problem.
7299 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7304 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * BufferView.h: don't forward declare WorkArea
7308 * BufferView.C: don't include WorkArea.h
7310 2001-07-25 André Pönitz <poenitz@gmx.net>
7314 * lyxfunc.C: new LFUN 'math-space'
7316 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7318 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7320 * text2.C (toggleInset): call open/close
7322 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7324 * lyxfunc.C (dispatch): add debug for the disabled case
7326 * font.C (buttonText): make similar to rectText
7328 * buffer.C (readInset): comment out parsing of insetlist and
7331 * PainterBase.C (rectText): small correction
7333 * BufferView_pimpl.C: comment out insettheorem and insetlist
7334 * LyXAction.C: ditto
7335 * commandtags.h: ditto
7337 2001-07-24 Juergen Vigna <jug@sad.it>
7339 * text.C (draw): honor the ignore_language.
7341 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7343 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7345 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7348 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7350 * lyxtext.h: remove unused (and unimplemented) methods
7352 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7354 * text.C (getVisibleRow): honor background color
7357 * Painter.h: remove default color argument for fillRectangle
7359 * text.C (backgroundColor): new method
7361 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7363 * text.C (getVisibleRow): adjust
7365 * font.[Ch] (rectText): new method, metrics
7366 (buttonText): new method, metrics
7368 * PainterBase.[hC]: make rectText and buttonText always draw and take
7371 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7373 * ToolbarDefaults.C (read):
7374 * MenuBackend.C (read): allow escaping in all strings
7376 * BufferView_pimpl.C (insertAndEditInset): new method.
7377 (Dispatch): use insertAndEditInset whenever appropriate.
7379 * BufferView_pimpl.C (insertNote): removed
7381 * BufferView_pimpl.C (smartQuote): new method, moved from
7382 BufferView; if an insetquote cannot be inserted, insert a '"'
7385 * BufferView2.C: remove insertCorrectQuote();
7387 * lyxfunc.C (getStatus): Add support for all remaingin
7390 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7392 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7393 command (necessary to pass " as parameter of self-insert.
7395 * text.C (selectWordWhenUnderCursor):
7396 (selectWord): add word_location parameter
7397 (selectWordWhenUnderCursor): same + remove special code for word
7399 (selectNextWord): use kind() to guess type of insetspecialchar,
7402 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7403 (insertErtContents): create ert insets as collapsed.
7404 (readInset): better compatibility code for Info inset.
7406 2001-07-20 Juergen Vigna <jug@sad.it>
7408 * lyxfunc.C (dispatch): use always LyXFind now!
7410 * text2.C (init): add a reinit flag so that the LyXText can be
7411 reinited instead of deleted and reallocated (used in InsetText).
7413 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7419 2001-07-18 Juergen Vigna <jug@sad.it>
7421 * text.C (selectNextWord): handle insets inside inset by calling
7422 always the bv->text functions so that we can go up the_locking_inset!
7424 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7425 in strange locations when inside an inset!
7427 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7428 handling to include insets.
7430 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7432 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7434 * LyXAction.C (init):
7436 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7437 LIGATURE_BREAK, since the name is so stupid.
7439 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7441 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7444 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7446 * sp_form.[Ch]: remove.
7448 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7450 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7453 * src/buffer.C (readInset): ditto.
7455 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7457 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7458 menuSeparator(), endOfSentenceDot(), ldots() and
7459 hyphenationPoint(), which are therefore removed.
7460 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7462 * LyXAction.C (init):
7463 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7465 * paragraph.C (getWord): removed.
7467 * BufferView_pimpl.C (Dispatch): use last word or selection for
7468 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7470 * lyx_main.C (queryUserLyXDir): do not ask before creating
7471 user_dir, except if it has been named explicitely.
7473 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7475 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7476 a document of zero size.
7478 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7480 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7481 approriately in the c-tor and in require().
7482 (getPackages): output the appropriate LaTeX for natbib support.
7484 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7485 variables "use_natbib" and "use_numerical_citations" when reading the
7487 (readInset): read the various natbib cite commands.
7488 (validate): white-space change.
7490 * bufferparams.[Ch]: new variables "bool use_natbib" and
7491 "bool use_numerical_citations".
7492 (writeFile): output them in the LyX file.
7494 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7496 * lyxfunc.C (getStatus): add support for all the inset insertion
7499 * text2.C (insertInset):
7500 * paragraph.C (insetAllowed):
7501 * BufferView_pimpl.C (insertInset): update to take in account the
7502 renaming of insertInsetAllowed
7504 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7506 * text2.C (getInset): new method. returns inset at cursor position.
7508 * BufferView_pimpl.C (Dispatch): changes because of this.
7510 * LyXAction.C (init): rename open-stuff to inset-toggle.
7512 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7514 * text2.C (toggleInset): renamed from openStuff; use
7517 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7519 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7521 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7523 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7525 * buffer.C (readLyXformat2): Add filename to the error dialog
7527 2001-07-18 Juergen Vigna <jug@sad.it>
7529 * tabular.C (GetCellNumber): put an assert here instead of the check!
7531 2001-07-17 Juergen Vigna <jug@sad.it>
7533 * BufferView_pimpl.C (toggleSelection): adapted too.
7535 * text.C (selectNextWord): adapted for use with insets.
7536 (selectSelectedWord): ditto
7538 2001-07-17 Juergen Vigna <jug@sad.it>
7540 * sp_spell.C (PSpell): fix initialitation order.
7542 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7544 * paragraph.C: spacing
7546 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7548 * sp_spell.C: repair language selection for pspell
7550 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7552 * lyxfunc.h: change more methods to begin with lower char.
7554 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7556 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7557 for unknown layouts.
7559 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7561 * buffer.C (readLyXformat2): Generate an error dialog if there are
7564 2001-07-16 Juergen Vigna <jug@sad.it>
7566 * sp_spell.C: always compile ISpell part.
7568 * lyxrc.C: added use_pspell entry and it's handling.
7570 2001-07-13 Juergen Vigna <jug@sad.it>
7572 * sp_spell.C: removed double includes.
7574 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7576 Consistent use of Lsstream.h:
7577 * Lsstream.h: added using std::stringstream for consistencies sake.
7579 * buffer.C: removed using std::stringstream
7581 * lyxfont.C (stateText):
7582 * paragraph.C (asString):
7583 * text.C (selectNextWord, selectSelectedWord):
7584 * text2.C (setCounter):
7585 * vspace.C (asString, asLatexString):
7586 std::ostringstream -> ostringstream.
7588 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7590 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7591 * commandtags.h: add LFUN_HELP_ABOUTLYX
7592 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7594 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7596 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7598 * lyx_gui_misc.C: remove spellchecker
7599 * lyxfunc.C: showSpellchecker
7601 * sp_ispell.h: added
7602 * sp_pspell.h: added
7604 * sp_form.[Ch]: removed
7605 * spellchecker.[Ch]: removed
7607 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7609 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7611 (simpleTeXSpecialChars): Simply print the input character without
7612 any special translation if pass_thru is set.
7614 * layout.h: Added bool pass_thru to layout class for being able to
7615 implement pass through of a paragraph for Literate Programming.
7617 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7618 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7619 * layout.C (Read): add "passthru" to list of layout tags and add
7620 code to set the pass_thru boolean when it is read.
7622 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * trans_decl.h: remove allowed from KmodInfo
7626 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7630 * paragraph_pimpl.C (erase): use boost::prior
7632 * Painter.C (text): use data() instead of c_str() when length is
7634 * WorkArea.C (putClipboard): ditto
7635 * font.h (width): ditto
7637 * BufferView2.C: use it-> instead of (*it). for iterators
7639 * paragraph_pimpl.C: ditto
7640 * paragraph.C: ditto
7641 * minibuffer.C: ditto
7646 * converter.C: ditto
7648 * Variables.C: ditto
7649 * TextCache.C: ditto
7650 * MenuBackend.C: ditto
7651 * LyXAction.C: ditto
7653 * FloatList.C: ditto
7655 * ColorHandler.C (LyXColorHandler): ditto
7657 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7659 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7661 * text2.C (openStuff): reintroduce this method (which had been
7662 nuked in NEW_INSETS frenzy).
7664 * lyxfunc.C (Dispatch): when an action has not been handled, use
7665 its name in the error message, not its number.
7667 * paragraph.C (inInset): change method name to begin with lowercase.
7670 * text2.C: updates because of this.
7672 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * ToolbarDefaults.C (add): add spaces in error message
7676 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7678 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7679 (readLyXformat2): rename return_par to first_par, use lyxlex's
7680 pushToken and remove the manual push handling.
7681 (parseSingleLyXformat2Token): add another ert comp. variable:
7682 in_tabular, rename return_par to first_par. handle newlines better
7684 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7686 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7688 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7690 * text2.C (getParFromID): removed
7692 * buffer.C (getParFromID): new method moved form lyxtext.
7693 * BufferView2.C (insertErrors): adjust
7694 (setCursorFromRow): adjust
7695 * BufferView_pimpl.C (restorePosition): adjust
7696 * lyxfunc.C (Dispatch): adjust
7697 * undo_funcs.C (textUndo): adjust
7699 (textHandleUndo): adjust
7700 (textHandleUndo): adjust
7702 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * buffer.C: up' the LYX_FORMAT
7706 * lyxfont.h: turn NO_LATEX on as default
7708 * buffer.C (insertErtContents): new methods of tex style compability.
7709 (parseSingleLyXformat2Token): use it several places.
7710 * tabular.C (OldFormatRead): and here
7712 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * text2.C: remove some commented code.
7717 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7718 * trans.C: changes because of the above.
7720 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7722 * text2.C (setCounter): Fix counters bug with bibliography layout.
7724 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7726 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7727 own member functions
7728 (simpleTeXSpecialChars): ditto
7730 2001-07-06 Juergen Vigna <jug@sad.it>
7732 * a lot of files: changed the access to LyXText::status and the
7733 call of undo-functions.
7735 * undo.[Ch]: added a inset_id to the undo informations.
7737 * undo_funcs.[Ch]: added and moved here all undo functions.
7739 * lyxtext.h: give the status enum a weight, made status_ a private
7740 variable and made accessor functions for it, removed the whole bunch
7741 of undo-functions as they are now in their own file, make some
7742 functions publically available. Added function ownerParagraph with
7745 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7746 made InInset() a const function, added getParFromID() function.
7748 * buffer.[Ch]: added const version for inset_iterator functions,
7749 added getInsetFromID() function.
7751 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7752 changed undo functions for new version.
7754 2001-07-05 Juergen Vigna <jug@sad.it>
7756 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7757 unknow mechanism does not call the proper constructor but only this
7758 one also if I request the other!?
7760 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7764 * text2.C (LyXText): use initialization lists.
7766 * lyxtext.h (Selection): initialize set_ and mark_
7767 (init): remove method
7769 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7771 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7773 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7775 * screen.[Ch]: change method names to begin with lowercase
7777 * BufferView_pimpl.C (updateScrollbar): simplify further and
7778 hopefully make it a bit faster.
7780 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7782 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7783 calling directly xforms functions.
7785 * Painter.C (Painter):
7786 * lyx_cb.C (MenuWrite):
7787 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7790 * lyx_gui.C: remove bogus guiruntime extern declaration.
7792 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7794 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7796 (redoDrawingOfParagraph): ditto
7797 (redoParagraphs): ditto
7798 (cutSelection): don't create a object for CutAndPaste use the
7799 static method directly
7800 (pasteSelection): ditto
7802 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7805 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7807 * modifications to some other files because of this.
7809 * Makefile.am (lyx_SOURCES): add XFormsView
7811 * XFormsView.[Ch]: new files
7813 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7814 the main window. Move the gui dependent stuff to XFormsView
7816 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7818 * tabular.C (GetCellInset): update cur_cell also in the row/col
7819 version of this function.
7821 * lyxfunc.C: no need to include figure_form.h here.
7827 * lyxvc.C: no need to include forms.h here.
7829 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7831 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7833 * lyxfunc.C (Dispatch):
7835 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7836 constructor argument.
7838 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7840 * paragraph.C (Paragraph): dont't clear, and just set layout.
7841 (makeSameLayout): use params's copy contructor.
7843 * ParagraphParameters.[Ch] (makeSame): delete method
7845 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7847 * Variables.[Ch]: fix indentation, rename set to isSet
7849 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7851 * lyxfunc.C (Dispatch): fix typo
7853 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7855 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7858 * bufferlist.C: include assert.h for emergencyWrite().
7860 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7862 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7863 give up at last (bug #425202) !
7865 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7871 * spellchecker.C: strip spellchecker options and bring up
7872 preferences tab instead
7874 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7876 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7877 the istringstream constructor
7879 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7881 * paragraph.C (getLayout): fix return value
7883 * paragraph.h: do not declare getLayout as inline.
7885 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7887 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7889 * lyxcursor.h (operator<): new func
7890 (operator>): new func
7891 (operator>=): new func
7892 (operator<=): new func
7894 * text.C (changeCase): use selection.start and selection.end
7895 (changeRegionCase): require from to be <= to. Require par to be a
7898 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7900 2001-06-27 Juergen Vigna <jug@sad.it>
7902 * text.C (cursorLeftOneWord): changed to return the cursor and added
7903 overlay with BufferView * parameter which calls this one.
7905 (selectWord): use new getWord function.
7906 (changeCase): renamed from changeWordCase as and extended to work
7909 * lyxtext.h: added enum word_location
7911 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7912 changeCase as this operates now also on selections.
7914 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7916 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7918 * many files: send debug output to Debug::INFO instead of
7921 * converter.C (View):
7923 (Move): send debug output to Debug::FILES instead of console.
7925 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7927 * lyxfunc.C (getStatus): use func_status
7929 * func_status.h: new header, describing the results of
7932 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7935 2001-06-25 The LyX Project <jug@sad.it>
7937 * buffer.C (sgmlOpenTag):
7939 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7941 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7943 * text2.C: remove some dead code
7945 * tabular.C (GetCellInset): store the last cell checked (gotten)
7947 * tabular.h: add the helper for the speedup
7949 * lyxtext.h: remove some dead code
7951 2001-06-26 The LyX Project <Asger>
7953 * paragraph.C: Change export to LaTeX of alignment to
7954 \begin{center} and family for better roundtrip work with reLyX.
7956 * Tune the math drawing a bit.
7958 2001-06-25 The LyX Project <Asger>
7960 * LColor.C (LColor): New color for math background. New color
7963 2001-06-25 The LyX Project <jug@sad.it>
7965 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7968 * bufferlist.C (newFile): do not restrict to files ending with
7971 * BufferView_pimpl.C (MenuInsertLyXFile):
7973 2001-06-24 The LyX Project <jug@sad.it>
7975 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7978 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7980 * lyxtext.h: rename most methods to begin with a small char.
7981 Lots of changes because of this.
7983 * paragraph.C (Paragraph): do not call fitToSize
7984 (erase): call Pimpl::erase
7985 (insertChar): call Pimpl::insertChar
7986 (insertInset): call Pipl::insertInset
7987 (breakParagraph): do not call fitToSize
7988 (breakParagraphConservative): do not call fitToSize
7989 (fitToSize): remove method
7991 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7993 2001-06-24 The LyX Project <Asger>
7995 * Fix Qt compilation^2
7997 2001-06-24 The LyX Project <jug@sad.it>
7999 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8000 depthHook(getDepth()-1).
8003 * ParagraphParameters.h:
8004 * ParameterStruct.h: change type of depth to unsigned int ==
8005 depth_type. Many adaptations to other files before of that.
8007 2001-06-24 The LyX Project <Asger>
8009 * Fix Qt compilation.
8011 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8013 * paragraph.h: renamed several methods to begin with small letter.
8014 several changes to many parts of the code because of this.
8016 2001-06-23 The LyX Project <jug@sad.it>
8018 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8019 rewritten to discard all double spaces when KeepEmpty is off
8020 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8021 to only handle newlines but not fiddle with spaces and friends.
8023 * lyxfunc.C (MenuNew): when doing 'new from template', use
8024 template_path as default directory
8026 2001-06-23 The LyX Project <Asger>
8028 * Clean-up of header file includes all over
8029 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8031 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8033 * paragraph.h: renamed from lyxparagraph.h
8035 2001-06-23 Asger <lyx@violet.home.sad.it>
8037 * Buffer.h: Removed Buffer::resize
8038 * BufferList.h: Removed BufferList::resize
8039 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8040 the document lazily when we change the width, or the font settings.
8042 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8044 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8046 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8048 * buffer.h: remove out of date comment
8050 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8053 * screen.C: fix "theoretical" GC leak
8055 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8057 * LaTeX.C (scanAuxFile):
8058 (deplog): remove trailing \r when reading stream (useful under
8061 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8063 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8064 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8065 and BufferView::theLockingInset(Inset*), so should use them and not
8066 access bv_->text->the_locking_inset directly.
8068 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8070 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8073 * tex-defs.h: remove old unused file
8075 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8077 * BufferView_pimpl.C: fix typo, remove minibuffer message
8078 when buffer has loaded
8080 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8082 * lyxfunc.C (Dispatch): use stringstream
8083 (MenuNew): use stringstream
8084 (Open): use stringstream
8086 * importer.C (Import): use stringstream
8088 * bufferview_funcs.C (CurrentState): use stringstream
8090 * LaTeX.C (run): use stringstream
8092 * BufferView_pimpl.C (savePosition): use stringstream
8093 (restorePosition): use stringstream
8094 (MenuInsertLyXFile): use stringstream
8096 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8109 * vspace.C: removed // -*- C++ -*- as first line.
8112 * version.h: added // -*- C++ -*- as first line.
8114 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8116 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8118 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8121 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8123 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8126 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8128 * gettext.C: include LString.h even when --disable-nls is on.
8130 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8132 * converter.h (Get): changed argument type from int to
8133 FormatList::size_type to avoid unnecessary conversion.
8135 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8138 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * gettext.h: include LString.h even when --disable-nls is on.
8142 2001-06-07 Juergen Vigna <jug@sad.it>
8144 * text.C (BreakAgain): subst spaces with tabs.
8146 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8147 (resizeInsetsLyXText): set force on resizeLyXText.
8149 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * gettext.h (gettext_init):
8152 (locale_init): use a real definition instead of a macro
8154 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8156 * Bufferview_pimpl.C:
8158 * LColor.C: further lcolor tidies
8160 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8162 * BufferView_pimpl.C (updateScrollbar): simplify.
8164 * BufferView2.C: don't include insets/insetinfo.h, change
8165 prototype for insertInset and call the Pimpl version. let
8166 updateInset call Pimpl version.
8168 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8169 gotoInset to BufferView::Pimpl
8171 2001-06-01 Juergen Vigna <jug@sad.it>
8173 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8174 inside a LockingInset (is the update needed at all?).
8176 2001-05-31 Juergen Vigna <jug@sad.it>
8178 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8179 here not the old one otherwise how should we compare it afterwards
8182 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * FontInfo.C: bring C functions into global namespace when
8190 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * LString.h: make sure config.h has been loaded before LString.h.
8194 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8195 (one for each char read by EatLine!).
8197 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8200 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8202 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8203 to the same as the par we break from
8205 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8207 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8209 * MenuBackend.C (expand): also create menu entries for wide
8210 versions of the floats.
8212 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8214 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8216 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8217 frontends/Makefile.am
8223 * tabular.C (getTokenValue): add std::
8225 * tabular-old.C (getTokenValue): add std::
8226 (getTokenValue): ditto
8227 (getTokenValue): ditto
8229 * screen.C (ToggleSelection): adjust
8231 * lyxtext.h: put selection cursors inside a Selection struct.
8233 * lyxfunc.C (moveCursorUpdate): adjust
8235 * lyxfont.C (latexWriteStartChanges): add std::
8239 * font.h: delete with(char const *, LyXFont const &)
8241 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8243 * FontInfo.C (getFontname): add std::
8245 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8246 (workAreaButtonPress): adjust
8247 (tripleClick): adjust
8249 (moveCursorUpdate): adjust
8252 * BufferView2.C (gotoInset): adjust
8254 2001-05-30 Juergen Vigna <jug@sad.it>
8256 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8257 to check pspell I add this as default as I now have new pspell
8258 libraries and they seem to use this.
8260 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8262 * text2.C (CutSelection): make the cursor valid before the call to
8265 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8267 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8268 relied on 0 terminated strings and other horrors. Bug found due to
8269 the new assert in lyxstring!
8271 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8274 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8279 * lyxfunc.C (processKeySym): change method of getting to the
8282 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8283 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8284 * BufferView_pimpl.[Ch]: here as private methods.
8286 2001-05-28 Juergen Vigna <jug@sad.it>
8288 * text.C (SetHeightOfRow): added the update() call again as it is
8289 needed to initialize inset dimensions!
8291 2001-05-16 Juergen Vigna <jug@sad.it>
8293 * text2.C (SetCharFont): Add new function with BufferView * and
8294 bool toggleall parameters for setting insets internal fonts.
8295 (SetFont): Freeze the undo as we may change fonts in Insets and
8296 all this change should be inside only one Undo!
8298 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8299 setting font's in insets as for them we have the SetFont function!
8301 2001-05-15 Juergen Vigna <jug@sad.it>
8303 * text2.C (ClearSelection): to be sure we REALLY don't have any
8306 * tabular.C (TeXCellPreamble): fixed the left border problem for
8309 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8311 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8314 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8316 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8317 LFUN_BREAKPARAGRAPH.
8319 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8320 help test to "internal only", similar for LFUN_INSERT_URL
8322 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8323 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8324 auto_region_delete and deadkeys.
8326 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8329 * LColor.C: remove some dead entries, tidy a little
8331 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8333 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8335 (Dispatch): implement LFUN_ESCAPE
8337 * commandtags.h: add LFUN_ESCAPE
8339 * LyXAction.C (init): add entry for LFUN_ESCAPE
8341 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8342 Remove commented code.
8343 (insertNote): moved here
8344 (open_new_inset): moved here
8346 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8349 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8351 * kbmap.C (findbinding): clean it up and make it work correctly.
8353 * lyx_main.C (init): do not pass argc and argv as parameters
8355 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8357 * buffer.C: fix path for OS/2 & Win32
8361 * lyx_main.C: Added os:: class.
8363 * os2_defines.h: update
8365 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8367 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8368 better by trying again with reduced state.
8370 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8372 * lyxrc.C (read): print error about invalid key sequence only when
8373 debugging (because not all latinX keysyms are known to some X
8376 * kbsequence.C (getiso): add a few std:: qualifiers
8377 (getiso): comment out extra return statement.
8379 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8383 (Dispatch): enhance the accent inset a bit. (not perfect)
8385 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8387 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8389 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * bufferlist.C (emergencyWrite): fix assert() call
8393 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8395 * text.C (InsertChar): Added trivial patch to only send the "you
8396 can not do multiple spaces this way" message once during a
8399 2001-05-08 Baruch Even <baruch@lyx.org>
8401 * Makefile.am: Changed order of libraries to get LyX to link properly
8402 with the gnome frontend.
8404 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8406 * LaTeXFeatures.h: add a std:: qualifier
8408 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * paragraph.C (String): use stringstream
8412 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8414 * paragraph.C (writeFile): remove footflag arg
8416 * buffer.C (makeLaTeXFile): use stringstream
8417 (latexParagraphs): remove footnot gurba
8419 * LaTeXFeatures.C (getPackages): use stringstream
8420 (getMacros): likewise
8421 (getTClassPreamble): likewise
8422 (getFloatDefinitions): new method
8424 * paragraph.C (writeFile): reindent
8427 * WorkArea.h: revert the xpos + etc changes.
8429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8431 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8433 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8434 (pasteSelection): likewise
8435 * text2.C (CreateUndo): likewise
8437 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8439 * minibuffer.C (peek_event): temporarily reduce the functionality
8440 of the minibuffer (to allow args on lfuns)
8442 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8443 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8445 * buffer.C (readInset): add compability reading of old float
8446 lists, add reading of new style float list.
8447 (readInset): avoid reevaluation of inscmd.getCmdName()
8448 (getLists): reindent
8450 * MenuBackend.C (MenuItem): implement parsing of
8451 md_floatlistinsert and md_floatinsert.
8452 (expand::LastFiles): move initalizaton of iterators out of loop,
8454 (expand::Documents): introduce typdedef vector<string> Strings,
8456 (expand::ExportFormats): introduce typedef vector<Format const *>
8457 Formats, and use it.
8458 (expand): implement FloatListInsert and FloatInsert.
8460 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8461 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8462 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8464 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8466 (Dispatch::LFUN_FLOAT_LIST): implement
8468 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8470 * LaTeX.C (run): Fix problem with --export code.
8472 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8474 * BufferView.[Ch] (workarea): removed.
8475 (getClipboard) new method; wrapper for workarea()->getClipboard()
8477 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8480 * WorkArea.h (width, height, xpos, ypos): These methods all
8481 returned the dimensions of the work_area sub-area of WorkArea,
8482 resulting in a position error if the WorkArea were resized. Now
8483 return the dimensions of the entire WorkArea.
8485 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8487 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8489 * LaTeX.C (deplog): correct the syntax of regex reg1
8491 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * undo.C: remove !NEW_INSETS cruft
8495 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8497 * text2.C: remove !NEW_INSETS cruft
8499 * text.C: remove !NEW_INSETS cruft
8501 * tabular.C: remove !NEW_INSETS cruft
8503 * spellchecker.C: remove !NEW_INSETS cruft
8505 * lyxtext.h: remove !NEW_INSETS cruft
8507 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8509 * lyxfunc.C: remove !NEW_INSETS cruft
8511 * lyxfind.C: remove !NEW_INSETS cruft
8513 * lyx_cb.C: remove !NEW_INSETS cruft
8515 * figureForm.C: remove !NEW_INSETS cruft
8517 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8519 * buffer.[Ch]: remove !NEW_INSETS cruft
8521 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8523 * CutAndPaste.C: remove !NEW_INSETS cruft
8525 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8527 * BufferView2.C: remove !NEW_INSETS cruft
8529 * BufferView.h: remove !NEW_INSETS cruft
8531 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8533 * Lsstream.h: include LString.h before the sstream headers to
8534 fix problem with gcc 2.95.3 and lyxstring
8536 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8538 * lyx_main.C: add using directives when needed for C functions
8539 declared in std:: namespace.
8541 2001-04-27 Juergen Vigna <jug@sad.it>
8543 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8544 (SetHeightOfRow): comment out the update call should not be needed!
8546 2001-04-13 Juergen Vigna <jug@sad.it>
8548 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8549 (LyXTabular): tried to minimize operator= operations (and realized
8550 hopfully Lars wish).
8552 2001-04-27 Juergen Vigna <jug@sad.it>
8554 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8556 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8560 * buffer.C (readInset): hack to make listof algorithm work
8562 * BufferView_pimpl.C: hack to make listof algorithm work
8564 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8566 * LyXAction.C: removed all !NEW_INSETS cruft
8567 (init): moved lfun_item in method
8569 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8571 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8573 * BufferView2.C (theLockingInset): white space.
8575 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8577 * minibuffer.C: include <iostream>
8579 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8581 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8583 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8585 * text.[Ch] (TransposeChars): new method
8587 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * call message directly through LyXView instead of through LyXFunc
8590 * BufferView2.C: adjust
8591 * BufferView_pimpl.C: adjust
8592 * FontLoader.C: adjust
8594 * bufferview_funcs.C: adjust
8595 * converter.C: adjust
8596 * figureForm.C: adjust
8597 * importer.C: adjust
8599 * lyx_gui_misc.C: adjust
8603 + more files in subdirs
8605 * lyxparagraph.h (size): move up int file
8608 * adjust all uses of Assert to lyx::Assert.
8610 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8611 lyxfunctional in namespace lyx
8612 * layout.C (hasLayout): ditto
8615 (delete_layout): ditto
8616 (NumberOfClass): ditto
8617 * converter.C (GetFormat): ditto
8622 * bufferlist.C (getFileNames): ditto
8623 (emergencyWriteAll): ditto
8626 * MenuBackend.C (hasSubmenu): ditto
8629 * BufferView_pimpl.C (getInsetByCode): ditto
8631 2001-04-18 Juergen Vigna <jug@sad.it>
8633 * vspace.C (asLatexString): fixed the 100% problem.
8635 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8637 * lyxfunc.C (Dispatch):
8639 * minibuffer.h: add a few std:: qualifiers
8641 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8643 * minibuffer.[Ch]: reimplement so that commands is initiated and
8644 run from lyxfunc, simplified som handling, and made the completion
8645 and history code for complete. wip.
8647 * lyxfunc.C (processKeySym): call message
8648 (miniDispatch): new temporary method
8649 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8650 (LFUN_MESSAGE): implement
8651 (LFUN_MESSAGE_PUSH): implement
8652 (LFUN_MESSAGE_POP): implement
8653 (initMiniBuffer): the initial/defualt minibuffer message.
8655 * lyxfont.[Ch]: inline some more getters
8657 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8659 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8661 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8662 (AutoSave): use LFUN_MESSAGE
8663 (Reconfigure): ditto
8665 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8667 * figureForm.C: use LFUN_MESSAGE
8669 * converter.C (runLaTeX): use LFUN_MESSAGE
8671 * bufferview_funcs.C: use LFUN_MESSAGE
8673 (changeDepth): ditto
8675 * bufferparams.h: use boost::
8677 * bufferlist.h: inherit privately from noncopyable
8679 * bufferlist.C (loadLyXFile): remove some commented code.
8681 * buffer.C (runChktex): use LFUN_MESSAGE
8683 * ShareContainer.h: inherit privately from noncopyable
8685 * ParagraphParameters.[hC] (depth): inline it.
8687 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8689 (message): new method
8690 (messagePush): ditto
8692 (show): init minibuffer
8693 (showState): direct call
8695 * LaTeX.[Ch]: inherit privately from noncopyable
8696 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8697 instead of WriteStatus.
8699 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8701 * BufferView_pimpl.C (buffer): don't init minibuffer
8702 (workAreaButtonPress): use LFUN_MESSAGE
8703 (workAreaButtonRelease): ditto
8704 (savePosition): ditto
8705 (restorePosition): ditto
8706 (MenuInsertLyXFile): ditto
8707 (workAreaExpose): don't init minibuffer
8708 (update): remove commented code, simplify
8710 * BufferView2.C (openStuff): use LFUN_MESSAGE
8711 (toggleFloat): ditto
8714 (copyEnvironment): ditto
8715 (pasteEnvironment): ditto
8720 (updateInset): remove some commented code
8722 * lastfiles.h: inherit privately from noncopyable
8727 * lyxlex_pimpl.h: ditto
8729 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8730 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8731 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8733 * LyXAction.h: inherit privately from noncopyable, add methods
8734 func_begin, func_end, returning iterators to the func map.
8736 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8737 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8738 (func_begin): new method
8739 (func_end): new method
8741 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8743 (copySelection): ditto
8744 (pasteSelection): ditto
8746 * BufferView.C: whitespace change
8747 * BufferView.h: inherit privately from noncopyable
8749 2001-04-16 Allan Rae <rae@lyx.org>
8751 * tabular-old.C (l_getline):
8752 * spellchecker.C (sc_check_word):
8753 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8754 an unrecognised preprocessor directive. So ensure they're wrapped.
8756 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8758 * src/exporter.C (Export): Give an error message when path to file
8761 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8763 * LaTeX.C (deplog): Always check that foundfile exists.
8765 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8768 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8770 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * tabular.[Ch] (getLabelList): implement new method
8774 * minibuffer.h: comment ouf setTiimer
8776 * minibuffer.C (ExecutingCB): constify res
8777 (peek_event): constify s
8778 (Set): constify ntext
8779 (Init): constify nicename
8781 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8783 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8784 (savePosition): use two params to Minibuffer::Set
8785 (restorePosition): ditto
8787 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8789 * lyx_main.C: include language.h
8791 * Makefile.am (lyx_main.o): add language.h
8793 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * CutAndPaste.C: include gettext.h
8801 * lyxfont.h: remove old hack with ON and OFF.
8804 * lyxfont.h: do not include language.h...
8809 * bufferview_funcs.C:
8815 * paragraph.C: ... but do it here instead
8817 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8819 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8821 * tabular.C: small reformat
8823 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8826 (BreakParagraph): ditto
8827 (SetOnlyLayout): ditto
8830 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8833 * lastfiles.C: removed most using decl, add std:: where needed
8835 * buffer.C: ws changes
8837 * MenuBackend.C (class compare_format): put into anon namespace
8838 (expand): constify label, names, action, action2
8841 * text.C (SingleWidth): constify font
8842 (IsBoundary): constify rtl2
8843 (GetVisibleRow): constify ww
8845 * LaTeX.C (deplog): constify logfile
8847 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8849 (workAreaExpose): constify widthChange, heightChange
8851 * lyxrow.C (par): moved
8854 * lyxrow.h: as inlines here
8856 * lyxfont.h (shape): moved from lyxfont.C
8857 (emph): moved from lyxfont.C
8859 * lyxfont.C (LyXFont): use initialization list for all
8861 (shape): move to lyxfont.h as inline
8862 (emph): move to lyxfont.h as inline
8865 2001-04-04 Juergen Vigna <jug@sad.it>
8867 * vspace.C: had to include stdio.h for use of sscanf
8869 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8872 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8873 independent of xforms.
8875 2001-04-02 Juergen Vigna <jug@sad.it>
8877 * spellchecker.C: fixed namespace placing!
8879 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8881 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8882 the LyXParagraph * is 0.
8884 2001-03-29 Juergen Vigna <jug@sad.it>
8886 * vspace.C: added support for %, c%, p%, l%.
8887 (stringFromUnit): added helper function.
8888 (asLatexString): changed to give right results for the %-values.
8890 * buffer.C: convert the widthp in a width%.
8892 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8894 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8897 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8898 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8900 * lyx_cb.[Ch]: see above.
8902 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8906 * lyx.[Ch]: replaced by figure_form.[Ch].
8910 * lyxfunc.C: changed headers associated with above changes.
8912 2001-03-27 Juergen Vigna <jug@sad.it>
8914 * BufferView_pimpl.C: set the temporary cursor right!
8916 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8918 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8920 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8922 * LString.h: removed "using std::getline"!
8924 * BufferView_pimpl.C (Dispatch): changes due to changes in
8925 InsetInclude::Params.
8927 * buffer.C (tag_name): removed redundant break statements as they were
8928 producing lots of warnings with my compiler.
8930 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8932 * LString.h: add "using std::getline" when using the real <string>.
8934 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8936 * buffer.C: removed bitset usage.
8937 PAR_TAG moved to an anonymous name space.
8938 (tag_name): new funtion, also in the anonymous namespace.
8939 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8940 (makeDocBookFile): clean code. Completed transition from string arrays
8942 (SimpleDocBookOnePar): code clean.
8944 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8946 * tabular.C: add some comments.
8948 2001-03-22 Juergen Vigna <jug@sad.it>
8950 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8951 compatibility read a bit and fixed bug with minipage in different
8954 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8956 * buffer.C (pop_tag): removed.
8957 (push_tag): removed.
8958 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8959 array replaced with vector. Added support for CDATA sections.
8960 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8962 (makeDocBookFile): XML conformant declaration of CDATA section,
8963 fixed bug related to <emphasis> in the first paragraph char.
8964 (sgmlOpenTag): exclude empty tags.
8965 (sgmlCloseTag): ditto.
8967 * buffer.h (pop_tag): removed.
8968 (push_tag): removed.
8970 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8972 * language.h (Languages): added size_type and size().
8974 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8976 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8977 response on compability reading of minipages. One probliem is that
8978 the old usage of minipages was «flertydig»
8980 * several files here and in subdirs: don't use static at file
8981 scope use anon namespaces instead.
8983 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8985 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8986 LaTeX output. This is necessary for Literate document
8989 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8991 * buffer.C: insert hfill when needed.
8993 * tabular.C (l_getline): use string::erase, small whitespace change.
8995 * BufferView_pimpl.C: try the anon namespace.
8998 2001-03-16 Juergen Vigna <jug@sad.it>
9000 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9001 otherwise it won't open options-dialogs.
9003 * buffer.C: honor pextraWidth(p) on converting minipages.
9005 * tabular.C (l_getline): changed the functions to strip trailing \r.
9007 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9009 * BufferView_pimpl.C:
9010 * minibuffer..C: added "using SigC::slot" declaration.
9012 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9014 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9020 * paragraph.C: ditto
9022 * lyxtext.h: NO_PEXTRA
9024 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9026 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9027 * ParameterStruct.h: ditto
9028 * ParagraphParameters.h: ditto
9029 * lyxparagraph.h: ditto
9031 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9033 * buffer.C: add compability for minipage alignment.
9034 (latexParagraphs): remove unwanted pextra check.
9036 * several files: remove CXX_WORKING_NAMESPACES
9038 * buffer.C (pop_tag): tie is in namespace boost
9040 * BufferView.h: noncopyable is in namespace boost
9045 * lastfiles.h: ditto
9046 * bufferlist.h: ditto
9047 * ShareContainer.h: ditto
9049 * LyXAction.h: ditto
9052 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9054 * Merging changes from BRANCH_MVC back into HEAD.
9056 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9058 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9060 * BufferView_pimpl.C: change from intl.C
9064 * Makefile.am: move combox.*
9070 * intl.C: remove dialog (covered by prefs)
9072 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9074 * lyxfunc.C (Dispatch): removed redundant break statement.
9076 2001-03-14 Juergen Vigna <jug@sad.it>
9078 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9080 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9082 * buffer.C: add hack to fix compability reading of minipages.
9084 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9086 * buffer.C (getLists): Cleanup.
9088 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9090 * lyxfont.C (update): don't honor toggleall on font size.
9092 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9096 * Makefile.am: moved to frontends/xforms/
9100 * BufferView_pimpl.C: changes for moved mathpanel
9102 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9104 * gettext.h: fix gettext_init() in --disable-nls
9106 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9108 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9110 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9113 * lyx.h: strip external form
9115 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9117 * BufferView_pimpl.C: add comment, destroySplash()
9119 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9121 * BufferView_pimpl.C:
9125 * lyxfunc.C: use re-worked insetinclude
9127 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9129 * buffer.C: add using std::stringstream.
9131 * lyx_cb.C: readd using std::ios.
9133 * buffer.C: add using std::map.
9135 * BufferView_pimpl.C: add using std::vector.
9137 * ShareContainer.h: add std:: to swap.
9139 * buffer.h: add some typedefs
9140 * buffer.C (getLists): use them
9141 (getLists): renamed from getTocList.
9142 add a counter for the different float types and use it in the
9144 (getLists): use the same counter for the NEW_INSETS and the "non"
9147 * lyx_cb.h: remove unused items, includes, using etc.
9149 * ShareContainer.h: remove some commented code, add more comments
9150 and "documentation".
9152 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9154 * buffer.C (getTocList): make the list also when NEW_INSETS is
9157 * buffer.h: remove TocType
9159 * buffer.C (getTocList): change to return a map<string,
9160 vector<TocItem> >, implement for dynamic number of list.
9162 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9163 * text2.C (PasteSelection): adjust
9164 * CutAndPaste.C (pasteSelection): adjust
9166 * FloatList.C (FloatList): update from the new_insets branch.
9167 * Floating.[Ch]: ditto
9168 * LaTeXFeatures.C: ditto
9170 * lyxlex_pimpl.C: ditto
9172 * paragraph.C (Last): remove when NEW_INSETS is defined.
9174 * other file: changes because of the above.
9176 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9178 * lyxparagraph.h: rename next to next_, previous to previous_,
9179 make them private for NEW_INSETS. Rename Next() to next(),
9180 Previous() to previous().
9182 * other files: changes because of the above.
9184 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9187 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9190 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9192 * main.C (main): pass lyx_localedir to gettext_init().
9194 * gettext.h: remove locale_init and gettext_init macros
9196 * gettext.C (locale_init): new function
9197 (gettext_init): new function
9199 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9202 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9204 * Moved credits to frontends:
9205 * credits.[Ch]: removed
9206 * credits_form.[Ch]: removed
9207 * lyx_gui_misc.C: remove credits stuff
9210 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9212 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9214 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9215 unneeded destructor.
9217 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9218 a standalone pointer again.
9220 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9222 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9228 * ToolbarDefaults.C:
9237 * BufferView_pimpl.C: use new file dialog in GUII
9240 * lyx_cb.C: remove LayoutsCB to Toolbar
9242 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * ShareContainer.h (get): add std:: qualifier
9246 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9248 * ShareContainer.h: define a proper ShareContainer::value_type
9249 type (and use typename to please compaq cxx)
9251 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9253 * lyxparagraph.h: move serveral local vars to
9254 ParameterStruct/ParagraphParameters., use ShareContainer in
9255 FontTable., make vars in FontTable private and add getter and
9258 * paragraph.C: changes because of the above.
9260 * lyxfont.h: remove copy constructor and copy assignment. (the
9261 default ones is ok), move number inside FontBits. move inlines to
9264 * lyxfont.C: add number to initializaton of statics, move several
9265 inlines here. constify several local vars. some whitespace
9266 cleanup. Dont hide outerscope variables.
9268 * Spacing.h: add two new constructors to match the set methods.
9270 * ShareContainer.h: new file, will perhaps be moved to support
9272 * ParameterStruct.h: new file
9274 * ParagraphParameters.h: new file
9276 * ParagraphParameters.C: new file
9278 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9279 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9281 * BufferView_pimpl.C: ParagraphParameter changes.
9282 * buffer.C: Likewise.
9283 * bufferview_funcs.C: Likewise.
9285 * text2.C: Likewise.
9287 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * lyxfind.C (LyXReplace): do not redefine default argument in
9291 (IsStringInText): ditto
9292 (SearchForward): ditto
9293 (SearchBackward): ditto
9295 2001-03-06 Juergen Vigna <jug@sad.it>
9297 * lyxfind.C (IsStringInText): put parentes around expressions.
9299 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9301 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9303 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9305 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9307 * stl_string_fwd.h: add comment
9309 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9312 * tabular.C: remove unused DocBook methods
9318 killed DO_USE_DEFAULT_LANGUAGE
9320 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9322 * lyx_gui.C: do not include language.h.
9324 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9325 arguments in function implementation.
9327 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9329 * BufferView_pimpl.C: add <ctime>
9331 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9333 * BufferView_pimpl.C: add using std::find_if
9335 2001-02-27 José Matos <jamatos@fep.up.pt>
9337 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9340 2001-02-11 José Matos <jamatos@fep.up.pt>
9342 * buffer.C (makeDocBookFile): command styles now have a parameter as
9345 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9347 * layout_forms.[Ch]: removed
9348 * lyx_cb.[Ch]: out character
9349 * lyx_gui.C: out character
9350 * lyx_gui_misc.C: out character
9351 * bufferview_funcs.C: : out character,
9352 added toggleall as parameter in ToggleAndShow
9354 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9356 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9358 * text2.C (SetCurrentFont): Disable number property at boundary.
9360 2001-02-26 Juergen Vigna <jug@sad.it>
9362 * lyxfunc.C (getStatus): added a string argument override function so
9363 that this is correctly called from LyXFunc::Dispatch if it contains a
9364 do_not_use_argument which is used!
9365 (Dispatch): added check for "custom" export and call appropriate func.
9367 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9369 * lyxrc.C: Add language_command_local, language_use_babel and
9370 language_global_options.
9372 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9374 * buffer.C (makeLaTeXFile): Use language_use_babel and
9375 language_global_options.
9377 2001-02-23 Juergen Vigna <jug@sad.it>
9379 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9380 which works with LyXText and putted it inside BufferView. Here now we
9381 only call for that part the BufferView::Dispatch() function.
9383 * BufferView.C (Dispatch): added.
9385 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9386 functions which needs to use a LyXText over from LyXFunc.
9387 (MenuInsertLyXFile): added
9388 (getInsetByCode): added
9389 (moveCursorUpdate): added
9390 (static TEXT): added
9392 2001-02-22 Juergen Vigna <jug@sad.it>
9394 * BufferView_pimpl.C (update): call a status update to see if LyXText
9397 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9399 * vc-backend.C (revert): implement for CVS
9400 (getLog): implement for CVS
9402 2001-02-20 Juergen Vigna <jug@sad.it>
9404 * text2.C (ClearSelection): added BufferView param for inset_owner call
9406 * lyxfunc.C (TEXT): added this function and use it instead of
9407 directly owner->view()-text of getLyXText().
9409 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9411 * src/layout_forms.C: out preamble
9412 * src/layout_forms.h: out preamble
9413 * src/lyx_cb.C: out preamble
9414 * src/lyx_cb.h: out preamble
9415 * src/lyx_gui.C: out preamble
9416 * src/lyx_gui_misc.C: out preamble
9417 * src/lyxfunc.C: connect with guii preamble
9419 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9421 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9423 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9425 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9426 whether to run bibtex.
9428 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9430 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9432 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9434 * Makefile.am (lyx_SOURCES): removed bibforms.h
9438 * text.C (GetVisibleRow): make several local vars const
9440 * tabular.C: small cleanup.
9442 * lyxserver.C (callback): use compare instead of strncmp
9444 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9445 inlines to after class or to paragraph.C
9447 * lyxfont.h: remove friend operator!=
9449 * converter.h: move friend bool operator< to non friend and after
9452 * combox.h: small cleanup
9454 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9455 to inlines after class def.
9457 * buffer.C (pop_tag): use string operations instead of strcmp
9459 * bmtable.c: doxygen, small cleanup
9461 * LaTeX.h: remove friend operator==
9463 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9475 * BufferView_pimpl.C:
9476 * BufferView.[Ch]: remove cruft
9478 2001-02-14 Juergen Vigna <jug@sad.it>
9480 * lyxfunc.C: removed #if 0 unused code
9482 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9484 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9486 * text2.C (SetSelection): added a BufferView * parameter
9488 2001-02-13 Juergen Vigna <jug@sad.it>
9490 * lyxfunc.C (Dispatch): fixed protected blank problem.
9491 * BufferView2.C (protectedBlank): added LyxText * parameter.
9493 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9494 (AppendColumn): same as above for column_info.
9496 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9497 (moveCursorUpdate): use a LyXText param for support of InsetText.
9499 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9500 (tripleClick): ditto
9502 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9504 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9506 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9508 * text2.C (SetSelection): set correct update status if inset_owner
9511 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9513 * tabular.C: remove some commented code.
9515 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9517 * BufferView_pimpl.C: call hideSplash()
9519 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9522 * bibforms.h: remove
9525 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9526 add LFUN_CHILD_CREATE
9528 * counters.h: fix tiny typo
9533 * lyx.C: move splash to frontends/xforms/
9535 * lyx_gui_misc.C: move Include and Bibform to frontends
9537 * lyxvc.h: clarify comment
9539 * vspace.C: tiny housekeeping
9541 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9543 * text.C (PrepareToPrint): RTL Fix.
9545 * paragraph.C (GetUChar): New method.
9546 (String): Use GetUChar.
9548 * buffer.C (asciiParagraph): Use GetUChar.
9550 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9552 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9554 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9557 * buffer.C: rename to getLogName(), handle
9558 build log / latex log nicely
9560 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9563 * MenuBackend.h: remove support for reference menuitem type.
9565 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView_pimpl.C: housekeeping
9568 * BufferView_pimpl.h:
9573 * minibuffer.h: move Timeout GUI-I
9575 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9577 * lyxrc.C (read): Update converters data-structures.
9579 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9581 * LaTeX.h (operator!=): add operator != for Aux_Info
9583 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9585 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9587 * LaTeXLog.C: deleted, useful code moved to Buffer
9590 * buffer.C: new function getLatexLogName()
9596 * lyxfunc.C: use frontends for LaTeX and VC logs
9598 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9600 * LaTeX.h: yet another std:: that Allan forgot.
9602 * Variables.C (set): renamed from isset(), because this clashes
9603 with some HP-UX macros (grr).
9605 2001-02-06 Allan Rae <rae@lyx.org>
9607 * LaTeX.h: Another bug fix. Missing std:: this time.
9609 2001-02-04 Allan Rae <rae@lyx.org>
9611 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9612 floats problem. I've left it commented out because it's not quite
9613 correct. It should also test that the current object is a table or
9614 figure inset. But I haven't gotten around to figuring out how to do
9615 that. I *think* it'll be something like: "table" == inset.type()
9617 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9620 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9622 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9623 all the citation/databases/styles in the auxilary file.
9624 (run): Rerun latex if there was a babel language error.
9626 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9628 * text.C (Backspace): Preserve the font when changing newline char
9630 (BreakParagraph): If the cursor is before a space, delete the space.
9632 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9634 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9636 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9637 new argument (code).
9638 (ChangeCitationsIfUnique): New method.
9640 * paragraph.C (GetPositionOfInset): Handle bibkey.
9642 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9644 * BufferView_pimpl.h: change type of Position::par_pos to
9645 LyXParagraph::size_type.
9647 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9649 * BufferView_pimpl.C (savePosition, restorePosition): Write
9650 messages to minibuffer.
9652 2001-01-28 José Matos <jamatos@fep.up.pt>
9654 * buffer.C (makeDocBookFile): adds support for document language.
9655 A silly restriction on the name of LatexCommand types where removed.
9656 Added support for CDATA sections, allows to chars unescaped, used
9657 among others in code, to avoid escape < and >.
9659 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9661 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9662 saved positions instrad of a stack. Furthermore, a position is
9663 stored using paragraph id/paragraph position.
9665 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9666 Remove LFUN_REF_BACK.
9668 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9670 * converter.C (dvipdfm_options): New method.
9672 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9674 * vspace.C (isValidLength): Fix for empty input string.
9676 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * LyXAction.C (init): change description of LFUN_FIGURE to
9681 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * LaTeX.C: add using directive
9685 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9687 * MenuBackend.C (expand): Fix the sorting of the formats.
9689 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9691 * lyx_main.C: tiny error message fix
9693 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9696 calling fl_initialize(). This fixes the problem with ',' as
9697 decimal separator in text files.
9699 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9701 * trans.C (process): Fix the keymap bug.
9703 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9705 * LaTeX.C (scanAuxFiles): New method. Provides support for
9706 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9707 (scanLogFile) Scan for "run BibTeX" messages.
9709 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9710 OT1 font encoding. Also, load the aecompl package if the ae
9713 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9715 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9717 * texrow.C (increasePos): turn two error messages into debug
9720 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9722 * LaTeX.C (scanAux): Handle the \@input macro.
9723 (runBibTeX): Use scanAux().
9725 * language.C (latex_options_): New field.
9727 * LaTeXFeatures.C (getMacros): Add language macros.
9729 * buffer.C (makeLaTeXFile): Small fix.
9731 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9735 * text2.C: add a using directive.
9737 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9742 * lyxfunc.C: kill LyXBell.
9744 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9746 * text.C (IsBoundary): Remove the error message
9748 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9750 * lyxrc.C (setDefaults): Correct initialization value for
9753 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9755 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9758 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9761 * src/LyXAction.C: Added reference-next.
9763 * text.C (InsertChar): Use contains instead of strchr.
9765 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9767 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9769 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9770 alignment commands (when needed).
9772 * text.C (InsertChar): Add ':' to number separator chars.