1 2003-03-30 John Levon <levon@movementarian.org>
5 * boost-inst.C: moved to support
7 * several files: changes as a result
9 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * text2.C (LyXText): adjust.
13 (removeRow): make it take a RowList::iterator as arg, adjust.
15 (deleteEmptyParagraphMechanism): adjust
19 * text.C (top_y): adjust
20 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
21 (breakAgain): make it take a RowList::iterator as arg, adjust.
22 (breakParagraph): adjust
26 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
27 need_break_row, and refresh_row.
29 * text3.C (dispatch): adjust
31 * text2.C (checkParagraph): adjust
33 (setCursorFromCoordinates): adjust
35 * text.C (top_y): adjust
37 (getRow): make it return a RowList::iterator, adjust
38 (getRowNearY): make it return a RowList::iterator, adjust
40 * text2.C (init): adjust
41 (insertRow): remove function
42 (insertParagraph): adjust
43 (redoParagraphs): adjust
45 (updateCounters): adjust
47 * text.C (top_y): rewrite to use RowList iterators.
49 (setHeightOfRow): rewrite to sue RowList iterators.
50 (appendParagraph): adjust
52 (breakAgainOneRow): adjust
53 (breakParagraph): adjust
55 (getRowNearY): adjust, and remove commented code.
57 * lyxtext.h (firstRow): delete function
58 (lastRow): delete function
59 (rows): new function (const and non-const versions.)
60 (insertRow): delete function
62 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
64 2003-03-29 John Levon <levon@movementarian.org>
66 * BufferView_pimpl.C: always update scrollbar top
67 because pasting text when we're anchored could mean we
68 miss an update altogether
70 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * text2.C (init): use rowlist_.end() and not 0.
73 (insertRow): change to take a RowList::iterator as arg, adjust
75 (insertParagraph): change to take a RowList::iterator as arg,
77 (redoParagraphs): remove some debug msgs.
79 * text.C (appendParagraph): change to take a RowList::iterator
81 (breakAgain): add an assert
82 (breakAgainOneRow): ditto
84 2003-03-29 John Levon <levon@movementarian.org>
86 * text2.C: do not clear selection after inc/decDepth
89 2003-03-29 John Levon <levon@movementarian.org>
92 * buffer.C: fix broken strerrors according to Lars
94 2003-03-29 John Levon <levon@movementarian.org>
96 * converters.C: more Alert cleanups
98 2003-03-29 John Levon <levon@movementarian.org>
100 * bufferview_funcs.C: remove pointless Alert
102 * buffer.C: fix confusing error message when
103 a template is chmoded 000
105 2003-03-29 John Levon <levon@movementarian.org>
109 * BufferView_pimpl.C: Alert fixes
113 * tabular-old.C: remove unused table compat reading
115 2003-03-29 John Levon <levon@movementarian.org>
120 * lyx_cb.C: more Alert cleanups
122 * lyxfunc.C: don't allow chktex if not latex document
124 2003-03-29 John Levon <levon@movementarian.org>
128 * buffer.C: warnings pushed down from support/,
131 2003-03-29 John Levon <levon@movementarian.org>
133 * lyxfunc.C: safety check for C-r (revert)
135 2003-03-29 John Levon <levon@movementarian.org>
138 * bufferlist.C: several UI fixes using Alert::prompt.
139 Fix the pointless looping quit code. Fix stupid revert
144 * lyx_cb.C: use Alert::prompt
146 * lyx_main.C: remove a silly question
148 * lyxfunc.C: remove a couple of silly questions,
151 2003-03-28 John Levon <levon@movementarian.org>
153 * text2.C: fix bug 974 (End on empty par)
155 2003-03-28 John Levon <levon@movementarian.org>
157 * BufferView_pimpl.C:
159 * lfuns.h: remove do-nothing math greek lfuns
161 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
163 * lyxgluelength.h (isValidGlueLength): add default arg on
164 parameter 2. Remove default arg from friend in class.
166 * lyxlength.h (isValidLength): add default arg on parameter 2.
167 Remove default arg from friend in class.
169 * text2.C (LyXText): adjust, initialize refresh_row.
173 (insertParagraph): adjst
174 (redoParagraphs): adjust
175 (fullRebreak): adjust
176 (updateCounters): adjust
177 (deleteEmptyParagraphMechanism): first attempt at fixing a
180 * text.C (top_y): adjust
181 (setHeightOfRow): adjust
183 (getRowNearY): adjust
185 * lyxtext.h: include RowList.h
186 (~LyXText): not needed anymore, deleted.
187 (firstRow): modify for RowList
188 (lastRow): new function
189 Delete firstrow and lastrow class variables, add a Rowlist
190 rowlist_ class variable.
192 * lyxrow.C (lastPos): use empty() and not !size() to check if a
195 * RowList.C (insert): fix case where it == begin().
197 2003-03-26 Angus Leeming <leeming@lyx.org>
199 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
200 the thesaurus dialog.
202 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
206 * RowList.[Ch]: new files
208 * ParagraphList.C (erase): handle the case where it == begin
211 2003-03-25 John Levon <levon@movementarian.org>
215 * aspell.C: add new aspell support
218 * lyxrc.C: Make use_pspell be use_spell_lib. Always
221 2003-03-25 Angus Leeming <leeming@lyx.org>
224 * LyXAction.C (init): new LFUN_INSET_INSERT.
226 * BufferView_pimpl.C (dispatch): split out part of the
227 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
229 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
232 2003-03-25 Angus Leeming <leeming@lyx.org>
234 * lyxfunc.C (dispatch): changes to the Dialogs interface.
236 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
239 * text3.C: remove useless row->height(0)
241 2003-03-25 John Levon <levon@movementarian.org>
245 * text3.C: rename the refreshing stuff to better names
247 2003-03-24 John Levon <levon@movementarian.org>
249 * BufferView_pimpl.h:
250 * BufferView_pimpl.C: update layout choice on a mouse
253 2003-03-23 John Levon <levon@movementarian.org>
255 * Makefile.am: fix commandtags.h reference
257 2003-03-22 John Levon <levon@movementarian.org>
259 * BufferView_pimpl.C:
264 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
266 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
269 * text.C: take the rtl methods out of line
271 2003-03-21 André Pönitz <poenitz@gmx.net>
273 * metricsinfo.[Ch]: new files containing structures to be passed around
274 during the two-phase-drawing...
276 2003-03-21 André Pönitz <poenitz@gmx.net>
278 * lyxtextclass.C: read 'environment' tag.
280 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
282 * text2.C (removeRow): fix bug 964
284 2003-03-20 John Levon <levon@movementarian.org>
288 * text2.C: paint cleanups. Inset::update() dropped font
291 2003-03-19 John Levon <levon@movementarian.org>
293 * lyxfunc.C: only fitcursor/markDirty if available()
295 2003-03-19 John Levon <levon@movementarian.org>
297 * commandtags.h: rename to ...
299 * lfuns.h: ... this, and renumber / cleanup
301 2003-03-19 John Levon <levon@movementarian.org>
303 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
304 fit the cursor after an lfun
308 * BufferView_pimpl.h:
309 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
311 * LyXAction.C: layout-character should have ReadOnly
313 * ParagraphParameters.C:
315 * bufferview_funcs.C:
322 * undo_funcs.C: changes from above
324 2003-03-18 John Levon <levon@movementarian.org>
326 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
327 remove it from update()
329 * lyxfunc.C: update layout choice after an lfun
331 * text3.C: remove extra updateLayoutChoice()s
333 2003-03-18 John Levon <levon@movementarian.org>
335 * text.C: top_y change means full repaint, fix
336 a drawing bug with cursor movement
338 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
342 * text2.C: anchor row on setCursor
344 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
346 * lyxtext.h: remove almost all mutable keywords
349 * text3.C: remove const keywords accordingly
351 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
355 (TeXEnvironment): ditto
358 2003-03-17 John Levon <levon@movementarian.org>
360 * text.C (rowBreakPoint): remove attempt to fix displayed
361 math insets inside a manual label
363 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
365 * lyxtext.h: remove BufferView* as first arg from almost all class
367 * other files: adjust.
369 2003-03-17 John Levon <levon@movementarian.org>
373 * text2.C: more paint cleanups
375 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
378 * rowpainter.C: remove "smart" background painting code
380 2003-03-16 John Levon <levon@movementarian.org>
385 * text3.C: add helper functions for setting refresh_row/y
387 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
389 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
390 newline inset which *can* get inserted in the pass_thru layouts.
391 This is primarily for literate documents.
393 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
395 * buffer.C: increment LYX_FORMAT to 223
397 2003-03-14 André Pönitz <poenitz@gmx.net>
399 * textclass.h: prepare for environment handling, ws changes
400 * lyxlayout.C: read latexheader and latexfooter tags
402 2003-03-14 John Levon <levon@movementarian.org>
404 * text2.C: rewrite ::status() a bit
406 2003-03-13 John Levon <levon@movementarian.org>
408 * lyxtext.h: add some docs
410 2003-03-13 John Levon <levon@movementarian.org>
415 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
417 2003-03-13 John Levon <levon@movementarian.org>
419 * text3.C: fix appendix redrawing
421 2003-03-13 John Levon <levon@movementarian.org>
423 * text.C (setHeightOfRow):
425 * rowpainter.C: make appendix mark have the text
426 "Appendix" so the user knows what it is
429 * LColor.C: s/appendixline/appendix/ from above
431 2003-03-13 John Levon <levon@movementarian.org>
433 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
435 * text.C: fix a getChar(pos) bug properly
437 2003-03-13 Angus Leeming <leeming@lyx.org>
440 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
441 Probably only temporary. Let's see how things pan out.
443 * BufferView.C (unlockInset):
444 * BufferView_pimpl.C (fitCursor):
445 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
447 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
448 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
450 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
451 new functions that convert ParagraphParameters to and from a string.
453 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
454 BufferView::Pimpl's dispatch.
455 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
457 2003-03-13 André Pönitz <poenitz@gmx.net>
461 * factory.C: make it aware of InsetEnv
463 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * text2.C (setCursor): never ask for one past last
466 (setCursor): add some debugging messages.
468 * text.C (singleWidth): never ask for one past last
472 (rowBreakPoint): ditto
473 (setHeightOfRow): ditto
474 (prepareToPrint): ditto
476 * rowpainter.C (paintBackground): never ask for one past last
477 (paintText): never ask for one past last
479 * paragraph_pimpl.C (getChar): make the assert stricter, never
480 allow the one past last pos to be taken
482 * paragraph.C (getChar): ws changes only
484 * lyxrow.C (nextRowIsAllInset): never ask for one past last
485 (numberOfSeparators): ditto
486 (numberOfHfills): ditto
488 2003-03-12 John Levon <levon@movementarian.org>
494 * paragraph_funcs.C: fix per-buffer authorlists
496 2003-03-12 John Levon <levon@movementarian.org>
498 * text.C: fix newline in right address
500 2003-03-12 Angus Leeming <leeming@lyx.org>
502 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
503 duplicate those in LyXFunc::dispatch.
508 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
509 Add LFUN_FONTFREE_UPDATE.
511 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
512 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
514 * bufferview_func.[Ch]: several new functions to facilliate
515 transfer of data to and from the character dialog.
517 2003-03-12 John Levon <levon@movementarian.org>
527 * text3.C: remove META_NEWLINE in favour of an inset
530 * rowpainter.C: remove paintNewline (done by inset)
532 2003-03-12 John Levon <levon@movementarian.org>
534 * paragraph_pimpl.C: complain about bad getChar()s
537 2003-03-12 John Levon <levon@movementarian.org>
540 * buffer.C: move paragraph read into a separate function,
541 a little renaming to reflect that.
544 * bufferparams.C: remove the author_ids map, not necessary now
547 * factory.C: moved Buffer::readInset to here
550 * paragraph_funcs.C: readParagraph free function moved from
553 * tabular.C: name change
555 2003-03-12 John Levon <levon@movementarian.org>
558 * ParagraphParameters.C: move par params input to
561 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
562 behave like a normal read from the stream wrt reading
565 2003-03-12 John Levon <levon@movementarian.org>
568 * ParagraphParameters.h:
569 * ParagraphParameters.C: move output code to a
572 2003-03-12 John Levon <levon@movementarian.org>
574 * BufferView.C (insertLyXFile):
577 * tabular.C: use a parlist iterator for creating the
580 2003-03-12 John Levon <levon@movementarian.org>
582 * buffer.C: make current_change static local not
585 2003-03-12 John Levon <levon@movementarian.org>
587 * buffer.C: fix insertStringAsLines for change tracking
589 2003-03-12 John Levon <levon@movementarian.org>
596 * bufferparams.C: move author list into params. Rename some
597 functions. Move the header reading into a separate token
598 loop. Move the header token reading into BufferParams.
600 2003-03-12 John Levon <levon@movementarian.org>
602 * changes.C: put debug inside lyxerr.debugging() checks
604 2003-03-11 André Pönitz <poenitz@gmx.net>
606 * factory.C: make it aware of InsetHFill
608 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
610 * buffer.C (latexParagraphs): move function from here...
611 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
614 2003-03-10 Angus Leeming <leeming@lyx.org>
616 * LyXAction.C (init): fix bug in poplating array with multiple entries
617 with the same LFUN (spotted by JMarc).
619 2003-03-10 John Levon <levon@movementarian.org>
622 * text2.C: move getColumnNearX() near its
625 2003-03-10 John Levon <levon@movementarian.org>
627 * text.C: fix break before a minipage
629 2003-03-10 John Levon <levon@movementarian.org>
631 * text.C: fix the last commit
633 2003-03-09 John Levon <levon@movementarian.org>
637 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
638 bug 365 (don't break before insets unless needed). Don't
639 return a value > last under any circumstances.
641 2003-03-09 Angus Leeming <leeming@lyx.org>
643 * BufferView_pimpl.C (trackChanges, dispatch): call
644 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
646 2003-03-09 Angus Leeming <leeming@lyx.org>
648 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
649 than Dialogs::showAboutlyx().
651 2003-03-09 Angus Leeming <leeming@lyx.org>
653 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
654 than Dialogs::showTabularCreate().
656 2003-03-09 John Levon <levon@movementarian.org>
660 * text2.C: 3rd arg to nextBreakPoint was always the same.
663 2003-03-08 John Levon <levon@movementarian.org>
670 * text2.C: Remove the "main" bit from the "main body"
673 2003-03-08 John Levon <levon@movementarian.org>
675 * text.C (leftMargin): The left margin of an empty
676 manual label paragraph should not include the label width
679 * text.C (prepareToPrint): don't attempt to measure hfills
680 for empty manual label paragraphs - the answer should be 0
682 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
684 * CutAndPaste.C: remove commented code and reindent.
686 2003-03-08 John Levon <levon@movementarian.org>
689 * lyxfunc.C: move reloadBuffer()
692 * BufferView.C: to here
694 * lyxvc.C: add comment
697 * vc-backend.C: call bv->reload() to avoid
698 getStatus() check on MENURELOAD
700 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
702 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
703 to an old format .dep file.
705 2003-03-07 Angus Leeming <leeming@lyx.org>
707 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
708 when the LFUN_MOUSE_RELEASE should have been handled by
709 inset->localDispatch.
711 2003-03-07 Angus Leeming <leeming@lyx.org>
713 * BufferView_pimpl.C (dispatch):
714 * LyXAction.C (init):
715 * ToolbarDefaults.C (init):
717 * lyxfunc.C (getStatus):
718 remove LFUN_INSET_GRAPHICS.
720 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
722 2003-03-07 Angus Leeming <leeming@lyx.org>
725 * LyXAction.C (init):
726 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
728 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
731 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
733 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
734 localDispatch method LFUN_INSET_DIALOG_UPDATE.
736 2003-03-07 Angus Leeming <leeming@lyx.org>
738 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
741 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
743 * ParagraphList.C (front): new function
746 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
748 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
749 and top_row_offset_. removed var first_y.
751 * text2.C (LyXText, removeRow):
753 * BufferView_pimpl.C:
754 use these methods instead of using first_y
756 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
758 * text2.C (pasteSelection): adjust for checkPastePossible
760 * CutAndPaste.C: remove Paragraph * buf and replace with
761 ParagraphList paragraphs.
762 (DeleteBuffer): delete
763 (cutSelection): change the tc type to textclass_type
764 (copySelection): change the tc type to textclass_type
765 (copySelection): adjust for ParagraphList
766 (pasteSelection): change the tc type to textclass_type
767 (pasteSelection): adjust for Paragraphlist
768 (nrOfParagraphs): simplify for ParagraphList
769 (checkPastePossible): simplify for ParagraphList
770 (checkPastePossible): remove unused arg
772 * ParagraphList.C (insert): handle the case where there are no
775 * CutAndPaste.h: make CutAndPaste a namespace.
777 * text3.C (dispatch): adjust
779 * text.C (breakParagraph): add a ParagraphList as arg
781 * paragraph_funcs.C (breakParagraph): change to take a
782 BufferParams and a ParagraphList as args.
783 (breakParagraphConservative): ditto
784 (mergeParagraph): ditto
785 (TeXDeeper): add a ParagraphList arg
786 (TeXEnvironment): ditto
789 * buffer.C (readLyXformat2): adjust
790 (insertStringAsLines): adjust
791 (latexParagraphs): adjust
793 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
794 (cutSelection): adjust
795 (pasteSelection): adjust
797 * BufferView_pimpl.C (insertInset): adjust
799 2003-03-05 Angus Leeming <leeming@lyx.org>
802 * LyXAction.C (init):
803 * BufferView_pimpl.C (dispatch):
804 * lyxfunc.C (getStatus):
805 remove LFUN_CHILD_INSERT.
807 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
809 2003-03-05 Angus Leeming <leeming@lyx.org>
812 * LyXAction.C (init):
813 * src/factory.C (createInset):
814 * lyxfunc.C (getStatus):
815 * text3.C (dispatch):
816 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
818 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
820 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * ParagraphList.C (insert): handle insert right before end()
823 (erase): fix cases where it can be first or last paragraph.
825 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * paragraph_funcs.C (TeXEnvironment): remove all usage of
828 Paragraph::next and Paragraph::previous
831 * text.C (breakParagraph): adjust
833 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
834 BufferParams& as arg.
835 (breakParagraph): use ParagraphList::insert
836 (breakParagraphConservative): take a Buffer* instead of a
837 BufferParams& as arg.
838 (breakParagraphConservative): use ParagraphList::insert.
840 * buffer.C (insertStringAsLines): un-const it
841 (insertStringAsLines): adjust
843 * ParagraphList.C (insert): new function
845 * CutAndPaste.C (pasteSelection): adjust
847 * text.C (backspace): adjust
849 * tabular.C (SetMultiColumn): adjust
851 * CutAndPaste.C (cutSelection): adjust
852 (pasteSelection): adjust
854 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
855 Buffer const * as arg
857 * ParagraphList.C (erase): new function
858 * paragraph_funcs.C (mergeParagraph): use it
859 (mergeParagraph): make it take a Buffer* instead of a
862 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
864 (breakParagraphConservative): ditto
866 * paragraph.h: remove the breakParagraph friend
868 * paragraph.C (eraseIntern): new function
869 (setChange): new function
871 * paragraph_funcs.C (mergeParagraph): make it take a
872 ParagraphList::iterator instead of a Paragraph *, adjust
875 * paragraph.h: move an #endif so that the change tracking stuff
876 also works in the NO_NEXT case.
878 2003-03-04 Angus Leeming <leeming@lyx.org>
881 * LyXAction.C: new LFUN_INSET_MODIFY.
883 * BufferView_pimpl.C (dispatch): if an inset is found to be open
884 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
886 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * several files: ws changes only
890 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
891 (TeXEnvironment): ditto
894 * buffer.C (makeLaTeXFile): adjust
895 (latexParagraphs): make it take ParagraphList::iterator as args
897 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * buffer.C (latexParagraphs): adjust
901 * paragraph.C (TeXOnePar): move function...
902 (optArgInset): move function...
903 (TeXEnvironment): move function...
904 * paragraph_pimpl.C (TeXDeeper): move function...
905 * paragraph_funcs.C: ...here
907 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
909 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * buffer.C (readInset): remove compability code for old Figure and
914 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * buffer.C: ws changes
919 * BufferView_pimpl.C: ditto
922 * bufferlist.h: ditto
926 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
928 * converter.[Ch]: split into itself +
931 * Makefile.am: += graph.[Ch] + format.[Ch]
938 * lyxrc.C: added #include "format.h"
940 2003-02-27 Angus Leeming <leeming@lyx.org>
942 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
945 * factory.C (createInset): add "label" to the factory.
947 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
948 string and do no more.
950 2003-02-27 Angus Leeming <leeming@lyx.org>
953 * LyXAction.C (init):
954 * factory.C (createInset):
955 * BufferView_pimpl.C (dispatch):
956 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
958 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
960 * lyxfunc.C (dispatch):
961 * text3.C (dispatch): pass name to params2string.
963 2003-02-26 Angus Leeming <leeming@lyx.org>
965 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
967 Rearrange the ~includes. Strip out the unnecessary ones.
969 * factory.C (createInset): reformat.
970 create new insets for the various LFUN_XYZ_APPLY lfuns.
972 2003-02-26 John Levon <levon@movementarian.org>
975 * lyxrow.C: add isParStart,isParEnd helpers
977 * paragraph.h: make isInserted/DeletedText take refs
980 * paragraph_funcs.C: remove #if 0'd code
985 * text.C: use lyxrow helpers above.
986 Move draw and paint routines to RowPainter.
987 Make several methods use refs not pointers.
988 Make backgroundColor() const.
989 Add markChangeInDraw(), isInInset().
990 Merge changeRegionCase into changeCase.
991 Make workWidth() shouldn't-happen code into an Assert.
994 * rowpainter.C: new class for painting a row.
997 * vspace.C: make inPixels take a ref
999 2003-02-26 Angus Leeming <leeming@lyx.org>
1001 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1004 2003-02-25 John Levon <levon@movementarian.org>
1006 * ispell.C: give the forked command a more accurate name
1008 2003-02-22 John Levon <levon@movementarian.org>
1011 * toc.C: make TocItem store an id not a Paragraph *
1014 2003-02-21 Angus Leeming <leeming@lyx.org>
1016 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1017 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1018 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1019 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1020 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1021 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1023 * BufferView_pimpl.C (dispatch):
1024 * LyXAction.C (init):
1025 * factory.C (createInset):
1026 * lyxfunc.C (getStatus, dispatch):
1027 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1029 2003-02-21 Angus Leeming <leeming@lyx.org>
1031 * BufferView_pimpl.C (MenuInsertLyXFile):
1032 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1033 * lyxfunc.C (menuNew, open, doImport):
1034 no longer pass a LyXView & to fileDlg.
1036 2003-02-21 Angus Leeming <leeming@lyx.org>
1038 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1039 * LyXAction.C: change, BIBKEY to BIBITEM.
1040 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1041 Change InsetBibKey to InsetBibitem.
1042 Change BIBKEY_CODE to BIBITEM_CODE.
1043 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1044 * factory.C: replace insetbib.h with insetbibitem.h.
1045 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1046 * paragraph.C: replace insetbib.h with insetbibitem.h.
1047 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1048 Change bibkey() to bibitem().
1049 * text.C: remove insetbib.h.
1050 * text2.C: replace insetbib.h with insetbibitem.h.
1051 change bibkey() to bibitem().
1052 * text3.C: remove insetbib.h.
1053 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1055 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1057 * lyxrc.C (output): enclose user email in quotes (in case there are
1060 2003-02-18 John Levon <levon@movementarian.org>
1062 * buffer.h: add std::
1064 2003-02-17 John Levon <levon@movementarian.org>
1070 * pspell.C: reworking. Especially in ispell, a large
1071 number of clean ups and bug fixes.
1073 * lyxfunc.C: fix revert to behave sensibly
1075 2003-02-17 André Pönitz <poenitz@gmx.net>
1078 * commandtags.h: new LFUN_INSERT_BIBKEY
1088 * paragraph_func.C: remove special bibkey handling
1090 2003-02-17 John Levon <levon@movementarian.org>
1092 * text.C (Delete): fix case where delete at the end of
1093 the very first paragraph would not merge the pars
1095 2003-02-17 John Levon <levon@movementarian.org>
1097 * lyxrow.C: fix lastPrintablePos()
1099 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1101 * bufferparams.C (writeLaTeX): add a std:here
1103 * buffer.C: and remove a using directive there
1105 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1107 * buffer.C (makeLaTeXFile): move the code that generates the
1110 * bufferparams.C (writeLaTeX): ... in this new method
1112 * LaTeXFeatures.C (getEncodingSet): make const
1113 (getLanguages): make const
1115 * MenuBackend.C (binding): returns the binding associated to this
1117 (add): sets the status of each item by calling getStatus. Adds
1119 (read): add support for OptSubMenu
1120 (expand): remove extra separator at the end of expanded menu
1122 2003-02-15 John Levon <levon@movementarian.org>
1125 * BufferView_pimpl.C:
1127 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1128 inset code that had no actual effect. Remove unneeded status
1131 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1136 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1138 * text.C (drawLengthMarker): also draw an arrow marker for
1139 symbolic lengths (medskip...)
1141 2003-02-14 John Levon <levon@movementarian.org>
1144 * tabular.C: better method names
1146 2003-02-14 John Levon <levon@movementarian.org>
1148 * BufferView_pimpl.C:
1153 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1154 it's a more accurate name. Remove some pointless uses.
1156 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1158 * text2.C (LyXText): change order of initilizers to shut off
1161 2003-02-14 John Levon <levon@movementarian.org>
1163 * buffer.C: use ParIterator for getParFromID()
1167 * paragraph_pimpl.h:
1168 * paragraph_pimpl.C: remove unused getParFromID()
1170 2003-02-14 John Levon <levon@movementarian.org>
1172 * buffer.C: remove some very old #if 0'd parse code
1174 2003-02-13 John Levon <levon@movementarian.org>
1178 * text2.C: move hfillExpansion(), numberOfSeparators(),
1179 rowLast(), rowLastPrintable(), numberofHfills(),
1180 numberOfLabelHfills() ...
1183 * lyxrow.C: ... to member functions here.
1188 * text.C: remove LyXText::beginningOfMainBody(), and call
1189 p->beginningOfMainBody() directly. Move the check for
1190 LABEL_MANUAL into the latter.
1197 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1203 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1204 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1206 2003-02-13 John Levon <levon@movementarian.org>
1208 * CutAndPaste.C: remove debug
1210 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1212 * paragraph.C (asString): remove two unused variables
1214 * lyxtextclass.C (readTitleType):
1216 (LyXTextClass): handle new members titletype_ and titlename_
1218 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1220 2003-02-09 John Levon <levon@movementarian.org>
1223 * buffer.C: replace hand-coded list with a map for the dep clean
1225 2003-02-08 John Levon <levon@movementarian.org>
1227 * LaTeX.C: consolidate code into showRunMessage() helper
1229 2003-02-08 John Levon <levon@movementarian.org>
1234 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1235 and pass the size in explicitly
1237 * BufferView_pimpl.h:
1238 * BufferView_pimpl.C:
1240 * BufferView.C: add getCurrentChange()
1242 * BufferView_pimpl.h:
1243 * BufferView_pimpl.C: handle change lfuns
1245 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1246 for changes. Mark pasted paragraphs as new.
1248 * support/lyxtime.h:
1249 * support/lyxtime.C:
1250 * DepTable.C: abstract time_t as lyx::time_type
1253 * LColor.C: add colours for new text, deleted text, changebars
1255 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1256 package use "usenames" option.
1260 * LyXAction.C: add change lfuns
1264 * author.C: author handling
1267 * buffer.C: add a per-buffer author list, with first entry as
1268 current author. Handle new .lyx tokens for change tracking. Output
1269 author list to .lyx file. Output dvipost stuff to .tex preamble.
1270 Bump lyx format to 222.
1273 * bufferlist.C: add setCurrentAuthor() to reset current author details
1277 * bufferparams.C: add param for tracking
1279 * bufferview_funcs.C: output change info in minibuffer
1283 * changes.C: add change-tracking structure
1286 * debug.C: add CHANGES debug flag
1289 * lyxfind.C: add code for finding the next change piece
1292 * lyxrc.C: add user_name and user_email
1295 * lyxrow.C: add a metric for the top of the text line
1298 * text.C: implement accept/rejectChange()
1301 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1302 Strike through deleted text.
1306 * paragraph_pimpl.h:
1307 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1308 to the insert functions. Rework erase to mark text as deleted, adding
1309 an eraseIntern() and a range-based erase(). Implement
1310 per-paragraph change lookup and accept/reject.
1312 * paragraph_funcs.C: Fixup paste for change tracking.
1314 * tabular.C: mark added row/columns as new.
1316 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1317 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1319 * text2.C: leave cursor at end of selection after a cut.
1321 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1323 * text.C (getLengthMarkerHeight):
1324 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1325 visible on screen too.
1327 2003-02-07 John Levon <levon@movementarian.org>
1329 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1331 2003-02-05 Angus Leeming <leeming@lyx.org>
1333 * lyxserver.C (read_ready): revert my patch of 11 September last year
1334 as it sends PC cpu through the roof. Presumably this means that
1335 the lyxserver will no longer run on an Alpha...
1337 2003-01-30 Angus Leeming <leeming@lyx.org>
1339 * factory.C (createInset): create an InsetCommandParam of type "index"
1340 and use it to 'do the right thing'.
1342 * text2.C (getStringToIndex): ensure that cursor position is always
1343 reset to the reset_cursor position.
1345 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1347 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1350 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1354 * lyxfunc.C: Output messages with identical spelling, punctuation,
1357 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1359 * MenuBackend.C (expandFormats): List only viewable export formats
1362 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1365 * lyxfunc.C (getStatus): Make sure that formats other than
1366 "fax" can also be disabled
1368 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1370 * text3.C (dispatch): put the lfuns that insert insets in 3
1371 groups, and call doInsertInset with appropriate arguments.
1372 (doInsertInset): new function, that creates an inset and inserts
1373 it according to some boolean parameters.
1375 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * buffer.C (readFile): remember to pass on 'par' when calling
1378 readFile recursively.
1380 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1382 * MenuBackend.C (expandFormats): add "..." to import formats.
1384 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1386 * paragraph.C (asString): Remove XForms RTL hacks.
1388 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1389 * buffer.C: fix typo
1391 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * Makefile.am (LIBS): delete var
1394 (lyx_LDADD): add @LIBS@ here instead.
1396 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1398 * Clarify the meaning of "wheel mouse jump"
1400 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1402 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1405 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1407 * importer.C (Loaders): do not preallocate 3 elements in the
1408 vector, since one ends up with 6 elements otherwise
1410 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1412 * DepTable.C (write): write the file name as last element of the
1413 .dep file (because it may contain spaces)
1414 (read): read info in the right order
1416 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1418 * paragraph_pimpl.C (simpleTeXBlanks):
1419 (simpleTeXSpecialChars):
1420 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1422 * tabular.C (latex): add some missing case statements. Reindent.
1424 * MenuBackend.C (expandToc): remove unused variable.
1426 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1435 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1438 2003-01-05 John Levon <levon@movementarian.org>
1441 * BufferView.C: add getEncoding()
1444 * kbsequence.C: do not store last keypress
1447 * lyxfunc.C: store last keypress here instead. Pass encoding
1450 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1452 * lyx_main.C (init): remove annoying error message when following
1453 symbolic links (bug #780)
1455 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1457 * text.C (insertChar):
1458 * lyxrc.C (getDescription): remove extra spaces
1460 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1462 * lyxrc.C (getDescription): remove extra spaces
1464 2002-12-20 John Levon <levon@movementarian.org>
1466 * text3.C: hack fix for page up/down across tall rows
1468 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1470 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1473 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1475 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1476 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1477 thesaurus is not compiled in
1479 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1481 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1483 2002-12-16 Angus Leeming <leeming@lyx.org>
1486 * lyx_main.C (init): remove override_x_deadkeys stuff.
1488 2002-12-12 John Levon <levon@movementarian.org>
1490 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1491 insert. Only remove shift modifier under strict
1494 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1496 * MenuBackend.C (expandToc): fix crash.
1498 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * MenuBackend.C (expandToc): gettext on float names.
1502 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1504 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1505 implement bool empty() [bug 490]
1507 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1511 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * several files: ws changes
1515 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * text2.C (setCounter): clean up a bit, use boost.format.
1518 (updateCounters): initialize par upon declaration.
1520 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1521 if the layout exists. We do not just store the layout any more.
1522 (SwitchLayoutsBetweenClasses): use boost.format
1524 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1526 * converter.C (convert): if from and to files are the same, use a
1527 temporary files as intermediary
1529 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1532 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1534 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1536 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1538 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * tabular.C (asciiPrintCell): use string(size, char) instead of
1543 * sgml.C (openTag): fix order of arguments to string constructor
1546 * lyxfunc.C (dispatch): use boost.format
1548 * lots of files: change "c" -> 'c'
1550 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1552 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1554 2002-11-25 Angus Leeming <leeming@lyx.org>
1556 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1558 * lyx_main.C (init): compile fix.
1560 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * lyx_cb.C (start): boost.formatify
1563 do not include <iostream>
1565 * lengthcommon.C: ws only
1567 * boost-inst.C,BoostFormat.h: add more explict instantations
1569 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * lots of files: handle USE_BOOST_FORMAT
1573 2002-11-21 John Levon <levon@movementarian.org>
1575 * pspell.C: fix compile
1577 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1579 * lyxfunc.C (dispatch): use boost::format
1583 * lyxfont.C (stateText): use boost::format
1585 * lyx_main.C (LyX): use boost::format
1587 (queryUserLyXDir): ditto
1590 (typedef boost::function): use the recommened syntax.
1592 * importer.C (Import): use boost::format
1594 * debug.C (showLevel): use boost::format
1596 * converter.C (view): use boost::format
1601 * bufferview_funcs.C (currentState): use boost::format
1603 * bufferlist.C (emergencyWrite): use boost::format
1605 * buffer.C (readLyXformat2): use boost::format
1606 (parseSingleLyXformat2Token): ditto
1608 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1610 * LaTeX.C (run): use boost::format
1612 * Chktex.C (scanLogFile): use boost::format
1614 * BufferView_pimpl.C (savePosition): use boost::format
1615 (restorePosition): ditto
1616 (MenuInsertLyXFile): ditto
1618 * BoostFormat.h: help file for explicit instation.
1620 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1622 * tabular.C (latex): Support for block alignment in fixed width
1625 2002-11-17 John Levon <levon@movementarian.org>
1627 * BufferView_pimpl.C:
1629 * lyxfunc.C: split filedialog into open/save
1631 2002-11-08 Juergen Vigna <jug@sad.it>
1633 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1634 by my last patch (hopefully).
1636 2002-11-08 John Levon <levon@movementarian.org>
1645 * toc.C: ParConstIterator, and use it (from Lars)
1647 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1649 * lyxtextclass.[Ch]: revise and add doxygen comments
1651 2002-11-07 John Levon <levon@movementarian.org>
1653 * text.C: fix progress value for spellchecker
1655 * toc.C: fix navigate menu for insetwrap inside minipage
1657 * paragraph_funcs.C: added FIXME for suspect code
1659 2002-11-07 John Levon <levon@movementarian.org>
1661 * BufferView_pimpl.C: fix redrawing of insets
1664 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1666 * text2.C (updateCounters): fix bug 668
1668 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1670 * text3.C (dispatch): Do not make the buffer dirty when moving the
1673 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * vc-backend.C: STRCONV
1678 * text2.C (setCounter): STRCONV
1680 * paragraph.C (asString): STRCONV
1682 * lyxlength.C (asString): STRCONV
1683 (asLatexString): ditto
1685 * lyxgluelength.C (asString): STRCONV
1686 (asLatexString): ditto
1688 * lyxfunc.C (dispatch): STRCONV
1691 * lyxfont.C (stateText): STRCONV
1693 * importer.C (Import): STRCONV
1695 * counters.C (labelItem): STRCONV
1696 (numberLabel): ditto
1697 (numberLabel): remove unused ostringstream o
1702 * bufferview_funcs.C (currentState): STRCONV
1704 * buffer.C (readFile): STRCONV
1705 (asciiParagraph): ditto
1706 (makeLaTeXFile): ditto
1708 * Spacing.C (writeEnvirBegin): STRCONV
1710 * LaTeXFeatures.C (getLanguages): STRCONV
1711 (getPackages): ditto
1713 (getBabelOptions): ditto
1714 (getTClassPreamble): ditto
1715 (getLyXSGMLEntities): ditto
1716 (getIncludedFiles): ditto
1720 (scanAuxFile): ditto
1723 * LString.h: add the STRCONV macros
1725 * BufferView_pimpl.C (savePosition): STRCONV
1726 (restorePosition): ditto
1727 (MenuInsertLyXFile): ditto
1729 * vc-backend.C (scanMaster): change from submatch[...] to
1732 * funcrequest.C: include config.h
1734 * factory.C: include config.h
1736 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1738 * box.C: include config.h
1740 * LaTeX.C (scanAuxFile): change from submatch[...] to
1744 2002-10-25 Angus Leeming <leeming@lyx.org>
1746 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1748 * ispell.[Ch] (setError): new method.
1749 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1750 Use setError() insetead of goto END.
1752 * lyx_cb.C (AutoSave): move out child process into new class
1755 2002-10-30 John Levon <levon@movementarian.org>
1757 * text3.C: make start appendix undoable
1759 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1761 * lyxlength.C (inPixels): Fix returned value.
1763 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1766 2002-10-24 Angus Leeming <leeming@lyx.org>
1768 * lyxgluelength.h: no need to forward declare BufferParams
1769 or BufferView, so don't.
1771 2002-10-21 John Levon <levon@movementarian.org>
1773 * BufferView.C: menuUndo ->undo, redo
1775 * BufferView.h: document, remove dead, make some methods private
1777 * paragraph_funcs.h:
1778 * paragraph_funcs.C:
1779 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1784 * sgml.C: move sgml open/close tag into sgml.C
1786 * bufferview_funcs.h: unused prototype
1789 * lyxfunc.C: remove unused
1792 * text.C: remove unused
1794 2002-10-21 John Levon <levon@movementarian.org>
1798 * BufferView_pimpl.h:
1799 * BufferView_pimpl.C: fix mouse wheel handling based on
1800 patch from Darren Freeman
1802 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1804 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1806 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1808 * lyxlength.C (inPixels): Fix hanfling of negative length.
1809 Fix LyXLength::MU case.
1811 2002-10-16 John Levon <levon@movementarian.org>
1813 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1815 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1817 * converter.C (view): add support for $$i (file name) and $$p
1818 (file path) for the viewer command. If $$i is not specified, then
1819 it is appended to the command (for compatibility with old syntax)
1821 2002-10-14 Juergen Vigna <jug@sad.it>
1823 * undo_funcs.C (textHandleUndo): alter the order in which the
1824 new undopar is added to the LyXText, as we have to set first
1825 the right prev/next and then add it as otherwise the rebuild of
1826 LyXText is not correct. Also reset the cursor to the right paragraph,
1827 with this IMO we could remove the hack in "redoParagraphs()".
1829 2002-10-09 Angus Leeming <leeming@lyx.org>
1831 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1832 to turn off an optimisation if a new inset is to be inserted.
1834 2002-10-11 André Pönitz <poenitz@gmx.net>
1836 * lyxtext.h: make some functions public to allow access
1837 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1839 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1841 * text3.C (dispatch): when changing layout, avoid an infinite loop
1844 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1846 * lyxrc.C (read): treat a viewer or converter command of "none" as
1849 * MenuBackend.C (expandFormats): for an update, also allow the
1850 formats that are not viewable
1852 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1853 script if it is newer than the lyxrc.defaults in user directory
1855 2002-10-07 André Pönitz <poenitz@gmx.net>
1857 * text.C: Vitaly Lipatov's small i18n fix
1859 2002-09-25 Angus Leeming <leeming@lyx.org>
1861 * ispell.h: doxygen fix.
1863 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1865 * buffer.h (readFile): Add a new argument to the method, to allow
1866 reading of old-format templates.
1868 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1870 * toc.C (getTocList): Get TOC from InsetWrap.
1872 2002-09-16 John Levon <levon@movementarian.org>
1874 * lyxfunc.C: check tabular for cut/copy too
1876 2002-09-12 John Levon <levon@movementarian.org>
1881 * factory.C: add header
1883 * paragraph_funcs.h:
1884 * paragraph_funcs.C: cleanup
1886 2002-09-11 John Levon <levon@movementarian.org>
1888 * PrinterParams.h: odd/even default to true
1890 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1892 * PrinterParams.h: update printer parameters for new xforms dialog
1894 2002-09-11 Angus Leeming <leeming@lyx.org>
1896 * lyxserver.C (read_ready): re-write to make it more transparent
1897 and to make it work in coherent fashion under Tru64 Unix.
1899 2002-09-11 André Pönitz <poenitz@gmx.net>
1903 * text3.C: implement LFUN_WORDSEL
1905 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1908 make floatlist_ a boost::shared_ptr<FloatList>
1910 * lyxtextclass.C: include FloatList.h
1911 (LyXTextClass): initialize floatlist_
1912 (TextClassTags): add TC_NOFLOAT
1913 (Read): match "nofloat" to TC_NOFLOAT and use it.
1914 (readFloat): modify call to floatlist_
1918 * FloatList.[Ch] (FloatList): remove commented out float
1920 (erase): new function
1922 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1924 * MenuBackend.C (expandToc): fix crash when there is no document
1927 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1929 * many files: Add insetwrap.
1931 2002-09-09 John Levon <levon@movementarian.org>
1933 * text2.C: remove confusing and awkward depth wraparound
1935 2002-09-09 John Levon <levon@movementarian.org>
1937 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1940 * buffer.C: remove getIncludeonlyList()
1943 * lyxfunc.C: remove headers
1945 2002-09-09 Juergen Vigna <jug@sad.it>
1947 * text.C (getColumnNearX): fix form Michael this is most
1948 probably a cut&paste bug.
1950 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1954 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1955 references, ws changes.
1957 * text2.C (init): update counters after init
1958 (insertParagraph): no need to set counter on idividual paragraphs.
1959 (setCounter): access the counters object in the textclass object
1960 on in the buffer object.
1961 (updateCounters): ditto
1963 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1964 shared_ptr<Counters> to avoid loading counters.h in all
1966 (LyXTextClass): initialize ctrs_
1967 (TextClassTags): add TC_COUNTER, and ...
1968 (Read): use it here.
1969 (CounterTags): new tags
1970 (readCounter): new function
1971 (counters): new funtion
1972 (defaultLayoutName): return a const reference
1974 * counters.C (Counters): remove contructor
1975 (newCounter): remove a couple of unneeded statements.
1976 (newCounter): simplify a bit.
1977 (numberLabel): some small formatting changes.
1979 * buffer.[Ch]: remove all traces of counters, move the Counters
1980 object to the LyXTextClass.
1982 2002-09-06 Alain Castera <castera@in2p3.fr>
1984 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1985 package to set the horizontal alignment on fixed width columns.
1988 * lyx_sty.h: added tabularnewline macro def.
1990 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1992 2002-09-06 John Levon <levon@movementarian.org>
1994 * LyXAction.C: tooltips for sub/superscript
1996 * MenuBackend.C: a bit more verbose
1998 * lyxfunc.C: tiny clean
2000 * undo_funcs.C: document undo_frozen
2002 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * counters.C (Counters): add missing algorithm counter.
2006 * text2.C (setCounter): lookup the counter with layouts latexname
2007 instead of by section number.
2008 (setCounter): use a hackish way to lookup the correct enum
2010 a float name->type change
2011 reset enum couners with counter name directly instead of depth value.
2013 * counters.C (Counters): remove the push_backs, change to use the
2014 float type not the float name.
2015 (labelItem): remove unused string, float name->type change
2017 * counters.h: don't include vector, loose the enums and sects vectors
2019 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2022 (Read): add float->TC_FLOAT to textclassTags
2023 (Read): and handle it in the switch
2024 (readFloat): new function
2026 * FloatList.C (FloatList): comment out the hardcoded float
2029 * lyxlayout.h: ws change.
2031 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2033 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2035 2002-09-03 Angus Leeming <leeming@lyx.org>
2037 * BufferView_pimpl.h: qualified name is not allowed in member
2038 declaration: WorkArea & Pimpl::workarea() const;
2040 * factory.C: added using std::endl directive.
2042 * text3.C: added using std::find and std::vector directives.
2044 2002-08-29 André Pönitz <poenitz@gmx.net>
2047 * text2.C: remove unused member number_of_rows
2050 * BufferView2.C: remove file, move contents to...
2051 * BufferView.C: ... here
2053 * BufferView_pimpl.C:
2054 * factory.C: move more inset creation to factory
2056 * vspace.C: avoid direct usage of LyXText, ws changes
2059 don't provide direct access to WorkArea, use two simple
2060 acessors haveSelction() and workHeight() instead
2063 2002-08-29 John Levon <levon@movementarian.org>
2065 * BufferView_pimpl.C (dispatch): do not continue when
2068 2002-08-28 André Pönitz <poenitz@gmx.net>
2070 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2073 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2075 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2077 * buffer.C: increment LYX_FORMAT to 221
2079 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2080 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2082 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2084 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2086 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2088 * factory.C (createInset): use LyXTextClass::floats
2090 * MenuBackend.C (expandFloatListInsert):
2091 (expandFloatInsert):
2094 * text2.C (setCounter):
2096 * LaTeXFeatures.C (useFloat):
2097 (getFloatDefinitions):
2099 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2101 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2102 floatlist_, with accessor floats().
2104 * FloatList.h: remove global FloatList
2106 2002-08-26 André Pönitz <poenitz@gmx.net>
2108 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2112 * BufferView_pimpl.C:
2113 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2115 2002-08-25 John Levon <levon@movementarian.org>
2117 * LyXAction.C: fix margin note description
2119 2002-08-24 John Levon <levon@movementarian.org>
2123 * bufferview_funcs.C:
2125 * undo_funcs.C: cleanups
2127 * lyxfunc.C: disable CUT/COPY when no selection
2129 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2131 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2132 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2134 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2135 Add backward compatibility to "mono", "gray" and "no".
2137 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2139 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2140 (and file_format >= 200).
2142 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2144 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2146 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2148 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2150 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2152 * BufferView_pimpl.C:
2159 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2160 inset and code to make it work with the paragraph code. The inset
2161 can be anywhere in the paragraph, but will only do the expected
2162 thing in LaTeX if the layout file contains the parameter line
2164 (or more generally, a nonzero value) for that layout.
2166 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * paragraph.h: remove the declaration of undefined counters class
2171 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2173 * text2.C (setCounter): fixed enumeration mis-count as reported by
2174 Dr. Richard Hawkins.
2176 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2178 * paragraph_funcs.h: remove some unneeded includes
2180 * text.C (backspace): pasteParagraph now in global scipe
2182 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2183 (pasteSelection): ditto
2185 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2186 * paragraph_funcs.C (pasteParagraph): ... here
2188 2002-08-20 André Pönitz <poenitz@gmx.net>
2190 * commandtags.h: new LFUNs for swapping/copying table row/colums
2193 * lyxfunc.C: support for new lfuns
2195 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * buffer.[Ch]: remove NO_COMPABILITY stuff
2200 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * boost.C (throw_exception): new file, with helper function for
2203 boost compiled without exceptions.
2208 * ParameterStruct.h:
2209 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2211 * bufferlist.C (emergencyWriteAll): use boost bind
2213 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2215 * text.C: include paragraph_funcs.h
2216 (breakParagraph): breakParagraph is now in global scope
2218 * paragraph_funcs.[Ch]: new files
2220 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2223 * buffer.C: include paragraph_funcs.h
2224 (insertStringAsLines): breakParagraph is now in global scope
2226 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2229 * CutAndPaste.C: include paragraph_funcs.h
2230 (cutSelection): breakParagraphConservative is now in global scope
2231 (pasteSelection): ditto
2233 * buffer.h: declare oprator== and operator!= for
2234 Buffer::inset_iterator
2236 * bufferlist.C (emergencyWrite): don't use fmt(...)
2238 * text3.C: add using std::endl
2240 * BufferView.C (moveCursorUpdate): remove default arg
2242 2002-08-20 André Pönitz <poenitz@gmx.net>
2244 * buffer.[Ch]: move inline functions to .C
2247 * BufferView_pimpl.C:
2249 * buffer.[Ch]: use improved inset_iterator
2252 * paragraph.[Ch]: write one paragraph at a time
2254 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2256 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2257 style if style is not specified.
2259 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2261 * text2.C (setCounter): when searching for right label for a
2262 caption, make sure to recurse to parent insets (so that a caption
2263 in a minipage in a figure float works) (bug #568)
2265 2002-08-20 André Pönitz <poenitz@gmx.net>
2267 * text3.C: new file for LyXText::dispatch() and helpers
2269 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2271 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2273 2002-08-19 André Pönitz <poenitz@gmx.net>
2276 * text.C: new LyXText::dispatch()
2278 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2280 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2282 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2284 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2287 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2289 * Makefile.am: use $(variables) instead of @substitutions@
2291 2002-08-15 André Pönitz <poenitz@gmx.net>
2294 * BufferView_pimpl.C: streamlining mathed <-> outer world
2298 * LyXAction.C: remove unused LFUN_MATH
2300 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2304 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * paragraph.C (Paragraph): reformat a bit
2307 (cutIntoMinibuffer): use builtin InsetList function instad of
2311 * buffer.C: include boost/bind.hpp, add using std::for_each
2312 (writeFileAscii): use ParagraphList iterators
2313 (validate): use for_each for validate traversal of paragraphs
2314 (getBibkeyList): use ParagraphList iterators
2315 (resizeInsets): use for_each to resizeInsetsLyXText for all
2317 (getParFromID): use ParagraphList iterators
2319 * BufferView2.C (lockInset): use paragraph list and iterators
2321 2002-08-14 John Levon <levon@movementarian.org>
2323 * lyxserver.C: remove spurious xforms include
2325 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2327 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2329 2002-08-13 André Pönitz <poenitz@gmx.net>
2332 * lyxfunc.C: further cleaning
2334 2002-08-13 André Pönitz <poenitz@gmx.net>
2336 * funcrequest.h: new constructor
2338 * funcrequest.C: move stuff here from .h
2341 * BufferView_pimpl.C:
2344 * lyxfunc.C: subsequent changes
2346 * lyxfunc.h: new view() member function
2348 * lyxfunc.C: subsequent changes
2350 2002-08-13 Angus Leeming <leeming@lyx.org>
2353 * BufferView_pimpl.C:
2361 changes due to the changed LyXView interface that now returns references
2362 to member variables not pointers.
2364 2002-08-13 Angus Leeming <leeming@lyx.org>
2366 * WordLangTuple (word, lang_code): return references to strings,
2371 * lyxtext.h: forward-declare WordLangTuple.
2376 * text.C: #include "WordLangTuple.h".
2379 * text.C: (selectNextWordToSpellcheck): constify return type.
2381 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2387 * paragraph_pimpl.h:
2390 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2392 Made updateCounter always count from start of buffer, and removed
2393 second argument (par).
2394 Reverted floats number display to '#'. Perhaps I'll try again when the
2395 code base is sanitized a bit.
2397 2002-08-12 Angus Leeming <leeming@lyx.org>
2399 * buffer.[Ch] (getLabelList): constify.
2401 2002-08-07 André Pönitz <poenitz@gmx.net>
2403 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2405 * funcrequest.h: extension to keep mouse (x,y) position
2407 2002-08-12 Juergen Vigna <jug@sad.it>
2409 * BufferView2.C (insertErrors): forbid undo when inserting error
2412 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2414 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * ParagraphList.[Ch]: new files
2418 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2420 * BufferView2.C (lockInset): ParagraphList changes
2423 * bufferlist.C: ditto
2427 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2430 unused class variable counter_,
2432 * paragraph.[Ch] (getFirstCounter): delete unused function
2434 * counters.C: include LAssert.h
2435 (reset): add a new function with no arg, change other version to
2436 not have def. arg and to not allow empty arg.
2438 * text2.C (setCounter): remove empty arg from call to Counters::reset
2440 2002-08-11 John Levon <levon@movementarian.org>
2442 * Makefile.am: add WordLangTuple.h
2444 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2447 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2449 * insets/insettext.C: InsetList changes
2451 * graphics/GraphicsSupport.C (operator()): InsetList changes
2453 * toc.C (getTocList): InsetList changes
2455 * paragraph_pimpl.[Ch]: InsetList changes
2457 * paragraph.[Ch]: InsetList changes
2459 * buffer.C (inset_iterator): InsetList changes
2460 (setParagraph): ditto
2461 * buffer.h (inset_iterator): ditto
2462 * iterators.C (operator++): ditto
2463 * iterators.h: ditto
2465 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2467 * InsetList.[Ch]: new files, most InsetList handling moved out of
2470 * BufferView2.C (removeAutoInsets): InsetList changes
2472 (ChangeInsets): ditto
2474 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * paragraph_pimpl.h (empty): new function
2478 * paragraph.[Ch] (empty): new function
2480 * other files: use the new Paragraph::empty function
2482 2002-08-09 John Levon <levon@movementarian.org>
2484 * lyxtext.h: remove unused refresh_height
2486 2002-08-09 John Levon <levon@movementarian.org>
2493 * paragraph.C: move sgml char escaping out of paragraph
2496 * paragraph.C: remove id setter
2500 * paragraph_pimpl.C: remove dead tex_code_break_column
2502 * bufferview_funcs.C: small cleanup
2504 * lyxfunc.C: remove dead proto
2506 * lyxtext.h: make some stuff private. Remove some dead stuff.
2508 * lyxgluelength.C: make as[LyX]String() readable
2510 2002-08-08 John Levon <levon@movementarian.org>
2515 * ToolbarDefaults.C:
2518 * toc.C: lyxaction cleanup
2520 2002-08-08 John Levon <levon@movementarian.org>
2522 * BufferView2.C: small cleanup
2525 * lyxfind.C: move unnecessary header into the .C
2527 2002-08-08 John Levon <levon@movementarian.org>
2529 * funcrequest.h: just tedious nonsense
2532 * lyx_main.C: cleanups
2535 * vspace.C: remove dead header lyx_main.h
2537 2002-08-07 Angus Leeming <leeming@lyx.org>
2540 * paragraph_pimpl.h:
2541 Forward declare class Counters in paragraph.h by moving the ctrs member
2542 variable into Paragraph::Pimpl.
2543 (counters): new method, returning a reference to pimpl_->ctrs.
2545 * text2.C: ensuing changes.
2547 2002-08-07 John Levon <levon@movementarian.org>
2549 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2551 * BufferView_pimpl.C: announce X selection on double/triple
2554 * lyx_main.C: use correct bool in batch dispatch
2556 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2558 2002-08-07 André Pönitz <poenitz@gmx.net>
2560 * funcrequest.h: new class to wrap a kb_action and its argument
2563 * BufferView_pimpl[Ch]:
2567 * lyxrc.C: subsequent changes
2570 2002-08-07 John Levon <levon@movementarian.org>
2572 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2573 document options change.
2575 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2580 * makefile.am: move counters functionality over from
2581 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2583 2002-08-06 John Levon <levon@movementarian.org>
2585 * WordLangTuple.h: new file for word + language code tuple
2596 * BufferView2.C: use WordLangTuple
2599 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2601 2002-08-06 John Levon <levon@movementarian.org>
2603 * lyx_main.C: fix cmdline batch handling
2605 2002-08-06 André Pönitz <poenitz@gmx.net>
2607 * lyxrc.C: set default for show_banner to true
2609 2002-08-06 John Levon <levon@movementarian.org>
2611 * pspell.C: fix a crash, and allow new aspell to work
2613 2002-08-06 John Levon <levon@movementarian.org>
2616 * kbmap.C: small cleanup
2619 * vspace.C: add const
2621 2002-08-05 John Levon <levon@movementarian.org>
2623 * LyXAction.C: back to tabular-insert
2625 2002-08-04 John Levon <levon@movementarian.org>
2628 * BufferView.C: cosmetic change
2630 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2640 * BufferView2.C: purge all "Lyx" not "LyX" strings
2643 * lyxcursor.C: attempt to add some documentation
2648 * ToolbarDefaults.C:
2649 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2650 merge with LFUN_TABULAR_INSERT
2657 * pspell.C: split up i/pspell implementations into separate
2658 files, many cleanups
2660 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2662 * text2.C: some cleanup
2664 * lyxfunc.C: don't check for isp_command == "none" any more, it
2665 didn't make any sense
2667 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2672 * makefile.am: move counters functionality over
2673 from text2.C/paragraph.[Ch] to counters.[Ch], and
2675 2002-08-02 John Levon <levon@movementarian.org>
2677 * buffer.C: s/lyxconvert/lyx2lyx/
2679 2002-08-02 Angus Leeming <leeming@lyx.org>
2681 * lyxlex.C: revert John's change as it breaks reading of the user
2684 2002-08-02 Angus Leeming <leeming@lyx.org>
2686 * importer.C (Import):
2687 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2688 changes due to LyXView::view() now returning a boost::shared_ptr.
2690 2002-08-02 John Levon <levon@movementarian.org>
2692 * lyxlex.C: small cleanup
2694 2002-08-02 John Levon <levon@movementarian.org>
2696 * text2.C (status): small cleanup, no logic change
2698 2002-08-01 John Levon <levon@movementarian.org>
2701 * buffer.C (writeFile): don't output alerts, caller
2705 * lyx_cb.C: from above
2707 * lyxfunc.C: allow to open non-existent files
2709 2002-07-31 John Levon <levon@movementarian.org>
2711 * lyxserver.C: don't let incidental errors get
2714 2002-07-30 John Levon <levon@movementarian.org>
2716 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2718 2002-07-30 John Levon <levon@movementarian.org>
2721 * lyxserver.C: remove I/O callback too
2723 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2725 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2728 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * many files: strip,frontStrip -> trim,ltrim,rtrim
2732 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * PrinterParams.h: remove extern containsOnly, and include
2735 support/lstrings.h instead.
2737 * LaTeX.C (scanAuxFile): modify because of strip changes
2739 * buffer.C (makeLaTeXFile): ditto
2740 * bufferparams.C (writeFile): ditt
2741 * lyxfont.C (stateText): ditto
2742 * lyxserver.C (read_ready): ditto
2743 * vc-backend.C (scanMaster): ditto
2745 * BufferView_pimpl.h: ws changes
2747 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2749 2002-07-26 André Pönitz <poenitz@gmx.net>
2751 * kb_sequence.C: remove unnedred usings
2753 2002-07-26 Juergen Vigna <jug@sad.it>
2755 * lyxfind.C (LyXReplace): we have to check better if the returned
2756 text is not of theLockingInset()->getLockingInset().
2758 2002-07-25 Juergen Vigna <jug@sad.it>
2760 * lyxfind.C (LyXReplace): don't replace if we don't get the
2763 * undo_funcs.C (createUndo): remove debugging code.
2765 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2767 * buffer.C (parseSingleLyXformat2Token): Use default placement
2768 when reading old floats.
2770 * FloatList.C (FloatList): Change the default placement of figure
2771 and tables to "tbp".
2773 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2775 * MenuBackend.C: using std::max
2777 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2779 * MenuBackend.C (expandToc):
2780 (expandToc2): code moved from xforms menu frontend. It is now
2781 generic and TOCs are transparent to menu frontends.
2783 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2785 * toc.C (getTocList): protect against buf=0
2787 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2788 Menu as first parameter. Now, this calls itself recursively to
2789 expand a whole tree (this will be useful for TOC handling)
2790 (expandFloatInsert): remove 'wide' version of floats
2792 * MenuBackend.h (submenuname): returns the name of the submenu.
2793 (submenu): returns the submenu itself, provided it has been
2794 created by MenuBackend::expand
2796 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2798 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2799 insets which have noFontChange == true. (bug #172)
2801 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2803 * BufferView_pimpl.C: add connection objects and use them...
2806 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2808 * MenuBackend.C (expandLastfiles):
2811 (expandFloatListInsert):
2812 (expandFloatInsert):
2813 (expand): split expand in parts
2815 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2817 * lyx_gui.C: use lyx_gui::exit()
2819 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2821 * LyXAction.C: show the failing pseudo action
2823 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2825 * buffer.C (readFile): Run the lyxconvert script in order to read
2828 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2832 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2834 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2838 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2840 2002-07-22 Herbert Voss <voss@lyx.org>
2843 * lyxlength.[Ch]: add support for the vertical lengths
2845 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2847 * toc.[Ch]: std:: fixes
2849 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2851 * lyxrc.C: do not include lyx_main.h
2853 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2859 * BufferView2.C: include "lyxlex.h"
2862 * bufferparams.h: do not #include "lyxlex.h"
2864 * lyxtextclasslist.C (Add): remove method
2865 (classlist): renamed to classlist_
2867 * paragraph_pimpl.C:
2871 * bufferview_funcs.C:
2876 * toc.C (getTocList): use BufferParams::getLyXTextClass
2878 * toc.C (getTocList): use InsetFloat::addToToc
2880 * toc.[Ch]: new files, containing helper functions to handle table
2883 * lyxfunc.C (dispatch): no need to remove spaces around command
2885 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2886 first command of the sequence; it is not very clever, but I do not
2887 have a better idea, actually
2889 * LyXAction.C (LookupFunc): make sure to remove space at the
2890 beginning and end of the command
2892 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2894 * MenuBackend.C (getMenubar): new method: return the menubar of
2896 (read): treat differently reading of menu and menubar (in
2897 particular, the menubar has no name now)
2898 (Menu::menubar): remove
2900 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2903 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2905 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2906 a bibitem inset in a RTL paragraph.
2908 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2910 * paragraph_pimpl.C: constify
2912 * BufferView_pimpl.C:
2914 * lyxfunc.C: fix dispatch in a nicer way
2916 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2918 * lyxfunc.C (dispatch):
2919 * BufferView_pimpl.C:
2920 * BufferView_pimpl.h:
2922 * BufferView.h: rename Dispatch() to dispatch()
2924 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2926 * lyxlayout.C (Read): honor DependsOn tag
2928 * lyxlayout.[Ch] (depends_on): new method
2930 * version.C.in: update lyx_docversion
2932 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2934 * paragraph.C (validate): remove from here...
2935 * paragraph_pimpl.C (validate): ... and move here
2936 (isTextAt): make it const
2938 * buffer.C (getLists): ws cleanup
2940 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2942 * language.C (read): Use iso8859-1 encoding in latex_lang
2943 (this prevents LyX from crashing when using iso10646-1 encoding).
2945 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2947 * text2.C (toggleInset): if cursor is inside an inset, close the
2948 inset and leave cursor _after_ it
2950 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2952 * lyxfunc.C: move minibuffer completion handling out of here
2954 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2956 * BufferView_pimpl.C:
2957 * LaTeX.C: fix dispatch calls
2959 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2961 * text.C (drawChars): Fix Arabic text rendering.
2963 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2967 * lyxfunc.C: remove message-push/pop
2971 * lyxfunc.C: rationalise some code by removing verboseDispatch
2972 in favour of a bool argument to dispatch()
2974 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2976 * lyx_main.C (init): make sure to read symlinks as absolute paths
2978 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2981 * lyxfunc.C: no need for commandshortcut to be a member
2983 2002-07-15 André Pönitz <poenitz@gmx.net>
2985 * converter.C: add support for $$s (scripts from lib/scripts dir)
2986 * lyx_main.C: white space
2988 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2992 * lyxrc.C: remove second exit confirmation
2994 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2999 * BufferView_pimpl.h:
3000 * BufferView_pimpl.C:
3001 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3003 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3005 * MenuBackend.C (expand): add numeric shortcuts to document menu
3007 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3009 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3011 * lyxfont.C (setLyXFamily):
3018 * buffer.C (asciiParagraph): use ascii_lowercase
3020 2002-07-15 Mike Fabian <mfabian@suse.de>
3022 * lyxlex_pimpl.C (search_kw):
3023 * lyxlex.C (getLongString):
3024 * converter.h (operator<):
3025 * converter.C (operator<):
3026 * buffer.C (parseSingleLyXformat2Token):
3028 * ToolbarDefaults.C (read):
3029 * MenuBackend.C (checkShortcuts):
3031 * LColor.C (getFromGUIName):
3032 (getFromLyXName): use the compare_ascii_no_case instead of
3033 compare_no_case, because in turkish, 'i' is not the lowercase
3034 version of 'I', and thus turkish locale breaks parsing of tags.
3036 2002-07-16 Angus Leeming <leeming@lyx.org>
3038 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3039 now takes a Buffer const & argument.
3041 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3043 * BufferView.C (resize): check there's a buffer to resize
3045 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3047 * lyxfunc.C: remove dead code
3050 * lyxserver.C: use lyx_guii::set_read_callback
3052 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3054 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3055 an inset in a RTL paragraph.
3057 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3059 * lyxfunc.C: repaint after a font size update
3061 2002-07-15 André Pönitz <poenitz@gmx.net>
3063 * lyxlength.C: inBP should be able to return negative values
3065 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3067 * lyxfunc.C: use lyx_gui::update_fonts()
3069 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3071 * lyxfunc.C: use lyx_gui::update_color()
3073 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3079 * lyxrc.C: remove file->new asks for name option, and let
3080 buffer-new take an argument
3082 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3084 * BufferView_pimpl.C: remove unneeded extra repaint()
3086 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3088 * LyXAction.C: allow command-sequence with NoBuffer
3090 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3092 2002-07-10 Angus Leeming <leeming@lyx.org>
3094 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3096 2002-07-09 Angus Leeming <leeming@lyx.org>
3098 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3100 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3102 * lengthcommon.h: whitespace
3104 * lyxfunc.C: update scrollbar after goto paragraph
3106 * lyxtext.h: factor out page break drawing, and fix it so
3107 page break/added space paints as selected nicely
3109 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3111 * BufferView_pimpl.C: add FIXMEs, clean up a little
3113 2002-07-09 André Pönitz <poenitz@gmx.net>
3115 * lyxfont.[Ch]: support for wasy symbols
3117 2002-07-08 André Pönitz <poenitz@gmx.net>
3119 * BufferView_pimpl.C: apply John's patch for #93.
3121 2002-07-05 Angus Leeming <leeming@lyx.org>
3123 * BufferView_pimpl.C (buffer): generate previews if desired.
3125 * LColor.h: add "preview" to the color enum.
3127 * LColor.C (LColor): add a corresponding entry to the items array.
3129 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3132 2002-07-05 Angus Leeming <leeming@lyx.org>
3134 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3135 The body of the code is now in the method that is passed an ostream &
3136 rather than a file name.
3137 Pass an additional only_preamble parameter, useful for the forthcoming
3140 2002-07-03 André Pönitz <poenitz@gmx.net>
3142 * lyxfunc.C: simplify getStatus() a bit for math stuff
3144 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3146 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3148 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3150 * text.C (changeRegionCase): do not change case of all the
3151 document when region ends at paragraph end (bug #461)
3153 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3155 * paragraph.C (startTeXParParams):
3156 (endTeXParParams): add \protect when necessary
3158 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * BufferView_pimpl.C (workAreaExpose): remove warning
3162 2002-06-27 Angus Leeming <leeming@lyx.org>
3164 * Makefile.am: add lyxlayout_ptr_fwd.h.
3166 2002-06-26 André Pönitz <poenitz@gmx.net>
3168 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3170 2002-06-25 Angus Leeming <leeming@lyx.org>
3172 * lyxfunc.C (dispatch): Comment out the call to
3173 grfx::GCache::changeDisplay. The method no longer exists now that the
3174 pixmap generation part of the graphics loader has been moved into
3177 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3179 * text2.C: layout as layout
3181 * text.C: layout as layout
3183 * tabular.C (OldFormatRead): layout as layout
3185 * paragraph_pimpl.C (TeXDeeper): layout as layout
3186 (realizeFont): layout as layout
3188 * paragraph.C (writeFile): layout as layout
3189 (validate): layout as layout
3190 (getFont): layout as layout
3191 (getLabelFont): layout as layout
3192 (getLayoutFont): layout as layout
3193 (breakParagraph): layout as layout
3194 (stripLeadingSpaces): layout as layout
3195 (getEndLabel): layout as layout
3196 (getMaxDepthAfter): layout as layout
3197 (applyLayout): layout as layout
3198 (TeXOnePar): layout as layout
3199 (simpleTeXOnePar): layout as layout
3200 (TeXEnvironment): layout as layout
3201 (layout): layout as layout
3202 (layout): layout as layout
3204 * lyxtextclass.C (compare_name): new functor to work with
3205 shared_ptr, layout as layout
3206 (Read): layout as layout
3207 (hasLayout): layout as layout
3208 (operator): layout as layout
3209 (delete_layout): layout as layout
3210 (defaultLayout): layout as layout
3212 * lyxlayout_ptr_fwd.h: new file
3214 * lyxlayout.C (Read): layout as layout
3216 * lyx_cb.C (MenuInsertLabel): layout as layout
3218 * bufferlist.C (newFile): layout as layout
3220 * buffer.C (readLyXformat2): layout as layout
3221 (parseSingleLyXformat2Token): layout as layout
3222 (insertStringAsLines): layout as layout
3223 (asciiParagraph): layout as layout
3224 (latexParagraphs): layout as layout
3225 (makeLinuxDocFile): layout as layout
3226 (simpleLinuxDocOnePar): layout as layout
3227 (makeDocBookFile): layout as layout
3228 (simpleDocBookOnePar): layout as layout
3229 (getLists): layout as layout
3231 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3233 * CutAndPaste.C (cutSelection): layout as layout
3234 (pasteSelection): layout as layout
3235 (SwitchLayoutsBetweenClasses): layout as layout
3237 * BufferView_pimpl.C (Dispatch): layout as layout
3238 (smartQuote): layout as layout
3240 * BufferView2.C (unlockInset): layout as layout
3242 2002-06-24 André Pönitz <poenitz@gmx.net>
3244 * lyxfunc.C: fix #487
3246 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3250 * lyxfunc.C: remove display_shortcuts, show_banner
3252 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3254 * Buffer_pimpl.C: oops, update on resize
3256 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3263 * BufferView.C: use repaint()
3265 * BufferView_pimpl.h:
3266 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3267 as it's a clearer description. Remove superfluous
3270 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3272 * text.C: fix bug 488. Not ideal, but getting
3273 getWord() to work properly for the insets that
3274 matter is more difficult ...
3276 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3278 * BufferView_pimpl.C:
3281 * lyxfunc.C: remove the six million index lyxfuncs to just
3282 one, and DTRT (bug 458)
3284 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3288 * BufferView_pimpl.h:
3289 * BufferView_pimpl.C: clean up resize() stuff,
3290 and unnecessary updateScreen()s
3292 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3296 * BufferView_pimpl.h:
3297 * BufferView_pimpl.C:
3300 * minibuffer.C: remove focus management of workarea,
3301 not needed. Use screen's greyOut()
3303 2002-06-17 Herbert Voss <voss@lyx.org>
3305 * converter.C: (convert) do not post a message, when converting
3306 fails, let the calling function decide what to do in this case
3308 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3310 * lyxfunc.C: tidy up a little
3312 2002-06-16 <alstrup@diku.dk>
3314 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3315 Got rid of FORMS_H_LOCATION include. Now we are
3318 2002-06-15 LyX Development team <lyx@rilke>
3320 * buffer.[Ch] (sgmlOpenTag):
3321 (sgmlCloseTag): Added support for avoiding pernicious mixed
3322 content. Return number of lines written.
3325 (makeDocBookFile): Fixed calls to sgml*Tag.
3326 Simple white space clean.
3328 (simpleDocBookOnePar): Simple white space clean.
3330 * tabular.[Ch] (docBook): Renamed to docbook and got another
3331 argument to related with the pernicious mixed content.
3333 (docbookRow): Fixed calls for docbook inset method.
3335 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3337 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3338 so it's X11 independent.
3342 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3344 2002-06-15 Lyx Development team <lyx@electronia>
3346 * intl.h: Renamed getTrans to getTransManager.
3348 2002-06-14 Angus Leeming <leeming@lyx.org>
3350 * Makefile.am: nuke forgotten stl_string_fwd.h.
3352 2002-06-12 Angus Leeming <leeming@lyx.org>
3354 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3356 2002-06-13 Angus Leeming <leeming@lyx.org>
3359 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3361 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3363 * kbmap.C (getiso): add support for cyrillic and greek
3365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3369 * BufferView_pimpl.h:
3370 * BufferView_pimpl.C: move bogus scrolling logic
3373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3376 * BufferView_pimpl.C: view->resize() change
3378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3380 * BufferView_pimpl.C: topCursorVisible
3383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3387 * lyx_gui.C: move to frontends/
3391 * lyx_main.C: changes from above
3393 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3400 * lyx_main.C: minor tidy
3402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3404 * BufferView_pimpl.h:
3405 * BufferView_pimpl.C:
3407 * BufferView.C: make painter() const,
3410 * BufferView2.C: use screen() accessor
3413 * lyx_main.C: some minor cleanup
3415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3417 * BufferView_pimpl.h:
3418 * BufferView_pimpl.C: remove enter/leaveView,
3421 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3426 * BufferView_pimpl.h:
3427 * BufferView_pimpl.C: only construct screen once,
3430 * lyxrc.C: remove pointless comment
3432 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3435 * BufferView.C: remove active() and belowMouse()
3437 * BufferView_pimpl.h:
3438 * BufferView_pimpl.C: use workarea() not workarea_,
3439 and make it use a scoped_ptr instead
3441 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3443 * lyx_gui.C: add debug message on BadWindow
3445 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3447 * sp_spell.C: fdopen is not part of the C++ standard.
3449 * paragraph.C (InsetIterator): use >= instead of ==
3451 2002-06-07 Angus Leeming <leeming@lyx.org>
3453 Fixes needed to compile with Compaq cxx 6.5.
3454 * BufferView_pimpl.C:
3461 * lyxtextclasslist.C:
3466 all c-library variables have been moved into namespace std. Wrap
3467 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3472 Add a using std::abs declaration.
3474 * kbmap.h (modifier_pair):
3475 * paragraph.h (InsetTable, InsetList):
3476 * lyxfont.h (FontBits):
3477 type definition made public.
3479 * bufferlist.C (emergencyWriteAll): the compiler complains that
3480 there is more than one possible lyx::class_fun template to choose from.
3481 I re-named the void specialisation as lyx::void_class_fun.
3483 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3485 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3486 the compiler is is unable to find tostr in write_attribute.
3488 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3490 * buffer.C (sgmlError): hide #warning
3492 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3494 * xtl/*: get rid of xtl, which is not in use anyway
3496 * LyXAction.C (init):
3497 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3498 were unimplemented xtl experimentation
3500 2002-06-04 André Pönitz <poenitz@gmx.net>
3502 * lyxfunc.C: disable array operation on simple formulae
3504 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3506 * converter.C: constify a bit
3508 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3510 * lyx_gui.C: check xforms version correctly
3512 2002-04-30 Herbert Voss <voss@lyx.org>
3514 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3517 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3519 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3520 attempt to register it with a VCS)
3522 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3524 * lyx_main.C (init): honor variables LYX_DIR_13x and
3527 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3531 * lyx_main.C: fix a crash on bad command line,
3532 and give a useful exit status on error
3534 * lyxfunc.C (doImport): allow -i lyx to work
3536 2002-03-30 André Pönitz <poenitz@gmx.net>
3538 * lyxfunc.C: mathed font changes
3540 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3555 * trans_mgr.h: srcdocs, and some minor cleanups
3557 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3559 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3560 call getFont all the time)
3562 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3564 * switch from SigC signals to boost::signals
3566 2002-05-29 André Pönitz <poenitz@gmx.net>
3568 * paragraph_pimpl.C (getChar): don't call size() too often...
3570 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3572 * paragraph_pimpl.C (insertChar): do not try to update tables when
3573 appending (pos == size())
3575 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3576 in order to reduce drastically the number of comparisons needed to
3577 parse a large document
3579 2002-05-29 André Pönitz <poenitz@gmx.net>
3585 * textclasslist.[Ch]:
3586 * sp_ispell.h: whitespace change
3588 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3590 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3591 lyxaction directly now.
3593 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3597 * lyxvc.C: remove unused headers
3599 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3606 * undo_funcs.C: some cleanups. Use shared_ptr
3607 and a template for the undo stacks.
3609 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3611 * BufferView_pimpl.h:
3612 * BufferView_pimpl.C:
3619 * text2.C: use key_state/mouse_state
3621 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3623 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3626 * chset.C: change include order
3627 (loadFile): use boost regex and get rid of LRegex and LSubstring
3629 * Makefile.am (BOOST_LIBS): new variable
3632 * LaTeX.C: change include order.
3633 (scanAuxFile): use boost regex and get rid of LRegex and
3637 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3642 * FontInfo.C: moved to frontends/xforms/
3645 * FontLoader.C: moved into frontends for GUIIzation
3650 * lyxfunc.C: changes from above
3652 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3654 * LColor.C: remove spurious X include
3656 * BufferView_pimpl.C:
3661 * text2.C: move font metrics to frontends/
3663 2002-05-24 Juergen Vigna <jug@sad.it>
3665 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3666 setting the undo_cursor.
3668 * ParagraphParameters.h: include local includes first.
3670 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3672 * BufferView_pimpl.C:
3673 * BufferView_pimpl.h:
3677 * screen.C: move WorkArea into frontends/
3683 * BufferView2.C: move LyXScreen into frontends/
3687 * lyx_gui.C: move lyxlookup into frontends/xforms/
3689 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3692 * BufferView_pimpl.C:
3702 * bufferview_funcs.C:
3715 * vc-backend.C: move LyX/XFormsView into frontends/
3717 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3729 * text2.C: move Painter to frontends/
3731 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3733 * buffer.C: comment out some some code that depend upon lyx_format
3736 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3737 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3739 * buffer.h (NO_COMPABILITY): turn off compability
3741 * ColorHandler.C: include scoped_array.hpp
3743 * font.C: Use more specific smart_ptr header.
3746 * ShareContainer.h: ditto
3750 * BufferView_pimpl.h: ditto
3751 * ColorHandler.h: ditto
3753 * kbmap.C (defkey): change call to shared_ptr::reset
3755 2002-05-21 Juergen Vigna <jug@sad.it>
3757 * buffer.C (insertErtContents): fix to insert ert asis if it is
3758 non empty. Skip it completely if it contains only whitespaces.
3760 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3762 * BufferView_pimpl.C:
3763 * BufferView2.C: clear selection on paste (bug 393)
3765 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3767 * DepTable.C: include ctime
3769 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3771 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3773 2002-05-14 Juergen Vigna <jug@sad.it>
3775 * text.C (breakParagraph): fixed function to honor the keepempty
3776 layout in the right maner and also to permit the right breaking
3777 algorithm on empty or non empyt keepempty paragraphs.
3779 * paragraph.C (breakParagraph): we have to check also if the par
3780 is really empty (!size()) for isempty otherwise we do the wrong
3783 2002-05-10 Juergen Vigna <jug@sad.it>
3785 * buffer.[Ch] : The following are only changes to the ert
3786 compatibility read reading old LaTeX layout and font stuff and
3787 convert it to ERTInsets.
3789 * buffer.h: added isErtInset().
3791 * buffer.C (struct ErtComp): add a fromlayout bool to check
3792 if we're inside a LaTeX layout.
3793 (isErtInset): new helper function.
3794 (insertErtContents): look for other ert insets before this one
3795 and insert the contents there, so that we don't have subsequent
3796 ERT insets with nothing between them. This way we create only one
3797 inset with multiple paragraphs. Also check if we don't insert only
3798 spaces ' ' as they are ignored anyway afterwards in the .tex file
3799 so if we have only spaces we will ignore this latex part in the
3801 (parseSingleLyXformat2Token \\layout): better compatibility when
3802 reading layout-latex stuff.
3803 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3805 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3806 stuff after reading the inset only get the information back from
3809 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3811 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3813 * LaTeXFeatures.C (getBabelOptions): New method.
3815 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3817 * BufferView_pimpl.C (Dispatch): work around missing argument for
3820 2002-05-08 Juergen Vigna <jug@sad.it>
3822 * text.C (leftMargin): handle paragraph leftindent.
3824 * paragraph.C (writeFile): write the new \\leftindent tag.
3825 (validate): handle leftindent code.
3826 (TeXEnvironment): handle paragraphleftindent code again.
3828 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3830 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3831 for paragrap_extra indent code and new token \\leftindent.
3832 (latexParagraphs): handle the leftindent as environment.
3834 * ParameterStruct.h: added leftindent support.
3836 * ParagraphParameters.C (leftIndent): added support functions for
3837 the paragraph left indent.
3839 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3842 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3844 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3847 * text.C (computeBidiTables): No bidi in insetERT.
3849 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3852 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3854 * version.C.in: pre 5
3856 2002-05-02 José Matos <jamatos@fep.up.pt>
3857 * buffer.C (makeDocBookFile): white space changes, add newline to
3859 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3861 * tabular.C (docBook): fix typo.
3863 2002-05-03 Juergen Vigna <jug@sad.it>
3865 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3866 change in LyXText as we can not be sure it was not freed.
3867 (drawOneRow): remove unused code.
3869 * text.C (drawInset): redo the calculation of the need_break_row as
3870 it could have a row which was already freed.
3871 (draw): look at the return value of drawInset and return false if
3872 it also returned false.
3873 (paintRowText): look at the return value of draw and return false if
3874 it also returned false.
3876 * lyxtext.h: added bool return type to drawInset() and draw() so that
3877 if we have a change in the row so that the rowbreak has to be redone
3878 we abort drawing as it will be called again.
3880 2002-05-02 Juergen Vigna <jug@sad.it>
3882 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3883 a change in the maintext also if we're inside an inset.
3884 (Dispatch): set the cursor again after a break line and after the
3885 screen has been updated as it could be we're in a different row.
3887 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3888 to set the cursor behind the pargraph with > size().
3889 (setCursor): check also for the same paragraph when checking where
3890 to put the cursor if we have a NFR inset.
3892 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3893 parts of layout read further up as it still was in the wrong
3896 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3898 * screen.C (drawFromTo): change sine fullRebreak always return
3901 * buffer.C (parseSingleLyXformat2Token): reindent some
3903 * BufferView_pimpl.C (update): change since fullRebreak always
3905 (Dispatch): git rid of the last hardcoded "Standard"s.
3907 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3909 * text2.[Ch] (fullRebreak): make it return void now that we always
3912 2002-04-30 Juergen Vigna <jug@sad.it>
3914 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3915 ert compatibility check for "latex" layout.
3917 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3919 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3920 minipages: use col% instead of p%, and also use the current font.
3921 (makeLaTeXFile): Fix use babel condition.
3922 (parseSingleLyXformat2Token): Correct font when reading old floats.
3924 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3926 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3927 inserting list of floats.
3929 2002-04-25 Herbert Voss <voss@lyx.org>
3931 * MenuBackend.C (expand): don't add the graphics extensions to the
3934 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3937 non-existing layout, do not complain if it was the default layout
3938 of the original class (bug #342)
3940 2002-04-24 Juergen Vigna <jug@sad.it>
3942 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3943 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3945 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3947 * buffer.C (getBibkeyList): If using \bibliography, return the
3948 option field with the reference itself. Enables us to provide natbib
3949 support when using \bibliography.
3951 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3953 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3955 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3956 natbib is provided by the LaTeX class.
3958 2002-04-23 Juergen Vigna <jug@sad.it>
3960 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3963 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3965 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3969 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3970 ensuremath around textordmasculine, textordfeminine and
3973 2002-04-19 Juergen Vigna <jug@sad.it>
3975 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3976 reinitializing the buffer otherwise row-dimensions may be wrong.
3977 (update): reset also the selection cursors if they do exits otherwise
3978 their x/y positions may be wrong.
3980 * text2.C (cursorDown): don't enter the inset if we came from a row
3981 above and are one row over the inset.
3983 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3984 really leaving an inset.
3986 2002-04-18 Juergen Vigna <jug@sad.it>
3988 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3989 of the selected paragraph does not have the selected layout also if
3992 * text2.C (setLayout): fixed bug which did not change last selected
3995 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3996 changed the read and substituted \\end_float with \\end_inset!
3998 * BufferView_pimpl.C (cursorPrevious):
3999 (cursorNext): fixed to make it work with rows heigher than the work
4000 area without moving the cursor only the draw of the row.
4001 (workAreaMotionNotify): fix jumping over high rows.
4003 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4005 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4008 2002-04-16 Juergen Vigna <jug@sad.it>
4010 * text2.C (setCursor): set also the irow().
4011 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4013 (cursorDown): support for locking an inset if the x_fix value goes
4014 inside it. That way I can transverse insets too with cursor up/down.
4016 * lyxrow.h: added irow helper function same as other (i) functions.
4018 * BufferView_pimpl.C (cursorPrevious):
4019 (cursorNext): fixed for insets!
4021 2002-04-15 Juergen Vigna <jug@sad.it>
4023 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4024 position otherwise it is wrong in some cases.
4026 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4027 inside the inset before the call.
4029 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4031 * buffer.[Ch] (getBibkeyList): make it const.
4033 2002-04-12 Juergen Vigna <jug@sad.it>
4035 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4037 * text2.C (getCursorX): new helper function
4038 (setCursor): compute also ix_
4039 (setCursorFromCoordinates): set also ix.
4041 * lyxcursor.h: added ix_ and helper functions.
4043 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4045 * buffer.C (insertStringAsLines): dont break paragraph if the this
4046 paragraph is inside an inset which does not permit it!
4048 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4049 also with no chars on this paragraph.
4050 (paintRowText): only paint stuff if it's inside the workarea!
4052 * paragraph.C (breakParagraph): honor keepempty flag and break the
4053 paragraph always below not above.
4055 * BufferView2.C (unlockInset): update the paragraph layout on inset
4056 unlock as we changed paragraph in such a case.
4058 * lyxfind.C (LyXFind): clear the former selection if not found!
4060 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4061 again called in insertChar().
4063 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4064 an inset which uses the whole row!
4065 (rightMargin): ditto.
4066 (insertChar): force a rebreak if we inserted an inset!
4068 2002-03-28 Herbert Voss <voss@lyx.org>
4070 * lyxlength.[Ch]: add inBP() to get the right PS-point
4071 units (BigPoint). With inPixels we have rounding errors
4073 2002-04-11 Juergen Vigna <jug@sad.it>
4075 * text2.C (setCursorFromCoordinates): set iy to the right value.
4076 (setCursor): add check if row->previous exists!
4078 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4079 an old float_type as this was the case in the old code!
4081 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4083 * BufferView2.C (showLockedInsetCursor): use iy
4084 (fitLockedInsetCursor): ditto
4086 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4087 locked insets as there we have the right value now.
4089 * lyxcursor.C: added iy_ variable and iy functions to set to the
4090 baseline of cursor-y of the locked inset.
4092 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4093 (setCursor): fixed for insets which need a full row.
4095 * text.C (rowLastPrintable): don't ignore the last space when before
4096 an inset which needs a full row.
4097 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4098 as last character of a row when before a inset which needs a full row.
4100 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4102 * version.C.in: update date
4104 * text2.C (fullRebreak): try to always return true and see what
4107 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4109 * MenuBackend.C (expand): use Floating::listName
4111 * FloatList.C (FloatList): add listName argument to the built-in
4114 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4115 text associated with the float.
4117 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4119 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4121 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4123 * ShareContainer.h: add a couple of missing typenames.
4125 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4127 * lyxrc.C (getDescription): use _() correctly rather than N_().
4129 2002-03-28 Herbert Voss <voss@lyx.org>
4131 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4132 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4134 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4136 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4137 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4139 2002-03-29 Juergen Vigna <jug@sad.it>
4141 * lyxfunc.C (dispatch): add a missing fitCursor call.
4143 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4144 it was scrolled by a cursor move, so return the bool status.
4146 * BufferView.C (fitCursor): return the bool flag also to the outside
4147 world as this is needed.
4149 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4151 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4152 call the edit() as it is not needed (and wrong) IMO.
4153 (workAreaButtonPress): set the screen_first variable before evt.
4154 unlock the inset as this may change screen_first and then we have
4155 a wrong y position for the click!
4157 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4159 * MenuBackend.C (expand): another translation that I missed
4161 2002-03-28 Juergen Vigna <jug@sad.it>
4163 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4165 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4167 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4169 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4171 * MenuBackend.C (expand): fix export/view/update when there is no
4174 2002-03-27 Herbert Voss <voss@lyx.org>
4176 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4179 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4181 * bufferview_funcs.C (currentState): only show paragraph number
4182 for is DEVEL_VERSION is set.
4184 * lyxfunc.C (dispatch): put warning in INFO channel
4186 * MenuBackend.C (expand): translate the name of floats
4188 * FloatList.C (FloatList): mark the float names for translation
4190 * converter.C (convert): use LibScriptSearch
4192 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4194 * MenuBackend.C (defaults): fix default menu (we might as well get
4197 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4199 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4202 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4204 * lyxvc.C: reorder includes.
4206 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4208 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4211 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4213 * CutAndPaste.C: change layouts earlier on paste
4214 to avoid crashing when calling getFont()
4216 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4218 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4221 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4223 * WorkArea.C: remove 'Pending' debug message.
4225 * most files: ws cleanup
4227 * buffer.[Ch]: ws changes
4229 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4231 2002-03-21 Juergen Vigna <jug@sad.it>
4233 * tabular.C (SetMultiColumn): collapse also the contents of the
4234 cells and set the last border right. Added a Buffer const * param.
4236 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4238 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4241 2002-03-19 Juergen Vigna <jug@sad.it>
4243 * text2.C (clearSelection): reset also xsel_cache.
4245 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4246 where it needs to be called (John tells us to do so too :)
4247 (selectionLost): reset sel_cache.
4249 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4251 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4253 * text2.C (setCursorIntern): put debuging code in INSETS channel
4255 2002-03-19 André Pönitz <poenitz@gmx.net>
4257 * lyxfunc.C: tiny whitespace change
4259 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4261 * ToolbarDefaults.C (init):
4262 * LyXAction.C (init):
4264 * BufferView_pimpl.C (Dispatch):
4265 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4267 2002-03-19 Allan Rae <rae@lyx.org>
4269 * exporter.C (Export): removeAutoInsets before doing anything else.
4270 While I've just introduced a dependency on BufferView this really is
4271 the best place to clean the buffer otherwise you need to cleanup in
4272 a dozen places before calling export or cleanup in a dozen functions
4275 * converter.C (runLaTeX):
4276 (scanLog): Better handling of removeAutoInsets and screen updates.
4278 * lyxfunc.C (dispatch): small whitespace changes
4280 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4282 * WorkArea.C (C_WorkAreaEvent): return a value.
4283 (event_cb): return 1 if we handled the event, 0 otherwise.
4285 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4287 2002-03-18 Juergen Vigna <jug@sad.it>
4289 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4290 (GetAdditionalWidth): ditto.
4294 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4295 inset if we're there actually (probably not used right now but this
4296 is the direction to go for unifying code).
4297 (paste): disable code to clear the selection.
4299 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4300 inside an InsetText and move the check further up as it is in the
4303 * text2.C (pasteSelection): set a selection over the pasted text.
4305 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4307 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4308 and libgraphics to build on Cygwin.
4310 2002-03-15 Juergen Vigna <jug@sad.it>
4312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4313 inserting an Inset into the paragraph. I know this is not the best
4314 fix but we already use current_view in CutAndPaste so we will remove
4315 all of it's using at the same time.
4317 * buffer.C (sgmlError): deactivated function till it is rewritten in
4318 the right mode, now it can create problems.
4320 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4321 before accessing it.
4323 2002-03-14 Juergen Vigna <jug@sad.it>
4325 * undo_funcs.C (textHandleUndo): do the right thing when updating
4326 the inset after the undo/redo.
4328 * text2.C (setCursor): just some testcode for #44 not ready yet.
4330 * undo_funcs.C (textHandleUndo): set the next() and previous()
4331 pointers of the paragraph to 0 before deleting otherwise we have
4332 problems with the Paragraph::[destructor].
4334 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4335 on a paragraph insertion.
4337 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4339 * buffer.C (asciiParagraph): use += operator for char append to
4342 * paragraph.C (getFontSettings): compare >= not just >
4343 (highestFontInRange): ditto
4346 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4348 * paragraph.C: change several algorithm to be more appripriate for
4349 the problem domain. This is lookip in FontList and in the InsetList.
4351 2002-03-13 André Pönitz <poenitz@gmx.net>
4354 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4356 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4361 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4363 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4365 * Painter.C (display): anon helper function, adjust code for this
4367 (pixmap): remove function.
4369 * Painter.h: remove private display variable.
4371 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4373 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4375 * WorkArea.[Ch]: remove figinset_canvas cruft.
4377 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4379 * lyxtextclass.C (operator): add one item cache optimization.
4381 * bufferlist.h: doxy changes
4383 * bufferlist.C: ws changes
4385 * DepTable.[Ch] (ext_exist): place const in the right spot.
4387 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4389 (workAreaExpose): call resizeInsets when the with BufferView changes.
4390 (Dispatch): adjust for protectedBlank removal
4391 (specialChar): call updateInset if the insert went ok.
4393 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4394 specialChar instead.
4396 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4398 * BufferView.h: doxy change
4400 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4402 * lyxtextclass.C (operator[]): remove non-const version
4403 (defaultLayout): remove non-const version
4405 2002-03-12 Juergen Vigna <jug@sad.it>
4407 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4408 did resize the LyXText too.
4410 * buffer.C (readLyXformat2): set layout information on newly allocated
4413 * tabular.C (OldFormatRead): set layout information on the paragraph.
4415 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4417 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4419 2002-03-11 Juergen Vigna <jug@sad.it>
4421 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4423 (resizeCurrentBuffer): force also the insets to resize themselfes.
4424 (moveCursorUpdate): fixed up for InsetText.
4426 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4429 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4430 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4431 value of Dialogs::tooltipsEnabled().
4432 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4434 2002-03-08 Juergen Vigna <jug@sad.it>
4436 * BufferView_pimpl.C (updateInset): update inset inside inset also
4437 if it isn't inside theLockingInset().
4439 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4441 * buffer.C (asciiParagraph): redo some of the word and line length
4443 (getLists): look for Caption instead of caption.
4445 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4447 * buffer.C (Buffer): initialize niceFile to true
4450 (makeDocBookFile): make sure niceFile is true on exit
4452 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4454 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4456 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4458 * LyXSendto.C: remove.
4459 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4460 * lyx_gui.C: remove now-redundant comment.
4461 * ColorHandler.h: remove forward declaration of class WorkArea.
4462 * lyxfunc.C: remove #include "WorkArea.h".
4464 2002-03-07 Juergen Vigna <jug@sad.it>
4466 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4467 got moved away with the DEPM and also set the inset_owner always
4468 right which before could have been omitted.
4470 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4472 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4473 wanted layout is not found.
4475 2002-03-07 Juergen Vigna <jug@sad.it>
4477 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4479 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4481 * paragraph.C (breakParagraph): use default layout not layout of
4483 (Paragraph): clear ParagraphParameters.
4485 2002-03-06 Juergen Vigna <jug@sad.it>
4487 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4488 otherwise it would not be a valid lenght. Fixed a special case in
4489 the minipage compatibility read where we end the document with a
4492 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4493 was set as it could be 0 for InsetTexts first entry.
4495 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4497 * paragraph.C (writeFile): if layout is empty write out
4498 defaultLayoutName().
4500 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4501 file without named layout we set layout to defaultLayoutName().
4503 2002-03-06 Juergen Vigna <jug@sad.it>
4505 * CutAndPaste.C (copySelection): set layout for new paragraph.
4507 * text.C (prepareToPrint): leave ERT inset left aligned
4508 (leftMargin): don't indent paragraphs inside ERT insets
4510 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4512 * paragraph.C (breakParagraph): dont call clear do the work manually
4514 * paragraph.[Ch] (clear): remove function
4516 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4518 * paragraph.C (Paragraph): dont call clear, the work has already
4521 * lyxtextclass.C (operator): assert if n is empty
4523 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4524 work manually instead.
4526 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4528 * BufferView_pimpl.C: protect selectionLost against text == 0
4530 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4532 * text.C (breakParagraph): fix a setting layout to '0' problem.
4534 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4536 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4537 final location of file, for the included files, and graphics.
4539 2002-03-05 Juergen Vigna <jug@sad.it>
4541 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4543 2002-03-04 Juergen Vigna <jug@sad.it>
4545 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4547 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4548 last column of multicolumn cells.
4549 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4551 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4553 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4554 file if it doesn't go to a temporary file.
4556 * buffer.C (sgmlOpenTag):
4557 (sgmlCloseTag): remove extra newline insertion.
4559 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4561 * text.C (getRowNearY): comment out debug msg
4563 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4565 * text2.C: first -> first_y
4567 * text.C (getRowNearY): add some attemts at a possible
4568 optimization, not working.
4570 * tabular.[Ch]: add BufferParams to several function so that newly
4571 created paragraph can be initialized to he default layotu for the
4574 * tabular-old.C (ReadOld): add buf->params to call of Init
4576 * screen.C: rename text->first to text->first_y
4578 * paragraph.C (breakParagraph): always set layout in the broken
4581 * lyxtextclass.C (Read): remove lowercase
4584 (delete_layout): ditto
4586 * lyxtext.h: rename first -> first_y
4588 * lyxlayout.C (Read): remove lowercase
4591 (obsoleted_by): ditto
4593 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4595 * buffer.C (insertErtContents): add params are to InsetERT
4596 (parseSingleLyXformat2Token): add code to check if a paragraphs
4597 layout really exist.
4598 (parseSingleLyXformat2Token): add params to several inset
4600 (asciiParagraph): remove lowercase, do the layout comparisons with
4603 * BufferView_pimpl.C (cursorNext): first -> first_y
4604 (resizeCurrentBuffer): first -> first_y
4605 (updateScrollbar): first -> first_y
4606 (scrollCB): first -> first_y
4607 (workAreaMotionNotify): first -> first_y
4608 (workAreaButtonPress): first -> first_y
4609 (checkInsetHit): first -> first_y
4610 (cursorPrevious): first -> first_y
4611 (cursorNext): first -> first_y
4612 (Dispatch): add buffer_->params to severl inset contructors
4614 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4616 * lyxlayout.C (Read): remove some debug info that I forgot.
4618 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4619 clean up the code slightly.
4620 (makeLinuxDocFile): ditto
4621 (makeDocBookFile): ditto
4623 * text2.C: layout as string
4625 * text.C: layout as string
4627 * paragraph_pimpl.C: layout as string
4629 * paragraph.[Ch]: layout as string
4631 * lyxtextclasslist.[Ch]: layout as string
4633 * lyxtextclass.[Ch]: layout as string
4635 * lyxtext.h: layout as string
4637 * lyxlayout.[Ch]: layout as string
4639 * lyx_cb.C: layout as string
4641 * bufferview_funcs.C: layout as string
4643 * bufferparams.C: layout as string
4645 * buffer.C: layout as string
4647 * LyXView.[Ch]: layout as string
4649 * LaTeXFeatures.[Ch]: layout as string
4651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4653 * BufferView_pimpl.C: change current_layout to string, remove
4658 (workAreaButtonRelease): layout as string
4660 * BufferView2.C (unlockInset): adjust
4662 * vspace.C (asLatexCommand): use an explict temp variable.
4664 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4666 * Makefile.am: use FRONTEND_*
4668 2002-03-01 Juergen Vigna <jug@sad.it>
4670 * tabular.C (SetWidthOfMulticolCell): changed to something better
4671 I hope but still work in progress.
4672 (recalculateMulticolumnsOfColumn): renamed function from
4673 recalculateMulticolCells as it is more appropriate now.
4674 (SetWidthOfCell): calculate multicols better.
4676 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4678 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4680 * lyxfunc.C (processKeySym): print sequence also if it is
4681 `deleted' (complete)
4683 * kbsequence.C (print): print sequence even if it is deleted
4684 (complete would be a better word, actually).
4686 * lyxfunc.C (dispatch): print complete options after a prefix key
4688 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4690 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4692 * text2.C (setCharFont): eliminate setCharFont code duplication.
4694 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4696 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4697 LFUN_TABULAR_FEATURE (bug #177)
4699 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4701 * Makefile.am: remove figure.h
4703 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4705 * Bufferview_pimpl.C:
4717 * text2.C: remove #include "lyx_gui_misc.h".
4719 * LaTeX.C: added #include <cstdio>
4721 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4723 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4724 that the paragraph following this one can have.
4726 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4728 * vspace.C (asLatexCommand): fix bogus gcc warning
4730 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4732 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4734 * text2.C (setLayout): get rid of redundant code
4736 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4738 * text2.C (incDepth): make sure depth cannot be increased beyond
4741 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4743 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4744 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4746 * PainterBase.h (image):
4747 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4750 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4754 * BufferView_pimpl.C:
4755 * BufferView_pimpl.h:
4775 * sp_spell.C: remove fig inset, and the crap house of
4776 cards that follows it
4778 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4784 * nt_defines.h: move .h into support/
4786 * vms_defines.h: remove
4788 * WorkArea.C: add space in debug output
4792 * buffer.C: add WITH_WARNINGS
4796 * bufferlist.C: s/retrive/retrieve/, add docs
4807 * lyxgui.C: add ID to X error handler
4809 * lyxtestclass.c: fix typo
4811 2002-02-26 Juergen Vigna <jug@sad.it>
4813 * tabular_funcs.C (write_attribute): changed so that some default
4814 attributes are not written at all.
4815 (getTokenValue): set default values before trying to read the
4816 value so we have the return value always set as default if we don't
4817 find the token we search for.
4819 * tabular.C (Write): write bools as bools not as strings!
4821 2002-02-22 Juergen Vigna <jug@sad.it>
4823 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4824 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4826 * text.C (leftMargin): don't add an indent for paragraphs inside
4827 tabular cells (fix #208).
4829 2002-02-21 José Matos <jamatos@fep.up.pt>
4831 * tabular.C (docBook): fixed support for long tables.
4833 2002-02-20 Juergen Vigna <jug@sad.it>
4835 * text2.C (getFont): get the drawing font of the Inset if this
4836 paragraph is inside an inset (only important for InsetERT for now).
4838 * buffer.C (insertErtContents): use new lanugage params in ERT
4841 * CutAndPaste.C: commenting out seemingly uneeded code.
4843 2002-02-19 Allan Rae <rae@lyx.org>
4845 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4846 Iterators might be simple to use but they also get invalidated.
4847 (removeAutoInsets): renamed saved cursor tracking variables and added
4848 some comments to clarify what everything does.
4850 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4857 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4858 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4861 * vc-backend.h: remove #include "support/syscall.h"
4865 * converter.C: rearrange #includes in Lars' approved fashion.
4867 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4868 forward declare class Timeout in the header file.
4870 * XFormsView.C: changes due to the above.
4872 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4875 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4876 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4878 2002-02-18 José Matos <jamatos@fep.up.pt>
4880 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4883 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4885 * a lot of small ws changes
4886 * add a lot of using std::XXX
4887 * use std construcs some places where approp.
4888 * use some exisint stuff from lyxfunctional where approp.
4889 * Make file changes to use partial linking (lets test this now...)
4891 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4895 remove #include "support/syscontr.h" as it's redundant. Always has been.
4903 change Systemcalls::System to Systemcalls::Wait and
4904 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4905 No change of functionality, just reflects the stripped down Systemcalls
4908 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4910 * debug.[Ch]: add a GRAPHICS type to the enum.
4912 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4914 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4916 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4919 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4921 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4922 match the changes below.
4924 * text2.C (toggleInset): if there is not editable inset at cursor
4925 position, try to see if cursor is _inside_ a collapsable inset
4928 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4930 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4931 document menu has a nice checkbox
4933 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4935 * lyxlength.C (asLatexString): change PW to output as percent of
4938 * lengthcommon.C: change '%' to 't%'
4940 * lyxfunc.C (dispatch): a few comments from Martin
4942 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4946 * BufferView_pimpl.h:
4947 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4950 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * vspace.C (inPixels): fix compiler warning
4954 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4956 * lyxfunc.C (getStatus): fix status message for disabled commands.
4958 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4960 * BufferView_pimpl.C: fix crash on close buffer
4961 during selection (#227)
4963 2002-01-27 Herbert Voss <voss@lyx.org>
4965 * buffer.C: link old Figure to new graphic inset
4967 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4969 * FontLoader.C (getFontinfo): Change the latex font names in order
4970 to match the names of type1inst.
4972 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4974 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4976 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4979 (remove_files_with_extension): ditto
4980 (remove_file): ditto
4983 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4984 document is smaller than the work area height. Do not initialize
4985 static variables to 0.
4987 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4989 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4991 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4992 LFUN_LAYOUT_PARAGRAPHS.
4994 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4995 tabular. It is possible to provide a possible cell, which will
4996 typically be the actcell from the corresponding insettabular
4998 * lyxfunc.C (getStatus): small cleanup; disable
4999 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5002 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5004 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5006 * paragraph.C (startTeXParParams):
5007 (endTeXParParams): new methods. The LaTeX code to
5008 start/end paragraph formatting
5009 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5010 empty (fixes bug #200)
5012 * vspace.C (inPixels): adapt to the change below
5013 (inPixels): [later] more cleanups (remove unused variables)
5015 * lyxlength.C (inPixels): change to use a width and a height as
5018 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5020 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5021 Replaced with \paperwidth
5023 * DepTable.C (insert): add std:: qualifier
5025 2002-01-18 Allan Rae <rae@lyx.org>
5027 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5030 * text.C (drawInset): Turned out I didn't know enough about how
5031 rebreaking worked. This fixes most of the redraw problems. I see
5032 an occasional cursor trail when a line is broken now and the cursor
5033 placement can seem out by a few pixels also after a rebreak.
5035 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5037 * buffer.C (parseSingleLyXformat2Token): update because minipage
5038 width is now a LyXLength
5040 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5042 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5045 2002-01-17 Juergen Vigna <jug@sad.it>
5047 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5049 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5050 is set correctly and the inset is updated correctly.
5052 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5054 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5055 the beginning of the loop.
5057 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5059 * lyxrc.C: improve help for use_scalable_fonts
5061 2002-01-17 Allan Rae <rae@lyx.org>
5063 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5065 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5067 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5068 make sure to set their inset_owner to the right value (bug #171)
5070 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5073 * DepTable.C: Implement mtime checking to reduce time spent doing
5076 2002-01-16 Juergen Vigna <jug@sad.it>
5078 * tabular.C (GetAdditionalHeight): one of error fixed.
5080 * lyxrc.C (output): small fix in writing use_pspell.
5082 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5084 * sp_base.h: #include LString.h
5086 2002-01-16 Allan Rae <rae@lyx.org>
5088 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5089 Can someone check this please?
5091 * text.C (drawInset): It was possible that p.row would be removed by
5092 breakAgainOneRow upsetting a few other settings. There may be another
5093 small tweak possible by setting need_break_row = 0 when p.row has been
5094 removed but I don't know enough about the logic here.
5096 2002-01-15 Allan Rae <rae@lyx.org>
5098 * text.C (insertChar): removed conditional truism.
5100 * BufferView2.C (removeAutoInsets): More tweaks.
5101 cur_par_prev could be a stray pointer. Check for trailing empty line
5102 in case last line was cur_par and only had an error inset on it.
5104 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5106 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5109 * vc-backend.C (most methods):
5110 * exporter.C (Export):
5111 * converter.C (convert):
5113 * LyXSendto.C (SendtoApplyCB):
5114 * lyxfunc.C (dispatch):
5118 * lyx_cb.C (AutoSave):
5120 * BufferView_pimpl.C (MenuInsertLyXFile):
5121 * buffer.C (runChktex): use Buffer::filePath().
5123 * buffer.h: rename filename to filename_; rename filepath to
5124 filepath_ and make it private
5125 (filePath): new method
5127 * buffer.C (writeFile): use fileName()
5130 * lyx_main.C (init): fix starting of LyX when the binary is a
5131 link from so,ewhere else.
5133 * minibuffer.C: include <cctype> for isprint
5135 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5137 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5138 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5139 name clash with InsetCollapsable's width function.
5141 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5143 * lastfiles.C: include <iterator>
5145 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5147 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5150 * buffer.C (makeLaTeXFile): ditto.
5151 Also make loop operation more transparent.
5153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5155 * ToolbarDefaults.C: remove trailing comma closing namespace.
5157 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5159 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5162 * trans.C (Load): comment out unused variable, allowed.
5164 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5166 * minibuffer.[Ch] (append_char): new method to recieve input from the
5167 drop-down completion browser. If a key was pressed, then recieve this
5168 char and append it to the existing string.
5169 (peek_event): modify the positioning data passed to the completion
5170 browser so that it can be placed above the minibuffer rather than below.
5171 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5173 * LyXAction.C (init): alloe error-next for readonly documents.
5175 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5178 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5180 * bufferlist.C (readFile): create the buffer _after_ checking that
5183 * lyxfunc.C (verboseDispatch): fix handling of arguments
5185 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5187 * lyxrc.C: use string::erase() instead of initializing to "".
5190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5192 * BufferView_pimpl.h:
5193 * BufferView_pimpl.C:
5196 * text2.C: tell X when we have made a selection for copying
5198 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5200 * BufferView_pimpl.C (MenuInsertLyXFile):
5201 * lyxfunc.C (menuNew):
5203 (doImport): add shortcuts to directory buttons
5205 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5208 * lyxfunc.C (setStatusMessage):
5209 (getStatusMessage): new methods
5210 (getStatus):use setStatusMessage instead of setErrorMessage
5211 (dispatch): when function is disabled, set error message here
5212 [instead of in getStatus previously]
5214 * BufferView_pimpl.C (workAreaButtonRelease): update
5215 toolbar/menubar here too.
5217 2002-01-13 Allan Rae <rae@lyx.org>
5219 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5220 Now seems indestructible. Remaining task is to audit all other
5221 code affected by deleteEmptyParagraphMechanism. One small quirk
5222 left is that an empty document with an error in the preamble can
5223 be made to report an error but no error box appears. I don't know
5225 (removeAutoInsets): Improved comments.
5227 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5230 * Thesaurus.C: update for Aiksaurus 0.14
5232 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5234 * text2.C (firstParagraph): removed member function, all uses
5235 replaces with ownerParagraph
5236 (redoParagraphs): here
5238 (toggleAppendix): here
5239 * BufferView2.C (insertErrors): here
5240 (setCursorFromRow): here
5242 2002-01-13 Allan Rae <rae@lyx.org>
5244 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5245 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5246 There is still a way to segfault this although you may have to do this
5247 multiple times: Have an InsetERT with an unknown command in it.
5248 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5249 <down-arrow>, <Enter> again, View->DVI, BANG!
5251 * text2.C (setCursor):
5252 (deleteEmptyParagraphMechanism):
5253 * lyxtext.h (setCursor):
5254 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5255 Making use of the return value may help fix other bugs.
5257 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5259 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5261 * LyXView.C (updateMenubar): call MenuBar::update here
5262 (updateToolbar): but not here
5263 (showState): do not update toolbar/menubar
5265 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5266 should need to care about that.
5268 * lyxfunc.C (verboseDispatch): simplify a bit
5269 (getStatus): have a version which takes a pseudoaction, and
5270 another which requires a (kb_action,string).
5272 * LyXAction.C (retrieveActionArg): make it work also when action
5273 is not a pseudo-action.
5274 (getActionName): simplify a bit
5277 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5279 * lyxfunc.C (verboseDispatch): new families of methods with
5280 several ways to specify a command and a bool to indicate whether
5281 the command name and shortcut should be displayed in minibuffer
5282 (eventually, we could extend that to a finer bitmask like
5283 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5284 (dispatch): the pristine dispatch command which just, well,
5285 dispatchs! Note it still sets its result to minibuffer; I'm not
5288 * lyxfunc.h: remove setHintMessage
5290 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5292 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5294 * BufferView_pimpl.C (specialChar): delete new inset if we have
5295 not been able to insert it.
5297 * kbmap.C: revert to using int instead of kb_action, since all we
5298 are dealing with is pseudo-actions.
5300 * LyXAction.C (searchActionArg): change to return int instead of
5301 kb_action, since the result is a pseudoaction.
5303 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5305 * buffer.C (insertErtContents): Fix (partially) the font bug.
5307 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5309 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5310 as the other one is broken on my machine!
5312 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5315 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5317 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5319 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5320 reflect their actual use. Provide compatibility code for older lyxrc
5323 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5325 change names of popup font variables in line with the changes to lyxrc.C
5327 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * buffer.C (asciiParagraph): avoid outputing a word twice after
5332 * lyxrc.C (getDescription): document that document_path and
5333 template_path can be empty.
5335 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5337 * LaTeXFeatures.C (getMacros):
5338 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5340 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5342 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5344 (getPackages): rename feature "floats" to "float". Use an array to
5345 iterate over 'simple' features (i.e. just a \usepackage). Add
5346 handling of "amsmath" (renamed from "amsstyle").
5348 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5350 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5353 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5355 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5356 FuncStaus::FuncStatus & FuncStaus::some_method().
5358 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5360 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5361 of the func_satus stuff. Edited and massaged in various ways by
5364 * lyxfunc.C (getStatus): use FuncStatus
5366 2002-01-08 Juergen Vigna <jug@sad.it>
5368 * text.C (nextBreakPoint): use function Inset::isChar().
5370 * paragraph.C (TeXOnePar): use function
5371 Inset::forceDefaultParagraphs.
5373 * buffer.C (latexParagraphs): use function
5374 Inset::forceDefaultParagraphs.
5376 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5378 * lyx_gui.C (init): set the style of the menu popups to
5379 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5381 2002-01-07 Juergen Vigna <jug@sad.it>
5383 * text.C (setHeightOfRow): small fix
5384 (prepareToPrint): don't look at alignment if we don't have the place
5387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5389 * box.C: New file. Move the Box methods and functions out of box.h,
5390 following Lars' suggestion.
5392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5394 * box.h: #include "support/LOstream.h", needed for inlined function.
5397 * lyxtextclasslist.C: added some using std declarations.
5399 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5401 * box.h: make signed dimensions to allow insets wider than
5402 the screen (bug #162)
5404 * BufferView_pimpl.C: add some insetHit debug
5406 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5408 * vc-backend.C: add FIXME
5410 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * lyxfunc.C (getStatus): enable code for showing math font status
5415 2002-01-07 Juergen Vigna <jug@sad.it>
5417 * text.C (nextBreakPoint): removed debug output not needed anymore.
5419 2002-01-06 Juergen Vigna <jug@sad.it>
5421 * text.C (nextBreakPoint): fixed up this function we had this bug
5422 since ever but now hopefully we break row better.
5423 (insertChar): we have to check if an inset is the next char as it
5424 could now happen that a large inset is causing a break.
5426 2002-01-05 Juergen Vigna <jug@sad.it>
5428 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5429 if it doesn't like to be drawed.
5431 2002-01-04 Juergen Vigna <jug@sad.it>
5433 * BufferView2.C (lockInset): forgot to set a cursor.
5435 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5437 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5442 * form_maths_panel.C:
5443 * form_maths_panel.h:
5444 * form_maths_panel.fd: implemented sub- and super- buttons in math
5447 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5448 (or ^ space) to be used as in TeX (req'd by André).
5450 * lyxfunc.C: Allow ^ and _ again to be used both as
5451 super/subscript (mathed) and as themselves (in text).
5453 2002-01-03 Allan Rae <rae@lyx.org>
5455 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5456 "LyX" or the filename of the current buffer if it has one. This is a
5457 modified form of John Levon's patch.
5459 * XFormsView.C (setWindowTitle): also set icon title.
5461 * LyXView.h (setWindowTitle): signature changed.
5462 * XFormsView.h (setWindowTitle): ditto.
5464 2002-01-02 Juergen Vigna <jug@sad.it>
5466 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5468 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * screen.C (topCursorVisible): introduce a temp var for
5471 text->cursor.row(), handle the case where this row is null. (kindo
5474 * text2.C (setCursor): add a couple of asserts.
5476 * paragraph.h (inset_iterator): add -> operator
5478 * paragraph.[Ch] (autoDeleteInsets): remove member function
5480 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5481 cursor pos correctly and handle inset deletion by itself.
5482 (insertErrors): move iterator declaration out of for expression
5484 * lyxtextclass.C: add <algorithm>
5486 * Makefile.am: added the new files to sources, removed layout.C
5488 * layout.C: removed file
5490 * layout.h: remove LYX_DUMMY_LAYOUT
5492 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5496 * lyxtextclass.[Ch]:
5497 * lyxtextclasslist.[Ch]: new files
5499 * include order changes to a lot of files, also changes because of
5502 2001-12-27 Juergen Vigna <jug@sad.it>
5504 * buffer.C (asciiParagraph): more fixes.
5506 * tabular.C (ascii): make ascii export support export of only the
5507 data separated by a column-delimiter.
5508 (ascii): better support for ascii export.
5510 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5512 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5514 * tabular_funcs.C: use a "using std::getline" instead of the
5515 previous fix from Angus (necessary for cxx + lyxstring)
5517 2001-12-24 Juergen Vigna <jug@sad.it>
5519 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5521 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5522 problems. First check a minipage also if we have some ert-contents
5523 (not only on par->size(), second set the right depth of the paragraph
5524 on the relink to the root-paragraph-list!
5526 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5527 which then did not anymore update the main paragraphs on undo/redo!
5529 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5531 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5532 code. Support all font-changing funcs (even those which are not in
5533 menu currently). Support for reporting font settings in
5534 mathed (disabled until Andre provides a function on mathed's side).
5536 * func_status.h (toggle): small helper function to set toggle
5539 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5541 * tabular_funcs.C: getline -> std::getline
5543 2001-12-21 Juergen Vigna <jug@sad.it>
5545 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5546 accessed and could be 0 (I couldn't generate this but it seems
5549 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5551 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5552 * tabular_funcs.h: here and include iosfwd
5554 2001-12-20 Juergen Vigna <jug@sad.it>
5556 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5557 inside inset but undo_par was.
5559 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * Thesaurus.C: always include <config.h> in sources.
5565 * box.h: do not include <config.h> in header files
5567 * text.C (paintLastRow): remove unused variable
5569 * text.C (transformChar):
5571 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5574 * font.C (width): rewrite to use uppercase() instead of
5577 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5579 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5581 * lyxfind.C: clean up of find failure position change
5583 2001-12-20 Juergen Vigna <jug@sad.it>
5585 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5587 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5588 (TeXRow): added to LaTeX a single tabular row.
5589 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5590 (Latex): simplified and finally good LT-h/f support.
5591 (various_functions): just small adaptions for LT-h/f support.
5593 * tabular_funcs.[hC]: added and moved here all not classfunctions
5596 2001-12-19 Juergen Vigna <jug@sad.it>
5598 * tabular.[Ch]: better support for longtabular options (not finished
5601 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * text.C (paintLastRow): use the label font instead of the font of
5604 the last character to compute the size of *_BOX. This makes more
5605 sense and avoids a crash with empty paragraphs.
5606 Use Painter::rectangle to draw EMPTY_BOX.
5608 2001-12-19 Juergen Vigna <jug@sad.it>
5610 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5611 the paragraphs if the replaced paragraph is not the first one!
5612 Tried to delete not used paragraphs but does not work yet so for
5613 now it's inside #ifdef's and by default off!
5615 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5617 * MenuBackend.C: include "lyx_main.h" instead of declaring
5618 lastfiles (actually was declared as LastFiles* instead of a
5621 2001-12-17 Juergen Vigna <jug@sad.it>
5623 * tabular.C (AppendColumn): applied John's fix
5625 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5629 * BufferView_pimpl.h:
5630 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5633 * box.h: new start of class for above
5635 * lyxfunc.C: ignore space-only minibuffer dispatches.
5636 Show the command name when it doesn't exist
5638 * minibuffer.C: don't add empty lines to the history
5640 * minibuffer.C: add a space on dropdown completion
5642 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5644 * text.C: fix line above/below drawing in insets
5646 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5648 * lyxlength.C (LyXLength): Initialize private variables.
5650 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5653 when inserting error insets.
5655 2001-12-13 Juergen Vigna <jug@sad.it>
5657 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5658 actually sometimes the before-paragraph.
5659 (setUndo): don't clear the redostack if we're not actually undoing!
5661 2001-12-06 Juergen Vigna <jug@sad.it>
5663 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5664 and fixed redoing of main paragraph, so we can use it now ;)
5666 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5668 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5670 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5673 2001-12-13 André Pönitz <poenitz@gmx.net>
5676 * undo_func.C: minor cleanup
5678 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5680 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5681 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5682 font in urw-fonts package which is marked as -urw-fontspecific and
5683 does not work (incidentally, changing the encoding in the
5684 fonts.dir of this package to -adobe-fontspecific fixes the
5687 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5688 is a crash when undoing first paragraph (Juergen, please take a
5689 look). THis does not mean the undo fix is wrong, just that it
5692 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5693 the (Paragraph*) version when needed instead of duplicating the
5696 * text.C (workWidth): use Inset::parOwner to find out where the
5697 inset has been inserted. This is a huge performance gain for large
5698 documents with lots of insets. If Inset::parOwner is not set, fall
5699 back on the brute force method
5701 * paragraph_pimpl.C (insertInset):
5702 * paragraph.C (Paragraph):
5703 (cutIntoMinibuffer): set parOwner of insets when
5704 inserting/removing them
5706 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5708 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5714 * mathed/formulabase.C:
5715 * mathed/math_cursor.[Ch]:
5716 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5719 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5721 * lyxlength.[Ch] (operator!=): new function
5723 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5725 * text.C (workWidth): use Inset::parOwner to find out where the
5726 inset has been inserted. This is a huge performance gain for large
5727 documents with lots of insets. If Inset::parOwner is not set, fall
5728 back on the brute force method
5730 * paragraph_pimpl.C (insertInset):
5731 * paragraph.C (Paragraph):
5732 (cutIntoMinibuffer): set parOwner of insets when
5733 inserting/removing them
5735 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5737 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5739 * tabular-old.C (getTokenValue):
5740 * tabular.C (getTokenValue):
5741 (write_attribute): new versions for LyXLength
5742 (everywhere): adjust the use of widths
5744 * tabular.h: change the type of widths from string to LyXLength
5746 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5748 * paragraph.C: fixed missing line number count when exporting
5749 Environments to LaTeX file
5751 * buffer.C: added informational message for checking line numbers.
5753 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5755 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5756 paragraph, do the 'double space' part, but not the 'empty
5759 * text.C (workWidth): small optimization
5760 (getLengthMarkerHeight): use minimal size for negative lengths.
5762 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5764 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5766 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5768 2001-12-11 André Pönitz <poenitz@gmx.net>
5771 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5773 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5775 * text2.C: keep selection on a setFont()
5777 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5779 * lyx_cb.C: another bv->text misuse, from insert label
5781 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5784 * kbsequence.C: re-instate nmodifier mask
5786 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5788 * lyx_main.h: make lyxGUI private.
5790 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5792 * lyxfind.C: place the cursor correctly on failed search
5794 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5796 * text.C (getLengthMarkerHeight): for small heights, the arrows
5797 are not always on top/bottom of the text
5798 (drawLengthMarker): smaller arrows; take the left margin in
5799 account; draw also vfills.
5801 (paintLastRow): remove special code for vfill and standard spaces,
5802 since everything is handled in drawLengthMarker now.
5804 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * buffer.C (insertErtContents): try to handle font and language
5807 interaction a bit better.g
5809 * ColorHandler.C (updateColor): change the hash to cover the whole
5810 LColor enum, ws cleanup
5811 (getGCLinepars): ditto
5812 (getGCLinepars): only lookup in the linecache once.
5814 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5816 * iterators.C (operator++): Make the iterator more robust
5818 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5822 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5825 * text.C: better added space drawing
5827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5830 * BufferView2.C: fix layout combo update on inset unlock
5832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5834 * Makefile.am: don't compile unused files
5836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5840 * LyXAction.C: remove old LFUN_LAYOUTNO
5842 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5844 * paragraph_pimpl.h:
5845 * paragraph_pimpl.C: isTextAt() doesn't need font param
5847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5850 * lyxlex.C: little cleanup
5852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5854 * BufferView_pimpl.C: fix insertAscii for insets
5856 2001-12-05 Juergen Vigna <jug@sad.it>
5858 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5859 set the right font on the "multi" paragraph paste!
5861 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5867 * lyxlength.C: remove out-commented code.
5883 * vc-backend.C: change "while(" to "while ("
5885 * lyxlength.[Ch]: add zero function to check if length is zero or
5887 * lyxgluelength.C: use it
5889 2001-12-05 Allan Rae <rae@lyx.org>
5891 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5892 Works for 2.95.3, from what I understand of Garst's reports this should
5893 work for other g++ versions. We're screwed if the abs(int) definition
5894 changed between bugfix releases of gcc.
5896 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5898 * text.C: fix chapter label offset !
5900 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5903 * text.C: fix hfill at end of line, clean up
5905 2001-12-04 Juergen Vigna <jug@sad.it>
5907 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5908 that we force an update of the inset and it's owners if neccessary.
5910 2001-12-03 Juergen Vigna <jug@sad.it>
5912 * text.C (rowLast): simplified code
5914 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5916 * lyxfunc.C: fix show options on timeout
5918 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5920 * screen.C (topCursorVisible): scroll half a page when the cursor
5921 reached top of bottom of screen
5923 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5925 * minibuffer.C: deactivate on loss of focus
5927 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5929 * vspace.[Ch] (operator!=): add operator.
5931 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5933 * BufferView_pimpl.C: refuse to open an inset when
5934 there's a selection.
5936 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5938 * BufferView_pimpl.C: allow to click on RHS of full row insets
5940 2001-11-30 Juergen Vigna <jug@sad.it>
5942 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5943 insets for undo reasons.
5945 2001-11-28 André Pönitz <poenitz@gmx.net>
5947 * vspace.[Ch]: cosmetical changes
5949 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5959 * kbsequence.C: part re-write of old kb code
5962 * WorkArea.C: remove Lgb_bug_find_hack
5964 2001-11-30 José Matos <jamatos@fep.up.pt>
5966 * buffer.C (makeDocBookFile): add a comment to point a hack.
5967 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5968 Fixed a double write of labels.
5970 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5973 * LaTeX.h Fixed bug in LaTeX class where it would not
5974 re-run latex if no depfiles were changed, but the .dvi was removed.
5976 2001-11-28 André Pönitz <poenitz@gmx.net>
5978 * all the files from the change on 2001/11/26:
5979 use lyx::layout_type instead of LyXTextClass::size_type
5980 use lyx::textclass_type instead of LyXTextClassList::size_type
5982 2001-11-29 Juergen Vigna <jug@sad.it>
5984 * text.C: added support for paragraph::isFreeSpacing()
5986 * buffer.C: same as above
5988 * paragraph.h: inserted isFreeSpacing() function to enable
5989 FreeSpacing inside InsetERT.
5991 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5992 of the paragraph's in the cut/copy buffer to 0!
5994 * text2.C (removeRow): remove the assert as it can!
5996 * lyxtext.h: added helper function firstRow returning firstrow and
5997 made firstrow private again.
5999 * BufferView2.C (lockInset): don't relock if we're already locked!
6001 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6003 (removeRow): added Assert::(firstrow)
6005 * debug.C: forgot to add INSETTEXT here.
6007 2001-11-28 Juergen Vigna <jug@sad.it>
6009 * sp_spell.C (initialize): changed error text to more general
6010 spellchecker command use (not only ispell!)
6012 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6014 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6016 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6018 * vspace.C: initialise lyxgluelength on failure
6020 2001-11-28 Allan Rae <rae@lyx.org>
6022 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6023 declaration & definition that looks like a function declaration.
6025 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6027 * BufferView2.C (copy):
6028 (copyEnvironment): do not clear the selection when doing a copy.
6030 * text.C (paintFirstRow): compilation fix
6032 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6034 * tabular.C (Latex): correct line count when writing latex.
6036 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6038 * paragraph_pimpl.h:
6039 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6042 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6046 * LColor.C: change vfillline->added_space
6048 * text.C: add markers and text for added space
6050 * vspace.C: fix comment
6052 2001-11-28 André Pönitz <poenitz@gmx.net>
6054 * paragraph.C: whitespace changes
6055 * all the other files from the change on 2001/11/26:
6056 change *::pos_type into lyx::pos_type
6058 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6060 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6061 language of the document when inserting error insets.
6063 2001-11-26 André Pönitz <poenitz@gmx.net>
6065 * BufferView_pimpl.[Ch]:
6073 * paragraph_pimpl.[Ch]:
6076 * text2.C: reduce header dependencies, introduce type for positions
6078 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6080 * <various>: change to use Alert.h
6082 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6084 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6085 when encountering an unknown token.
6086 (readLyXformat2): Show an error message if there were unknown tokens.
6088 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6091 * BufferView_pimpl.C:
6095 * text2.C: use par->isInset()
6097 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6099 * paragraph_pimpl.h:
6100 * paragraph_pimpl.C: cleanup
6102 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * text2.C (removeRow):
6105 * text.C (setHeightOfRow): remove useless (and costly) call to
6108 2001-11-20 Allan Rae <rae@lyx.org>
6110 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6111 Now need Inset*::checkInsertChar() to return true for appropriate
6112 cases so that the characters in the minibuffer will actually be
6115 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6117 * text.C: change the order of the includes.
6118 (workWidth): initialize it at once.
6119 (workWidth): make maxw unsigned
6120 (setHeightOfRow): remove unused variable (inset)
6121 (selectSelectedWord): remove unused variable (inset)
6122 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6124 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6126 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6127 server is not running.
6129 (closeConnection): add debug info when server is disabled.
6131 * ColorHandler.C (getGCForeground): send debug message to GUI
6134 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6136 * kbmap.C (bind): modify because return conventions of
6137 kb_sequence::parse have changed.
6139 * kbsequence.C (parse): only ignore spaces and not any stupid
6140 control character. This avoids tests like s[i] <= ' ', which are
6141 guaranteed to fail with 8bit characters and signed chars.
6142 Change return code to string::npos when there have been no error
6143 (0 was a bad idea when error is at first character)
6145 2001-11-14 José Matos <jamatos@fep.up.pt>
6148 * buffer.C (simpleDocBookOnePar): removed unused argument.
6150 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6152 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6153 insets which are part of a word. Paragraph::isLetter takes care of
6154 that now. Use Paragraph::isInset to identify insets.
6155 (selectSelectedWord): do not test for hyphenation break.
6157 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6158 that protected spaces are considered as spaces.
6160 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6163 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6166 * lyxserver.C: fix it. and small cleanup.
6168 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6170 * BufferView_pimpl.C: use inline helpers
6173 * LaTeXFeatures.C: fix typos
6176 * Spacing.C: move spacing_string into class
6178 * ToolbarDefaults.C: move stuff into namespace anon
6180 * layout.h: update enum
6182 * lyxfunc.C: use better debug
6184 * minibuffer.h: fix typo
6188 * WorkArea.C: add and use Debug::WORKAREA
6192 * text2.C: code re-organisation, inline helpers
6194 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6196 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6197 std::vector.empty().
6199 2001-11-09 Allan Rae <rae@lyx.org>
6201 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6202 '\n's after tables. Tabular and ERT inset work now makes this no
6205 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6208 * minibuffer.C: fix crash, improve drop-down completion
6210 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6213 * lyxserver.C: invalidate fd's when doing endPipe()
6215 2001-11-08 José Matos <jamatos@fep.up.pt>
6217 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6218 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6221 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6223 2001-11-07 José Matos <jamatos@fep.up.pt>
6226 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6229 * buffer.C (sgmlOpenTag):
6230 * buffer.C (sgmlCloseTag): removed debug info.
6232 * buffer.h (sgmlOpenTag):
6233 * buffer.h (sgmlCloseTag): made public.
6235 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6237 * buffer.C (saveParamsAsDefaults):
6238 * lyx_cb.C (MenuLayoutSave): remove
6240 * LyXAction.C (init):
6242 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6244 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6246 * buffer.C (setPaperStuff): removed from here...
6248 * bufferparams.C (setPaperStuff): ... and moved there.
6250 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6254 * XFormsView.C: add support for drop-down completion
6256 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6258 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6261 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6266 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6268 * lyx_main.C: change ref to known bugs
6270 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6272 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6273 to work around older babel problems.
6275 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6277 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6279 2001-10-24 Juergen Vigna <jug@sad.it>
6281 * tabular-old.C (ReadOld): below variable changes reflected.
6283 * tabular.[Ch]: added ltType struct for longtable header/footer
6284 defines and changed all instances where they are used. Added
6285 future support for double top/bottom rows.
6287 2001-10-24 José Matos <jamatos@fep.up.pt>
6289 * buffer.h (docbookHandleCaption):
6290 * buffer.C (docbookHandleCaption): removed unused function.
6291 (makeDocBookFile): moved docbook supported version to v4.1.
6293 2001-10-24 José Matos <jamatos@fep.up.pt>
6296 * tabular.C (docbookRow): new function to export docbook code of a row.
6297 (DocBook): now honors the longtable flags.
6299 2001-10-23 José Matos <jamatos@fep.up.pt>
6302 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6303 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6305 * buffer.C (makeLinuxDocFile):
6306 (makeDocBookFile): reworked the preamble, more clean, and with
6307 support for lyx defined entities. Changed the document declaration
6308 to be more XML friendly.
6310 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6311 if we need to output XML that should be done with a filter.
6313 2001-10-22 Juergen Vigna <jug@sad.it>
6315 * sp_pspell.h (class PSpell): add alive function needed in the
6316 controller to see if the spellchecker could be started.
6318 2001-10-22 Juergen Vigna <jug@sad.it>
6320 * buffer.C (insertStringAsLines): modify the font for inserting
6321 chars in certain conditions by calling checkInsertChar(font).
6323 2001-10-19 Juergen Vigna <jug@sad.it>
6325 * text.C (workWidth): use getRow instead of wrong algorithm.
6326 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6328 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6333 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6335 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6337 * text.C (workWidth): do not search for the exact row when
6338 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6339 optimization for big documents.
6341 2001-10-18 Juergen Vigna <jug@sad.it>
6343 * text.C (workWidth): new function with added Inset * parameter.
6345 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6347 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6349 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6350 change return type of getColumnNearX.
6353 * text.C (changeRegionCase): use uppercase/lowercase instead of
6356 (rightMargin): simplify code by factoring out the uses of
6361 (appendParagraph): use Paragraph::size_type
6363 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6365 * vspace.C (asLatexString): add a missing break
6367 2001-10-15 Herbert Voss <voss@perce.de>
6369 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6371 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6373 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6376 2001-10-10 André Pönitz <poenitz@gmx.net>
6378 * lyxfunc.C: removed greek_kb_flag.
6380 2001-10-10 Herbert Voss <voss@perce.de>
6382 * lyx_main.C: delete global string help_lyxdir.
6384 2001-10-09 Herbert Voss <voss@perce.de>
6386 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6388 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6390 * lyx_main.C: added global string help_lyxdir.
6392 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6394 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6396 * lyxrc.C (set_font_norm_type): support iso8859-4
6398 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6400 * LaTeX.C (deplog): add another regex for MikTeX
6402 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6404 * lyxrc.C (set_font_norm_type): support iso8859-3
6406 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6408 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6410 * LaTeXFeatures.C: remove special case of french and index
6412 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6413 before \begin{document}). This solves several incompatibilities.
6415 2001-10-03 Garst Reese <reese@isn.net>
6417 * lyx_cb.C: change CheckTex error msg.
6419 2001-10-03 José Matos <jamatos@fep.up.pt>
6421 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6423 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6425 * .cvsignore: update
6427 * lyx_main.C (commandLineVersionInfo): use new style version info.
6429 * buffer.C (writeFile):
6432 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6434 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6436 * version.h: update to use stuff in version.C
6438 * version.C.in: new file. Contains version information determined
6439 at compile time. This is a merging of version.h and
6442 2001-10-03 Juergen Vigna <jug@sad.it>
6444 * BufferView_pimpl.C (update): don't change "dirty" status in
6447 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6449 * WorkArea.C (c-tor): re-position version string slightly.
6451 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6453 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6454 revert to previous code.
6456 WorkArea.[Ch]: (show, destroySplash): methods removed.
6458 WorkArea.C: rework code so that it's an amalgam of the codes before and
6459 after the splash screen was moved to WorkArea.
6461 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6464 * vspace.C (inPixels):
6467 * buffer.C (insertStringAsLines):
6468 (asciiParagraph): fix types to be large enough
6470 * lyxlex_pimpl.h: change member status from short to int
6472 * layout.h: fix type of endlabeltype
6475 * kbsequence.C (parse): change return type to string::size_type
6477 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6480 * Bullet.C (bulletSize):
6481 (bulletEntry): do not use short ints as parameters
6483 * BufferView2.C (insertLyXFile): change a char to an int.
6485 * WorkArea.C (WorkArea): remove unneeded floats in computation
6487 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6489 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6491 * paragraph.C (asString): Do not ignore newline/hfill chars when
6492 copying to the clipboard.
6494 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6496 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6497 after a multi-line inset.
6499 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6501 * paragraph.C (validate): Set NeedLyXFootnoteCode
6503 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6505 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6506 and decrease-error to decrease.
6508 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6510 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6511 it more readable (should be equivalent)
6513 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6515 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6517 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6519 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6520 of a cursor (row, etc.) after a character has been deleted
6521 (deleteEmptyParagraphMechanism): call the method above on _all_
6522 cursors held by the LyXText when a double space has been
6525 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6527 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6529 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6531 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6532 background. Use greyOut() and the new show() methods to toggle between
6533 the foreground and background. Add code to remove the splash after
6534 its initial showing.
6536 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6537 (create_forms): no longer call Dialogs::showSplash.
6539 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6541 * .cvsignore: add version_info.h
6543 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6545 * version_info.h.in: new file
6547 * Makefile.am: add version_info.h.in
6549 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6550 version_info.h instead of VERSION_INFO
6552 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6554 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6555 The ERT inset now returns string().
6557 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6559 * lyxtext.h, text.C (selectNextWord): renamed as
6560 selectNextWordToSpellcheck.
6562 * text.C (selectNextWordToSpellcheck): Modified to not select
6563 words inside an ERT inset.
6565 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6567 * lyx_cb.C (MenuLayoutSave): change a bit the question
6569 * sp_base.h: include <sys/types.h>
6571 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6573 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6575 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6577 * several files: fix typos in user-visible strings
6579 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6581 * text2.C (pasteSelection): do not set the selection, since it
6582 will be cleared later. Actually, the intent was to fix the way the
6583 selection was set, but I figured rmoving the code was just as good.
6585 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6587 * FontLoader.C (available): Check if font is available without
6590 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6592 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6594 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6596 * lyxrc.[Ch]: added display_graphics variable and associated code.
6598 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6600 * bufferparams.C (hasClassDefaults): new method. Returns true if
6601 the buffer parameters correspond to known class defaults
6603 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6605 * XFormsView.C (show): set minimum size to the main window.
6607 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6609 * text2.C (copySelection):
6611 * lyxfind.C (LyXReplace):
6612 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6613 LyXText::selectionAsString.
6615 * paragraph.C (asString): add "label" argument to the second form
6617 * text2.C (selectionAsString): add "label" argument and pass it to
6618 Paragraph::asString.
6620 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6622 * lyx_main.C (commandLineHelp): remove version information
6624 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6626 * lyx_main.C: add -version commandline option
6628 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6630 * paragraph.h: make the optional constructor arg required instead.
6631 some modifications to other files because of this.
6633 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6635 * lyxserver.C (C_LyXComm_callback): make it static
6637 * lyx_main.C (error_handler): make it static
6639 * lyx_gui.C (LyX_XErrHandler): make it static
6641 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6643 * WorkArea.C: make the extern "C" methods static.
6645 * Makefile.am (lyx_LDADD): simplify
6647 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6649 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6650 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6652 * LyXAction.C (init):
6653 * lyxfunc.C (dispatch): associated code removal.
6655 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6657 * lyxfont.h (isSymbolFont): shut off warning
6659 * text.C (setHeightOfRow):
6660 (getVisibleRow): fix crash with empty paragraphs which have a
6663 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6665 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6668 2001-09-04 José Matos <jamatos@fep.up.pt>
6671 * tabular.C (docbook): rename docBook method to docbook.
6673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6675 * Makefile.am: add dependencies to main.o.
6677 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6679 * FontLoader.C (available): Return false if !lyxrc.use_gui
6681 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6683 * FontInfo.C (query):
6684 * converter.C (view):
6685 * importer.C (Import):
6686 * exporter.C (Export): Can not -> cannot.
6688 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6690 * BufferView_pimpl.C: allow to create index inset even if
6693 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6695 * buffer.C (getLists): replace boost::tie code with an explicit pair
6696 as boost::tie can break some compilers.
6698 * iterators.h: Added a std:: declaration to the return type of
6701 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6703 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6706 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6708 * iterators.[Ch]: New files. Provide paragraph iterators.
6710 * buffer.C (changeLanguage): Use paragraph iterators.
6711 (isMultiLingual): ditto
6713 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6715 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6717 * FontLoader.C: Support for cmr font.
6719 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6721 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6722 (available): New method.
6724 * FontInfo.C (getFontname): Use scalable fonts even when
6725 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6728 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6730 * converter.C (Formats::view): reverted! Incorrect fix.
6732 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6734 * converter.C (Formats::view): only output the -paper option
6735 if the dvi viewer is xdvi, thereby fixing bug #233429.
6737 2001-08-23 Herbert Voss <voss@perce>
6739 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6741 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6743 * Spacing.h (Spacing): Set space to Default on in the default
6746 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * vc-backend.h (RCS::versionString): add RCS to version
6749 (CVS::versionString): add CVS to version
6751 * vc-backend.C (scanMaster): do not add CVS to version.
6752 (scanMaster): do not add RCS to version
6754 * lyxvc.C (versionString): new method
6756 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6758 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6760 * Spacing.C (set): initialize fval
6762 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6764 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6767 2001-08-16 Juergen Vigna <jug@sad.it>
6769 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6771 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6773 * BufferView_pimpl.C:
6776 * text2.C: setParagraph takes linespacing now
6778 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6780 * LyxAction.C: add internal LFUN_CITATION_INSERT
6782 * LyXView.C: actually apply fix
6784 * bufferlist.C: fix open non-existent file
6786 * lyxfind.C: fix indentation
6788 * lyxfunc.C: remove unneeded assert, fix typo
6790 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6792 * MenuBackend.C: use "Floatname List"
6794 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6796 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6797 when converting LaTeX layout to insetERT.
6798 Generate a non-collapsed float when reading old float
6800 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6802 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6805 2001-08-13 Juergen Vigna <jug@sad.it>
6807 * text.C (fill): return 0 instead of 20 as this seems to be the more
6810 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6812 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6815 2001-08-13 Juergen Vigna <jug@sad.it>
6817 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6819 (SearchBackward): comment out the unlocking of the inset_owner this
6820 should not be needed!
6822 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6824 * Many files: Remove inherit_language, and add latex_language
6826 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6829 2001-08-10 Juergen Vigna <jug@sad.it>
6831 * text.C (prepareToPrint): fixed hfill-width in draw!
6833 * BufferView2.C (selectLastWord): save the selection cursor as this
6834 now is cleared in the function LyXText::clearSelection!
6836 2001-08-08 Juergen Vigna <jug@sad.it>
6838 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6839 BACKSPACE type functions.
6841 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6842 is only cutted from the document but not put in the cut-buffer, where
6843 still the old stuff should be.
6845 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6847 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6849 * tabular.C (SetWidthOfCell): fixed special case where the width
6851 (LeftLine): handle '|' in align_special.
6853 (LeftAlreadyDrawed): ditto
6854 (SetWidthOfCell): ditto
6856 2001-08-07 Juergen Vigna <jug@sad.it>
6858 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6860 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6862 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6863 * lyxlex.[hC]: ditto
6865 2001-08-06 Juergen Vigna <jug@sad.it>
6867 * text.C (getVisibleRow): fix up row clearing a bit.
6869 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6871 * minibuffer.C: make sure the X server sees the changes in the input.
6873 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6875 * paragraph.C (getFont): split into...
6876 (getLabelFont): this
6877 (getLayoutFont): and this
6878 * paragraph_pimpl.C (realizeFont): calling this
6880 * text2.C (getFont): split into...
6881 (getLayoutFont): this
6882 (getLabelFont): and this
6883 (realizeFont): all three calling this
6885 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6888 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6890 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6892 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6894 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6895 layouts from the Quote inset insertion.
6897 2001-08-03 Juergen Vigna <jug@sad.it>
6899 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6901 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6902 only if status not is already CHANGED_IN_DRAW (second level).
6904 * text.C (draw): don't set the need_break_row when inside an
6907 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6909 * buffer.C (parseSingleLyXformat2Token): handle more latex
6912 * bufferview_funcs.[hC]: change function names to
6913 begin with small char, adjust other files.
6915 2001-08-02 André Pönitz <poenitz@gmx.net>
6918 BufferView_pimpl.C: remove broken special code for math-greek
6920 2001-08-02 Juergen Vigna <jug@sad.it>
6922 * BufferView_pimpl.C (update): redone this function so that we
6923 update the text again if there was a CHANGE_IN_DRAW.
6925 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6926 (drawFromTo): added a new internal bool which is used by draw() and
6928 (general): some cursor drawing problems fixed.
6930 2001-08-01 Juergen Vigna <jug@sad.it>
6932 * lyxfind.C (LyXFind): fixed
6933 (SearchForward): ditto
6934 (SearchBackward): ditto
6936 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6937 spurius drawing of the cursor in the main area.
6939 * text2.C (status): small fix which could lead to a segfault!
6940 (clearSelection): remove unneeded BufferView param.
6942 2001-08-01 André Pönitz <poenitz@gmx.net>
6944 * lyxfunc.C: small change due to changed mathed interface
6946 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6948 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6950 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6952 * lyxfunc.c: fail gracefully if file doesn't exist
6957 * BufferView_pimpl.C: IsDirWriteable() proto changed
6959 * LyXView.C: fix updateWindowTitle() to store the last title
6961 2001-07-31 Juergen Vigna <jug@sad.it>
6963 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6964 the font (wrong since using of Paragraph::highestFontInRange).
6966 * paragraph.C (highestFontInRange): added a default_size parameter.
6968 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6969 (setHeightOfRow): reformat
6971 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * converter.[hC] + affected files: move to (inital-char)lowercase
6976 * ParagraphParameters.C (ParagraphParameters): remove commented code
6978 * PainterBase.[Ch]: remove commented code
6980 * LaTeXFeatures.h: add "bool floats" for float.sty
6982 * LaTeXFeatures.C (LaTeXFeatures): init floats
6983 (require): handle float
6984 (getPackages): do it with floats
6986 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6988 * BufferView_pimpl.C (Dispatch): improve handling of
6989 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6991 * commandtags.h: #include lyxfont.h here temporarily to avoid
6994 * bufferlist.h: include LString.h here.
6996 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6998 * text2.C (getStringToIndex): new method.
7000 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7002 * *: Reduced header file dependencies all over.
7004 2001-07-30 Baruch Even <baruch@lyx.org>
7006 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7008 2001-07-29 Baruch Even <baruch@lyx.org>
7010 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7012 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * ParameterStruct.h (endif): add a default constructor to make
7015 sure that all variables is initialized.
7017 * ParagraphParameters.C (ParagraphParameters): adjust
7019 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7021 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7022 index; also, check that there is something to index, and that it
7023 does not span over several paragraphs.
7024 (doubleClick): use WHOLE_WORD_STRICT for double click.
7026 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7028 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7031 2001-07-26 Baruch Even <baruch@lyx.org>
7033 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7034 an InsetFig figure, backwards compatible reading of old figure code.
7036 2001-07-27 Juergen Vigna <jug@sad.it>
7038 * text2.C: font.realize function adaption.
7040 * text.C (draw): add a warnings lyxerr text if needed.
7042 * layout.C: font.realize function adaption.
7044 * language.C: add inherit_language and implement it's handlings
7046 * bufferview_funcs.C (StyleReset): remove language parameter from
7047 font creation (should be language_inherit now).
7049 * bufferparams.C (writeFile): handle ignore_language.
7051 * paragraph.C (getFontSettings): the language has to be resolved
7052 otherwise we have problems in LyXFont!
7054 * lyxfont.C (lyxWriteChanges): added document_language parameter
7055 (update): removed unneeded language parameter
7057 * paragraph.C (validate): fixed wrong output of color-package when
7058 using interface colors for certain fonts in certain environments,
7059 which should not seen as that on the final output.
7061 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7063 * BufferView_pimpl.C:
7068 * LyXAction.C: add thesaurus support
7071 * lyxfind.C: add "once" parameter, for thesaurus, to not
7072 move to the next match
7074 2001-07-26 Juergen Vigna <jug@sad.it>
7076 * lyxfont.C (realize): honor ignore_language too!
7079 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7081 * text.C (draw): one place more for ignore_language to not draw
7084 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7086 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7088 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7090 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7091 the minipage conversion problem.
7093 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7098 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7100 * BufferView.h: don't forward declare WorkArea
7102 * BufferView.C: don't include WorkArea.h
7104 2001-07-25 André Pönitz <poenitz@gmx.net>
7108 * lyxfunc.C: new LFUN 'math-space'
7110 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7112 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7114 * text2.C (toggleInset): call open/close
7116 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7118 * lyxfunc.C (dispatch): add debug for the disabled case
7120 * font.C (buttonText): make similar to rectText
7122 * buffer.C (readInset): comment out parsing of insetlist and
7125 * PainterBase.C (rectText): small correction
7127 * BufferView_pimpl.C: comment out insettheorem and insetlist
7128 * LyXAction.C: ditto
7129 * commandtags.h: ditto
7131 2001-07-24 Juergen Vigna <jug@sad.it>
7133 * text.C (draw): honor the ignore_language.
7135 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7137 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7139 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7142 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7144 * lyxtext.h: remove unused (and unimplemented) methods
7146 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7148 * text.C (getVisibleRow): honor background color
7151 * Painter.h: remove default color argument for fillRectangle
7153 * text.C (backgroundColor): new method
7155 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7157 * text.C (getVisibleRow): adjust
7159 * font.[Ch] (rectText): new method, metrics
7160 (buttonText): new method, metrics
7162 * PainterBase.[hC]: make rectText and buttonText always draw and take
7165 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7167 * ToolbarDefaults.C (read):
7168 * MenuBackend.C (read): allow escaping in all strings
7170 * BufferView_pimpl.C (insertAndEditInset): new method.
7171 (Dispatch): use insertAndEditInset whenever appropriate.
7173 * BufferView_pimpl.C (insertNote): removed
7175 * BufferView_pimpl.C (smartQuote): new method, moved from
7176 BufferView; if an insetquote cannot be inserted, insert a '"'
7179 * BufferView2.C: remove insertCorrectQuote();
7181 * lyxfunc.C (getStatus): Add support for all remaingin
7184 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7186 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7187 command (necessary to pass " as parameter of self-insert.
7189 * text.C (selectWordWhenUnderCursor):
7190 (selectWord): add word_location parameter
7191 (selectWordWhenUnderCursor): same + remove special code for word
7193 (selectNextWord): use kind() to guess type of insetspecialchar,
7196 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7197 (insertErtContents): create ert insets as collapsed.
7198 (readInset): better compatibility code for Info inset.
7200 2001-07-20 Juergen Vigna <jug@sad.it>
7202 * lyxfunc.C (dispatch): use always LyXFind now!
7204 * text2.C (init): add a reinit flag so that the LyXText can be
7205 reinited instead of deleted and reallocated (used in InsetText).
7207 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7213 2001-07-18 Juergen Vigna <jug@sad.it>
7215 * text.C (selectNextWord): handle insets inside inset by calling
7216 always the bv->text functions so that we can go up the_locking_inset!
7218 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7219 in strange locations when inside an inset!
7221 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7222 handling to include insets.
7224 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7226 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7228 * LyXAction.C (init):
7230 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7231 LIGATURE_BREAK, since the name is so stupid.
7233 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7235 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7238 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7240 * sp_form.[Ch]: remove.
7242 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7244 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7247 * src/buffer.C (readInset): ditto.
7249 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7251 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7252 menuSeparator(), endOfSentenceDot(), ldots() and
7253 hyphenationPoint(), which are therefore removed.
7254 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7256 * LyXAction.C (init):
7257 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7259 * paragraph.C (getWord): removed.
7261 * BufferView_pimpl.C (Dispatch): use last word or selection for
7262 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7264 * lyx_main.C (queryUserLyXDir): do not ask before creating
7265 user_dir, except if it has been named explicitely.
7267 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7269 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7270 a document of zero size.
7272 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7274 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7275 approriately in the c-tor and in require().
7276 (getPackages): output the appropriate LaTeX for natbib support.
7278 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7279 variables "use_natbib" and "use_numerical_citations" when reading the
7281 (readInset): read the various natbib cite commands.
7282 (validate): white-space change.
7284 * bufferparams.[Ch]: new variables "bool use_natbib" and
7285 "bool use_numerical_citations".
7286 (writeFile): output them in the LyX file.
7288 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7290 * lyxfunc.C (getStatus): add support for all the inset insertion
7293 * text2.C (insertInset):
7294 * paragraph.C (insetAllowed):
7295 * BufferView_pimpl.C (insertInset): update to take in account the
7296 renaming of insertInsetAllowed
7298 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7300 * text2.C (getInset): new method. returns inset at cursor position.
7302 * BufferView_pimpl.C (Dispatch): changes because of this.
7304 * LyXAction.C (init): rename open-stuff to inset-toggle.
7306 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7308 * text2.C (toggleInset): renamed from openStuff; use
7311 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7313 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7315 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7317 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7319 * buffer.C (readLyXformat2): Add filename to the error dialog
7321 2001-07-18 Juergen Vigna <jug@sad.it>
7323 * tabular.C (GetCellNumber): put an assert here instead of the check!
7325 2001-07-17 Juergen Vigna <jug@sad.it>
7327 * BufferView_pimpl.C (toggleSelection): adapted too.
7329 * text.C (selectNextWord): adapted for use with insets.
7330 (selectSelectedWord): ditto
7332 2001-07-17 Juergen Vigna <jug@sad.it>
7334 * sp_spell.C (PSpell): fix initialitation order.
7336 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7338 * paragraph.C: spacing
7340 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7342 * sp_spell.C: repair language selection for pspell
7344 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7346 * lyxfunc.h: change more methods to begin with lower char.
7348 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7350 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7351 for unknown layouts.
7353 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7355 * buffer.C (readLyXformat2): Generate an error dialog if there are
7358 2001-07-16 Juergen Vigna <jug@sad.it>
7360 * sp_spell.C: always compile ISpell part.
7362 * lyxrc.C: added use_pspell entry and it's handling.
7364 2001-07-13 Juergen Vigna <jug@sad.it>
7366 * sp_spell.C: removed double includes.
7368 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7370 Consistent use of Lsstream.h:
7371 * Lsstream.h: added using std::stringstream for consistencies sake.
7373 * buffer.C: removed using std::stringstream
7375 * lyxfont.C (stateText):
7376 * paragraph.C (asString):
7377 * text.C (selectNextWord, selectSelectedWord):
7378 * text2.C (setCounter):
7379 * vspace.C (asString, asLatexString):
7380 std::ostringstream -> ostringstream.
7382 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7384 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7385 * commandtags.h: add LFUN_HELP_ABOUTLYX
7386 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7388 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7390 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7392 * lyx_gui_misc.C: remove spellchecker
7393 * lyxfunc.C: showSpellchecker
7395 * sp_ispell.h: added
7396 * sp_pspell.h: added
7398 * sp_form.[Ch]: removed
7399 * spellchecker.[Ch]: removed
7401 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7403 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7405 (simpleTeXSpecialChars): Simply print the input character without
7406 any special translation if pass_thru is set.
7408 * layout.h: Added bool pass_thru to layout class for being able to
7409 implement pass through of a paragraph for Literate Programming.
7411 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7412 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7413 * layout.C (Read): add "passthru" to list of layout tags and add
7414 code to set the pass_thru boolean when it is read.
7416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7418 * trans_decl.h: remove allowed from KmodInfo
7420 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7424 * paragraph_pimpl.C (erase): use boost::prior
7426 * Painter.C (text): use data() instead of c_str() when length is
7428 * WorkArea.C (putClipboard): ditto
7429 * font.h (width): ditto
7431 * BufferView2.C: use it-> instead of (*it). for iterators
7433 * paragraph_pimpl.C: ditto
7434 * paragraph.C: ditto
7435 * minibuffer.C: ditto
7440 * converter.C: ditto
7442 * Variables.C: ditto
7443 * TextCache.C: ditto
7444 * MenuBackend.C: ditto
7445 * LyXAction.C: ditto
7447 * FloatList.C: ditto
7449 * ColorHandler.C (LyXColorHandler): ditto
7451 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7455 * text2.C (openStuff): reintroduce this method (which had been
7456 nuked in NEW_INSETS frenzy).
7458 * lyxfunc.C (Dispatch): when an action has not been handled, use
7459 its name in the error message, not its number.
7461 * paragraph.C (inInset): change method name to begin with lowercase.
7464 * text2.C: updates because of this.
7466 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7468 * ToolbarDefaults.C (add): add spaces in error message
7470 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7472 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7473 (readLyXformat2): rename return_par to first_par, use lyxlex's
7474 pushToken and remove the manual push handling.
7475 (parseSingleLyXformat2Token): add another ert comp. variable:
7476 in_tabular, rename return_par to first_par. handle newlines better
7478 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7480 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7482 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * text2.C (getParFromID): removed
7486 * buffer.C (getParFromID): new method moved form lyxtext.
7487 * BufferView2.C (insertErrors): adjust
7488 (setCursorFromRow): adjust
7489 * BufferView_pimpl.C (restorePosition): adjust
7490 * lyxfunc.C (Dispatch): adjust
7491 * undo_funcs.C (textUndo): adjust
7493 (textHandleUndo): adjust
7494 (textHandleUndo): adjust
7496 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * buffer.C: up' the LYX_FORMAT
7500 * lyxfont.h: turn NO_LATEX on as default
7502 * buffer.C (insertErtContents): new methods of tex style compability.
7503 (parseSingleLyXformat2Token): use it several places.
7504 * tabular.C (OldFormatRead): and here
7506 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7508 * text2.C: remove some commented code.
7511 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7512 * trans.C: changes because of the above.
7514 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7516 * text2.C (setCounter): Fix counters bug with bibliography layout.
7518 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7520 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7521 own member functions
7522 (simpleTeXSpecialChars): ditto
7524 2001-07-06 Juergen Vigna <jug@sad.it>
7526 * a lot of files: changed the access to LyXText::status and the
7527 call of undo-functions.
7529 * undo.[Ch]: added a inset_id to the undo informations.
7531 * undo_funcs.[Ch]: added and moved here all undo functions.
7533 * lyxtext.h: give the status enum a weight, made status_ a private
7534 variable and made accessor functions for it, removed the whole bunch
7535 of undo-functions as they are now in their own file, make some
7536 functions publically available. Added function ownerParagraph with
7539 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7540 made InInset() a const function, added getParFromID() function.
7542 * buffer.[Ch]: added const version for inset_iterator functions,
7543 added getInsetFromID() function.
7545 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7546 changed undo functions for new version.
7548 2001-07-05 Juergen Vigna <jug@sad.it>
7550 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7551 unknow mechanism does not call the proper constructor but only this
7552 one also if I request the other!?
7554 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7556 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7558 * text2.C (LyXText): use initialization lists.
7560 * lyxtext.h (Selection): initialize set_ and mark_
7561 (init): remove method
7563 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7565 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7567 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7569 * screen.[Ch]: change method names to begin with lowercase
7571 * BufferView_pimpl.C (updateScrollbar): simplify further and
7572 hopefully make it a bit faster.
7574 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7576 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7577 calling directly xforms functions.
7579 * Painter.C (Painter):
7580 * lyx_cb.C (MenuWrite):
7581 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7584 * lyx_gui.C: remove bogus guiruntime extern declaration.
7586 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7588 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7590 (redoDrawingOfParagraph): ditto
7591 (redoParagraphs): ditto
7592 (cutSelection): don't create a object for CutAndPaste use the
7593 static method directly
7594 (pasteSelection): ditto
7596 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7599 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7601 * modifications to some other files because of this.
7603 * Makefile.am (lyx_SOURCES): add XFormsView
7605 * XFormsView.[Ch]: new files
7607 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7608 the main window. Move the gui dependent stuff to XFormsView
7610 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * tabular.C (GetCellInset): update cur_cell also in the row/col
7613 version of this function.
7615 * lyxfunc.C: no need to include figure_form.h here.
7621 * lyxvc.C: no need to include forms.h here.
7623 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7625 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7627 * lyxfunc.C (Dispatch):
7629 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7630 constructor argument.
7632 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7634 * paragraph.C (Paragraph): dont't clear, and just set layout.
7635 (makeSameLayout): use params's copy contructor.
7637 * ParagraphParameters.[Ch] (makeSame): delete method
7639 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7641 * Variables.[Ch]: fix indentation, rename set to isSet
7643 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7645 * lyxfunc.C (Dispatch): fix typo
7647 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7652 * bufferlist.C: include assert.h for emergencyWrite().
7654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7656 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7657 give up at last (bug #425202) !
7659 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7665 * spellchecker.C: strip spellchecker options and bring up
7666 preferences tab instead
7668 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7670 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7671 the istringstream constructor
7673 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7675 * paragraph.C (getLayout): fix return value
7677 * paragraph.h: do not declare getLayout as inline.
7679 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7681 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * lyxcursor.h (operator<): new func
7684 (operator>): new func
7685 (operator>=): new func
7686 (operator<=): new func
7688 * text.C (changeCase): use selection.start and selection.end
7689 (changeRegionCase): require from to be <= to. Require par to be a
7692 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7694 2001-06-27 Juergen Vigna <jug@sad.it>
7696 * text.C (cursorLeftOneWord): changed to return the cursor and added
7697 overlay with BufferView * parameter which calls this one.
7699 (selectWord): use new getWord function.
7700 (changeCase): renamed from changeWordCase as and extended to work
7703 * lyxtext.h: added enum word_location
7705 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7706 changeCase as this operates now also on selections.
7708 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7710 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7712 * many files: send debug output to Debug::INFO instead of
7715 * converter.C (View):
7717 (Move): send debug output to Debug::FILES instead of console.
7719 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7721 * lyxfunc.C (getStatus): use func_status
7723 * func_status.h: new header, describing the results of
7726 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7729 2001-06-25 The LyX Project <jug@sad.it>
7731 * buffer.C (sgmlOpenTag):
7733 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7735 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7737 * text2.C: remove some dead code
7739 * tabular.C (GetCellInset): store the last cell checked (gotten)
7741 * tabular.h: add the helper for the speedup
7743 * lyxtext.h: remove some dead code
7745 2001-06-26 The LyX Project <Asger>
7747 * paragraph.C: Change export to LaTeX of alignment to
7748 \begin{center} and family for better roundtrip work with reLyX.
7750 * Tune the math drawing a bit.
7752 2001-06-25 The LyX Project <Asger>
7754 * LColor.C (LColor): New color for math background. New color
7757 2001-06-25 The LyX Project <jug@sad.it>
7759 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7762 * bufferlist.C (newFile): do not restrict to files ending with
7765 * BufferView_pimpl.C (MenuInsertLyXFile):
7767 2001-06-24 The LyX Project <jug@sad.it>
7769 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7772 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * lyxtext.h: rename most methods to begin with a small char.
7775 Lots of changes because of this.
7777 * paragraph.C (Paragraph): do not call fitToSize
7778 (erase): call Pimpl::erase
7779 (insertChar): call Pimpl::insertChar
7780 (insertInset): call Pipl::insertInset
7781 (breakParagraph): do not call fitToSize
7782 (breakParagraphConservative): do not call fitToSize
7783 (fitToSize): remove method
7785 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7787 2001-06-24 The LyX Project <Asger>
7789 * Fix Qt compilation^2
7791 2001-06-24 The LyX Project <jug@sad.it>
7793 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7794 depthHook(getDepth()-1).
7797 * ParagraphParameters.h:
7798 * ParameterStruct.h: change type of depth to unsigned int ==
7799 depth_type. Many adaptations to other files before of that.
7801 2001-06-24 The LyX Project <Asger>
7803 * Fix Qt compilation.
7805 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7807 * paragraph.h: renamed several methods to begin with small letter.
7808 several changes to many parts of the code because of this.
7810 2001-06-23 The LyX Project <jug@sad.it>
7812 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7813 rewritten to discard all double spaces when KeepEmpty is off
7814 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7815 to only handle newlines but not fiddle with spaces and friends.
7817 * lyxfunc.C (MenuNew): when doing 'new from template', use
7818 template_path as default directory
7820 2001-06-23 The LyX Project <Asger>
7822 * Clean-up of header file includes all over
7823 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7825 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7827 * paragraph.h: renamed from lyxparagraph.h
7829 2001-06-23 Asger <lyx@violet.home.sad.it>
7831 * Buffer.h: Removed Buffer::resize
7832 * BufferList.h: Removed BufferList::resize
7833 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7834 the document lazily when we change the width, or the font settings.
7836 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7838 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7840 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7842 * buffer.h: remove out of date comment
7844 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7847 * screen.C: fix "theoretical" GC leak
7849 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7851 * LaTeX.C (scanAuxFile):
7852 (deplog): remove trailing \r when reading stream (useful under
7855 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7857 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7858 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7859 and BufferView::theLockingInset(Inset*), so should use them and not
7860 access bv_->text->the_locking_inset directly.
7862 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7864 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7867 * tex-defs.h: remove old unused file
7869 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7871 * BufferView_pimpl.C: fix typo, remove minibuffer message
7872 when buffer has loaded
7874 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7876 * lyxfunc.C (Dispatch): use stringstream
7877 (MenuNew): use stringstream
7878 (Open): use stringstream
7880 * importer.C (Import): use stringstream
7882 * bufferview_funcs.C (CurrentState): use stringstream
7884 * LaTeX.C (run): use stringstream
7886 * BufferView_pimpl.C (savePosition): use stringstream
7887 (restorePosition): use stringstream
7888 (MenuInsertLyXFile): use stringstream
7890 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7903 * vspace.C: removed // -*- C++ -*- as first line.
7906 * version.h: added // -*- C++ -*- as first line.
7908 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7910 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7912 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7915 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7917 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7920 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7922 * gettext.C: include LString.h even when --disable-nls is on.
7924 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7926 * converter.h (Get): changed argument type from int to
7927 FormatList::size_type to avoid unnecessary conversion.
7929 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7932 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7934 * gettext.h: include LString.h even when --disable-nls is on.
7936 2001-06-07 Juergen Vigna <jug@sad.it>
7938 * text.C (BreakAgain): subst spaces with tabs.
7940 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7941 (resizeInsetsLyXText): set force on resizeLyXText.
7943 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7945 * gettext.h (gettext_init):
7946 (locale_init): use a real definition instead of a macro
7948 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7950 * Bufferview_pimpl.C:
7952 * LColor.C: further lcolor tidies
7954 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7956 * BufferView_pimpl.C (updateScrollbar): simplify.
7958 * BufferView2.C: don't include insets/insetinfo.h, change
7959 prototype for insertInset and call the Pimpl version. let
7960 updateInset call Pimpl version.
7962 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7963 gotoInset to BufferView::Pimpl
7965 2001-06-01 Juergen Vigna <jug@sad.it>
7967 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7968 inside a LockingInset (is the update needed at all?).
7970 2001-05-31 Juergen Vigna <jug@sad.it>
7972 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7973 here not the old one otherwise how should we compare it afterwards
7976 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7981 * FontInfo.C: bring C functions into global namespace when
7984 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7986 * LString.h: make sure config.h has been loaded before LString.h.
7988 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7989 (one for each char read by EatLine!).
7991 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7994 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7996 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7997 to the same as the par we break from
7999 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8003 * MenuBackend.C (expand): also create menu entries for wide
8004 versions of the floats.
8006 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8008 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8010 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8011 frontends/Makefile.am
8017 * tabular.C (getTokenValue): add std::
8019 * tabular-old.C (getTokenValue): add std::
8020 (getTokenValue): ditto
8021 (getTokenValue): ditto
8023 * screen.C (ToggleSelection): adjust
8025 * lyxtext.h: put selection cursors inside a Selection struct.
8027 * lyxfunc.C (moveCursorUpdate): adjust
8029 * lyxfont.C (latexWriteStartChanges): add std::
8033 * font.h: delete with(char const *, LyXFont const &)
8035 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8037 * FontInfo.C (getFontname): add std::
8039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8040 (workAreaButtonPress): adjust
8041 (tripleClick): adjust
8043 (moveCursorUpdate): adjust
8046 * BufferView2.C (gotoInset): adjust
8048 2001-05-30 Juergen Vigna <jug@sad.it>
8050 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8051 to check pspell I add this as default as I now have new pspell
8052 libraries and they seem to use this.
8054 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8056 * text2.C (CutSelection): make the cursor valid before the call to
8059 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8061 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8062 relied on 0 terminated strings and other horrors. Bug found due to
8063 the new assert in lyxstring!
8065 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8068 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8070 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8073 * lyxfunc.C (processKeySym): change method of getting to the
8076 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8077 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8078 * BufferView_pimpl.[Ch]: here as private methods.
8080 2001-05-28 Juergen Vigna <jug@sad.it>
8082 * text.C (SetHeightOfRow): added the update() call again as it is
8083 needed to initialize inset dimensions!
8085 2001-05-16 Juergen Vigna <jug@sad.it>
8087 * text2.C (SetCharFont): Add new function with BufferView * and
8088 bool toggleall parameters for setting insets internal fonts.
8089 (SetFont): Freeze the undo as we may change fonts in Insets and
8090 all this change should be inside only one Undo!
8092 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8093 setting font's in insets as for them we have the SetFont function!
8095 2001-05-15 Juergen Vigna <jug@sad.it>
8097 * text2.C (ClearSelection): to be sure we REALLY don't have any
8100 * tabular.C (TeXCellPreamble): fixed the left border problem for
8103 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8105 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8108 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8110 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8111 LFUN_BREAKPARAGRAPH.
8113 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8114 help test to "internal only", similar for LFUN_INSERT_URL
8116 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8117 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8118 auto_region_delete and deadkeys.
8120 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8123 * LColor.C: remove some dead entries, tidy a little
8125 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8129 (Dispatch): implement LFUN_ESCAPE
8131 * commandtags.h: add LFUN_ESCAPE
8133 * LyXAction.C (init): add entry for LFUN_ESCAPE
8135 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8136 Remove commented code.
8137 (insertNote): moved here
8138 (open_new_inset): moved here
8140 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8143 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8145 * kbmap.C (findbinding): clean it up and make it work correctly.
8147 * lyx_main.C (init): do not pass argc and argv as parameters
8149 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8151 * buffer.C: fix path for OS/2 & Win32
8155 * lyx_main.C: Added os:: class.
8157 * os2_defines.h: update
8159 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8161 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8162 better by trying again with reduced state.
8164 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * lyxrc.C (read): print error about invalid key sequence only when
8167 debugging (because not all latinX keysyms are known to some X
8170 * kbsequence.C (getiso): add a few std:: qualifiers
8171 (getiso): comment out extra return statement.
8173 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8175 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8177 (Dispatch): enhance the accent inset a bit. (not perfect)
8179 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8181 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8183 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8185 * bufferlist.C (emergencyWrite): fix assert() call
8187 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8189 * text.C (InsertChar): Added trivial patch to only send the "you
8190 can not do multiple spaces this way" message once during a
8193 2001-05-08 Baruch Even <baruch@lyx.org>
8195 * Makefile.am: Changed order of libraries to get LyX to link properly
8196 with the gnome frontend.
8198 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * LaTeXFeatures.h: add a std:: qualifier
8202 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8204 * paragraph.C (String): use stringstream
8206 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8208 * paragraph.C (writeFile): remove footflag arg
8210 * buffer.C (makeLaTeXFile): use stringstream
8211 (latexParagraphs): remove footnot gurba
8213 * LaTeXFeatures.C (getPackages): use stringstream
8214 (getMacros): likewise
8215 (getTClassPreamble): likewise
8216 (getFloatDefinitions): new method
8218 * paragraph.C (writeFile): reindent
8221 * WorkArea.h: revert the xpos + etc changes.
8223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8225 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8227 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8228 (pasteSelection): likewise
8229 * text2.C (CreateUndo): likewise
8231 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * minibuffer.C (peek_event): temporarily reduce the functionality
8234 of the minibuffer (to allow args on lfuns)
8236 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8237 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8239 * buffer.C (readInset): add compability reading of old float
8240 lists, add reading of new style float list.
8241 (readInset): avoid reevaluation of inscmd.getCmdName()
8242 (getLists): reindent
8244 * MenuBackend.C (MenuItem): implement parsing of
8245 md_floatlistinsert and md_floatinsert.
8246 (expand::LastFiles): move initalizaton of iterators out of loop,
8248 (expand::Documents): introduce typdedef vector<string> Strings,
8250 (expand::ExportFormats): introduce typedef vector<Format const *>
8251 Formats, and use it.
8252 (expand): implement FloatListInsert and FloatInsert.
8254 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8255 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8256 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8258 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8260 (Dispatch::LFUN_FLOAT_LIST): implement
8262 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8264 * LaTeX.C (run): Fix problem with --export code.
8266 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8268 * BufferView.[Ch] (workarea): removed.
8269 (getClipboard) new method; wrapper for workarea()->getClipboard()
8271 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8274 * WorkArea.h (width, height, xpos, ypos): These methods all
8275 returned the dimensions of the work_area sub-area of WorkArea,
8276 resulting in a position error if the WorkArea were resized. Now
8277 return the dimensions of the entire WorkArea.
8279 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8281 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8283 * LaTeX.C (deplog): correct the syntax of regex reg1
8285 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * undo.C: remove !NEW_INSETS cruft
8289 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8291 * text2.C: remove !NEW_INSETS cruft
8293 * text.C: remove !NEW_INSETS cruft
8295 * tabular.C: remove !NEW_INSETS cruft
8297 * spellchecker.C: remove !NEW_INSETS cruft
8299 * lyxtext.h: remove !NEW_INSETS cruft
8301 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8303 * lyxfunc.C: remove !NEW_INSETS cruft
8305 * lyxfind.C: remove !NEW_INSETS cruft
8307 * lyx_cb.C: remove !NEW_INSETS cruft
8309 * figureForm.C: remove !NEW_INSETS cruft
8311 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8313 * buffer.[Ch]: remove !NEW_INSETS cruft
8315 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8317 * CutAndPaste.C: remove !NEW_INSETS cruft
8319 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8321 * BufferView2.C: remove !NEW_INSETS cruft
8323 * BufferView.h: remove !NEW_INSETS cruft
8325 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * Lsstream.h: include LString.h before the sstream headers to
8328 fix problem with gcc 2.95.3 and lyxstring
8330 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * lyx_main.C: add using directives when needed for C functions
8333 declared in std:: namespace.
8335 2001-04-27 Juergen Vigna <jug@sad.it>
8337 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8338 (SetHeightOfRow): comment out the update call should not be needed!
8340 2001-04-13 Juergen Vigna <jug@sad.it>
8342 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8343 (LyXTabular): tried to minimize operator= operations (and realized
8344 hopfully Lars wish).
8346 2001-04-27 Juergen Vigna <jug@sad.it>
8348 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8350 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8354 * buffer.C (readInset): hack to make listof algorithm work
8356 * BufferView_pimpl.C: hack to make listof algorithm work
8358 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * LyXAction.C: removed all !NEW_INSETS cruft
8361 (init): moved lfun_item in method
8363 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8365 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8367 * BufferView2.C (theLockingInset): white space.
8369 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8371 * minibuffer.C: include <iostream>
8373 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8375 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8377 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8379 * text.[Ch] (TransposeChars): new method
8381 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8383 * call message directly through LyXView instead of through LyXFunc
8384 * BufferView2.C: adjust
8385 * BufferView_pimpl.C: adjust
8386 * FontLoader.C: adjust
8388 * bufferview_funcs.C: adjust
8389 * converter.C: adjust
8390 * figureForm.C: adjust
8391 * importer.C: adjust
8393 * lyx_gui_misc.C: adjust
8397 + more files in subdirs
8399 * lyxparagraph.h (size): move up int file
8402 * adjust all uses of Assert to lyx::Assert.
8404 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8405 lyxfunctional in namespace lyx
8406 * layout.C (hasLayout): ditto
8409 (delete_layout): ditto
8410 (NumberOfClass): ditto
8411 * converter.C (GetFormat): ditto
8416 * bufferlist.C (getFileNames): ditto
8417 (emergencyWriteAll): ditto
8420 * MenuBackend.C (hasSubmenu): ditto
8423 * BufferView_pimpl.C (getInsetByCode): ditto
8425 2001-04-18 Juergen Vigna <jug@sad.it>
8427 * vspace.C (asLatexString): fixed the 100% problem.
8429 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8431 * lyxfunc.C (Dispatch):
8433 * minibuffer.h: add a few std:: qualifiers
8435 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * minibuffer.[Ch]: reimplement so that commands is initiated and
8438 run from lyxfunc, simplified som handling, and made the completion
8439 and history code for complete. wip.
8441 * lyxfunc.C (processKeySym): call message
8442 (miniDispatch): new temporary method
8443 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8444 (LFUN_MESSAGE): implement
8445 (LFUN_MESSAGE_PUSH): implement
8446 (LFUN_MESSAGE_POP): implement
8447 (initMiniBuffer): the initial/defualt minibuffer message.
8449 * lyxfont.[Ch]: inline some more getters
8451 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8453 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8455 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8456 (AutoSave): use LFUN_MESSAGE
8457 (Reconfigure): ditto
8459 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8461 * figureForm.C: use LFUN_MESSAGE
8463 * converter.C (runLaTeX): use LFUN_MESSAGE
8465 * bufferview_funcs.C: use LFUN_MESSAGE
8467 (changeDepth): ditto
8469 * bufferparams.h: use boost::
8471 * bufferlist.h: inherit privately from noncopyable
8473 * bufferlist.C (loadLyXFile): remove some commented code.
8475 * buffer.C (runChktex): use LFUN_MESSAGE
8477 * ShareContainer.h: inherit privately from noncopyable
8479 * ParagraphParameters.[hC] (depth): inline it.
8481 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8483 (message): new method
8484 (messagePush): ditto
8486 (show): init minibuffer
8487 (showState): direct call
8489 * LaTeX.[Ch]: inherit privately from noncopyable
8490 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8491 instead of WriteStatus.
8493 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8495 * BufferView_pimpl.C (buffer): don't init minibuffer
8496 (workAreaButtonPress): use LFUN_MESSAGE
8497 (workAreaButtonRelease): ditto
8498 (savePosition): ditto
8499 (restorePosition): ditto
8500 (MenuInsertLyXFile): ditto
8501 (workAreaExpose): don't init minibuffer
8502 (update): remove commented code, simplify
8504 * BufferView2.C (openStuff): use LFUN_MESSAGE
8505 (toggleFloat): ditto
8508 (copyEnvironment): ditto
8509 (pasteEnvironment): ditto
8514 (updateInset): remove some commented code
8516 * lastfiles.h: inherit privately from noncopyable
8521 * lyxlex_pimpl.h: ditto
8523 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8524 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8525 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8527 * LyXAction.h: inherit privately from noncopyable, add methods
8528 func_begin, func_end, returning iterators to the func map.
8530 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8531 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8532 (func_begin): new method
8533 (func_end): new method
8535 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8537 (copySelection): ditto
8538 (pasteSelection): ditto
8540 * BufferView.C: whitespace change
8541 * BufferView.h: inherit privately from noncopyable
8543 2001-04-16 Allan Rae <rae@lyx.org>
8545 * tabular-old.C (l_getline):
8546 * spellchecker.C (sc_check_word):
8547 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8548 an unrecognised preprocessor directive. So ensure they're wrapped.
8550 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8552 * src/exporter.C (Export): Give an error message when path to file
8555 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8557 * LaTeX.C (deplog): Always check that foundfile exists.
8559 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8562 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8564 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8566 * tabular.[Ch] (getLabelList): implement new method
8568 * minibuffer.h: comment ouf setTiimer
8570 * minibuffer.C (ExecutingCB): constify res
8571 (peek_event): constify s
8572 (Set): constify ntext
8573 (Init): constify nicename
8575 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8577 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8578 (savePosition): use two params to Minibuffer::Set
8579 (restorePosition): ditto
8581 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8583 * lyx_main.C: include language.h
8585 * Makefile.am (lyx_main.o): add language.h
8587 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8593 * CutAndPaste.C: include gettext.h
8595 * lyxfont.h: remove old hack with ON and OFF.
8598 * lyxfont.h: do not include language.h...
8603 * bufferview_funcs.C:
8609 * paragraph.C: ... but do it here instead
8611 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8613 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8615 * tabular.C: small reformat
8617 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8620 (BreakParagraph): ditto
8621 (SetOnlyLayout): ditto
8624 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8627 * lastfiles.C: removed most using decl, add std:: where needed
8629 * buffer.C: ws changes
8631 * MenuBackend.C (class compare_format): put into anon namespace
8632 (expand): constify label, names, action, action2
8635 * text.C (SingleWidth): constify font
8636 (IsBoundary): constify rtl2
8637 (GetVisibleRow): constify ww
8639 * LaTeX.C (deplog): constify logfile
8641 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8643 (workAreaExpose): constify widthChange, heightChange
8645 * lyxrow.C (par): moved
8648 * lyxrow.h: as inlines here
8650 * lyxfont.h (shape): moved from lyxfont.C
8651 (emph): moved from lyxfont.C
8653 * lyxfont.C (LyXFont): use initialization list for all
8655 (shape): move to lyxfont.h as inline
8656 (emph): move to lyxfont.h as inline
8659 2001-04-04 Juergen Vigna <jug@sad.it>
8661 * vspace.C: had to include stdio.h for use of sscanf
8663 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8666 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8667 independent of xforms.
8669 2001-04-02 Juergen Vigna <jug@sad.it>
8671 * spellchecker.C: fixed namespace placing!
8673 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8675 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8676 the LyXParagraph * is 0.
8678 2001-03-29 Juergen Vigna <jug@sad.it>
8680 * vspace.C: added support for %, c%, p%, l%.
8681 (stringFromUnit): added helper function.
8682 (asLatexString): changed to give right results for the %-values.
8684 * buffer.C: convert the widthp in a width%.
8686 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8688 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8691 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8692 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8694 * lyx_cb.[Ch]: see above.
8696 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8700 * lyx.[Ch]: replaced by figure_form.[Ch].
8704 * lyxfunc.C: changed headers associated with above changes.
8706 2001-03-27 Juergen Vigna <jug@sad.it>
8708 * BufferView_pimpl.C: set the temporary cursor right!
8710 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8712 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8714 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8716 * LString.h: removed "using std::getline"!
8718 * BufferView_pimpl.C (Dispatch): changes due to changes in
8719 InsetInclude::Params.
8721 * buffer.C (tag_name): removed redundant break statements as they were
8722 producing lots of warnings with my compiler.
8724 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8726 * LString.h: add "using std::getline" when using the real <string>.
8728 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8730 * buffer.C: removed bitset usage.
8731 PAR_TAG moved to an anonymous name space.
8732 (tag_name): new funtion, also in the anonymous namespace.
8733 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8734 (makeDocBookFile): clean code. Completed transition from string arrays
8736 (SimpleDocBookOnePar): code clean.
8738 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8740 * tabular.C: add some comments.
8742 2001-03-22 Juergen Vigna <jug@sad.it>
8744 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8745 compatibility read a bit and fixed bug with minipage in different
8748 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8750 * buffer.C (pop_tag): removed.
8751 (push_tag): removed.
8752 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8753 array replaced with vector. Added support for CDATA sections.
8754 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8756 (makeDocBookFile): XML conformant declaration of CDATA section,
8757 fixed bug related to <emphasis> in the first paragraph char.
8758 (sgmlOpenTag): exclude empty tags.
8759 (sgmlCloseTag): ditto.
8761 * buffer.h (pop_tag): removed.
8762 (push_tag): removed.
8764 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8766 * language.h (Languages): added size_type and size().
8768 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8770 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8771 response on compability reading of minipages. One probliem is that
8772 the old usage of minipages was «flertydig»
8774 * several files here and in subdirs: don't use static at file
8775 scope use anon namespaces instead.
8777 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8779 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8780 LaTeX output. This is necessary for Literate document
8783 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8785 * buffer.C: insert hfill when needed.
8787 * tabular.C (l_getline): use string::erase, small whitespace change.
8789 * BufferView_pimpl.C: try the anon namespace.
8792 2001-03-16 Juergen Vigna <jug@sad.it>
8794 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8795 otherwise it won't open options-dialogs.
8797 * buffer.C: honor pextraWidth(p) on converting minipages.
8799 * tabular.C (l_getline): changed the functions to strip trailing \r.
8801 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8803 * BufferView_pimpl.C:
8804 * minibuffer..C: added "using SigC::slot" declaration.
8806 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8808 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8814 * paragraph.C: ditto
8816 * lyxtext.h: NO_PEXTRA
8818 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8820 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8821 * ParameterStruct.h: ditto
8822 * ParagraphParameters.h: ditto
8823 * lyxparagraph.h: ditto
8825 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8827 * buffer.C: add compability for minipage alignment.
8828 (latexParagraphs): remove unwanted pextra check.
8830 * several files: remove CXX_WORKING_NAMESPACES
8832 * buffer.C (pop_tag): tie is in namespace boost
8834 * BufferView.h: noncopyable is in namespace boost
8839 * lastfiles.h: ditto
8840 * bufferlist.h: ditto
8841 * ShareContainer.h: ditto
8843 * LyXAction.h: ditto
8846 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8848 * Merging changes from BRANCH_MVC back into HEAD.
8850 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8852 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8854 * BufferView_pimpl.C: change from intl.C
8858 * Makefile.am: move combox.*
8864 * intl.C: remove dialog (covered by prefs)
8866 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8868 * lyxfunc.C (Dispatch): removed redundant break statement.
8870 2001-03-14 Juergen Vigna <jug@sad.it>
8872 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8874 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8876 * buffer.C: add hack to fix compability reading of minipages.
8878 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8880 * buffer.C (getLists): Cleanup.
8882 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8884 * lyxfont.C (update): don't honor toggleall on font size.
8886 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8890 * Makefile.am: moved to frontends/xforms/
8894 * BufferView_pimpl.C: changes for moved mathpanel
8896 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8898 * gettext.h: fix gettext_init() in --disable-nls
8900 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8902 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8904 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8907 * lyx.h: strip external form
8909 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8911 * BufferView_pimpl.C: add comment, destroySplash()
8913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8915 * BufferView_pimpl.C:
8919 * lyxfunc.C: use re-worked insetinclude
8921 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8923 * buffer.C: add using std::stringstream.
8925 * lyx_cb.C: readd using std::ios.
8927 * buffer.C: add using std::map.
8929 * BufferView_pimpl.C: add using std::vector.
8931 * ShareContainer.h: add std:: to swap.
8933 * buffer.h: add some typedefs
8934 * buffer.C (getLists): use them
8935 (getLists): renamed from getTocList.
8936 add a counter for the different float types and use it in the
8938 (getLists): use the same counter for the NEW_INSETS and the "non"
8941 * lyx_cb.h: remove unused items, includes, using etc.
8943 * ShareContainer.h: remove some commented code, add more comments
8944 and "documentation".
8946 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8948 * buffer.C (getTocList): make the list also when NEW_INSETS is
8951 * buffer.h: remove TocType
8953 * buffer.C (getTocList): change to return a map<string,
8954 vector<TocItem> >, implement for dynamic number of list.
8956 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8957 * text2.C (PasteSelection): adjust
8958 * CutAndPaste.C (pasteSelection): adjust
8960 * FloatList.C (FloatList): update from the new_insets branch.
8961 * Floating.[Ch]: ditto
8962 * LaTeXFeatures.C: ditto
8964 * lyxlex_pimpl.C: ditto
8966 * paragraph.C (Last): remove when NEW_INSETS is defined.
8968 * other file: changes because of the above.
8970 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8972 * lyxparagraph.h: rename next to next_, previous to previous_,
8973 make them private for NEW_INSETS. Rename Next() to next(),
8974 Previous() to previous().
8976 * other files: changes because of the above.
8978 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8981 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8984 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8986 * main.C (main): pass lyx_localedir to gettext_init().
8988 * gettext.h: remove locale_init and gettext_init macros
8990 * gettext.C (locale_init): new function
8991 (gettext_init): new function
8993 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8996 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8998 * Moved credits to frontends:
8999 * credits.[Ch]: removed
9000 * credits_form.[Ch]: removed
9001 * lyx_gui_misc.C: remove credits stuff
9004 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9006 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9008 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9009 unneeded destructor.
9011 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9012 a standalone pointer again.
9014 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9016 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9022 * ToolbarDefaults.C:
9031 * BufferView_pimpl.C: use new file dialog in GUII
9034 * lyx_cb.C: remove LayoutsCB to Toolbar
9036 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9038 * ShareContainer.h (get): add std:: qualifier
9040 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * ShareContainer.h: define a proper ShareContainer::value_type
9043 type (and use typename to please compaq cxx)
9045 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9047 * lyxparagraph.h: move serveral local vars to
9048 ParameterStruct/ParagraphParameters., use ShareContainer in
9049 FontTable., make vars in FontTable private and add getter and
9052 * paragraph.C: changes because of the above.
9054 * lyxfont.h: remove copy constructor and copy assignment. (the
9055 default ones is ok), move number inside FontBits. move inlines to
9058 * lyxfont.C: add number to initializaton of statics, move several
9059 inlines here. constify several local vars. some whitespace
9060 cleanup. Dont hide outerscope variables.
9062 * Spacing.h: add two new constructors to match the set methods.
9064 * ShareContainer.h: new file, will perhaps be moved to support
9066 * ParameterStruct.h: new file
9068 * ParagraphParameters.h: new file
9070 * ParagraphParameters.C: new file
9072 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9073 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9075 * BufferView_pimpl.C: ParagraphParameter changes.
9076 * buffer.C: Likewise.
9077 * bufferview_funcs.C: Likewise.
9079 * text2.C: Likewise.
9081 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9083 * lyxfind.C (LyXReplace): do not redefine default argument in
9085 (IsStringInText): ditto
9086 (SearchForward): ditto
9087 (SearchBackward): ditto
9089 2001-03-06 Juergen Vigna <jug@sad.it>
9091 * lyxfind.C (IsStringInText): put parentes around expressions.
9093 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9095 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9097 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9099 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9101 * stl_string_fwd.h: add comment
9103 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9106 * tabular.C: remove unused DocBook methods
9112 killed DO_USE_DEFAULT_LANGUAGE
9114 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9116 * lyx_gui.C: do not include language.h.
9118 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9119 arguments in function implementation.
9121 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9123 * BufferView_pimpl.C: add <ctime>
9125 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9127 * BufferView_pimpl.C: add using std::find_if
9129 2001-02-27 José Matos <jamatos@fep.up.pt>
9131 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9134 2001-02-11 José Matos <jamatos@fep.up.pt>
9136 * buffer.C (makeDocBookFile): command styles now have a parameter as
9139 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9141 * layout_forms.[Ch]: removed
9142 * lyx_cb.[Ch]: out character
9143 * lyx_gui.C: out character
9144 * lyx_gui_misc.C: out character
9145 * bufferview_funcs.C: : out character,
9146 added toggleall as parameter in ToggleAndShow
9148 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9150 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9152 * text2.C (SetCurrentFont): Disable number property at boundary.
9154 2001-02-26 Juergen Vigna <jug@sad.it>
9156 * lyxfunc.C (getStatus): added a string argument override function so
9157 that this is correctly called from LyXFunc::Dispatch if it contains a
9158 do_not_use_argument which is used!
9159 (Dispatch): added check for "custom" export and call appropriate func.
9161 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9163 * lyxrc.C: Add language_command_local, language_use_babel and
9164 language_global_options.
9166 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9168 * buffer.C (makeLaTeXFile): Use language_use_babel and
9169 language_global_options.
9171 2001-02-23 Juergen Vigna <jug@sad.it>
9173 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9174 which works with LyXText and putted it inside BufferView. Here now we
9175 only call for that part the BufferView::Dispatch() function.
9177 * BufferView.C (Dispatch): added.
9179 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9180 functions which needs to use a LyXText over from LyXFunc.
9181 (MenuInsertLyXFile): added
9182 (getInsetByCode): added
9183 (moveCursorUpdate): added
9184 (static TEXT): added
9186 2001-02-22 Juergen Vigna <jug@sad.it>
9188 * BufferView_pimpl.C (update): call a status update to see if LyXText
9191 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9193 * vc-backend.C (revert): implement for CVS
9194 (getLog): implement for CVS
9196 2001-02-20 Juergen Vigna <jug@sad.it>
9198 * text2.C (ClearSelection): added BufferView param for inset_owner call
9200 * lyxfunc.C (TEXT): added this function and use it instead of
9201 directly owner->view()-text of getLyXText().
9203 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9205 * src/layout_forms.C: out preamble
9206 * src/layout_forms.h: out preamble
9207 * src/lyx_cb.C: out preamble
9208 * src/lyx_cb.h: out preamble
9209 * src/lyx_gui.C: out preamble
9210 * src/lyx_gui_misc.C: out preamble
9211 * src/lyxfunc.C: connect with guii preamble
9213 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9215 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9217 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9219 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9220 whether to run bibtex.
9222 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9224 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9226 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9228 * Makefile.am (lyx_SOURCES): removed bibforms.h
9232 * text.C (GetVisibleRow): make several local vars const
9234 * tabular.C: small cleanup.
9236 * lyxserver.C (callback): use compare instead of strncmp
9238 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9239 inlines to after class or to paragraph.C
9241 * lyxfont.h: remove friend operator!=
9243 * converter.h: move friend bool operator< to non friend and after
9246 * combox.h: small cleanup
9248 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9249 to inlines after class def.
9251 * buffer.C (pop_tag): use string operations instead of strcmp
9253 * bmtable.c: doxygen, small cleanup
9255 * LaTeX.h: remove friend operator==
9257 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9269 * BufferView_pimpl.C:
9270 * BufferView.[Ch]: remove cruft
9272 2001-02-14 Juergen Vigna <jug@sad.it>
9274 * lyxfunc.C: removed #if 0 unused code
9276 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9278 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9280 * text2.C (SetSelection): added a BufferView * parameter
9282 2001-02-13 Juergen Vigna <jug@sad.it>
9284 * lyxfunc.C (Dispatch): fixed protected blank problem.
9285 * BufferView2.C (protectedBlank): added LyxText * parameter.
9287 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9288 (AppendColumn): same as above for column_info.
9290 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9291 (moveCursorUpdate): use a LyXText param for support of InsetText.
9293 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9294 (tripleClick): ditto
9296 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9298 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9300 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9302 * text2.C (SetSelection): set correct update status if inset_owner
9305 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9307 * tabular.C: remove some commented code.
9309 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9311 * BufferView_pimpl.C: call hideSplash()
9313 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9316 * bibforms.h: remove
9319 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9320 add LFUN_CHILD_CREATE
9322 * counters.h: fix tiny typo
9327 * lyx.C: move splash to frontends/xforms/
9329 * lyx_gui_misc.C: move Include and Bibform to frontends
9331 * lyxvc.h: clarify comment
9333 * vspace.C: tiny housekeeping
9335 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9337 * text.C (PrepareToPrint): RTL Fix.
9339 * paragraph.C (GetUChar): New method.
9340 (String): Use GetUChar.
9342 * buffer.C (asciiParagraph): Use GetUChar.
9344 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9346 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9348 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9351 * buffer.C: rename to getLogName(), handle
9352 build log / latex log nicely
9354 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9357 * MenuBackend.h: remove support for reference menuitem type.
9359 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9361 * BufferView_pimpl.C: housekeeping
9362 * BufferView_pimpl.h:
9367 * minibuffer.h: move Timeout GUI-I
9369 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9371 * lyxrc.C (read): Update converters data-structures.
9373 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9375 * LaTeX.h (operator!=): add operator != for Aux_Info
9377 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9379 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9381 * LaTeXLog.C: deleted, useful code moved to Buffer
9384 * buffer.C: new function getLatexLogName()
9390 * lyxfunc.C: use frontends for LaTeX and VC logs
9392 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * LaTeX.h: yet another std:: that Allan forgot.
9396 * Variables.C (set): renamed from isset(), because this clashes
9397 with some HP-UX macros (grr).
9399 2001-02-06 Allan Rae <rae@lyx.org>
9401 * LaTeX.h: Another bug fix. Missing std:: this time.
9403 2001-02-04 Allan Rae <rae@lyx.org>
9405 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9406 floats problem. I've left it commented out because it's not quite
9407 correct. It should also test that the current object is a table or
9408 figure inset. But I haven't gotten around to figuring out how to do
9409 that. I *think* it'll be something like: "table" == inset.type()
9411 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9414 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9416 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9417 all the citation/databases/styles in the auxilary file.
9418 (run): Rerun latex if there was a babel language error.
9420 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9422 * text.C (Backspace): Preserve the font when changing newline char
9424 (BreakParagraph): If the cursor is before a space, delete the space.
9426 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9428 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9430 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9431 new argument (code).
9432 (ChangeCitationsIfUnique): New method.
9434 * paragraph.C (GetPositionOfInset): Handle bibkey.
9436 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9438 * BufferView_pimpl.h: change type of Position::par_pos to
9439 LyXParagraph::size_type.
9441 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9443 * BufferView_pimpl.C (savePosition, restorePosition): Write
9444 messages to minibuffer.
9446 2001-01-28 José Matos <jamatos@fep.up.pt>
9448 * buffer.C (makeDocBookFile): adds support for document language.
9449 A silly restriction on the name of LatexCommand types where removed.
9450 Added support for CDATA sections, allows to chars unescaped, used
9451 among others in code, to avoid escape < and >.
9453 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9455 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9456 saved positions instrad of a stack. Furthermore, a position is
9457 stored using paragraph id/paragraph position.
9459 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9460 Remove LFUN_REF_BACK.
9462 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9464 * converter.C (dvipdfm_options): New method.
9466 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9468 * vspace.C (isValidLength): Fix for empty input string.
9470 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9472 * LyXAction.C (init): change description of LFUN_FIGURE to
9475 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9477 * LaTeX.C: add using directive
9479 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9481 * MenuBackend.C (expand): Fix the sorting of the formats.
9483 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9485 * lyx_main.C: tiny error message fix
9487 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9490 calling fl_initialize(). This fixes the problem with ',' as
9491 decimal separator in text files.
9493 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9495 * trans.C (process): Fix the keymap bug.
9497 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9499 * LaTeX.C (scanAuxFiles): New method. Provides support for
9500 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9501 (scanLogFile) Scan for "run BibTeX" messages.
9503 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9504 OT1 font encoding. Also, load the aecompl package if the ae
9507 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9509 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9511 * texrow.C (increasePos): turn two error messages into debug
9514 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9516 * LaTeX.C (scanAux): Handle the \@input macro.
9517 (runBibTeX): Use scanAux().
9519 * language.C (latex_options_): New field.
9521 * LaTeXFeatures.C (getMacros): Add language macros.
9523 * buffer.C (makeLaTeXFile): Small fix.
9525 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9527 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9529 * text2.C: add a using directive.
9531 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9536 * lyxfunc.C: kill LyXBell.
9538 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9540 * text.C (IsBoundary): Remove the error message
9542 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9544 * lyxrc.C (setDefaults): Correct initialization value for
9547 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9549 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9552 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9555 * src/LyXAction.C: Added reference-next.
9557 * text.C (InsertChar): Use contains instead of strchr.
9559 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9561 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9563 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9564 alignment commands (when needed).
9566 * text.C (InsertChar): Add ':' to number separator chars.