1 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text2.C (LyXText): adjust.
5 (removeRow): make it take a RowList::iterator as arg, adjust.
7 (deleteEmptyParagraphMechanism): adjust
11 * text.C (top_y): adjust
12 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
13 (breakAgain): make it take a RowList::iterator as arg, adjust.
14 (breakParagraph): adjust
18 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
19 need_break_row, and refresh_row.
21 * text3.C (dispatch): adjust
23 * text2.C (checkParagraph): adjust
25 (setCursorFromCoordinates): adjust
27 * text.C (top_y): adjust
29 (getRow): make it return a RowList::iterator, adjust
30 (getRowNearY): make it return a RowList::iterator, adjust
32 * text2.C (init): adjust
33 (insertRow): remove function
34 (insertParagraph): adjust
35 (redoParagraphs): adjust
37 (updateCounters): adjust
39 * text.C (top_y): rewrite to use RowList iterators.
41 (setHeightOfRow): rewrite to sue RowList iterators.
42 (appendParagraph): adjust
44 (breakAgainOneRow): adjust
45 (breakParagraph): adjust
47 (getRowNearY): adjust, and remove commented code.
49 * lyxtext.h (firstRow): delete function
50 (lastRow): delete function
51 (rows): new function (const and non-const versions.)
52 (insertRow): delete function
54 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
56 2003-03-29 John Levon <levon@movementarian.org>
58 * BufferView_pimpl.C: always update scrollbar top
59 because pasting text when we're anchored could mean we
60 miss an update altogether
62 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * text2.C (init): use rowlist_.end() and not 0.
65 (insertRow): change to take a RowList::iterator as arg, adjust
67 (insertParagraph): change to take a RowList::iterator as arg,
69 (redoParagraphs): remove some debug msgs.
71 * text.C (appendParagraph): change to take a RowList::iterator
73 (breakAgain): add an assert
74 (breakAgainOneRow): ditto
76 2003-03-29 John Levon <levon@movementarian.org>
78 * text2.C: do not clear selection after inc/decDepth
81 2003-03-29 John Levon <levon@movementarian.org>
84 * buffer.C: fix broken strerrors according to Lars
86 2003-03-29 John Levon <levon@movementarian.org>
88 * converters.C: more Alert cleanups
90 2003-03-29 John Levon <levon@movementarian.org>
92 * bufferview_funcs.C: remove pointless Alert
94 * buffer.C: fix confusing error message when
95 a template is chmoded 000
97 2003-03-29 John Levon <levon@movementarian.org>
101 * BufferView_pimpl.C: Alert fixes
105 * tabular-old.C: remove unused table compat reading
107 2003-03-29 John Levon <levon@movementarian.org>
112 * lyx_cb.C: more Alert cleanups
114 * lyxfunc.C: don't allow chktex if not latex document
116 2003-03-29 John Levon <levon@movementarian.org>
120 * buffer.C: warnings pushed down from support/,
123 2003-03-29 John Levon <levon@movementarian.org>
125 * lyxfunc.C: safety check for C-r (revert)
127 2003-03-29 John Levon <levon@movementarian.org>
130 * bufferlist.C: several UI fixes using Alert::prompt.
131 Fix the pointless looping quit code. Fix stupid revert
136 * lyx_cb.C: use Alert::prompt
138 * lyx_main.C: remove a silly question
140 * lyxfunc.C: remove a couple of silly questions,
143 2003-03-28 John Levon <levon@movementarian.org>
145 * text2.C: fix bug 974 (End on empty par)
147 2003-03-28 John Levon <levon@movementarian.org>
149 * BufferView_pimpl.C:
151 * lfuns.h: remove do-nothing math greek lfuns
153 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * lyxgluelength.h (isValidGlueLength): add default arg on
156 parameter 2. Remove default arg from friend in class.
158 * lyxlength.h (isValidLength): add default arg on parameter 2.
159 Remove default arg from friend in class.
161 * text2.C (LyXText): adjust, initialize refresh_row.
165 (insertParagraph): adjst
166 (redoParagraphs): adjust
167 (fullRebreak): adjust
168 (updateCounters): adjust
169 (deleteEmptyParagraphMechanism): first attempt at fixing a
172 * text.C (top_y): adjust
173 (setHeightOfRow): adjust
175 (getRowNearY): adjust
177 * lyxtext.h: include RowList.h
178 (~LyXText): not needed anymore, deleted.
179 (firstRow): modify for RowList
180 (lastRow): new function
181 Delete firstrow and lastrow class variables, add a Rowlist
182 rowlist_ class variable.
184 * lyxrow.C (lastPos): use empty() and not !size() to check if a
187 * RowList.C (insert): fix case where it == begin().
189 2003-03-26 Angus Leeming <leeming@lyx.org>
191 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
192 the thesaurus dialog.
194 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
196 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
198 * RowList.[Ch]: new files
200 * ParagraphList.C (erase): handle the case where it == begin
203 2003-03-25 John Levon <levon@movementarian.org>
207 * aspell.C: add new aspell support
210 * lyxrc.C: Make use_pspell be use_spell_lib. Always
213 2003-03-25 Angus Leeming <leeming@lyx.org>
216 * LyXAction.C (init): new LFUN_INSET_INSERT.
218 * BufferView_pimpl.C (dispatch): split out part of the
219 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
221 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
224 2003-03-25 Angus Leeming <leeming@lyx.org>
226 * lyxfunc.C (dispatch): changes to the Dialogs interface.
228 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
231 * text3.C: remove useless row->height(0)
233 2003-03-25 John Levon <levon@movementarian.org>
237 * text3.C: rename the refreshing stuff to better names
239 2003-03-24 John Levon <levon@movementarian.org>
241 * BufferView_pimpl.h:
242 * BufferView_pimpl.C: update layout choice on a mouse
245 2003-03-23 John Levon <levon@movementarian.org>
247 * Makefile.am: fix commandtags.h reference
249 2003-03-22 John Levon <levon@movementarian.org>
251 * BufferView_pimpl.C:
256 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
258 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
261 * text.C: take the rtl methods out of line
263 2003-03-21 André Pönitz <poenitz@gmx.net>
265 * metricsinfo.[Ch]: new files containing structures to be passed around
266 during the two-phase-drawing...
268 2003-03-21 André Pönitz <poenitz@gmx.net>
270 * lyxtextclass.C: read 'environment' tag.
272 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
274 * text2.C (removeRow): fix bug 964
276 2003-03-20 John Levon <levon@movementarian.org>
280 * text2.C: paint cleanups. Inset::update() dropped font
283 2003-03-19 John Levon <levon@movementarian.org>
285 * lyxfunc.C: only fitcursor/markDirty if available()
287 2003-03-19 John Levon <levon@movementarian.org>
289 * commandtags.h: rename to ...
291 * lfuns.h: ... this, and renumber / cleanup
293 2003-03-19 John Levon <levon@movementarian.org>
295 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
296 fit the cursor after an lfun
300 * BufferView_pimpl.h:
301 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
303 * LyXAction.C: layout-character should have ReadOnly
305 * ParagraphParameters.C:
307 * bufferview_funcs.C:
314 * undo_funcs.C: changes from above
316 2003-03-18 John Levon <levon@movementarian.org>
318 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
319 remove it from update()
321 * lyxfunc.C: update layout choice after an lfun
323 * text3.C: remove extra updateLayoutChoice()s
325 2003-03-18 John Levon <levon@movementarian.org>
327 * text.C: top_y change means full repaint, fix
328 a drawing bug with cursor movement
330 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
334 * text2.C: anchor row on setCursor
336 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
338 * lyxtext.h: remove almost all mutable keywords
341 * text3.C: remove const keywords accordingly
343 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
345 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
347 (TeXEnvironment): ditto
350 2003-03-17 John Levon <levon@movementarian.org>
352 * text.C (rowBreakPoint): remove attempt to fix displayed
353 math insets inside a manual label
355 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * lyxtext.h: remove BufferView* as first arg from almost all class
359 * other files: adjust.
361 2003-03-17 John Levon <levon@movementarian.org>
365 * text2.C: more paint cleanups
367 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
370 * rowpainter.C: remove "smart" background painting code
372 2003-03-16 John Levon <levon@movementarian.org>
377 * text3.C: add helper functions for setting refresh_row/y
379 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
381 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
382 newline inset which *can* get inserted in the pass_thru layouts.
383 This is primarily for literate documents.
385 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
387 * buffer.C: increment LYX_FORMAT to 223
389 2003-03-14 André Pönitz <poenitz@gmx.net>
391 * textclass.h: prepare for environment handling, ws changes
392 * lyxlayout.C: read latexheader and latexfooter tags
394 2003-03-14 John Levon <levon@movementarian.org>
396 * text2.C: rewrite ::status() a bit
398 2003-03-13 John Levon <levon@movementarian.org>
400 * lyxtext.h: add some docs
402 2003-03-13 John Levon <levon@movementarian.org>
407 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
409 2003-03-13 John Levon <levon@movementarian.org>
411 * text3.C: fix appendix redrawing
413 2003-03-13 John Levon <levon@movementarian.org>
415 * text.C (setHeightOfRow):
417 * rowpainter.C: make appendix mark have the text
418 "Appendix" so the user knows what it is
421 * LColor.C: s/appendixline/appendix/ from above
423 2003-03-13 John Levon <levon@movementarian.org>
425 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
427 * text.C: fix a getChar(pos) bug properly
429 2003-03-13 Angus Leeming <leeming@lyx.org>
432 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
433 Probably only temporary. Let's see how things pan out.
435 * BufferView.C (unlockInset):
436 * BufferView_pimpl.C (fitCursor):
437 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
439 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
440 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
442 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
443 new functions that convert ParagraphParameters to and from a string.
445 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
446 BufferView::Pimpl's dispatch.
447 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
449 2003-03-13 André Pönitz <poenitz@gmx.net>
453 * factory.C: make it aware of InsetEnv
455 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
457 * text2.C (setCursor): never ask for one past last
458 (setCursor): add some debugging messages.
460 * text.C (singleWidth): never ask for one past last
464 (rowBreakPoint): ditto
465 (setHeightOfRow): ditto
466 (prepareToPrint): ditto
468 * rowpainter.C (paintBackground): never ask for one past last
469 (paintText): never ask for one past last
471 * paragraph_pimpl.C (getChar): make the assert stricter, never
472 allow the one past last pos to be taken
474 * paragraph.C (getChar): ws changes only
476 * lyxrow.C (nextRowIsAllInset): never ask for one past last
477 (numberOfSeparators): ditto
478 (numberOfHfills): ditto
480 2003-03-12 John Levon <levon@movementarian.org>
486 * paragraph_funcs.C: fix per-buffer authorlists
488 2003-03-12 John Levon <levon@movementarian.org>
490 * text.C: fix newline in right address
492 2003-03-12 Angus Leeming <leeming@lyx.org>
494 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
495 duplicate those in LyXFunc::dispatch.
500 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
501 Add LFUN_FONTFREE_UPDATE.
503 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
504 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
506 * bufferview_func.[Ch]: several new functions to facilliate
507 transfer of data to and from the character dialog.
509 2003-03-12 John Levon <levon@movementarian.org>
519 * text3.C: remove META_NEWLINE in favour of an inset
522 * rowpainter.C: remove paintNewline (done by inset)
524 2003-03-12 John Levon <levon@movementarian.org>
526 * paragraph_pimpl.C: complain about bad getChar()s
529 2003-03-12 John Levon <levon@movementarian.org>
532 * buffer.C: move paragraph read into a separate function,
533 a little renaming to reflect that.
536 * bufferparams.C: remove the author_ids map, not necessary now
539 * factory.C: moved Buffer::readInset to here
542 * paragraph_funcs.C: readParagraph free function moved from
545 * tabular.C: name change
547 2003-03-12 John Levon <levon@movementarian.org>
550 * ParagraphParameters.C: move par params input to
553 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
554 behave like a normal read from the stream wrt reading
557 2003-03-12 John Levon <levon@movementarian.org>
560 * ParagraphParameters.h:
561 * ParagraphParameters.C: move output code to a
564 2003-03-12 John Levon <levon@movementarian.org>
566 * BufferView.C (insertLyXFile):
569 * tabular.C: use a parlist iterator for creating the
572 2003-03-12 John Levon <levon@movementarian.org>
574 * buffer.C: make current_change static local not
577 2003-03-12 John Levon <levon@movementarian.org>
579 * buffer.C: fix insertStringAsLines for change tracking
581 2003-03-12 John Levon <levon@movementarian.org>
588 * bufferparams.C: move author list into params. Rename some
589 functions. Move the header reading into a separate token
590 loop. Move the header token reading into BufferParams.
592 2003-03-12 John Levon <levon@movementarian.org>
594 * changes.C: put debug inside lyxerr.debugging() checks
596 2003-03-11 André Pönitz <poenitz@gmx.net>
598 * factory.C: make it aware of InsetHFill
600 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * buffer.C (latexParagraphs): move function from here...
603 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
606 2003-03-10 Angus Leeming <leeming@lyx.org>
608 * LyXAction.C (init): fix bug in poplating array with multiple entries
609 with the same LFUN (spotted by JMarc).
611 2003-03-10 John Levon <levon@movementarian.org>
614 * text2.C: move getColumnNearX() near its
617 2003-03-10 John Levon <levon@movementarian.org>
619 * text.C: fix break before a minipage
621 2003-03-10 John Levon <levon@movementarian.org>
623 * text.C: fix the last commit
625 2003-03-09 John Levon <levon@movementarian.org>
629 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
630 bug 365 (don't break before insets unless needed). Don't
631 return a value > last under any circumstances.
633 2003-03-09 Angus Leeming <leeming@lyx.org>
635 * BufferView_pimpl.C (trackChanges, dispatch): call
636 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
638 2003-03-09 Angus Leeming <leeming@lyx.org>
640 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
641 than Dialogs::showAboutlyx().
643 2003-03-09 Angus Leeming <leeming@lyx.org>
645 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
646 than Dialogs::showTabularCreate().
648 2003-03-09 John Levon <levon@movementarian.org>
652 * text2.C: 3rd arg to nextBreakPoint was always the same.
655 2003-03-08 John Levon <levon@movementarian.org>
662 * text2.C: Remove the "main" bit from the "main body"
665 2003-03-08 John Levon <levon@movementarian.org>
667 * text.C (leftMargin): The left margin of an empty
668 manual label paragraph should not include the label width
671 * text.C (prepareToPrint): don't attempt to measure hfills
672 for empty manual label paragraphs - the answer should be 0
674 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
676 * CutAndPaste.C: remove commented code and reindent.
678 2003-03-08 John Levon <levon@movementarian.org>
681 * lyxfunc.C: move reloadBuffer()
684 * BufferView.C: to here
686 * lyxvc.C: add comment
689 * vc-backend.C: call bv->reload() to avoid
690 getStatus() check on MENURELOAD
692 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
694 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
695 to an old format .dep file.
697 2003-03-07 Angus Leeming <leeming@lyx.org>
699 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
700 when the LFUN_MOUSE_RELEASE should have been handled by
701 inset->localDispatch.
703 2003-03-07 Angus Leeming <leeming@lyx.org>
705 * BufferView_pimpl.C (dispatch):
706 * LyXAction.C (init):
707 * ToolbarDefaults.C (init):
709 * lyxfunc.C (getStatus):
710 remove LFUN_INSET_GRAPHICS.
712 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
714 2003-03-07 Angus Leeming <leeming@lyx.org>
717 * LyXAction.C (init):
718 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
720 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
723 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
725 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
726 localDispatch method LFUN_INSET_DIALOG_UPDATE.
728 2003-03-07 Angus Leeming <leeming@lyx.org>
730 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
733 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
735 * ParagraphList.C (front): new function
738 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
740 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
741 and top_row_offset_. removed var first_y.
743 * text2.C (LyXText, removeRow):
745 * BufferView_pimpl.C:
746 use these methods instead of using first_y
748 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * text2.C (pasteSelection): adjust for checkPastePossible
752 * CutAndPaste.C: remove Paragraph * buf and replace with
753 ParagraphList paragraphs.
754 (DeleteBuffer): delete
755 (cutSelection): change the tc type to textclass_type
756 (copySelection): change the tc type to textclass_type
757 (copySelection): adjust for ParagraphList
758 (pasteSelection): change the tc type to textclass_type
759 (pasteSelection): adjust for Paragraphlist
760 (nrOfParagraphs): simplify for ParagraphList
761 (checkPastePossible): simplify for ParagraphList
762 (checkPastePossible): remove unused arg
764 * ParagraphList.C (insert): handle the case where there are no
767 * CutAndPaste.h: make CutAndPaste a namespace.
769 * text3.C (dispatch): adjust
771 * text.C (breakParagraph): add a ParagraphList as arg
773 * paragraph_funcs.C (breakParagraph): change to take a
774 BufferParams and a ParagraphList as args.
775 (breakParagraphConservative): ditto
776 (mergeParagraph): ditto
777 (TeXDeeper): add a ParagraphList arg
778 (TeXEnvironment): ditto
781 * buffer.C (readLyXformat2): adjust
782 (insertStringAsLines): adjust
783 (latexParagraphs): adjust
785 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
786 (cutSelection): adjust
787 (pasteSelection): adjust
789 * BufferView_pimpl.C (insertInset): adjust
791 2003-03-05 Angus Leeming <leeming@lyx.org>
794 * LyXAction.C (init):
795 * BufferView_pimpl.C (dispatch):
796 * lyxfunc.C (getStatus):
797 remove LFUN_CHILD_INSERT.
799 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
801 2003-03-05 Angus Leeming <leeming@lyx.org>
804 * LyXAction.C (init):
805 * src/factory.C (createInset):
806 * lyxfunc.C (getStatus):
807 * text3.C (dispatch):
808 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
810 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
812 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
814 * ParagraphList.C (insert): handle insert right before end()
815 (erase): fix cases where it can be first or last paragraph.
817 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * paragraph_funcs.C (TeXEnvironment): remove all usage of
820 Paragraph::next and Paragraph::previous
823 * text.C (breakParagraph): adjust
825 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
826 BufferParams& as arg.
827 (breakParagraph): use ParagraphList::insert
828 (breakParagraphConservative): take a Buffer* instead of a
829 BufferParams& as arg.
830 (breakParagraphConservative): use ParagraphList::insert.
832 * buffer.C (insertStringAsLines): un-const it
833 (insertStringAsLines): adjust
835 * ParagraphList.C (insert): new function
837 * CutAndPaste.C (pasteSelection): adjust
839 * text.C (backspace): adjust
841 * tabular.C (SetMultiColumn): adjust
843 * CutAndPaste.C (cutSelection): adjust
844 (pasteSelection): adjust
846 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
847 Buffer const * as arg
849 * ParagraphList.C (erase): new function
850 * paragraph_funcs.C (mergeParagraph): use it
851 (mergeParagraph): make it take a Buffer* instead of a
854 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
856 (breakParagraphConservative): ditto
858 * paragraph.h: remove the breakParagraph friend
860 * paragraph.C (eraseIntern): new function
861 (setChange): new function
863 * paragraph_funcs.C (mergeParagraph): make it take a
864 ParagraphList::iterator instead of a Paragraph *, adjust
867 * paragraph.h: move an #endif so that the change tracking stuff
868 also works in the NO_NEXT case.
870 2003-03-04 Angus Leeming <leeming@lyx.org>
873 * LyXAction.C: new LFUN_INSET_MODIFY.
875 * BufferView_pimpl.C (dispatch): if an inset is found to be open
876 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
878 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * several files: ws changes only
882 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
883 (TeXEnvironment): ditto
886 * buffer.C (makeLaTeXFile): adjust
887 (latexParagraphs): make it take ParagraphList::iterator as args
889 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
891 * buffer.C (latexParagraphs): adjust
893 * paragraph.C (TeXOnePar): move function...
894 (optArgInset): move function...
895 (TeXEnvironment): move function...
896 * paragraph_pimpl.C (TeXDeeper): move function...
897 * paragraph_funcs.C: ...here
899 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
901 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
903 * buffer.C (readInset): remove compability code for old Figure and
906 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * buffer.C: ws changes
911 * BufferView_pimpl.C: ditto
914 * bufferlist.h: ditto
918 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
920 * converter.[Ch]: split into itself +
923 * Makefile.am: += graph.[Ch] + format.[Ch]
930 * lyxrc.C: added #include "format.h"
932 2003-02-27 Angus Leeming <leeming@lyx.org>
934 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
937 * factory.C (createInset): add "label" to the factory.
939 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
940 string and do no more.
942 2003-02-27 Angus Leeming <leeming@lyx.org>
945 * LyXAction.C (init):
946 * factory.C (createInset):
947 * BufferView_pimpl.C (dispatch):
948 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
950 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
952 * lyxfunc.C (dispatch):
953 * text3.C (dispatch): pass name to params2string.
955 2003-02-26 Angus Leeming <leeming@lyx.org>
957 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
959 Rearrange the ~includes. Strip out the unnecessary ones.
961 * factory.C (createInset): reformat.
962 create new insets for the various LFUN_XYZ_APPLY lfuns.
964 2003-02-26 John Levon <levon@movementarian.org>
967 * lyxrow.C: add isParStart,isParEnd helpers
969 * paragraph.h: make isInserted/DeletedText take refs
972 * paragraph_funcs.C: remove #if 0'd code
977 * text.C: use lyxrow helpers above.
978 Move draw and paint routines to RowPainter.
979 Make several methods use refs not pointers.
980 Make backgroundColor() const.
981 Add markChangeInDraw(), isInInset().
982 Merge changeRegionCase into changeCase.
983 Make workWidth() shouldn't-happen code into an Assert.
986 * rowpainter.C: new class for painting a row.
989 * vspace.C: make inPixels take a ref
991 2003-02-26 Angus Leeming <leeming@lyx.org>
993 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
996 2003-02-25 John Levon <levon@movementarian.org>
998 * ispell.C: give the forked command a more accurate name
1000 2003-02-22 John Levon <levon@movementarian.org>
1003 * toc.C: make TocItem store an id not a Paragraph *
1006 2003-02-21 Angus Leeming <leeming@lyx.org>
1008 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1009 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1010 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1011 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1012 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1013 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1015 * BufferView_pimpl.C (dispatch):
1016 * LyXAction.C (init):
1017 * factory.C (createInset):
1018 * lyxfunc.C (getStatus, dispatch):
1019 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1021 2003-02-21 Angus Leeming <leeming@lyx.org>
1023 * BufferView_pimpl.C (MenuInsertLyXFile):
1024 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1025 * lyxfunc.C (menuNew, open, doImport):
1026 no longer pass a LyXView & to fileDlg.
1028 2003-02-21 Angus Leeming <leeming@lyx.org>
1030 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1031 * LyXAction.C: change, BIBKEY to BIBITEM.
1032 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1033 Change InsetBibKey to InsetBibitem.
1034 Change BIBKEY_CODE to BIBITEM_CODE.
1035 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1036 * factory.C: replace insetbib.h with insetbibitem.h.
1037 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1038 * paragraph.C: replace insetbib.h with insetbibitem.h.
1039 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1040 Change bibkey() to bibitem().
1041 * text.C: remove insetbib.h.
1042 * text2.C: replace insetbib.h with insetbibitem.h.
1043 change bibkey() to bibitem().
1044 * text3.C: remove insetbib.h.
1045 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1047 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1049 * lyxrc.C (output): enclose user email in quotes (in case there are
1052 2003-02-18 John Levon <levon@movementarian.org>
1054 * buffer.h: add std::
1056 2003-02-17 John Levon <levon@movementarian.org>
1062 * pspell.C: reworking. Especially in ispell, a large
1063 number of clean ups and bug fixes.
1065 * lyxfunc.C: fix revert to behave sensibly
1067 2003-02-17 André Pönitz <poenitz@gmx.net>
1070 * commandtags.h: new LFUN_INSERT_BIBKEY
1080 * paragraph_func.C: remove special bibkey handling
1082 2003-02-17 John Levon <levon@movementarian.org>
1084 * text.C (Delete): fix case where delete at the end of
1085 the very first paragraph would not merge the pars
1087 2003-02-17 John Levon <levon@movementarian.org>
1089 * lyxrow.C: fix lastPrintablePos()
1091 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1093 * bufferparams.C (writeLaTeX): add a std:here
1095 * buffer.C: and remove a using directive there
1097 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * buffer.C (makeLaTeXFile): move the code that generates the
1102 * bufferparams.C (writeLaTeX): ... in this new method
1104 * LaTeXFeatures.C (getEncodingSet): make const
1105 (getLanguages): make const
1107 * MenuBackend.C (binding): returns the binding associated to this
1109 (add): sets the status of each item by calling getStatus. Adds
1111 (read): add support for OptSubMenu
1112 (expand): remove extra separator at the end of expanded menu
1114 2003-02-15 John Levon <levon@movementarian.org>
1117 * BufferView_pimpl.C:
1119 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1120 inset code that had no actual effect. Remove unneeded status
1123 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1125 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1128 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1130 * text.C (drawLengthMarker): also draw an arrow marker for
1131 symbolic lengths (medskip...)
1133 2003-02-14 John Levon <levon@movementarian.org>
1136 * tabular.C: better method names
1138 2003-02-14 John Levon <levon@movementarian.org>
1140 * BufferView_pimpl.C:
1145 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1146 it's a more accurate name. Remove some pointless uses.
1148 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1150 * text2.C (LyXText): change order of initilizers to shut off
1153 2003-02-14 John Levon <levon@movementarian.org>
1155 * buffer.C: use ParIterator for getParFromID()
1159 * paragraph_pimpl.h:
1160 * paragraph_pimpl.C: remove unused getParFromID()
1162 2003-02-14 John Levon <levon@movementarian.org>
1164 * buffer.C: remove some very old #if 0'd parse code
1166 2003-02-13 John Levon <levon@movementarian.org>
1170 * text2.C: move hfillExpansion(), numberOfSeparators(),
1171 rowLast(), rowLastPrintable(), numberofHfills(),
1172 numberOfLabelHfills() ...
1175 * lyxrow.C: ... to member functions here.
1180 * text.C: remove LyXText::beginningOfMainBody(), and call
1181 p->beginningOfMainBody() directly. Move the check for
1182 LABEL_MANUAL into the latter.
1189 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1195 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1196 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1198 2003-02-13 John Levon <levon@movementarian.org>
1200 * CutAndPaste.C: remove debug
1202 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1204 * paragraph.C (asString): remove two unused variables
1206 * lyxtextclass.C (readTitleType):
1208 (LyXTextClass): handle new members titletype_ and titlename_
1210 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1212 2003-02-09 John Levon <levon@movementarian.org>
1215 * buffer.C: replace hand-coded list with a map for the dep clean
1217 2003-02-08 John Levon <levon@movementarian.org>
1219 * LaTeX.C: consolidate code into showRunMessage() helper
1221 2003-02-08 John Levon <levon@movementarian.org>
1226 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1227 and pass the size in explicitly
1229 * BufferView_pimpl.h:
1230 * BufferView_pimpl.C:
1232 * BufferView.C: add getCurrentChange()
1234 * BufferView_pimpl.h:
1235 * BufferView_pimpl.C: handle change lfuns
1237 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1238 for changes. Mark pasted paragraphs as new.
1240 * support/lyxtime.h:
1241 * support/lyxtime.C:
1242 * DepTable.C: abstract time_t as lyx::time_type
1245 * LColor.C: add colours for new text, deleted text, changebars
1247 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1248 package use "usenames" option.
1252 * LyXAction.C: add change lfuns
1256 * author.C: author handling
1259 * buffer.C: add a per-buffer author list, with first entry as
1260 current author. Handle new .lyx tokens for change tracking. Output
1261 author list to .lyx file. Output dvipost stuff to .tex preamble.
1262 Bump lyx format to 222.
1265 * bufferlist.C: add setCurrentAuthor() to reset current author details
1269 * bufferparams.C: add param for tracking
1271 * bufferview_funcs.C: output change info in minibuffer
1275 * changes.C: add change-tracking structure
1278 * debug.C: add CHANGES debug flag
1281 * lyxfind.C: add code for finding the next change piece
1284 * lyxrc.C: add user_name and user_email
1287 * lyxrow.C: add a metric for the top of the text line
1290 * text.C: implement accept/rejectChange()
1293 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1294 Strike through deleted text.
1298 * paragraph_pimpl.h:
1299 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1300 to the insert functions. Rework erase to mark text as deleted, adding
1301 an eraseIntern() and a range-based erase(). Implement
1302 per-paragraph change lookup and accept/reject.
1304 * paragraph_funcs.C: Fixup paste for change tracking.
1306 * tabular.C: mark added row/columns as new.
1308 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1309 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1311 * text2.C: leave cursor at end of selection after a cut.
1313 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1315 * text.C (getLengthMarkerHeight):
1316 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1317 visible on screen too.
1319 2003-02-07 John Levon <levon@movementarian.org>
1321 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1323 2003-02-05 Angus Leeming <leeming@lyx.org>
1325 * lyxserver.C (read_ready): revert my patch of 11 September last year
1326 as it sends PC cpu through the roof. Presumably this means that
1327 the lyxserver will no longer run on an Alpha...
1329 2003-01-30 Angus Leeming <leeming@lyx.org>
1331 * factory.C (createInset): create an InsetCommandParam of type "index"
1332 and use it to 'do the right thing'.
1334 * text2.C (getStringToIndex): ensure that cursor position is always
1335 reset to the reset_cursor position.
1337 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1339 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1342 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1346 * lyxfunc.C: Output messages with identical spelling, punctuation,
1349 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1351 * MenuBackend.C (expandFormats): List only viewable export formats
1354 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1357 * lyxfunc.C (getStatus): Make sure that formats other than
1358 "fax" can also be disabled
1360 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1362 * text3.C (dispatch): put the lfuns that insert insets in 3
1363 groups, and call doInsertInset with appropriate arguments.
1364 (doInsertInset): new function, that creates an inset and inserts
1365 it according to some boolean parameters.
1367 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * buffer.C (readFile): remember to pass on 'par' when calling
1370 readFile recursively.
1372 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1374 * MenuBackend.C (expandFormats): add "..." to import formats.
1376 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1378 * paragraph.C (asString): Remove XForms RTL hacks.
1380 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1381 * buffer.C: fix typo
1383 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * Makefile.am (LIBS): delete var
1386 (lyx_LDADD): add @LIBS@ here instead.
1388 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1390 * Clarify the meaning of "wheel mouse jump"
1392 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1394 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1397 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1399 * importer.C (Loaders): do not preallocate 3 elements in the
1400 vector, since one ends up with 6 elements otherwise
1402 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1404 * DepTable.C (write): write the file name as last element of the
1405 .dep file (because it may contain spaces)
1406 (read): read info in the right order
1408 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1410 * paragraph_pimpl.C (simpleTeXBlanks):
1411 (simpleTeXSpecialChars):
1412 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1414 * tabular.C (latex): add some missing case statements. Reindent.
1416 * MenuBackend.C (expandToc): remove unused variable.
1418 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1427 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1430 2003-01-05 John Levon <levon@movementarian.org>
1433 * BufferView.C: add getEncoding()
1436 * kbsequence.C: do not store last keypress
1439 * lyxfunc.C: store last keypress here instead. Pass encoding
1442 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1444 * lyx_main.C (init): remove annoying error message when following
1445 symbolic links (bug #780)
1447 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1449 * text.C (insertChar):
1450 * lyxrc.C (getDescription): remove extra spaces
1452 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1454 * lyxrc.C (getDescription): remove extra spaces
1456 2002-12-20 John Levon <levon@movementarian.org>
1458 * text3.C: hack fix for page up/down across tall rows
1460 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1462 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1465 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1467 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1468 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1469 thesaurus is not compiled in
1471 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1473 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1475 2002-12-16 Angus Leeming <leeming@lyx.org>
1478 * lyx_main.C (init): remove override_x_deadkeys stuff.
1480 2002-12-12 John Levon <levon@movementarian.org>
1482 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1483 insert. Only remove shift modifier under strict
1486 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1488 * MenuBackend.C (expandToc): fix crash.
1490 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * MenuBackend.C (expandToc): gettext on float names.
1494 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1496 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1497 implement bool empty() [bug 490]
1499 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1501 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1503 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * several files: ws changes
1507 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * text2.C (setCounter): clean up a bit, use boost.format.
1510 (updateCounters): initialize par upon declaration.
1512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1513 if the layout exists. We do not just store the layout any more.
1514 (SwitchLayoutsBetweenClasses): use boost.format
1516 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1518 * converter.C (convert): if from and to files are the same, use a
1519 temporary files as intermediary
1521 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1524 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1526 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1528 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1530 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * tabular.C (asciiPrintCell): use string(size, char) instead of
1535 * sgml.C (openTag): fix order of arguments to string constructor
1538 * lyxfunc.C (dispatch): use boost.format
1540 * lots of files: change "c" -> 'c'
1542 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1544 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1546 2002-11-25 Angus Leeming <leeming@lyx.org>
1548 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1550 * lyx_main.C (init): compile fix.
1552 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1554 * lyx_cb.C (start): boost.formatify
1555 do not include <iostream>
1557 * lengthcommon.C: ws only
1559 * boost-inst.C,BoostFormat.h: add more explict instantations
1561 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * lots of files: handle USE_BOOST_FORMAT
1565 2002-11-21 John Levon <levon@movementarian.org>
1567 * pspell.C: fix compile
1569 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1571 * lyxfunc.C (dispatch): use boost::format
1575 * lyxfont.C (stateText): use boost::format
1577 * lyx_main.C (LyX): use boost::format
1579 (queryUserLyXDir): ditto
1582 (typedef boost::function): use the recommened syntax.
1584 * importer.C (Import): use boost::format
1586 * debug.C (showLevel): use boost::format
1588 * converter.C (view): use boost::format
1593 * bufferview_funcs.C (currentState): use boost::format
1595 * bufferlist.C (emergencyWrite): use boost::format
1597 * buffer.C (readLyXformat2): use boost::format
1598 (parseSingleLyXformat2Token): ditto
1600 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1602 * LaTeX.C (run): use boost::format
1604 * Chktex.C (scanLogFile): use boost::format
1606 * BufferView_pimpl.C (savePosition): use boost::format
1607 (restorePosition): ditto
1608 (MenuInsertLyXFile): ditto
1610 * BoostFormat.h: help file for explicit instation.
1612 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1614 * tabular.C (latex): Support for block alignment in fixed width
1617 2002-11-17 John Levon <levon@movementarian.org>
1619 * BufferView_pimpl.C:
1621 * lyxfunc.C: split filedialog into open/save
1623 2002-11-08 Juergen Vigna <jug@sad.it>
1625 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1626 by my last patch (hopefully).
1628 2002-11-08 John Levon <levon@movementarian.org>
1637 * toc.C: ParConstIterator, and use it (from Lars)
1639 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1641 * lyxtextclass.[Ch]: revise and add doxygen comments
1643 2002-11-07 John Levon <levon@movementarian.org>
1645 * text.C: fix progress value for spellchecker
1647 * toc.C: fix navigate menu for insetwrap inside minipage
1649 * paragraph_funcs.C: added FIXME for suspect code
1651 2002-11-07 John Levon <levon@movementarian.org>
1653 * BufferView_pimpl.C: fix redrawing of insets
1656 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1658 * text2.C (updateCounters): fix bug 668
1660 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1662 * text3.C (dispatch): Do not make the buffer dirty when moving the
1665 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * vc-backend.C: STRCONV
1670 * text2.C (setCounter): STRCONV
1672 * paragraph.C (asString): STRCONV
1674 * lyxlength.C (asString): STRCONV
1675 (asLatexString): ditto
1677 * lyxgluelength.C (asString): STRCONV
1678 (asLatexString): ditto
1680 * lyxfunc.C (dispatch): STRCONV
1683 * lyxfont.C (stateText): STRCONV
1685 * importer.C (Import): STRCONV
1687 * counters.C (labelItem): STRCONV
1688 (numberLabel): ditto
1689 (numberLabel): remove unused ostringstream o
1694 * bufferview_funcs.C (currentState): STRCONV
1696 * buffer.C (readFile): STRCONV
1697 (asciiParagraph): ditto
1698 (makeLaTeXFile): ditto
1700 * Spacing.C (writeEnvirBegin): STRCONV
1702 * LaTeXFeatures.C (getLanguages): STRCONV
1703 (getPackages): ditto
1705 (getBabelOptions): ditto
1706 (getTClassPreamble): ditto
1707 (getLyXSGMLEntities): ditto
1708 (getIncludedFiles): ditto
1712 (scanAuxFile): ditto
1715 * LString.h: add the STRCONV macros
1717 * BufferView_pimpl.C (savePosition): STRCONV
1718 (restorePosition): ditto
1719 (MenuInsertLyXFile): ditto
1721 * vc-backend.C (scanMaster): change from submatch[...] to
1724 * funcrequest.C: include config.h
1726 * factory.C: include config.h
1728 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1730 * box.C: include config.h
1732 * LaTeX.C (scanAuxFile): change from submatch[...] to
1736 2002-10-25 Angus Leeming <leeming@lyx.org>
1738 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1740 * ispell.[Ch] (setError): new method.
1741 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1742 Use setError() insetead of goto END.
1744 * lyx_cb.C (AutoSave): move out child process into new class
1747 2002-10-30 John Levon <levon@movementarian.org>
1749 * text3.C: make start appendix undoable
1751 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1753 * lyxlength.C (inPixels): Fix returned value.
1755 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1758 2002-10-24 Angus Leeming <leeming@lyx.org>
1760 * lyxgluelength.h: no need to forward declare BufferParams
1761 or BufferView, so don't.
1763 2002-10-21 John Levon <levon@movementarian.org>
1765 * BufferView.C: menuUndo ->undo, redo
1767 * BufferView.h: document, remove dead, make some methods private
1769 * paragraph_funcs.h:
1770 * paragraph_funcs.C:
1771 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1776 * sgml.C: move sgml open/close tag into sgml.C
1778 * bufferview_funcs.h: unused prototype
1781 * lyxfunc.C: remove unused
1784 * text.C: remove unused
1786 2002-10-21 John Levon <levon@movementarian.org>
1790 * BufferView_pimpl.h:
1791 * BufferView_pimpl.C: fix mouse wheel handling based on
1792 patch from Darren Freeman
1794 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1796 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1798 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1800 * lyxlength.C (inPixels): Fix hanfling of negative length.
1801 Fix LyXLength::MU case.
1803 2002-10-16 John Levon <levon@movementarian.org>
1805 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1807 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1809 * converter.C (view): add support for $$i (file name) and $$p
1810 (file path) for the viewer command. If $$i is not specified, then
1811 it is appended to the command (for compatibility with old syntax)
1813 2002-10-14 Juergen Vigna <jug@sad.it>
1815 * undo_funcs.C (textHandleUndo): alter the order in which the
1816 new undopar is added to the LyXText, as we have to set first
1817 the right prev/next and then add it as otherwise the rebuild of
1818 LyXText is not correct. Also reset the cursor to the right paragraph,
1819 with this IMO we could remove the hack in "redoParagraphs()".
1821 2002-10-09 Angus Leeming <leeming@lyx.org>
1823 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1824 to turn off an optimisation if a new inset is to be inserted.
1826 2002-10-11 André Pönitz <poenitz@gmx.net>
1828 * lyxtext.h: make some functions public to allow access
1829 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1831 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1833 * text3.C (dispatch): when changing layout, avoid an infinite loop
1836 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1838 * lyxrc.C (read): treat a viewer or converter command of "none" as
1841 * MenuBackend.C (expandFormats): for an update, also allow the
1842 formats that are not viewable
1844 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1845 script if it is newer than the lyxrc.defaults in user directory
1847 2002-10-07 André Pönitz <poenitz@gmx.net>
1849 * text.C: Vitaly Lipatov's small i18n fix
1851 2002-09-25 Angus Leeming <leeming@lyx.org>
1853 * ispell.h: doxygen fix.
1855 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1857 * buffer.h (readFile): Add a new argument to the method, to allow
1858 reading of old-format templates.
1860 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1862 * toc.C (getTocList): Get TOC from InsetWrap.
1864 2002-09-16 John Levon <levon@movementarian.org>
1866 * lyxfunc.C: check tabular for cut/copy too
1868 2002-09-12 John Levon <levon@movementarian.org>
1873 * factory.C: add header
1875 * paragraph_funcs.h:
1876 * paragraph_funcs.C: cleanup
1878 2002-09-11 John Levon <levon@movementarian.org>
1880 * PrinterParams.h: odd/even default to true
1882 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1884 * PrinterParams.h: update printer parameters for new xforms dialog
1886 2002-09-11 Angus Leeming <leeming@lyx.org>
1888 * lyxserver.C (read_ready): re-write to make it more transparent
1889 and to make it work in coherent fashion under Tru64 Unix.
1891 2002-09-11 André Pönitz <poenitz@gmx.net>
1895 * text3.C: implement LFUN_WORDSEL
1897 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1900 make floatlist_ a boost::shared_ptr<FloatList>
1902 * lyxtextclass.C: include FloatList.h
1903 (LyXTextClass): initialize floatlist_
1904 (TextClassTags): add TC_NOFLOAT
1905 (Read): match "nofloat" to TC_NOFLOAT and use it.
1906 (readFloat): modify call to floatlist_
1910 * FloatList.[Ch] (FloatList): remove commented out float
1912 (erase): new function
1914 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1916 * MenuBackend.C (expandToc): fix crash when there is no document
1919 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1921 * many files: Add insetwrap.
1923 2002-09-09 John Levon <levon@movementarian.org>
1925 * text2.C: remove confusing and awkward depth wraparound
1927 2002-09-09 John Levon <levon@movementarian.org>
1929 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1932 * buffer.C: remove getIncludeonlyList()
1935 * lyxfunc.C: remove headers
1937 2002-09-09 Juergen Vigna <jug@sad.it>
1939 * text.C (getColumnNearX): fix form Michael this is most
1940 probably a cut&paste bug.
1942 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1946 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1947 references, ws changes.
1949 * text2.C (init): update counters after init
1950 (insertParagraph): no need to set counter on idividual paragraphs.
1951 (setCounter): access the counters object in the textclass object
1952 on in the buffer object.
1953 (updateCounters): ditto
1955 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1956 shared_ptr<Counters> to avoid loading counters.h in all
1958 (LyXTextClass): initialize ctrs_
1959 (TextClassTags): add TC_COUNTER, and ...
1960 (Read): use it here.
1961 (CounterTags): new tags
1962 (readCounter): new function
1963 (counters): new funtion
1964 (defaultLayoutName): return a const reference
1966 * counters.C (Counters): remove contructor
1967 (newCounter): remove a couple of unneeded statements.
1968 (newCounter): simplify a bit.
1969 (numberLabel): some small formatting changes.
1971 * buffer.[Ch]: remove all traces of counters, move the Counters
1972 object to the LyXTextClass.
1974 2002-09-06 Alain Castera <castera@in2p3.fr>
1976 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1977 package to set the horizontal alignment on fixed width columns.
1980 * lyx_sty.h: added tabularnewline macro def.
1982 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1984 2002-09-06 John Levon <levon@movementarian.org>
1986 * LyXAction.C: tooltips for sub/superscript
1988 * MenuBackend.C: a bit more verbose
1990 * lyxfunc.C: tiny clean
1992 * undo_funcs.C: document undo_frozen
1994 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * counters.C (Counters): add missing algorithm counter.
1998 * text2.C (setCounter): lookup the counter with layouts latexname
1999 instead of by section number.
2000 (setCounter): use a hackish way to lookup the correct enum
2002 a float name->type change
2003 reset enum couners with counter name directly instead of depth value.
2005 * counters.C (Counters): remove the push_backs, change to use the
2006 float type not the float name.
2007 (labelItem): remove unused string, float name->type change
2009 * counters.h: don't include vector, loose the enums and sects vectors
2011 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2014 (Read): add float->TC_FLOAT to textclassTags
2015 (Read): and handle it in the switch
2016 (readFloat): new function
2018 * FloatList.C (FloatList): comment out the hardcoded float
2021 * lyxlayout.h: ws change.
2023 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2025 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2027 2002-09-03 Angus Leeming <leeming@lyx.org>
2029 * BufferView_pimpl.h: qualified name is not allowed in member
2030 declaration: WorkArea & Pimpl::workarea() const;
2032 * factory.C: added using std::endl directive.
2034 * text3.C: added using std::find and std::vector directives.
2036 2002-08-29 André Pönitz <poenitz@gmx.net>
2039 * text2.C: remove unused member number_of_rows
2042 * BufferView2.C: remove file, move contents to...
2043 * BufferView.C: ... here
2045 * BufferView_pimpl.C:
2046 * factory.C: move more inset creation to factory
2048 * vspace.C: avoid direct usage of LyXText, ws changes
2051 don't provide direct access to WorkArea, use two simple
2052 acessors haveSelction() and workHeight() instead
2055 2002-08-29 John Levon <levon@movementarian.org>
2057 * BufferView_pimpl.C (dispatch): do not continue when
2060 2002-08-28 André Pönitz <poenitz@gmx.net>
2062 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2065 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2067 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2069 * buffer.C: increment LYX_FORMAT to 221
2071 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2072 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2074 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2076 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2078 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2080 * factory.C (createInset): use LyXTextClass::floats
2082 * MenuBackend.C (expandFloatListInsert):
2083 (expandFloatInsert):
2086 * text2.C (setCounter):
2088 * LaTeXFeatures.C (useFloat):
2089 (getFloatDefinitions):
2091 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2093 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2094 floatlist_, with accessor floats().
2096 * FloatList.h: remove global FloatList
2098 2002-08-26 André Pönitz <poenitz@gmx.net>
2100 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2104 * BufferView_pimpl.C:
2105 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2107 2002-08-25 John Levon <levon@movementarian.org>
2109 * LyXAction.C: fix margin note description
2111 2002-08-24 John Levon <levon@movementarian.org>
2115 * bufferview_funcs.C:
2117 * undo_funcs.C: cleanups
2119 * lyxfunc.C: disable CUT/COPY when no selection
2121 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2123 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2124 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2126 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2127 Add backward compatibility to "mono", "gray" and "no".
2129 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2131 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2132 (and file_format >= 200).
2134 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2136 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2138 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2140 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2142 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2144 * BufferView_pimpl.C:
2151 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2152 inset and code to make it work with the paragraph code. The inset
2153 can be anywhere in the paragraph, but will only do the expected
2154 thing in LaTeX if the layout file contains the parameter line
2156 (or more generally, a nonzero value) for that layout.
2158 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * paragraph.h: remove the declaration of undefined counters class
2163 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2165 * text2.C (setCounter): fixed enumeration mis-count as reported by
2166 Dr. Richard Hawkins.
2168 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2170 * paragraph_funcs.h: remove some unneeded includes
2172 * text.C (backspace): pasteParagraph now in global scipe
2174 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2175 (pasteSelection): ditto
2177 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2178 * paragraph_funcs.C (pasteParagraph): ... here
2180 2002-08-20 André Pönitz <poenitz@gmx.net>
2182 * commandtags.h: new LFUNs for swapping/copying table row/colums
2185 * lyxfunc.C: support for new lfuns
2187 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * buffer.[Ch]: remove NO_COMPABILITY stuff
2192 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * boost.C (throw_exception): new file, with helper function for
2195 boost compiled without exceptions.
2200 * ParameterStruct.h:
2201 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2203 * bufferlist.C (emergencyWriteAll): use boost bind
2205 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2207 * text.C: include paragraph_funcs.h
2208 (breakParagraph): breakParagraph is now in global scope
2210 * paragraph_funcs.[Ch]: new files
2212 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2215 * buffer.C: include paragraph_funcs.h
2216 (insertStringAsLines): breakParagraph is now in global scope
2218 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2221 * CutAndPaste.C: include paragraph_funcs.h
2222 (cutSelection): breakParagraphConservative is now in global scope
2223 (pasteSelection): ditto
2225 * buffer.h: declare oprator== and operator!= for
2226 Buffer::inset_iterator
2228 * bufferlist.C (emergencyWrite): don't use fmt(...)
2230 * text3.C: add using std::endl
2232 * BufferView.C (moveCursorUpdate): remove default arg
2234 2002-08-20 André Pönitz <poenitz@gmx.net>
2236 * buffer.[Ch]: move inline functions to .C
2239 * BufferView_pimpl.C:
2241 * buffer.[Ch]: use improved inset_iterator
2244 * paragraph.[Ch]: write one paragraph at a time
2246 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2248 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2249 style if style is not specified.
2251 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2253 * text2.C (setCounter): when searching for right label for a
2254 caption, make sure to recurse to parent insets (so that a caption
2255 in a minipage in a figure float works) (bug #568)
2257 2002-08-20 André Pönitz <poenitz@gmx.net>
2259 * text3.C: new file for LyXText::dispatch() and helpers
2261 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2263 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2265 2002-08-19 André Pönitz <poenitz@gmx.net>
2268 * text.C: new LyXText::dispatch()
2270 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2272 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2274 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2276 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2279 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2281 * Makefile.am: use $(variables) instead of @substitutions@
2283 2002-08-15 André Pönitz <poenitz@gmx.net>
2286 * BufferView_pimpl.C: streamlining mathed <-> outer world
2290 * LyXAction.C: remove unused LFUN_MATH
2292 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2296 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * paragraph.C (Paragraph): reformat a bit
2299 (cutIntoMinibuffer): use builtin InsetList function instad of
2303 * buffer.C: include boost/bind.hpp, add using std::for_each
2304 (writeFileAscii): use ParagraphList iterators
2305 (validate): use for_each for validate traversal of paragraphs
2306 (getBibkeyList): use ParagraphList iterators
2307 (resizeInsets): use for_each to resizeInsetsLyXText for all
2309 (getParFromID): use ParagraphList iterators
2311 * BufferView2.C (lockInset): use paragraph list and iterators
2313 2002-08-14 John Levon <levon@movementarian.org>
2315 * lyxserver.C: remove spurious xforms include
2317 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2319 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2321 2002-08-13 André Pönitz <poenitz@gmx.net>
2324 * lyxfunc.C: further cleaning
2326 2002-08-13 André Pönitz <poenitz@gmx.net>
2328 * funcrequest.h: new constructor
2330 * funcrequest.C: move stuff here from .h
2333 * BufferView_pimpl.C:
2336 * lyxfunc.C: subsequent changes
2338 * lyxfunc.h: new view() member function
2340 * lyxfunc.C: subsequent changes
2342 2002-08-13 Angus Leeming <leeming@lyx.org>
2345 * BufferView_pimpl.C:
2353 changes due to the changed LyXView interface that now returns references
2354 to member variables not pointers.
2356 2002-08-13 Angus Leeming <leeming@lyx.org>
2358 * WordLangTuple (word, lang_code): return references to strings,
2363 * lyxtext.h: forward-declare WordLangTuple.
2368 * text.C: #include "WordLangTuple.h".
2371 * text.C: (selectNextWordToSpellcheck): constify return type.
2373 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2379 * paragraph_pimpl.h:
2382 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2384 Made updateCounter always count from start of buffer, and removed
2385 second argument (par).
2386 Reverted floats number display to '#'. Perhaps I'll try again when the
2387 code base is sanitized a bit.
2389 2002-08-12 Angus Leeming <leeming@lyx.org>
2391 * buffer.[Ch] (getLabelList): constify.
2393 2002-08-07 André Pönitz <poenitz@gmx.net>
2395 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2397 * funcrequest.h: extension to keep mouse (x,y) position
2399 2002-08-12 Juergen Vigna <jug@sad.it>
2401 * BufferView2.C (insertErrors): forbid undo when inserting error
2404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2406 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * ParagraphList.[Ch]: new files
2410 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2412 * BufferView2.C (lockInset): ParagraphList changes
2415 * bufferlist.C: ditto
2419 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2422 unused class variable counter_,
2424 * paragraph.[Ch] (getFirstCounter): delete unused function
2426 * counters.C: include LAssert.h
2427 (reset): add a new function with no arg, change other version to
2428 not have def. arg and to not allow empty arg.
2430 * text2.C (setCounter): remove empty arg from call to Counters::reset
2432 2002-08-11 John Levon <levon@movementarian.org>
2434 * Makefile.am: add WordLangTuple.h
2436 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2439 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2441 * insets/insettext.C: InsetList changes
2443 * graphics/GraphicsSupport.C (operator()): InsetList changes
2445 * toc.C (getTocList): InsetList changes
2447 * paragraph_pimpl.[Ch]: InsetList changes
2449 * paragraph.[Ch]: InsetList changes
2451 * buffer.C (inset_iterator): InsetList changes
2452 (setParagraph): ditto
2453 * buffer.h (inset_iterator): ditto
2454 * iterators.C (operator++): ditto
2455 * iterators.h: ditto
2457 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2459 * InsetList.[Ch]: new files, most InsetList handling moved out of
2462 * BufferView2.C (removeAutoInsets): InsetList changes
2464 (ChangeInsets): ditto
2466 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * paragraph_pimpl.h (empty): new function
2470 * paragraph.[Ch] (empty): new function
2472 * other files: use the new Paragraph::empty function
2474 2002-08-09 John Levon <levon@movementarian.org>
2476 * lyxtext.h: remove unused refresh_height
2478 2002-08-09 John Levon <levon@movementarian.org>
2485 * paragraph.C: move sgml char escaping out of paragraph
2488 * paragraph.C: remove id setter
2492 * paragraph_pimpl.C: remove dead tex_code_break_column
2494 * bufferview_funcs.C: small cleanup
2496 * lyxfunc.C: remove dead proto
2498 * lyxtext.h: make some stuff private. Remove some dead stuff.
2500 * lyxgluelength.C: make as[LyX]String() readable
2502 2002-08-08 John Levon <levon@movementarian.org>
2507 * ToolbarDefaults.C:
2510 * toc.C: lyxaction cleanup
2512 2002-08-08 John Levon <levon@movementarian.org>
2514 * BufferView2.C: small cleanup
2517 * lyxfind.C: move unnecessary header into the .C
2519 2002-08-08 John Levon <levon@movementarian.org>
2521 * funcrequest.h: just tedious nonsense
2524 * lyx_main.C: cleanups
2527 * vspace.C: remove dead header lyx_main.h
2529 2002-08-07 Angus Leeming <leeming@lyx.org>
2532 * paragraph_pimpl.h:
2533 Forward declare class Counters in paragraph.h by moving the ctrs member
2534 variable into Paragraph::Pimpl.
2535 (counters): new method, returning a reference to pimpl_->ctrs.
2537 * text2.C: ensuing changes.
2539 2002-08-07 John Levon <levon@movementarian.org>
2541 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2543 * BufferView_pimpl.C: announce X selection on double/triple
2546 * lyx_main.C: use correct bool in batch dispatch
2548 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2550 2002-08-07 André Pönitz <poenitz@gmx.net>
2552 * funcrequest.h: new class to wrap a kb_action and its argument
2555 * BufferView_pimpl[Ch]:
2559 * lyxrc.C: subsequent changes
2562 2002-08-07 John Levon <levon@movementarian.org>
2564 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2565 document options change.
2567 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2572 * makefile.am: move counters functionality over from
2573 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2575 2002-08-06 John Levon <levon@movementarian.org>
2577 * WordLangTuple.h: new file for word + language code tuple
2588 * BufferView2.C: use WordLangTuple
2591 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2593 2002-08-06 John Levon <levon@movementarian.org>
2595 * lyx_main.C: fix cmdline batch handling
2597 2002-08-06 André Pönitz <poenitz@gmx.net>
2599 * lyxrc.C: set default for show_banner to true
2601 2002-08-06 John Levon <levon@movementarian.org>
2603 * pspell.C: fix a crash, and allow new aspell to work
2605 2002-08-06 John Levon <levon@movementarian.org>
2608 * kbmap.C: small cleanup
2611 * vspace.C: add const
2613 2002-08-05 John Levon <levon@movementarian.org>
2615 * LyXAction.C: back to tabular-insert
2617 2002-08-04 John Levon <levon@movementarian.org>
2620 * BufferView.C: cosmetic change
2622 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2632 * BufferView2.C: purge all "Lyx" not "LyX" strings
2635 * lyxcursor.C: attempt to add some documentation
2640 * ToolbarDefaults.C:
2641 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2642 merge with LFUN_TABULAR_INSERT
2649 * pspell.C: split up i/pspell implementations into separate
2650 files, many cleanups
2652 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2654 * text2.C: some cleanup
2656 * lyxfunc.C: don't check for isp_command == "none" any more, it
2657 didn't make any sense
2659 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2664 * makefile.am: move counters functionality over
2665 from text2.C/paragraph.[Ch] to counters.[Ch], and
2667 2002-08-02 John Levon <levon@movementarian.org>
2669 * buffer.C: s/lyxconvert/lyx2lyx/
2671 2002-08-02 Angus Leeming <leeming@lyx.org>
2673 * lyxlex.C: revert John's change as it breaks reading of the user
2676 2002-08-02 Angus Leeming <leeming@lyx.org>
2678 * importer.C (Import):
2679 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2680 changes due to LyXView::view() now returning a boost::shared_ptr.
2682 2002-08-02 John Levon <levon@movementarian.org>
2684 * lyxlex.C: small cleanup
2686 2002-08-02 John Levon <levon@movementarian.org>
2688 * text2.C (status): small cleanup, no logic change
2690 2002-08-01 John Levon <levon@movementarian.org>
2693 * buffer.C (writeFile): don't output alerts, caller
2697 * lyx_cb.C: from above
2699 * lyxfunc.C: allow to open non-existent files
2701 2002-07-31 John Levon <levon@movementarian.org>
2703 * lyxserver.C: don't let incidental errors get
2706 2002-07-30 John Levon <levon@movementarian.org>
2708 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2710 2002-07-30 John Levon <levon@movementarian.org>
2713 * lyxserver.C: remove I/O callback too
2715 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2717 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2720 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * many files: strip,frontStrip -> trim,ltrim,rtrim
2724 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * PrinterParams.h: remove extern containsOnly, and include
2727 support/lstrings.h instead.
2729 * LaTeX.C (scanAuxFile): modify because of strip changes
2731 * buffer.C (makeLaTeXFile): ditto
2732 * bufferparams.C (writeFile): ditt
2733 * lyxfont.C (stateText): ditto
2734 * lyxserver.C (read_ready): ditto
2735 * vc-backend.C (scanMaster): ditto
2737 * BufferView_pimpl.h: ws changes
2739 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2741 2002-07-26 André Pönitz <poenitz@gmx.net>
2743 * kb_sequence.C: remove unnedred usings
2745 2002-07-26 Juergen Vigna <jug@sad.it>
2747 * lyxfind.C (LyXReplace): we have to check better if the returned
2748 text is not of theLockingInset()->getLockingInset().
2750 2002-07-25 Juergen Vigna <jug@sad.it>
2752 * lyxfind.C (LyXReplace): don't replace if we don't get the
2755 * undo_funcs.C (createUndo): remove debugging code.
2757 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2759 * buffer.C (parseSingleLyXformat2Token): Use default placement
2760 when reading old floats.
2762 * FloatList.C (FloatList): Change the default placement of figure
2763 and tables to "tbp".
2765 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2767 * MenuBackend.C: using std::max
2769 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2771 * MenuBackend.C (expandToc):
2772 (expandToc2): code moved from xforms menu frontend. It is now
2773 generic and TOCs are transparent to menu frontends.
2775 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2777 * toc.C (getTocList): protect against buf=0
2779 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2780 Menu as first parameter. Now, this calls itself recursively to
2781 expand a whole tree (this will be useful for TOC handling)
2782 (expandFloatInsert): remove 'wide' version of floats
2784 * MenuBackend.h (submenuname): returns the name of the submenu.
2785 (submenu): returns the submenu itself, provided it has been
2786 created by MenuBackend::expand
2788 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2790 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2791 insets which have noFontChange == true. (bug #172)
2793 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2795 * BufferView_pimpl.C: add connection objects and use them...
2798 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2800 * MenuBackend.C (expandLastfiles):
2803 (expandFloatListInsert):
2804 (expandFloatInsert):
2805 (expand): split expand in parts
2807 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2809 * lyx_gui.C: use lyx_gui::exit()
2811 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2813 * LyXAction.C: show the failing pseudo action
2815 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2817 * buffer.C (readFile): Run the lyxconvert script in order to read
2820 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2824 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2826 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2830 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2832 2002-07-22 Herbert Voss <voss@lyx.org>
2835 * lyxlength.[Ch]: add support for the vertical lengths
2837 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2839 * toc.[Ch]: std:: fixes
2841 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2843 * lyxrc.C: do not include lyx_main.h
2845 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2851 * BufferView2.C: include "lyxlex.h"
2854 * bufferparams.h: do not #include "lyxlex.h"
2856 * lyxtextclasslist.C (Add): remove method
2857 (classlist): renamed to classlist_
2859 * paragraph_pimpl.C:
2863 * bufferview_funcs.C:
2868 * toc.C (getTocList): use BufferParams::getLyXTextClass
2870 * toc.C (getTocList): use InsetFloat::addToToc
2872 * toc.[Ch]: new files, containing helper functions to handle table
2875 * lyxfunc.C (dispatch): no need to remove spaces around command
2877 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2878 first command of the sequence; it is not very clever, but I do not
2879 have a better idea, actually
2881 * LyXAction.C (LookupFunc): make sure to remove space at the
2882 beginning and end of the command
2884 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2886 * MenuBackend.C (getMenubar): new method: return the menubar of
2888 (read): treat differently reading of menu and menubar (in
2889 particular, the menubar has no name now)
2890 (Menu::menubar): remove
2892 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2895 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2897 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2898 a bibitem inset in a RTL paragraph.
2900 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2902 * paragraph_pimpl.C: constify
2904 * BufferView_pimpl.C:
2906 * lyxfunc.C: fix dispatch in a nicer way
2908 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2910 * lyxfunc.C (dispatch):
2911 * BufferView_pimpl.C:
2912 * BufferView_pimpl.h:
2914 * BufferView.h: rename Dispatch() to dispatch()
2916 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2918 * lyxlayout.C (Read): honor DependsOn tag
2920 * lyxlayout.[Ch] (depends_on): new method
2922 * version.C.in: update lyx_docversion
2924 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2926 * paragraph.C (validate): remove from here...
2927 * paragraph_pimpl.C (validate): ... and move here
2928 (isTextAt): make it const
2930 * buffer.C (getLists): ws cleanup
2932 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2934 * language.C (read): Use iso8859-1 encoding in latex_lang
2935 (this prevents LyX from crashing when using iso10646-1 encoding).
2937 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2939 * text2.C (toggleInset): if cursor is inside an inset, close the
2940 inset and leave cursor _after_ it
2942 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2944 * lyxfunc.C: move minibuffer completion handling out of here
2946 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2948 * BufferView_pimpl.C:
2949 * LaTeX.C: fix dispatch calls
2951 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2953 * text.C (drawChars): Fix Arabic text rendering.
2955 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2959 * lyxfunc.C: remove message-push/pop
2963 * lyxfunc.C: rationalise some code by removing verboseDispatch
2964 in favour of a bool argument to dispatch()
2966 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2968 * lyx_main.C (init): make sure to read symlinks as absolute paths
2970 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2973 * lyxfunc.C: no need for commandshortcut to be a member
2975 2002-07-15 André Pönitz <poenitz@gmx.net>
2977 * converter.C: add support for $$s (scripts from lib/scripts dir)
2978 * lyx_main.C: white space
2980 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2984 * lyxrc.C: remove second exit confirmation
2986 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2991 * BufferView_pimpl.h:
2992 * BufferView_pimpl.C:
2993 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2995 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2997 * MenuBackend.C (expand): add numeric shortcuts to document menu
2999 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3001 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3003 * lyxfont.C (setLyXFamily):
3010 * buffer.C (asciiParagraph): use ascii_lowercase
3012 2002-07-15 Mike Fabian <mfabian@suse.de>
3014 * lyxlex_pimpl.C (search_kw):
3015 * lyxlex.C (getLongString):
3016 * converter.h (operator<):
3017 * converter.C (operator<):
3018 * buffer.C (parseSingleLyXformat2Token):
3020 * ToolbarDefaults.C (read):
3021 * MenuBackend.C (checkShortcuts):
3023 * LColor.C (getFromGUIName):
3024 (getFromLyXName): use the compare_ascii_no_case instead of
3025 compare_no_case, because in turkish, 'i' is not the lowercase
3026 version of 'I', and thus turkish locale breaks parsing of tags.
3028 2002-07-16 Angus Leeming <leeming@lyx.org>
3030 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3031 now takes a Buffer const & argument.
3033 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3035 * BufferView.C (resize): check there's a buffer to resize
3037 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3039 * lyxfunc.C: remove dead code
3042 * lyxserver.C: use lyx_guii::set_read_callback
3044 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3046 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3047 an inset in a RTL paragraph.
3049 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3051 * lyxfunc.C: repaint after a font size update
3053 2002-07-15 André Pönitz <poenitz@gmx.net>
3055 * lyxlength.C: inBP should be able to return negative values
3057 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3059 * lyxfunc.C: use lyx_gui::update_fonts()
3061 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3063 * lyxfunc.C: use lyx_gui::update_color()
3065 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3071 * lyxrc.C: remove file->new asks for name option, and let
3072 buffer-new take an argument
3074 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3076 * BufferView_pimpl.C: remove unneeded extra repaint()
3078 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3080 * LyXAction.C: allow command-sequence with NoBuffer
3082 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3084 2002-07-10 Angus Leeming <leeming@lyx.org>
3086 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3088 2002-07-09 Angus Leeming <leeming@lyx.org>
3090 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3092 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3094 * lengthcommon.h: whitespace
3096 * lyxfunc.C: update scrollbar after goto paragraph
3098 * lyxtext.h: factor out page break drawing, and fix it so
3099 page break/added space paints as selected nicely
3101 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3103 * BufferView_pimpl.C: add FIXMEs, clean up a little
3105 2002-07-09 André Pönitz <poenitz@gmx.net>
3107 * lyxfont.[Ch]: support for wasy symbols
3109 2002-07-08 André Pönitz <poenitz@gmx.net>
3111 * BufferView_pimpl.C: apply John's patch for #93.
3113 2002-07-05 Angus Leeming <leeming@lyx.org>
3115 * BufferView_pimpl.C (buffer): generate previews if desired.
3117 * LColor.h: add "preview" to the color enum.
3119 * LColor.C (LColor): add a corresponding entry to the items array.
3121 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3124 2002-07-05 Angus Leeming <leeming@lyx.org>
3126 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3127 The body of the code is now in the method that is passed an ostream &
3128 rather than a file name.
3129 Pass an additional only_preamble parameter, useful for the forthcoming
3132 2002-07-03 André Pönitz <poenitz@gmx.net>
3134 * lyxfunc.C: simplify getStatus() a bit for math stuff
3136 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3138 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3140 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3142 * text.C (changeRegionCase): do not change case of all the
3143 document when region ends at paragraph end (bug #461)
3145 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3147 * paragraph.C (startTeXParParams):
3148 (endTeXParParams): add \protect when necessary
3150 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3152 * BufferView_pimpl.C (workAreaExpose): remove warning
3154 2002-06-27 Angus Leeming <leeming@lyx.org>
3156 * Makefile.am: add lyxlayout_ptr_fwd.h.
3158 2002-06-26 André Pönitz <poenitz@gmx.net>
3160 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3162 2002-06-25 Angus Leeming <leeming@lyx.org>
3164 * lyxfunc.C (dispatch): Comment out the call to
3165 grfx::GCache::changeDisplay. The method no longer exists now that the
3166 pixmap generation part of the graphics loader has been moved into
3169 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3171 * text2.C: layout as layout
3173 * text.C: layout as layout
3175 * tabular.C (OldFormatRead): layout as layout
3177 * paragraph_pimpl.C (TeXDeeper): layout as layout
3178 (realizeFont): layout as layout
3180 * paragraph.C (writeFile): layout as layout
3181 (validate): layout as layout
3182 (getFont): layout as layout
3183 (getLabelFont): layout as layout
3184 (getLayoutFont): layout as layout
3185 (breakParagraph): layout as layout
3186 (stripLeadingSpaces): layout as layout
3187 (getEndLabel): layout as layout
3188 (getMaxDepthAfter): layout as layout
3189 (applyLayout): layout as layout
3190 (TeXOnePar): layout as layout
3191 (simpleTeXOnePar): layout as layout
3192 (TeXEnvironment): layout as layout
3193 (layout): layout as layout
3194 (layout): layout as layout
3196 * lyxtextclass.C (compare_name): new functor to work with
3197 shared_ptr, layout as layout
3198 (Read): layout as layout
3199 (hasLayout): layout as layout
3200 (operator): layout as layout
3201 (delete_layout): layout as layout
3202 (defaultLayout): layout as layout
3204 * lyxlayout_ptr_fwd.h: new file
3206 * lyxlayout.C (Read): layout as layout
3208 * lyx_cb.C (MenuInsertLabel): layout as layout
3210 * bufferlist.C (newFile): layout as layout
3212 * buffer.C (readLyXformat2): layout as layout
3213 (parseSingleLyXformat2Token): layout as layout
3214 (insertStringAsLines): layout as layout
3215 (asciiParagraph): layout as layout
3216 (latexParagraphs): layout as layout
3217 (makeLinuxDocFile): layout as layout
3218 (simpleLinuxDocOnePar): layout as layout
3219 (makeDocBookFile): layout as layout
3220 (simpleDocBookOnePar): layout as layout
3221 (getLists): layout as layout
3223 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3225 * CutAndPaste.C (cutSelection): layout as layout
3226 (pasteSelection): layout as layout
3227 (SwitchLayoutsBetweenClasses): layout as layout
3229 * BufferView_pimpl.C (Dispatch): layout as layout
3230 (smartQuote): layout as layout
3232 * BufferView2.C (unlockInset): layout as layout
3234 2002-06-24 André Pönitz <poenitz@gmx.net>
3236 * lyxfunc.C: fix #487
3238 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3242 * lyxfunc.C: remove display_shortcuts, show_banner
3244 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3246 * Buffer_pimpl.C: oops, update on resize
3248 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3255 * BufferView.C: use repaint()
3257 * BufferView_pimpl.h:
3258 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3259 as it's a clearer description. Remove superfluous
3262 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3264 * text.C: fix bug 488. Not ideal, but getting
3265 getWord() to work properly for the insets that
3266 matter is more difficult ...
3268 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3270 * BufferView_pimpl.C:
3273 * lyxfunc.C: remove the six million index lyxfuncs to just
3274 one, and DTRT (bug 458)
3276 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3280 * BufferView_pimpl.h:
3281 * BufferView_pimpl.C: clean up resize() stuff,
3282 and unnecessary updateScreen()s
3284 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3288 * BufferView_pimpl.h:
3289 * BufferView_pimpl.C:
3292 * minibuffer.C: remove focus management of workarea,
3293 not needed. Use screen's greyOut()
3295 2002-06-17 Herbert Voss <voss@lyx.org>
3297 * converter.C: (convert) do not post a message, when converting
3298 fails, let the calling function decide what to do in this case
3300 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3302 * lyxfunc.C: tidy up a little
3304 2002-06-16 <alstrup@diku.dk>
3306 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3307 Got rid of FORMS_H_LOCATION include. Now we are
3310 2002-06-15 LyX Development team <lyx@rilke>
3312 * buffer.[Ch] (sgmlOpenTag):
3313 (sgmlCloseTag): Added support for avoiding pernicious mixed
3314 content. Return number of lines written.
3317 (makeDocBookFile): Fixed calls to sgml*Tag.
3318 Simple white space clean.
3320 (simpleDocBookOnePar): Simple white space clean.
3322 * tabular.[Ch] (docBook): Renamed to docbook and got another
3323 argument to related with the pernicious mixed content.
3325 (docbookRow): Fixed calls for docbook inset method.
3327 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3329 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3330 so it's X11 independent.
3334 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3336 2002-06-15 Lyx Development team <lyx@electronia>
3338 * intl.h: Renamed getTrans to getTransManager.
3340 2002-06-14 Angus Leeming <leeming@lyx.org>
3342 * Makefile.am: nuke forgotten stl_string_fwd.h.
3344 2002-06-12 Angus Leeming <leeming@lyx.org>
3346 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3348 2002-06-13 Angus Leeming <leeming@lyx.org>
3351 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3353 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3355 * kbmap.C (getiso): add support for cyrillic and greek
3357 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3361 * BufferView_pimpl.h:
3362 * BufferView_pimpl.C: move bogus scrolling logic
3365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3368 * BufferView_pimpl.C: view->resize() change
3370 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3372 * BufferView_pimpl.C: topCursorVisible
3375 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3379 * lyx_gui.C: move to frontends/
3383 * lyx_main.C: changes from above
3385 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3392 * lyx_main.C: minor tidy
3394 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3396 * BufferView_pimpl.h:
3397 * BufferView_pimpl.C:
3399 * BufferView.C: make painter() const,
3402 * BufferView2.C: use screen() accessor
3405 * lyx_main.C: some minor cleanup
3407 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3409 * BufferView_pimpl.h:
3410 * BufferView_pimpl.C: remove enter/leaveView,
3413 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3418 * BufferView_pimpl.h:
3419 * BufferView_pimpl.C: only construct screen once,
3422 * lyxrc.C: remove pointless comment
3424 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3427 * BufferView.C: remove active() and belowMouse()
3429 * BufferView_pimpl.h:
3430 * BufferView_pimpl.C: use workarea() not workarea_,
3431 and make it use a scoped_ptr instead
3433 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3435 * lyx_gui.C: add debug message on BadWindow
3437 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3439 * sp_spell.C: fdopen is not part of the C++ standard.
3441 * paragraph.C (InsetIterator): use >= instead of ==
3443 2002-06-07 Angus Leeming <leeming@lyx.org>
3445 Fixes needed to compile with Compaq cxx 6.5.
3446 * BufferView_pimpl.C:
3453 * lyxtextclasslist.C:
3458 all c-library variables have been moved into namespace std. Wrap
3459 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3464 Add a using std::abs declaration.
3466 * kbmap.h (modifier_pair):
3467 * paragraph.h (InsetTable, InsetList):
3468 * lyxfont.h (FontBits):
3469 type definition made public.
3471 * bufferlist.C (emergencyWriteAll): the compiler complains that
3472 there is more than one possible lyx::class_fun template to choose from.
3473 I re-named the void specialisation as lyx::void_class_fun.
3475 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3477 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3478 the compiler is is unable to find tostr in write_attribute.
3480 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3482 * buffer.C (sgmlError): hide #warning
3484 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3486 * xtl/*: get rid of xtl, which is not in use anyway
3488 * LyXAction.C (init):
3489 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3490 were unimplemented xtl experimentation
3492 2002-06-04 André Pönitz <poenitz@gmx.net>
3494 * lyxfunc.C: disable array operation on simple formulae
3496 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3498 * converter.C: constify a bit
3500 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3502 * lyx_gui.C: check xforms version correctly
3504 2002-04-30 Herbert Voss <voss@lyx.org>
3506 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3509 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3511 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3512 attempt to register it with a VCS)
3514 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3516 * lyx_main.C (init): honor variables LYX_DIR_13x and
3519 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3523 * lyx_main.C: fix a crash on bad command line,
3524 and give a useful exit status on error
3526 * lyxfunc.C (doImport): allow -i lyx to work
3528 2002-03-30 André Pönitz <poenitz@gmx.net>
3530 * lyxfunc.C: mathed font changes
3532 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3547 * trans_mgr.h: srcdocs, and some minor cleanups
3549 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3551 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3552 call getFont all the time)
3554 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3556 * switch from SigC signals to boost::signals
3558 2002-05-29 André Pönitz <poenitz@gmx.net>
3560 * paragraph_pimpl.C (getChar): don't call size() too often...
3562 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3564 * paragraph_pimpl.C (insertChar): do not try to update tables when
3565 appending (pos == size())
3567 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3568 in order to reduce drastically the number of comparisons needed to
3569 parse a large document
3571 2002-05-29 André Pönitz <poenitz@gmx.net>
3577 * textclasslist.[Ch]:
3578 * sp_ispell.h: whitespace change
3580 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3582 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3583 lyxaction directly now.
3585 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3589 * lyxvc.C: remove unused headers
3591 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3598 * undo_funcs.C: some cleanups. Use shared_ptr
3599 and a template for the undo stacks.
3601 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3603 * BufferView_pimpl.h:
3604 * BufferView_pimpl.C:
3611 * text2.C: use key_state/mouse_state
3613 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3615 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3618 * chset.C: change include order
3619 (loadFile): use boost regex and get rid of LRegex and LSubstring
3621 * Makefile.am (BOOST_LIBS): new variable
3624 * LaTeX.C: change include order.
3625 (scanAuxFile): use boost regex and get rid of LRegex and
3629 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3634 * FontInfo.C: moved to frontends/xforms/
3637 * FontLoader.C: moved into frontends for GUIIzation
3642 * lyxfunc.C: changes from above
3644 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3646 * LColor.C: remove spurious X include
3648 * BufferView_pimpl.C:
3653 * text2.C: move font metrics to frontends/
3655 2002-05-24 Juergen Vigna <jug@sad.it>
3657 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3658 setting the undo_cursor.
3660 * ParagraphParameters.h: include local includes first.
3662 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3664 * BufferView_pimpl.C:
3665 * BufferView_pimpl.h:
3669 * screen.C: move WorkArea into frontends/
3675 * BufferView2.C: move LyXScreen into frontends/
3679 * lyx_gui.C: move lyxlookup into frontends/xforms/
3681 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3684 * BufferView_pimpl.C:
3694 * bufferview_funcs.C:
3707 * vc-backend.C: move LyX/XFormsView into frontends/
3709 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3721 * text2.C: move Painter to frontends/
3723 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3725 * buffer.C: comment out some some code that depend upon lyx_format
3728 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3729 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3731 * buffer.h (NO_COMPABILITY): turn off compability
3733 * ColorHandler.C: include scoped_array.hpp
3735 * font.C: Use more specific smart_ptr header.
3738 * ShareContainer.h: ditto
3742 * BufferView_pimpl.h: ditto
3743 * ColorHandler.h: ditto
3745 * kbmap.C (defkey): change call to shared_ptr::reset
3747 2002-05-21 Juergen Vigna <jug@sad.it>
3749 * buffer.C (insertErtContents): fix to insert ert asis if it is
3750 non empty. Skip it completely if it contains only whitespaces.
3752 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3754 * BufferView_pimpl.C:
3755 * BufferView2.C: clear selection on paste (bug 393)
3757 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3759 * DepTable.C: include ctime
3761 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3763 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3765 2002-05-14 Juergen Vigna <jug@sad.it>
3767 * text.C (breakParagraph): fixed function to honor the keepempty
3768 layout in the right maner and also to permit the right breaking
3769 algorithm on empty or non empyt keepempty paragraphs.
3771 * paragraph.C (breakParagraph): we have to check also if the par
3772 is really empty (!size()) for isempty otherwise we do the wrong
3775 2002-05-10 Juergen Vigna <jug@sad.it>
3777 * buffer.[Ch] : The following are only changes to the ert
3778 compatibility read reading old LaTeX layout and font stuff and
3779 convert it to ERTInsets.
3781 * buffer.h: added isErtInset().
3783 * buffer.C (struct ErtComp): add a fromlayout bool to check
3784 if we're inside a LaTeX layout.
3785 (isErtInset): new helper function.
3786 (insertErtContents): look for other ert insets before this one
3787 and insert the contents there, so that we don't have subsequent
3788 ERT insets with nothing between them. This way we create only one
3789 inset with multiple paragraphs. Also check if we don't insert only
3790 spaces ' ' as they are ignored anyway afterwards in the .tex file
3791 so if we have only spaces we will ignore this latex part in the
3793 (parseSingleLyXformat2Token \\layout): better compatibility when
3794 reading layout-latex stuff.
3795 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3797 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3798 stuff after reading the inset only get the information back from
3801 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3803 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3805 * LaTeXFeatures.C (getBabelOptions): New method.
3807 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3809 * BufferView_pimpl.C (Dispatch): work around missing argument for
3812 2002-05-08 Juergen Vigna <jug@sad.it>
3814 * text.C (leftMargin): handle paragraph leftindent.
3816 * paragraph.C (writeFile): write the new \\leftindent tag.
3817 (validate): handle leftindent code.
3818 (TeXEnvironment): handle paragraphleftindent code again.
3820 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3822 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3823 for paragrap_extra indent code and new token \\leftindent.
3824 (latexParagraphs): handle the leftindent as environment.
3826 * ParameterStruct.h: added leftindent support.
3828 * ParagraphParameters.C (leftIndent): added support functions for
3829 the paragraph left indent.
3831 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3834 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3836 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3839 * text.C (computeBidiTables): No bidi in insetERT.
3841 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3844 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3846 * version.C.in: pre 5
3848 2002-05-02 José Matos <jamatos@fep.up.pt>
3849 * buffer.C (makeDocBookFile): white space changes, add newline to
3851 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3853 * tabular.C (docBook): fix typo.
3855 2002-05-03 Juergen Vigna <jug@sad.it>
3857 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3858 change in LyXText as we can not be sure it was not freed.
3859 (drawOneRow): remove unused code.
3861 * text.C (drawInset): redo the calculation of the need_break_row as
3862 it could have a row which was already freed.
3863 (draw): look at the return value of drawInset and return false if
3864 it also returned false.
3865 (paintRowText): look at the return value of draw and return false if
3866 it also returned false.
3868 * lyxtext.h: added bool return type to drawInset() and draw() so that
3869 if we have a change in the row so that the rowbreak has to be redone
3870 we abort drawing as it will be called again.
3872 2002-05-02 Juergen Vigna <jug@sad.it>
3874 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3875 a change in the maintext also if we're inside an inset.
3876 (Dispatch): set the cursor again after a break line and after the
3877 screen has been updated as it could be we're in a different row.
3879 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3880 to set the cursor behind the pargraph with > size().
3881 (setCursor): check also for the same paragraph when checking where
3882 to put the cursor if we have a NFR inset.
3884 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3885 parts of layout read further up as it still was in the wrong
3888 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3890 * screen.C (drawFromTo): change sine fullRebreak always return
3893 * buffer.C (parseSingleLyXformat2Token): reindent some
3895 * BufferView_pimpl.C (update): change since fullRebreak always
3897 (Dispatch): git rid of the last hardcoded "Standard"s.
3899 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3901 * text2.[Ch] (fullRebreak): make it return void now that we always
3904 2002-04-30 Juergen Vigna <jug@sad.it>
3906 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3907 ert compatibility check for "latex" layout.
3909 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3911 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3912 minipages: use col% instead of p%, and also use the current font.
3913 (makeLaTeXFile): Fix use babel condition.
3914 (parseSingleLyXformat2Token): Correct font when reading old floats.
3916 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3918 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3919 inserting list of floats.
3921 2002-04-25 Herbert Voss <voss@lyx.org>
3923 * MenuBackend.C (expand): don't add the graphics extensions to the
3926 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3928 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3929 non-existing layout, do not complain if it was the default layout
3930 of the original class (bug #342)
3932 2002-04-24 Juergen Vigna <jug@sad.it>
3934 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3935 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3937 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3939 * buffer.C (getBibkeyList): If using \bibliography, return the
3940 option field with the reference itself. Enables us to provide natbib
3941 support when using \bibliography.
3943 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3945 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3947 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3948 natbib is provided by the LaTeX class.
3950 2002-04-23 Juergen Vigna <jug@sad.it>
3952 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3955 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3957 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3959 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3961 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3962 ensuremath around textordmasculine, textordfeminine and
3965 2002-04-19 Juergen Vigna <jug@sad.it>
3967 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3968 reinitializing the buffer otherwise row-dimensions may be wrong.
3969 (update): reset also the selection cursors if they do exits otherwise
3970 their x/y positions may be wrong.
3972 * text2.C (cursorDown): don't enter the inset if we came from a row
3973 above and are one row over the inset.
3975 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3976 really leaving an inset.
3978 2002-04-18 Juergen Vigna <jug@sad.it>
3980 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3981 of the selected paragraph does not have the selected layout also if
3984 * text2.C (setLayout): fixed bug which did not change last selected
3987 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3988 changed the read and substituted \\end_float with \\end_inset!
3990 * BufferView_pimpl.C (cursorPrevious):
3991 (cursorNext): fixed to make it work with rows heigher than the work
3992 area without moving the cursor only the draw of the row.
3993 (workAreaMotionNotify): fix jumping over high rows.
3995 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3997 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4000 2002-04-16 Juergen Vigna <jug@sad.it>
4002 * text2.C (setCursor): set also the irow().
4003 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4005 (cursorDown): support for locking an inset if the x_fix value goes
4006 inside it. That way I can transverse insets too with cursor up/down.
4008 * lyxrow.h: added irow helper function same as other (i) functions.
4010 * BufferView_pimpl.C (cursorPrevious):
4011 (cursorNext): fixed for insets!
4013 2002-04-15 Juergen Vigna <jug@sad.it>
4015 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4016 position otherwise it is wrong in some cases.
4018 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4019 inside the inset before the call.
4021 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4023 * buffer.[Ch] (getBibkeyList): make it const.
4025 2002-04-12 Juergen Vigna <jug@sad.it>
4027 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4029 * text2.C (getCursorX): new helper function
4030 (setCursor): compute also ix_
4031 (setCursorFromCoordinates): set also ix.
4033 * lyxcursor.h: added ix_ and helper functions.
4035 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4037 * buffer.C (insertStringAsLines): dont break paragraph if the this
4038 paragraph is inside an inset which does not permit it!
4040 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4041 also with no chars on this paragraph.
4042 (paintRowText): only paint stuff if it's inside the workarea!
4044 * paragraph.C (breakParagraph): honor keepempty flag and break the
4045 paragraph always below not above.
4047 * BufferView2.C (unlockInset): update the paragraph layout on inset
4048 unlock as we changed paragraph in such a case.
4050 * lyxfind.C (LyXFind): clear the former selection if not found!
4052 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4053 again called in insertChar().
4055 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4056 an inset which uses the whole row!
4057 (rightMargin): ditto.
4058 (insertChar): force a rebreak if we inserted an inset!
4060 2002-03-28 Herbert Voss <voss@lyx.org>
4062 * lyxlength.[Ch]: add inBP() to get the right PS-point
4063 units (BigPoint). With inPixels we have rounding errors
4065 2002-04-11 Juergen Vigna <jug@sad.it>
4067 * text2.C (setCursorFromCoordinates): set iy to the right value.
4068 (setCursor): add check if row->previous exists!
4070 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4071 an old float_type as this was the case in the old code!
4073 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4075 * BufferView2.C (showLockedInsetCursor): use iy
4076 (fitLockedInsetCursor): ditto
4078 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4079 locked insets as there we have the right value now.
4081 * lyxcursor.C: added iy_ variable and iy functions to set to the
4082 baseline of cursor-y of the locked inset.
4084 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4085 (setCursor): fixed for insets which need a full row.
4087 * text.C (rowLastPrintable): don't ignore the last space when before
4088 an inset which needs a full row.
4089 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4090 as last character of a row when before a inset which needs a full row.
4092 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4094 * version.C.in: update date
4096 * text2.C (fullRebreak): try to always return true and see what
4099 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4101 * MenuBackend.C (expand): use Floating::listName
4103 * FloatList.C (FloatList): add listName argument to the built-in
4106 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4107 text associated with the float.
4109 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4111 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4113 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4115 * ShareContainer.h: add a couple of missing typenames.
4117 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4119 * lyxrc.C (getDescription): use _() correctly rather than N_().
4121 2002-03-28 Herbert Voss <voss@lyx.org>
4123 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4124 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4126 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4128 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4129 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4131 2002-03-29 Juergen Vigna <jug@sad.it>
4133 * lyxfunc.C (dispatch): add a missing fitCursor call.
4135 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4136 it was scrolled by a cursor move, so return the bool status.
4138 * BufferView.C (fitCursor): return the bool flag also to the outside
4139 world as this is needed.
4141 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4143 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4144 call the edit() as it is not needed (and wrong) IMO.
4145 (workAreaButtonPress): set the screen_first variable before evt.
4146 unlock the inset as this may change screen_first and then we have
4147 a wrong y position for the click!
4149 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4151 * MenuBackend.C (expand): another translation that I missed
4153 2002-03-28 Juergen Vigna <jug@sad.it>
4155 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4157 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4159 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4161 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4163 * MenuBackend.C (expand): fix export/view/update when there is no
4166 2002-03-27 Herbert Voss <voss@lyx.org>
4168 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4171 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4173 * bufferview_funcs.C (currentState): only show paragraph number
4174 for is DEVEL_VERSION is set.
4176 * lyxfunc.C (dispatch): put warning in INFO channel
4178 * MenuBackend.C (expand): translate the name of floats
4180 * FloatList.C (FloatList): mark the float names for translation
4182 * converter.C (convert): use LibScriptSearch
4184 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4186 * MenuBackend.C (defaults): fix default menu (we might as well get
4189 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4191 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4194 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4196 * lyxvc.C: reorder includes.
4198 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4200 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4203 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4205 * CutAndPaste.C: change layouts earlier on paste
4206 to avoid crashing when calling getFont()
4208 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4210 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4213 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4215 * WorkArea.C: remove 'Pending' debug message.
4217 * most files: ws cleanup
4219 * buffer.[Ch]: ws changes
4221 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4223 2002-03-21 Juergen Vigna <jug@sad.it>
4225 * tabular.C (SetMultiColumn): collapse also the contents of the
4226 cells and set the last border right. Added a Buffer const * param.
4228 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4230 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4233 2002-03-19 Juergen Vigna <jug@sad.it>
4235 * text2.C (clearSelection): reset also xsel_cache.
4237 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4238 where it needs to be called (John tells us to do so too :)
4239 (selectionLost): reset sel_cache.
4241 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4243 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4245 * text2.C (setCursorIntern): put debuging code in INSETS channel
4247 2002-03-19 André Pönitz <poenitz@gmx.net>
4249 * lyxfunc.C: tiny whitespace change
4251 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4253 * ToolbarDefaults.C (init):
4254 * LyXAction.C (init):
4256 * BufferView_pimpl.C (Dispatch):
4257 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4259 2002-03-19 Allan Rae <rae@lyx.org>
4261 * exporter.C (Export): removeAutoInsets before doing anything else.
4262 While I've just introduced a dependency on BufferView this really is
4263 the best place to clean the buffer otherwise you need to cleanup in
4264 a dozen places before calling export or cleanup in a dozen functions
4267 * converter.C (runLaTeX):
4268 (scanLog): Better handling of removeAutoInsets and screen updates.
4270 * lyxfunc.C (dispatch): small whitespace changes
4272 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4274 * WorkArea.C (C_WorkAreaEvent): return a value.
4275 (event_cb): return 1 if we handled the event, 0 otherwise.
4277 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4279 2002-03-18 Juergen Vigna <jug@sad.it>
4281 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4282 (GetAdditionalWidth): ditto.
4286 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4287 inset if we're there actually (probably not used right now but this
4288 is the direction to go for unifying code).
4289 (paste): disable code to clear the selection.
4291 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4292 inside an InsetText and move the check further up as it is in the
4295 * text2.C (pasteSelection): set a selection over the pasted text.
4297 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4299 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4300 and libgraphics to build on Cygwin.
4302 2002-03-15 Juergen Vigna <jug@sad.it>
4304 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4305 inserting an Inset into the paragraph. I know this is not the best
4306 fix but we already use current_view in CutAndPaste so we will remove
4307 all of it's using at the same time.
4309 * buffer.C (sgmlError): deactivated function till it is rewritten in
4310 the right mode, now it can create problems.
4312 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4313 before accessing it.
4315 2002-03-14 Juergen Vigna <jug@sad.it>
4317 * undo_funcs.C (textHandleUndo): do the right thing when updating
4318 the inset after the undo/redo.
4320 * text2.C (setCursor): just some testcode for #44 not ready yet.
4322 * undo_funcs.C (textHandleUndo): set the next() and previous()
4323 pointers of the paragraph to 0 before deleting otherwise we have
4324 problems with the Paragraph::[destructor].
4326 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4327 on a paragraph insertion.
4329 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4331 * buffer.C (asciiParagraph): use += operator for char append to
4334 * paragraph.C (getFontSettings): compare >= not just >
4335 (highestFontInRange): ditto
4338 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4340 * paragraph.C: change several algorithm to be more appripriate for
4341 the problem domain. This is lookip in FontList and in the InsetList.
4343 2002-03-13 André Pönitz <poenitz@gmx.net>
4346 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4348 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4353 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4355 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4357 * Painter.C (display): anon helper function, adjust code for this
4359 (pixmap): remove function.
4361 * Painter.h: remove private display variable.
4363 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4365 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4367 * WorkArea.[Ch]: remove figinset_canvas cruft.
4369 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4371 * lyxtextclass.C (operator): add one item cache optimization.
4373 * bufferlist.h: doxy changes
4375 * bufferlist.C: ws changes
4377 * DepTable.[Ch] (ext_exist): place const in the right spot.
4379 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4381 (workAreaExpose): call resizeInsets when the with BufferView changes.
4382 (Dispatch): adjust for protectedBlank removal
4383 (specialChar): call updateInset if the insert went ok.
4385 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4386 specialChar instead.
4388 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4390 * BufferView.h: doxy change
4392 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4394 * lyxtextclass.C (operator[]): remove non-const version
4395 (defaultLayout): remove non-const version
4397 2002-03-12 Juergen Vigna <jug@sad.it>
4399 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4400 did resize the LyXText too.
4402 * buffer.C (readLyXformat2): set layout information on newly allocated
4405 * tabular.C (OldFormatRead): set layout information on the paragraph.
4407 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4409 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4411 2002-03-11 Juergen Vigna <jug@sad.it>
4413 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4415 (resizeCurrentBuffer): force also the insets to resize themselfes.
4416 (moveCursorUpdate): fixed up for InsetText.
4418 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4421 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4422 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4423 value of Dialogs::tooltipsEnabled().
4424 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4426 2002-03-08 Juergen Vigna <jug@sad.it>
4428 * BufferView_pimpl.C (updateInset): update inset inside inset also
4429 if it isn't inside theLockingInset().
4431 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4433 * buffer.C (asciiParagraph): redo some of the word and line length
4435 (getLists): look for Caption instead of caption.
4437 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4439 * buffer.C (Buffer): initialize niceFile to true
4442 (makeDocBookFile): make sure niceFile is true on exit
4444 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4446 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4448 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4450 * LyXSendto.C: remove.
4451 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4452 * lyx_gui.C: remove now-redundant comment.
4453 * ColorHandler.h: remove forward declaration of class WorkArea.
4454 * lyxfunc.C: remove #include "WorkArea.h".
4456 2002-03-07 Juergen Vigna <jug@sad.it>
4458 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4459 got moved away with the DEPM and also set the inset_owner always
4460 right which before could have been omitted.
4462 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4464 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4465 wanted layout is not found.
4467 2002-03-07 Juergen Vigna <jug@sad.it>
4469 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4471 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4473 * paragraph.C (breakParagraph): use default layout not layout of
4475 (Paragraph): clear ParagraphParameters.
4477 2002-03-06 Juergen Vigna <jug@sad.it>
4479 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4480 otherwise it would not be a valid lenght. Fixed a special case in
4481 the minipage compatibility read where we end the document with a
4484 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4485 was set as it could be 0 for InsetTexts first entry.
4487 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4489 * paragraph.C (writeFile): if layout is empty write out
4490 defaultLayoutName().
4492 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4493 file without named layout we set layout to defaultLayoutName().
4495 2002-03-06 Juergen Vigna <jug@sad.it>
4497 * CutAndPaste.C (copySelection): set layout for new paragraph.
4499 * text.C (prepareToPrint): leave ERT inset left aligned
4500 (leftMargin): don't indent paragraphs inside ERT insets
4502 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4504 * paragraph.C (breakParagraph): dont call clear do the work manually
4506 * paragraph.[Ch] (clear): remove function
4508 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4510 * paragraph.C (Paragraph): dont call clear, the work has already
4513 * lyxtextclass.C (operator): assert if n is empty
4515 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4516 work manually instead.
4518 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4520 * BufferView_pimpl.C: protect selectionLost against text == 0
4522 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4524 * text.C (breakParagraph): fix a setting layout to '0' problem.
4526 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4528 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4529 final location of file, for the included files, and graphics.
4531 2002-03-05 Juergen Vigna <jug@sad.it>
4533 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4535 2002-03-04 Juergen Vigna <jug@sad.it>
4537 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4539 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4540 last column of multicolumn cells.
4541 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4543 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4545 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4546 file if it doesn't go to a temporary file.
4548 * buffer.C (sgmlOpenTag):
4549 (sgmlCloseTag): remove extra newline insertion.
4551 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4553 * text.C (getRowNearY): comment out debug msg
4555 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4557 * text2.C: first -> first_y
4559 * text.C (getRowNearY): add some attemts at a possible
4560 optimization, not working.
4562 * tabular.[Ch]: add BufferParams to several function so that newly
4563 created paragraph can be initialized to he default layotu for the
4566 * tabular-old.C (ReadOld): add buf->params to call of Init
4568 * screen.C: rename text->first to text->first_y
4570 * paragraph.C (breakParagraph): always set layout in the broken
4573 * lyxtextclass.C (Read): remove lowercase
4576 (delete_layout): ditto
4578 * lyxtext.h: rename first -> first_y
4580 * lyxlayout.C (Read): remove lowercase
4583 (obsoleted_by): ditto
4585 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4587 * buffer.C (insertErtContents): add params are to InsetERT
4588 (parseSingleLyXformat2Token): add code to check if a paragraphs
4589 layout really exist.
4590 (parseSingleLyXformat2Token): add params to several inset
4592 (asciiParagraph): remove lowercase, do the layout comparisons with
4595 * BufferView_pimpl.C (cursorNext): first -> first_y
4596 (resizeCurrentBuffer): first -> first_y
4597 (updateScrollbar): first -> first_y
4598 (scrollCB): first -> first_y
4599 (workAreaMotionNotify): first -> first_y
4600 (workAreaButtonPress): first -> first_y
4601 (checkInsetHit): first -> first_y
4602 (cursorPrevious): first -> first_y
4603 (cursorNext): first -> first_y
4604 (Dispatch): add buffer_->params to severl inset contructors
4606 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4608 * lyxlayout.C (Read): remove some debug info that I forgot.
4610 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4611 clean up the code slightly.
4612 (makeLinuxDocFile): ditto
4613 (makeDocBookFile): ditto
4615 * text2.C: layout as string
4617 * text.C: layout as string
4619 * paragraph_pimpl.C: layout as string
4621 * paragraph.[Ch]: layout as string
4623 * lyxtextclasslist.[Ch]: layout as string
4625 * lyxtextclass.[Ch]: layout as string
4627 * lyxtext.h: layout as string
4629 * lyxlayout.[Ch]: layout as string
4631 * lyx_cb.C: layout as string
4633 * bufferview_funcs.C: layout as string
4635 * bufferparams.C: layout as string
4637 * buffer.C: layout as string
4639 * LyXView.[Ch]: layout as string
4641 * LaTeXFeatures.[Ch]: layout as string
4643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4645 * BufferView_pimpl.C: change current_layout to string, remove
4650 (workAreaButtonRelease): layout as string
4652 * BufferView2.C (unlockInset): adjust
4654 * vspace.C (asLatexCommand): use an explict temp variable.
4656 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4658 * Makefile.am: use FRONTEND_*
4660 2002-03-01 Juergen Vigna <jug@sad.it>
4662 * tabular.C (SetWidthOfMulticolCell): changed to something better
4663 I hope but still work in progress.
4664 (recalculateMulticolumnsOfColumn): renamed function from
4665 recalculateMulticolCells as it is more appropriate now.
4666 (SetWidthOfCell): calculate multicols better.
4668 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4672 * lyxfunc.C (processKeySym): print sequence also if it is
4673 `deleted' (complete)
4675 * kbsequence.C (print): print sequence even if it is deleted
4676 (complete would be a better word, actually).
4678 * lyxfunc.C (dispatch): print complete options after a prefix key
4680 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4682 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4684 * text2.C (setCharFont): eliminate setCharFont code duplication.
4686 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4688 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4689 LFUN_TABULAR_FEATURE (bug #177)
4691 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4693 * Makefile.am: remove figure.h
4695 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4697 * Bufferview_pimpl.C:
4709 * text2.C: remove #include "lyx_gui_misc.h".
4711 * LaTeX.C: added #include <cstdio>
4713 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4715 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4716 that the paragraph following this one can have.
4718 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4720 * vspace.C (asLatexCommand): fix bogus gcc warning
4722 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4724 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4726 * text2.C (setLayout): get rid of redundant code
4728 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4730 * text2.C (incDepth): make sure depth cannot be increased beyond
4733 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4735 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4736 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4738 * PainterBase.h (image):
4739 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4742 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4746 * BufferView_pimpl.C:
4747 * BufferView_pimpl.h:
4767 * sp_spell.C: remove fig inset, and the crap house of
4768 cards that follows it
4770 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4776 * nt_defines.h: move .h into support/
4778 * vms_defines.h: remove
4780 * WorkArea.C: add space in debug output
4784 * buffer.C: add WITH_WARNINGS
4788 * bufferlist.C: s/retrive/retrieve/, add docs
4799 * lyxgui.C: add ID to X error handler
4801 * lyxtestclass.c: fix typo
4803 2002-02-26 Juergen Vigna <jug@sad.it>
4805 * tabular_funcs.C (write_attribute): changed so that some default
4806 attributes are not written at all.
4807 (getTokenValue): set default values before trying to read the
4808 value so we have the return value always set as default if we don't
4809 find the token we search for.
4811 * tabular.C (Write): write bools as bools not as strings!
4813 2002-02-22 Juergen Vigna <jug@sad.it>
4815 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4816 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4818 * text.C (leftMargin): don't add an indent for paragraphs inside
4819 tabular cells (fix #208).
4821 2002-02-21 José Matos <jamatos@fep.up.pt>
4823 * tabular.C (docBook): fixed support for long tables.
4825 2002-02-20 Juergen Vigna <jug@sad.it>
4827 * text2.C (getFont): get the drawing font of the Inset if this
4828 paragraph is inside an inset (only important for InsetERT for now).
4830 * buffer.C (insertErtContents): use new lanugage params in ERT
4833 * CutAndPaste.C: commenting out seemingly uneeded code.
4835 2002-02-19 Allan Rae <rae@lyx.org>
4837 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4838 Iterators might be simple to use but they also get invalidated.
4839 (removeAutoInsets): renamed saved cursor tracking variables and added
4840 some comments to clarify what everything does.
4842 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4849 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4850 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4853 * vc-backend.h: remove #include "support/syscall.h"
4857 * converter.C: rearrange #includes in Lars' approved fashion.
4859 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4860 forward declare class Timeout in the header file.
4862 * XFormsView.C: changes due to the above.
4864 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4867 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4868 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4870 2002-02-18 José Matos <jamatos@fep.up.pt>
4872 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4875 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4877 * a lot of small ws changes
4878 * add a lot of using std::XXX
4879 * use std construcs some places where approp.
4880 * use some exisint stuff from lyxfunctional where approp.
4881 * Make file changes to use partial linking (lets test this now...)
4883 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4887 remove #include "support/syscontr.h" as it's redundant. Always has been.
4895 change Systemcalls::System to Systemcalls::Wait and
4896 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4897 No change of functionality, just reflects the stripped down Systemcalls
4900 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4902 * debug.[Ch]: add a GRAPHICS type to the enum.
4904 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4906 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4908 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4911 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4913 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4914 match the changes below.
4916 * text2.C (toggleInset): if there is not editable inset at cursor
4917 position, try to see if cursor is _inside_ a collapsable inset
4920 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4922 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4923 document menu has a nice checkbox
4925 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * lyxlength.C (asLatexString): change PW to output as percent of
4930 * lengthcommon.C: change '%' to 't%'
4932 * lyxfunc.C (dispatch): a few comments from Martin
4934 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4938 * BufferView_pimpl.h:
4939 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4942 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * vspace.C (inPixels): fix compiler warning
4946 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4948 * lyxfunc.C (getStatus): fix status message for disabled commands.
4950 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4952 * BufferView_pimpl.C: fix crash on close buffer
4953 during selection (#227)
4955 2002-01-27 Herbert Voss <voss@lyx.org>
4957 * buffer.C: link old Figure to new graphic inset
4959 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4961 * FontLoader.C (getFontinfo): Change the latex font names in order
4962 to match the names of type1inst.
4964 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4966 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4968 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4971 (remove_files_with_extension): ditto
4972 (remove_file): ditto
4975 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4976 document is smaller than the work area height. Do not initialize
4977 static variables to 0.
4979 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4981 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4983 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4984 LFUN_LAYOUT_PARAGRAPHS.
4986 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4987 tabular. It is possible to provide a possible cell, which will
4988 typically be the actcell from the corresponding insettabular
4990 * lyxfunc.C (getStatus): small cleanup; disable
4991 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4994 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4996 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4998 * paragraph.C (startTeXParParams):
4999 (endTeXParParams): new methods. The LaTeX code to
5000 start/end paragraph formatting
5001 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5002 empty (fixes bug #200)
5004 * vspace.C (inPixels): adapt to the change below
5005 (inPixels): [later] more cleanups (remove unused variables)
5007 * lyxlength.C (inPixels): change to use a width and a height as
5010 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5012 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5013 Replaced with \paperwidth
5015 * DepTable.C (insert): add std:: qualifier
5017 2002-01-18 Allan Rae <rae@lyx.org>
5019 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5022 * text.C (drawInset): Turned out I didn't know enough about how
5023 rebreaking worked. This fixes most of the redraw problems. I see
5024 an occasional cursor trail when a line is broken now and the cursor
5025 placement can seem out by a few pixels also after a rebreak.
5027 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5029 * buffer.C (parseSingleLyXformat2Token): update because minipage
5030 width is now a LyXLength
5032 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5034 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5037 2002-01-17 Juergen Vigna <jug@sad.it>
5039 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5041 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5042 is set correctly and the inset is updated correctly.
5044 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5046 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5047 the beginning of the loop.
5049 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5051 * lyxrc.C: improve help for use_scalable_fonts
5053 2002-01-17 Allan Rae <rae@lyx.org>
5055 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5057 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5059 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5060 make sure to set their inset_owner to the right value (bug #171)
5062 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5065 * DepTable.C: Implement mtime checking to reduce time spent doing
5068 2002-01-16 Juergen Vigna <jug@sad.it>
5070 * tabular.C (GetAdditionalHeight): one of error fixed.
5072 * lyxrc.C (output): small fix in writing use_pspell.
5074 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5076 * sp_base.h: #include LString.h
5078 2002-01-16 Allan Rae <rae@lyx.org>
5080 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5081 Can someone check this please?
5083 * text.C (drawInset): It was possible that p.row would be removed by
5084 breakAgainOneRow upsetting a few other settings. There may be another
5085 small tweak possible by setting need_break_row = 0 when p.row has been
5086 removed but I don't know enough about the logic here.
5088 2002-01-15 Allan Rae <rae@lyx.org>
5090 * text.C (insertChar): removed conditional truism.
5092 * BufferView2.C (removeAutoInsets): More tweaks.
5093 cur_par_prev could be a stray pointer. Check for trailing empty line
5094 in case last line was cur_par and only had an error inset on it.
5096 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5101 * vc-backend.C (most methods):
5102 * exporter.C (Export):
5103 * converter.C (convert):
5105 * LyXSendto.C (SendtoApplyCB):
5106 * lyxfunc.C (dispatch):
5110 * lyx_cb.C (AutoSave):
5112 * BufferView_pimpl.C (MenuInsertLyXFile):
5113 * buffer.C (runChktex): use Buffer::filePath().
5115 * buffer.h: rename filename to filename_; rename filepath to
5116 filepath_ and make it private
5117 (filePath): new method
5119 * buffer.C (writeFile): use fileName()
5122 * lyx_main.C (init): fix starting of LyX when the binary is a
5123 link from so,ewhere else.
5125 * minibuffer.C: include <cctype> for isprint
5127 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5129 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5130 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5131 name clash with InsetCollapsable's width function.
5133 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5135 * lastfiles.C: include <iterator>
5137 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5139 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5142 * buffer.C (makeLaTeXFile): ditto.
5143 Also make loop operation more transparent.
5145 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5147 * ToolbarDefaults.C: remove trailing comma closing namespace.
5149 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5151 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5154 * trans.C (Load): comment out unused variable, allowed.
5156 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5158 * minibuffer.[Ch] (append_char): new method to recieve input from the
5159 drop-down completion browser. If a key was pressed, then recieve this
5160 char and append it to the existing string.
5161 (peek_event): modify the positioning data passed to the completion
5162 browser so that it can be placed above the minibuffer rather than below.
5163 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5165 * LyXAction.C (init): alloe error-next for readonly documents.
5167 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5170 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5172 * bufferlist.C (readFile): create the buffer _after_ checking that
5175 * lyxfunc.C (verboseDispatch): fix handling of arguments
5177 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5179 * lyxrc.C: use string::erase() instead of initializing to "".
5182 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5184 * BufferView_pimpl.h:
5185 * BufferView_pimpl.C:
5188 * text2.C: tell X when we have made a selection for copying
5190 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5192 * BufferView_pimpl.C (MenuInsertLyXFile):
5193 * lyxfunc.C (menuNew):
5195 (doImport): add shortcuts to directory buttons
5197 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5200 * lyxfunc.C (setStatusMessage):
5201 (getStatusMessage): new methods
5202 (getStatus):use setStatusMessage instead of setErrorMessage
5203 (dispatch): when function is disabled, set error message here
5204 [instead of in getStatus previously]
5206 * BufferView_pimpl.C (workAreaButtonRelease): update
5207 toolbar/menubar here too.
5209 2002-01-13 Allan Rae <rae@lyx.org>
5211 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5212 Now seems indestructible. Remaining task is to audit all other
5213 code affected by deleteEmptyParagraphMechanism. One small quirk
5214 left is that an empty document with an error in the preamble can
5215 be made to report an error but no error box appears. I don't know
5217 (removeAutoInsets): Improved comments.
5219 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5222 * Thesaurus.C: update for Aiksaurus 0.14
5224 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5226 * text2.C (firstParagraph): removed member function, all uses
5227 replaces with ownerParagraph
5228 (redoParagraphs): here
5230 (toggleAppendix): here
5231 * BufferView2.C (insertErrors): here
5232 (setCursorFromRow): here
5234 2002-01-13 Allan Rae <rae@lyx.org>
5236 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5237 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5238 There is still a way to segfault this although you may have to do this
5239 multiple times: Have an InsetERT with an unknown command in it.
5240 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5241 <down-arrow>, <Enter> again, View->DVI, BANG!
5243 * text2.C (setCursor):
5244 (deleteEmptyParagraphMechanism):
5245 * lyxtext.h (setCursor):
5246 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5247 Making use of the return value may help fix other bugs.
5249 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5251 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5253 * LyXView.C (updateMenubar): call MenuBar::update here
5254 (updateToolbar): but not here
5255 (showState): do not update toolbar/menubar
5257 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5258 should need to care about that.
5260 * lyxfunc.C (verboseDispatch): simplify a bit
5261 (getStatus): have a version which takes a pseudoaction, and
5262 another which requires a (kb_action,string).
5264 * LyXAction.C (retrieveActionArg): make it work also when action
5265 is not a pseudo-action.
5266 (getActionName): simplify a bit
5269 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5271 * lyxfunc.C (verboseDispatch): new families of methods with
5272 several ways to specify a command and a bool to indicate whether
5273 the command name and shortcut should be displayed in minibuffer
5274 (eventually, we could extend that to a finer bitmask like
5275 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5276 (dispatch): the pristine dispatch command which just, well,
5277 dispatchs! Note it still sets its result to minibuffer; I'm not
5280 * lyxfunc.h: remove setHintMessage
5282 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5284 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5286 * BufferView_pimpl.C (specialChar): delete new inset if we have
5287 not been able to insert it.
5289 * kbmap.C: revert to using int instead of kb_action, since all we
5290 are dealing with is pseudo-actions.
5292 * LyXAction.C (searchActionArg): change to return int instead of
5293 kb_action, since the result is a pseudoaction.
5295 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5297 * buffer.C (insertErtContents): Fix (partially) the font bug.
5299 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5301 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5302 as the other one is broken on my machine!
5304 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5307 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5309 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5311 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5312 reflect their actual use. Provide compatibility code for older lyxrc
5315 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5317 change names of popup font variables in line with the changes to lyxrc.C
5319 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5321 * buffer.C (asciiParagraph): avoid outputing a word twice after
5324 * lyxrc.C (getDescription): document that document_path and
5325 template_path can be empty.
5327 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * LaTeXFeatures.C (getMacros):
5330 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5332 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5334 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5336 (getPackages): rename feature "floats" to "float". Use an array to
5337 iterate over 'simple' features (i.e. just a \usepackage). Add
5338 handling of "amsmath" (renamed from "amsstyle").
5340 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5342 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5345 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5347 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5348 FuncStaus::FuncStatus & FuncStaus::some_method().
5350 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5352 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5353 of the func_satus stuff. Edited and massaged in various ways by
5356 * lyxfunc.C (getStatus): use FuncStatus
5358 2002-01-08 Juergen Vigna <jug@sad.it>
5360 * text.C (nextBreakPoint): use function Inset::isChar().
5362 * paragraph.C (TeXOnePar): use function
5363 Inset::forceDefaultParagraphs.
5365 * buffer.C (latexParagraphs): use function
5366 Inset::forceDefaultParagraphs.
5368 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5370 * lyx_gui.C (init): set the style of the menu popups to
5371 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5373 2002-01-07 Juergen Vigna <jug@sad.it>
5375 * text.C (setHeightOfRow): small fix
5376 (prepareToPrint): don't look at alignment if we don't have the place
5379 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5381 * box.C: New file. Move the Box methods and functions out of box.h,
5382 following Lars' suggestion.
5384 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5386 * box.h: #include "support/LOstream.h", needed for inlined function.
5389 * lyxtextclasslist.C: added some using std declarations.
5391 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5393 * box.h: make signed dimensions to allow insets wider than
5394 the screen (bug #162)
5396 * BufferView_pimpl.C: add some insetHit debug
5398 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5400 * vc-backend.C: add FIXME
5402 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5404 * lyxfunc.C (getStatus): enable code for showing math font status
5407 2002-01-07 Juergen Vigna <jug@sad.it>
5409 * text.C (nextBreakPoint): removed debug output not needed anymore.
5411 2002-01-06 Juergen Vigna <jug@sad.it>
5413 * text.C (nextBreakPoint): fixed up this function we had this bug
5414 since ever but now hopefully we break row better.
5415 (insertChar): we have to check if an inset is the next char as it
5416 could now happen that a large inset is causing a break.
5418 2002-01-05 Juergen Vigna <jug@sad.it>
5420 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5421 if it doesn't like to be drawed.
5423 2002-01-04 Juergen Vigna <jug@sad.it>
5425 * BufferView2.C (lockInset): forgot to set a cursor.
5427 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5429 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5434 * form_maths_panel.C:
5435 * form_maths_panel.h:
5436 * form_maths_panel.fd: implemented sub- and super- buttons in math
5439 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5440 (or ^ space) to be used as in TeX (req'd by André).
5442 * lyxfunc.C: Allow ^ and _ again to be used both as
5443 super/subscript (mathed) and as themselves (in text).
5445 2002-01-03 Allan Rae <rae@lyx.org>
5447 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5448 "LyX" or the filename of the current buffer if it has one. This is a
5449 modified form of John Levon's patch.
5451 * XFormsView.C (setWindowTitle): also set icon title.
5453 * LyXView.h (setWindowTitle): signature changed.
5454 * XFormsView.h (setWindowTitle): ditto.
5456 2002-01-02 Juergen Vigna <jug@sad.it>
5458 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5460 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5462 * screen.C (topCursorVisible): introduce a temp var for
5463 text->cursor.row(), handle the case where this row is null. (kindo
5466 * text2.C (setCursor): add a couple of asserts.
5468 * paragraph.h (inset_iterator): add -> operator
5470 * paragraph.[Ch] (autoDeleteInsets): remove member function
5472 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5473 cursor pos correctly and handle inset deletion by itself.
5474 (insertErrors): move iterator declaration out of for expression
5476 * lyxtextclass.C: add <algorithm>
5478 * Makefile.am: added the new files to sources, removed layout.C
5480 * layout.C: removed file
5482 * layout.h: remove LYX_DUMMY_LAYOUT
5484 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5488 * lyxtextclass.[Ch]:
5489 * lyxtextclasslist.[Ch]: new files
5491 * include order changes to a lot of files, also changes because of
5494 2001-12-27 Juergen Vigna <jug@sad.it>
5496 * buffer.C (asciiParagraph): more fixes.
5498 * tabular.C (ascii): make ascii export support export of only the
5499 data separated by a column-delimiter.
5500 (ascii): better support for ascii export.
5502 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5504 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5506 * tabular_funcs.C: use a "using std::getline" instead of the
5507 previous fix from Angus (necessary for cxx + lyxstring)
5509 2001-12-24 Juergen Vigna <jug@sad.it>
5511 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5513 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5514 problems. First check a minipage also if we have some ert-contents
5515 (not only on par->size(), second set the right depth of the paragraph
5516 on the relink to the root-paragraph-list!
5518 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5519 which then did not anymore update the main paragraphs on undo/redo!
5521 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5523 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5524 code. Support all font-changing funcs (even those which are not in
5525 menu currently). Support for reporting font settings in
5526 mathed (disabled until Andre provides a function on mathed's side).
5528 * func_status.h (toggle): small helper function to set toggle
5531 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5533 * tabular_funcs.C: getline -> std::getline
5535 2001-12-21 Juergen Vigna <jug@sad.it>
5537 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5538 accessed and could be 0 (I couldn't generate this but it seems
5541 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5543 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5544 * tabular_funcs.h: here and include iosfwd
5546 2001-12-20 Juergen Vigna <jug@sad.it>
5548 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5549 inside inset but undo_par was.
5551 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5553 * Thesaurus.C: always include <config.h> in sources.
5557 * box.h: do not include <config.h> in header files
5559 * text.C (paintLastRow): remove unused variable
5561 * text.C (transformChar):
5563 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5566 * font.C (width): rewrite to use uppercase() instead of
5569 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5571 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5573 * lyxfind.C: clean up of find failure position change
5575 2001-12-20 Juergen Vigna <jug@sad.it>
5577 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5579 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5580 (TeXRow): added to LaTeX a single tabular row.
5581 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5582 (Latex): simplified and finally good LT-h/f support.
5583 (various_functions): just small adaptions for LT-h/f support.
5585 * tabular_funcs.[hC]: added and moved here all not classfunctions
5588 2001-12-19 Juergen Vigna <jug@sad.it>
5590 * tabular.[Ch]: better support for longtabular options (not finished
5593 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5595 * text.C (paintLastRow): use the label font instead of the font of
5596 the last character to compute the size of *_BOX. This makes more
5597 sense and avoids a crash with empty paragraphs.
5598 Use Painter::rectangle to draw EMPTY_BOX.
5600 2001-12-19 Juergen Vigna <jug@sad.it>
5602 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5603 the paragraphs if the replaced paragraph is not the first one!
5604 Tried to delete not used paragraphs but does not work yet so for
5605 now it's inside #ifdef's and by default off!
5607 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5609 * MenuBackend.C: include "lyx_main.h" instead of declaring
5610 lastfiles (actually was declared as LastFiles* instead of a
5613 2001-12-17 Juergen Vigna <jug@sad.it>
5615 * tabular.C (AppendColumn): applied John's fix
5617 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5621 * BufferView_pimpl.h:
5622 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5625 * box.h: new start of class for above
5627 * lyxfunc.C: ignore space-only minibuffer dispatches.
5628 Show the command name when it doesn't exist
5630 * minibuffer.C: don't add empty lines to the history
5632 * minibuffer.C: add a space on dropdown completion
5634 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5636 * text.C: fix line above/below drawing in insets
5638 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5640 * lyxlength.C (LyXLength): Initialize private variables.
5642 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5644 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5645 when inserting error insets.
5647 2001-12-13 Juergen Vigna <jug@sad.it>
5649 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5650 actually sometimes the before-paragraph.
5651 (setUndo): don't clear the redostack if we're not actually undoing!
5653 2001-12-06 Juergen Vigna <jug@sad.it>
5655 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5656 and fixed redoing of main paragraph, so we can use it now ;)
5658 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5660 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5662 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5665 2001-12-13 André Pönitz <poenitz@gmx.net>
5668 * undo_func.C: minor cleanup
5670 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5672 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5673 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5674 font in urw-fonts package which is marked as -urw-fontspecific and
5675 does not work (incidentally, changing the encoding in the
5676 fonts.dir of this package to -adobe-fontspecific fixes the
5679 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5680 is a crash when undoing first paragraph (Juergen, please take a
5681 look). THis does not mean the undo fix is wrong, just that it
5684 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5685 the (Paragraph*) version when needed instead of duplicating the
5688 * text.C (workWidth): use Inset::parOwner to find out where the
5689 inset has been inserted. This is a huge performance gain for large
5690 documents with lots of insets. If Inset::parOwner is not set, fall
5691 back on the brute force method
5693 * paragraph_pimpl.C (insertInset):
5694 * paragraph.C (Paragraph):
5695 (cutIntoMinibuffer): set parOwner of insets when
5696 inserting/removing them
5698 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5700 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5706 * mathed/formulabase.C:
5707 * mathed/math_cursor.[Ch]:
5708 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5711 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * lyxlength.[Ch] (operator!=): new function
5715 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * text.C (workWidth): use Inset::parOwner to find out where the
5718 inset has been inserted. This is a huge performance gain for large
5719 documents with lots of insets. If Inset::parOwner is not set, fall
5720 back on the brute force method
5722 * paragraph_pimpl.C (insertInset):
5723 * paragraph.C (Paragraph):
5724 (cutIntoMinibuffer): set parOwner of insets when
5725 inserting/removing them
5727 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5729 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5731 * tabular-old.C (getTokenValue):
5732 * tabular.C (getTokenValue):
5733 (write_attribute): new versions for LyXLength
5734 (everywhere): adjust the use of widths
5736 * tabular.h: change the type of widths from string to LyXLength
5738 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5740 * paragraph.C: fixed missing line number count when exporting
5741 Environments to LaTeX file
5743 * buffer.C: added informational message for checking line numbers.
5745 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5747 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5748 paragraph, do the 'double space' part, but not the 'empty
5751 * text.C (workWidth): small optimization
5752 (getLengthMarkerHeight): use minimal size for negative lengths.
5754 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5756 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5758 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5760 2001-12-11 André Pönitz <poenitz@gmx.net>
5763 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5765 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5767 * text2.C: keep selection on a setFont()
5769 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5771 * lyx_cb.C: another bv->text misuse, from insert label
5773 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5776 * kbsequence.C: re-instate nmodifier mask
5778 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5780 * lyx_main.h: make lyxGUI private.
5782 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5784 * lyxfind.C: place the cursor correctly on failed search
5786 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5788 * text.C (getLengthMarkerHeight): for small heights, the arrows
5789 are not always on top/bottom of the text
5790 (drawLengthMarker): smaller arrows; take the left margin in
5791 account; draw also vfills.
5793 (paintLastRow): remove special code for vfill and standard spaces,
5794 since everything is handled in drawLengthMarker now.
5796 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * buffer.C (insertErtContents): try to handle font and language
5799 interaction a bit better.g
5801 * ColorHandler.C (updateColor): change the hash to cover the whole
5802 LColor enum, ws cleanup
5803 (getGCLinepars): ditto
5804 (getGCLinepars): only lookup in the linecache once.
5806 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5808 * iterators.C (operator++): Make the iterator more robust
5810 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5812 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5814 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5817 * text.C: better added space drawing
5819 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5822 * BufferView2.C: fix layout combo update on inset unlock
5824 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5826 * Makefile.am: don't compile unused files
5828 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5832 * LyXAction.C: remove old LFUN_LAYOUTNO
5834 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5836 * paragraph_pimpl.h:
5837 * paragraph_pimpl.C: isTextAt() doesn't need font param
5839 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5842 * lyxlex.C: little cleanup
5844 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5846 * BufferView_pimpl.C: fix insertAscii for insets
5848 2001-12-05 Juergen Vigna <jug@sad.it>
5850 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5851 set the right font on the "multi" paragraph paste!
5853 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5859 * lyxlength.C: remove out-commented code.
5875 * vc-backend.C: change "while(" to "while ("
5877 * lyxlength.[Ch]: add zero function to check if length is zero or
5879 * lyxgluelength.C: use it
5881 2001-12-05 Allan Rae <rae@lyx.org>
5883 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5884 Works for 2.95.3, from what I understand of Garst's reports this should
5885 work for other g++ versions. We're screwed if the abs(int) definition
5886 changed between bugfix releases of gcc.
5888 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5890 * text.C: fix chapter label offset !
5892 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5895 * text.C: fix hfill at end of line, clean up
5897 2001-12-04 Juergen Vigna <jug@sad.it>
5899 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5900 that we force an update of the inset and it's owners if neccessary.
5902 2001-12-03 Juergen Vigna <jug@sad.it>
5904 * text.C (rowLast): simplified code
5906 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5908 * lyxfunc.C: fix show options on timeout
5910 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5912 * screen.C (topCursorVisible): scroll half a page when the cursor
5913 reached top of bottom of screen
5915 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5917 * minibuffer.C: deactivate on loss of focus
5919 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5921 * vspace.[Ch] (operator!=): add operator.
5923 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5925 * BufferView_pimpl.C: refuse to open an inset when
5926 there's a selection.
5928 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5930 * BufferView_pimpl.C: allow to click on RHS of full row insets
5932 2001-11-30 Juergen Vigna <jug@sad.it>
5934 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5935 insets for undo reasons.
5937 2001-11-28 André Pönitz <poenitz@gmx.net>
5939 * vspace.[Ch]: cosmetical changes
5941 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5951 * kbsequence.C: part re-write of old kb code
5954 * WorkArea.C: remove Lgb_bug_find_hack
5956 2001-11-30 José Matos <jamatos@fep.up.pt>
5958 * buffer.C (makeDocBookFile): add a comment to point a hack.
5959 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5960 Fixed a double write of labels.
5962 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5965 * LaTeX.h Fixed bug in LaTeX class where it would not
5966 re-run latex if no depfiles were changed, but the .dvi was removed.
5968 2001-11-28 André Pönitz <poenitz@gmx.net>
5970 * all the files from the change on 2001/11/26:
5971 use lyx::layout_type instead of LyXTextClass::size_type
5972 use lyx::textclass_type instead of LyXTextClassList::size_type
5974 2001-11-29 Juergen Vigna <jug@sad.it>
5976 * text.C: added support for paragraph::isFreeSpacing()
5978 * buffer.C: same as above
5980 * paragraph.h: inserted isFreeSpacing() function to enable
5981 FreeSpacing inside InsetERT.
5983 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5984 of the paragraph's in the cut/copy buffer to 0!
5986 * text2.C (removeRow): remove the assert as it can!
5988 * lyxtext.h: added helper function firstRow returning firstrow and
5989 made firstrow private again.
5991 * BufferView2.C (lockInset): don't relock if we're already locked!
5993 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5995 (removeRow): added Assert::(firstrow)
5997 * debug.C: forgot to add INSETTEXT here.
5999 2001-11-28 Juergen Vigna <jug@sad.it>
6001 * sp_spell.C (initialize): changed error text to more general
6002 spellchecker command use (not only ispell!)
6004 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6006 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6008 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6010 * vspace.C: initialise lyxgluelength on failure
6012 2001-11-28 Allan Rae <rae@lyx.org>
6014 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6015 declaration & definition that looks like a function declaration.
6017 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6019 * BufferView2.C (copy):
6020 (copyEnvironment): do not clear the selection when doing a copy.
6022 * text.C (paintFirstRow): compilation fix
6024 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6026 * tabular.C (Latex): correct line count when writing latex.
6028 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6030 * paragraph_pimpl.h:
6031 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6034 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6038 * LColor.C: change vfillline->added_space
6040 * text.C: add markers and text for added space
6042 * vspace.C: fix comment
6044 2001-11-28 André Pönitz <poenitz@gmx.net>
6046 * paragraph.C: whitespace changes
6047 * all the other files from the change on 2001/11/26:
6048 change *::pos_type into lyx::pos_type
6050 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6052 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6053 language of the document when inserting error insets.
6055 2001-11-26 André Pönitz <poenitz@gmx.net>
6057 * BufferView_pimpl.[Ch]:
6065 * paragraph_pimpl.[Ch]:
6068 * text2.C: reduce header dependencies, introduce type for positions
6070 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6072 * <various>: change to use Alert.h
6074 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6076 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6077 when encountering an unknown token.
6078 (readLyXformat2): Show an error message if there were unknown tokens.
6080 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6083 * BufferView_pimpl.C:
6087 * text2.C: use par->isInset()
6089 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6091 * paragraph_pimpl.h:
6092 * paragraph_pimpl.C: cleanup
6094 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * text2.C (removeRow):
6097 * text.C (setHeightOfRow): remove useless (and costly) call to
6100 2001-11-20 Allan Rae <rae@lyx.org>
6102 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6103 Now need Inset*::checkInsertChar() to return true for appropriate
6104 cases so that the characters in the minibuffer will actually be
6107 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6109 * text.C: change the order of the includes.
6110 (workWidth): initialize it at once.
6111 (workWidth): make maxw unsigned
6112 (setHeightOfRow): remove unused variable (inset)
6113 (selectSelectedWord): remove unused variable (inset)
6114 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6116 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6118 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6119 server is not running.
6121 (closeConnection): add debug info when server is disabled.
6123 * ColorHandler.C (getGCForeground): send debug message to GUI
6126 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6128 * kbmap.C (bind): modify because return conventions of
6129 kb_sequence::parse have changed.
6131 * kbsequence.C (parse): only ignore spaces and not any stupid
6132 control character. This avoids tests like s[i] <= ' ', which are
6133 guaranteed to fail with 8bit characters and signed chars.
6134 Change return code to string::npos when there have been no error
6135 (0 was a bad idea when error is at first character)
6137 2001-11-14 José Matos <jamatos@fep.up.pt>
6140 * buffer.C (simpleDocBookOnePar): removed unused argument.
6142 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6144 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6145 insets which are part of a word. Paragraph::isLetter takes care of
6146 that now. Use Paragraph::isInset to identify insets.
6147 (selectSelectedWord): do not test for hyphenation break.
6149 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6150 that protected spaces are considered as spaces.
6152 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6155 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6158 * lyxserver.C: fix it. and small cleanup.
6160 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6162 * BufferView_pimpl.C: use inline helpers
6165 * LaTeXFeatures.C: fix typos
6168 * Spacing.C: move spacing_string into class
6170 * ToolbarDefaults.C: move stuff into namespace anon
6172 * layout.h: update enum
6174 * lyxfunc.C: use better debug
6176 * minibuffer.h: fix typo
6180 * WorkArea.C: add and use Debug::WORKAREA
6184 * text2.C: code re-organisation, inline helpers
6186 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6188 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6189 std::vector.empty().
6191 2001-11-09 Allan Rae <rae@lyx.org>
6193 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6194 '\n's after tables. Tabular and ERT inset work now makes this no
6197 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6200 * minibuffer.C: fix crash, improve drop-down completion
6202 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6205 * lyxserver.C: invalidate fd's when doing endPipe()
6207 2001-11-08 José Matos <jamatos@fep.up.pt>
6209 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6210 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6213 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6215 2001-11-07 José Matos <jamatos@fep.up.pt>
6218 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6221 * buffer.C (sgmlOpenTag):
6222 * buffer.C (sgmlCloseTag): removed debug info.
6224 * buffer.h (sgmlOpenTag):
6225 * buffer.h (sgmlCloseTag): made public.
6227 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * buffer.C (saveParamsAsDefaults):
6230 * lyx_cb.C (MenuLayoutSave): remove
6232 * LyXAction.C (init):
6234 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6236 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * buffer.C (setPaperStuff): removed from here...
6240 * bufferparams.C (setPaperStuff): ... and moved there.
6242 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6246 * XFormsView.C: add support for drop-down completion
6248 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6250 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6253 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6255 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6258 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6260 * lyx_main.C: change ref to known bugs
6262 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6264 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6265 to work around older babel problems.
6267 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6269 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6271 2001-10-24 Juergen Vigna <jug@sad.it>
6273 * tabular-old.C (ReadOld): below variable changes reflected.
6275 * tabular.[Ch]: added ltType struct for longtable header/footer
6276 defines and changed all instances where they are used. Added
6277 future support for double top/bottom rows.
6279 2001-10-24 José Matos <jamatos@fep.up.pt>
6281 * buffer.h (docbookHandleCaption):
6282 * buffer.C (docbookHandleCaption): removed unused function.
6283 (makeDocBookFile): moved docbook supported version to v4.1.
6285 2001-10-24 José Matos <jamatos@fep.up.pt>
6288 * tabular.C (docbookRow): new function to export docbook code of a row.
6289 (DocBook): now honors the longtable flags.
6291 2001-10-23 José Matos <jamatos@fep.up.pt>
6294 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6295 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6297 * buffer.C (makeLinuxDocFile):
6298 (makeDocBookFile): reworked the preamble, more clean, and with
6299 support for lyx defined entities. Changed the document declaration
6300 to be more XML friendly.
6302 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6303 if we need to output XML that should be done with a filter.
6305 2001-10-22 Juergen Vigna <jug@sad.it>
6307 * sp_pspell.h (class PSpell): add alive function needed in the
6308 controller to see if the spellchecker could be started.
6310 2001-10-22 Juergen Vigna <jug@sad.it>
6312 * buffer.C (insertStringAsLines): modify the font for inserting
6313 chars in certain conditions by calling checkInsertChar(font).
6315 2001-10-19 Juergen Vigna <jug@sad.it>
6317 * text.C (workWidth): use getRow instead of wrong algorithm.
6318 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6320 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6325 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6327 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6329 * text.C (workWidth): do not search for the exact row when
6330 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6331 optimization for big documents.
6333 2001-10-18 Juergen Vigna <jug@sad.it>
6335 * text.C (workWidth): new function with added Inset * parameter.
6337 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6339 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6341 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6342 change return type of getColumnNearX.
6345 * text.C (changeRegionCase): use uppercase/lowercase instead of
6348 (rightMargin): simplify code by factoring out the uses of
6353 (appendParagraph): use Paragraph::size_type
6355 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6357 * vspace.C (asLatexString): add a missing break
6359 2001-10-15 Herbert Voss <voss@perce.de>
6361 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6363 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6365 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6368 2001-10-10 André Pönitz <poenitz@gmx.net>
6370 * lyxfunc.C: removed greek_kb_flag.
6372 2001-10-10 Herbert Voss <voss@perce.de>
6374 * lyx_main.C: delete global string help_lyxdir.
6376 2001-10-09 Herbert Voss <voss@perce.de>
6378 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6380 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6382 * lyx_main.C: added global string help_lyxdir.
6384 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6386 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6388 * lyxrc.C (set_font_norm_type): support iso8859-4
6390 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6392 * LaTeX.C (deplog): add another regex for MikTeX
6394 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6396 * lyxrc.C (set_font_norm_type): support iso8859-3
6398 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6400 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6402 * LaTeXFeatures.C: remove special case of french and index
6404 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6405 before \begin{document}). This solves several incompatibilities.
6407 2001-10-03 Garst Reese <reese@isn.net>
6409 * lyx_cb.C: change CheckTex error msg.
6411 2001-10-03 José Matos <jamatos@fep.up.pt>
6413 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6415 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6417 * .cvsignore: update
6419 * lyx_main.C (commandLineVersionInfo): use new style version info.
6421 * buffer.C (writeFile):
6424 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6426 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6428 * version.h: update to use stuff in version.C
6430 * version.C.in: new file. Contains version information determined
6431 at compile time. This is a merging of version.h and
6434 2001-10-03 Juergen Vigna <jug@sad.it>
6436 * BufferView_pimpl.C (update): don't change "dirty" status in
6439 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6441 * WorkArea.C (c-tor): re-position version string slightly.
6443 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6445 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6446 revert to previous code.
6448 WorkArea.[Ch]: (show, destroySplash): methods removed.
6450 WorkArea.C: rework code so that it's an amalgam of the codes before and
6451 after the splash screen was moved to WorkArea.
6453 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6456 * vspace.C (inPixels):
6459 * buffer.C (insertStringAsLines):
6460 (asciiParagraph): fix types to be large enough
6462 * lyxlex_pimpl.h: change member status from short to int
6464 * layout.h: fix type of endlabeltype
6467 * kbsequence.C (parse): change return type to string::size_type
6469 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6472 * Bullet.C (bulletSize):
6473 (bulletEntry): do not use short ints as parameters
6475 * BufferView2.C (insertLyXFile): change a char to an int.
6477 * WorkArea.C (WorkArea): remove unneeded floats in computation
6479 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6481 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6483 * paragraph.C (asString): Do not ignore newline/hfill chars when
6484 copying to the clipboard.
6486 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6488 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6489 after a multi-line inset.
6491 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6493 * paragraph.C (validate): Set NeedLyXFootnoteCode
6495 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6497 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6498 and decrease-error to decrease.
6500 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6503 it more readable (should be equivalent)
6505 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6507 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6509 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6512 of a cursor (row, etc.) after a character has been deleted
6513 (deleteEmptyParagraphMechanism): call the method above on _all_
6514 cursors held by the LyXText when a double space has been
6517 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6519 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6521 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6523 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6524 background. Use greyOut() and the new show() methods to toggle between
6525 the foreground and background. Add code to remove the splash after
6526 its initial showing.
6528 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6529 (create_forms): no longer call Dialogs::showSplash.
6531 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6533 * .cvsignore: add version_info.h
6535 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6537 * version_info.h.in: new file
6539 * Makefile.am: add version_info.h.in
6541 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6542 version_info.h instead of VERSION_INFO
6544 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6546 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6547 The ERT inset now returns string().
6549 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6551 * lyxtext.h, text.C (selectNextWord): renamed as
6552 selectNextWordToSpellcheck.
6554 * text.C (selectNextWordToSpellcheck): Modified to not select
6555 words inside an ERT inset.
6557 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6559 * lyx_cb.C (MenuLayoutSave): change a bit the question
6561 * sp_base.h: include <sys/types.h>
6563 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6565 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6567 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6569 * several files: fix typos in user-visible strings
6571 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6573 * text2.C (pasteSelection): do not set the selection, since it
6574 will be cleared later. Actually, the intent was to fix the way the
6575 selection was set, but I figured rmoving the code was just as good.
6577 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6579 * FontLoader.C (available): Check if font is available without
6582 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6584 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6586 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6588 * lyxrc.[Ch]: added display_graphics variable and associated code.
6590 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6592 * bufferparams.C (hasClassDefaults): new method. Returns true if
6593 the buffer parameters correspond to known class defaults
6595 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6597 * XFormsView.C (show): set minimum size to the main window.
6599 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6601 * text2.C (copySelection):
6603 * lyxfind.C (LyXReplace):
6604 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6605 LyXText::selectionAsString.
6607 * paragraph.C (asString): add "label" argument to the second form
6609 * text2.C (selectionAsString): add "label" argument and pass it to
6610 Paragraph::asString.
6612 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6614 * lyx_main.C (commandLineHelp): remove version information
6616 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6618 * lyx_main.C: add -version commandline option
6620 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6622 * paragraph.h: make the optional constructor arg required instead.
6623 some modifications to other files because of this.
6625 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6627 * lyxserver.C (C_LyXComm_callback): make it static
6629 * lyx_main.C (error_handler): make it static
6631 * lyx_gui.C (LyX_XErrHandler): make it static
6633 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6635 * WorkArea.C: make the extern "C" methods static.
6637 * Makefile.am (lyx_LDADD): simplify
6639 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6641 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6642 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6644 * LyXAction.C (init):
6645 * lyxfunc.C (dispatch): associated code removal.
6647 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6649 * lyxfont.h (isSymbolFont): shut off warning
6651 * text.C (setHeightOfRow):
6652 (getVisibleRow): fix crash with empty paragraphs which have a
6655 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6657 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6660 2001-09-04 José Matos <jamatos@fep.up.pt>
6663 * tabular.C (docbook): rename docBook method to docbook.
6665 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6667 * Makefile.am: add dependencies to main.o.
6669 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6671 * FontLoader.C (available): Return false if !lyxrc.use_gui
6673 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6675 * FontInfo.C (query):
6676 * converter.C (view):
6677 * importer.C (Import):
6678 * exporter.C (Export): Can not -> cannot.
6680 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6682 * BufferView_pimpl.C: allow to create index inset even if
6685 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6687 * buffer.C (getLists): replace boost::tie code with an explicit pair
6688 as boost::tie can break some compilers.
6690 * iterators.h: Added a std:: declaration to the return type of
6693 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6695 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6698 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6700 * iterators.[Ch]: New files. Provide paragraph iterators.
6702 * buffer.C (changeLanguage): Use paragraph iterators.
6703 (isMultiLingual): ditto
6705 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6707 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6709 * FontLoader.C: Support for cmr font.
6711 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6713 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6714 (available): New method.
6716 * FontInfo.C (getFontname): Use scalable fonts even when
6717 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6720 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6722 * converter.C (Formats::view): reverted! Incorrect fix.
6724 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6726 * converter.C (Formats::view): only output the -paper option
6727 if the dvi viewer is xdvi, thereby fixing bug #233429.
6729 2001-08-23 Herbert Voss <voss@perce>
6731 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6733 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6735 * Spacing.h (Spacing): Set space to Default on in the default
6738 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6740 * vc-backend.h (RCS::versionString): add RCS to version
6741 (CVS::versionString): add CVS to version
6743 * vc-backend.C (scanMaster): do not add CVS to version.
6744 (scanMaster): do not add RCS to version
6746 * lyxvc.C (versionString): new method
6748 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6750 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6752 * Spacing.C (set): initialize fval
6754 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6756 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6759 2001-08-16 Juergen Vigna <jug@sad.it>
6761 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6763 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6765 * BufferView_pimpl.C:
6768 * text2.C: setParagraph takes linespacing now
6770 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6772 * LyxAction.C: add internal LFUN_CITATION_INSERT
6774 * LyXView.C: actually apply fix
6776 * bufferlist.C: fix open non-existent file
6778 * lyxfind.C: fix indentation
6780 * lyxfunc.C: remove unneeded assert, fix typo
6782 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6784 * MenuBackend.C: use "Floatname List"
6786 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6788 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6789 when converting LaTeX layout to insetERT.
6790 Generate a non-collapsed float when reading old float
6792 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6794 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6797 2001-08-13 Juergen Vigna <jug@sad.it>
6799 * text.C (fill): return 0 instead of 20 as this seems to be the more
6802 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6804 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6807 2001-08-13 Juergen Vigna <jug@sad.it>
6809 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6811 (SearchBackward): comment out the unlocking of the inset_owner this
6812 should not be needed!
6814 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6816 * Many files: Remove inherit_language, and add latex_language
6818 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6821 2001-08-10 Juergen Vigna <jug@sad.it>
6823 * text.C (prepareToPrint): fixed hfill-width in draw!
6825 * BufferView2.C (selectLastWord): save the selection cursor as this
6826 now is cleared in the function LyXText::clearSelection!
6828 2001-08-08 Juergen Vigna <jug@sad.it>
6830 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6831 BACKSPACE type functions.
6833 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6834 is only cutted from the document but not put in the cut-buffer, where
6835 still the old stuff should be.
6837 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6839 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6841 * tabular.C (SetWidthOfCell): fixed special case where the width
6843 (LeftLine): handle '|' in align_special.
6845 (LeftAlreadyDrawed): ditto
6846 (SetWidthOfCell): ditto
6848 2001-08-07 Juergen Vigna <jug@sad.it>
6850 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6852 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6854 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6855 * lyxlex.[hC]: ditto
6857 2001-08-06 Juergen Vigna <jug@sad.it>
6859 * text.C (getVisibleRow): fix up row clearing a bit.
6861 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6863 * minibuffer.C: make sure the X server sees the changes in the input.
6865 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6867 * paragraph.C (getFont): split into...
6868 (getLabelFont): this
6869 (getLayoutFont): and this
6870 * paragraph_pimpl.C (realizeFont): calling this
6872 * text2.C (getFont): split into...
6873 (getLayoutFont): this
6874 (getLabelFont): and this
6875 (realizeFont): all three calling this
6877 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6880 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6882 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6884 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6886 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6887 layouts from the Quote inset insertion.
6889 2001-08-03 Juergen Vigna <jug@sad.it>
6891 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6893 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6894 only if status not is already CHANGED_IN_DRAW (second level).
6896 * text.C (draw): don't set the need_break_row when inside an
6899 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6901 * buffer.C (parseSingleLyXformat2Token): handle more latex
6904 * bufferview_funcs.[hC]: change function names to
6905 begin with small char, adjust other files.
6907 2001-08-02 André Pönitz <poenitz@gmx.net>
6910 BufferView_pimpl.C: remove broken special code for math-greek
6912 2001-08-02 Juergen Vigna <jug@sad.it>
6914 * BufferView_pimpl.C (update): redone this function so that we
6915 update the text again if there was a CHANGE_IN_DRAW.
6917 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6918 (drawFromTo): added a new internal bool which is used by draw() and
6920 (general): some cursor drawing problems fixed.
6922 2001-08-01 Juergen Vigna <jug@sad.it>
6924 * lyxfind.C (LyXFind): fixed
6925 (SearchForward): ditto
6926 (SearchBackward): ditto
6928 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6929 spurius drawing of the cursor in the main area.
6931 * text2.C (status): small fix which could lead to a segfault!
6932 (clearSelection): remove unneeded BufferView param.
6934 2001-08-01 André Pönitz <poenitz@gmx.net>
6936 * lyxfunc.C: small change due to changed mathed interface
6938 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6940 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6942 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6944 * lyxfunc.c: fail gracefully if file doesn't exist
6949 * BufferView_pimpl.C: IsDirWriteable() proto changed
6951 * LyXView.C: fix updateWindowTitle() to store the last title
6953 2001-07-31 Juergen Vigna <jug@sad.it>
6955 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6956 the font (wrong since using of Paragraph::highestFontInRange).
6958 * paragraph.C (highestFontInRange): added a default_size parameter.
6960 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6961 (setHeightOfRow): reformat
6963 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6965 * converter.[hC] + affected files: move to (inital-char)lowercase
6968 * ParagraphParameters.C (ParagraphParameters): remove commented code
6970 * PainterBase.[Ch]: remove commented code
6972 * LaTeXFeatures.h: add "bool floats" for float.sty
6974 * LaTeXFeatures.C (LaTeXFeatures): init floats
6975 (require): handle float
6976 (getPackages): do it with floats
6978 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6980 * BufferView_pimpl.C (Dispatch): improve handling of
6981 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6983 * commandtags.h: #include lyxfont.h here temporarily to avoid
6986 * bufferlist.h: include LString.h here.
6988 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6990 * text2.C (getStringToIndex): new method.
6992 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6994 * *: Reduced header file dependencies all over.
6996 2001-07-30 Baruch Even <baruch@lyx.org>
6998 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7000 2001-07-29 Baruch Even <baruch@lyx.org>
7002 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7004 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7006 * ParameterStruct.h (endif): add a default constructor to make
7007 sure that all variables is initialized.
7009 * ParagraphParameters.C (ParagraphParameters): adjust
7011 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7013 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7014 index; also, check that there is something to index, and that it
7015 does not span over several paragraphs.
7016 (doubleClick): use WHOLE_WORD_STRICT for double click.
7018 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7020 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7023 2001-07-26 Baruch Even <baruch@lyx.org>
7025 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7026 an InsetFig figure, backwards compatible reading of old figure code.
7028 2001-07-27 Juergen Vigna <jug@sad.it>
7030 * text2.C: font.realize function adaption.
7032 * text.C (draw): add a warnings lyxerr text if needed.
7034 * layout.C: font.realize function adaption.
7036 * language.C: add inherit_language and implement it's handlings
7038 * bufferview_funcs.C (StyleReset): remove language parameter from
7039 font creation (should be language_inherit now).
7041 * bufferparams.C (writeFile): handle ignore_language.
7043 * paragraph.C (getFontSettings): the language has to be resolved
7044 otherwise we have problems in LyXFont!
7046 * lyxfont.C (lyxWriteChanges): added document_language parameter
7047 (update): removed unneeded language parameter
7049 * paragraph.C (validate): fixed wrong output of color-package when
7050 using interface colors for certain fonts in certain environments,
7051 which should not seen as that on the final output.
7053 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7055 * BufferView_pimpl.C:
7060 * LyXAction.C: add thesaurus support
7063 * lyxfind.C: add "once" parameter, for thesaurus, to not
7064 move to the next match
7066 2001-07-26 Juergen Vigna <jug@sad.it>
7068 * lyxfont.C (realize): honor ignore_language too!
7071 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7073 * text.C (draw): one place more for ignore_language to not draw
7076 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7078 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7080 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7083 the minipage conversion problem.
7085 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7087 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7090 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * BufferView.h: don't forward declare WorkArea
7094 * BufferView.C: don't include WorkArea.h
7096 2001-07-25 André Pönitz <poenitz@gmx.net>
7100 * lyxfunc.C: new LFUN 'math-space'
7102 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7104 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * text2.C (toggleInset): call open/close
7108 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7110 * lyxfunc.C (dispatch): add debug for the disabled case
7112 * font.C (buttonText): make similar to rectText
7114 * buffer.C (readInset): comment out parsing of insetlist and
7117 * PainterBase.C (rectText): small correction
7119 * BufferView_pimpl.C: comment out insettheorem and insetlist
7120 * LyXAction.C: ditto
7121 * commandtags.h: ditto
7123 2001-07-24 Juergen Vigna <jug@sad.it>
7125 * text.C (draw): honor the ignore_language.
7127 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7129 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7134 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7136 * lyxtext.h: remove unused (and unimplemented) methods
7138 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7140 * text.C (getVisibleRow): honor background color
7143 * Painter.h: remove default color argument for fillRectangle
7145 * text.C (backgroundColor): new method
7147 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7149 * text.C (getVisibleRow): adjust
7151 * font.[Ch] (rectText): new method, metrics
7152 (buttonText): new method, metrics
7154 * PainterBase.[hC]: make rectText and buttonText always draw and take
7157 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7159 * ToolbarDefaults.C (read):
7160 * MenuBackend.C (read): allow escaping in all strings
7162 * BufferView_pimpl.C (insertAndEditInset): new method.
7163 (Dispatch): use insertAndEditInset whenever appropriate.
7165 * BufferView_pimpl.C (insertNote): removed
7167 * BufferView_pimpl.C (smartQuote): new method, moved from
7168 BufferView; if an insetquote cannot be inserted, insert a '"'
7171 * BufferView2.C: remove insertCorrectQuote();
7173 * lyxfunc.C (getStatus): Add support for all remaingin
7176 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7178 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7179 command (necessary to pass " as parameter of self-insert.
7181 * text.C (selectWordWhenUnderCursor):
7182 (selectWord): add word_location parameter
7183 (selectWordWhenUnderCursor): same + remove special code for word
7185 (selectNextWord): use kind() to guess type of insetspecialchar,
7188 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7189 (insertErtContents): create ert insets as collapsed.
7190 (readInset): better compatibility code for Info inset.
7192 2001-07-20 Juergen Vigna <jug@sad.it>
7194 * lyxfunc.C (dispatch): use always LyXFind now!
7196 * text2.C (init): add a reinit flag so that the LyXText can be
7197 reinited instead of deleted and reallocated (used in InsetText).
7199 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7205 2001-07-18 Juergen Vigna <jug@sad.it>
7207 * text.C (selectNextWord): handle insets inside inset by calling
7208 always the bv->text functions so that we can go up the_locking_inset!
7210 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7211 in strange locations when inside an inset!
7213 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7214 handling to include insets.
7216 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7218 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7220 * LyXAction.C (init):
7222 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7223 LIGATURE_BREAK, since the name is so stupid.
7225 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7227 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7230 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7232 * sp_form.[Ch]: remove.
7234 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7236 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7239 * src/buffer.C (readInset): ditto.
7241 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7243 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7244 menuSeparator(), endOfSentenceDot(), ldots() and
7245 hyphenationPoint(), which are therefore removed.
7246 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7248 * LyXAction.C (init):
7249 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7251 * paragraph.C (getWord): removed.
7253 * BufferView_pimpl.C (Dispatch): use last word or selection for
7254 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7256 * lyx_main.C (queryUserLyXDir): do not ask before creating
7257 user_dir, except if it has been named explicitely.
7259 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7261 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7262 a document of zero size.
7264 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7266 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7267 approriately in the c-tor and in require().
7268 (getPackages): output the appropriate LaTeX for natbib support.
7270 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7271 variables "use_natbib" and "use_numerical_citations" when reading the
7273 (readInset): read the various natbib cite commands.
7274 (validate): white-space change.
7276 * bufferparams.[Ch]: new variables "bool use_natbib" and
7277 "bool use_numerical_citations".
7278 (writeFile): output them in the LyX file.
7280 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7282 * lyxfunc.C (getStatus): add support for all the inset insertion
7285 * text2.C (insertInset):
7286 * paragraph.C (insetAllowed):
7287 * BufferView_pimpl.C (insertInset): update to take in account the
7288 renaming of insertInsetAllowed
7290 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7292 * text2.C (getInset): new method. returns inset at cursor position.
7294 * BufferView_pimpl.C (Dispatch): changes because of this.
7296 * LyXAction.C (init): rename open-stuff to inset-toggle.
7298 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7300 * text2.C (toggleInset): renamed from openStuff; use
7303 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7305 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7307 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7309 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7311 * buffer.C (readLyXformat2): Add filename to the error dialog
7313 2001-07-18 Juergen Vigna <jug@sad.it>
7315 * tabular.C (GetCellNumber): put an assert here instead of the check!
7317 2001-07-17 Juergen Vigna <jug@sad.it>
7319 * BufferView_pimpl.C (toggleSelection): adapted too.
7321 * text.C (selectNextWord): adapted for use with insets.
7322 (selectSelectedWord): ditto
7324 2001-07-17 Juergen Vigna <jug@sad.it>
7326 * sp_spell.C (PSpell): fix initialitation order.
7328 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7330 * paragraph.C: spacing
7332 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7334 * sp_spell.C: repair language selection for pspell
7336 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7338 * lyxfunc.h: change more methods to begin with lower char.
7340 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7342 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7343 for unknown layouts.
7345 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7347 * buffer.C (readLyXformat2): Generate an error dialog if there are
7350 2001-07-16 Juergen Vigna <jug@sad.it>
7352 * sp_spell.C: always compile ISpell part.
7354 * lyxrc.C: added use_pspell entry and it's handling.
7356 2001-07-13 Juergen Vigna <jug@sad.it>
7358 * sp_spell.C: removed double includes.
7360 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7362 Consistent use of Lsstream.h:
7363 * Lsstream.h: added using std::stringstream for consistencies sake.
7365 * buffer.C: removed using std::stringstream
7367 * lyxfont.C (stateText):
7368 * paragraph.C (asString):
7369 * text.C (selectNextWord, selectSelectedWord):
7370 * text2.C (setCounter):
7371 * vspace.C (asString, asLatexString):
7372 std::ostringstream -> ostringstream.
7374 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7376 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7377 * commandtags.h: add LFUN_HELP_ABOUTLYX
7378 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7380 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7382 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7384 * lyx_gui_misc.C: remove spellchecker
7385 * lyxfunc.C: showSpellchecker
7387 * sp_ispell.h: added
7388 * sp_pspell.h: added
7390 * sp_form.[Ch]: removed
7391 * spellchecker.[Ch]: removed
7393 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7395 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7397 (simpleTeXSpecialChars): Simply print the input character without
7398 any special translation if pass_thru is set.
7400 * layout.h: Added bool pass_thru to layout class for being able to
7401 implement pass through of a paragraph for Literate Programming.
7403 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7404 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7405 * layout.C (Read): add "passthru" to list of layout tags and add
7406 code to set the pass_thru boolean when it is read.
7408 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * trans_decl.h: remove allowed from KmodInfo
7412 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7416 * paragraph_pimpl.C (erase): use boost::prior
7418 * Painter.C (text): use data() instead of c_str() when length is
7420 * WorkArea.C (putClipboard): ditto
7421 * font.h (width): ditto
7423 * BufferView2.C: use it-> instead of (*it). for iterators
7425 * paragraph_pimpl.C: ditto
7426 * paragraph.C: ditto
7427 * minibuffer.C: ditto
7432 * converter.C: ditto
7434 * Variables.C: ditto
7435 * TextCache.C: ditto
7436 * MenuBackend.C: ditto
7437 * LyXAction.C: ditto
7439 * FloatList.C: ditto
7441 * ColorHandler.C (LyXColorHandler): ditto
7443 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7445 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7447 * text2.C (openStuff): reintroduce this method (which had been
7448 nuked in NEW_INSETS frenzy).
7450 * lyxfunc.C (Dispatch): when an action has not been handled, use
7451 its name in the error message, not its number.
7453 * paragraph.C (inInset): change method name to begin with lowercase.
7456 * text2.C: updates because of this.
7458 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7460 * ToolbarDefaults.C (add): add spaces in error message
7462 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7464 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7465 (readLyXformat2): rename return_par to first_par, use lyxlex's
7466 pushToken and remove the manual push handling.
7467 (parseSingleLyXformat2Token): add another ert comp. variable:
7468 in_tabular, rename return_par to first_par. handle newlines better
7470 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7472 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7474 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7476 * text2.C (getParFromID): removed
7478 * buffer.C (getParFromID): new method moved form lyxtext.
7479 * BufferView2.C (insertErrors): adjust
7480 (setCursorFromRow): adjust
7481 * BufferView_pimpl.C (restorePosition): adjust
7482 * lyxfunc.C (Dispatch): adjust
7483 * undo_funcs.C (textUndo): adjust
7485 (textHandleUndo): adjust
7486 (textHandleUndo): adjust
7488 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7490 * buffer.C: up' the LYX_FORMAT
7492 * lyxfont.h: turn NO_LATEX on as default
7494 * buffer.C (insertErtContents): new methods of tex style compability.
7495 (parseSingleLyXformat2Token): use it several places.
7496 * tabular.C (OldFormatRead): and here
7498 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7500 * text2.C: remove some commented code.
7503 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7504 * trans.C: changes because of the above.
7506 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7508 * text2.C (setCounter): Fix counters bug with bibliography layout.
7510 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7512 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7513 own member functions
7514 (simpleTeXSpecialChars): ditto
7516 2001-07-06 Juergen Vigna <jug@sad.it>
7518 * a lot of files: changed the access to LyXText::status and the
7519 call of undo-functions.
7521 * undo.[Ch]: added a inset_id to the undo informations.
7523 * undo_funcs.[Ch]: added and moved here all undo functions.
7525 * lyxtext.h: give the status enum a weight, made status_ a private
7526 variable and made accessor functions for it, removed the whole bunch
7527 of undo-functions as they are now in their own file, make some
7528 functions publically available. Added function ownerParagraph with
7531 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7532 made InInset() a const function, added getParFromID() function.
7534 * buffer.[Ch]: added const version for inset_iterator functions,
7535 added getInsetFromID() function.
7537 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7538 changed undo functions for new version.
7540 2001-07-05 Juergen Vigna <jug@sad.it>
7542 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7543 unknow mechanism does not call the proper constructor but only this
7544 one also if I request the other!?
7546 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7548 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7550 * text2.C (LyXText): use initialization lists.
7552 * lyxtext.h (Selection): initialize set_ and mark_
7553 (init): remove method
7555 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7557 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7559 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7561 * screen.[Ch]: change method names to begin with lowercase
7563 * BufferView_pimpl.C (updateScrollbar): simplify further and
7564 hopefully make it a bit faster.
7566 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7568 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7569 calling directly xforms functions.
7571 * Painter.C (Painter):
7572 * lyx_cb.C (MenuWrite):
7573 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7576 * lyx_gui.C: remove bogus guiruntime extern declaration.
7578 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7582 (redoDrawingOfParagraph): ditto
7583 (redoParagraphs): ditto
7584 (cutSelection): don't create a object for CutAndPaste use the
7585 static method directly
7586 (pasteSelection): ditto
7588 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7591 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7593 * modifications to some other files because of this.
7595 * Makefile.am (lyx_SOURCES): add XFormsView
7597 * XFormsView.[Ch]: new files
7599 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7600 the main window. Move the gui dependent stuff to XFormsView
7602 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7604 * tabular.C (GetCellInset): update cur_cell also in the row/col
7605 version of this function.
7607 * lyxfunc.C: no need to include figure_form.h here.
7613 * lyxvc.C: no need to include forms.h here.
7615 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7617 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7619 * lyxfunc.C (Dispatch):
7621 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7622 constructor argument.
7624 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7626 * paragraph.C (Paragraph): dont't clear, and just set layout.
7627 (makeSameLayout): use params's copy contructor.
7629 * ParagraphParameters.[Ch] (makeSame): delete method
7631 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7633 * Variables.[Ch]: fix indentation, rename set to isSet
7635 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7637 * lyxfunc.C (Dispatch): fix typo
7639 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7644 * bufferlist.C: include assert.h for emergencyWrite().
7646 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7648 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7649 give up at last (bug #425202) !
7651 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7657 * spellchecker.C: strip spellchecker options and bring up
7658 preferences tab instead
7660 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7662 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7663 the istringstream constructor
7665 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7667 * paragraph.C (getLayout): fix return value
7669 * paragraph.h: do not declare getLayout as inline.
7671 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7673 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7675 * lyxcursor.h (operator<): new func
7676 (operator>): new func
7677 (operator>=): new func
7678 (operator<=): new func
7680 * text.C (changeCase): use selection.start and selection.end
7681 (changeRegionCase): require from to be <= to. Require par to be a
7684 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7686 2001-06-27 Juergen Vigna <jug@sad.it>
7688 * text.C (cursorLeftOneWord): changed to return the cursor and added
7689 overlay with BufferView * parameter which calls this one.
7691 (selectWord): use new getWord function.
7692 (changeCase): renamed from changeWordCase as and extended to work
7695 * lyxtext.h: added enum word_location
7697 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7698 changeCase as this operates now also on selections.
7700 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7702 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7704 * many files: send debug output to Debug::INFO instead of
7707 * converter.C (View):
7709 (Move): send debug output to Debug::FILES instead of console.
7711 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7713 * lyxfunc.C (getStatus): use func_status
7715 * func_status.h: new header, describing the results of
7718 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7721 2001-06-25 The LyX Project <jug@sad.it>
7723 * buffer.C (sgmlOpenTag):
7725 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7727 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7729 * text2.C: remove some dead code
7731 * tabular.C (GetCellInset): store the last cell checked (gotten)
7733 * tabular.h: add the helper for the speedup
7735 * lyxtext.h: remove some dead code
7737 2001-06-26 The LyX Project <Asger>
7739 * paragraph.C: Change export to LaTeX of alignment to
7740 \begin{center} and family for better roundtrip work with reLyX.
7742 * Tune the math drawing a bit.
7744 2001-06-25 The LyX Project <Asger>
7746 * LColor.C (LColor): New color for math background. New color
7749 2001-06-25 The LyX Project <jug@sad.it>
7751 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7754 * bufferlist.C (newFile): do not restrict to files ending with
7757 * BufferView_pimpl.C (MenuInsertLyXFile):
7759 2001-06-24 The LyX Project <jug@sad.it>
7761 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7764 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7766 * lyxtext.h: rename most methods to begin with a small char.
7767 Lots of changes because of this.
7769 * paragraph.C (Paragraph): do not call fitToSize
7770 (erase): call Pimpl::erase
7771 (insertChar): call Pimpl::insertChar
7772 (insertInset): call Pipl::insertInset
7773 (breakParagraph): do not call fitToSize
7774 (breakParagraphConservative): do not call fitToSize
7775 (fitToSize): remove method
7777 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7779 2001-06-24 The LyX Project <Asger>
7781 * Fix Qt compilation^2
7783 2001-06-24 The LyX Project <jug@sad.it>
7785 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7786 depthHook(getDepth()-1).
7789 * ParagraphParameters.h:
7790 * ParameterStruct.h: change type of depth to unsigned int ==
7791 depth_type. Many adaptations to other files before of that.
7793 2001-06-24 The LyX Project <Asger>
7795 * Fix Qt compilation.
7797 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7799 * paragraph.h: renamed several methods to begin with small letter.
7800 several changes to many parts of the code because of this.
7802 2001-06-23 The LyX Project <jug@sad.it>
7804 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7805 rewritten to discard all double spaces when KeepEmpty is off
7806 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7807 to only handle newlines but not fiddle with spaces and friends.
7809 * lyxfunc.C (MenuNew): when doing 'new from template', use
7810 template_path as default directory
7812 2001-06-23 The LyX Project <Asger>
7814 * Clean-up of header file includes all over
7815 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7817 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7819 * paragraph.h: renamed from lyxparagraph.h
7821 2001-06-23 Asger <lyx@violet.home.sad.it>
7823 * Buffer.h: Removed Buffer::resize
7824 * BufferList.h: Removed BufferList::resize
7825 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7826 the document lazily when we change the width, or the font settings.
7828 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7830 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7832 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7834 * buffer.h: remove out of date comment
7836 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7839 * screen.C: fix "theoretical" GC leak
7841 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7843 * LaTeX.C (scanAuxFile):
7844 (deplog): remove trailing \r when reading stream (useful under
7847 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7849 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7850 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7851 and BufferView::theLockingInset(Inset*), so should use them and not
7852 access bv_->text->the_locking_inset directly.
7854 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7856 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7859 * tex-defs.h: remove old unused file
7861 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7863 * BufferView_pimpl.C: fix typo, remove minibuffer message
7864 when buffer has loaded
7866 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7868 * lyxfunc.C (Dispatch): use stringstream
7869 (MenuNew): use stringstream
7870 (Open): use stringstream
7872 * importer.C (Import): use stringstream
7874 * bufferview_funcs.C (CurrentState): use stringstream
7876 * LaTeX.C (run): use stringstream
7878 * BufferView_pimpl.C (savePosition): use stringstream
7879 (restorePosition): use stringstream
7880 (MenuInsertLyXFile): use stringstream
7882 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7895 * vspace.C: removed // -*- C++ -*- as first line.
7898 * version.h: added // -*- C++ -*- as first line.
7900 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7902 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7904 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7907 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7912 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7914 * gettext.C: include LString.h even when --disable-nls is on.
7916 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7918 * converter.h (Get): changed argument type from int to
7919 FormatList::size_type to avoid unnecessary conversion.
7921 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7924 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7926 * gettext.h: include LString.h even when --disable-nls is on.
7928 2001-06-07 Juergen Vigna <jug@sad.it>
7930 * text.C (BreakAgain): subst spaces with tabs.
7932 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7933 (resizeInsetsLyXText): set force on resizeLyXText.
7935 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7937 * gettext.h (gettext_init):
7938 (locale_init): use a real definition instead of a macro
7940 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7942 * Bufferview_pimpl.C:
7944 * LColor.C: further lcolor tidies
7946 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7948 * BufferView_pimpl.C (updateScrollbar): simplify.
7950 * BufferView2.C: don't include insets/insetinfo.h, change
7951 prototype for insertInset and call the Pimpl version. let
7952 updateInset call Pimpl version.
7954 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7955 gotoInset to BufferView::Pimpl
7957 2001-06-01 Juergen Vigna <jug@sad.it>
7959 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7960 inside a LockingInset (is the update needed at all?).
7962 2001-05-31 Juergen Vigna <jug@sad.it>
7964 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7965 here not the old one otherwise how should we compare it afterwards
7968 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7973 * FontInfo.C: bring C functions into global namespace when
7976 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7978 * LString.h: make sure config.h has been loaded before LString.h.
7980 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7981 (one for each char read by EatLine!).
7983 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7986 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7988 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7989 to the same as the par we break from
7991 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7993 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7995 * MenuBackend.C (expand): also create menu entries for wide
7996 versions of the floats.
7998 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8000 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8002 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8003 frontends/Makefile.am
8009 * tabular.C (getTokenValue): add std::
8011 * tabular-old.C (getTokenValue): add std::
8012 (getTokenValue): ditto
8013 (getTokenValue): ditto
8015 * screen.C (ToggleSelection): adjust
8017 * lyxtext.h: put selection cursors inside a Selection struct.
8019 * lyxfunc.C (moveCursorUpdate): adjust
8021 * lyxfont.C (latexWriteStartChanges): add std::
8025 * font.h: delete with(char const *, LyXFont const &)
8027 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8029 * FontInfo.C (getFontname): add std::
8031 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8032 (workAreaButtonPress): adjust
8033 (tripleClick): adjust
8035 (moveCursorUpdate): adjust
8038 * BufferView2.C (gotoInset): adjust
8040 2001-05-30 Juergen Vigna <jug@sad.it>
8042 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8043 to check pspell I add this as default as I now have new pspell
8044 libraries and they seem to use this.
8046 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * text2.C (CutSelection): make the cursor valid before the call to
8051 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8053 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8054 relied on 0 terminated strings and other horrors. Bug found due to
8055 the new assert in lyxstring!
8057 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8060 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8062 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8065 * lyxfunc.C (processKeySym): change method of getting to the
8068 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8069 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8070 * BufferView_pimpl.[Ch]: here as private methods.
8072 2001-05-28 Juergen Vigna <jug@sad.it>
8074 * text.C (SetHeightOfRow): added the update() call again as it is
8075 needed to initialize inset dimensions!
8077 2001-05-16 Juergen Vigna <jug@sad.it>
8079 * text2.C (SetCharFont): Add new function with BufferView * and
8080 bool toggleall parameters for setting insets internal fonts.
8081 (SetFont): Freeze the undo as we may change fonts in Insets and
8082 all this change should be inside only one Undo!
8084 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8085 setting font's in insets as for them we have the SetFont function!
8087 2001-05-15 Juergen Vigna <jug@sad.it>
8089 * text2.C (ClearSelection): to be sure we REALLY don't have any
8092 * tabular.C (TeXCellPreamble): fixed the left border problem for
8095 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8097 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8100 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8103 LFUN_BREAKPARAGRAPH.
8105 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8106 help test to "internal only", similar for LFUN_INSERT_URL
8108 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8109 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8110 auto_region_delete and deadkeys.
8112 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8115 * LColor.C: remove some dead entries, tidy a little
8117 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8119 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8121 (Dispatch): implement LFUN_ESCAPE
8123 * commandtags.h: add LFUN_ESCAPE
8125 * LyXAction.C (init): add entry for LFUN_ESCAPE
8127 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8128 Remove commented code.
8129 (insertNote): moved here
8130 (open_new_inset): moved here
8132 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8135 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8137 * kbmap.C (findbinding): clean it up and make it work correctly.
8139 * lyx_main.C (init): do not pass argc and argv as parameters
8141 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8143 * buffer.C: fix path for OS/2 & Win32
8147 * lyx_main.C: Added os:: class.
8149 * os2_defines.h: update
8151 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8153 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8154 better by trying again with reduced state.
8156 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8158 * lyxrc.C (read): print error about invalid key sequence only when
8159 debugging (because not all latinX keysyms are known to some X
8162 * kbsequence.C (getiso): add a few std:: qualifiers
8163 (getiso): comment out extra return statement.
8165 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8167 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8169 (Dispatch): enhance the accent inset a bit. (not perfect)
8171 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8173 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8175 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * bufferlist.C (emergencyWrite): fix assert() call
8179 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8181 * text.C (InsertChar): Added trivial patch to only send the "you
8182 can not do multiple spaces this way" message once during a
8185 2001-05-08 Baruch Even <baruch@lyx.org>
8187 * Makefile.am: Changed order of libraries to get LyX to link properly
8188 with the gnome frontend.
8190 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * LaTeXFeatures.h: add a std:: qualifier
8194 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8196 * paragraph.C (String): use stringstream
8198 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8200 * paragraph.C (writeFile): remove footflag arg
8202 * buffer.C (makeLaTeXFile): use stringstream
8203 (latexParagraphs): remove footnot gurba
8205 * LaTeXFeatures.C (getPackages): use stringstream
8206 (getMacros): likewise
8207 (getTClassPreamble): likewise
8208 (getFloatDefinitions): new method
8210 * paragraph.C (writeFile): reindent
8213 * WorkArea.h: revert the xpos + etc changes.
8215 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8217 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8219 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8220 (pasteSelection): likewise
8221 * text2.C (CreateUndo): likewise
8223 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * minibuffer.C (peek_event): temporarily reduce the functionality
8226 of the minibuffer (to allow args on lfuns)
8228 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8229 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8231 * buffer.C (readInset): add compability reading of old float
8232 lists, add reading of new style float list.
8233 (readInset): avoid reevaluation of inscmd.getCmdName()
8234 (getLists): reindent
8236 * MenuBackend.C (MenuItem): implement parsing of
8237 md_floatlistinsert and md_floatinsert.
8238 (expand::LastFiles): move initalizaton of iterators out of loop,
8240 (expand::Documents): introduce typdedef vector<string> Strings,
8242 (expand::ExportFormats): introduce typedef vector<Format const *>
8243 Formats, and use it.
8244 (expand): implement FloatListInsert and FloatInsert.
8246 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8247 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8248 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8250 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8252 (Dispatch::LFUN_FLOAT_LIST): implement
8254 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8256 * LaTeX.C (run): Fix problem with --export code.
8258 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8260 * BufferView.[Ch] (workarea): removed.
8261 (getClipboard) new method; wrapper for workarea()->getClipboard()
8263 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8266 * WorkArea.h (width, height, xpos, ypos): These methods all
8267 returned the dimensions of the work_area sub-area of WorkArea,
8268 resulting in a position error if the WorkArea were resized. Now
8269 return the dimensions of the entire WorkArea.
8271 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8273 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8275 * LaTeX.C (deplog): correct the syntax of regex reg1
8277 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8279 * undo.C: remove !NEW_INSETS cruft
8281 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8283 * text2.C: remove !NEW_INSETS cruft
8285 * text.C: remove !NEW_INSETS cruft
8287 * tabular.C: remove !NEW_INSETS cruft
8289 * spellchecker.C: remove !NEW_INSETS cruft
8291 * lyxtext.h: remove !NEW_INSETS cruft
8293 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8295 * lyxfunc.C: remove !NEW_INSETS cruft
8297 * lyxfind.C: remove !NEW_INSETS cruft
8299 * lyx_cb.C: remove !NEW_INSETS cruft
8301 * figureForm.C: remove !NEW_INSETS cruft
8303 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8305 * buffer.[Ch]: remove !NEW_INSETS cruft
8307 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8309 * CutAndPaste.C: remove !NEW_INSETS cruft
8311 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8313 * BufferView2.C: remove !NEW_INSETS cruft
8315 * BufferView.h: remove !NEW_INSETS cruft
8317 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8319 * Lsstream.h: include LString.h before the sstream headers to
8320 fix problem with gcc 2.95.3 and lyxstring
8322 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * lyx_main.C: add using directives when needed for C functions
8325 declared in std:: namespace.
8327 2001-04-27 Juergen Vigna <jug@sad.it>
8329 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8330 (SetHeightOfRow): comment out the update call should not be needed!
8332 2001-04-13 Juergen Vigna <jug@sad.it>
8334 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8335 (LyXTabular): tried to minimize operator= operations (and realized
8336 hopfully Lars wish).
8338 2001-04-27 Juergen Vigna <jug@sad.it>
8340 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8342 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8346 * buffer.C (readInset): hack to make listof algorithm work
8348 * BufferView_pimpl.C: hack to make listof algorithm work
8350 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * LyXAction.C: removed all !NEW_INSETS cruft
8353 (init): moved lfun_item in method
8355 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8357 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8359 * BufferView2.C (theLockingInset): white space.
8361 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * minibuffer.C: include <iostream>
8365 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8367 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8369 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8371 * text.[Ch] (TransposeChars): new method
8373 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * call message directly through LyXView instead of through LyXFunc
8376 * BufferView2.C: adjust
8377 * BufferView_pimpl.C: adjust
8378 * FontLoader.C: adjust
8380 * bufferview_funcs.C: adjust
8381 * converter.C: adjust
8382 * figureForm.C: adjust
8383 * importer.C: adjust
8385 * lyx_gui_misc.C: adjust
8389 + more files in subdirs
8391 * lyxparagraph.h (size): move up int file
8394 * adjust all uses of Assert to lyx::Assert.
8396 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8397 lyxfunctional in namespace lyx
8398 * layout.C (hasLayout): ditto
8401 (delete_layout): ditto
8402 (NumberOfClass): ditto
8403 * converter.C (GetFormat): ditto
8408 * bufferlist.C (getFileNames): ditto
8409 (emergencyWriteAll): ditto
8412 * MenuBackend.C (hasSubmenu): ditto
8415 * BufferView_pimpl.C (getInsetByCode): ditto
8417 2001-04-18 Juergen Vigna <jug@sad.it>
8419 * vspace.C (asLatexString): fixed the 100% problem.
8421 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * lyxfunc.C (Dispatch):
8425 * minibuffer.h: add a few std:: qualifiers
8427 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * minibuffer.[Ch]: reimplement so that commands is initiated and
8430 run from lyxfunc, simplified som handling, and made the completion
8431 and history code for complete. wip.
8433 * lyxfunc.C (processKeySym): call message
8434 (miniDispatch): new temporary method
8435 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8436 (LFUN_MESSAGE): implement
8437 (LFUN_MESSAGE_PUSH): implement
8438 (LFUN_MESSAGE_POP): implement
8439 (initMiniBuffer): the initial/defualt minibuffer message.
8441 * lyxfont.[Ch]: inline some more getters
8443 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8445 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8447 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8448 (AutoSave): use LFUN_MESSAGE
8449 (Reconfigure): ditto
8451 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8453 * figureForm.C: use LFUN_MESSAGE
8455 * converter.C (runLaTeX): use LFUN_MESSAGE
8457 * bufferview_funcs.C: use LFUN_MESSAGE
8459 (changeDepth): ditto
8461 * bufferparams.h: use boost::
8463 * bufferlist.h: inherit privately from noncopyable
8465 * bufferlist.C (loadLyXFile): remove some commented code.
8467 * buffer.C (runChktex): use LFUN_MESSAGE
8469 * ShareContainer.h: inherit privately from noncopyable
8471 * ParagraphParameters.[hC] (depth): inline it.
8473 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8475 (message): new method
8476 (messagePush): ditto
8478 (show): init minibuffer
8479 (showState): direct call
8481 * LaTeX.[Ch]: inherit privately from noncopyable
8482 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8483 instead of WriteStatus.
8485 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8487 * BufferView_pimpl.C (buffer): don't init minibuffer
8488 (workAreaButtonPress): use LFUN_MESSAGE
8489 (workAreaButtonRelease): ditto
8490 (savePosition): ditto
8491 (restorePosition): ditto
8492 (MenuInsertLyXFile): ditto
8493 (workAreaExpose): don't init minibuffer
8494 (update): remove commented code, simplify
8496 * BufferView2.C (openStuff): use LFUN_MESSAGE
8497 (toggleFloat): ditto
8500 (copyEnvironment): ditto
8501 (pasteEnvironment): ditto
8506 (updateInset): remove some commented code
8508 * lastfiles.h: inherit privately from noncopyable
8513 * lyxlex_pimpl.h: ditto
8515 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8516 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8517 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8519 * LyXAction.h: inherit privately from noncopyable, add methods
8520 func_begin, func_end, returning iterators to the func map.
8522 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8523 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8524 (func_begin): new method
8525 (func_end): new method
8527 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8529 (copySelection): ditto
8530 (pasteSelection): ditto
8532 * BufferView.C: whitespace change
8533 * BufferView.h: inherit privately from noncopyable
8535 2001-04-16 Allan Rae <rae@lyx.org>
8537 * tabular-old.C (l_getline):
8538 * spellchecker.C (sc_check_word):
8539 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8540 an unrecognised preprocessor directive. So ensure they're wrapped.
8542 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8544 * src/exporter.C (Export): Give an error message when path to file
8547 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8549 * LaTeX.C (deplog): Always check that foundfile exists.
8551 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8556 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * tabular.[Ch] (getLabelList): implement new method
8560 * minibuffer.h: comment ouf setTiimer
8562 * minibuffer.C (ExecutingCB): constify res
8563 (peek_event): constify s
8564 (Set): constify ntext
8565 (Init): constify nicename
8567 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8569 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8570 (savePosition): use two params to Minibuffer::Set
8571 (restorePosition): ditto
8573 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * lyx_main.C: include language.h
8577 * Makefile.am (lyx_main.o): add language.h
8579 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * CutAndPaste.C: include gettext.h
8587 * lyxfont.h: remove old hack with ON and OFF.
8590 * lyxfont.h: do not include language.h...
8595 * bufferview_funcs.C:
8601 * paragraph.C: ... but do it here instead
8603 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8607 * tabular.C: small reformat
8609 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8612 (BreakParagraph): ditto
8613 (SetOnlyLayout): ditto
8616 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8619 * lastfiles.C: removed most using decl, add std:: where needed
8621 * buffer.C: ws changes
8623 * MenuBackend.C (class compare_format): put into anon namespace
8624 (expand): constify label, names, action, action2
8627 * text.C (SingleWidth): constify font
8628 (IsBoundary): constify rtl2
8629 (GetVisibleRow): constify ww
8631 * LaTeX.C (deplog): constify logfile
8633 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8635 (workAreaExpose): constify widthChange, heightChange
8637 * lyxrow.C (par): moved
8640 * lyxrow.h: as inlines here
8642 * lyxfont.h (shape): moved from lyxfont.C
8643 (emph): moved from lyxfont.C
8645 * lyxfont.C (LyXFont): use initialization list for all
8647 (shape): move to lyxfont.h as inline
8648 (emph): move to lyxfont.h as inline
8651 2001-04-04 Juergen Vigna <jug@sad.it>
8653 * vspace.C: had to include stdio.h for use of sscanf
8655 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8658 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8659 independent of xforms.
8661 2001-04-02 Juergen Vigna <jug@sad.it>
8663 * spellchecker.C: fixed namespace placing!
8665 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8667 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8668 the LyXParagraph * is 0.
8670 2001-03-29 Juergen Vigna <jug@sad.it>
8672 * vspace.C: added support for %, c%, p%, l%.
8673 (stringFromUnit): added helper function.
8674 (asLatexString): changed to give right results for the %-values.
8676 * buffer.C: convert the widthp in a width%.
8678 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8680 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8683 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8684 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8686 * lyx_cb.[Ch]: see above.
8688 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8692 * lyx.[Ch]: replaced by figure_form.[Ch].
8696 * lyxfunc.C: changed headers associated with above changes.
8698 2001-03-27 Juergen Vigna <jug@sad.it>
8700 * BufferView_pimpl.C: set the temporary cursor right!
8702 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8704 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8706 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8708 * LString.h: removed "using std::getline"!
8710 * BufferView_pimpl.C (Dispatch): changes due to changes in
8711 InsetInclude::Params.
8713 * buffer.C (tag_name): removed redundant break statements as they were
8714 producing lots of warnings with my compiler.
8716 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8718 * LString.h: add "using std::getline" when using the real <string>.
8720 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8722 * buffer.C: removed bitset usage.
8723 PAR_TAG moved to an anonymous name space.
8724 (tag_name): new funtion, also in the anonymous namespace.
8725 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8726 (makeDocBookFile): clean code. Completed transition from string arrays
8728 (SimpleDocBookOnePar): code clean.
8730 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8732 * tabular.C: add some comments.
8734 2001-03-22 Juergen Vigna <jug@sad.it>
8736 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8737 compatibility read a bit and fixed bug with minipage in different
8740 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8742 * buffer.C (pop_tag): removed.
8743 (push_tag): removed.
8744 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8745 array replaced with vector. Added support for CDATA sections.
8746 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8748 (makeDocBookFile): XML conformant declaration of CDATA section,
8749 fixed bug related to <emphasis> in the first paragraph char.
8750 (sgmlOpenTag): exclude empty tags.
8751 (sgmlCloseTag): ditto.
8753 * buffer.h (pop_tag): removed.
8754 (push_tag): removed.
8756 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8758 * language.h (Languages): added size_type and size().
8760 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8762 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8763 response on compability reading of minipages. One probliem is that
8764 the old usage of minipages was «flertydig»
8766 * several files here and in subdirs: don't use static at file
8767 scope use anon namespaces instead.
8769 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8771 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8772 LaTeX output. This is necessary for Literate document
8775 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8777 * buffer.C: insert hfill when needed.
8779 * tabular.C (l_getline): use string::erase, small whitespace change.
8781 * BufferView_pimpl.C: try the anon namespace.
8784 2001-03-16 Juergen Vigna <jug@sad.it>
8786 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8787 otherwise it won't open options-dialogs.
8789 * buffer.C: honor pextraWidth(p) on converting minipages.
8791 * tabular.C (l_getline): changed the functions to strip trailing \r.
8793 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8795 * BufferView_pimpl.C:
8796 * minibuffer..C: added "using SigC::slot" declaration.
8798 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8800 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8806 * paragraph.C: ditto
8808 * lyxtext.h: NO_PEXTRA
8810 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8812 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8813 * ParameterStruct.h: ditto
8814 * ParagraphParameters.h: ditto
8815 * lyxparagraph.h: ditto
8817 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8819 * buffer.C: add compability for minipage alignment.
8820 (latexParagraphs): remove unwanted pextra check.
8822 * several files: remove CXX_WORKING_NAMESPACES
8824 * buffer.C (pop_tag): tie is in namespace boost
8826 * BufferView.h: noncopyable is in namespace boost
8831 * lastfiles.h: ditto
8832 * bufferlist.h: ditto
8833 * ShareContainer.h: ditto
8835 * LyXAction.h: ditto
8838 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8840 * Merging changes from BRANCH_MVC back into HEAD.
8842 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8844 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8846 * BufferView_pimpl.C: change from intl.C
8850 * Makefile.am: move combox.*
8856 * intl.C: remove dialog (covered by prefs)
8858 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8860 * lyxfunc.C (Dispatch): removed redundant break statement.
8862 2001-03-14 Juergen Vigna <jug@sad.it>
8864 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8866 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8868 * buffer.C: add hack to fix compability reading of minipages.
8870 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8872 * buffer.C (getLists): Cleanup.
8874 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8876 * lyxfont.C (update): don't honor toggleall on font size.
8878 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8882 * Makefile.am: moved to frontends/xforms/
8886 * BufferView_pimpl.C: changes for moved mathpanel
8888 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8890 * gettext.h: fix gettext_init() in --disable-nls
8892 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8894 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8896 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8899 * lyx.h: strip external form
8901 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8903 * BufferView_pimpl.C: add comment, destroySplash()
8905 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8907 * BufferView_pimpl.C:
8911 * lyxfunc.C: use re-worked insetinclude
8913 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8915 * buffer.C: add using std::stringstream.
8917 * lyx_cb.C: readd using std::ios.
8919 * buffer.C: add using std::map.
8921 * BufferView_pimpl.C: add using std::vector.
8923 * ShareContainer.h: add std:: to swap.
8925 * buffer.h: add some typedefs
8926 * buffer.C (getLists): use them
8927 (getLists): renamed from getTocList.
8928 add a counter for the different float types and use it in the
8930 (getLists): use the same counter for the NEW_INSETS and the "non"
8933 * lyx_cb.h: remove unused items, includes, using etc.
8935 * ShareContainer.h: remove some commented code, add more comments
8936 and "documentation".
8938 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8940 * buffer.C (getTocList): make the list also when NEW_INSETS is
8943 * buffer.h: remove TocType
8945 * buffer.C (getTocList): change to return a map<string,
8946 vector<TocItem> >, implement for dynamic number of list.
8948 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8949 * text2.C (PasteSelection): adjust
8950 * CutAndPaste.C (pasteSelection): adjust
8952 * FloatList.C (FloatList): update from the new_insets branch.
8953 * Floating.[Ch]: ditto
8954 * LaTeXFeatures.C: ditto
8956 * lyxlex_pimpl.C: ditto
8958 * paragraph.C (Last): remove when NEW_INSETS is defined.
8960 * other file: changes because of the above.
8962 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8964 * lyxparagraph.h: rename next to next_, previous to previous_,
8965 make them private for NEW_INSETS. Rename Next() to next(),
8966 Previous() to previous().
8968 * other files: changes because of the above.
8970 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8973 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8976 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * main.C (main): pass lyx_localedir to gettext_init().
8980 * gettext.h: remove locale_init and gettext_init macros
8982 * gettext.C (locale_init): new function
8983 (gettext_init): new function
8985 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8988 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8990 * Moved credits to frontends:
8991 * credits.[Ch]: removed
8992 * credits_form.[Ch]: removed
8993 * lyx_gui_misc.C: remove credits stuff
8996 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8998 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9000 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9001 unneeded destructor.
9003 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9004 a standalone pointer again.
9006 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9008 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9014 * ToolbarDefaults.C:
9023 * BufferView_pimpl.C: use new file dialog in GUII
9026 * lyx_cb.C: remove LayoutsCB to Toolbar
9028 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9030 * ShareContainer.h (get): add std:: qualifier
9032 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9034 * ShareContainer.h: define a proper ShareContainer::value_type
9035 type (and use typename to please compaq cxx)
9037 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9039 * lyxparagraph.h: move serveral local vars to
9040 ParameterStruct/ParagraphParameters., use ShareContainer in
9041 FontTable., make vars in FontTable private and add getter and
9044 * paragraph.C: changes because of the above.
9046 * lyxfont.h: remove copy constructor and copy assignment. (the
9047 default ones is ok), move number inside FontBits. move inlines to
9050 * lyxfont.C: add number to initializaton of statics, move several
9051 inlines here. constify several local vars. some whitespace
9052 cleanup. Dont hide outerscope variables.
9054 * Spacing.h: add two new constructors to match the set methods.
9056 * ShareContainer.h: new file, will perhaps be moved to support
9058 * ParameterStruct.h: new file
9060 * ParagraphParameters.h: new file
9062 * ParagraphParameters.C: new file
9064 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9065 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9067 * BufferView_pimpl.C: ParagraphParameter changes.
9068 * buffer.C: Likewise.
9069 * bufferview_funcs.C: Likewise.
9071 * text2.C: Likewise.
9073 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * lyxfind.C (LyXReplace): do not redefine default argument in
9077 (IsStringInText): ditto
9078 (SearchForward): ditto
9079 (SearchBackward): ditto
9081 2001-03-06 Juergen Vigna <jug@sad.it>
9083 * lyxfind.C (IsStringInText): put parentes around expressions.
9085 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9087 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9089 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9091 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9093 * stl_string_fwd.h: add comment
9095 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9098 * tabular.C: remove unused DocBook methods
9104 killed DO_USE_DEFAULT_LANGUAGE
9106 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9108 * lyx_gui.C: do not include language.h.
9110 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9111 arguments in function implementation.
9113 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9115 * BufferView_pimpl.C: add <ctime>
9117 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9119 * BufferView_pimpl.C: add using std::find_if
9121 2001-02-27 José Matos <jamatos@fep.up.pt>
9123 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9126 2001-02-11 José Matos <jamatos@fep.up.pt>
9128 * buffer.C (makeDocBookFile): command styles now have a parameter as
9131 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9133 * layout_forms.[Ch]: removed
9134 * lyx_cb.[Ch]: out character
9135 * lyx_gui.C: out character
9136 * lyx_gui_misc.C: out character
9137 * bufferview_funcs.C: : out character,
9138 added toggleall as parameter in ToggleAndShow
9140 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9142 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9144 * text2.C (SetCurrentFont): Disable number property at boundary.
9146 2001-02-26 Juergen Vigna <jug@sad.it>
9148 * lyxfunc.C (getStatus): added a string argument override function so
9149 that this is correctly called from LyXFunc::Dispatch if it contains a
9150 do_not_use_argument which is used!
9151 (Dispatch): added check for "custom" export and call appropriate func.
9153 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9155 * lyxrc.C: Add language_command_local, language_use_babel and
9156 language_global_options.
9158 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9160 * buffer.C (makeLaTeXFile): Use language_use_babel and
9161 language_global_options.
9163 2001-02-23 Juergen Vigna <jug@sad.it>
9165 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9166 which works with LyXText and putted it inside BufferView. Here now we
9167 only call for that part the BufferView::Dispatch() function.
9169 * BufferView.C (Dispatch): added.
9171 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9172 functions which needs to use a LyXText over from LyXFunc.
9173 (MenuInsertLyXFile): added
9174 (getInsetByCode): added
9175 (moveCursorUpdate): added
9176 (static TEXT): added
9178 2001-02-22 Juergen Vigna <jug@sad.it>
9180 * BufferView_pimpl.C (update): call a status update to see if LyXText
9183 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9185 * vc-backend.C (revert): implement for CVS
9186 (getLog): implement for CVS
9188 2001-02-20 Juergen Vigna <jug@sad.it>
9190 * text2.C (ClearSelection): added BufferView param for inset_owner call
9192 * lyxfunc.C (TEXT): added this function and use it instead of
9193 directly owner->view()-text of getLyXText().
9195 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9197 * src/layout_forms.C: out preamble
9198 * src/layout_forms.h: out preamble
9199 * src/lyx_cb.C: out preamble
9200 * src/lyx_cb.h: out preamble
9201 * src/lyx_gui.C: out preamble
9202 * src/lyx_gui_misc.C: out preamble
9203 * src/lyxfunc.C: connect with guii preamble
9205 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9207 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9209 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9211 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9212 whether to run bibtex.
9214 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9216 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9218 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9220 * Makefile.am (lyx_SOURCES): removed bibforms.h
9224 * text.C (GetVisibleRow): make several local vars const
9226 * tabular.C: small cleanup.
9228 * lyxserver.C (callback): use compare instead of strncmp
9230 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9231 inlines to after class or to paragraph.C
9233 * lyxfont.h: remove friend operator!=
9235 * converter.h: move friend bool operator< to non friend and after
9238 * combox.h: small cleanup
9240 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9241 to inlines after class def.
9243 * buffer.C (pop_tag): use string operations instead of strcmp
9245 * bmtable.c: doxygen, small cleanup
9247 * LaTeX.h: remove friend operator==
9249 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9261 * BufferView_pimpl.C:
9262 * BufferView.[Ch]: remove cruft
9264 2001-02-14 Juergen Vigna <jug@sad.it>
9266 * lyxfunc.C: removed #if 0 unused code
9268 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9270 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9272 * text2.C (SetSelection): added a BufferView * parameter
9274 2001-02-13 Juergen Vigna <jug@sad.it>
9276 * lyxfunc.C (Dispatch): fixed protected blank problem.
9277 * BufferView2.C (protectedBlank): added LyxText * parameter.
9279 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9280 (AppendColumn): same as above for column_info.
9282 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9283 (moveCursorUpdate): use a LyXText param for support of InsetText.
9285 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9286 (tripleClick): ditto
9288 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9290 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9292 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9294 * text2.C (SetSelection): set correct update status if inset_owner
9297 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9299 * tabular.C: remove some commented code.
9301 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9303 * BufferView_pimpl.C: call hideSplash()
9305 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9308 * bibforms.h: remove
9311 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9312 add LFUN_CHILD_CREATE
9314 * counters.h: fix tiny typo
9319 * lyx.C: move splash to frontends/xforms/
9321 * lyx_gui_misc.C: move Include and Bibform to frontends
9323 * lyxvc.h: clarify comment
9325 * vspace.C: tiny housekeeping
9327 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9329 * text.C (PrepareToPrint): RTL Fix.
9331 * paragraph.C (GetUChar): New method.
9332 (String): Use GetUChar.
9334 * buffer.C (asciiParagraph): Use GetUChar.
9336 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9338 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9340 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9343 * buffer.C: rename to getLogName(), handle
9344 build log / latex log nicely
9346 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9349 * MenuBackend.h: remove support for reference menuitem type.
9351 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9353 * BufferView_pimpl.C: housekeeping
9354 * BufferView_pimpl.h:
9359 * minibuffer.h: move Timeout GUI-I
9361 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9363 * lyxrc.C (read): Update converters data-structures.
9365 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9367 * LaTeX.h (operator!=): add operator != for Aux_Info
9369 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9371 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9373 * LaTeXLog.C: deleted, useful code moved to Buffer
9376 * buffer.C: new function getLatexLogName()
9382 * lyxfunc.C: use frontends for LaTeX and VC logs
9384 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9386 * LaTeX.h: yet another std:: that Allan forgot.
9388 * Variables.C (set): renamed from isset(), because this clashes
9389 with some HP-UX macros (grr).
9391 2001-02-06 Allan Rae <rae@lyx.org>
9393 * LaTeX.h: Another bug fix. Missing std:: this time.
9395 2001-02-04 Allan Rae <rae@lyx.org>
9397 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9398 floats problem. I've left it commented out because it's not quite
9399 correct. It should also test that the current object is a table or
9400 figure inset. But I haven't gotten around to figuring out how to do
9401 that. I *think* it'll be something like: "table" == inset.type()
9403 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9406 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9408 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9409 all the citation/databases/styles in the auxilary file.
9410 (run): Rerun latex if there was a babel language error.
9412 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9414 * text.C (Backspace): Preserve the font when changing newline char
9416 (BreakParagraph): If the cursor is before a space, delete the space.
9418 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9420 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9422 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9423 new argument (code).
9424 (ChangeCitationsIfUnique): New method.
9426 * paragraph.C (GetPositionOfInset): Handle bibkey.
9428 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9430 * BufferView_pimpl.h: change type of Position::par_pos to
9431 LyXParagraph::size_type.
9433 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9435 * BufferView_pimpl.C (savePosition, restorePosition): Write
9436 messages to minibuffer.
9438 2001-01-28 José Matos <jamatos@fep.up.pt>
9440 * buffer.C (makeDocBookFile): adds support for document language.
9441 A silly restriction on the name of LatexCommand types where removed.
9442 Added support for CDATA sections, allows to chars unescaped, used
9443 among others in code, to avoid escape < and >.
9445 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9447 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9448 saved positions instrad of a stack. Furthermore, a position is
9449 stored using paragraph id/paragraph position.
9451 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9452 Remove LFUN_REF_BACK.
9454 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9456 * converter.C (dvipdfm_options): New method.
9458 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9460 * vspace.C (isValidLength): Fix for empty input string.
9462 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9464 * LyXAction.C (init): change description of LFUN_FIGURE to
9467 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9469 * LaTeX.C: add using directive
9471 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9473 * MenuBackend.C (expand): Fix the sorting of the formats.
9475 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9477 * lyx_main.C: tiny error message fix
9479 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9481 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9482 calling fl_initialize(). This fixes the problem with ',' as
9483 decimal separator in text files.
9485 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9487 * trans.C (process): Fix the keymap bug.
9489 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9491 * LaTeX.C (scanAuxFiles): New method. Provides support for
9492 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9493 (scanLogFile) Scan for "run BibTeX" messages.
9495 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9496 OT1 font encoding. Also, load the aecompl package if the ae
9499 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9501 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9503 * texrow.C (increasePos): turn two error messages into debug
9506 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9508 * LaTeX.C (scanAux): Handle the \@input macro.
9509 (runBibTeX): Use scanAux().
9511 * language.C (latex_options_): New field.
9513 * LaTeXFeatures.C (getMacros): Add language macros.
9515 * buffer.C (makeLaTeXFile): Small fix.
9517 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9519 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9521 * text2.C: add a using directive.
9523 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9528 * lyxfunc.C: kill LyXBell.
9530 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9532 * text.C (IsBoundary): Remove the error message
9534 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9536 * lyxrc.C (setDefaults): Correct initialization value for
9539 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9541 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9544 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9547 * src/LyXAction.C: Added reference-next.
9549 * text.C (InsertChar): Use contains instead of strchr.
9551 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9553 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9555 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9556 alignment commands (when needed).
9558 * text.C (InsertChar): Add ':' to number separator chars.