1 2003-03-23 John Levon <levon@movementarian.org>
3 * Makefile.am: fix commandtags.h reference
5 2003-03-22 John Levon <levon@movementarian.org>
12 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
14 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
17 * text.C: take the rtl methods out of line
19 2003-03-21 André Pönitz <poenitz@gmx.net>
21 * metricsinfo.[Ch]: new files containing structures to be passed around
22 during the two-phase-drawing...
24 2003-03-21 André Pönitz <poenitz@gmx.net>
26 * lyxtextclass.C: read 'environment' tag.
28 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
30 * text2.C (removeRow): fix bug 964
32 2003-03-20 John Levon <levon@movementarian.org>
36 * text2.C: paint cleanups. Inset::update() dropped font
39 2003-03-19 John Levon <levon@movementarian.org>
41 * lyxfunc.C: only fitcursor/markDirty if available()
43 2003-03-19 John Levon <levon@movementarian.org>
45 * commandtags.h: rename to ...
47 * lfuns.h: ... this, and renumber / cleanup
49 2003-03-19 John Levon <levon@movementarian.org>
51 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
52 fit the cursor after an lfun
57 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
59 * LyXAction.C: layout-character should have ReadOnly
61 * ParagraphParameters.C:
70 * undo_funcs.C: changes from above
72 2003-03-18 John Levon <levon@movementarian.org>
74 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
75 remove it from update()
77 * lyxfunc.C: update layout choice after an lfun
79 * text3.C: remove extra updateLayoutChoice()s
81 2003-03-18 John Levon <levon@movementarian.org>
83 * text.C: top_y change means full repaint, fix
84 a drawing bug with cursor movement
86 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
90 * text2.C: anchor row on setCursor
92 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
94 * lyxtext.h: remove almost all mutable keywords
97 * text3.C: remove const keywords accordingly
99 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
103 (TeXEnvironment): ditto
106 2003-03-17 John Levon <levon@movementarian.org>
108 * text.C (rowBreakPoint): remove attempt to fix displayed
109 math insets inside a manual label
111 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
113 * lyxtext.h: remove BufferView* as first arg from almost all class
115 * other files: adjust.
117 2003-03-17 John Levon <levon@movementarian.org>
121 * text2.C: more paint cleanups
123 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
126 * rowpainter.C: remove "smart" background painting code
128 2003-03-16 John Levon <levon@movementarian.org>
133 * text3.C: add helper functions for setting refresh_row/y
135 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
137 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
138 newline inset which *can* get inserted in the pass_thru layouts.
139 This is primarily for literate documents.
141 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
143 * buffer.C: increment LYX_FORMAT to 223
145 2003-03-14 André Pönitz <poenitz@gmx.net>
147 * textclass.h: prepare for environment handling, ws changes
148 * lyxlayout.C: read latexheader and latexfooter tags
150 2003-03-14 John Levon <levon@movementarian.org>
152 * text2.C: rewrite ::status() a bit
154 2003-03-13 John Levon <levon@movementarian.org>
156 * lyxtext.h: add some docs
158 2003-03-13 John Levon <levon@movementarian.org>
163 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
165 2003-03-13 John Levon <levon@movementarian.org>
167 * text3.C: fix appendix redrawing
169 2003-03-13 John Levon <levon@movementarian.org>
171 * text.C (setHeightOfRow):
173 * rowpainter.C: make appendix mark have the text
174 "Appendix" so the user knows what it is
177 * LColor.C: s/appendixline/appendix/ from above
179 2003-03-13 John Levon <levon@movementarian.org>
181 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
183 * text.C: fix a getChar(pos) bug properly
185 2003-03-13 Angus Leeming <leeming@lyx.org>
188 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
189 Probably only temporary. Let's see how things pan out.
191 * BufferView.C (unlockInset):
192 * BufferView_pimpl.C (fitCursor):
193 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
195 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
196 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
198 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
199 new functions that convert ParagraphParameters to and from a string.
201 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
202 BufferView::Pimpl's dispatch.
203 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
205 2003-03-13 André Pönitz <poenitz@gmx.net>
209 * factory.C: make it aware of InsetEnv
211 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
213 * text2.C (setCursor): never ask for one past last
214 (setCursor): add some debugging messages.
216 * text.C (singleWidth): never ask for one past last
220 (rowBreakPoint): ditto
221 (setHeightOfRow): ditto
222 (prepareToPrint): ditto
224 * rowpainter.C (paintBackground): never ask for one past last
225 (paintText): never ask for one past last
227 * paragraph_pimpl.C (getChar): make the assert stricter, never
228 allow the one past last pos to be taken
230 * paragraph.C (getChar): ws changes only
232 * lyxrow.C (nextRowIsAllInset): never ask for one past last
233 (numberOfSeparators): ditto
234 (numberOfHfills): ditto
236 2003-03-12 John Levon <levon@movementarian.org>
242 * paragraph_funcs.C: fix per-buffer authorlists
244 2003-03-12 John Levon <levon@movementarian.org>
246 * text.C: fix newline in right address
248 2003-03-12 Angus Leeming <leeming@lyx.org>
250 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
251 duplicate those in LyXFunc::dispatch.
256 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
257 Add LFUN_FONTFREE_UPDATE.
259 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
260 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
262 * bufferview_func.[Ch]: several new functions to facilliate
263 transfer of data to and from the character dialog.
265 2003-03-12 John Levon <levon@movementarian.org>
275 * text3.C: remove META_NEWLINE in favour of an inset
278 * rowpainter.C: remove paintNewline (done by inset)
280 2003-03-12 John Levon <levon@movementarian.org>
282 * paragraph_pimpl.C: complain about bad getChar()s
285 2003-03-12 John Levon <levon@movementarian.org>
288 * buffer.C: move paragraph read into a separate function,
289 a little renaming to reflect that.
292 * bufferparams.C: remove the author_ids map, not necessary now
295 * factory.C: moved Buffer::readInset to here
298 * paragraph_funcs.C: readParagraph free function moved from
301 * tabular.C: name change
303 2003-03-12 John Levon <levon@movementarian.org>
306 * ParagraphParameters.C: move par params input to
309 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
310 behave like a normal read from the stream wrt reading
313 2003-03-12 John Levon <levon@movementarian.org>
316 * ParagraphParameters.h:
317 * ParagraphParameters.C: move output code to a
320 2003-03-12 John Levon <levon@movementarian.org>
322 * BufferView.C (insertLyXFile):
325 * tabular.C: use a parlist iterator for creating the
328 2003-03-12 John Levon <levon@movementarian.org>
330 * buffer.C: make current_change static local not
333 2003-03-12 John Levon <levon@movementarian.org>
335 * buffer.C: fix insertStringAsLines for change tracking
337 2003-03-12 John Levon <levon@movementarian.org>
344 * bufferparams.C: move author list into params. Rename some
345 functions. Move the header reading into a separate token
346 loop. Move the header token reading into BufferParams.
348 2003-03-12 John Levon <levon@movementarian.org>
350 * changes.C: put debug inside lyxerr.debugging() checks
352 2003-03-11 André Pönitz <poenitz@gmx.net>
354 * factory.C: make it aware of InsetHFill
356 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
358 * buffer.C (latexParagraphs): move function from here...
359 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
362 2003-03-10 Angus Leeming <leeming@lyx.org>
364 * LyXAction.C (init): fix bug in poplating array with multiple entries
365 with the same LFUN (spotted by JMarc).
367 2003-03-10 John Levon <levon@movementarian.org>
370 * text2.C: move getColumnNearX() near its
373 2003-03-10 John Levon <levon@movementarian.org>
375 * text.C: fix break before a minipage
377 2003-03-10 John Levon <levon@movementarian.org>
379 * text.C: fix the last commit
381 2003-03-09 John Levon <levon@movementarian.org>
385 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
386 bug 365 (don't break before insets unless needed). Don't
387 return a value > last under any circumstances.
389 2003-03-09 Angus Leeming <leeming@lyx.org>
391 * BufferView_pimpl.C (trackChanges, dispatch): call
392 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
394 2003-03-09 Angus Leeming <leeming@lyx.org>
396 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
397 than Dialogs::showAboutlyx().
399 2003-03-09 Angus Leeming <leeming@lyx.org>
401 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
402 than Dialogs::showTabularCreate().
404 2003-03-09 John Levon <levon@movementarian.org>
408 * text2.C: 3rd arg to nextBreakPoint was always the same.
411 2003-03-08 John Levon <levon@movementarian.org>
418 * text2.C: Remove the "main" bit from the "main body"
421 2003-03-08 John Levon <levon@movementarian.org>
423 * text.C (leftMargin): The left margin of an empty
424 manual label paragraph should not include the label width
427 * text.C (prepareToPrint): don't attempt to measure hfills
428 for empty manual label paragraphs - the answer should be 0
430 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
432 * CutAndPaste.C: remove commented code and reindent.
434 2003-03-08 John Levon <levon@movementarian.org>
437 * lyxfunc.C: move reloadBuffer()
440 * BufferView.C: to here
442 * lyxvc.C: add comment
445 * vc-backend.C: call bv->reload() to avoid
446 getStatus() check on MENURELOAD
448 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
450 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
451 to an old format .dep file.
453 2003-03-07 Angus Leeming <leeming@lyx.org>
455 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
456 when the LFUN_MOUSE_RELEASE should have been handled by
457 inset->localDispatch.
459 2003-03-07 Angus Leeming <leeming@lyx.org>
461 * BufferView_pimpl.C (dispatch):
462 * LyXAction.C (init):
463 * ToolbarDefaults.C (init):
465 * lyxfunc.C (getStatus):
466 remove LFUN_INSET_GRAPHICS.
468 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
470 2003-03-07 Angus Leeming <leeming@lyx.org>
473 * LyXAction.C (init):
474 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
476 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
479 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
481 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
482 localDispatch method LFUN_INSET_DIALOG_UPDATE.
484 2003-03-07 Angus Leeming <leeming@lyx.org>
486 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
489 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * ParagraphList.C (front): new function
494 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
496 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
497 and top_row_offset_. removed var first_y.
499 * text2.C (LyXText, removeRow):
501 * BufferView_pimpl.C:
502 use these methods instead of using first_y
504 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
506 * text2.C (pasteSelection): adjust for checkPastePossible
508 * CutAndPaste.C: remove Paragraph * buf and replace with
509 ParagraphList paragraphs.
510 (DeleteBuffer): delete
511 (cutSelection): change the tc type to textclass_type
512 (copySelection): change the tc type to textclass_type
513 (copySelection): adjust for ParagraphList
514 (pasteSelection): change the tc type to textclass_type
515 (pasteSelection): adjust for Paragraphlist
516 (nrOfParagraphs): simplify for ParagraphList
517 (checkPastePossible): simplify for ParagraphList
518 (checkPastePossible): remove unused arg
520 * ParagraphList.C (insert): handle the case where there are no
523 * CutAndPaste.h: make CutAndPaste a namespace.
525 * text3.C (dispatch): adjust
527 * text.C (breakParagraph): add a ParagraphList as arg
529 * paragraph_funcs.C (breakParagraph): change to take a
530 BufferParams and a ParagraphList as args.
531 (breakParagraphConservative): ditto
532 (mergeParagraph): ditto
533 (TeXDeeper): add a ParagraphList arg
534 (TeXEnvironment): ditto
537 * buffer.C (readLyXformat2): adjust
538 (insertStringAsLines): adjust
539 (latexParagraphs): adjust
541 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
542 (cutSelection): adjust
543 (pasteSelection): adjust
545 * BufferView_pimpl.C (insertInset): adjust
547 2003-03-05 Angus Leeming <leeming@lyx.org>
550 * LyXAction.C (init):
551 * BufferView_pimpl.C (dispatch):
552 * lyxfunc.C (getStatus):
553 remove LFUN_CHILD_INSERT.
555 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
557 2003-03-05 Angus Leeming <leeming@lyx.org>
560 * LyXAction.C (init):
561 * src/factory.C (createInset):
562 * lyxfunc.C (getStatus):
563 * text3.C (dispatch):
564 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
566 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
568 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * ParagraphList.C (insert): handle insert right before end()
571 (erase): fix cases where it can be first or last paragraph.
573 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * paragraph_funcs.C (TeXEnvironment): remove all usage of
576 Paragraph::next and Paragraph::previous
579 * text.C (breakParagraph): adjust
581 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
582 BufferParams& as arg.
583 (breakParagraph): use ParagraphList::insert
584 (breakParagraphConservative): take a Buffer* instead of a
585 BufferParams& as arg.
586 (breakParagraphConservative): use ParagraphList::insert.
588 * buffer.C (insertStringAsLines): un-const it
589 (insertStringAsLines): adjust
591 * ParagraphList.C (insert): new function
593 * CutAndPaste.C (pasteSelection): adjust
595 * text.C (backspace): adjust
597 * tabular.C (SetMultiColumn): adjust
599 * CutAndPaste.C (cutSelection): adjust
600 (pasteSelection): adjust
602 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
603 Buffer const * as arg
605 * ParagraphList.C (erase): new function
606 * paragraph_funcs.C (mergeParagraph): use it
607 (mergeParagraph): make it take a Buffer* instead of a
610 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
612 (breakParagraphConservative): ditto
614 * paragraph.h: remove the breakParagraph friend
616 * paragraph.C (eraseIntern): new function
617 (setChange): new function
619 * paragraph_funcs.C (mergeParagraph): make it take a
620 ParagraphList::iterator instead of a Paragraph *, adjust
623 * paragraph.h: move an #endif so that the change tracking stuff
624 also works in the NO_NEXT case.
626 2003-03-04 Angus Leeming <leeming@lyx.org>
629 * LyXAction.C: new LFUN_INSET_MODIFY.
631 * BufferView_pimpl.C (dispatch): if an inset is found to be open
632 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
634 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * several files: ws changes only
638 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
639 (TeXEnvironment): ditto
642 * buffer.C (makeLaTeXFile): adjust
643 (latexParagraphs): make it take ParagraphList::iterator as args
645 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * buffer.C (latexParagraphs): adjust
649 * paragraph.C (TeXOnePar): move function...
650 (optArgInset): move function...
651 (TeXEnvironment): move function...
652 * paragraph_pimpl.C (TeXDeeper): move function...
653 * paragraph_funcs.C: ...here
655 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
657 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
659 * buffer.C (readInset): remove compability code for old Figure and
662 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
664 * buffer.C: ws changes
667 * BufferView_pimpl.C: ditto
670 * bufferlist.h: ditto
674 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
676 * converter.[Ch]: split into itself +
679 * Makefile.am: += graph.[Ch] + format.[Ch]
686 * lyxrc.C: added #include "format.h"
688 2003-02-27 Angus Leeming <leeming@lyx.org>
690 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
693 * factory.C (createInset): add "label" to the factory.
695 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
696 string and do no more.
698 2003-02-27 Angus Leeming <leeming@lyx.org>
701 * LyXAction.C (init):
702 * factory.C (createInset):
703 * BufferView_pimpl.C (dispatch):
704 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
706 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
708 * lyxfunc.C (dispatch):
709 * text3.C (dispatch): pass name to params2string.
711 2003-02-26 Angus Leeming <leeming@lyx.org>
713 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
715 Rearrange the ~includes. Strip out the unnecessary ones.
717 * factory.C (createInset): reformat.
718 create new insets for the various LFUN_XYZ_APPLY lfuns.
720 2003-02-26 John Levon <levon@movementarian.org>
723 * lyxrow.C: add isParStart,isParEnd helpers
725 * paragraph.h: make isInserted/DeletedText take refs
728 * paragraph_funcs.C: remove #if 0'd code
733 * text.C: use lyxrow helpers above.
734 Move draw and paint routines to RowPainter.
735 Make several methods use refs not pointers.
736 Make backgroundColor() const.
737 Add markChangeInDraw(), isInInset().
738 Merge changeRegionCase into changeCase.
739 Make workWidth() shouldn't-happen code into an Assert.
742 * rowpainter.C: new class for painting a row.
745 * vspace.C: make inPixels take a ref
747 2003-02-26 Angus Leeming <leeming@lyx.org>
749 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
752 2003-02-25 John Levon <levon@movementarian.org>
754 * ispell.C: give the forked command a more accurate name
756 2003-02-22 John Levon <levon@movementarian.org>
759 * toc.C: make TocItem store an id not a Paragraph *
762 2003-02-21 Angus Leeming <leeming@lyx.org>
764 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
765 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
766 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
767 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
768 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
769 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
771 * BufferView_pimpl.C (dispatch):
772 * LyXAction.C (init):
773 * factory.C (createInset):
774 * lyxfunc.C (getStatus, dispatch):
775 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
777 2003-02-21 Angus Leeming <leeming@lyx.org>
779 * BufferView_pimpl.C (MenuInsertLyXFile):
780 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
781 * lyxfunc.C (menuNew, open, doImport):
782 no longer pass a LyXView & to fileDlg.
784 2003-02-21 Angus Leeming <leeming@lyx.org>
786 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
787 * LyXAction.C: change, BIBKEY to BIBITEM.
788 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
789 Change InsetBibKey to InsetBibitem.
790 Change BIBKEY_CODE to BIBITEM_CODE.
791 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
792 * factory.C: replace insetbib.h with insetbibitem.h.
793 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
794 * paragraph.C: replace insetbib.h with insetbibitem.h.
795 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
796 Change bibkey() to bibitem().
797 * text.C: remove insetbib.h.
798 * text2.C: replace insetbib.h with insetbibitem.h.
799 change bibkey() to bibitem().
800 * text3.C: remove insetbib.h.
801 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
803 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
805 * lyxrc.C (output): enclose user email in quotes (in case there are
808 2003-02-18 John Levon <levon@movementarian.org>
810 * buffer.h: add std::
812 2003-02-17 John Levon <levon@movementarian.org>
818 * pspell.C: reworking. Especially in ispell, a large
819 number of clean ups and bug fixes.
821 * lyxfunc.C: fix revert to behave sensibly
823 2003-02-17 André Pönitz <poenitz@gmx.net>
826 * commandtags.h: new LFUN_INSERT_BIBKEY
836 * paragraph_func.C: remove special bibkey handling
838 2003-02-17 John Levon <levon@movementarian.org>
840 * text.C (Delete): fix case where delete at the end of
841 the very first paragraph would not merge the pars
843 2003-02-17 John Levon <levon@movementarian.org>
845 * lyxrow.C: fix lastPrintablePos()
847 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
849 * bufferparams.C (writeLaTeX): add a std:here
851 * buffer.C: and remove a using directive there
853 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
855 * buffer.C (makeLaTeXFile): move the code that generates the
858 * bufferparams.C (writeLaTeX): ... in this new method
860 * LaTeXFeatures.C (getEncodingSet): make const
861 (getLanguages): make const
863 * MenuBackend.C (binding): returns the binding associated to this
865 (add): sets the status of each item by calling getStatus. Adds
867 (read): add support for OptSubMenu
868 (expand): remove extra separator at the end of expanded menu
870 2003-02-15 John Levon <levon@movementarian.org>
873 * BufferView_pimpl.C:
875 * bufferlist.C: remove pointless BufferStorage bloat. Remove
876 inset code that had no actual effect. Remove unneeded status
879 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
881 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
884 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
886 * text.C (drawLengthMarker): also draw an arrow marker for
887 symbolic lengths (medskip...)
889 2003-02-14 John Levon <levon@movementarian.org>
892 * tabular.C: better method names
894 2003-02-14 John Levon <levon@movementarian.org>
896 * BufferView_pimpl.C:
901 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
902 it's a more accurate name. Remove some pointless uses.
904 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
906 * text2.C (LyXText): change order of initilizers to shut off
909 2003-02-14 John Levon <levon@movementarian.org>
911 * buffer.C: use ParIterator for getParFromID()
916 * paragraph_pimpl.C: remove unused getParFromID()
918 2003-02-14 John Levon <levon@movementarian.org>
920 * buffer.C: remove some very old #if 0'd parse code
922 2003-02-13 John Levon <levon@movementarian.org>
926 * text2.C: move hfillExpansion(), numberOfSeparators(),
927 rowLast(), rowLastPrintable(), numberofHfills(),
928 numberOfLabelHfills() ...
931 * lyxrow.C: ... to member functions here.
936 * text.C: remove LyXText::beginningOfMainBody(), and call
937 p->beginningOfMainBody() directly. Move the check for
938 LABEL_MANUAL into the latter.
945 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
951 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
952 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
954 2003-02-13 John Levon <levon@movementarian.org>
956 * CutAndPaste.C: remove debug
958 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
960 * paragraph.C (asString): remove two unused variables
962 * lyxtextclass.C (readTitleType):
964 (LyXTextClass): handle new members titletype_ and titlename_
966 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
968 2003-02-09 John Levon <levon@movementarian.org>
971 * buffer.C: replace hand-coded list with a map for the dep clean
973 2003-02-08 John Levon <levon@movementarian.org>
975 * LaTeX.C: consolidate code into showRunMessage() helper
977 2003-02-08 John Levon <levon@movementarian.org>
982 * BufferView.C: change setSelectionOverString() to setSelectionRange()
983 and pass the size in explicitly
985 * BufferView_pimpl.h:
986 * BufferView_pimpl.C:
988 * BufferView.C: add getCurrentChange()
990 * BufferView_pimpl.h:
991 * BufferView_pimpl.C: handle change lfuns
993 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
994 for changes. Mark pasted paragraphs as new.
998 * DepTable.C: abstract time_t as lyx::time_type
1001 * LColor.C: add colours for new text, deleted text, changebars
1003 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1004 package use "usenames" option.
1008 * LyXAction.C: add change lfuns
1012 * author.C: author handling
1015 * buffer.C: add a per-buffer author list, with first entry as
1016 current author. Handle new .lyx tokens for change tracking. Output
1017 author list to .lyx file. Output dvipost stuff to .tex preamble.
1018 Bump lyx format to 222.
1021 * bufferlist.C: add setCurrentAuthor() to reset current author details
1025 * bufferparams.C: add param for tracking
1027 * bufferview_funcs.C: output change info in minibuffer
1031 * changes.C: add change-tracking structure
1034 * debug.C: add CHANGES debug flag
1037 * lyxfind.C: add code for finding the next change piece
1040 * lyxrc.C: add user_name and user_email
1043 * lyxrow.C: add a metric for the top of the text line
1046 * text.C: implement accept/rejectChange()
1049 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1050 Strike through deleted text.
1054 * paragraph_pimpl.h:
1055 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1056 to the insert functions. Rework erase to mark text as deleted, adding
1057 an eraseIntern() and a range-based erase(). Implement
1058 per-paragraph change lookup and accept/reject.
1060 * paragraph_funcs.C: Fixup paste for change tracking.
1062 * tabular.C: mark added row/columns as new.
1064 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1065 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1067 * text2.C: leave cursor at end of selection after a cut.
1069 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1071 * text.C (getLengthMarkerHeight):
1072 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1073 visible on screen too.
1075 2003-02-07 John Levon <levon@movementarian.org>
1077 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1079 2003-02-05 Angus Leeming <leeming@lyx.org>
1081 * lyxserver.C (read_ready): revert my patch of 11 September last year
1082 as it sends PC cpu through the roof. Presumably this means that
1083 the lyxserver will no longer run on an Alpha...
1085 2003-01-30 Angus Leeming <leeming@lyx.org>
1087 * factory.C (createInset): create an InsetCommandParam of type "index"
1088 and use it to 'do the right thing'.
1090 * text2.C (getStringToIndex): ensure that cursor position is always
1091 reset to the reset_cursor position.
1093 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1095 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1098 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1102 * lyxfunc.C: Output messages with identical spelling, punctuation,
1105 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1107 * MenuBackend.C (expandFormats): List only viewable export formats
1110 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1113 * lyxfunc.C (getStatus): Make sure that formats other than
1114 "fax" can also be disabled
1116 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1118 * text3.C (dispatch): put the lfuns that insert insets in 3
1119 groups, and call doInsertInset with appropriate arguments.
1120 (doInsertInset): new function, that creates an inset and inserts
1121 it according to some boolean parameters.
1123 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * buffer.C (readFile): remember to pass on 'par' when calling
1126 readFile recursively.
1128 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1130 * MenuBackend.C (expandFormats): add "..." to import formats.
1132 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1134 * paragraph.C (asString): Remove XForms RTL hacks.
1136 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1137 * buffer.C: fix typo
1139 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1141 * Makefile.am (LIBS): delete var
1142 (lyx_LDADD): add @LIBS@ here instead.
1144 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1146 * Clarify the meaning of "wheel mouse jump"
1148 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1150 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1153 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1155 * importer.C (Loaders): do not preallocate 3 elements in the
1156 vector, since one ends up with 6 elements otherwise
1158 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1160 * DepTable.C (write): write the file name as last element of the
1161 .dep file (because it may contain spaces)
1162 (read): read info in the right order
1164 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1166 * paragraph_pimpl.C (simpleTeXBlanks):
1167 (simpleTeXSpecialChars):
1168 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1170 * tabular.C (latex): add some missing case statements. Reindent.
1172 * MenuBackend.C (expandToc): remove unused variable.
1174 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1183 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1186 2003-01-05 John Levon <levon@movementarian.org>
1189 * BufferView.C: add getEncoding()
1192 * kbsequence.C: do not store last keypress
1195 * lyxfunc.C: store last keypress here instead. Pass encoding
1198 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1200 * lyx_main.C (init): remove annoying error message when following
1201 symbolic links (bug #780)
1203 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1205 * text.C (insertChar):
1206 * lyxrc.C (getDescription): remove extra spaces
1208 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1210 * lyxrc.C (getDescription): remove extra spaces
1212 2002-12-20 John Levon <levon@movementarian.org>
1214 * text3.C: hack fix for page up/down across tall rows
1216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1218 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1223 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1224 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1225 thesaurus is not compiled in
1227 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1229 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1231 2002-12-16 Angus Leeming <leeming@lyx.org>
1234 * lyx_main.C (init): remove override_x_deadkeys stuff.
1236 2002-12-12 John Levon <levon@movementarian.org>
1238 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1239 insert. Only remove shift modifier under strict
1242 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * MenuBackend.C (expandToc): fix crash.
1246 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * MenuBackend.C (expandToc): gettext on float names.
1250 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1252 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1253 implement bool empty() [bug 490]
1255 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1259 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * several files: ws changes
1263 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * text2.C (setCounter): clean up a bit, use boost.format.
1266 (updateCounters): initialize par upon declaration.
1268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1269 if the layout exists. We do not just store the layout any more.
1270 (SwitchLayoutsBetweenClasses): use boost.format
1272 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1274 * converter.C (convert): if from and to files are the same, use a
1275 temporary files as intermediary
1277 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1280 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1282 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1284 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1286 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * tabular.C (asciiPrintCell): use string(size, char) instead of
1291 * sgml.C (openTag): fix order of arguments to string constructor
1294 * lyxfunc.C (dispatch): use boost.format
1296 * lots of files: change "c" -> 'c'
1298 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1300 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1302 2002-11-25 Angus Leeming <leeming@lyx.org>
1304 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1306 * lyx_main.C (init): compile fix.
1308 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * lyx_cb.C (start): boost.formatify
1311 do not include <iostream>
1313 * lengthcommon.C: ws only
1315 * boost-inst.C,BoostFormat.h: add more explict instantations
1317 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * lots of files: handle USE_BOOST_FORMAT
1321 2002-11-21 John Levon <levon@movementarian.org>
1323 * pspell.C: fix compile
1325 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1327 * lyxfunc.C (dispatch): use boost::format
1331 * lyxfont.C (stateText): use boost::format
1333 * lyx_main.C (LyX): use boost::format
1335 (queryUserLyXDir): ditto
1338 (typedef boost::function): use the recommened syntax.
1340 * importer.C (Import): use boost::format
1342 * debug.C (showLevel): use boost::format
1344 * converter.C (view): use boost::format
1349 * bufferview_funcs.C (currentState): use boost::format
1351 * bufferlist.C (emergencyWrite): use boost::format
1353 * buffer.C (readLyXformat2): use boost::format
1354 (parseSingleLyXformat2Token): ditto
1356 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1358 * LaTeX.C (run): use boost::format
1360 * Chktex.C (scanLogFile): use boost::format
1362 * BufferView_pimpl.C (savePosition): use boost::format
1363 (restorePosition): ditto
1364 (MenuInsertLyXFile): ditto
1366 * BoostFormat.h: help file for explicit instation.
1368 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1370 * tabular.C (latex): Support for block alignment in fixed width
1373 2002-11-17 John Levon <levon@movementarian.org>
1375 * BufferView_pimpl.C:
1377 * lyxfunc.C: split filedialog into open/save
1379 2002-11-08 Juergen Vigna <jug@sad.it>
1381 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1382 by my last patch (hopefully).
1384 2002-11-08 John Levon <levon@movementarian.org>
1393 * toc.C: ParConstIterator, and use it (from Lars)
1395 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1397 * lyxtextclass.[Ch]: revise and add doxygen comments
1399 2002-11-07 John Levon <levon@movementarian.org>
1401 * text.C: fix progress value for spellchecker
1403 * toc.C: fix navigate menu for insetwrap inside minipage
1405 * paragraph_funcs.C: added FIXME for suspect code
1407 2002-11-07 John Levon <levon@movementarian.org>
1409 * BufferView_pimpl.C: fix redrawing of insets
1412 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1414 * text2.C (updateCounters): fix bug 668
1416 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1418 * text3.C (dispatch): Do not make the buffer dirty when moving the
1421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * vc-backend.C: STRCONV
1426 * text2.C (setCounter): STRCONV
1428 * paragraph.C (asString): STRCONV
1430 * lyxlength.C (asString): STRCONV
1431 (asLatexString): ditto
1433 * lyxgluelength.C (asString): STRCONV
1434 (asLatexString): ditto
1436 * lyxfunc.C (dispatch): STRCONV
1439 * lyxfont.C (stateText): STRCONV
1441 * importer.C (Import): STRCONV
1443 * counters.C (labelItem): STRCONV
1444 (numberLabel): ditto
1445 (numberLabel): remove unused ostringstream o
1450 * bufferview_funcs.C (currentState): STRCONV
1452 * buffer.C (readFile): STRCONV
1453 (asciiParagraph): ditto
1454 (makeLaTeXFile): ditto
1456 * Spacing.C (writeEnvirBegin): STRCONV
1458 * LaTeXFeatures.C (getLanguages): STRCONV
1459 (getPackages): ditto
1461 (getBabelOptions): ditto
1462 (getTClassPreamble): ditto
1463 (getLyXSGMLEntities): ditto
1464 (getIncludedFiles): ditto
1468 (scanAuxFile): ditto
1471 * LString.h: add the STRCONV macros
1473 * BufferView_pimpl.C (savePosition): STRCONV
1474 (restorePosition): ditto
1475 (MenuInsertLyXFile): ditto
1477 * vc-backend.C (scanMaster): change from submatch[...] to
1480 * funcrequest.C: include config.h
1482 * factory.C: include config.h
1484 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1486 * box.C: include config.h
1488 * LaTeX.C (scanAuxFile): change from submatch[...] to
1492 2002-10-25 Angus Leeming <leeming@lyx.org>
1494 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1496 * ispell.[Ch] (setError): new method.
1497 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1498 Use setError() insetead of goto END.
1500 * lyx_cb.C (AutoSave): move out child process into new class
1503 2002-10-30 John Levon <levon@movementarian.org>
1505 * text3.C: make start appendix undoable
1507 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1509 * lyxlength.C (inPixels): Fix returned value.
1511 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1514 2002-10-24 Angus Leeming <leeming@lyx.org>
1516 * lyxgluelength.h: no need to forward declare BufferParams
1517 or BufferView, so don't.
1519 2002-10-21 John Levon <levon@movementarian.org>
1521 * BufferView.C: menuUndo ->undo, redo
1523 * BufferView.h: document, remove dead, make some methods private
1525 * paragraph_funcs.h:
1526 * paragraph_funcs.C:
1527 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1532 * sgml.C: move sgml open/close tag into sgml.C
1534 * bufferview_funcs.h: unused prototype
1537 * lyxfunc.C: remove unused
1540 * text.C: remove unused
1542 2002-10-21 John Levon <levon@movementarian.org>
1546 * BufferView_pimpl.h:
1547 * BufferView_pimpl.C: fix mouse wheel handling based on
1548 patch from Darren Freeman
1550 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1552 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1554 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1556 * lyxlength.C (inPixels): Fix hanfling of negative length.
1557 Fix LyXLength::MU case.
1559 2002-10-16 John Levon <levon@movementarian.org>
1561 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1563 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1565 * converter.C (view): add support for $$i (file name) and $$p
1566 (file path) for the viewer command. If $$i is not specified, then
1567 it is appended to the command (for compatibility with old syntax)
1569 2002-10-14 Juergen Vigna <jug@sad.it>
1571 * undo_funcs.C (textHandleUndo): alter the order in which the
1572 new undopar is added to the LyXText, as we have to set first
1573 the right prev/next and then add it as otherwise the rebuild of
1574 LyXText is not correct. Also reset the cursor to the right paragraph,
1575 with this IMO we could remove the hack in "redoParagraphs()".
1577 2002-10-09 Angus Leeming <leeming@lyx.org>
1579 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1580 to turn off an optimisation if a new inset is to be inserted.
1582 2002-10-11 André Pönitz <poenitz@gmx.net>
1584 * lyxtext.h: make some functions public to allow access
1585 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1587 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1589 * text3.C (dispatch): when changing layout, avoid an infinite loop
1592 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1594 * lyxrc.C (read): treat a viewer or converter command of "none" as
1597 * MenuBackend.C (expandFormats): for an update, also allow the
1598 formats that are not viewable
1600 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1601 script if it is newer than the lyxrc.defaults in user directory
1603 2002-10-07 André Pönitz <poenitz@gmx.net>
1605 * text.C: Vitaly Lipatov's small i18n fix
1607 2002-09-25 Angus Leeming <leeming@lyx.org>
1609 * ispell.h: doxygen fix.
1611 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1613 * buffer.h (readFile): Add a new argument to the method, to allow
1614 reading of old-format templates.
1616 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1618 * toc.C (getTocList): Get TOC from InsetWrap.
1620 2002-09-16 John Levon <levon@movementarian.org>
1622 * lyxfunc.C: check tabular for cut/copy too
1624 2002-09-12 John Levon <levon@movementarian.org>
1629 * factory.C: add header
1631 * paragraph_funcs.h:
1632 * paragraph_funcs.C: cleanup
1634 2002-09-11 John Levon <levon@movementarian.org>
1636 * PrinterParams.h: odd/even default to true
1638 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1640 * PrinterParams.h: update printer parameters for new xforms dialog
1642 2002-09-11 Angus Leeming <leeming@lyx.org>
1644 * lyxserver.C (read_ready): re-write to make it more transparent
1645 and to make it work in coherent fashion under Tru64 Unix.
1647 2002-09-11 André Pönitz <poenitz@gmx.net>
1651 * text3.C: implement LFUN_WORDSEL
1653 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1656 make floatlist_ a boost::shared_ptr<FloatList>
1658 * lyxtextclass.C: include FloatList.h
1659 (LyXTextClass): initialize floatlist_
1660 (TextClassTags): add TC_NOFLOAT
1661 (Read): match "nofloat" to TC_NOFLOAT and use it.
1662 (readFloat): modify call to floatlist_
1666 * FloatList.[Ch] (FloatList): remove commented out float
1668 (erase): new function
1670 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1672 * MenuBackend.C (expandToc): fix crash when there is no document
1675 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1677 * many files: Add insetwrap.
1679 2002-09-09 John Levon <levon@movementarian.org>
1681 * text2.C: remove confusing and awkward depth wraparound
1683 2002-09-09 John Levon <levon@movementarian.org>
1685 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1688 * buffer.C: remove getIncludeonlyList()
1691 * lyxfunc.C: remove headers
1693 2002-09-09 Juergen Vigna <jug@sad.it>
1695 * text.C (getColumnNearX): fix form Michael this is most
1696 probably a cut&paste bug.
1698 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1702 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1703 references, ws changes.
1705 * text2.C (init): update counters after init
1706 (insertParagraph): no need to set counter on idividual paragraphs.
1707 (setCounter): access the counters object in the textclass object
1708 on in the buffer object.
1709 (updateCounters): ditto
1711 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1712 shared_ptr<Counters> to avoid loading counters.h in all
1714 (LyXTextClass): initialize ctrs_
1715 (TextClassTags): add TC_COUNTER, and ...
1716 (Read): use it here.
1717 (CounterTags): new tags
1718 (readCounter): new function
1719 (counters): new funtion
1720 (defaultLayoutName): return a const reference
1722 * counters.C (Counters): remove contructor
1723 (newCounter): remove a couple of unneeded statements.
1724 (newCounter): simplify a bit.
1725 (numberLabel): some small formatting changes.
1727 * buffer.[Ch]: remove all traces of counters, move the Counters
1728 object to the LyXTextClass.
1730 2002-09-06 Alain Castera <castera@in2p3.fr>
1732 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1733 package to set the horizontal alignment on fixed width columns.
1736 * lyx_sty.h: added tabularnewline macro def.
1738 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1740 2002-09-06 John Levon <levon@movementarian.org>
1742 * LyXAction.C: tooltips for sub/superscript
1744 * MenuBackend.C: a bit more verbose
1746 * lyxfunc.C: tiny clean
1748 * undo_funcs.C: document undo_frozen
1750 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * counters.C (Counters): add missing algorithm counter.
1754 * text2.C (setCounter): lookup the counter with layouts latexname
1755 instead of by section number.
1756 (setCounter): use a hackish way to lookup the correct enum
1758 a float name->type change
1759 reset enum couners with counter name directly instead of depth value.
1761 * counters.C (Counters): remove the push_backs, change to use the
1762 float type not the float name.
1763 (labelItem): remove unused string, float name->type change
1765 * counters.h: don't include vector, loose the enums and sects vectors
1767 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1770 (Read): add float->TC_FLOAT to textclassTags
1771 (Read): and handle it in the switch
1772 (readFloat): new function
1774 * FloatList.C (FloatList): comment out the hardcoded float
1777 * lyxlayout.h: ws change.
1779 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1781 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1783 2002-09-03 Angus Leeming <leeming@lyx.org>
1785 * BufferView_pimpl.h: qualified name is not allowed in member
1786 declaration: WorkArea & Pimpl::workarea() const;
1788 * factory.C: added using std::endl directive.
1790 * text3.C: added using std::find and std::vector directives.
1792 2002-08-29 André Pönitz <poenitz@gmx.net>
1795 * text2.C: remove unused member number_of_rows
1798 * BufferView2.C: remove file, move contents to...
1799 * BufferView.C: ... here
1801 * BufferView_pimpl.C:
1802 * factory.C: move more inset creation to factory
1804 * vspace.C: avoid direct usage of LyXText, ws changes
1807 don't provide direct access to WorkArea, use two simple
1808 acessors haveSelction() and workHeight() instead
1811 2002-08-29 John Levon <levon@movementarian.org>
1813 * BufferView_pimpl.C (dispatch): do not continue when
1816 2002-08-28 André Pönitz <poenitz@gmx.net>
1818 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1821 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1823 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1825 * buffer.C: increment LYX_FORMAT to 221
1827 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1828 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1830 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1832 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1834 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1836 * factory.C (createInset): use LyXTextClass::floats
1838 * MenuBackend.C (expandFloatListInsert):
1839 (expandFloatInsert):
1842 * text2.C (setCounter):
1844 * LaTeXFeatures.C (useFloat):
1845 (getFloatDefinitions):
1847 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1849 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1850 floatlist_, with accessor floats().
1852 * FloatList.h: remove global FloatList
1854 2002-08-26 André Pönitz <poenitz@gmx.net>
1856 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1860 * BufferView_pimpl.C:
1861 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1863 2002-08-25 John Levon <levon@movementarian.org>
1865 * LyXAction.C: fix margin note description
1867 2002-08-24 John Levon <levon@movementarian.org>
1871 * bufferview_funcs.C:
1873 * undo_funcs.C: cleanups
1875 * lyxfunc.C: disable CUT/COPY when no selection
1877 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1879 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1880 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1882 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1883 Add backward compatibility to "mono", "gray" and "no".
1885 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1887 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1888 (and file_format >= 200).
1890 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1892 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1894 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1896 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1898 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1900 * BufferView_pimpl.C:
1907 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1908 inset and code to make it work with the paragraph code. The inset
1909 can be anywhere in the paragraph, but will only do the expected
1910 thing in LaTeX if the layout file contains the parameter line
1912 (or more generally, a nonzero value) for that layout.
1914 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * paragraph.h: remove the declaration of undefined counters class
1919 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1921 * text2.C (setCounter): fixed enumeration mis-count as reported by
1922 Dr. Richard Hawkins.
1924 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1926 * paragraph_funcs.h: remove some unneeded includes
1928 * text.C (backspace): pasteParagraph now in global scipe
1930 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1931 (pasteSelection): ditto
1933 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1934 * paragraph_funcs.C (pasteParagraph): ... here
1936 2002-08-20 André Pönitz <poenitz@gmx.net>
1938 * commandtags.h: new LFUNs for swapping/copying table row/colums
1941 * lyxfunc.C: support for new lfuns
1943 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * buffer.[Ch]: remove NO_COMPABILITY stuff
1948 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * boost.C (throw_exception): new file, with helper function for
1951 boost compiled without exceptions.
1956 * ParameterStruct.h:
1957 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1959 * bufferlist.C (emergencyWriteAll): use boost bind
1961 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1963 * text.C: include paragraph_funcs.h
1964 (breakParagraph): breakParagraph is now in global scope
1966 * paragraph_funcs.[Ch]: new files
1968 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1971 * buffer.C: include paragraph_funcs.h
1972 (insertStringAsLines): breakParagraph is now in global scope
1974 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1977 * CutAndPaste.C: include paragraph_funcs.h
1978 (cutSelection): breakParagraphConservative is now in global scope
1979 (pasteSelection): ditto
1981 * buffer.h: declare oprator== and operator!= for
1982 Buffer::inset_iterator
1984 * bufferlist.C (emergencyWrite): don't use fmt(...)
1986 * text3.C: add using std::endl
1988 * BufferView.C (moveCursorUpdate): remove default arg
1990 2002-08-20 André Pönitz <poenitz@gmx.net>
1992 * buffer.[Ch]: move inline functions to .C
1995 * BufferView_pimpl.C:
1997 * buffer.[Ch]: use improved inset_iterator
2000 * paragraph.[Ch]: write one paragraph at a time
2002 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2004 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2005 style if style is not specified.
2007 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2009 * text2.C (setCounter): when searching for right label for a
2010 caption, make sure to recurse to parent insets (so that a caption
2011 in a minipage in a figure float works) (bug #568)
2013 2002-08-20 André Pönitz <poenitz@gmx.net>
2015 * text3.C: new file for LyXText::dispatch() and helpers
2017 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2019 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2021 2002-08-19 André Pönitz <poenitz@gmx.net>
2024 * text.C: new LyXText::dispatch()
2026 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2028 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2030 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2032 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2035 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2037 * Makefile.am: use $(variables) instead of @substitutions@
2039 2002-08-15 André Pönitz <poenitz@gmx.net>
2042 * BufferView_pimpl.C: streamlining mathed <-> outer world
2046 * LyXAction.C: remove unused LFUN_MATH
2048 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2052 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * paragraph.C (Paragraph): reformat a bit
2055 (cutIntoMinibuffer): use builtin InsetList function instad of
2059 * buffer.C: include boost/bind.hpp, add using std::for_each
2060 (writeFileAscii): use ParagraphList iterators
2061 (validate): use for_each for validate traversal of paragraphs
2062 (getBibkeyList): use ParagraphList iterators
2063 (resizeInsets): use for_each to resizeInsetsLyXText for all
2065 (getParFromID): use ParagraphList iterators
2067 * BufferView2.C (lockInset): use paragraph list and iterators
2069 2002-08-14 John Levon <levon@movementarian.org>
2071 * lyxserver.C: remove spurious xforms include
2073 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2075 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2077 2002-08-13 André Pönitz <poenitz@gmx.net>
2080 * lyxfunc.C: further cleaning
2082 2002-08-13 André Pönitz <poenitz@gmx.net>
2084 * funcrequest.h: new constructor
2086 * funcrequest.C: move stuff here from .h
2089 * BufferView_pimpl.C:
2092 * lyxfunc.C: subsequent changes
2094 * lyxfunc.h: new view() member function
2096 * lyxfunc.C: subsequent changes
2098 2002-08-13 Angus Leeming <leeming@lyx.org>
2101 * BufferView_pimpl.C:
2109 changes due to the changed LyXView interface that now returns references
2110 to member variables not pointers.
2112 2002-08-13 Angus Leeming <leeming@lyx.org>
2114 * WordLangTuple (word, lang_code): return references to strings,
2119 * lyxtext.h: forward-declare WordLangTuple.
2124 * text.C: #include "WordLangTuple.h".
2127 * text.C: (selectNextWordToSpellcheck): constify return type.
2129 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2135 * paragraph_pimpl.h:
2138 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2140 Made updateCounter always count from start of buffer, and removed
2141 second argument (par).
2142 Reverted floats number display to '#'. Perhaps I'll try again when the
2143 code base is sanitized a bit.
2145 2002-08-12 Angus Leeming <leeming@lyx.org>
2147 * buffer.[Ch] (getLabelList): constify.
2149 2002-08-07 André Pönitz <poenitz@gmx.net>
2151 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2153 * funcrequest.h: extension to keep mouse (x,y) position
2155 2002-08-12 Juergen Vigna <jug@sad.it>
2157 * BufferView2.C (insertErrors): forbid undo when inserting error
2160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2162 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * ParagraphList.[Ch]: new files
2166 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2168 * BufferView2.C (lockInset): ParagraphList changes
2171 * bufferlist.C: ditto
2175 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2178 unused class variable counter_,
2180 * paragraph.[Ch] (getFirstCounter): delete unused function
2182 * counters.C: include LAssert.h
2183 (reset): add a new function with no arg, change other version to
2184 not have def. arg and to not allow empty arg.
2186 * text2.C (setCounter): remove empty arg from call to Counters::reset
2188 2002-08-11 John Levon <levon@movementarian.org>
2190 * Makefile.am: add WordLangTuple.h
2192 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2195 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2197 * insets/insettext.C: InsetList changes
2199 * graphics/GraphicsSupport.C (operator()): InsetList changes
2201 * toc.C (getTocList): InsetList changes
2203 * paragraph_pimpl.[Ch]: InsetList changes
2205 * paragraph.[Ch]: InsetList changes
2207 * buffer.C (inset_iterator): InsetList changes
2208 (setParagraph): ditto
2209 * buffer.h (inset_iterator): ditto
2210 * iterators.C (operator++): ditto
2211 * iterators.h: ditto
2213 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2215 * InsetList.[Ch]: new files, most InsetList handling moved out of
2218 * BufferView2.C (removeAutoInsets): InsetList changes
2220 (ChangeInsets): ditto
2222 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * paragraph_pimpl.h (empty): new function
2226 * paragraph.[Ch] (empty): new function
2228 * other files: use the new Paragraph::empty function
2230 2002-08-09 John Levon <levon@movementarian.org>
2232 * lyxtext.h: remove unused refresh_height
2234 2002-08-09 John Levon <levon@movementarian.org>
2241 * paragraph.C: move sgml char escaping out of paragraph
2244 * paragraph.C: remove id setter
2248 * paragraph_pimpl.C: remove dead tex_code_break_column
2250 * bufferview_funcs.C: small cleanup
2252 * lyxfunc.C: remove dead proto
2254 * lyxtext.h: make some stuff private. Remove some dead stuff.
2256 * lyxgluelength.C: make as[LyX]String() readable
2258 2002-08-08 John Levon <levon@movementarian.org>
2263 * ToolbarDefaults.C:
2266 * toc.C: lyxaction cleanup
2268 2002-08-08 John Levon <levon@movementarian.org>
2270 * BufferView2.C: small cleanup
2273 * lyxfind.C: move unnecessary header into the .C
2275 2002-08-08 John Levon <levon@movementarian.org>
2277 * funcrequest.h: just tedious nonsense
2280 * lyx_main.C: cleanups
2283 * vspace.C: remove dead header lyx_main.h
2285 2002-08-07 Angus Leeming <leeming@lyx.org>
2288 * paragraph_pimpl.h:
2289 Forward declare class Counters in paragraph.h by moving the ctrs member
2290 variable into Paragraph::Pimpl.
2291 (counters): new method, returning a reference to pimpl_->ctrs.
2293 * text2.C: ensuing changes.
2295 2002-08-07 John Levon <levon@movementarian.org>
2297 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2299 * BufferView_pimpl.C: announce X selection on double/triple
2302 * lyx_main.C: use correct bool in batch dispatch
2304 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2306 2002-08-07 André Pönitz <poenitz@gmx.net>
2308 * funcrequest.h: new class to wrap a kb_action and its argument
2311 * BufferView_pimpl[Ch]:
2315 * lyxrc.C: subsequent changes
2318 2002-08-07 John Levon <levon@movementarian.org>
2320 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2321 document options change.
2323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2328 * makefile.am: move counters functionality over from
2329 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2331 2002-08-06 John Levon <levon@movementarian.org>
2333 * WordLangTuple.h: new file for word + language code tuple
2344 * BufferView2.C: use WordLangTuple
2347 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2349 2002-08-06 John Levon <levon@movementarian.org>
2351 * lyx_main.C: fix cmdline batch handling
2353 2002-08-06 André Pönitz <poenitz@gmx.net>
2355 * lyxrc.C: set default for show_banner to true
2357 2002-08-06 John Levon <levon@movementarian.org>
2359 * pspell.C: fix a crash, and allow new aspell to work
2361 2002-08-06 John Levon <levon@movementarian.org>
2364 * kbmap.C: small cleanup
2367 * vspace.C: add const
2369 2002-08-05 John Levon <levon@movementarian.org>
2371 * LyXAction.C: back to tabular-insert
2373 2002-08-04 John Levon <levon@movementarian.org>
2376 * BufferView.C: cosmetic change
2378 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2388 * BufferView2.C: purge all "Lyx" not "LyX" strings
2391 * lyxcursor.C: attempt to add some documentation
2396 * ToolbarDefaults.C:
2397 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2398 merge with LFUN_TABULAR_INSERT
2405 * pspell.C: split up i/pspell implementations into separate
2406 files, many cleanups
2408 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2410 * text2.C: some cleanup
2412 * lyxfunc.C: don't check for isp_command == "none" any more, it
2413 didn't make any sense
2415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2420 * makefile.am: move counters functionality over
2421 from text2.C/paragraph.[Ch] to counters.[Ch], and
2423 2002-08-02 John Levon <levon@movementarian.org>
2425 * buffer.C: s/lyxconvert/lyx2lyx/
2427 2002-08-02 Angus Leeming <leeming@lyx.org>
2429 * lyxlex.C: revert John's change as it breaks reading of the user
2432 2002-08-02 Angus Leeming <leeming@lyx.org>
2434 * importer.C (Import):
2435 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2436 changes due to LyXView::view() now returning a boost::shared_ptr.
2438 2002-08-02 John Levon <levon@movementarian.org>
2440 * lyxlex.C: small cleanup
2442 2002-08-02 John Levon <levon@movementarian.org>
2444 * text2.C (status): small cleanup, no logic change
2446 2002-08-01 John Levon <levon@movementarian.org>
2449 * buffer.C (writeFile): don't output alerts, caller
2453 * lyx_cb.C: from above
2455 * lyxfunc.C: allow to open non-existent files
2457 2002-07-31 John Levon <levon@movementarian.org>
2459 * lyxserver.C: don't let incidental errors get
2462 2002-07-30 John Levon <levon@movementarian.org>
2464 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2466 2002-07-30 John Levon <levon@movementarian.org>
2469 * lyxserver.C: remove I/O callback too
2471 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2473 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2476 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * many files: strip,frontStrip -> trim,ltrim,rtrim
2480 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * PrinterParams.h: remove extern containsOnly, and include
2483 support/lstrings.h instead.
2485 * LaTeX.C (scanAuxFile): modify because of strip changes
2487 * buffer.C (makeLaTeXFile): ditto
2488 * bufferparams.C (writeFile): ditt
2489 * lyxfont.C (stateText): ditto
2490 * lyxserver.C (read_ready): ditto
2491 * vc-backend.C (scanMaster): ditto
2493 * BufferView_pimpl.h: ws changes
2495 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2497 2002-07-26 André Pönitz <poenitz@gmx.net>
2499 * kb_sequence.C: remove unnedred usings
2501 2002-07-26 Juergen Vigna <jug@sad.it>
2503 * lyxfind.C (LyXReplace): we have to check better if the returned
2504 text is not of theLockingInset()->getLockingInset().
2506 2002-07-25 Juergen Vigna <jug@sad.it>
2508 * lyxfind.C (LyXReplace): don't replace if we don't get the
2511 * undo_funcs.C (createUndo): remove debugging code.
2513 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2515 * buffer.C (parseSingleLyXformat2Token): Use default placement
2516 when reading old floats.
2518 * FloatList.C (FloatList): Change the default placement of figure
2519 and tables to "tbp".
2521 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2523 * MenuBackend.C: using std::max
2525 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2527 * MenuBackend.C (expandToc):
2528 (expandToc2): code moved from xforms menu frontend. It is now
2529 generic and TOCs are transparent to menu frontends.
2531 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2533 * toc.C (getTocList): protect against buf=0
2535 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2536 Menu as first parameter. Now, this calls itself recursively to
2537 expand a whole tree (this will be useful for TOC handling)
2538 (expandFloatInsert): remove 'wide' version of floats
2540 * MenuBackend.h (submenuname): returns the name of the submenu.
2541 (submenu): returns the submenu itself, provided it has been
2542 created by MenuBackend::expand
2544 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2546 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2547 insets which have noFontChange == true. (bug #172)
2549 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2551 * BufferView_pimpl.C: add connection objects and use them...
2554 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2556 * MenuBackend.C (expandLastfiles):
2559 (expandFloatListInsert):
2560 (expandFloatInsert):
2561 (expand): split expand in parts
2563 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2565 * lyx_gui.C: use lyx_gui::exit()
2567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2569 * LyXAction.C: show the failing pseudo action
2571 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2573 * buffer.C (readFile): Run the lyxconvert script in order to read
2576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2580 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2586 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2588 2002-07-22 Herbert Voss <voss@lyx.org>
2591 * lyxlength.[Ch]: add support for the vertical lengths
2593 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2595 * toc.[Ch]: std:: fixes
2597 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2599 * lyxrc.C: do not include lyx_main.h
2601 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2607 * BufferView2.C: include "lyxlex.h"
2610 * bufferparams.h: do not #include "lyxlex.h"
2612 * lyxtextclasslist.C (Add): remove method
2613 (classlist): renamed to classlist_
2615 * paragraph_pimpl.C:
2619 * bufferview_funcs.C:
2624 * toc.C (getTocList): use BufferParams::getLyXTextClass
2626 * toc.C (getTocList): use InsetFloat::addToToc
2628 * toc.[Ch]: new files, containing helper functions to handle table
2631 * lyxfunc.C (dispatch): no need to remove spaces around command
2633 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2634 first command of the sequence; it is not very clever, but I do not
2635 have a better idea, actually
2637 * LyXAction.C (LookupFunc): make sure to remove space at the
2638 beginning and end of the command
2640 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2642 * MenuBackend.C (getMenubar): new method: return the menubar of
2644 (read): treat differently reading of menu and menubar (in
2645 particular, the menubar has no name now)
2646 (Menu::menubar): remove
2648 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2651 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2653 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2654 a bibitem inset in a RTL paragraph.
2656 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2658 * paragraph_pimpl.C: constify
2660 * BufferView_pimpl.C:
2662 * lyxfunc.C: fix dispatch in a nicer way
2664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2666 * lyxfunc.C (dispatch):
2667 * BufferView_pimpl.C:
2668 * BufferView_pimpl.h:
2670 * BufferView.h: rename Dispatch() to dispatch()
2672 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2674 * lyxlayout.C (Read): honor DependsOn tag
2676 * lyxlayout.[Ch] (depends_on): new method
2678 * version.C.in: update lyx_docversion
2680 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2682 * paragraph.C (validate): remove from here...
2683 * paragraph_pimpl.C (validate): ... and move here
2684 (isTextAt): make it const
2686 * buffer.C (getLists): ws cleanup
2688 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2690 * language.C (read): Use iso8859-1 encoding in latex_lang
2691 (this prevents LyX from crashing when using iso10646-1 encoding).
2693 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2695 * text2.C (toggleInset): if cursor is inside an inset, close the
2696 inset and leave cursor _after_ it
2698 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2700 * lyxfunc.C: move minibuffer completion handling out of here
2702 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2704 * BufferView_pimpl.C:
2705 * LaTeX.C: fix dispatch calls
2707 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2709 * text.C (drawChars): Fix Arabic text rendering.
2711 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2715 * lyxfunc.C: remove message-push/pop
2719 * lyxfunc.C: rationalise some code by removing verboseDispatch
2720 in favour of a bool argument to dispatch()
2722 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2724 * lyx_main.C (init): make sure to read symlinks as absolute paths
2726 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2729 * lyxfunc.C: no need for commandshortcut to be a member
2731 2002-07-15 André Pönitz <poenitz@gmx.net>
2733 * converter.C: add support for $$s (scripts from lib/scripts dir)
2734 * lyx_main.C: white space
2736 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2740 * lyxrc.C: remove second exit confirmation
2742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2747 * BufferView_pimpl.h:
2748 * BufferView_pimpl.C:
2749 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2751 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2753 * MenuBackend.C (expand): add numeric shortcuts to document menu
2755 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2757 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2759 * lyxfont.C (setLyXFamily):
2766 * buffer.C (asciiParagraph): use ascii_lowercase
2768 2002-07-15 Mike Fabian <mfabian@suse.de>
2770 * lyxlex_pimpl.C (search_kw):
2771 * lyxlex.C (getLongString):
2772 * converter.h (operator<):
2773 * converter.C (operator<):
2774 * buffer.C (parseSingleLyXformat2Token):
2776 * ToolbarDefaults.C (read):
2777 * MenuBackend.C (checkShortcuts):
2779 * LColor.C (getFromGUIName):
2780 (getFromLyXName): use the compare_ascii_no_case instead of
2781 compare_no_case, because in turkish, 'i' is not the lowercase
2782 version of 'I', and thus turkish locale breaks parsing of tags.
2784 2002-07-16 Angus Leeming <leeming@lyx.org>
2786 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2787 now takes a Buffer const & argument.
2789 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2791 * BufferView.C (resize): check there's a buffer to resize
2793 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2795 * lyxfunc.C: remove dead code
2798 * lyxserver.C: use lyx_guii::set_read_callback
2800 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2802 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2803 an inset in a RTL paragraph.
2805 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2807 * lyxfunc.C: repaint after a font size update
2809 2002-07-15 André Pönitz <poenitz@gmx.net>
2811 * lyxlength.C: inBP should be able to return negative values
2813 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2815 * lyxfunc.C: use lyx_gui::update_fonts()
2817 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2819 * lyxfunc.C: use lyx_gui::update_color()
2821 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2827 * lyxrc.C: remove file->new asks for name option, and let
2828 buffer-new take an argument
2830 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2832 * BufferView_pimpl.C: remove unneeded extra repaint()
2834 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2836 * LyXAction.C: allow command-sequence with NoBuffer
2838 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2840 2002-07-10 Angus Leeming <leeming@lyx.org>
2842 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2844 2002-07-09 Angus Leeming <leeming@lyx.org>
2846 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2848 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2850 * lengthcommon.h: whitespace
2852 * lyxfunc.C: update scrollbar after goto paragraph
2854 * lyxtext.h: factor out page break drawing, and fix it so
2855 page break/added space paints as selected nicely
2857 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2859 * BufferView_pimpl.C: add FIXMEs, clean up a little
2861 2002-07-09 André Pönitz <poenitz@gmx.net>
2863 * lyxfont.[Ch]: support for wasy symbols
2865 2002-07-08 André Pönitz <poenitz@gmx.net>
2867 * BufferView_pimpl.C: apply John's patch for #93.
2869 2002-07-05 Angus Leeming <leeming@lyx.org>
2871 * BufferView_pimpl.C (buffer): generate previews if desired.
2873 * LColor.h: add "preview" to the color enum.
2875 * LColor.C (LColor): add a corresponding entry to the items array.
2877 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2880 2002-07-05 Angus Leeming <leeming@lyx.org>
2882 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2883 The body of the code is now in the method that is passed an ostream &
2884 rather than a file name.
2885 Pass an additional only_preamble parameter, useful for the forthcoming
2888 2002-07-03 André Pönitz <poenitz@gmx.net>
2890 * lyxfunc.C: simplify getStatus() a bit for math stuff
2892 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2894 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2896 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2898 * text.C (changeRegionCase): do not change case of all the
2899 document when region ends at paragraph end (bug #461)
2901 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2903 * paragraph.C (startTeXParParams):
2904 (endTeXParParams): add \protect when necessary
2906 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2908 * BufferView_pimpl.C (workAreaExpose): remove warning
2910 2002-06-27 Angus Leeming <leeming@lyx.org>
2912 * Makefile.am: add lyxlayout_ptr_fwd.h.
2914 2002-06-26 André Pönitz <poenitz@gmx.net>
2916 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2918 2002-06-25 Angus Leeming <leeming@lyx.org>
2920 * lyxfunc.C (dispatch): Comment out the call to
2921 grfx::GCache::changeDisplay. The method no longer exists now that the
2922 pixmap generation part of the graphics loader has been moved into
2925 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2927 * text2.C: layout as layout
2929 * text.C: layout as layout
2931 * tabular.C (OldFormatRead): layout as layout
2933 * paragraph_pimpl.C (TeXDeeper): layout as layout
2934 (realizeFont): layout as layout
2936 * paragraph.C (writeFile): layout as layout
2937 (validate): layout as layout
2938 (getFont): layout as layout
2939 (getLabelFont): layout as layout
2940 (getLayoutFont): layout as layout
2941 (breakParagraph): layout as layout
2942 (stripLeadingSpaces): layout as layout
2943 (getEndLabel): layout as layout
2944 (getMaxDepthAfter): layout as layout
2945 (applyLayout): layout as layout
2946 (TeXOnePar): layout as layout
2947 (simpleTeXOnePar): layout as layout
2948 (TeXEnvironment): layout as layout
2949 (layout): layout as layout
2950 (layout): layout as layout
2952 * lyxtextclass.C (compare_name): new functor to work with
2953 shared_ptr, layout as layout
2954 (Read): layout as layout
2955 (hasLayout): layout as layout
2956 (operator): layout as layout
2957 (delete_layout): layout as layout
2958 (defaultLayout): layout as layout
2960 * lyxlayout_ptr_fwd.h: new file
2962 * lyxlayout.C (Read): layout as layout
2964 * lyx_cb.C (MenuInsertLabel): layout as layout
2966 * bufferlist.C (newFile): layout as layout
2968 * buffer.C (readLyXformat2): layout as layout
2969 (parseSingleLyXformat2Token): layout as layout
2970 (insertStringAsLines): layout as layout
2971 (asciiParagraph): layout as layout
2972 (latexParagraphs): layout as layout
2973 (makeLinuxDocFile): layout as layout
2974 (simpleLinuxDocOnePar): layout as layout
2975 (makeDocBookFile): layout as layout
2976 (simpleDocBookOnePar): layout as layout
2977 (getLists): layout as layout
2979 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2981 * CutAndPaste.C (cutSelection): layout as layout
2982 (pasteSelection): layout as layout
2983 (SwitchLayoutsBetweenClasses): layout as layout
2985 * BufferView_pimpl.C (Dispatch): layout as layout
2986 (smartQuote): layout as layout
2988 * BufferView2.C (unlockInset): layout as layout
2990 2002-06-24 André Pönitz <poenitz@gmx.net>
2992 * lyxfunc.C: fix #487
2994 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2998 * lyxfunc.C: remove display_shortcuts, show_banner
3000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3002 * Buffer_pimpl.C: oops, update on resize
3004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3011 * BufferView.C: use repaint()
3013 * BufferView_pimpl.h:
3014 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3015 as it's a clearer description. Remove superfluous
3018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3020 * text.C: fix bug 488. Not ideal, but getting
3021 getWord() to work properly for the insets that
3022 matter is more difficult ...
3024 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3026 * BufferView_pimpl.C:
3029 * lyxfunc.C: remove the six million index lyxfuncs to just
3030 one, and DTRT (bug 458)
3032 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3036 * BufferView_pimpl.h:
3037 * BufferView_pimpl.C: clean up resize() stuff,
3038 and unnecessary updateScreen()s
3040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3044 * BufferView_pimpl.h:
3045 * BufferView_pimpl.C:
3048 * minibuffer.C: remove focus management of workarea,
3049 not needed. Use screen's greyOut()
3051 2002-06-17 Herbert Voss <voss@lyx.org>
3053 * converter.C: (convert) do not post a message, when converting
3054 fails, let the calling function decide what to do in this case
3056 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3058 * lyxfunc.C: tidy up a little
3060 2002-06-16 <alstrup@diku.dk>
3062 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3063 Got rid of FORMS_H_LOCATION include. Now we are
3066 2002-06-15 LyX Development team <lyx@rilke>
3068 * buffer.[Ch] (sgmlOpenTag):
3069 (sgmlCloseTag): Added support for avoiding pernicious mixed
3070 content. Return number of lines written.
3073 (makeDocBookFile): Fixed calls to sgml*Tag.
3074 Simple white space clean.
3076 (simpleDocBookOnePar): Simple white space clean.
3078 * tabular.[Ch] (docBook): Renamed to docbook and got another
3079 argument to related with the pernicious mixed content.
3081 (docbookRow): Fixed calls for docbook inset method.
3083 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3085 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3086 so it's X11 independent.
3090 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3092 2002-06-15 Lyx Development team <lyx@electronia>
3094 * intl.h: Renamed getTrans to getTransManager.
3096 2002-06-14 Angus Leeming <leeming@lyx.org>
3098 * Makefile.am: nuke forgotten stl_string_fwd.h.
3100 2002-06-12 Angus Leeming <leeming@lyx.org>
3102 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3104 2002-06-13 Angus Leeming <leeming@lyx.org>
3107 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3109 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3111 * kbmap.C (getiso): add support for cyrillic and greek
3113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3117 * BufferView_pimpl.h:
3118 * BufferView_pimpl.C: move bogus scrolling logic
3121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3124 * BufferView_pimpl.C: view->resize() change
3126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3128 * BufferView_pimpl.C: topCursorVisible
3131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3135 * lyx_gui.C: move to frontends/
3139 * lyx_main.C: changes from above
3141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3148 * lyx_main.C: minor tidy
3150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3152 * BufferView_pimpl.h:
3153 * BufferView_pimpl.C:
3155 * BufferView.C: make painter() const,
3158 * BufferView2.C: use screen() accessor
3161 * lyx_main.C: some minor cleanup
3163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3165 * BufferView_pimpl.h:
3166 * BufferView_pimpl.C: remove enter/leaveView,
3169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3174 * BufferView_pimpl.h:
3175 * BufferView_pimpl.C: only construct screen once,
3178 * lyxrc.C: remove pointless comment
3180 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3183 * BufferView.C: remove active() and belowMouse()
3185 * BufferView_pimpl.h:
3186 * BufferView_pimpl.C: use workarea() not workarea_,
3187 and make it use a scoped_ptr instead
3189 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3191 * lyx_gui.C: add debug message on BadWindow
3193 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3195 * sp_spell.C: fdopen is not part of the C++ standard.
3197 * paragraph.C (InsetIterator): use >= instead of ==
3199 2002-06-07 Angus Leeming <leeming@lyx.org>
3201 Fixes needed to compile with Compaq cxx 6.5.
3202 * BufferView_pimpl.C:
3209 * lyxtextclasslist.C:
3214 all c-library variables have been moved into namespace std. Wrap
3215 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3220 Add a using std::abs declaration.
3222 * kbmap.h (modifier_pair):
3223 * paragraph.h (InsetTable, InsetList):
3224 * lyxfont.h (FontBits):
3225 type definition made public.
3227 * bufferlist.C (emergencyWriteAll): the compiler complains that
3228 there is more than one possible lyx::class_fun template to choose from.
3229 I re-named the void specialisation as lyx::void_class_fun.
3231 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3233 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3234 the compiler is is unable to find tostr in write_attribute.
3236 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3238 * buffer.C (sgmlError): hide #warning
3240 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * xtl/*: get rid of xtl, which is not in use anyway
3244 * LyXAction.C (init):
3245 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3246 were unimplemented xtl experimentation
3248 2002-06-04 André Pönitz <poenitz@gmx.net>
3250 * lyxfunc.C: disable array operation on simple formulae
3252 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3254 * converter.C: constify a bit
3256 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3258 * lyx_gui.C: check xforms version correctly
3260 2002-04-30 Herbert Voss <voss@lyx.org>
3262 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3265 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3267 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3268 attempt to register it with a VCS)
3270 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3272 * lyx_main.C (init): honor variables LYX_DIR_13x and
3275 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3279 * lyx_main.C: fix a crash on bad command line,
3280 and give a useful exit status on error
3282 * lyxfunc.C (doImport): allow -i lyx to work
3284 2002-03-30 André Pönitz <poenitz@gmx.net>
3286 * lyxfunc.C: mathed font changes
3288 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3303 * trans_mgr.h: srcdocs, and some minor cleanups
3305 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3307 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3308 call getFont all the time)
3310 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3312 * switch from SigC signals to boost::signals
3314 2002-05-29 André Pönitz <poenitz@gmx.net>
3316 * paragraph_pimpl.C (getChar): don't call size() too often...
3318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3320 * paragraph_pimpl.C (insertChar): do not try to update tables when
3321 appending (pos == size())
3323 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3324 in order to reduce drastically the number of comparisons needed to
3325 parse a large document
3327 2002-05-29 André Pönitz <poenitz@gmx.net>
3333 * textclasslist.[Ch]:
3334 * sp_ispell.h: whitespace change
3336 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3338 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3339 lyxaction directly now.
3341 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3345 * lyxvc.C: remove unused headers
3347 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3354 * undo_funcs.C: some cleanups. Use shared_ptr
3355 and a template for the undo stacks.
3357 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3359 * BufferView_pimpl.h:
3360 * BufferView_pimpl.C:
3367 * text2.C: use key_state/mouse_state
3369 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3371 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3374 * chset.C: change include order
3375 (loadFile): use boost regex and get rid of LRegex and LSubstring
3377 * Makefile.am (BOOST_LIBS): new variable
3380 * LaTeX.C: change include order.
3381 (scanAuxFile): use boost regex and get rid of LRegex and
3385 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3390 * FontInfo.C: moved to frontends/xforms/
3393 * FontLoader.C: moved into frontends for GUIIzation
3398 * lyxfunc.C: changes from above
3400 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3402 * LColor.C: remove spurious X include
3404 * BufferView_pimpl.C:
3409 * text2.C: move font metrics to frontends/
3411 2002-05-24 Juergen Vigna <jug@sad.it>
3413 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3414 setting the undo_cursor.
3416 * ParagraphParameters.h: include local includes first.
3418 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3420 * BufferView_pimpl.C:
3421 * BufferView_pimpl.h:
3425 * screen.C: move WorkArea into frontends/
3431 * BufferView2.C: move LyXScreen into frontends/
3435 * lyx_gui.C: move lyxlookup into frontends/xforms/
3437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3440 * BufferView_pimpl.C:
3450 * bufferview_funcs.C:
3463 * vc-backend.C: move LyX/XFormsView into frontends/
3465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3477 * text2.C: move Painter to frontends/
3479 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3481 * buffer.C: comment out some some code that depend upon lyx_format
3484 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3485 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3487 * buffer.h (NO_COMPABILITY): turn off compability
3489 * ColorHandler.C: include scoped_array.hpp
3491 * font.C: Use more specific smart_ptr header.
3494 * ShareContainer.h: ditto
3498 * BufferView_pimpl.h: ditto
3499 * ColorHandler.h: ditto
3501 * kbmap.C (defkey): change call to shared_ptr::reset
3503 2002-05-21 Juergen Vigna <jug@sad.it>
3505 * buffer.C (insertErtContents): fix to insert ert asis if it is
3506 non empty. Skip it completely if it contains only whitespaces.
3508 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3510 * BufferView_pimpl.C:
3511 * BufferView2.C: clear selection on paste (bug 393)
3513 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3515 * DepTable.C: include ctime
3517 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3519 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3521 2002-05-14 Juergen Vigna <jug@sad.it>
3523 * text.C (breakParagraph): fixed function to honor the keepempty
3524 layout in the right maner and also to permit the right breaking
3525 algorithm on empty or non empyt keepempty paragraphs.
3527 * paragraph.C (breakParagraph): we have to check also if the par
3528 is really empty (!size()) for isempty otherwise we do the wrong
3531 2002-05-10 Juergen Vigna <jug@sad.it>
3533 * buffer.[Ch] : The following are only changes to the ert
3534 compatibility read reading old LaTeX layout and font stuff and
3535 convert it to ERTInsets.
3537 * buffer.h: added isErtInset().
3539 * buffer.C (struct ErtComp): add a fromlayout bool to check
3540 if we're inside a LaTeX layout.
3541 (isErtInset): new helper function.
3542 (insertErtContents): look for other ert insets before this one
3543 and insert the contents there, so that we don't have subsequent
3544 ERT insets with nothing between them. This way we create only one
3545 inset with multiple paragraphs. Also check if we don't insert only
3546 spaces ' ' as they are ignored anyway afterwards in the .tex file
3547 so if we have only spaces we will ignore this latex part in the
3549 (parseSingleLyXformat2Token \\layout): better compatibility when
3550 reading layout-latex stuff.
3551 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3553 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3554 stuff after reading the inset only get the information back from
3557 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3559 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3561 * LaTeXFeatures.C (getBabelOptions): New method.
3563 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3565 * BufferView_pimpl.C (Dispatch): work around missing argument for
3568 2002-05-08 Juergen Vigna <jug@sad.it>
3570 * text.C (leftMargin): handle paragraph leftindent.
3572 * paragraph.C (writeFile): write the new \\leftindent tag.
3573 (validate): handle leftindent code.
3574 (TeXEnvironment): handle paragraphleftindent code again.
3576 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3578 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3579 for paragrap_extra indent code and new token \\leftindent.
3580 (latexParagraphs): handle the leftindent as environment.
3582 * ParameterStruct.h: added leftindent support.
3584 * ParagraphParameters.C (leftIndent): added support functions for
3585 the paragraph left indent.
3587 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3590 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3592 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3595 * text.C (computeBidiTables): No bidi in insetERT.
3597 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3600 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3602 * version.C.in: pre 5
3604 2002-05-02 José Matos <jamatos@fep.up.pt>
3605 * buffer.C (makeDocBookFile): white space changes, add newline to
3607 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3609 * tabular.C (docBook): fix typo.
3611 2002-05-03 Juergen Vigna <jug@sad.it>
3613 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3614 change in LyXText as we can not be sure it was not freed.
3615 (drawOneRow): remove unused code.
3617 * text.C (drawInset): redo the calculation of the need_break_row as
3618 it could have a row which was already freed.
3619 (draw): look at the return value of drawInset and return false if
3620 it also returned false.
3621 (paintRowText): look at the return value of draw and return false if
3622 it also returned false.
3624 * lyxtext.h: added bool return type to drawInset() and draw() so that
3625 if we have a change in the row so that the rowbreak has to be redone
3626 we abort drawing as it will be called again.
3628 2002-05-02 Juergen Vigna <jug@sad.it>
3630 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3631 a change in the maintext also if we're inside an inset.
3632 (Dispatch): set the cursor again after a break line and after the
3633 screen has been updated as it could be we're in a different row.
3635 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3636 to set the cursor behind the pargraph with > size().
3637 (setCursor): check also for the same paragraph when checking where
3638 to put the cursor if we have a NFR inset.
3640 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3641 parts of layout read further up as it still was in the wrong
3644 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3646 * screen.C (drawFromTo): change sine fullRebreak always return
3649 * buffer.C (parseSingleLyXformat2Token): reindent some
3651 * BufferView_pimpl.C (update): change since fullRebreak always
3653 (Dispatch): git rid of the last hardcoded "Standard"s.
3655 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3657 * text2.[Ch] (fullRebreak): make it return void now that we always
3660 2002-04-30 Juergen Vigna <jug@sad.it>
3662 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3663 ert compatibility check for "latex" layout.
3665 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3667 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3668 minipages: use col% instead of p%, and also use the current font.
3669 (makeLaTeXFile): Fix use babel condition.
3670 (parseSingleLyXformat2Token): Correct font when reading old floats.
3672 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3674 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3675 inserting list of floats.
3677 2002-04-25 Herbert Voss <voss@lyx.org>
3679 * MenuBackend.C (expand): don't add the graphics extensions to the
3682 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3685 non-existing layout, do not complain if it was the default layout
3686 of the original class (bug #342)
3688 2002-04-24 Juergen Vigna <jug@sad.it>
3690 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3691 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3693 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3695 * buffer.C (getBibkeyList): If using \bibliography, return the
3696 option field with the reference itself. Enables us to provide natbib
3697 support when using \bibliography.
3699 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3701 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3703 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3704 natbib is provided by the LaTeX class.
3706 2002-04-23 Juergen Vigna <jug@sad.it>
3708 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3711 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3713 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3715 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3717 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3718 ensuremath around textordmasculine, textordfeminine and
3721 2002-04-19 Juergen Vigna <jug@sad.it>
3723 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3724 reinitializing the buffer otherwise row-dimensions may be wrong.
3725 (update): reset also the selection cursors if they do exits otherwise
3726 their x/y positions may be wrong.
3728 * text2.C (cursorDown): don't enter the inset if we came from a row
3729 above and are one row over the inset.
3731 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3732 really leaving an inset.
3734 2002-04-18 Juergen Vigna <jug@sad.it>
3736 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3737 of the selected paragraph does not have the selected layout also if
3740 * text2.C (setLayout): fixed bug which did not change last selected
3743 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3744 changed the read and substituted \\end_float with \\end_inset!
3746 * BufferView_pimpl.C (cursorPrevious):
3747 (cursorNext): fixed to make it work with rows heigher than the work
3748 area without moving the cursor only the draw of the row.
3749 (workAreaMotionNotify): fix jumping over high rows.
3751 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3753 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3756 2002-04-16 Juergen Vigna <jug@sad.it>
3758 * text2.C (setCursor): set also the irow().
3759 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3761 (cursorDown): support for locking an inset if the x_fix value goes
3762 inside it. That way I can transverse insets too with cursor up/down.
3764 * lyxrow.h: added irow helper function same as other (i) functions.
3766 * BufferView_pimpl.C (cursorPrevious):
3767 (cursorNext): fixed for insets!
3769 2002-04-15 Juergen Vigna <jug@sad.it>
3771 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3772 position otherwise it is wrong in some cases.
3774 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3775 inside the inset before the call.
3777 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3779 * buffer.[Ch] (getBibkeyList): make it const.
3781 2002-04-12 Juergen Vigna <jug@sad.it>
3783 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3785 * text2.C (getCursorX): new helper function
3786 (setCursor): compute also ix_
3787 (setCursorFromCoordinates): set also ix.
3789 * lyxcursor.h: added ix_ and helper functions.
3791 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3793 * buffer.C (insertStringAsLines): dont break paragraph if the this
3794 paragraph is inside an inset which does not permit it!
3796 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3797 also with no chars on this paragraph.
3798 (paintRowText): only paint stuff if it's inside the workarea!
3800 * paragraph.C (breakParagraph): honor keepempty flag and break the
3801 paragraph always below not above.
3803 * BufferView2.C (unlockInset): update the paragraph layout on inset
3804 unlock as we changed paragraph in such a case.
3806 * lyxfind.C (LyXFind): clear the former selection if not found!
3808 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3809 again called in insertChar().
3811 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3812 an inset which uses the whole row!
3813 (rightMargin): ditto.
3814 (insertChar): force a rebreak if we inserted an inset!
3816 2002-03-28 Herbert Voss <voss@lyx.org>
3818 * lyxlength.[Ch]: add inBP() to get the right PS-point
3819 units (BigPoint). With inPixels we have rounding errors
3821 2002-04-11 Juergen Vigna <jug@sad.it>
3823 * text2.C (setCursorFromCoordinates): set iy to the right value.
3824 (setCursor): add check if row->previous exists!
3826 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3827 an old float_type as this was the case in the old code!
3829 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3831 * BufferView2.C (showLockedInsetCursor): use iy
3832 (fitLockedInsetCursor): ditto
3834 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3835 locked insets as there we have the right value now.
3837 * lyxcursor.C: added iy_ variable and iy functions to set to the
3838 baseline of cursor-y of the locked inset.
3840 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3841 (setCursor): fixed for insets which need a full row.
3843 * text.C (rowLastPrintable): don't ignore the last space when before
3844 an inset which needs a full row.
3845 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3846 as last character of a row when before a inset which needs a full row.
3848 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3850 * version.C.in: update date
3852 * text2.C (fullRebreak): try to always return true and see what
3855 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3857 * MenuBackend.C (expand): use Floating::listName
3859 * FloatList.C (FloatList): add listName argument to the built-in
3862 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3863 text associated with the float.
3865 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3867 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3869 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3871 * ShareContainer.h: add a couple of missing typenames.
3873 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3875 * lyxrc.C (getDescription): use _() correctly rather than N_().
3877 2002-03-28 Herbert Voss <voss@lyx.org>
3879 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3880 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3882 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3884 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3885 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3887 2002-03-29 Juergen Vigna <jug@sad.it>
3889 * lyxfunc.C (dispatch): add a missing fitCursor call.
3891 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3892 it was scrolled by a cursor move, so return the bool status.
3894 * BufferView.C (fitCursor): return the bool flag also to the outside
3895 world as this is needed.
3897 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3899 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3900 call the edit() as it is not needed (and wrong) IMO.
3901 (workAreaButtonPress): set the screen_first variable before evt.
3902 unlock the inset as this may change screen_first and then we have
3903 a wrong y position for the click!
3905 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3907 * MenuBackend.C (expand): another translation that I missed
3909 2002-03-28 Juergen Vigna <jug@sad.it>
3911 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3913 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3917 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3919 * MenuBackend.C (expand): fix export/view/update when there is no
3922 2002-03-27 Herbert Voss <voss@lyx.org>
3924 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3927 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3929 * bufferview_funcs.C (currentState): only show paragraph number
3930 for is DEVEL_VERSION is set.
3932 * lyxfunc.C (dispatch): put warning in INFO channel
3934 * MenuBackend.C (expand): translate the name of floats
3936 * FloatList.C (FloatList): mark the float names for translation
3938 * converter.C (convert): use LibScriptSearch
3940 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3942 * MenuBackend.C (defaults): fix default menu (we might as well get
3945 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3947 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3950 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3952 * lyxvc.C: reorder includes.
3954 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3956 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3959 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3961 * CutAndPaste.C: change layouts earlier on paste
3962 to avoid crashing when calling getFont()
3964 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3966 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3969 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3971 * WorkArea.C: remove 'Pending' debug message.
3973 * most files: ws cleanup
3975 * buffer.[Ch]: ws changes
3977 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3979 2002-03-21 Juergen Vigna <jug@sad.it>
3981 * tabular.C (SetMultiColumn): collapse also the contents of the
3982 cells and set the last border right. Added a Buffer const * param.
3984 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3986 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3989 2002-03-19 Juergen Vigna <jug@sad.it>
3991 * text2.C (clearSelection): reset also xsel_cache.
3993 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3994 where it needs to be called (John tells us to do so too :)
3995 (selectionLost): reset sel_cache.
3997 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3999 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4001 * text2.C (setCursorIntern): put debuging code in INSETS channel
4003 2002-03-19 André Pönitz <poenitz@gmx.net>
4005 * lyxfunc.C: tiny whitespace change
4007 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * ToolbarDefaults.C (init):
4010 * LyXAction.C (init):
4012 * BufferView_pimpl.C (Dispatch):
4013 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4015 2002-03-19 Allan Rae <rae@lyx.org>
4017 * exporter.C (Export): removeAutoInsets before doing anything else.
4018 While I've just introduced a dependency on BufferView this really is
4019 the best place to clean the buffer otherwise you need to cleanup in
4020 a dozen places before calling export or cleanup in a dozen functions
4023 * converter.C (runLaTeX):
4024 (scanLog): Better handling of removeAutoInsets and screen updates.
4026 * lyxfunc.C (dispatch): small whitespace changes
4028 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4030 * WorkArea.C (C_WorkAreaEvent): return a value.
4031 (event_cb): return 1 if we handled the event, 0 otherwise.
4033 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4035 2002-03-18 Juergen Vigna <jug@sad.it>
4037 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4038 (GetAdditionalWidth): ditto.
4042 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4043 inset if we're there actually (probably not used right now but this
4044 is the direction to go for unifying code).
4045 (paste): disable code to clear the selection.
4047 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4048 inside an InsetText and move the check further up as it is in the
4051 * text2.C (pasteSelection): set a selection over the pasted text.
4053 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4055 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4056 and libgraphics to build on Cygwin.
4058 2002-03-15 Juergen Vigna <jug@sad.it>
4060 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4061 inserting an Inset into the paragraph. I know this is not the best
4062 fix but we already use current_view in CutAndPaste so we will remove
4063 all of it's using at the same time.
4065 * buffer.C (sgmlError): deactivated function till it is rewritten in
4066 the right mode, now it can create problems.
4068 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4069 before accessing it.
4071 2002-03-14 Juergen Vigna <jug@sad.it>
4073 * undo_funcs.C (textHandleUndo): do the right thing when updating
4074 the inset after the undo/redo.
4076 * text2.C (setCursor): just some testcode for #44 not ready yet.
4078 * undo_funcs.C (textHandleUndo): set the next() and previous()
4079 pointers of the paragraph to 0 before deleting otherwise we have
4080 problems with the Paragraph::[destructor].
4082 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4083 on a paragraph insertion.
4085 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4087 * buffer.C (asciiParagraph): use += operator for char append to
4090 * paragraph.C (getFontSettings): compare >= not just >
4091 (highestFontInRange): ditto
4094 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4096 * paragraph.C: change several algorithm to be more appripriate for
4097 the problem domain. This is lookip in FontList and in the InsetList.
4099 2002-03-13 André Pönitz <poenitz@gmx.net>
4102 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4104 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4109 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4111 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4113 * Painter.C (display): anon helper function, adjust code for this
4115 (pixmap): remove function.
4117 * Painter.h: remove private display variable.
4119 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4121 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4123 * WorkArea.[Ch]: remove figinset_canvas cruft.
4125 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4127 * lyxtextclass.C (operator): add one item cache optimization.
4129 * bufferlist.h: doxy changes
4131 * bufferlist.C: ws changes
4133 * DepTable.[Ch] (ext_exist): place const in the right spot.
4135 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4137 (workAreaExpose): call resizeInsets when the with BufferView changes.
4138 (Dispatch): adjust for protectedBlank removal
4139 (specialChar): call updateInset if the insert went ok.
4141 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4142 specialChar instead.
4144 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4146 * BufferView.h: doxy change
4148 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4150 * lyxtextclass.C (operator[]): remove non-const version
4151 (defaultLayout): remove non-const version
4153 2002-03-12 Juergen Vigna <jug@sad.it>
4155 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4156 did resize the LyXText too.
4158 * buffer.C (readLyXformat2): set layout information on newly allocated
4161 * tabular.C (OldFormatRead): set layout information on the paragraph.
4163 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4165 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4167 2002-03-11 Juergen Vigna <jug@sad.it>
4169 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4171 (resizeCurrentBuffer): force also the insets to resize themselfes.
4172 (moveCursorUpdate): fixed up for InsetText.
4174 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4177 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4178 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4179 value of Dialogs::tooltipsEnabled().
4180 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4182 2002-03-08 Juergen Vigna <jug@sad.it>
4184 * BufferView_pimpl.C (updateInset): update inset inside inset also
4185 if it isn't inside theLockingInset().
4187 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4189 * buffer.C (asciiParagraph): redo some of the word and line length
4191 (getLists): look for Caption instead of caption.
4193 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4195 * buffer.C (Buffer): initialize niceFile to true
4198 (makeDocBookFile): make sure niceFile is true on exit
4200 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4202 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4204 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4206 * LyXSendto.C: remove.
4207 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4208 * lyx_gui.C: remove now-redundant comment.
4209 * ColorHandler.h: remove forward declaration of class WorkArea.
4210 * lyxfunc.C: remove #include "WorkArea.h".
4212 2002-03-07 Juergen Vigna <jug@sad.it>
4214 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4215 got moved away with the DEPM and also set the inset_owner always
4216 right which before could have been omitted.
4218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4220 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4221 wanted layout is not found.
4223 2002-03-07 Juergen Vigna <jug@sad.it>
4225 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4229 * paragraph.C (breakParagraph): use default layout not layout of
4231 (Paragraph): clear ParagraphParameters.
4233 2002-03-06 Juergen Vigna <jug@sad.it>
4235 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4236 otherwise it would not be a valid lenght. Fixed a special case in
4237 the minipage compatibility read where we end the document with a
4240 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4241 was set as it could be 0 for InsetTexts first entry.
4243 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4245 * paragraph.C (writeFile): if layout is empty write out
4246 defaultLayoutName().
4248 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4249 file without named layout we set layout to defaultLayoutName().
4251 2002-03-06 Juergen Vigna <jug@sad.it>
4253 * CutAndPaste.C (copySelection): set layout for new paragraph.
4255 * text.C (prepareToPrint): leave ERT inset left aligned
4256 (leftMargin): don't indent paragraphs inside ERT insets
4258 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4260 * paragraph.C (breakParagraph): dont call clear do the work manually
4262 * paragraph.[Ch] (clear): remove function
4264 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4266 * paragraph.C (Paragraph): dont call clear, the work has already
4269 * lyxtextclass.C (operator): assert if n is empty
4271 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4272 work manually instead.
4274 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4276 * BufferView_pimpl.C: protect selectionLost against text == 0
4278 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4280 * text.C (breakParagraph): fix a setting layout to '0' problem.
4282 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4284 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4285 final location of file, for the included files, and graphics.
4287 2002-03-05 Juergen Vigna <jug@sad.it>
4289 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4291 2002-03-04 Juergen Vigna <jug@sad.it>
4293 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4295 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4296 last column of multicolumn cells.
4297 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4299 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4301 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4302 file if it doesn't go to a temporary file.
4304 * buffer.C (sgmlOpenTag):
4305 (sgmlCloseTag): remove extra newline insertion.
4307 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4309 * text.C (getRowNearY): comment out debug msg
4311 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4313 * text2.C: first -> first_y
4315 * text.C (getRowNearY): add some attemts at a possible
4316 optimization, not working.
4318 * tabular.[Ch]: add BufferParams to several function so that newly
4319 created paragraph can be initialized to he default layotu for the
4322 * tabular-old.C (ReadOld): add buf->params to call of Init
4324 * screen.C: rename text->first to text->first_y
4326 * paragraph.C (breakParagraph): always set layout in the broken
4329 * lyxtextclass.C (Read): remove lowercase
4332 (delete_layout): ditto
4334 * lyxtext.h: rename first -> first_y
4336 * lyxlayout.C (Read): remove lowercase
4339 (obsoleted_by): ditto
4341 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4343 * buffer.C (insertErtContents): add params are to InsetERT
4344 (parseSingleLyXformat2Token): add code to check if a paragraphs
4345 layout really exist.
4346 (parseSingleLyXformat2Token): add params to several inset
4348 (asciiParagraph): remove lowercase, do the layout comparisons with
4351 * BufferView_pimpl.C (cursorNext): first -> first_y
4352 (resizeCurrentBuffer): first -> first_y
4353 (updateScrollbar): first -> first_y
4354 (scrollCB): first -> first_y
4355 (workAreaMotionNotify): first -> first_y
4356 (workAreaButtonPress): first -> first_y
4357 (checkInsetHit): first -> first_y
4358 (cursorPrevious): first -> first_y
4359 (cursorNext): first -> first_y
4360 (Dispatch): add buffer_->params to severl inset contructors
4362 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4364 * lyxlayout.C (Read): remove some debug info that I forgot.
4366 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4367 clean up the code slightly.
4368 (makeLinuxDocFile): ditto
4369 (makeDocBookFile): ditto
4371 * text2.C: layout as string
4373 * text.C: layout as string
4375 * paragraph_pimpl.C: layout as string
4377 * paragraph.[Ch]: layout as string
4379 * lyxtextclasslist.[Ch]: layout as string
4381 * lyxtextclass.[Ch]: layout as string
4383 * lyxtext.h: layout as string
4385 * lyxlayout.[Ch]: layout as string
4387 * lyx_cb.C: layout as string
4389 * bufferview_funcs.C: layout as string
4391 * bufferparams.C: layout as string
4393 * buffer.C: layout as string
4395 * LyXView.[Ch]: layout as string
4397 * LaTeXFeatures.[Ch]: layout as string
4399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4401 * BufferView_pimpl.C: change current_layout to string, remove
4406 (workAreaButtonRelease): layout as string
4408 * BufferView2.C (unlockInset): adjust
4410 * vspace.C (asLatexCommand): use an explict temp variable.
4412 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4414 * Makefile.am: use FRONTEND_*
4416 2002-03-01 Juergen Vigna <jug@sad.it>
4418 * tabular.C (SetWidthOfMulticolCell): changed to something better
4419 I hope but still work in progress.
4420 (recalculateMulticolumnsOfColumn): renamed function from
4421 recalculateMulticolCells as it is more appropriate now.
4422 (SetWidthOfCell): calculate multicols better.
4424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4428 * lyxfunc.C (processKeySym): print sequence also if it is
4429 `deleted' (complete)
4431 * kbsequence.C (print): print sequence even if it is deleted
4432 (complete would be a better word, actually).
4434 * lyxfunc.C (dispatch): print complete options after a prefix key
4436 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4438 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4440 * text2.C (setCharFont): eliminate setCharFont code duplication.
4442 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4444 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4445 LFUN_TABULAR_FEATURE (bug #177)
4447 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4449 * Makefile.am: remove figure.h
4451 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4453 * Bufferview_pimpl.C:
4465 * text2.C: remove #include "lyx_gui_misc.h".
4467 * LaTeX.C: added #include <cstdio>
4469 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4471 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4472 that the paragraph following this one can have.
4474 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4476 * vspace.C (asLatexCommand): fix bogus gcc warning
4478 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4480 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4482 * text2.C (setLayout): get rid of redundant code
4484 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4486 * text2.C (incDepth): make sure depth cannot be increased beyond
4489 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4491 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4492 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4494 * PainterBase.h (image):
4495 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4498 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4502 * BufferView_pimpl.C:
4503 * BufferView_pimpl.h:
4523 * sp_spell.C: remove fig inset, and the crap house of
4524 cards that follows it
4526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4532 * nt_defines.h: move .h into support/
4534 * vms_defines.h: remove
4536 * WorkArea.C: add space in debug output
4540 * buffer.C: add WITH_WARNINGS
4544 * bufferlist.C: s/retrive/retrieve/, add docs
4555 * lyxgui.C: add ID to X error handler
4557 * lyxtestclass.c: fix typo
4559 2002-02-26 Juergen Vigna <jug@sad.it>
4561 * tabular_funcs.C (write_attribute): changed so that some default
4562 attributes are not written at all.
4563 (getTokenValue): set default values before trying to read the
4564 value so we have the return value always set as default if we don't
4565 find the token we search for.
4567 * tabular.C (Write): write bools as bools not as strings!
4569 2002-02-22 Juergen Vigna <jug@sad.it>
4571 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4572 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4574 * text.C (leftMargin): don't add an indent for paragraphs inside
4575 tabular cells (fix #208).
4577 2002-02-21 José Matos <jamatos@fep.up.pt>
4579 * tabular.C (docBook): fixed support for long tables.
4581 2002-02-20 Juergen Vigna <jug@sad.it>
4583 * text2.C (getFont): get the drawing font of the Inset if this
4584 paragraph is inside an inset (only important for InsetERT for now).
4586 * buffer.C (insertErtContents): use new lanugage params in ERT
4589 * CutAndPaste.C: commenting out seemingly uneeded code.
4591 2002-02-19 Allan Rae <rae@lyx.org>
4593 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4594 Iterators might be simple to use but they also get invalidated.
4595 (removeAutoInsets): renamed saved cursor tracking variables and added
4596 some comments to clarify what everything does.
4598 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4605 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4606 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4609 * vc-backend.h: remove #include "support/syscall.h"
4613 * converter.C: rearrange #includes in Lars' approved fashion.
4615 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4616 forward declare class Timeout in the header file.
4618 * XFormsView.C: changes due to the above.
4620 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4623 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4624 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4626 2002-02-18 José Matos <jamatos@fep.up.pt>
4628 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4631 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4633 * a lot of small ws changes
4634 * add a lot of using std::XXX
4635 * use std construcs some places where approp.
4636 * use some exisint stuff from lyxfunctional where approp.
4637 * Make file changes to use partial linking (lets test this now...)
4639 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4643 remove #include "support/syscontr.h" as it's redundant. Always has been.
4651 change Systemcalls::System to Systemcalls::Wait and
4652 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4653 No change of functionality, just reflects the stripped down Systemcalls
4656 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4658 * debug.[Ch]: add a GRAPHICS type to the enum.
4660 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4664 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4667 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4669 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4670 match the changes below.
4672 * text2.C (toggleInset): if there is not editable inset at cursor
4673 position, try to see if cursor is _inside_ a collapsable inset
4676 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4678 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4679 document menu has a nice checkbox
4681 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4683 * lyxlength.C (asLatexString): change PW to output as percent of
4686 * lengthcommon.C: change '%' to 't%'
4688 * lyxfunc.C (dispatch): a few comments from Martin
4690 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4694 * BufferView_pimpl.h:
4695 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4698 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4700 * vspace.C (inPixels): fix compiler warning
4702 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * lyxfunc.C (getStatus): fix status message for disabled commands.
4706 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4708 * BufferView_pimpl.C: fix crash on close buffer
4709 during selection (#227)
4711 2002-01-27 Herbert Voss <voss@lyx.org>
4713 * buffer.C: link old Figure to new graphic inset
4715 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4717 * FontLoader.C (getFontinfo): Change the latex font names in order
4718 to match the names of type1inst.
4720 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4722 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4724 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4727 (remove_files_with_extension): ditto
4728 (remove_file): ditto
4731 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4732 document is smaller than the work area height. Do not initialize
4733 static variables to 0.
4735 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4737 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4739 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4740 LFUN_LAYOUT_PARAGRAPHS.
4742 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4743 tabular. It is possible to provide a possible cell, which will
4744 typically be the actcell from the corresponding insettabular
4746 * lyxfunc.C (getStatus): small cleanup; disable
4747 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4750 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4752 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4754 * paragraph.C (startTeXParParams):
4755 (endTeXParParams): new methods. The LaTeX code to
4756 start/end paragraph formatting
4757 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4758 empty (fixes bug #200)
4760 * vspace.C (inPixels): adapt to the change below
4761 (inPixels): [later] more cleanups (remove unused variables)
4763 * lyxlength.C (inPixels): change to use a width and a height as
4766 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4769 Replaced with \paperwidth
4771 * DepTable.C (insert): add std:: qualifier
4773 2002-01-18 Allan Rae <rae@lyx.org>
4775 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4778 * text.C (drawInset): Turned out I didn't know enough about how
4779 rebreaking worked. This fixes most of the redraw problems. I see
4780 an occasional cursor trail when a line is broken now and the cursor
4781 placement can seem out by a few pixels also after a rebreak.
4783 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * buffer.C (parseSingleLyXformat2Token): update because minipage
4786 width is now a LyXLength
4788 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4790 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4793 2002-01-17 Juergen Vigna <jug@sad.it>
4795 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4797 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4798 is set correctly and the inset is updated correctly.
4800 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4802 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4803 the beginning of the loop.
4805 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4807 * lyxrc.C: improve help for use_scalable_fonts
4809 2002-01-17 Allan Rae <rae@lyx.org>
4811 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4815 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4816 make sure to set their inset_owner to the right value (bug #171)
4818 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4821 * DepTable.C: Implement mtime checking to reduce time spent doing
4824 2002-01-16 Juergen Vigna <jug@sad.it>
4826 * tabular.C (GetAdditionalHeight): one of error fixed.
4828 * lyxrc.C (output): small fix in writing use_pspell.
4830 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4832 * sp_base.h: #include LString.h
4834 2002-01-16 Allan Rae <rae@lyx.org>
4836 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4837 Can someone check this please?
4839 * text.C (drawInset): It was possible that p.row would be removed by
4840 breakAgainOneRow upsetting a few other settings. There may be another
4841 small tweak possible by setting need_break_row = 0 when p.row has been
4842 removed but I don't know enough about the logic here.
4844 2002-01-15 Allan Rae <rae@lyx.org>
4846 * text.C (insertChar): removed conditional truism.
4848 * BufferView2.C (removeAutoInsets): More tweaks.
4849 cur_par_prev could be a stray pointer. Check for trailing empty line
4850 in case last line was cur_par and only had an error inset on it.
4852 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4854 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4857 * vc-backend.C (most methods):
4858 * exporter.C (Export):
4859 * converter.C (convert):
4861 * LyXSendto.C (SendtoApplyCB):
4862 * lyxfunc.C (dispatch):
4866 * lyx_cb.C (AutoSave):
4868 * BufferView_pimpl.C (MenuInsertLyXFile):
4869 * buffer.C (runChktex): use Buffer::filePath().
4871 * buffer.h: rename filename to filename_; rename filepath to
4872 filepath_ and make it private
4873 (filePath): new method
4875 * buffer.C (writeFile): use fileName()
4878 * lyx_main.C (init): fix starting of LyX when the binary is a
4879 link from so,ewhere else.
4881 * minibuffer.C: include <cctype> for isprint
4883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4885 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4886 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4887 name clash with InsetCollapsable's width function.
4889 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4891 * lastfiles.C: include <iterator>
4893 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4895 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4898 * buffer.C (makeLaTeXFile): ditto.
4899 Also make loop operation more transparent.
4901 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4903 * ToolbarDefaults.C: remove trailing comma closing namespace.
4905 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4907 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4910 * trans.C (Load): comment out unused variable, allowed.
4912 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4914 * minibuffer.[Ch] (append_char): new method to recieve input from the
4915 drop-down completion browser. If a key was pressed, then recieve this
4916 char and append it to the existing string.
4917 (peek_event): modify the positioning data passed to the completion
4918 browser so that it can be placed above the minibuffer rather than below.
4919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * LyXAction.C (init): alloe error-next for readonly documents.
4923 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4926 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4928 * bufferlist.C (readFile): create the buffer _after_ checking that
4931 * lyxfunc.C (verboseDispatch): fix handling of arguments
4933 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4935 * lyxrc.C: use string::erase() instead of initializing to "".
4938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4940 * BufferView_pimpl.h:
4941 * BufferView_pimpl.C:
4944 * text2.C: tell X when we have made a selection for copying
4946 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4948 * BufferView_pimpl.C (MenuInsertLyXFile):
4949 * lyxfunc.C (menuNew):
4951 (doImport): add shortcuts to directory buttons
4953 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4956 * lyxfunc.C (setStatusMessage):
4957 (getStatusMessage): new methods
4958 (getStatus):use setStatusMessage instead of setErrorMessage
4959 (dispatch): when function is disabled, set error message here
4960 [instead of in getStatus previously]
4962 * BufferView_pimpl.C (workAreaButtonRelease): update
4963 toolbar/menubar here too.
4965 2002-01-13 Allan Rae <rae@lyx.org>
4967 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4968 Now seems indestructible. Remaining task is to audit all other
4969 code affected by deleteEmptyParagraphMechanism. One small quirk
4970 left is that an empty document with an error in the preamble can
4971 be made to report an error but no error box appears. I don't know
4973 (removeAutoInsets): Improved comments.
4975 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4978 * Thesaurus.C: update for Aiksaurus 0.14
4980 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4982 * text2.C (firstParagraph): removed member function, all uses
4983 replaces with ownerParagraph
4984 (redoParagraphs): here
4986 (toggleAppendix): here
4987 * BufferView2.C (insertErrors): here
4988 (setCursorFromRow): here
4990 2002-01-13 Allan Rae <rae@lyx.org>
4992 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4993 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4994 There is still a way to segfault this although you may have to do this
4995 multiple times: Have an InsetERT with an unknown command in it.
4996 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4997 <down-arrow>, <Enter> again, View->DVI, BANG!
4999 * text2.C (setCursor):
5000 (deleteEmptyParagraphMechanism):
5001 * lyxtext.h (setCursor):
5002 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5003 Making use of the return value may help fix other bugs.
5005 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5007 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5009 * LyXView.C (updateMenubar): call MenuBar::update here
5010 (updateToolbar): but not here
5011 (showState): do not update toolbar/menubar
5013 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5014 should need to care about that.
5016 * lyxfunc.C (verboseDispatch): simplify a bit
5017 (getStatus): have a version which takes a pseudoaction, and
5018 another which requires a (kb_action,string).
5020 * LyXAction.C (retrieveActionArg): make it work also when action
5021 is not a pseudo-action.
5022 (getActionName): simplify a bit
5025 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5027 * lyxfunc.C (verboseDispatch): new families of methods with
5028 several ways to specify a command and a bool to indicate whether
5029 the command name and shortcut should be displayed in minibuffer
5030 (eventually, we could extend that to a finer bitmask like
5031 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5032 (dispatch): the pristine dispatch command which just, well,
5033 dispatchs! Note it still sets its result to minibuffer; I'm not
5036 * lyxfunc.h: remove setHintMessage
5038 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * BufferView_pimpl.C (specialChar): delete new inset if we have
5043 not been able to insert it.
5045 * kbmap.C: revert to using int instead of kb_action, since all we
5046 are dealing with is pseudo-actions.
5048 * LyXAction.C (searchActionArg): change to return int instead of
5049 kb_action, since the result is a pseudoaction.
5051 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5053 * buffer.C (insertErtContents): Fix (partially) the font bug.
5055 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5057 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5058 as the other one is broken on my machine!
5060 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5063 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5065 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5067 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5068 reflect their actual use. Provide compatibility code for older lyxrc
5071 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5073 change names of popup font variables in line with the changes to lyxrc.C
5075 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5077 * buffer.C (asciiParagraph): avoid outputing a word twice after
5080 * lyxrc.C (getDescription): document that document_path and
5081 template_path can be empty.
5083 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5085 * LaTeXFeatures.C (getMacros):
5086 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5088 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5090 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5092 (getPackages): rename feature "floats" to "float". Use an array to
5093 iterate over 'simple' features (i.e. just a \usepackage). Add
5094 handling of "amsmath" (renamed from "amsstyle").
5096 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5098 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5101 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5103 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5104 FuncStaus::FuncStatus & FuncStaus::some_method().
5106 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5108 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5109 of the func_satus stuff. Edited and massaged in various ways by
5112 * lyxfunc.C (getStatus): use FuncStatus
5114 2002-01-08 Juergen Vigna <jug@sad.it>
5116 * text.C (nextBreakPoint): use function Inset::isChar().
5118 * paragraph.C (TeXOnePar): use function
5119 Inset::forceDefaultParagraphs.
5121 * buffer.C (latexParagraphs): use function
5122 Inset::forceDefaultParagraphs.
5124 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5126 * lyx_gui.C (init): set the style of the menu popups to
5127 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5129 2002-01-07 Juergen Vigna <jug@sad.it>
5131 * text.C (setHeightOfRow): small fix
5132 (prepareToPrint): don't look at alignment if we don't have the place
5135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5137 * box.C: New file. Move the Box methods and functions out of box.h,
5138 following Lars' suggestion.
5140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5142 * box.h: #include "support/LOstream.h", needed for inlined function.
5145 * lyxtextclasslist.C: added some using std declarations.
5147 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5149 * box.h: make signed dimensions to allow insets wider than
5150 the screen (bug #162)
5152 * BufferView_pimpl.C: add some insetHit debug
5154 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5156 * vc-backend.C: add FIXME
5158 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5160 * lyxfunc.C (getStatus): enable code for showing math font status
5163 2002-01-07 Juergen Vigna <jug@sad.it>
5165 * text.C (nextBreakPoint): removed debug output not needed anymore.
5167 2002-01-06 Juergen Vigna <jug@sad.it>
5169 * text.C (nextBreakPoint): fixed up this function we had this bug
5170 since ever but now hopefully we break row better.
5171 (insertChar): we have to check if an inset is the next char as it
5172 could now happen that a large inset is causing a break.
5174 2002-01-05 Juergen Vigna <jug@sad.it>
5176 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5177 if it doesn't like to be drawed.
5179 2002-01-04 Juergen Vigna <jug@sad.it>
5181 * BufferView2.C (lockInset): forgot to set a cursor.
5183 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5185 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5190 * form_maths_panel.C:
5191 * form_maths_panel.h:
5192 * form_maths_panel.fd: implemented sub- and super- buttons in math
5195 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5196 (or ^ space) to be used as in TeX (req'd by André).
5198 * lyxfunc.C: Allow ^ and _ again to be used both as
5199 super/subscript (mathed) and as themselves (in text).
5201 2002-01-03 Allan Rae <rae@lyx.org>
5203 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5204 "LyX" or the filename of the current buffer if it has one. This is a
5205 modified form of John Levon's patch.
5207 * XFormsView.C (setWindowTitle): also set icon title.
5209 * LyXView.h (setWindowTitle): signature changed.
5210 * XFormsView.h (setWindowTitle): ditto.
5212 2002-01-02 Juergen Vigna <jug@sad.it>
5214 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5216 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5218 * screen.C (topCursorVisible): introduce a temp var for
5219 text->cursor.row(), handle the case where this row is null. (kindo
5222 * text2.C (setCursor): add a couple of asserts.
5224 * paragraph.h (inset_iterator): add -> operator
5226 * paragraph.[Ch] (autoDeleteInsets): remove member function
5228 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5229 cursor pos correctly and handle inset deletion by itself.
5230 (insertErrors): move iterator declaration out of for expression
5232 * lyxtextclass.C: add <algorithm>
5234 * Makefile.am: added the new files to sources, removed layout.C
5236 * layout.C: removed file
5238 * layout.h: remove LYX_DUMMY_LAYOUT
5240 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5244 * lyxtextclass.[Ch]:
5245 * lyxtextclasslist.[Ch]: new files
5247 * include order changes to a lot of files, also changes because of
5250 2001-12-27 Juergen Vigna <jug@sad.it>
5252 * buffer.C (asciiParagraph): more fixes.
5254 * tabular.C (ascii): make ascii export support export of only the
5255 data separated by a column-delimiter.
5256 (ascii): better support for ascii export.
5258 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5260 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5262 * tabular_funcs.C: use a "using std::getline" instead of the
5263 previous fix from Angus (necessary for cxx + lyxstring)
5265 2001-12-24 Juergen Vigna <jug@sad.it>
5267 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5269 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5270 problems. First check a minipage also if we have some ert-contents
5271 (not only on par->size(), second set the right depth of the paragraph
5272 on the relink to the root-paragraph-list!
5274 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5275 which then did not anymore update the main paragraphs on undo/redo!
5277 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5279 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5280 code. Support all font-changing funcs (even those which are not in
5281 menu currently). Support for reporting font settings in
5282 mathed (disabled until Andre provides a function on mathed's side).
5284 * func_status.h (toggle): small helper function to set toggle
5287 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5289 * tabular_funcs.C: getline -> std::getline
5291 2001-12-21 Juergen Vigna <jug@sad.it>
5293 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5294 accessed and could be 0 (I couldn't generate this but it seems
5297 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5299 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5300 * tabular_funcs.h: here and include iosfwd
5302 2001-12-20 Juergen Vigna <jug@sad.it>
5304 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5305 inside inset but undo_par was.
5307 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5309 * Thesaurus.C: always include <config.h> in sources.
5313 * box.h: do not include <config.h> in header files
5315 * text.C (paintLastRow): remove unused variable
5317 * text.C (transformChar):
5319 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5322 * font.C (width): rewrite to use uppercase() instead of
5325 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5327 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5329 * lyxfind.C: clean up of find failure position change
5331 2001-12-20 Juergen Vigna <jug@sad.it>
5333 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5335 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5336 (TeXRow): added to LaTeX a single tabular row.
5337 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5338 (Latex): simplified and finally good LT-h/f support.
5339 (various_functions): just small adaptions for LT-h/f support.
5341 * tabular_funcs.[hC]: added and moved here all not classfunctions
5344 2001-12-19 Juergen Vigna <jug@sad.it>
5346 * tabular.[Ch]: better support for longtabular options (not finished
5349 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * text.C (paintLastRow): use the label font instead of the font of
5352 the last character to compute the size of *_BOX. This makes more
5353 sense and avoids a crash with empty paragraphs.
5354 Use Painter::rectangle to draw EMPTY_BOX.
5356 2001-12-19 Juergen Vigna <jug@sad.it>
5358 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5359 the paragraphs if the replaced paragraph is not the first one!
5360 Tried to delete not used paragraphs but does not work yet so for
5361 now it's inside #ifdef's and by default off!
5363 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5365 * MenuBackend.C: include "lyx_main.h" instead of declaring
5366 lastfiles (actually was declared as LastFiles* instead of a
5369 2001-12-17 Juergen Vigna <jug@sad.it>
5371 * tabular.C (AppendColumn): applied John's fix
5373 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5377 * BufferView_pimpl.h:
5378 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5381 * box.h: new start of class for above
5383 * lyxfunc.C: ignore space-only minibuffer dispatches.
5384 Show the command name when it doesn't exist
5386 * minibuffer.C: don't add empty lines to the history
5388 * minibuffer.C: add a space on dropdown completion
5390 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5392 * text.C: fix line above/below drawing in insets
5394 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5396 * lyxlength.C (LyXLength): Initialize private variables.
5398 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5400 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5401 when inserting error insets.
5403 2001-12-13 Juergen Vigna <jug@sad.it>
5405 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5406 actually sometimes the before-paragraph.
5407 (setUndo): don't clear the redostack if we're not actually undoing!
5409 2001-12-06 Juergen Vigna <jug@sad.it>
5411 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5412 and fixed redoing of main paragraph, so we can use it now ;)
5414 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5416 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5418 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5421 2001-12-13 André Pönitz <poenitz@gmx.net>
5424 * undo_func.C: minor cleanup
5426 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5429 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5430 font in urw-fonts package which is marked as -urw-fontspecific and
5431 does not work (incidentally, changing the encoding in the
5432 fonts.dir of this package to -adobe-fontspecific fixes the
5435 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5436 is a crash when undoing first paragraph (Juergen, please take a
5437 look). THis does not mean the undo fix is wrong, just that it
5440 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5441 the (Paragraph*) version when needed instead of duplicating the
5444 * text.C (workWidth): use Inset::parOwner to find out where the
5445 inset has been inserted. This is a huge performance gain for large
5446 documents with lots of insets. If Inset::parOwner is not set, fall
5447 back on the brute force method
5449 * paragraph_pimpl.C (insertInset):
5450 * paragraph.C (Paragraph):
5451 (cutIntoMinibuffer): set parOwner of insets when
5452 inserting/removing them
5454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5456 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5462 * mathed/formulabase.C:
5463 * mathed/math_cursor.[Ch]:
5464 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5467 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5469 * lyxlength.[Ch] (operator!=): new function
5471 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5473 * text.C (workWidth): use Inset::parOwner to find out where the
5474 inset has been inserted. This is a huge performance gain for large
5475 documents with lots of insets. If Inset::parOwner is not set, fall
5476 back on the brute force method
5478 * paragraph_pimpl.C (insertInset):
5479 * paragraph.C (Paragraph):
5480 (cutIntoMinibuffer): set parOwner of insets when
5481 inserting/removing them
5483 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5485 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5487 * tabular-old.C (getTokenValue):
5488 * tabular.C (getTokenValue):
5489 (write_attribute): new versions for LyXLength
5490 (everywhere): adjust the use of widths
5492 * tabular.h: change the type of widths from string to LyXLength
5494 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5496 * paragraph.C: fixed missing line number count when exporting
5497 Environments to LaTeX file
5499 * buffer.C: added informational message for checking line numbers.
5501 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5503 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5504 paragraph, do the 'double space' part, but not the 'empty
5507 * text.C (workWidth): small optimization
5508 (getLengthMarkerHeight): use minimal size for negative lengths.
5510 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5512 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5514 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5516 2001-12-11 André Pönitz <poenitz@gmx.net>
5519 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5521 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5523 * text2.C: keep selection on a setFont()
5525 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5527 * lyx_cb.C: another bv->text misuse, from insert label
5529 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5532 * kbsequence.C: re-instate nmodifier mask
5534 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5536 * lyx_main.h: make lyxGUI private.
5538 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5540 * lyxfind.C: place the cursor correctly on failed search
5542 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5544 * text.C (getLengthMarkerHeight): for small heights, the arrows
5545 are not always on top/bottom of the text
5546 (drawLengthMarker): smaller arrows; take the left margin in
5547 account; draw also vfills.
5549 (paintLastRow): remove special code for vfill and standard spaces,
5550 since everything is handled in drawLengthMarker now.
5552 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5554 * buffer.C (insertErtContents): try to handle font and language
5555 interaction a bit better.g
5557 * ColorHandler.C (updateColor): change the hash to cover the whole
5558 LColor enum, ws cleanup
5559 (getGCLinepars): ditto
5560 (getGCLinepars): only lookup in the linecache once.
5562 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5564 * iterators.C (operator++): Make the iterator more robust
5566 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5573 * text.C: better added space drawing
5575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5578 * BufferView2.C: fix layout combo update on inset unlock
5580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5582 * Makefile.am: don't compile unused files
5584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5588 * LyXAction.C: remove old LFUN_LAYOUTNO
5590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5592 * paragraph_pimpl.h:
5593 * paragraph_pimpl.C: isTextAt() doesn't need font param
5595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5598 * lyxlex.C: little cleanup
5600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5602 * BufferView_pimpl.C: fix insertAscii for insets
5604 2001-12-05 Juergen Vigna <jug@sad.it>
5606 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5607 set the right font on the "multi" paragraph paste!
5609 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5615 * lyxlength.C: remove out-commented code.
5631 * vc-backend.C: change "while(" to "while ("
5633 * lyxlength.[Ch]: add zero function to check if length is zero or
5635 * lyxgluelength.C: use it
5637 2001-12-05 Allan Rae <rae@lyx.org>
5639 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5640 Works for 2.95.3, from what I understand of Garst's reports this should
5641 work for other g++ versions. We're screwed if the abs(int) definition
5642 changed between bugfix releases of gcc.
5644 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5646 * text.C: fix chapter label offset !
5648 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5651 * text.C: fix hfill at end of line, clean up
5653 2001-12-04 Juergen Vigna <jug@sad.it>
5655 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5656 that we force an update of the inset and it's owners if neccessary.
5658 2001-12-03 Juergen Vigna <jug@sad.it>
5660 * text.C (rowLast): simplified code
5662 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5664 * lyxfunc.C: fix show options on timeout
5666 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5668 * screen.C (topCursorVisible): scroll half a page when the cursor
5669 reached top of bottom of screen
5671 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5673 * minibuffer.C: deactivate on loss of focus
5675 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5677 * vspace.[Ch] (operator!=): add operator.
5679 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5681 * BufferView_pimpl.C: refuse to open an inset when
5682 there's a selection.
5684 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5686 * BufferView_pimpl.C: allow to click on RHS of full row insets
5688 2001-11-30 Juergen Vigna <jug@sad.it>
5690 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5691 insets for undo reasons.
5693 2001-11-28 André Pönitz <poenitz@gmx.net>
5695 * vspace.[Ch]: cosmetical changes
5697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5707 * kbsequence.C: part re-write of old kb code
5710 * WorkArea.C: remove Lgb_bug_find_hack
5712 2001-11-30 José Matos <jamatos@fep.up.pt>
5714 * buffer.C (makeDocBookFile): add a comment to point a hack.
5715 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5716 Fixed a double write of labels.
5718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5721 * LaTeX.h Fixed bug in LaTeX class where it would not
5722 re-run latex if no depfiles were changed, but the .dvi was removed.
5724 2001-11-28 André Pönitz <poenitz@gmx.net>
5726 * all the files from the change on 2001/11/26:
5727 use lyx::layout_type instead of LyXTextClass::size_type
5728 use lyx::textclass_type instead of LyXTextClassList::size_type
5730 2001-11-29 Juergen Vigna <jug@sad.it>
5732 * text.C: added support for paragraph::isFreeSpacing()
5734 * buffer.C: same as above
5736 * paragraph.h: inserted isFreeSpacing() function to enable
5737 FreeSpacing inside InsetERT.
5739 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5740 of the paragraph's in the cut/copy buffer to 0!
5742 * text2.C (removeRow): remove the assert as it can!
5744 * lyxtext.h: added helper function firstRow returning firstrow and
5745 made firstrow private again.
5747 * BufferView2.C (lockInset): don't relock if we're already locked!
5749 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5751 (removeRow): added Assert::(firstrow)
5753 * debug.C: forgot to add INSETTEXT here.
5755 2001-11-28 Juergen Vigna <jug@sad.it>
5757 * sp_spell.C (initialize): changed error text to more general
5758 spellchecker command use (not only ispell!)
5760 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5762 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5764 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5766 * vspace.C: initialise lyxgluelength on failure
5768 2001-11-28 Allan Rae <rae@lyx.org>
5770 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5771 declaration & definition that looks like a function declaration.
5773 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5775 * BufferView2.C (copy):
5776 (copyEnvironment): do not clear the selection when doing a copy.
5778 * text.C (paintFirstRow): compilation fix
5780 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5782 * tabular.C (Latex): correct line count when writing latex.
5784 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5786 * paragraph_pimpl.h:
5787 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5790 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5794 * LColor.C: change vfillline->added_space
5796 * text.C: add markers and text for added space
5798 * vspace.C: fix comment
5800 2001-11-28 André Pönitz <poenitz@gmx.net>
5802 * paragraph.C: whitespace changes
5803 * all the other files from the change on 2001/11/26:
5804 change *::pos_type into lyx::pos_type
5806 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5808 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5809 language of the document when inserting error insets.
5811 2001-11-26 André Pönitz <poenitz@gmx.net>
5813 * BufferView_pimpl.[Ch]:
5821 * paragraph_pimpl.[Ch]:
5824 * text2.C: reduce header dependencies, introduce type for positions
5826 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5828 * <various>: change to use Alert.h
5830 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5832 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5833 when encountering an unknown token.
5834 (readLyXformat2): Show an error message if there were unknown tokens.
5836 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5839 * BufferView_pimpl.C:
5843 * text2.C: use par->isInset()
5845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5847 * paragraph_pimpl.h:
5848 * paragraph_pimpl.C: cleanup
5850 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5852 * text2.C (removeRow):
5853 * text.C (setHeightOfRow): remove useless (and costly) call to
5856 2001-11-20 Allan Rae <rae@lyx.org>
5858 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5859 Now need Inset*::checkInsertChar() to return true for appropriate
5860 cases so that the characters in the minibuffer will actually be
5863 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5865 * text.C: change the order of the includes.
5866 (workWidth): initialize it at once.
5867 (workWidth): make maxw unsigned
5868 (setHeightOfRow): remove unused variable (inset)
5869 (selectSelectedWord): remove unused variable (inset)
5870 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5872 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5874 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5875 server is not running.
5877 (closeConnection): add debug info when server is disabled.
5879 * ColorHandler.C (getGCForeground): send debug message to GUI
5882 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5884 * kbmap.C (bind): modify because return conventions of
5885 kb_sequence::parse have changed.
5887 * kbsequence.C (parse): only ignore spaces and not any stupid
5888 control character. This avoids tests like s[i] <= ' ', which are
5889 guaranteed to fail with 8bit characters and signed chars.
5890 Change return code to string::npos when there have been no error
5891 (0 was a bad idea when error is at first character)
5893 2001-11-14 José Matos <jamatos@fep.up.pt>
5896 * buffer.C (simpleDocBookOnePar): removed unused argument.
5898 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5900 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5901 insets which are part of a word. Paragraph::isLetter takes care of
5902 that now. Use Paragraph::isInset to identify insets.
5903 (selectSelectedWord): do not test for hyphenation break.
5905 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5906 that protected spaces are considered as spaces.
5908 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5911 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5914 * lyxserver.C: fix it. and small cleanup.
5916 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5918 * BufferView_pimpl.C: use inline helpers
5921 * LaTeXFeatures.C: fix typos
5924 * Spacing.C: move spacing_string into class
5926 * ToolbarDefaults.C: move stuff into namespace anon
5928 * layout.h: update enum
5930 * lyxfunc.C: use better debug
5932 * minibuffer.h: fix typo
5936 * WorkArea.C: add and use Debug::WORKAREA
5940 * text2.C: code re-organisation, inline helpers
5942 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5944 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5945 std::vector.empty().
5947 2001-11-09 Allan Rae <rae@lyx.org>
5949 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5950 '\n's after tables. Tabular and ERT inset work now makes this no
5953 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5956 * minibuffer.C: fix crash, improve drop-down completion
5958 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5961 * lyxserver.C: invalidate fd's when doing endPipe()
5963 2001-11-08 José Matos <jamatos@fep.up.pt>
5965 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5966 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5969 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5971 2001-11-07 José Matos <jamatos@fep.up.pt>
5974 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5977 * buffer.C (sgmlOpenTag):
5978 * buffer.C (sgmlCloseTag): removed debug info.
5980 * buffer.h (sgmlOpenTag):
5981 * buffer.h (sgmlCloseTag): made public.
5983 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5985 * buffer.C (saveParamsAsDefaults):
5986 * lyx_cb.C (MenuLayoutSave): remove
5988 * LyXAction.C (init):
5990 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5992 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * buffer.C (setPaperStuff): removed from here...
5996 * bufferparams.C (setPaperStuff): ... and moved there.
5998 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6002 * XFormsView.C: add support for drop-down completion
6004 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6006 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6009 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6011 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6014 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6016 * lyx_main.C: change ref to known bugs
6018 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6020 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6021 to work around older babel problems.
6023 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6025 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6027 2001-10-24 Juergen Vigna <jug@sad.it>
6029 * tabular-old.C (ReadOld): below variable changes reflected.
6031 * tabular.[Ch]: added ltType struct for longtable header/footer
6032 defines and changed all instances where they are used. Added
6033 future support for double top/bottom rows.
6035 2001-10-24 José Matos <jamatos@fep.up.pt>
6037 * buffer.h (docbookHandleCaption):
6038 * buffer.C (docbookHandleCaption): removed unused function.
6039 (makeDocBookFile): moved docbook supported version to v4.1.
6041 2001-10-24 José Matos <jamatos@fep.up.pt>
6044 * tabular.C (docbookRow): new function to export docbook code of a row.
6045 (DocBook): now honors the longtable flags.
6047 2001-10-23 José Matos <jamatos@fep.up.pt>
6050 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6051 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6053 * buffer.C (makeLinuxDocFile):
6054 (makeDocBookFile): reworked the preamble, more clean, and with
6055 support for lyx defined entities. Changed the document declaration
6056 to be more XML friendly.
6058 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6059 if we need to output XML that should be done with a filter.
6061 2001-10-22 Juergen Vigna <jug@sad.it>
6063 * sp_pspell.h (class PSpell): add alive function needed in the
6064 controller to see if the spellchecker could be started.
6066 2001-10-22 Juergen Vigna <jug@sad.it>
6068 * buffer.C (insertStringAsLines): modify the font for inserting
6069 chars in certain conditions by calling checkInsertChar(font).
6071 2001-10-19 Juergen Vigna <jug@sad.it>
6073 * text.C (workWidth): use getRow instead of wrong algorithm.
6074 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6076 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6081 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6083 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6085 * text.C (workWidth): do not search for the exact row when
6086 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6087 optimization for big documents.
6089 2001-10-18 Juergen Vigna <jug@sad.it>
6091 * text.C (workWidth): new function with added Inset * parameter.
6093 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6095 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6097 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6098 change return type of getColumnNearX.
6101 * text.C (changeRegionCase): use uppercase/lowercase instead of
6104 (rightMargin): simplify code by factoring out the uses of
6109 (appendParagraph): use Paragraph::size_type
6111 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * vspace.C (asLatexString): add a missing break
6115 2001-10-15 Herbert Voss <voss@perce.de>
6117 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6119 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6121 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6124 2001-10-10 André Pönitz <poenitz@gmx.net>
6126 * lyxfunc.C: removed greek_kb_flag.
6128 2001-10-10 Herbert Voss <voss@perce.de>
6130 * lyx_main.C: delete global string help_lyxdir.
6132 2001-10-09 Herbert Voss <voss@perce.de>
6134 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6136 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6138 * lyx_main.C: added global string help_lyxdir.
6140 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6142 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6144 * lyxrc.C (set_font_norm_type): support iso8859-4
6146 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6148 * LaTeX.C (deplog): add another regex for MikTeX
6150 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6152 * lyxrc.C (set_font_norm_type): support iso8859-3
6154 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6158 * LaTeXFeatures.C: remove special case of french and index
6160 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6161 before \begin{document}). This solves several incompatibilities.
6163 2001-10-03 Garst Reese <reese@isn.net>
6165 * lyx_cb.C: change CheckTex error msg.
6167 2001-10-03 José Matos <jamatos@fep.up.pt>
6169 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6171 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6173 * .cvsignore: update
6175 * lyx_main.C (commandLineVersionInfo): use new style version info.
6177 * buffer.C (writeFile):
6180 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6182 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6184 * version.h: update to use stuff in version.C
6186 * version.C.in: new file. Contains version information determined
6187 at compile time. This is a merging of version.h and
6190 2001-10-03 Juergen Vigna <jug@sad.it>
6192 * BufferView_pimpl.C (update): don't change "dirty" status in
6195 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6197 * WorkArea.C (c-tor): re-position version string slightly.
6199 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6201 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6202 revert to previous code.
6204 WorkArea.[Ch]: (show, destroySplash): methods removed.
6206 WorkArea.C: rework code so that it's an amalgam of the codes before and
6207 after the splash screen was moved to WorkArea.
6209 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6212 * vspace.C (inPixels):
6215 * buffer.C (insertStringAsLines):
6216 (asciiParagraph): fix types to be large enough
6218 * lyxlex_pimpl.h: change member status from short to int
6220 * layout.h: fix type of endlabeltype
6223 * kbsequence.C (parse): change return type to string::size_type
6225 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6228 * Bullet.C (bulletSize):
6229 (bulletEntry): do not use short ints as parameters
6231 * BufferView2.C (insertLyXFile): change a char to an int.
6233 * WorkArea.C (WorkArea): remove unneeded floats in computation
6235 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6237 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6239 * paragraph.C (asString): Do not ignore newline/hfill chars when
6240 copying to the clipboard.
6242 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6244 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6245 after a multi-line inset.
6247 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6249 * paragraph.C (validate): Set NeedLyXFootnoteCode
6251 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6253 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6254 and decrease-error to decrease.
6256 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6258 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6259 it more readable (should be equivalent)
6261 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6263 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6265 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6267 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6268 of a cursor (row, etc.) after a character has been deleted
6269 (deleteEmptyParagraphMechanism): call the method above on _all_
6270 cursors held by the LyXText when a double space has been
6273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6275 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6277 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6279 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6280 background. Use greyOut() and the new show() methods to toggle between
6281 the foreground and background. Add code to remove the splash after
6282 its initial showing.
6284 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6285 (create_forms): no longer call Dialogs::showSplash.
6287 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6289 * .cvsignore: add version_info.h
6291 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * version_info.h.in: new file
6295 * Makefile.am: add version_info.h.in
6297 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6298 version_info.h instead of VERSION_INFO
6300 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6302 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6303 The ERT inset now returns string().
6305 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6307 * lyxtext.h, text.C (selectNextWord): renamed as
6308 selectNextWordToSpellcheck.
6310 * text.C (selectNextWordToSpellcheck): Modified to not select
6311 words inside an ERT inset.
6313 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6315 * lyx_cb.C (MenuLayoutSave): change a bit the question
6317 * sp_base.h: include <sys/types.h>
6319 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6321 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6323 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6325 * several files: fix typos in user-visible strings
6327 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6329 * text2.C (pasteSelection): do not set the selection, since it
6330 will be cleared later. Actually, the intent was to fix the way the
6331 selection was set, but I figured rmoving the code was just as good.
6333 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6335 * FontLoader.C (available): Check if font is available without
6338 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6340 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6342 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6344 * lyxrc.[Ch]: added display_graphics variable and associated code.
6346 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6348 * bufferparams.C (hasClassDefaults): new method. Returns true if
6349 the buffer parameters correspond to known class defaults
6351 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6353 * XFormsView.C (show): set minimum size to the main window.
6355 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6357 * text2.C (copySelection):
6359 * lyxfind.C (LyXReplace):
6360 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6361 LyXText::selectionAsString.
6363 * paragraph.C (asString): add "label" argument to the second form
6365 * text2.C (selectionAsString): add "label" argument and pass it to
6366 Paragraph::asString.
6368 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6370 * lyx_main.C (commandLineHelp): remove version information
6372 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6374 * lyx_main.C: add -version commandline option
6376 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6378 * paragraph.h: make the optional constructor arg required instead.
6379 some modifications to other files because of this.
6381 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6383 * lyxserver.C (C_LyXComm_callback): make it static
6385 * lyx_main.C (error_handler): make it static
6387 * lyx_gui.C (LyX_XErrHandler): make it static
6389 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6391 * WorkArea.C: make the extern "C" methods static.
6393 * Makefile.am (lyx_LDADD): simplify
6395 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6397 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6398 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6400 * LyXAction.C (init):
6401 * lyxfunc.C (dispatch): associated code removal.
6403 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6405 * lyxfont.h (isSymbolFont): shut off warning
6407 * text.C (setHeightOfRow):
6408 (getVisibleRow): fix crash with empty paragraphs which have a
6411 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6413 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6416 2001-09-04 José Matos <jamatos@fep.up.pt>
6419 * tabular.C (docbook): rename docBook method to docbook.
6421 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6423 * Makefile.am: add dependencies to main.o.
6425 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6427 * FontLoader.C (available): Return false if !lyxrc.use_gui
6429 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6431 * FontInfo.C (query):
6432 * converter.C (view):
6433 * importer.C (Import):
6434 * exporter.C (Export): Can not -> cannot.
6436 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6438 * BufferView_pimpl.C: allow to create index inset even if
6441 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6443 * buffer.C (getLists): replace boost::tie code with an explicit pair
6444 as boost::tie can break some compilers.
6446 * iterators.h: Added a std:: declaration to the return type of
6449 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6451 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6454 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6456 * iterators.[Ch]: New files. Provide paragraph iterators.
6458 * buffer.C (changeLanguage): Use paragraph iterators.
6459 (isMultiLingual): ditto
6461 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6463 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6465 * FontLoader.C: Support for cmr font.
6467 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6469 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6470 (available): New method.
6472 * FontInfo.C (getFontname): Use scalable fonts even when
6473 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6476 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6478 * converter.C (Formats::view): reverted! Incorrect fix.
6480 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6482 * converter.C (Formats::view): only output the -paper option
6483 if the dvi viewer is xdvi, thereby fixing bug #233429.
6485 2001-08-23 Herbert Voss <voss@perce>
6487 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6489 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6491 * Spacing.h (Spacing): Set space to Default on in the default
6494 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6496 * vc-backend.h (RCS::versionString): add RCS to version
6497 (CVS::versionString): add CVS to version
6499 * vc-backend.C (scanMaster): do not add CVS to version.
6500 (scanMaster): do not add RCS to version
6502 * lyxvc.C (versionString): new method
6504 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6506 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6508 * Spacing.C (set): initialize fval
6510 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6512 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6515 2001-08-16 Juergen Vigna <jug@sad.it>
6517 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6519 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6521 * BufferView_pimpl.C:
6524 * text2.C: setParagraph takes linespacing now
6526 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6528 * LyxAction.C: add internal LFUN_CITATION_INSERT
6530 * LyXView.C: actually apply fix
6532 * bufferlist.C: fix open non-existent file
6534 * lyxfind.C: fix indentation
6536 * lyxfunc.C: remove unneeded assert, fix typo
6538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6540 * MenuBackend.C: use "Floatname List"
6542 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6544 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6545 when converting LaTeX layout to insetERT.
6546 Generate a non-collapsed float when reading old float
6548 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6550 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6553 2001-08-13 Juergen Vigna <jug@sad.it>
6555 * text.C (fill): return 0 instead of 20 as this seems to be the more
6558 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6560 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6563 2001-08-13 Juergen Vigna <jug@sad.it>
6565 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6567 (SearchBackward): comment out the unlocking of the inset_owner this
6568 should not be needed!
6570 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6572 * Many files: Remove inherit_language, and add latex_language
6574 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6577 2001-08-10 Juergen Vigna <jug@sad.it>
6579 * text.C (prepareToPrint): fixed hfill-width in draw!
6581 * BufferView2.C (selectLastWord): save the selection cursor as this
6582 now is cleared in the function LyXText::clearSelection!
6584 2001-08-08 Juergen Vigna <jug@sad.it>
6586 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6587 BACKSPACE type functions.
6589 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6590 is only cutted from the document but not put in the cut-buffer, where
6591 still the old stuff should be.
6593 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6595 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6597 * tabular.C (SetWidthOfCell): fixed special case where the width
6599 (LeftLine): handle '|' in align_special.
6601 (LeftAlreadyDrawed): ditto
6602 (SetWidthOfCell): ditto
6604 2001-08-07 Juergen Vigna <jug@sad.it>
6606 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6608 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6611 * lyxlex.[hC]: ditto
6613 2001-08-06 Juergen Vigna <jug@sad.it>
6615 * text.C (getVisibleRow): fix up row clearing a bit.
6617 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6619 * minibuffer.C: make sure the X server sees the changes in the input.
6621 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * paragraph.C (getFont): split into...
6624 (getLabelFont): this
6625 (getLayoutFont): and this
6626 * paragraph_pimpl.C (realizeFont): calling this
6628 * text2.C (getFont): split into...
6629 (getLayoutFont): this
6630 (getLabelFont): and this
6631 (realizeFont): all three calling this
6633 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6636 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6638 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6640 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6642 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6643 layouts from the Quote inset insertion.
6645 2001-08-03 Juergen Vigna <jug@sad.it>
6647 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6649 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6650 only if status not is already CHANGED_IN_DRAW (second level).
6652 * text.C (draw): don't set the need_break_row when inside an
6655 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * buffer.C (parseSingleLyXformat2Token): handle more latex
6660 * bufferview_funcs.[hC]: change function names to
6661 begin with small char, adjust other files.
6663 2001-08-02 André Pönitz <poenitz@gmx.net>
6666 BufferView_pimpl.C: remove broken special code for math-greek
6668 2001-08-02 Juergen Vigna <jug@sad.it>
6670 * BufferView_pimpl.C (update): redone this function so that we
6671 update the text again if there was a CHANGE_IN_DRAW.
6673 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6674 (drawFromTo): added a new internal bool which is used by draw() and
6676 (general): some cursor drawing problems fixed.
6678 2001-08-01 Juergen Vigna <jug@sad.it>
6680 * lyxfind.C (LyXFind): fixed
6681 (SearchForward): ditto
6682 (SearchBackward): ditto
6684 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6685 spurius drawing of the cursor in the main area.
6687 * text2.C (status): small fix which could lead to a segfault!
6688 (clearSelection): remove unneeded BufferView param.
6690 2001-08-01 André Pönitz <poenitz@gmx.net>
6692 * lyxfunc.C: small change due to changed mathed interface
6694 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6698 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6700 * lyxfunc.c: fail gracefully if file doesn't exist
6705 * BufferView_pimpl.C: IsDirWriteable() proto changed
6707 * LyXView.C: fix updateWindowTitle() to store the last title
6709 2001-07-31 Juergen Vigna <jug@sad.it>
6711 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6712 the font (wrong since using of Paragraph::highestFontInRange).
6714 * paragraph.C (highestFontInRange): added a default_size parameter.
6716 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6717 (setHeightOfRow): reformat
6719 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * converter.[hC] + affected files: move to (inital-char)lowercase
6724 * ParagraphParameters.C (ParagraphParameters): remove commented code
6726 * PainterBase.[Ch]: remove commented code
6728 * LaTeXFeatures.h: add "bool floats" for float.sty
6730 * LaTeXFeatures.C (LaTeXFeatures): init floats
6731 (require): handle float
6732 (getPackages): do it with floats
6734 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6736 * BufferView_pimpl.C (Dispatch): improve handling of
6737 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6739 * commandtags.h: #include lyxfont.h here temporarily to avoid
6742 * bufferlist.h: include LString.h here.
6744 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * text2.C (getStringToIndex): new method.
6748 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6750 * *: Reduced header file dependencies all over.
6752 2001-07-30 Baruch Even <baruch@lyx.org>
6754 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6756 2001-07-29 Baruch Even <baruch@lyx.org>
6758 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6760 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6762 * ParameterStruct.h (endif): add a default constructor to make
6763 sure that all variables is initialized.
6765 * ParagraphParameters.C (ParagraphParameters): adjust
6767 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6769 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6770 index; also, check that there is something to index, and that it
6771 does not span over several paragraphs.
6772 (doubleClick): use WHOLE_WORD_STRICT for double click.
6774 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6776 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6779 2001-07-26 Baruch Even <baruch@lyx.org>
6781 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6782 an InsetFig figure, backwards compatible reading of old figure code.
6784 2001-07-27 Juergen Vigna <jug@sad.it>
6786 * text2.C: font.realize function adaption.
6788 * text.C (draw): add a warnings lyxerr text if needed.
6790 * layout.C: font.realize function adaption.
6792 * language.C: add inherit_language and implement it's handlings
6794 * bufferview_funcs.C (StyleReset): remove language parameter from
6795 font creation (should be language_inherit now).
6797 * bufferparams.C (writeFile): handle ignore_language.
6799 * paragraph.C (getFontSettings): the language has to be resolved
6800 otherwise we have problems in LyXFont!
6802 * lyxfont.C (lyxWriteChanges): added document_language parameter
6803 (update): removed unneeded language parameter
6805 * paragraph.C (validate): fixed wrong output of color-package when
6806 using interface colors for certain fonts in certain environments,
6807 which should not seen as that on the final output.
6809 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6811 * BufferView_pimpl.C:
6816 * LyXAction.C: add thesaurus support
6819 * lyxfind.C: add "once" parameter, for thesaurus, to not
6820 move to the next match
6822 2001-07-26 Juergen Vigna <jug@sad.it>
6824 * lyxfont.C (realize): honor ignore_language too!
6827 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6829 * text.C (draw): one place more for ignore_language to not draw
6832 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6834 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6838 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6839 the minipage conversion problem.
6841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6846 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6848 * BufferView.h: don't forward declare WorkArea
6850 * BufferView.C: don't include WorkArea.h
6852 2001-07-25 André Pönitz <poenitz@gmx.net>
6856 * lyxfunc.C: new LFUN 'math-space'
6858 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6860 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6862 * text2.C (toggleInset): call open/close
6864 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6866 * lyxfunc.C (dispatch): add debug for the disabled case
6868 * font.C (buttonText): make similar to rectText
6870 * buffer.C (readInset): comment out parsing of insetlist and
6873 * PainterBase.C (rectText): small correction
6875 * BufferView_pimpl.C: comment out insettheorem and insetlist
6876 * LyXAction.C: ditto
6877 * commandtags.h: ditto
6879 2001-07-24 Juergen Vigna <jug@sad.it>
6881 * text.C (draw): honor the ignore_language.
6883 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6885 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6887 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6890 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6892 * lyxtext.h: remove unused (and unimplemented) methods
6894 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6896 * text.C (getVisibleRow): honor background color
6899 * Painter.h: remove default color argument for fillRectangle
6901 * text.C (backgroundColor): new method
6903 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6905 * text.C (getVisibleRow): adjust
6907 * font.[Ch] (rectText): new method, metrics
6908 (buttonText): new method, metrics
6910 * PainterBase.[hC]: make rectText and buttonText always draw and take
6913 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6915 * ToolbarDefaults.C (read):
6916 * MenuBackend.C (read): allow escaping in all strings
6918 * BufferView_pimpl.C (insertAndEditInset): new method.
6919 (Dispatch): use insertAndEditInset whenever appropriate.
6921 * BufferView_pimpl.C (insertNote): removed
6923 * BufferView_pimpl.C (smartQuote): new method, moved from
6924 BufferView; if an insetquote cannot be inserted, insert a '"'
6927 * BufferView2.C: remove insertCorrectQuote();
6929 * lyxfunc.C (getStatus): Add support for all remaingin
6932 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6934 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6935 command (necessary to pass " as parameter of self-insert.
6937 * text.C (selectWordWhenUnderCursor):
6938 (selectWord): add word_location parameter
6939 (selectWordWhenUnderCursor): same + remove special code for word
6941 (selectNextWord): use kind() to guess type of insetspecialchar,
6944 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6945 (insertErtContents): create ert insets as collapsed.
6946 (readInset): better compatibility code for Info inset.
6948 2001-07-20 Juergen Vigna <jug@sad.it>
6950 * lyxfunc.C (dispatch): use always LyXFind now!
6952 * text2.C (init): add a reinit flag so that the LyXText can be
6953 reinited instead of deleted and reallocated (used in InsetText).
6955 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6961 2001-07-18 Juergen Vigna <jug@sad.it>
6963 * text.C (selectNextWord): handle insets inside inset by calling
6964 always the bv->text functions so that we can go up the_locking_inset!
6966 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6967 in strange locations when inside an inset!
6969 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6970 handling to include insets.
6972 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6974 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6976 * LyXAction.C (init):
6978 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6979 LIGATURE_BREAK, since the name is so stupid.
6981 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6983 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6986 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6988 * sp_form.[Ch]: remove.
6990 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6992 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6995 * src/buffer.C (readInset): ditto.
6997 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6999 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7000 menuSeparator(), endOfSentenceDot(), ldots() and
7001 hyphenationPoint(), which are therefore removed.
7002 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7004 * LyXAction.C (init):
7005 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7007 * paragraph.C (getWord): removed.
7009 * BufferView_pimpl.C (Dispatch): use last word or selection for
7010 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7012 * lyx_main.C (queryUserLyXDir): do not ask before creating
7013 user_dir, except if it has been named explicitely.
7015 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7017 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7018 a document of zero size.
7020 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7022 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7023 approriately in the c-tor and in require().
7024 (getPackages): output the appropriate LaTeX for natbib support.
7026 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7027 variables "use_natbib" and "use_numerical_citations" when reading the
7029 (readInset): read the various natbib cite commands.
7030 (validate): white-space change.
7032 * bufferparams.[Ch]: new variables "bool use_natbib" and
7033 "bool use_numerical_citations".
7034 (writeFile): output them in the LyX file.
7036 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7038 * lyxfunc.C (getStatus): add support for all the inset insertion
7041 * text2.C (insertInset):
7042 * paragraph.C (insetAllowed):
7043 * BufferView_pimpl.C (insertInset): update to take in account the
7044 renaming of insertInsetAllowed
7046 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7048 * text2.C (getInset): new method. returns inset at cursor position.
7050 * BufferView_pimpl.C (Dispatch): changes because of this.
7052 * LyXAction.C (init): rename open-stuff to inset-toggle.
7054 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7056 * text2.C (toggleInset): renamed from openStuff; use
7059 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7061 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7063 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7065 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7067 * buffer.C (readLyXformat2): Add filename to the error dialog
7069 2001-07-18 Juergen Vigna <jug@sad.it>
7071 * tabular.C (GetCellNumber): put an assert here instead of the check!
7073 2001-07-17 Juergen Vigna <jug@sad.it>
7075 * BufferView_pimpl.C (toggleSelection): adapted too.
7077 * text.C (selectNextWord): adapted for use with insets.
7078 (selectSelectedWord): ditto
7080 2001-07-17 Juergen Vigna <jug@sad.it>
7082 * sp_spell.C (PSpell): fix initialitation order.
7084 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7086 * paragraph.C: spacing
7088 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7090 * sp_spell.C: repair language selection for pspell
7092 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7094 * lyxfunc.h: change more methods to begin with lower char.
7096 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7098 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7099 for unknown layouts.
7101 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7103 * buffer.C (readLyXformat2): Generate an error dialog if there are
7106 2001-07-16 Juergen Vigna <jug@sad.it>
7108 * sp_spell.C: always compile ISpell part.
7110 * lyxrc.C: added use_pspell entry and it's handling.
7112 2001-07-13 Juergen Vigna <jug@sad.it>
7114 * sp_spell.C: removed double includes.
7116 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7118 Consistent use of Lsstream.h:
7119 * Lsstream.h: added using std::stringstream for consistencies sake.
7121 * buffer.C: removed using std::stringstream
7123 * lyxfont.C (stateText):
7124 * paragraph.C (asString):
7125 * text.C (selectNextWord, selectSelectedWord):
7126 * text2.C (setCounter):
7127 * vspace.C (asString, asLatexString):
7128 std::ostringstream -> ostringstream.
7130 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7132 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7133 * commandtags.h: add LFUN_HELP_ABOUTLYX
7134 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7138 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7140 * lyx_gui_misc.C: remove spellchecker
7141 * lyxfunc.C: showSpellchecker
7143 * sp_ispell.h: added
7144 * sp_pspell.h: added
7146 * sp_form.[Ch]: removed
7147 * spellchecker.[Ch]: removed
7149 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7151 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7153 (simpleTeXSpecialChars): Simply print the input character without
7154 any special translation if pass_thru is set.
7156 * layout.h: Added bool pass_thru to layout class for being able to
7157 implement pass through of a paragraph for Literate Programming.
7159 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7160 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7161 * layout.C (Read): add "passthru" to list of layout tags and add
7162 code to set the pass_thru boolean when it is read.
7164 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7166 * trans_decl.h: remove allowed from KmodInfo
7168 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7172 * paragraph_pimpl.C (erase): use boost::prior
7174 * Painter.C (text): use data() instead of c_str() when length is
7176 * WorkArea.C (putClipboard): ditto
7177 * font.h (width): ditto
7179 * BufferView2.C: use it-> instead of (*it). for iterators
7181 * paragraph_pimpl.C: ditto
7182 * paragraph.C: ditto
7183 * minibuffer.C: ditto
7188 * converter.C: ditto
7190 * Variables.C: ditto
7191 * TextCache.C: ditto
7192 * MenuBackend.C: ditto
7193 * LyXAction.C: ditto
7195 * FloatList.C: ditto
7197 * ColorHandler.C (LyXColorHandler): ditto
7199 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7201 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7203 * text2.C (openStuff): reintroduce this method (which had been
7204 nuked in NEW_INSETS frenzy).
7206 * lyxfunc.C (Dispatch): when an action has not been handled, use
7207 its name in the error message, not its number.
7209 * paragraph.C (inInset): change method name to begin with lowercase.
7212 * text2.C: updates because of this.
7214 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7216 * ToolbarDefaults.C (add): add spaces in error message
7218 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7221 (readLyXformat2): rename return_par to first_par, use lyxlex's
7222 pushToken and remove the manual push handling.
7223 (parseSingleLyXformat2Token): add another ert comp. variable:
7224 in_tabular, rename return_par to first_par. handle newlines better
7226 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7228 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7230 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7232 * text2.C (getParFromID): removed
7234 * buffer.C (getParFromID): new method moved form lyxtext.
7235 * BufferView2.C (insertErrors): adjust
7236 (setCursorFromRow): adjust
7237 * BufferView_pimpl.C (restorePosition): adjust
7238 * lyxfunc.C (Dispatch): adjust
7239 * undo_funcs.C (textUndo): adjust
7241 (textHandleUndo): adjust
7242 (textHandleUndo): adjust
7244 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7246 * buffer.C: up' the LYX_FORMAT
7248 * lyxfont.h: turn NO_LATEX on as default
7250 * buffer.C (insertErtContents): new methods of tex style compability.
7251 (parseSingleLyXformat2Token): use it several places.
7252 * tabular.C (OldFormatRead): and here
7254 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * text2.C: remove some commented code.
7259 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7260 * trans.C: changes because of the above.
7262 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7264 * text2.C (setCounter): Fix counters bug with bibliography layout.
7266 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7268 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7269 own member functions
7270 (simpleTeXSpecialChars): ditto
7272 2001-07-06 Juergen Vigna <jug@sad.it>
7274 * a lot of files: changed the access to LyXText::status and the
7275 call of undo-functions.
7277 * undo.[Ch]: added a inset_id to the undo informations.
7279 * undo_funcs.[Ch]: added and moved here all undo functions.
7281 * lyxtext.h: give the status enum a weight, made status_ a private
7282 variable and made accessor functions for it, removed the whole bunch
7283 of undo-functions as they are now in their own file, make some
7284 functions publically available. Added function ownerParagraph with
7287 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7288 made InInset() a const function, added getParFromID() function.
7290 * buffer.[Ch]: added const version for inset_iterator functions,
7291 added getInsetFromID() function.
7293 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7294 changed undo functions for new version.
7296 2001-07-05 Juergen Vigna <jug@sad.it>
7298 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7299 unknow mechanism does not call the proper constructor but only this
7300 one also if I request the other!?
7302 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7304 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7306 * text2.C (LyXText): use initialization lists.
7308 * lyxtext.h (Selection): initialize set_ and mark_
7309 (init): remove method
7311 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7313 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7315 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7317 * screen.[Ch]: change method names to begin with lowercase
7319 * BufferView_pimpl.C (updateScrollbar): simplify further and
7320 hopefully make it a bit faster.
7322 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7324 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7325 calling directly xforms functions.
7327 * Painter.C (Painter):
7328 * lyx_cb.C (MenuWrite):
7329 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7332 * lyx_gui.C: remove bogus guiruntime extern declaration.
7334 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7336 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7338 (redoDrawingOfParagraph): ditto
7339 (redoParagraphs): ditto
7340 (cutSelection): don't create a object for CutAndPaste use the
7341 static method directly
7342 (pasteSelection): ditto
7344 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * modifications to some other files because of this.
7351 * Makefile.am (lyx_SOURCES): add XFormsView
7353 * XFormsView.[Ch]: new files
7355 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7356 the main window. Move the gui dependent stuff to XFormsView
7358 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7360 * tabular.C (GetCellInset): update cur_cell also in the row/col
7361 version of this function.
7363 * lyxfunc.C: no need to include figure_form.h here.
7369 * lyxvc.C: no need to include forms.h here.
7371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7373 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7375 * lyxfunc.C (Dispatch):
7377 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7378 constructor argument.
7380 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * paragraph.C (Paragraph): dont't clear, and just set layout.
7383 (makeSameLayout): use params's copy contructor.
7385 * ParagraphParameters.[Ch] (makeSame): delete method
7387 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7389 * Variables.[Ch]: fix indentation, rename set to isSet
7391 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * lyxfunc.C (Dispatch): fix typo
7395 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7397 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7400 * bufferlist.C: include assert.h for emergencyWrite().
7402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7404 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7405 give up at last (bug #425202) !
7407 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7413 * spellchecker.C: strip spellchecker options and bring up
7414 preferences tab instead
7416 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7418 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7419 the istringstream constructor
7421 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7423 * paragraph.C (getLayout): fix return value
7425 * paragraph.h: do not declare getLayout as inline.
7427 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7429 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7431 * lyxcursor.h (operator<): new func
7432 (operator>): new func
7433 (operator>=): new func
7434 (operator<=): new func
7436 * text.C (changeCase): use selection.start and selection.end
7437 (changeRegionCase): require from to be <= to. Require par to be a
7440 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7442 2001-06-27 Juergen Vigna <jug@sad.it>
7444 * text.C (cursorLeftOneWord): changed to return the cursor and added
7445 overlay with BufferView * parameter which calls this one.
7447 (selectWord): use new getWord function.
7448 (changeCase): renamed from changeWordCase as and extended to work
7451 * lyxtext.h: added enum word_location
7453 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7454 changeCase as this operates now also on selections.
7456 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7458 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7460 * many files: send debug output to Debug::INFO instead of
7463 * converter.C (View):
7465 (Move): send debug output to Debug::FILES instead of console.
7467 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7469 * lyxfunc.C (getStatus): use func_status
7471 * func_status.h: new header, describing the results of
7474 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7477 2001-06-25 The LyX Project <jug@sad.it>
7479 * buffer.C (sgmlOpenTag):
7481 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7483 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7485 * text2.C: remove some dead code
7487 * tabular.C (GetCellInset): store the last cell checked (gotten)
7489 * tabular.h: add the helper for the speedup
7491 * lyxtext.h: remove some dead code
7493 2001-06-26 The LyX Project <Asger>
7495 * paragraph.C: Change export to LaTeX of alignment to
7496 \begin{center} and family for better roundtrip work with reLyX.
7498 * Tune the math drawing a bit.
7500 2001-06-25 The LyX Project <Asger>
7502 * LColor.C (LColor): New color for math background. New color
7505 2001-06-25 The LyX Project <jug@sad.it>
7507 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7510 * bufferlist.C (newFile): do not restrict to files ending with
7513 * BufferView_pimpl.C (MenuInsertLyXFile):
7515 2001-06-24 The LyX Project <jug@sad.it>
7517 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7520 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7522 * lyxtext.h: rename most methods to begin with a small char.
7523 Lots of changes because of this.
7525 * paragraph.C (Paragraph): do not call fitToSize
7526 (erase): call Pimpl::erase
7527 (insertChar): call Pimpl::insertChar
7528 (insertInset): call Pipl::insertInset
7529 (breakParagraph): do not call fitToSize
7530 (breakParagraphConservative): do not call fitToSize
7531 (fitToSize): remove method
7533 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7535 2001-06-24 The LyX Project <Asger>
7537 * Fix Qt compilation^2
7539 2001-06-24 The LyX Project <jug@sad.it>
7541 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7542 depthHook(getDepth()-1).
7545 * ParagraphParameters.h:
7546 * ParameterStruct.h: change type of depth to unsigned int ==
7547 depth_type. Many adaptations to other files before of that.
7549 2001-06-24 The LyX Project <Asger>
7551 * Fix Qt compilation.
7553 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7555 * paragraph.h: renamed several methods to begin with small letter.
7556 several changes to many parts of the code because of this.
7558 2001-06-23 The LyX Project <jug@sad.it>
7560 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7561 rewritten to discard all double spaces when KeepEmpty is off
7562 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7563 to only handle newlines but not fiddle with spaces and friends.
7565 * lyxfunc.C (MenuNew): when doing 'new from template', use
7566 template_path as default directory
7568 2001-06-23 The LyX Project <Asger>
7570 * Clean-up of header file includes all over
7571 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7573 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * paragraph.h: renamed from lyxparagraph.h
7577 2001-06-23 Asger <lyx@violet.home.sad.it>
7579 * Buffer.h: Removed Buffer::resize
7580 * BufferList.h: Removed BufferList::resize
7581 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7582 the document lazily when we change the width, or the font settings.
7584 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7586 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7588 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7590 * buffer.h: remove out of date comment
7592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7595 * screen.C: fix "theoretical" GC leak
7597 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7599 * LaTeX.C (scanAuxFile):
7600 (deplog): remove trailing \r when reading stream (useful under
7603 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7605 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7606 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7607 and BufferView::theLockingInset(Inset*), so should use them and not
7608 access bv_->text->the_locking_inset directly.
7610 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7612 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7615 * tex-defs.h: remove old unused file
7617 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7619 * BufferView_pimpl.C: fix typo, remove minibuffer message
7620 when buffer has loaded
7622 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * lyxfunc.C (Dispatch): use stringstream
7625 (MenuNew): use stringstream
7626 (Open): use stringstream
7628 * importer.C (Import): use stringstream
7630 * bufferview_funcs.C (CurrentState): use stringstream
7632 * LaTeX.C (run): use stringstream
7634 * BufferView_pimpl.C (savePosition): use stringstream
7635 (restorePosition): use stringstream
7636 (MenuInsertLyXFile): use stringstream
7638 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7651 * vspace.C: removed // -*- C++ -*- as first line.
7654 * version.h: added // -*- C++ -*- as first line.
7656 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7658 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7660 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7663 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7665 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7668 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7670 * gettext.C: include LString.h even when --disable-nls is on.
7672 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7674 * converter.h (Get): changed argument type from int to
7675 FormatList::size_type to avoid unnecessary conversion.
7677 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7680 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7682 * gettext.h: include LString.h even when --disable-nls is on.
7684 2001-06-07 Juergen Vigna <jug@sad.it>
7686 * text.C (BreakAgain): subst spaces with tabs.
7688 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7689 (resizeInsetsLyXText): set force on resizeLyXText.
7691 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7693 * gettext.h (gettext_init):
7694 (locale_init): use a real definition instead of a macro
7696 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7698 * Bufferview_pimpl.C:
7700 * LColor.C: further lcolor tidies
7702 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * BufferView_pimpl.C (updateScrollbar): simplify.
7706 * BufferView2.C: don't include insets/insetinfo.h, change
7707 prototype for insertInset and call the Pimpl version. let
7708 updateInset call Pimpl version.
7710 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7711 gotoInset to BufferView::Pimpl
7713 2001-06-01 Juergen Vigna <jug@sad.it>
7715 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7716 inside a LockingInset (is the update needed at all?).
7718 2001-05-31 Juergen Vigna <jug@sad.it>
7720 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7721 here not the old one otherwise how should we compare it afterwards
7724 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * FontInfo.C: bring C functions into global namespace when
7732 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7734 * LString.h: make sure config.h has been loaded before LString.h.
7736 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7737 (one for each char read by EatLine!).
7739 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7742 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7744 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7745 to the same as the par we break from
7747 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7751 * MenuBackend.C (expand): also create menu entries for wide
7752 versions of the floats.
7754 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7756 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7758 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7759 frontends/Makefile.am
7765 * tabular.C (getTokenValue): add std::
7767 * tabular-old.C (getTokenValue): add std::
7768 (getTokenValue): ditto
7769 (getTokenValue): ditto
7771 * screen.C (ToggleSelection): adjust
7773 * lyxtext.h: put selection cursors inside a Selection struct.
7775 * lyxfunc.C (moveCursorUpdate): adjust
7777 * lyxfont.C (latexWriteStartChanges): add std::
7781 * font.h: delete with(char const *, LyXFont const &)
7783 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7785 * FontInfo.C (getFontname): add std::
7787 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7788 (workAreaButtonPress): adjust
7789 (tripleClick): adjust
7791 (moveCursorUpdate): adjust
7794 * BufferView2.C (gotoInset): adjust
7796 2001-05-30 Juergen Vigna <jug@sad.it>
7798 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7799 to check pspell I add this as default as I now have new pspell
7800 libraries and they seem to use this.
7802 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7804 * text2.C (CutSelection): make the cursor valid before the call to
7807 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7810 relied on 0 terminated strings and other horrors. Bug found due to
7811 the new assert in lyxstring!
7813 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7816 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7818 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7821 * lyxfunc.C (processKeySym): change method of getting to the
7824 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7825 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7826 * BufferView_pimpl.[Ch]: here as private methods.
7828 2001-05-28 Juergen Vigna <jug@sad.it>
7830 * text.C (SetHeightOfRow): added the update() call again as it is
7831 needed to initialize inset dimensions!
7833 2001-05-16 Juergen Vigna <jug@sad.it>
7835 * text2.C (SetCharFont): Add new function with BufferView * and
7836 bool toggleall parameters for setting insets internal fonts.
7837 (SetFont): Freeze the undo as we may change fonts in Insets and
7838 all this change should be inside only one Undo!
7840 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7841 setting font's in insets as for them we have the SetFont function!
7843 2001-05-15 Juergen Vigna <jug@sad.it>
7845 * text2.C (ClearSelection): to be sure we REALLY don't have any
7848 * tabular.C (TeXCellPreamble): fixed the left border problem for
7851 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7853 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7856 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7858 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7859 LFUN_BREAKPARAGRAPH.
7861 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7862 help test to "internal only", similar for LFUN_INSERT_URL
7864 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7865 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7866 auto_region_delete and deadkeys.
7868 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7871 * LColor.C: remove some dead entries, tidy a little
7873 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7877 (Dispatch): implement LFUN_ESCAPE
7879 * commandtags.h: add LFUN_ESCAPE
7881 * LyXAction.C (init): add entry for LFUN_ESCAPE
7883 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7884 Remove commented code.
7885 (insertNote): moved here
7886 (open_new_inset): moved here
7888 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7891 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7893 * kbmap.C (findbinding): clean it up and make it work correctly.
7895 * lyx_main.C (init): do not pass argc and argv as parameters
7897 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7899 * buffer.C: fix path for OS/2 & Win32
7903 * lyx_main.C: Added os:: class.
7905 * os2_defines.h: update
7907 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7910 better by trying again with reduced state.
7912 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7914 * lyxrc.C (read): print error about invalid key sequence only when
7915 debugging (because not all latinX keysyms are known to some X
7918 * kbsequence.C (getiso): add a few std:: qualifiers
7919 (getiso): comment out extra return statement.
7921 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7923 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7925 (Dispatch): enhance the accent inset a bit. (not perfect)
7927 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7929 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7931 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7933 * bufferlist.C (emergencyWrite): fix assert() call
7935 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7937 * text.C (InsertChar): Added trivial patch to only send the "you
7938 can not do multiple spaces this way" message once during a
7941 2001-05-08 Baruch Even <baruch@lyx.org>
7943 * Makefile.am: Changed order of libraries to get LyX to link properly
7944 with the gnome frontend.
7946 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7948 * LaTeXFeatures.h: add a std:: qualifier
7950 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7952 * paragraph.C (String): use stringstream
7954 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7956 * paragraph.C (writeFile): remove footflag arg
7958 * buffer.C (makeLaTeXFile): use stringstream
7959 (latexParagraphs): remove footnot gurba
7961 * LaTeXFeatures.C (getPackages): use stringstream
7962 (getMacros): likewise
7963 (getTClassPreamble): likewise
7964 (getFloatDefinitions): new method
7966 * paragraph.C (writeFile): reindent
7969 * WorkArea.h: revert the xpos + etc changes.
7971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7973 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7975 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7976 (pasteSelection): likewise
7977 * text2.C (CreateUndo): likewise
7979 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7981 * minibuffer.C (peek_event): temporarily reduce the functionality
7982 of the minibuffer (to allow args on lfuns)
7984 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7985 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7987 * buffer.C (readInset): add compability reading of old float
7988 lists, add reading of new style float list.
7989 (readInset): avoid reevaluation of inscmd.getCmdName()
7990 (getLists): reindent
7992 * MenuBackend.C (MenuItem): implement parsing of
7993 md_floatlistinsert and md_floatinsert.
7994 (expand::LastFiles): move initalizaton of iterators out of loop,
7996 (expand::Documents): introduce typdedef vector<string> Strings,
7998 (expand::ExportFormats): introduce typedef vector<Format const *>
7999 Formats, and use it.
8000 (expand): implement FloatListInsert and FloatInsert.
8002 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8003 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8004 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8006 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8008 (Dispatch::LFUN_FLOAT_LIST): implement
8010 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8012 * LaTeX.C (run): Fix problem with --export code.
8014 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8016 * BufferView.[Ch] (workarea): removed.
8017 (getClipboard) new method; wrapper for workarea()->getClipboard()
8019 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8022 * WorkArea.h (width, height, xpos, ypos): These methods all
8023 returned the dimensions of the work_area sub-area of WorkArea,
8024 resulting in a position error if the WorkArea were resized. Now
8025 return the dimensions of the entire WorkArea.
8027 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8029 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8031 * LaTeX.C (deplog): correct the syntax of regex reg1
8033 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * undo.C: remove !NEW_INSETS cruft
8037 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8039 * text2.C: remove !NEW_INSETS cruft
8041 * text.C: remove !NEW_INSETS cruft
8043 * tabular.C: remove !NEW_INSETS cruft
8045 * spellchecker.C: remove !NEW_INSETS cruft
8047 * lyxtext.h: remove !NEW_INSETS cruft
8049 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8051 * lyxfunc.C: remove !NEW_INSETS cruft
8053 * lyxfind.C: remove !NEW_INSETS cruft
8055 * lyx_cb.C: remove !NEW_INSETS cruft
8057 * figureForm.C: remove !NEW_INSETS cruft
8059 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8061 * buffer.[Ch]: remove !NEW_INSETS cruft
8063 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8065 * CutAndPaste.C: remove !NEW_INSETS cruft
8067 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8069 * BufferView2.C: remove !NEW_INSETS cruft
8071 * BufferView.h: remove !NEW_INSETS cruft
8073 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8075 * Lsstream.h: include LString.h before the sstream headers to
8076 fix problem with gcc 2.95.3 and lyxstring
8078 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8080 * lyx_main.C: add using directives when needed for C functions
8081 declared in std:: namespace.
8083 2001-04-27 Juergen Vigna <jug@sad.it>
8085 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8086 (SetHeightOfRow): comment out the update call should not be needed!
8088 2001-04-13 Juergen Vigna <jug@sad.it>
8090 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8091 (LyXTabular): tried to minimize operator= operations (and realized
8092 hopfully Lars wish).
8094 2001-04-27 Juergen Vigna <jug@sad.it>
8096 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8098 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8102 * buffer.C (readInset): hack to make listof algorithm work
8104 * BufferView_pimpl.C: hack to make listof algorithm work
8106 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8108 * LyXAction.C: removed all !NEW_INSETS cruft
8109 (init): moved lfun_item in method
8111 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8113 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8115 * BufferView2.C (theLockingInset): white space.
8117 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8119 * minibuffer.C: include <iostream>
8121 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8123 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8125 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8127 * text.[Ch] (TransposeChars): new method
8129 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8131 * call message directly through LyXView instead of through LyXFunc
8132 * BufferView2.C: adjust
8133 * BufferView_pimpl.C: adjust
8134 * FontLoader.C: adjust
8136 * bufferview_funcs.C: adjust
8137 * converter.C: adjust
8138 * figureForm.C: adjust
8139 * importer.C: adjust
8141 * lyx_gui_misc.C: adjust
8145 + more files in subdirs
8147 * lyxparagraph.h (size): move up int file
8150 * adjust all uses of Assert to lyx::Assert.
8152 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8153 lyxfunctional in namespace lyx
8154 * layout.C (hasLayout): ditto
8157 (delete_layout): ditto
8158 (NumberOfClass): ditto
8159 * converter.C (GetFormat): ditto
8164 * bufferlist.C (getFileNames): ditto
8165 (emergencyWriteAll): ditto
8168 * MenuBackend.C (hasSubmenu): ditto
8171 * BufferView_pimpl.C (getInsetByCode): ditto
8173 2001-04-18 Juergen Vigna <jug@sad.it>
8175 * vspace.C (asLatexString): fixed the 100% problem.
8177 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8179 * lyxfunc.C (Dispatch):
8181 * minibuffer.h: add a few std:: qualifiers
8183 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * minibuffer.[Ch]: reimplement so that commands is initiated and
8186 run from lyxfunc, simplified som handling, and made the completion
8187 and history code for complete. wip.
8189 * lyxfunc.C (processKeySym): call message
8190 (miniDispatch): new temporary method
8191 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8192 (LFUN_MESSAGE): implement
8193 (LFUN_MESSAGE_PUSH): implement
8194 (LFUN_MESSAGE_POP): implement
8195 (initMiniBuffer): the initial/defualt minibuffer message.
8197 * lyxfont.[Ch]: inline some more getters
8199 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8201 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8203 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8204 (AutoSave): use LFUN_MESSAGE
8205 (Reconfigure): ditto
8207 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8209 * figureForm.C: use LFUN_MESSAGE
8211 * converter.C (runLaTeX): use LFUN_MESSAGE
8213 * bufferview_funcs.C: use LFUN_MESSAGE
8215 (changeDepth): ditto
8217 * bufferparams.h: use boost::
8219 * bufferlist.h: inherit privately from noncopyable
8221 * bufferlist.C (loadLyXFile): remove some commented code.
8223 * buffer.C (runChktex): use LFUN_MESSAGE
8225 * ShareContainer.h: inherit privately from noncopyable
8227 * ParagraphParameters.[hC] (depth): inline it.
8229 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8231 (message): new method
8232 (messagePush): ditto
8234 (show): init minibuffer
8235 (showState): direct call
8237 * LaTeX.[Ch]: inherit privately from noncopyable
8238 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8239 instead of WriteStatus.
8241 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8243 * BufferView_pimpl.C (buffer): don't init minibuffer
8244 (workAreaButtonPress): use LFUN_MESSAGE
8245 (workAreaButtonRelease): ditto
8246 (savePosition): ditto
8247 (restorePosition): ditto
8248 (MenuInsertLyXFile): ditto
8249 (workAreaExpose): don't init minibuffer
8250 (update): remove commented code, simplify
8252 * BufferView2.C (openStuff): use LFUN_MESSAGE
8253 (toggleFloat): ditto
8256 (copyEnvironment): ditto
8257 (pasteEnvironment): ditto
8262 (updateInset): remove some commented code
8264 * lastfiles.h: inherit privately from noncopyable
8269 * lyxlex_pimpl.h: ditto
8271 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8272 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8273 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8275 * LyXAction.h: inherit privately from noncopyable, add methods
8276 func_begin, func_end, returning iterators to the func map.
8278 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8279 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8280 (func_begin): new method
8281 (func_end): new method
8283 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8285 (copySelection): ditto
8286 (pasteSelection): ditto
8288 * BufferView.C: whitespace change
8289 * BufferView.h: inherit privately from noncopyable
8291 2001-04-16 Allan Rae <rae@lyx.org>
8293 * tabular-old.C (l_getline):
8294 * spellchecker.C (sc_check_word):
8295 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8296 an unrecognised preprocessor directive. So ensure they're wrapped.
8298 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8300 * src/exporter.C (Export): Give an error message when path to file
8303 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8305 * LaTeX.C (deplog): Always check that foundfile exists.
8307 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8310 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8312 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * tabular.[Ch] (getLabelList): implement new method
8316 * minibuffer.h: comment ouf setTiimer
8318 * minibuffer.C (ExecutingCB): constify res
8319 (peek_event): constify s
8320 (Set): constify ntext
8321 (Init): constify nicename
8323 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8325 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8326 (savePosition): use two params to Minibuffer::Set
8327 (restorePosition): ditto
8329 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8331 * lyx_main.C: include language.h
8333 * Makefile.am (lyx_main.o): add language.h
8335 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8341 * CutAndPaste.C: include gettext.h
8343 * lyxfont.h: remove old hack with ON and OFF.
8346 * lyxfont.h: do not include language.h...
8351 * bufferview_funcs.C:
8357 * paragraph.C: ... but do it here instead
8359 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8361 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8363 * tabular.C: small reformat
8365 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8368 (BreakParagraph): ditto
8369 (SetOnlyLayout): ditto
8372 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8375 * lastfiles.C: removed most using decl, add std:: where needed
8377 * buffer.C: ws changes
8379 * MenuBackend.C (class compare_format): put into anon namespace
8380 (expand): constify label, names, action, action2
8383 * text.C (SingleWidth): constify font
8384 (IsBoundary): constify rtl2
8385 (GetVisibleRow): constify ww
8387 * LaTeX.C (deplog): constify logfile
8389 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8391 (workAreaExpose): constify widthChange, heightChange
8393 * lyxrow.C (par): moved
8396 * lyxrow.h: as inlines here
8398 * lyxfont.h (shape): moved from lyxfont.C
8399 (emph): moved from lyxfont.C
8401 * lyxfont.C (LyXFont): use initialization list for all
8403 (shape): move to lyxfont.h as inline
8404 (emph): move to lyxfont.h as inline
8407 2001-04-04 Juergen Vigna <jug@sad.it>
8409 * vspace.C: had to include stdio.h for use of sscanf
8411 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8414 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8415 independent of xforms.
8417 2001-04-02 Juergen Vigna <jug@sad.it>
8419 * spellchecker.C: fixed namespace placing!
8421 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8423 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8424 the LyXParagraph * is 0.
8426 2001-03-29 Juergen Vigna <jug@sad.it>
8428 * vspace.C: added support for %, c%, p%, l%.
8429 (stringFromUnit): added helper function.
8430 (asLatexString): changed to give right results for the %-values.
8432 * buffer.C: convert the widthp in a width%.
8434 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8436 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8439 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8440 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8442 * lyx_cb.[Ch]: see above.
8444 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8448 * lyx.[Ch]: replaced by figure_form.[Ch].
8452 * lyxfunc.C: changed headers associated with above changes.
8454 2001-03-27 Juergen Vigna <jug@sad.it>
8456 * BufferView_pimpl.C: set the temporary cursor right!
8458 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8460 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8462 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8464 * LString.h: removed "using std::getline"!
8466 * BufferView_pimpl.C (Dispatch): changes due to changes in
8467 InsetInclude::Params.
8469 * buffer.C (tag_name): removed redundant break statements as they were
8470 producing lots of warnings with my compiler.
8472 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8474 * LString.h: add "using std::getline" when using the real <string>.
8476 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8478 * buffer.C: removed bitset usage.
8479 PAR_TAG moved to an anonymous name space.
8480 (tag_name): new funtion, also in the anonymous namespace.
8481 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8482 (makeDocBookFile): clean code. Completed transition from string arrays
8484 (SimpleDocBookOnePar): code clean.
8486 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8488 * tabular.C: add some comments.
8490 2001-03-22 Juergen Vigna <jug@sad.it>
8492 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8493 compatibility read a bit and fixed bug with minipage in different
8496 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8498 * buffer.C (pop_tag): removed.
8499 (push_tag): removed.
8500 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8501 array replaced with vector. Added support for CDATA sections.
8502 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8504 (makeDocBookFile): XML conformant declaration of CDATA section,
8505 fixed bug related to <emphasis> in the first paragraph char.
8506 (sgmlOpenTag): exclude empty tags.
8507 (sgmlCloseTag): ditto.
8509 * buffer.h (pop_tag): removed.
8510 (push_tag): removed.
8512 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8514 * language.h (Languages): added size_type and size().
8516 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8518 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8519 response on compability reading of minipages. One probliem is that
8520 the old usage of minipages was «flertydig»
8522 * several files here and in subdirs: don't use static at file
8523 scope use anon namespaces instead.
8525 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8527 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8528 LaTeX output. This is necessary for Literate document
8531 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8533 * buffer.C: insert hfill when needed.
8535 * tabular.C (l_getline): use string::erase, small whitespace change.
8537 * BufferView_pimpl.C: try the anon namespace.
8540 2001-03-16 Juergen Vigna <jug@sad.it>
8542 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8543 otherwise it won't open options-dialogs.
8545 * buffer.C: honor pextraWidth(p) on converting minipages.
8547 * tabular.C (l_getline): changed the functions to strip trailing \r.
8549 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8551 * BufferView_pimpl.C:
8552 * minibuffer..C: added "using SigC::slot" declaration.
8554 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8556 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8562 * paragraph.C: ditto
8564 * lyxtext.h: NO_PEXTRA
8566 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8568 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8569 * ParameterStruct.h: ditto
8570 * ParagraphParameters.h: ditto
8571 * lyxparagraph.h: ditto
8573 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8575 * buffer.C: add compability for minipage alignment.
8576 (latexParagraphs): remove unwanted pextra check.
8578 * several files: remove CXX_WORKING_NAMESPACES
8580 * buffer.C (pop_tag): tie is in namespace boost
8582 * BufferView.h: noncopyable is in namespace boost
8587 * lastfiles.h: ditto
8588 * bufferlist.h: ditto
8589 * ShareContainer.h: ditto
8591 * LyXAction.h: ditto
8594 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8596 * Merging changes from BRANCH_MVC back into HEAD.
8598 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8600 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8602 * BufferView_pimpl.C: change from intl.C
8606 * Makefile.am: move combox.*
8612 * intl.C: remove dialog (covered by prefs)
8614 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8616 * lyxfunc.C (Dispatch): removed redundant break statement.
8618 2001-03-14 Juergen Vigna <jug@sad.it>
8620 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8622 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8624 * buffer.C: add hack to fix compability reading of minipages.
8626 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8628 * buffer.C (getLists): Cleanup.
8630 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8632 * lyxfont.C (update): don't honor toggleall on font size.
8634 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8638 * Makefile.am: moved to frontends/xforms/
8642 * BufferView_pimpl.C: changes for moved mathpanel
8644 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8646 * gettext.h: fix gettext_init() in --disable-nls
8648 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8650 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8652 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8655 * lyx.h: strip external form
8657 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8659 * BufferView_pimpl.C: add comment, destroySplash()
8661 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8663 * BufferView_pimpl.C:
8667 * lyxfunc.C: use re-worked insetinclude
8669 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8671 * buffer.C: add using std::stringstream.
8673 * lyx_cb.C: readd using std::ios.
8675 * buffer.C: add using std::map.
8677 * BufferView_pimpl.C: add using std::vector.
8679 * ShareContainer.h: add std:: to swap.
8681 * buffer.h: add some typedefs
8682 * buffer.C (getLists): use them
8683 (getLists): renamed from getTocList.
8684 add a counter for the different float types and use it in the
8686 (getLists): use the same counter for the NEW_INSETS and the "non"
8689 * lyx_cb.h: remove unused items, includes, using etc.
8691 * ShareContainer.h: remove some commented code, add more comments
8692 and "documentation".
8694 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8696 * buffer.C (getTocList): make the list also when NEW_INSETS is
8699 * buffer.h: remove TocType
8701 * buffer.C (getTocList): change to return a map<string,
8702 vector<TocItem> >, implement for dynamic number of list.
8704 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8705 * text2.C (PasteSelection): adjust
8706 * CutAndPaste.C (pasteSelection): adjust
8708 * FloatList.C (FloatList): update from the new_insets branch.
8709 * Floating.[Ch]: ditto
8710 * LaTeXFeatures.C: ditto
8712 * lyxlex_pimpl.C: ditto
8714 * paragraph.C (Last): remove when NEW_INSETS is defined.
8716 * other file: changes because of the above.
8718 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8720 * lyxparagraph.h: rename next to next_, previous to previous_,
8721 make them private for NEW_INSETS. Rename Next() to next(),
8722 Previous() to previous().
8724 * other files: changes because of the above.
8726 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8729 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8732 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * main.C (main): pass lyx_localedir to gettext_init().
8736 * gettext.h: remove locale_init and gettext_init macros
8738 * gettext.C (locale_init): new function
8739 (gettext_init): new function
8741 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8744 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8746 * Moved credits to frontends:
8747 * credits.[Ch]: removed
8748 * credits_form.[Ch]: removed
8749 * lyx_gui_misc.C: remove credits stuff
8752 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8754 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8756 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8757 unneeded destructor.
8759 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8760 a standalone pointer again.
8762 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8764 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8770 * ToolbarDefaults.C:
8779 * BufferView_pimpl.C: use new file dialog in GUII
8782 * lyx_cb.C: remove LayoutsCB to Toolbar
8784 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8786 * ShareContainer.h (get): add std:: qualifier
8788 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * ShareContainer.h: define a proper ShareContainer::value_type
8791 type (and use typename to please compaq cxx)
8793 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8795 * lyxparagraph.h: move serveral local vars to
8796 ParameterStruct/ParagraphParameters., use ShareContainer in
8797 FontTable., make vars in FontTable private and add getter and
8800 * paragraph.C: changes because of the above.
8802 * lyxfont.h: remove copy constructor and copy assignment. (the
8803 default ones is ok), move number inside FontBits. move inlines to
8806 * lyxfont.C: add number to initializaton of statics, move several
8807 inlines here. constify several local vars. some whitespace
8808 cleanup. Dont hide outerscope variables.
8810 * Spacing.h: add two new constructors to match the set methods.
8812 * ShareContainer.h: new file, will perhaps be moved to support
8814 * ParameterStruct.h: new file
8816 * ParagraphParameters.h: new file
8818 * ParagraphParameters.C: new file
8820 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8821 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8823 * BufferView_pimpl.C: ParagraphParameter changes.
8824 * buffer.C: Likewise.
8825 * bufferview_funcs.C: Likewise.
8827 * text2.C: Likewise.
8829 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8831 * lyxfind.C (LyXReplace): do not redefine default argument in
8833 (IsStringInText): ditto
8834 (SearchForward): ditto
8835 (SearchBackward): ditto
8837 2001-03-06 Juergen Vigna <jug@sad.it>
8839 * lyxfind.C (IsStringInText): put parentes around expressions.
8841 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8843 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8845 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8847 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8849 * stl_string_fwd.h: add comment
8851 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8854 * tabular.C: remove unused DocBook methods
8860 killed DO_USE_DEFAULT_LANGUAGE
8862 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8864 * lyx_gui.C: do not include language.h.
8866 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8867 arguments in function implementation.
8869 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8871 * BufferView_pimpl.C: add <ctime>
8873 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8875 * BufferView_pimpl.C: add using std::find_if
8877 2001-02-27 José Matos <jamatos@fep.up.pt>
8879 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8882 2001-02-11 José Matos <jamatos@fep.up.pt>
8884 * buffer.C (makeDocBookFile): command styles now have a parameter as
8887 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8889 * layout_forms.[Ch]: removed
8890 * lyx_cb.[Ch]: out character
8891 * lyx_gui.C: out character
8892 * lyx_gui_misc.C: out character
8893 * bufferview_funcs.C: : out character,
8894 added toggleall as parameter in ToggleAndShow
8896 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8898 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8900 * text2.C (SetCurrentFont): Disable number property at boundary.
8902 2001-02-26 Juergen Vigna <jug@sad.it>
8904 * lyxfunc.C (getStatus): added a string argument override function so
8905 that this is correctly called from LyXFunc::Dispatch if it contains a
8906 do_not_use_argument which is used!
8907 (Dispatch): added check for "custom" export and call appropriate func.
8909 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8911 * lyxrc.C: Add language_command_local, language_use_babel and
8912 language_global_options.
8914 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8916 * buffer.C (makeLaTeXFile): Use language_use_babel and
8917 language_global_options.
8919 2001-02-23 Juergen Vigna <jug@sad.it>
8921 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8922 which works with LyXText and putted it inside BufferView. Here now we
8923 only call for that part the BufferView::Dispatch() function.
8925 * BufferView.C (Dispatch): added.
8927 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8928 functions which needs to use a LyXText over from LyXFunc.
8929 (MenuInsertLyXFile): added
8930 (getInsetByCode): added
8931 (moveCursorUpdate): added
8932 (static TEXT): added
8934 2001-02-22 Juergen Vigna <jug@sad.it>
8936 * BufferView_pimpl.C (update): call a status update to see if LyXText
8939 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8941 * vc-backend.C (revert): implement for CVS
8942 (getLog): implement for CVS
8944 2001-02-20 Juergen Vigna <jug@sad.it>
8946 * text2.C (ClearSelection): added BufferView param for inset_owner call
8948 * lyxfunc.C (TEXT): added this function and use it instead of
8949 directly owner->view()-text of getLyXText().
8951 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8953 * src/layout_forms.C: out preamble
8954 * src/layout_forms.h: out preamble
8955 * src/lyx_cb.C: out preamble
8956 * src/lyx_cb.h: out preamble
8957 * src/lyx_gui.C: out preamble
8958 * src/lyx_gui_misc.C: out preamble
8959 * src/lyxfunc.C: connect with guii preamble
8961 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8963 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8965 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8967 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8968 whether to run bibtex.
8970 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8972 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8974 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8976 * Makefile.am (lyx_SOURCES): removed bibforms.h
8980 * text.C (GetVisibleRow): make several local vars const
8982 * tabular.C: small cleanup.
8984 * lyxserver.C (callback): use compare instead of strncmp
8986 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8987 inlines to after class or to paragraph.C
8989 * lyxfont.h: remove friend operator!=
8991 * converter.h: move friend bool operator< to non friend and after
8994 * combox.h: small cleanup
8996 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8997 to inlines after class def.
8999 * buffer.C (pop_tag): use string operations instead of strcmp
9001 * bmtable.c: doxygen, small cleanup
9003 * LaTeX.h: remove friend operator==
9005 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9017 * BufferView_pimpl.C:
9018 * BufferView.[Ch]: remove cruft
9020 2001-02-14 Juergen Vigna <jug@sad.it>
9022 * lyxfunc.C: removed #if 0 unused code
9024 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9026 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9028 * text2.C (SetSelection): added a BufferView * parameter
9030 2001-02-13 Juergen Vigna <jug@sad.it>
9032 * lyxfunc.C (Dispatch): fixed protected blank problem.
9033 * BufferView2.C (protectedBlank): added LyxText * parameter.
9035 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9036 (AppendColumn): same as above for column_info.
9038 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9039 (moveCursorUpdate): use a LyXText param for support of InsetText.
9041 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9042 (tripleClick): ditto
9044 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9046 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9048 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9050 * text2.C (SetSelection): set correct update status if inset_owner
9053 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9055 * tabular.C: remove some commented code.
9057 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9059 * BufferView_pimpl.C: call hideSplash()
9061 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9064 * bibforms.h: remove
9067 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9068 add LFUN_CHILD_CREATE
9070 * counters.h: fix tiny typo
9075 * lyx.C: move splash to frontends/xforms/
9077 * lyx_gui_misc.C: move Include and Bibform to frontends
9079 * lyxvc.h: clarify comment
9081 * vspace.C: tiny housekeeping
9083 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9085 * text.C (PrepareToPrint): RTL Fix.
9087 * paragraph.C (GetUChar): New method.
9088 (String): Use GetUChar.
9090 * buffer.C (asciiParagraph): Use GetUChar.
9092 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9094 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9096 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9099 * buffer.C: rename to getLogName(), handle
9100 build log / latex log nicely
9102 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9105 * MenuBackend.h: remove support for reference menuitem type.
9107 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9109 * BufferView_pimpl.C: housekeeping
9110 * BufferView_pimpl.h:
9115 * minibuffer.h: move Timeout GUI-I
9117 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9119 * lyxrc.C (read): Update converters data-structures.
9121 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9123 * LaTeX.h (operator!=): add operator != for Aux_Info
9125 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9127 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9129 * LaTeXLog.C: deleted, useful code moved to Buffer
9132 * buffer.C: new function getLatexLogName()
9138 * lyxfunc.C: use frontends for LaTeX and VC logs
9140 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9142 * LaTeX.h: yet another std:: that Allan forgot.
9144 * Variables.C (set): renamed from isset(), because this clashes
9145 with some HP-UX macros (grr).
9147 2001-02-06 Allan Rae <rae@lyx.org>
9149 * LaTeX.h: Another bug fix. Missing std:: this time.
9151 2001-02-04 Allan Rae <rae@lyx.org>
9153 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9154 floats problem. I've left it commented out because it's not quite
9155 correct. It should also test that the current object is a table or
9156 figure inset. But I haven't gotten around to figuring out how to do
9157 that. I *think* it'll be something like: "table" == inset.type()
9159 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9162 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9164 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9165 all the citation/databases/styles in the auxilary file.
9166 (run): Rerun latex if there was a babel language error.
9168 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9170 * text.C (Backspace): Preserve the font when changing newline char
9172 (BreakParagraph): If the cursor is before a space, delete the space.
9174 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9176 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9178 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9179 new argument (code).
9180 (ChangeCitationsIfUnique): New method.
9182 * paragraph.C (GetPositionOfInset): Handle bibkey.
9184 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * BufferView_pimpl.h: change type of Position::par_pos to
9187 LyXParagraph::size_type.
9189 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9191 * BufferView_pimpl.C (savePosition, restorePosition): Write
9192 messages to minibuffer.
9194 2001-01-28 José Matos <jamatos@fep.up.pt>
9196 * buffer.C (makeDocBookFile): adds support for document language.
9197 A silly restriction on the name of LatexCommand types where removed.
9198 Added support for CDATA sections, allows to chars unescaped, used
9199 among others in code, to avoid escape < and >.
9201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9203 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9204 saved positions instrad of a stack. Furthermore, a position is
9205 stored using paragraph id/paragraph position.
9207 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9208 Remove LFUN_REF_BACK.
9210 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9212 * converter.C (dvipdfm_options): New method.
9214 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9216 * vspace.C (isValidLength): Fix for empty input string.
9218 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9220 * LyXAction.C (init): change description of LFUN_FIGURE to
9223 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9225 * LaTeX.C: add using directive
9227 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9229 * MenuBackend.C (expand): Fix the sorting of the formats.
9231 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9233 * lyx_main.C: tiny error message fix
9235 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9238 calling fl_initialize(). This fixes the problem with ',' as
9239 decimal separator in text files.
9241 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9243 * trans.C (process): Fix the keymap bug.
9245 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9247 * LaTeX.C (scanAuxFiles): New method. Provides support for
9248 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9249 (scanLogFile) Scan for "run BibTeX" messages.
9251 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9252 OT1 font encoding. Also, load the aecompl package if the ae
9255 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9257 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * texrow.C (increasePos): turn two error messages into debug
9262 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9264 * LaTeX.C (scanAux): Handle the \@input macro.
9265 (runBibTeX): Use scanAux().
9267 * language.C (latex_options_): New field.
9269 * LaTeXFeatures.C (getMacros): Add language macros.
9271 * buffer.C (makeLaTeXFile): Small fix.
9273 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9275 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9277 * text2.C: add a using directive.
9279 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9284 * lyxfunc.C: kill LyXBell.
9286 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9288 * text.C (IsBoundary): Remove the error message
9290 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9292 * lyxrc.C (setDefaults): Correct initialization value for
9295 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9297 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9300 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9303 * src/LyXAction.C: Added reference-next.
9305 * text.C (InsertChar): Use contains instead of strchr.
9307 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9309 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9311 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9312 alignment commands (when needed).
9314 * text.C (InsertChar): Add ':' to number separator chars.