1 2003-03-19 John Levon <levon@movementarian.org>
3 * commandtags.h: rename to ...
5 * lfuns.h: ... this, and renumber / cleanup
7 2003-03-19 John Levon <levon@movementarian.org>
9 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
10 fit the cursor after an lfun
15 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
17 * LyXAction.C: layout-character should have ReadOnly
19 * ParagraphParameters.C:
28 * undo_funcs.C: changes from above
30 2003-03-18 John Levon <levon@movementarian.org>
32 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
33 remove it from update()
35 * lyxfunc.C: update layout choice after an lfun
37 * text3.C: remove extra updateLayoutChoice()s
39 2003-03-18 John Levon <levon@movementarian.org>
41 * text.C: top_y change means full repaint, fix
42 a drawing bug with cursor movement
44 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
48 * text2.C: anchor row on setCursor
50 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
52 * lyxtext.h: remove almost all mutable keywords
55 * text3.C: remove const keywords accordingly
57 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
61 (TeXEnvironment): ditto
64 2003-03-17 John Levon <levon@movementarian.org>
66 * text.C (rowBreakPoint): remove attempt to fix displayed
67 math insets inside a manual label
69 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
71 * lyxtext.h: remove BufferView* as first arg from almost all class
73 * other files: adjust.
75 2003-03-17 John Levon <levon@movementarian.org>
79 * text2.C: more paint cleanups
81 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
84 * rowpainter.C: remove "smart" background painting code
86 2003-03-16 John Levon <levon@movementarian.org>
91 * text3.C: add helper functions for setting refresh_row/y
93 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
95 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
96 newline inset which *can* get inserted in the pass_thru layouts.
97 This is primarily for literate documents.
99 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
101 * buffer.C: increment LYX_FORMAT to 223
103 2003-03-14 André Pönitz <poenitz@gmx.net>
105 * textclass.h: prepare for environment handling, ws changes
106 * lyxlayout.C: read latexheader and latexfooter tags
108 2003-03-14 John Levon <levon@movementarian.org>
110 * text2.C: rewrite ::status() a bit
112 2003-03-13 John Levon <levon@movementarian.org>
114 * lyxtext.h: add some docs
116 2003-03-13 John Levon <levon@movementarian.org>
121 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
123 2003-03-13 John Levon <levon@movementarian.org>
125 * text3.C: fix appendix redrawing
127 2003-03-13 John Levon <levon@movementarian.org>
129 * text.C (setHeightOfRow):
131 * rowpainter.C: make appendix mark have the text
132 "Appendix" so the user knows what it is
135 * LColor.C: s/appendixline/appendix/ from above
137 2003-03-13 John Levon <levon@movementarian.org>
139 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
141 * text.C: fix a getChar(pos) bug properly
143 2003-03-13 Angus Leeming <leeming@lyx.org>
146 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
147 Probably only temporary. Let's see how things pan out.
149 * BufferView.C (unlockInset):
150 * BufferView_pimpl.C (fitCursor):
151 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
153 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
154 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
156 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
157 new functions that convert ParagraphParameters to and from a string.
159 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
160 BufferView::Pimpl's dispatch.
161 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
163 2003-03-13 André Pönitz <poenitz@gmx.net>
167 * factory.C: make it aware of InsetEnv
169 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
171 * text2.C (setCursor): never ask for one past last
172 (setCursor): add some debugging messages.
174 * text.C (singleWidth): never ask for one past last
178 (rowBreakPoint): ditto
179 (setHeightOfRow): ditto
180 (prepareToPrint): ditto
182 * rowpainter.C (paintBackground): never ask for one past last
183 (paintText): never ask for one past last
185 * paragraph_pimpl.C (getChar): make the assert stricter, never
186 allow the one past last pos to be taken
188 * paragraph.C (getChar): ws changes only
190 * lyxrow.C (nextRowIsAllInset): never ask for one past last
191 (numberOfSeparators): ditto
192 (numberOfHfills): ditto
194 2003-03-12 John Levon <levon@movementarian.org>
200 * paragraph_funcs.C: fix per-buffer authorlists
202 2003-03-12 John Levon <levon@movementarian.org>
204 * text.C: fix newline in right address
206 2003-03-12 Angus Leeming <leeming@lyx.org>
208 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
209 duplicate those in LyXFunc::dispatch.
214 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
215 Add LFUN_FONTFREE_UPDATE.
217 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
218 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
220 * bufferview_func.[Ch]: several new functions to facilliate
221 transfer of data to and from the character dialog.
223 2003-03-12 John Levon <levon@movementarian.org>
233 * text3.C: remove META_NEWLINE in favour of an inset
236 * rowpainter.C: remove paintNewline (done by inset)
238 2003-03-12 John Levon <levon@movementarian.org>
240 * paragraph_pimpl.C: complain about bad getChar()s
243 2003-03-12 John Levon <levon@movementarian.org>
246 * buffer.C: move paragraph read into a separate function,
247 a little renaming to reflect that.
250 * bufferparams.C: remove the author_ids map, not necessary now
253 * factory.C: moved Buffer::readInset to here
256 * paragraph_funcs.C: readParagraph free function moved from
259 * tabular.C: name change
261 2003-03-12 John Levon <levon@movementarian.org>
264 * ParagraphParameters.C: move par params input to
267 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
268 behave like a normal read from the stream wrt reading
271 2003-03-12 John Levon <levon@movementarian.org>
274 * ParagraphParameters.h:
275 * ParagraphParameters.C: move output code to a
278 2003-03-12 John Levon <levon@movementarian.org>
280 * BufferView.C (insertLyXFile):
283 * tabular.C: use a parlist iterator for creating the
286 2003-03-12 John Levon <levon@movementarian.org>
288 * buffer.C: make current_change static local not
291 2003-03-12 John Levon <levon@movementarian.org>
293 * buffer.C: fix insertStringAsLines for change tracking
295 2003-03-12 John Levon <levon@movementarian.org>
302 * bufferparams.C: move author list into params. Rename some
303 functions. Move the header reading into a separate token
304 loop. Move the header token reading into BufferParams.
306 2003-03-12 John Levon <levon@movementarian.org>
308 * changes.C: put debug inside lyxerr.debugging() checks
310 2003-03-11 André Pönitz <poenitz@gmx.net>
312 * factory.C: make it aware of InsetHFill
314 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
316 * buffer.C (latexParagraphs): move function from here...
317 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
320 2003-03-10 Angus Leeming <leeming@lyx.org>
322 * LyXAction.C (init): fix bug in poplating array with multiple entries
323 with the same LFUN (spotted by JMarc).
325 2003-03-10 John Levon <levon@movementarian.org>
328 * text2.C: move getColumnNearX() near its
331 2003-03-10 John Levon <levon@movementarian.org>
333 * text.C: fix break before a minipage
335 2003-03-10 John Levon <levon@movementarian.org>
337 * text.C: fix the last commit
339 2003-03-09 John Levon <levon@movementarian.org>
343 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
344 bug 365 (don't break before insets unless needed). Don't
345 return a value > last under any circumstances.
347 2003-03-09 Angus Leeming <leeming@lyx.org>
349 * BufferView_pimpl.C (trackChanges, dispatch): call
350 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
352 2003-03-09 Angus Leeming <leeming@lyx.org>
354 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
355 than Dialogs::showAboutlyx().
357 2003-03-09 Angus Leeming <leeming@lyx.org>
359 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
360 than Dialogs::showTabularCreate().
362 2003-03-09 John Levon <levon@movementarian.org>
366 * text2.C: 3rd arg to nextBreakPoint was always the same.
369 2003-03-08 John Levon <levon@movementarian.org>
376 * text2.C: Remove the "main" bit from the "main body"
379 2003-03-08 John Levon <levon@movementarian.org>
381 * text.C (leftMargin): The left margin of an empty
382 manual label paragraph should not include the label width
385 * text.C (prepareToPrint): don't attempt to measure hfills
386 for empty manual label paragraphs - the answer should be 0
388 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
390 * CutAndPaste.C: remove commented code and reindent.
392 2003-03-08 John Levon <levon@movementarian.org>
395 * lyxfunc.C: move reloadBuffer()
398 * BufferView.C: to here
400 * lyxvc.C: add comment
403 * vc-backend.C: call bv->reload() to avoid
404 getStatus() check on MENURELOAD
406 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
408 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
409 to an old format .dep file.
411 2003-03-07 Angus Leeming <leeming@lyx.org>
413 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
414 when the LFUN_MOUSE_RELEASE should have been handled by
415 inset->localDispatch.
417 2003-03-07 Angus Leeming <leeming@lyx.org>
419 * BufferView_pimpl.C (dispatch):
420 * LyXAction.C (init):
421 * ToolbarDefaults.C (init):
423 * lyxfunc.C (getStatus):
424 remove LFUN_INSET_GRAPHICS.
426 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
428 2003-03-07 Angus Leeming <leeming@lyx.org>
431 * LyXAction.C (init):
432 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
434 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
437 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
439 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
440 localDispatch method LFUN_INSET_DIALOG_UPDATE.
442 2003-03-07 Angus Leeming <leeming@lyx.org>
444 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
447 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * ParagraphList.C (front): new function
452 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
454 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
455 and top_row_offset_. removed var first_y.
457 * text2.C (LyXText, removeRow):
459 * BufferView_pimpl.C:
460 use these methods instead of using first_y
462 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * text2.C (pasteSelection): adjust for checkPastePossible
466 * CutAndPaste.C: remove Paragraph * buf and replace with
467 ParagraphList paragraphs.
468 (DeleteBuffer): delete
469 (cutSelection): change the tc type to textclass_type
470 (copySelection): change the tc type to textclass_type
471 (copySelection): adjust for ParagraphList
472 (pasteSelection): change the tc type to textclass_type
473 (pasteSelection): adjust for Paragraphlist
474 (nrOfParagraphs): simplify for ParagraphList
475 (checkPastePossible): simplify for ParagraphList
476 (checkPastePossible): remove unused arg
478 * ParagraphList.C (insert): handle the case where there are no
481 * CutAndPaste.h: make CutAndPaste a namespace.
483 * text3.C (dispatch): adjust
485 * text.C (breakParagraph): add a ParagraphList as arg
487 * paragraph_funcs.C (breakParagraph): change to take a
488 BufferParams and a ParagraphList as args.
489 (breakParagraphConservative): ditto
490 (mergeParagraph): ditto
491 (TeXDeeper): add a ParagraphList arg
492 (TeXEnvironment): ditto
495 * buffer.C (readLyXformat2): adjust
496 (insertStringAsLines): adjust
497 (latexParagraphs): adjust
499 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
500 (cutSelection): adjust
501 (pasteSelection): adjust
503 * BufferView_pimpl.C (insertInset): adjust
505 2003-03-05 Angus Leeming <leeming@lyx.org>
508 * LyXAction.C (init):
509 * BufferView_pimpl.C (dispatch):
510 * lyxfunc.C (getStatus):
511 remove LFUN_CHILD_INSERT.
513 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
515 2003-03-05 Angus Leeming <leeming@lyx.org>
518 * LyXAction.C (init):
519 * src/factory.C (createInset):
520 * lyxfunc.C (getStatus):
521 * text3.C (dispatch):
522 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
524 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
526 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
528 * ParagraphList.C (insert): handle insert right before end()
529 (erase): fix cases where it can be first or last paragraph.
531 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * paragraph_funcs.C (TeXEnvironment): remove all usage of
534 Paragraph::next and Paragraph::previous
537 * text.C (breakParagraph): adjust
539 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
540 BufferParams& as arg.
541 (breakParagraph): use ParagraphList::insert
542 (breakParagraphConservative): take a Buffer* instead of a
543 BufferParams& as arg.
544 (breakParagraphConservative): use ParagraphList::insert.
546 * buffer.C (insertStringAsLines): un-const it
547 (insertStringAsLines): adjust
549 * ParagraphList.C (insert): new function
551 * CutAndPaste.C (pasteSelection): adjust
553 * text.C (backspace): adjust
555 * tabular.C (SetMultiColumn): adjust
557 * CutAndPaste.C (cutSelection): adjust
558 (pasteSelection): adjust
560 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
561 Buffer const * as arg
563 * ParagraphList.C (erase): new function
564 * paragraph_funcs.C (mergeParagraph): use it
565 (mergeParagraph): make it take a Buffer* instead of a
568 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
570 (breakParagraphConservative): ditto
572 * paragraph.h: remove the breakParagraph friend
574 * paragraph.C (eraseIntern): new function
575 (setChange): new function
577 * paragraph_funcs.C (mergeParagraph): make it take a
578 ParagraphList::iterator instead of a Paragraph *, adjust
581 * paragraph.h: move an #endif so that the change tracking stuff
582 also works in the NO_NEXT case.
584 2003-03-04 Angus Leeming <leeming@lyx.org>
587 * LyXAction.C: new LFUN_INSET_MODIFY.
589 * BufferView_pimpl.C (dispatch): if an inset is found to be open
590 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
592 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * several files: ws changes only
596 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
597 (TeXEnvironment): ditto
600 * buffer.C (makeLaTeXFile): adjust
601 (latexParagraphs): make it take ParagraphList::iterator as args
603 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * buffer.C (latexParagraphs): adjust
607 * paragraph.C (TeXOnePar): move function...
608 (optArgInset): move function...
609 (TeXEnvironment): move function...
610 * paragraph_pimpl.C (TeXDeeper): move function...
611 * paragraph_funcs.C: ...here
613 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
615 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * buffer.C (readInset): remove compability code for old Figure and
620 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
622 * buffer.C: ws changes
625 * BufferView_pimpl.C: ditto
628 * bufferlist.h: ditto
632 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
634 * converter.[Ch]: split into itself +
637 * Makefile.am: += graph.[Ch] + format.[Ch]
644 * lyxrc.C: added #include "format.h"
646 2003-02-27 Angus Leeming <leeming@lyx.org>
648 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
651 * factory.C (createInset): add "label" to the factory.
653 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
654 string and do no more.
656 2003-02-27 Angus Leeming <leeming@lyx.org>
659 * LyXAction.C (init):
660 * factory.C (createInset):
661 * BufferView_pimpl.C (dispatch):
662 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
664 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
666 * lyxfunc.C (dispatch):
667 * text3.C (dispatch): pass name to params2string.
669 2003-02-26 Angus Leeming <leeming@lyx.org>
671 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
673 Rearrange the ~includes. Strip out the unnecessary ones.
675 * factory.C (createInset): reformat.
676 create new insets for the various LFUN_XYZ_APPLY lfuns.
678 2003-02-26 John Levon <levon@movementarian.org>
681 * lyxrow.C: add isParStart,isParEnd helpers
683 * paragraph.h: make isInserted/DeletedText take refs
686 * paragraph_funcs.C: remove #if 0'd code
691 * text.C: use lyxrow helpers above.
692 Move draw and paint routines to RowPainter.
693 Make several methods use refs not pointers.
694 Make backgroundColor() const.
695 Add markChangeInDraw(), isInInset().
696 Merge changeRegionCase into changeCase.
697 Make workWidth() shouldn't-happen code into an Assert.
700 * rowpainter.C: new class for painting a row.
703 * vspace.C: make inPixels take a ref
705 2003-02-26 Angus Leeming <leeming@lyx.org>
707 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
710 2003-02-25 John Levon <levon@movementarian.org>
712 * ispell.C: give the forked command a more accurate name
714 2003-02-22 John Levon <levon@movementarian.org>
717 * toc.C: make TocItem store an id not a Paragraph *
720 2003-02-21 Angus Leeming <leeming@lyx.org>
722 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
723 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
724 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
725 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
726 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
727 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
729 * BufferView_pimpl.C (dispatch):
730 * LyXAction.C (init):
731 * factory.C (createInset):
732 * lyxfunc.C (getStatus, dispatch):
733 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
735 2003-02-21 Angus Leeming <leeming@lyx.org>
737 * BufferView_pimpl.C (MenuInsertLyXFile):
738 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
739 * lyxfunc.C (menuNew, open, doImport):
740 no longer pass a LyXView & to fileDlg.
742 2003-02-21 Angus Leeming <leeming@lyx.org>
744 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
745 * LyXAction.C: change, BIBKEY to BIBITEM.
746 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
747 Change InsetBibKey to InsetBibitem.
748 Change BIBKEY_CODE to BIBITEM_CODE.
749 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
750 * factory.C: replace insetbib.h with insetbibitem.h.
751 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
752 * paragraph.C: replace insetbib.h with insetbibitem.h.
753 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
754 Change bibkey() to bibitem().
755 * text.C: remove insetbib.h.
756 * text2.C: replace insetbib.h with insetbibitem.h.
757 change bibkey() to bibitem().
758 * text3.C: remove insetbib.h.
759 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
761 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
763 * lyxrc.C (output): enclose user email in quotes (in case there are
766 2003-02-18 John Levon <levon@movementarian.org>
768 * buffer.h: add std::
770 2003-02-17 John Levon <levon@movementarian.org>
776 * pspell.C: reworking. Especially in ispell, a large
777 number of clean ups and bug fixes.
779 * lyxfunc.C: fix revert to behave sensibly
781 2003-02-17 André Pönitz <poenitz@gmx.net>
784 * commandtags.h: new LFUN_INSERT_BIBKEY
794 * paragraph_func.C: remove special bibkey handling
796 2003-02-17 John Levon <levon@movementarian.org>
798 * text.C (Delete): fix case where delete at the end of
799 the very first paragraph would not merge the pars
801 2003-02-17 John Levon <levon@movementarian.org>
803 * lyxrow.C: fix lastPrintablePos()
805 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
807 * bufferparams.C (writeLaTeX): add a std:here
809 * buffer.C: and remove a using directive there
811 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
813 * buffer.C (makeLaTeXFile): move the code that generates the
816 * bufferparams.C (writeLaTeX): ... in this new method
818 * LaTeXFeatures.C (getEncodingSet): make const
819 (getLanguages): make const
821 * MenuBackend.C (binding): returns the binding associated to this
823 (add): sets the status of each item by calling getStatus. Adds
825 (read): add support for OptSubMenu
826 (expand): remove extra separator at the end of expanded menu
828 2003-02-15 John Levon <levon@movementarian.org>
831 * BufferView_pimpl.C:
833 * bufferlist.C: remove pointless BufferStorage bloat. Remove
834 inset code that had no actual effect. Remove unneeded status
837 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
839 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
842 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
844 * text.C (drawLengthMarker): also draw an arrow marker for
845 symbolic lengths (medskip...)
847 2003-02-14 John Levon <levon@movementarian.org>
850 * tabular.C: better method names
852 2003-02-14 John Levon <levon@movementarian.org>
854 * BufferView_pimpl.C:
859 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
860 it's a more accurate name. Remove some pointless uses.
862 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
864 * text2.C (LyXText): change order of initilizers to shut off
867 2003-02-14 John Levon <levon@movementarian.org>
869 * buffer.C: use ParIterator for getParFromID()
874 * paragraph_pimpl.C: remove unused getParFromID()
876 2003-02-14 John Levon <levon@movementarian.org>
878 * buffer.C: remove some very old #if 0'd parse code
880 2003-02-13 John Levon <levon@movementarian.org>
884 * text2.C: move hfillExpansion(), numberOfSeparators(),
885 rowLast(), rowLastPrintable(), numberofHfills(),
886 numberOfLabelHfills() ...
889 * lyxrow.C: ... to member functions here.
894 * text.C: remove LyXText::beginningOfMainBody(), and call
895 p->beginningOfMainBody() directly. Move the check for
896 LABEL_MANUAL into the latter.
903 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
909 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
910 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
912 2003-02-13 John Levon <levon@movementarian.org>
914 * CutAndPaste.C: remove debug
916 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
918 * paragraph.C (asString): remove two unused variables
920 * lyxtextclass.C (readTitleType):
922 (LyXTextClass): handle new members titletype_ and titlename_
924 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
926 2003-02-09 John Levon <levon@movementarian.org>
929 * buffer.C: replace hand-coded list with a map for the dep clean
931 2003-02-08 John Levon <levon@movementarian.org>
933 * LaTeX.C: consolidate code into showRunMessage() helper
935 2003-02-08 John Levon <levon@movementarian.org>
940 * BufferView.C: change setSelectionOverString() to setSelectionRange()
941 and pass the size in explicitly
943 * BufferView_pimpl.h:
944 * BufferView_pimpl.C:
946 * BufferView.C: add getCurrentChange()
948 * BufferView_pimpl.h:
949 * BufferView_pimpl.C: handle change lfuns
951 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
952 for changes. Mark pasted paragraphs as new.
956 * DepTable.C: abstract time_t as lyx::time_type
959 * LColor.C: add colours for new text, deleted text, changebars
961 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
962 package use "usenames" option.
966 * LyXAction.C: add change lfuns
970 * author.C: author handling
973 * buffer.C: add a per-buffer author list, with first entry as
974 current author. Handle new .lyx tokens for change tracking. Output
975 author list to .lyx file. Output dvipost stuff to .tex preamble.
976 Bump lyx format to 222.
979 * bufferlist.C: add setCurrentAuthor() to reset current author details
983 * bufferparams.C: add param for tracking
985 * bufferview_funcs.C: output change info in minibuffer
989 * changes.C: add change-tracking structure
992 * debug.C: add CHANGES debug flag
995 * lyxfind.C: add code for finding the next change piece
998 * lyxrc.C: add user_name and user_email
1001 * lyxrow.C: add a metric for the top of the text line
1004 * text.C: implement accept/rejectChange()
1007 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1008 Strike through deleted text.
1012 * paragraph_pimpl.h:
1013 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1014 to the insert functions. Rework erase to mark text as deleted, adding
1015 an eraseIntern() and a range-based erase(). Implement
1016 per-paragraph change lookup and accept/reject.
1018 * paragraph_funcs.C: Fixup paste for change tracking.
1020 * tabular.C: mark added row/columns as new.
1022 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1023 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1025 * text2.C: leave cursor at end of selection after a cut.
1027 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1029 * text.C (getLengthMarkerHeight):
1030 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1031 visible on screen too.
1033 2003-02-07 John Levon <levon@movementarian.org>
1035 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1037 2003-02-05 Angus Leeming <leeming@lyx.org>
1039 * lyxserver.C (read_ready): revert my patch of 11 September last year
1040 as it sends PC cpu through the roof. Presumably this means that
1041 the lyxserver will no longer run on an Alpha...
1043 2003-01-30 Angus Leeming <leeming@lyx.org>
1045 * factory.C (createInset): create an InsetCommandParam of type "index"
1046 and use it to 'do the right thing'.
1048 * text2.C (getStringToIndex): ensure that cursor position is always
1049 reset to the reset_cursor position.
1051 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1053 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1056 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1060 * lyxfunc.C: Output messages with identical spelling, punctuation,
1063 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1065 * MenuBackend.C (expandFormats): List only viewable export formats
1068 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1071 * lyxfunc.C (getStatus): Make sure that formats other than
1072 "fax" can also be disabled
1074 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1076 * text3.C (dispatch): put the lfuns that insert insets in 3
1077 groups, and call doInsertInset with appropriate arguments.
1078 (doInsertInset): new function, that creates an inset and inserts
1079 it according to some boolean parameters.
1081 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * buffer.C (readFile): remember to pass on 'par' when calling
1084 readFile recursively.
1086 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1088 * MenuBackend.C (expandFormats): add "..." to import formats.
1090 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1092 * paragraph.C (asString): Remove XForms RTL hacks.
1094 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1095 * buffer.C: fix typo
1097 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * Makefile.am (LIBS): delete var
1100 (lyx_LDADD): add @LIBS@ here instead.
1102 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1104 * Clarify the meaning of "wheel mouse jump"
1106 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1108 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1111 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1113 * importer.C (Loaders): do not preallocate 3 elements in the
1114 vector, since one ends up with 6 elements otherwise
1116 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1118 * DepTable.C (write): write the file name as last element of the
1119 .dep file (because it may contain spaces)
1120 (read): read info in the right order
1122 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1124 * paragraph_pimpl.C (simpleTeXBlanks):
1125 (simpleTeXSpecialChars):
1126 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1128 * tabular.C (latex): add some missing case statements. Reindent.
1130 * MenuBackend.C (expandToc): remove unused variable.
1132 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1141 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1144 2003-01-05 John Levon <levon@movementarian.org>
1147 * BufferView.C: add getEncoding()
1150 * kbsequence.C: do not store last keypress
1153 * lyxfunc.C: store last keypress here instead. Pass encoding
1156 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1158 * lyx_main.C (init): remove annoying error message when following
1159 symbolic links (bug #780)
1161 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1163 * text.C (insertChar):
1164 * lyxrc.C (getDescription): remove extra spaces
1166 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1168 * lyxrc.C (getDescription): remove extra spaces
1170 2002-12-20 John Levon <levon@movementarian.org>
1172 * text3.C: hack fix for page up/down across tall rows
1174 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1176 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1179 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1181 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1182 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1183 thesaurus is not compiled in
1185 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1187 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1189 2002-12-16 Angus Leeming <leeming@lyx.org>
1192 * lyx_main.C (init): remove override_x_deadkeys stuff.
1194 2002-12-12 John Levon <levon@movementarian.org>
1196 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1197 insert. Only remove shift modifier under strict
1200 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * MenuBackend.C (expandToc): fix crash.
1204 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * MenuBackend.C (expandToc): gettext on float names.
1208 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1210 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1211 implement bool empty() [bug 490]
1213 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1217 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * several files: ws changes
1221 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * text2.C (setCounter): clean up a bit, use boost.format.
1224 (updateCounters): initialize par upon declaration.
1226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1227 if the layout exists. We do not just store the layout any more.
1228 (SwitchLayoutsBetweenClasses): use boost.format
1230 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1232 * converter.C (convert): if from and to files are the same, use a
1233 temporary files as intermediary
1235 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1238 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1240 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1242 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1244 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * tabular.C (asciiPrintCell): use string(size, char) instead of
1249 * sgml.C (openTag): fix order of arguments to string constructor
1252 * lyxfunc.C (dispatch): use boost.format
1254 * lots of files: change "c" -> 'c'
1256 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1258 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1260 2002-11-25 Angus Leeming <leeming@lyx.org>
1262 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1264 * lyx_main.C (init): compile fix.
1266 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * lyx_cb.C (start): boost.formatify
1269 do not include <iostream>
1271 * lengthcommon.C: ws only
1273 * boost-inst.C,BoostFormat.h: add more explict instantations
1275 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * lots of files: handle USE_BOOST_FORMAT
1279 2002-11-21 John Levon <levon@movementarian.org>
1281 * pspell.C: fix compile
1283 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1285 * lyxfunc.C (dispatch): use boost::format
1289 * lyxfont.C (stateText): use boost::format
1291 * lyx_main.C (LyX): use boost::format
1293 (queryUserLyXDir): ditto
1296 (typedef boost::function): use the recommened syntax.
1298 * importer.C (Import): use boost::format
1300 * debug.C (showLevel): use boost::format
1302 * converter.C (view): use boost::format
1307 * bufferview_funcs.C (currentState): use boost::format
1309 * bufferlist.C (emergencyWrite): use boost::format
1311 * buffer.C (readLyXformat2): use boost::format
1312 (parseSingleLyXformat2Token): ditto
1314 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1316 * LaTeX.C (run): use boost::format
1318 * Chktex.C (scanLogFile): use boost::format
1320 * BufferView_pimpl.C (savePosition): use boost::format
1321 (restorePosition): ditto
1322 (MenuInsertLyXFile): ditto
1324 * BoostFormat.h: help file for explicit instation.
1326 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1328 * tabular.C (latex): Support for block alignment in fixed width
1331 2002-11-17 John Levon <levon@movementarian.org>
1333 * BufferView_pimpl.C:
1335 * lyxfunc.C: split filedialog into open/save
1337 2002-11-08 Juergen Vigna <jug@sad.it>
1339 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1340 by my last patch (hopefully).
1342 2002-11-08 John Levon <levon@movementarian.org>
1351 * toc.C: ParConstIterator, and use it (from Lars)
1353 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1355 * lyxtextclass.[Ch]: revise and add doxygen comments
1357 2002-11-07 John Levon <levon@movementarian.org>
1359 * text.C: fix progress value for spellchecker
1361 * toc.C: fix navigate menu for insetwrap inside minipage
1363 * paragraph_funcs.C: added FIXME for suspect code
1365 2002-11-07 John Levon <levon@movementarian.org>
1367 * BufferView_pimpl.C: fix redrawing of insets
1370 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1372 * text2.C (updateCounters): fix bug 668
1374 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1376 * text3.C (dispatch): Do not make the buffer dirty when moving the
1379 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * vc-backend.C: STRCONV
1384 * text2.C (setCounter): STRCONV
1386 * paragraph.C (asString): STRCONV
1388 * lyxlength.C (asString): STRCONV
1389 (asLatexString): ditto
1391 * lyxgluelength.C (asString): STRCONV
1392 (asLatexString): ditto
1394 * lyxfunc.C (dispatch): STRCONV
1397 * lyxfont.C (stateText): STRCONV
1399 * importer.C (Import): STRCONV
1401 * counters.C (labelItem): STRCONV
1402 (numberLabel): ditto
1403 (numberLabel): remove unused ostringstream o
1408 * bufferview_funcs.C (currentState): STRCONV
1410 * buffer.C (readFile): STRCONV
1411 (asciiParagraph): ditto
1412 (makeLaTeXFile): ditto
1414 * Spacing.C (writeEnvirBegin): STRCONV
1416 * LaTeXFeatures.C (getLanguages): STRCONV
1417 (getPackages): ditto
1419 (getBabelOptions): ditto
1420 (getTClassPreamble): ditto
1421 (getLyXSGMLEntities): ditto
1422 (getIncludedFiles): ditto
1426 (scanAuxFile): ditto
1429 * LString.h: add the STRCONV macros
1431 * BufferView_pimpl.C (savePosition): STRCONV
1432 (restorePosition): ditto
1433 (MenuInsertLyXFile): ditto
1435 * vc-backend.C (scanMaster): change from submatch[...] to
1438 * funcrequest.C: include config.h
1440 * factory.C: include config.h
1442 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1444 * box.C: include config.h
1446 * LaTeX.C (scanAuxFile): change from submatch[...] to
1450 2002-10-25 Angus Leeming <leeming@lyx.org>
1452 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1454 * ispell.[Ch] (setError): new method.
1455 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1456 Use setError() insetead of goto END.
1458 * lyx_cb.C (AutoSave): move out child process into new class
1461 2002-10-30 John Levon <levon@movementarian.org>
1463 * text3.C: make start appendix undoable
1465 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1467 * lyxlength.C (inPixels): Fix returned value.
1469 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1472 2002-10-24 Angus Leeming <leeming@lyx.org>
1474 * lyxgluelength.h: no need to forward declare BufferParams
1475 or BufferView, so don't.
1477 2002-10-21 John Levon <levon@movementarian.org>
1479 * BufferView.C: menuUndo ->undo, redo
1481 * BufferView.h: document, remove dead, make some methods private
1483 * paragraph_funcs.h:
1484 * paragraph_funcs.C:
1485 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1490 * sgml.C: move sgml open/close tag into sgml.C
1492 * bufferview_funcs.h: unused prototype
1495 * lyxfunc.C: remove unused
1498 * text.C: remove unused
1500 2002-10-21 John Levon <levon@movementarian.org>
1504 * BufferView_pimpl.h:
1505 * BufferView_pimpl.C: fix mouse wheel handling based on
1506 patch from Darren Freeman
1508 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1510 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1512 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1514 * lyxlength.C (inPixels): Fix hanfling of negative length.
1515 Fix LyXLength::MU case.
1517 2002-10-16 John Levon <levon@movementarian.org>
1519 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1521 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1523 * converter.C (view): add support for $$i (file name) and $$p
1524 (file path) for the viewer command. If $$i is not specified, then
1525 it is appended to the command (for compatibility with old syntax)
1527 2002-10-14 Juergen Vigna <jug@sad.it>
1529 * undo_funcs.C (textHandleUndo): alter the order in which the
1530 new undopar is added to the LyXText, as we have to set first
1531 the right prev/next and then add it as otherwise the rebuild of
1532 LyXText is not correct. Also reset the cursor to the right paragraph,
1533 with this IMO we could remove the hack in "redoParagraphs()".
1535 2002-10-09 Angus Leeming <leeming@lyx.org>
1537 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1538 to turn off an optimisation if a new inset is to be inserted.
1540 2002-10-11 André Pönitz <poenitz@gmx.net>
1542 * lyxtext.h: make some functions public to allow access
1543 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1545 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1547 * text3.C (dispatch): when changing layout, avoid an infinite loop
1550 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1552 * lyxrc.C (read): treat a viewer or converter command of "none" as
1555 * MenuBackend.C (expandFormats): for an update, also allow the
1556 formats that are not viewable
1558 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1559 script if it is newer than the lyxrc.defaults in user directory
1561 2002-10-07 André Pönitz <poenitz@gmx.net>
1563 * text.C: Vitaly Lipatov's small i18n fix
1565 2002-09-25 Angus Leeming <leeming@lyx.org>
1567 * ispell.h: doxygen fix.
1569 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1571 * buffer.h (readFile): Add a new argument to the method, to allow
1572 reading of old-format templates.
1574 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1576 * toc.C (getTocList): Get TOC from InsetWrap.
1578 2002-09-16 John Levon <levon@movementarian.org>
1580 * lyxfunc.C: check tabular for cut/copy too
1582 2002-09-12 John Levon <levon@movementarian.org>
1587 * factory.C: add header
1589 * paragraph_funcs.h:
1590 * paragraph_funcs.C: cleanup
1592 2002-09-11 John Levon <levon@movementarian.org>
1594 * PrinterParams.h: odd/even default to true
1596 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1598 * PrinterParams.h: update printer parameters for new xforms dialog
1600 2002-09-11 Angus Leeming <leeming@lyx.org>
1602 * lyxserver.C (read_ready): re-write to make it more transparent
1603 and to make it work in coherent fashion under Tru64 Unix.
1605 2002-09-11 André Pönitz <poenitz@gmx.net>
1609 * text3.C: implement LFUN_WORDSEL
1611 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1614 make floatlist_ a boost::shared_ptr<FloatList>
1616 * lyxtextclass.C: include FloatList.h
1617 (LyXTextClass): initialize floatlist_
1618 (TextClassTags): add TC_NOFLOAT
1619 (Read): match "nofloat" to TC_NOFLOAT and use it.
1620 (readFloat): modify call to floatlist_
1624 * FloatList.[Ch] (FloatList): remove commented out float
1626 (erase): new function
1628 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1630 * MenuBackend.C (expandToc): fix crash when there is no document
1633 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1635 * many files: Add insetwrap.
1637 2002-09-09 John Levon <levon@movementarian.org>
1639 * text2.C: remove confusing and awkward depth wraparound
1641 2002-09-09 John Levon <levon@movementarian.org>
1643 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1646 * buffer.C: remove getIncludeonlyList()
1649 * lyxfunc.C: remove headers
1651 2002-09-09 Juergen Vigna <jug@sad.it>
1653 * text.C (getColumnNearX): fix form Michael this is most
1654 probably a cut&paste bug.
1656 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1660 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1661 references, ws changes.
1663 * text2.C (init): update counters after init
1664 (insertParagraph): no need to set counter on idividual paragraphs.
1665 (setCounter): access the counters object in the textclass object
1666 on in the buffer object.
1667 (updateCounters): ditto
1669 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1670 shared_ptr<Counters> to avoid loading counters.h in all
1672 (LyXTextClass): initialize ctrs_
1673 (TextClassTags): add TC_COUNTER, and ...
1674 (Read): use it here.
1675 (CounterTags): new tags
1676 (readCounter): new function
1677 (counters): new funtion
1678 (defaultLayoutName): return a const reference
1680 * counters.C (Counters): remove contructor
1681 (newCounter): remove a couple of unneeded statements.
1682 (newCounter): simplify a bit.
1683 (numberLabel): some small formatting changes.
1685 * buffer.[Ch]: remove all traces of counters, move the Counters
1686 object to the LyXTextClass.
1688 2002-09-06 Alain Castera <castera@in2p3.fr>
1690 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1691 package to set the horizontal alignment on fixed width columns.
1694 * lyx_sty.h: added tabularnewline macro def.
1696 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1698 2002-09-06 John Levon <levon@movementarian.org>
1700 * LyXAction.C: tooltips for sub/superscript
1702 * MenuBackend.C: a bit more verbose
1704 * lyxfunc.C: tiny clean
1706 * undo_funcs.C: document undo_frozen
1708 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * counters.C (Counters): add missing algorithm counter.
1712 * text2.C (setCounter): lookup the counter with layouts latexname
1713 instead of by section number.
1714 (setCounter): use a hackish way to lookup the correct enum
1716 a float name->type change
1717 reset enum couners with counter name directly instead of depth value.
1719 * counters.C (Counters): remove the push_backs, change to use the
1720 float type not the float name.
1721 (labelItem): remove unused string, float name->type change
1723 * counters.h: don't include vector, loose the enums and sects vectors
1725 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1728 (Read): add float->TC_FLOAT to textclassTags
1729 (Read): and handle it in the switch
1730 (readFloat): new function
1732 * FloatList.C (FloatList): comment out the hardcoded float
1735 * lyxlayout.h: ws change.
1737 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1739 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1741 2002-09-03 Angus Leeming <leeming@lyx.org>
1743 * BufferView_pimpl.h: qualified name is not allowed in member
1744 declaration: WorkArea & Pimpl::workarea() const;
1746 * factory.C: added using std::endl directive.
1748 * text3.C: added using std::find and std::vector directives.
1750 2002-08-29 André Pönitz <poenitz@gmx.net>
1753 * text2.C: remove unused member number_of_rows
1756 * BufferView2.C: remove file, move contents to...
1757 * BufferView.C: ... here
1759 * BufferView_pimpl.C:
1760 * factory.C: move more inset creation to factory
1762 * vspace.C: avoid direct usage of LyXText, ws changes
1765 don't provide direct access to WorkArea, use two simple
1766 acessors haveSelction() and workHeight() instead
1769 2002-08-29 John Levon <levon@movementarian.org>
1771 * BufferView_pimpl.C (dispatch): do not continue when
1774 2002-08-28 André Pönitz <poenitz@gmx.net>
1776 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1779 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1781 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1783 * buffer.C: increment LYX_FORMAT to 221
1785 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1786 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1788 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1790 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1792 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1794 * factory.C (createInset): use LyXTextClass::floats
1796 * MenuBackend.C (expandFloatListInsert):
1797 (expandFloatInsert):
1800 * text2.C (setCounter):
1802 * LaTeXFeatures.C (useFloat):
1803 (getFloatDefinitions):
1805 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1807 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1808 floatlist_, with accessor floats().
1810 * FloatList.h: remove global FloatList
1812 2002-08-26 André Pönitz <poenitz@gmx.net>
1814 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1818 * BufferView_pimpl.C:
1819 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1821 2002-08-25 John Levon <levon@movementarian.org>
1823 * LyXAction.C: fix margin note description
1825 2002-08-24 John Levon <levon@movementarian.org>
1829 * bufferview_funcs.C:
1831 * undo_funcs.C: cleanups
1833 * lyxfunc.C: disable CUT/COPY when no selection
1835 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1837 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1838 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1840 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1841 Add backward compatibility to "mono", "gray" and "no".
1843 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1845 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1846 (and file_format >= 200).
1848 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1850 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1852 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1854 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1856 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1858 * BufferView_pimpl.C:
1865 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1866 inset and code to make it work with the paragraph code. The inset
1867 can be anywhere in the paragraph, but will only do the expected
1868 thing in LaTeX if the layout file contains the parameter line
1870 (or more generally, a nonzero value) for that layout.
1872 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * paragraph.h: remove the declaration of undefined counters class
1877 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1879 * text2.C (setCounter): fixed enumeration mis-count as reported by
1880 Dr. Richard Hawkins.
1882 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1884 * paragraph_funcs.h: remove some unneeded includes
1886 * text.C (backspace): pasteParagraph now in global scipe
1888 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1889 (pasteSelection): ditto
1891 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1892 * paragraph_funcs.C (pasteParagraph): ... here
1894 2002-08-20 André Pönitz <poenitz@gmx.net>
1896 * commandtags.h: new LFUNs for swapping/copying table row/colums
1899 * lyxfunc.C: support for new lfuns
1901 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * buffer.[Ch]: remove NO_COMPABILITY stuff
1906 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * boost.C (throw_exception): new file, with helper function for
1909 boost compiled without exceptions.
1914 * ParameterStruct.h:
1915 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1917 * bufferlist.C (emergencyWriteAll): use boost bind
1919 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1921 * text.C: include paragraph_funcs.h
1922 (breakParagraph): breakParagraph is now in global scope
1924 * paragraph_funcs.[Ch]: new files
1926 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1929 * buffer.C: include paragraph_funcs.h
1930 (insertStringAsLines): breakParagraph is now in global scope
1932 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1935 * CutAndPaste.C: include paragraph_funcs.h
1936 (cutSelection): breakParagraphConservative is now in global scope
1937 (pasteSelection): ditto
1939 * buffer.h: declare oprator== and operator!= for
1940 Buffer::inset_iterator
1942 * bufferlist.C (emergencyWrite): don't use fmt(...)
1944 * text3.C: add using std::endl
1946 * BufferView.C (moveCursorUpdate): remove default arg
1948 2002-08-20 André Pönitz <poenitz@gmx.net>
1950 * buffer.[Ch]: move inline functions to .C
1953 * BufferView_pimpl.C:
1955 * buffer.[Ch]: use improved inset_iterator
1958 * paragraph.[Ch]: write one paragraph at a time
1960 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1962 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1963 style if style is not specified.
1965 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1967 * text2.C (setCounter): when searching for right label for a
1968 caption, make sure to recurse to parent insets (so that a caption
1969 in a minipage in a figure float works) (bug #568)
1971 2002-08-20 André Pönitz <poenitz@gmx.net>
1973 * text3.C: new file for LyXText::dispatch() and helpers
1975 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1977 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1979 2002-08-19 André Pönitz <poenitz@gmx.net>
1982 * text.C: new LyXText::dispatch()
1984 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1986 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1988 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1990 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1993 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1995 * Makefile.am: use $(variables) instead of @substitutions@
1997 2002-08-15 André Pönitz <poenitz@gmx.net>
2000 * BufferView_pimpl.C: streamlining mathed <-> outer world
2004 * LyXAction.C: remove unused LFUN_MATH
2006 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2010 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * paragraph.C (Paragraph): reformat a bit
2013 (cutIntoMinibuffer): use builtin InsetList function instad of
2017 * buffer.C: include boost/bind.hpp, add using std::for_each
2018 (writeFileAscii): use ParagraphList iterators
2019 (validate): use for_each for validate traversal of paragraphs
2020 (getBibkeyList): use ParagraphList iterators
2021 (resizeInsets): use for_each to resizeInsetsLyXText for all
2023 (getParFromID): use ParagraphList iterators
2025 * BufferView2.C (lockInset): use paragraph list and iterators
2027 2002-08-14 John Levon <levon@movementarian.org>
2029 * lyxserver.C: remove spurious xforms include
2031 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2033 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2035 2002-08-13 André Pönitz <poenitz@gmx.net>
2038 * lyxfunc.C: further cleaning
2040 2002-08-13 André Pönitz <poenitz@gmx.net>
2042 * funcrequest.h: new constructor
2044 * funcrequest.C: move stuff here from .h
2047 * BufferView_pimpl.C:
2050 * lyxfunc.C: subsequent changes
2052 * lyxfunc.h: new view() member function
2054 * lyxfunc.C: subsequent changes
2056 2002-08-13 Angus Leeming <leeming@lyx.org>
2059 * BufferView_pimpl.C:
2067 changes due to the changed LyXView interface that now returns references
2068 to member variables not pointers.
2070 2002-08-13 Angus Leeming <leeming@lyx.org>
2072 * WordLangTuple (word, lang_code): return references to strings,
2077 * lyxtext.h: forward-declare WordLangTuple.
2082 * text.C: #include "WordLangTuple.h".
2085 * text.C: (selectNextWordToSpellcheck): constify return type.
2087 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2093 * paragraph_pimpl.h:
2096 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2098 Made updateCounter always count from start of buffer, and removed
2099 second argument (par).
2100 Reverted floats number display to '#'. Perhaps I'll try again when the
2101 code base is sanitized a bit.
2103 2002-08-12 Angus Leeming <leeming@lyx.org>
2105 * buffer.[Ch] (getLabelList): constify.
2107 2002-08-07 André Pönitz <poenitz@gmx.net>
2109 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2111 * funcrequest.h: extension to keep mouse (x,y) position
2113 2002-08-12 Juergen Vigna <jug@sad.it>
2115 * BufferView2.C (insertErrors): forbid undo when inserting error
2118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2120 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * ParagraphList.[Ch]: new files
2124 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2126 * BufferView2.C (lockInset): ParagraphList changes
2129 * bufferlist.C: ditto
2133 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2136 unused class variable counter_,
2138 * paragraph.[Ch] (getFirstCounter): delete unused function
2140 * counters.C: include LAssert.h
2141 (reset): add a new function with no arg, change other version to
2142 not have def. arg and to not allow empty arg.
2144 * text2.C (setCounter): remove empty arg from call to Counters::reset
2146 2002-08-11 John Levon <levon@movementarian.org>
2148 * Makefile.am: add WordLangTuple.h
2150 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2153 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2155 * insets/insettext.C: InsetList changes
2157 * graphics/GraphicsSupport.C (operator()): InsetList changes
2159 * toc.C (getTocList): InsetList changes
2161 * paragraph_pimpl.[Ch]: InsetList changes
2163 * paragraph.[Ch]: InsetList changes
2165 * buffer.C (inset_iterator): InsetList changes
2166 (setParagraph): ditto
2167 * buffer.h (inset_iterator): ditto
2168 * iterators.C (operator++): ditto
2169 * iterators.h: ditto
2171 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2173 * InsetList.[Ch]: new files, most InsetList handling moved out of
2176 * BufferView2.C (removeAutoInsets): InsetList changes
2178 (ChangeInsets): ditto
2180 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2182 * paragraph_pimpl.h (empty): new function
2184 * paragraph.[Ch] (empty): new function
2186 * other files: use the new Paragraph::empty function
2188 2002-08-09 John Levon <levon@movementarian.org>
2190 * lyxtext.h: remove unused refresh_height
2192 2002-08-09 John Levon <levon@movementarian.org>
2199 * paragraph.C: move sgml char escaping out of paragraph
2202 * paragraph.C: remove id setter
2206 * paragraph_pimpl.C: remove dead tex_code_break_column
2208 * bufferview_funcs.C: small cleanup
2210 * lyxfunc.C: remove dead proto
2212 * lyxtext.h: make some stuff private. Remove some dead stuff.
2214 * lyxgluelength.C: make as[LyX]String() readable
2216 2002-08-08 John Levon <levon@movementarian.org>
2221 * ToolbarDefaults.C:
2224 * toc.C: lyxaction cleanup
2226 2002-08-08 John Levon <levon@movementarian.org>
2228 * BufferView2.C: small cleanup
2231 * lyxfind.C: move unnecessary header into the .C
2233 2002-08-08 John Levon <levon@movementarian.org>
2235 * funcrequest.h: just tedious nonsense
2238 * lyx_main.C: cleanups
2241 * vspace.C: remove dead header lyx_main.h
2243 2002-08-07 Angus Leeming <leeming@lyx.org>
2246 * paragraph_pimpl.h:
2247 Forward declare class Counters in paragraph.h by moving the ctrs member
2248 variable into Paragraph::Pimpl.
2249 (counters): new method, returning a reference to pimpl_->ctrs.
2251 * text2.C: ensuing changes.
2253 2002-08-07 John Levon <levon@movementarian.org>
2255 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2257 * BufferView_pimpl.C: announce X selection on double/triple
2260 * lyx_main.C: use correct bool in batch dispatch
2262 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2264 2002-08-07 André Pönitz <poenitz@gmx.net>
2266 * funcrequest.h: new class to wrap a kb_action and its argument
2269 * BufferView_pimpl[Ch]:
2273 * lyxrc.C: subsequent changes
2276 2002-08-07 John Levon <levon@movementarian.org>
2278 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2279 document options change.
2281 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2286 * makefile.am: move counters functionality over from
2287 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2289 2002-08-06 John Levon <levon@movementarian.org>
2291 * WordLangTuple.h: new file for word + language code tuple
2302 * BufferView2.C: use WordLangTuple
2305 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2307 2002-08-06 John Levon <levon@movementarian.org>
2309 * lyx_main.C: fix cmdline batch handling
2311 2002-08-06 André Pönitz <poenitz@gmx.net>
2313 * lyxrc.C: set default for show_banner to true
2315 2002-08-06 John Levon <levon@movementarian.org>
2317 * pspell.C: fix a crash, and allow new aspell to work
2319 2002-08-06 John Levon <levon@movementarian.org>
2322 * kbmap.C: small cleanup
2325 * vspace.C: add const
2327 2002-08-05 John Levon <levon@movementarian.org>
2329 * LyXAction.C: back to tabular-insert
2331 2002-08-04 John Levon <levon@movementarian.org>
2334 * BufferView.C: cosmetic change
2336 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2346 * BufferView2.C: purge all "Lyx" not "LyX" strings
2349 * lyxcursor.C: attempt to add some documentation
2354 * ToolbarDefaults.C:
2355 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2356 merge with LFUN_TABULAR_INSERT
2363 * pspell.C: split up i/pspell implementations into separate
2364 files, many cleanups
2366 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2368 * text2.C: some cleanup
2370 * lyxfunc.C: don't check for isp_command == "none" any more, it
2371 didn't make any sense
2373 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2378 * makefile.am: move counters functionality over
2379 from text2.C/paragraph.[Ch] to counters.[Ch], and
2381 2002-08-02 John Levon <levon@movementarian.org>
2383 * buffer.C: s/lyxconvert/lyx2lyx/
2385 2002-08-02 Angus Leeming <leeming@lyx.org>
2387 * lyxlex.C: revert John's change as it breaks reading of the user
2390 2002-08-02 Angus Leeming <leeming@lyx.org>
2392 * importer.C (Import):
2393 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2394 changes due to LyXView::view() now returning a boost::shared_ptr.
2396 2002-08-02 John Levon <levon@movementarian.org>
2398 * lyxlex.C: small cleanup
2400 2002-08-02 John Levon <levon@movementarian.org>
2402 * text2.C (status): small cleanup, no logic change
2404 2002-08-01 John Levon <levon@movementarian.org>
2407 * buffer.C (writeFile): don't output alerts, caller
2411 * lyx_cb.C: from above
2413 * lyxfunc.C: allow to open non-existent files
2415 2002-07-31 John Levon <levon@movementarian.org>
2417 * lyxserver.C: don't let incidental errors get
2420 2002-07-30 John Levon <levon@movementarian.org>
2422 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2424 2002-07-30 John Levon <levon@movementarian.org>
2427 * lyxserver.C: remove I/O callback too
2429 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2431 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2434 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * many files: strip,frontStrip -> trim,ltrim,rtrim
2438 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * PrinterParams.h: remove extern containsOnly, and include
2441 support/lstrings.h instead.
2443 * LaTeX.C (scanAuxFile): modify because of strip changes
2445 * buffer.C (makeLaTeXFile): ditto
2446 * bufferparams.C (writeFile): ditt
2447 * lyxfont.C (stateText): ditto
2448 * lyxserver.C (read_ready): ditto
2449 * vc-backend.C (scanMaster): ditto
2451 * BufferView_pimpl.h: ws changes
2453 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2455 2002-07-26 André Pönitz <poenitz@gmx.net>
2457 * kb_sequence.C: remove unnedred usings
2459 2002-07-26 Juergen Vigna <jug@sad.it>
2461 * lyxfind.C (LyXReplace): we have to check better if the returned
2462 text is not of theLockingInset()->getLockingInset().
2464 2002-07-25 Juergen Vigna <jug@sad.it>
2466 * lyxfind.C (LyXReplace): don't replace if we don't get the
2469 * undo_funcs.C (createUndo): remove debugging code.
2471 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2473 * buffer.C (parseSingleLyXformat2Token): Use default placement
2474 when reading old floats.
2476 * FloatList.C (FloatList): Change the default placement of figure
2477 and tables to "tbp".
2479 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2481 * MenuBackend.C: using std::max
2483 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2485 * MenuBackend.C (expandToc):
2486 (expandToc2): code moved from xforms menu frontend. It is now
2487 generic and TOCs are transparent to menu frontends.
2489 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2491 * toc.C (getTocList): protect against buf=0
2493 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2494 Menu as first parameter. Now, this calls itself recursively to
2495 expand a whole tree (this will be useful for TOC handling)
2496 (expandFloatInsert): remove 'wide' version of floats
2498 * MenuBackend.h (submenuname): returns the name of the submenu.
2499 (submenu): returns the submenu itself, provided it has been
2500 created by MenuBackend::expand
2502 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2504 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2505 insets which have noFontChange == true. (bug #172)
2507 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2509 * BufferView_pimpl.C: add connection objects and use them...
2512 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2514 * MenuBackend.C (expandLastfiles):
2517 (expandFloatListInsert):
2518 (expandFloatInsert):
2519 (expand): split expand in parts
2521 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2523 * lyx_gui.C: use lyx_gui::exit()
2525 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2527 * LyXAction.C: show the failing pseudo action
2529 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2531 * buffer.C (readFile): Run the lyxconvert script in order to read
2534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2538 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2540 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2544 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2546 2002-07-22 Herbert Voss <voss@lyx.org>
2549 * lyxlength.[Ch]: add support for the vertical lengths
2551 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2553 * toc.[Ch]: std:: fixes
2555 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2557 * lyxrc.C: do not include lyx_main.h
2559 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2565 * BufferView2.C: include "lyxlex.h"
2568 * bufferparams.h: do not #include "lyxlex.h"
2570 * lyxtextclasslist.C (Add): remove method
2571 (classlist): renamed to classlist_
2573 * paragraph_pimpl.C:
2577 * bufferview_funcs.C:
2582 * toc.C (getTocList): use BufferParams::getLyXTextClass
2584 * toc.C (getTocList): use InsetFloat::addToToc
2586 * toc.[Ch]: new files, containing helper functions to handle table
2589 * lyxfunc.C (dispatch): no need to remove spaces around command
2591 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2592 first command of the sequence; it is not very clever, but I do not
2593 have a better idea, actually
2595 * LyXAction.C (LookupFunc): make sure to remove space at the
2596 beginning and end of the command
2598 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2600 * MenuBackend.C (getMenubar): new method: return the menubar of
2602 (read): treat differently reading of menu and menubar (in
2603 particular, the menubar has no name now)
2604 (Menu::menubar): remove
2606 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2609 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2611 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2612 a bibitem inset in a RTL paragraph.
2614 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2616 * paragraph_pimpl.C: constify
2618 * BufferView_pimpl.C:
2620 * lyxfunc.C: fix dispatch in a nicer way
2622 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2624 * lyxfunc.C (dispatch):
2625 * BufferView_pimpl.C:
2626 * BufferView_pimpl.h:
2628 * BufferView.h: rename Dispatch() to dispatch()
2630 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2632 * lyxlayout.C (Read): honor DependsOn tag
2634 * lyxlayout.[Ch] (depends_on): new method
2636 * version.C.in: update lyx_docversion
2638 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2640 * paragraph.C (validate): remove from here...
2641 * paragraph_pimpl.C (validate): ... and move here
2642 (isTextAt): make it const
2644 * buffer.C (getLists): ws cleanup
2646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2648 * language.C (read): Use iso8859-1 encoding in latex_lang
2649 (this prevents LyX from crashing when using iso10646-1 encoding).
2651 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2653 * text2.C (toggleInset): if cursor is inside an inset, close the
2654 inset and leave cursor _after_ it
2656 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2658 * lyxfunc.C: move minibuffer completion handling out of here
2660 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2662 * BufferView_pimpl.C:
2663 * LaTeX.C: fix dispatch calls
2665 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2667 * text.C (drawChars): Fix Arabic text rendering.
2669 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2673 * lyxfunc.C: remove message-push/pop
2677 * lyxfunc.C: rationalise some code by removing verboseDispatch
2678 in favour of a bool argument to dispatch()
2680 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2682 * lyx_main.C (init): make sure to read symlinks as absolute paths
2684 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2687 * lyxfunc.C: no need for commandshortcut to be a member
2689 2002-07-15 André Pönitz <poenitz@gmx.net>
2691 * converter.C: add support for $$s (scripts from lib/scripts dir)
2692 * lyx_main.C: white space
2694 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2698 * lyxrc.C: remove second exit confirmation
2700 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2705 * BufferView_pimpl.h:
2706 * BufferView_pimpl.C:
2707 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2709 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2711 * MenuBackend.C (expand): add numeric shortcuts to document menu
2713 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2715 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2717 * lyxfont.C (setLyXFamily):
2724 * buffer.C (asciiParagraph): use ascii_lowercase
2726 2002-07-15 Mike Fabian <mfabian@suse.de>
2728 * lyxlex_pimpl.C (search_kw):
2729 * lyxlex.C (getLongString):
2730 * converter.h (operator<):
2731 * converter.C (operator<):
2732 * buffer.C (parseSingleLyXformat2Token):
2734 * ToolbarDefaults.C (read):
2735 * MenuBackend.C (checkShortcuts):
2737 * LColor.C (getFromGUIName):
2738 (getFromLyXName): use the compare_ascii_no_case instead of
2739 compare_no_case, because in turkish, 'i' is not the lowercase
2740 version of 'I', and thus turkish locale breaks parsing of tags.
2742 2002-07-16 Angus Leeming <leeming@lyx.org>
2744 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2745 now takes a Buffer const & argument.
2747 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2749 * BufferView.C (resize): check there's a buffer to resize
2751 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2753 * lyxfunc.C: remove dead code
2756 * lyxserver.C: use lyx_guii::set_read_callback
2758 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2760 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2761 an inset in a RTL paragraph.
2763 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2765 * lyxfunc.C: repaint after a font size update
2767 2002-07-15 André Pönitz <poenitz@gmx.net>
2769 * lyxlength.C: inBP should be able to return negative values
2771 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2773 * lyxfunc.C: use lyx_gui::update_fonts()
2775 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2777 * lyxfunc.C: use lyx_gui::update_color()
2779 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2785 * lyxrc.C: remove file->new asks for name option, and let
2786 buffer-new take an argument
2788 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2790 * BufferView_pimpl.C: remove unneeded extra repaint()
2792 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2794 * LyXAction.C: allow command-sequence with NoBuffer
2796 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2798 2002-07-10 Angus Leeming <leeming@lyx.org>
2800 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2802 2002-07-09 Angus Leeming <leeming@lyx.org>
2804 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2806 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2808 * lengthcommon.h: whitespace
2810 * lyxfunc.C: update scrollbar after goto paragraph
2812 * lyxtext.h: factor out page break drawing, and fix it so
2813 page break/added space paints as selected nicely
2815 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2817 * BufferView_pimpl.C: add FIXMEs, clean up a little
2819 2002-07-09 André Pönitz <poenitz@gmx.net>
2821 * lyxfont.[Ch]: support for wasy symbols
2823 2002-07-08 André Pönitz <poenitz@gmx.net>
2825 * BufferView_pimpl.C: apply John's patch for #93.
2827 2002-07-05 Angus Leeming <leeming@lyx.org>
2829 * BufferView_pimpl.C (buffer): generate previews if desired.
2831 * LColor.h: add "preview" to the color enum.
2833 * LColor.C (LColor): add a corresponding entry to the items array.
2835 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2838 2002-07-05 Angus Leeming <leeming@lyx.org>
2840 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2841 The body of the code is now in the method that is passed an ostream &
2842 rather than a file name.
2843 Pass an additional only_preamble parameter, useful for the forthcoming
2846 2002-07-03 André Pönitz <poenitz@gmx.net>
2848 * lyxfunc.C: simplify getStatus() a bit for math stuff
2850 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2852 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2854 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2856 * text.C (changeRegionCase): do not change case of all the
2857 document when region ends at paragraph end (bug #461)
2859 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2861 * paragraph.C (startTeXParParams):
2862 (endTeXParParams): add \protect when necessary
2864 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2866 * BufferView_pimpl.C (workAreaExpose): remove warning
2868 2002-06-27 Angus Leeming <leeming@lyx.org>
2870 * Makefile.am: add lyxlayout_ptr_fwd.h.
2872 2002-06-26 André Pönitz <poenitz@gmx.net>
2874 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2876 2002-06-25 Angus Leeming <leeming@lyx.org>
2878 * lyxfunc.C (dispatch): Comment out the call to
2879 grfx::GCache::changeDisplay. The method no longer exists now that the
2880 pixmap generation part of the graphics loader has been moved into
2883 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2885 * text2.C: layout as layout
2887 * text.C: layout as layout
2889 * tabular.C (OldFormatRead): layout as layout
2891 * paragraph_pimpl.C (TeXDeeper): layout as layout
2892 (realizeFont): layout as layout
2894 * paragraph.C (writeFile): layout as layout
2895 (validate): layout as layout
2896 (getFont): layout as layout
2897 (getLabelFont): layout as layout
2898 (getLayoutFont): layout as layout
2899 (breakParagraph): layout as layout
2900 (stripLeadingSpaces): layout as layout
2901 (getEndLabel): layout as layout
2902 (getMaxDepthAfter): layout as layout
2903 (applyLayout): layout as layout
2904 (TeXOnePar): layout as layout
2905 (simpleTeXOnePar): layout as layout
2906 (TeXEnvironment): layout as layout
2907 (layout): layout as layout
2908 (layout): layout as layout
2910 * lyxtextclass.C (compare_name): new functor to work with
2911 shared_ptr, layout as layout
2912 (Read): layout as layout
2913 (hasLayout): layout as layout
2914 (operator): layout as layout
2915 (delete_layout): layout as layout
2916 (defaultLayout): layout as layout
2918 * lyxlayout_ptr_fwd.h: new file
2920 * lyxlayout.C (Read): layout as layout
2922 * lyx_cb.C (MenuInsertLabel): layout as layout
2924 * bufferlist.C (newFile): layout as layout
2926 * buffer.C (readLyXformat2): layout as layout
2927 (parseSingleLyXformat2Token): layout as layout
2928 (insertStringAsLines): layout as layout
2929 (asciiParagraph): layout as layout
2930 (latexParagraphs): layout as layout
2931 (makeLinuxDocFile): layout as layout
2932 (simpleLinuxDocOnePar): layout as layout
2933 (makeDocBookFile): layout as layout
2934 (simpleDocBookOnePar): layout as layout
2935 (getLists): layout as layout
2937 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2939 * CutAndPaste.C (cutSelection): layout as layout
2940 (pasteSelection): layout as layout
2941 (SwitchLayoutsBetweenClasses): layout as layout
2943 * BufferView_pimpl.C (Dispatch): layout as layout
2944 (smartQuote): layout as layout
2946 * BufferView2.C (unlockInset): layout as layout
2948 2002-06-24 André Pönitz <poenitz@gmx.net>
2950 * lyxfunc.C: fix #487
2952 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2956 * lyxfunc.C: remove display_shortcuts, show_banner
2958 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2960 * Buffer_pimpl.C: oops, update on resize
2962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2969 * BufferView.C: use repaint()
2971 * BufferView_pimpl.h:
2972 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2973 as it's a clearer description. Remove superfluous
2976 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2978 * text.C: fix bug 488. Not ideal, but getting
2979 getWord() to work properly for the insets that
2980 matter is more difficult ...
2982 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2984 * BufferView_pimpl.C:
2987 * lyxfunc.C: remove the six million index lyxfuncs to just
2988 one, and DTRT (bug 458)
2990 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2994 * BufferView_pimpl.h:
2995 * BufferView_pimpl.C: clean up resize() stuff,
2996 and unnecessary updateScreen()s
2998 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3002 * BufferView_pimpl.h:
3003 * BufferView_pimpl.C:
3006 * minibuffer.C: remove focus management of workarea,
3007 not needed. Use screen's greyOut()
3009 2002-06-17 Herbert Voss <voss@lyx.org>
3011 * converter.C: (convert) do not post a message, when converting
3012 fails, let the calling function decide what to do in this case
3014 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3016 * lyxfunc.C: tidy up a little
3018 2002-06-16 <alstrup@diku.dk>
3020 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3021 Got rid of FORMS_H_LOCATION include. Now we are
3024 2002-06-15 LyX Development team <lyx@rilke>
3026 * buffer.[Ch] (sgmlOpenTag):
3027 (sgmlCloseTag): Added support for avoiding pernicious mixed
3028 content. Return number of lines written.
3031 (makeDocBookFile): Fixed calls to sgml*Tag.
3032 Simple white space clean.
3034 (simpleDocBookOnePar): Simple white space clean.
3036 * tabular.[Ch] (docBook): Renamed to docbook and got another
3037 argument to related with the pernicious mixed content.
3039 (docbookRow): Fixed calls for docbook inset method.
3041 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3043 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3044 so it's X11 independent.
3048 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3050 2002-06-15 Lyx Development team <lyx@electronia>
3052 * intl.h: Renamed getTrans to getTransManager.
3054 2002-06-14 Angus Leeming <leeming@lyx.org>
3056 * Makefile.am: nuke forgotten stl_string_fwd.h.
3058 2002-06-12 Angus Leeming <leeming@lyx.org>
3060 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3062 2002-06-13 Angus Leeming <leeming@lyx.org>
3065 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3067 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3069 * kbmap.C (getiso): add support for cyrillic and greek
3071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3075 * BufferView_pimpl.h:
3076 * BufferView_pimpl.C: move bogus scrolling logic
3079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3082 * BufferView_pimpl.C: view->resize() change
3084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3086 * BufferView_pimpl.C: topCursorVisible
3089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3093 * lyx_gui.C: move to frontends/
3097 * lyx_main.C: changes from above
3099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3106 * lyx_main.C: minor tidy
3108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3110 * BufferView_pimpl.h:
3111 * BufferView_pimpl.C:
3113 * BufferView.C: make painter() const,
3116 * BufferView2.C: use screen() accessor
3119 * lyx_main.C: some minor cleanup
3121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3123 * BufferView_pimpl.h:
3124 * BufferView_pimpl.C: remove enter/leaveView,
3127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3132 * BufferView_pimpl.h:
3133 * BufferView_pimpl.C: only construct screen once,
3136 * lyxrc.C: remove pointless comment
3138 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3141 * BufferView.C: remove active() and belowMouse()
3143 * BufferView_pimpl.h:
3144 * BufferView_pimpl.C: use workarea() not workarea_,
3145 and make it use a scoped_ptr instead
3147 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3149 * lyx_gui.C: add debug message on BadWindow
3151 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3153 * sp_spell.C: fdopen is not part of the C++ standard.
3155 * paragraph.C (InsetIterator): use >= instead of ==
3157 2002-06-07 Angus Leeming <leeming@lyx.org>
3159 Fixes needed to compile with Compaq cxx 6.5.
3160 * BufferView_pimpl.C:
3167 * lyxtextclasslist.C:
3172 all c-library variables have been moved into namespace std. Wrap
3173 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3178 Add a using std::abs declaration.
3180 * kbmap.h (modifier_pair):
3181 * paragraph.h (InsetTable, InsetList):
3182 * lyxfont.h (FontBits):
3183 type definition made public.
3185 * bufferlist.C (emergencyWriteAll): the compiler complains that
3186 there is more than one possible lyx::class_fun template to choose from.
3187 I re-named the void specialisation as lyx::void_class_fun.
3189 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3191 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3192 the compiler is is unable to find tostr in write_attribute.
3194 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3196 * buffer.C (sgmlError): hide #warning
3198 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3200 * xtl/*: get rid of xtl, which is not in use anyway
3202 * LyXAction.C (init):
3203 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3204 were unimplemented xtl experimentation
3206 2002-06-04 André Pönitz <poenitz@gmx.net>
3208 * lyxfunc.C: disable array operation on simple formulae
3210 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3212 * converter.C: constify a bit
3214 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3216 * lyx_gui.C: check xforms version correctly
3218 2002-04-30 Herbert Voss <voss@lyx.org>
3220 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3223 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3225 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3226 attempt to register it with a VCS)
3228 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3230 * lyx_main.C (init): honor variables LYX_DIR_13x and
3233 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3237 * lyx_main.C: fix a crash on bad command line,
3238 and give a useful exit status on error
3240 * lyxfunc.C (doImport): allow -i lyx to work
3242 2002-03-30 André Pönitz <poenitz@gmx.net>
3244 * lyxfunc.C: mathed font changes
3246 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3261 * trans_mgr.h: srcdocs, and some minor cleanups
3263 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3265 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3266 call getFont all the time)
3268 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3270 * switch from SigC signals to boost::signals
3272 2002-05-29 André Pönitz <poenitz@gmx.net>
3274 * paragraph_pimpl.C (getChar): don't call size() too often...
3276 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3278 * paragraph_pimpl.C (insertChar): do not try to update tables when
3279 appending (pos == size())
3281 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3282 in order to reduce drastically the number of comparisons needed to
3283 parse a large document
3285 2002-05-29 André Pönitz <poenitz@gmx.net>
3291 * textclasslist.[Ch]:
3292 * sp_ispell.h: whitespace change
3294 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3296 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3297 lyxaction directly now.
3299 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3303 * lyxvc.C: remove unused headers
3305 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3312 * undo_funcs.C: some cleanups. Use shared_ptr
3313 and a template for the undo stacks.
3315 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3317 * BufferView_pimpl.h:
3318 * BufferView_pimpl.C:
3325 * text2.C: use key_state/mouse_state
3327 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3329 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3332 * chset.C: change include order
3333 (loadFile): use boost regex and get rid of LRegex and LSubstring
3335 * Makefile.am (BOOST_LIBS): new variable
3338 * LaTeX.C: change include order.
3339 (scanAuxFile): use boost regex and get rid of LRegex and
3343 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3348 * FontInfo.C: moved to frontends/xforms/
3351 * FontLoader.C: moved into frontends for GUIIzation
3356 * lyxfunc.C: changes from above
3358 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3360 * LColor.C: remove spurious X include
3362 * BufferView_pimpl.C:
3367 * text2.C: move font metrics to frontends/
3369 2002-05-24 Juergen Vigna <jug@sad.it>
3371 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3372 setting the undo_cursor.
3374 * ParagraphParameters.h: include local includes first.
3376 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3378 * BufferView_pimpl.C:
3379 * BufferView_pimpl.h:
3383 * screen.C: move WorkArea into frontends/
3389 * BufferView2.C: move LyXScreen into frontends/
3393 * lyx_gui.C: move lyxlookup into frontends/xforms/
3395 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3398 * BufferView_pimpl.C:
3408 * bufferview_funcs.C:
3421 * vc-backend.C: move LyX/XFormsView into frontends/
3423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3435 * text2.C: move Painter to frontends/
3437 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3439 * buffer.C: comment out some some code that depend upon lyx_format
3442 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3443 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3445 * buffer.h (NO_COMPABILITY): turn off compability
3447 * ColorHandler.C: include scoped_array.hpp
3449 * font.C: Use more specific smart_ptr header.
3452 * ShareContainer.h: ditto
3456 * BufferView_pimpl.h: ditto
3457 * ColorHandler.h: ditto
3459 * kbmap.C (defkey): change call to shared_ptr::reset
3461 2002-05-21 Juergen Vigna <jug@sad.it>
3463 * buffer.C (insertErtContents): fix to insert ert asis if it is
3464 non empty. Skip it completely if it contains only whitespaces.
3466 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3468 * BufferView_pimpl.C:
3469 * BufferView2.C: clear selection on paste (bug 393)
3471 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3473 * DepTable.C: include ctime
3475 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3477 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3479 2002-05-14 Juergen Vigna <jug@sad.it>
3481 * text.C (breakParagraph): fixed function to honor the keepempty
3482 layout in the right maner and also to permit the right breaking
3483 algorithm on empty or non empyt keepempty paragraphs.
3485 * paragraph.C (breakParagraph): we have to check also if the par
3486 is really empty (!size()) for isempty otherwise we do the wrong
3489 2002-05-10 Juergen Vigna <jug@sad.it>
3491 * buffer.[Ch] : The following are only changes to the ert
3492 compatibility read reading old LaTeX layout and font stuff and
3493 convert it to ERTInsets.
3495 * buffer.h: added isErtInset().
3497 * buffer.C (struct ErtComp): add a fromlayout bool to check
3498 if we're inside a LaTeX layout.
3499 (isErtInset): new helper function.
3500 (insertErtContents): look for other ert insets before this one
3501 and insert the contents there, so that we don't have subsequent
3502 ERT insets with nothing between them. This way we create only one
3503 inset with multiple paragraphs. Also check if we don't insert only
3504 spaces ' ' as they are ignored anyway afterwards in the .tex file
3505 so if we have only spaces we will ignore this latex part in the
3507 (parseSingleLyXformat2Token \\layout): better compatibility when
3508 reading layout-latex stuff.
3509 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3511 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3512 stuff after reading the inset only get the information back from
3515 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3517 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3519 * LaTeXFeatures.C (getBabelOptions): New method.
3521 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3523 * BufferView_pimpl.C (Dispatch): work around missing argument for
3526 2002-05-08 Juergen Vigna <jug@sad.it>
3528 * text.C (leftMargin): handle paragraph leftindent.
3530 * paragraph.C (writeFile): write the new \\leftindent tag.
3531 (validate): handle leftindent code.
3532 (TeXEnvironment): handle paragraphleftindent code again.
3534 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3536 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3537 for paragrap_extra indent code and new token \\leftindent.
3538 (latexParagraphs): handle the leftindent as environment.
3540 * ParameterStruct.h: added leftindent support.
3542 * ParagraphParameters.C (leftIndent): added support functions for
3543 the paragraph left indent.
3545 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3548 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3550 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3553 * text.C (computeBidiTables): No bidi in insetERT.
3555 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3558 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3560 * version.C.in: pre 5
3562 2002-05-02 José Matos <jamatos@fep.up.pt>
3563 * buffer.C (makeDocBookFile): white space changes, add newline to
3565 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3567 * tabular.C (docBook): fix typo.
3569 2002-05-03 Juergen Vigna <jug@sad.it>
3571 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3572 change in LyXText as we can not be sure it was not freed.
3573 (drawOneRow): remove unused code.
3575 * text.C (drawInset): redo the calculation of the need_break_row as
3576 it could have a row which was already freed.
3577 (draw): look at the return value of drawInset and return false if
3578 it also returned false.
3579 (paintRowText): look at the return value of draw and return false if
3580 it also returned false.
3582 * lyxtext.h: added bool return type to drawInset() and draw() so that
3583 if we have a change in the row so that the rowbreak has to be redone
3584 we abort drawing as it will be called again.
3586 2002-05-02 Juergen Vigna <jug@sad.it>
3588 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3589 a change in the maintext also if we're inside an inset.
3590 (Dispatch): set the cursor again after a break line and after the
3591 screen has been updated as it could be we're in a different row.
3593 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3594 to set the cursor behind the pargraph with > size().
3595 (setCursor): check also for the same paragraph when checking where
3596 to put the cursor if we have a NFR inset.
3598 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3599 parts of layout read further up as it still was in the wrong
3602 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3604 * screen.C (drawFromTo): change sine fullRebreak always return
3607 * buffer.C (parseSingleLyXformat2Token): reindent some
3609 * BufferView_pimpl.C (update): change since fullRebreak always
3611 (Dispatch): git rid of the last hardcoded "Standard"s.
3613 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3615 * text2.[Ch] (fullRebreak): make it return void now that we always
3618 2002-04-30 Juergen Vigna <jug@sad.it>
3620 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3621 ert compatibility check for "latex" layout.
3623 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3625 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3626 minipages: use col% instead of p%, and also use the current font.
3627 (makeLaTeXFile): Fix use babel condition.
3628 (parseSingleLyXformat2Token): Correct font when reading old floats.
3630 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3632 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3633 inserting list of floats.
3635 2002-04-25 Herbert Voss <voss@lyx.org>
3637 * MenuBackend.C (expand): don't add the graphics extensions to the
3640 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3643 non-existing layout, do not complain if it was the default layout
3644 of the original class (bug #342)
3646 2002-04-24 Juergen Vigna <jug@sad.it>
3648 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3649 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3651 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3653 * buffer.C (getBibkeyList): If using \bibliography, return the
3654 option field with the reference itself. Enables us to provide natbib
3655 support when using \bibliography.
3657 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3659 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3661 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3662 natbib is provided by the LaTeX class.
3664 2002-04-23 Juergen Vigna <jug@sad.it>
3666 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3669 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3671 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3673 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3675 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3676 ensuremath around textordmasculine, textordfeminine and
3679 2002-04-19 Juergen Vigna <jug@sad.it>
3681 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3682 reinitializing the buffer otherwise row-dimensions may be wrong.
3683 (update): reset also the selection cursors if they do exits otherwise
3684 their x/y positions may be wrong.
3686 * text2.C (cursorDown): don't enter the inset if we came from a row
3687 above and are one row over the inset.
3689 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3690 really leaving an inset.
3692 2002-04-18 Juergen Vigna <jug@sad.it>
3694 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3695 of the selected paragraph does not have the selected layout also if
3698 * text2.C (setLayout): fixed bug which did not change last selected
3701 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3702 changed the read and substituted \\end_float with \\end_inset!
3704 * BufferView_pimpl.C (cursorPrevious):
3705 (cursorNext): fixed to make it work with rows heigher than the work
3706 area without moving the cursor only the draw of the row.
3707 (workAreaMotionNotify): fix jumping over high rows.
3709 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3711 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3714 2002-04-16 Juergen Vigna <jug@sad.it>
3716 * text2.C (setCursor): set also the irow().
3717 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3719 (cursorDown): support for locking an inset if the x_fix value goes
3720 inside it. That way I can transverse insets too with cursor up/down.
3722 * lyxrow.h: added irow helper function same as other (i) functions.
3724 * BufferView_pimpl.C (cursorPrevious):
3725 (cursorNext): fixed for insets!
3727 2002-04-15 Juergen Vigna <jug@sad.it>
3729 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3730 position otherwise it is wrong in some cases.
3732 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3733 inside the inset before the call.
3735 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3737 * buffer.[Ch] (getBibkeyList): make it const.
3739 2002-04-12 Juergen Vigna <jug@sad.it>
3741 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3743 * text2.C (getCursorX): new helper function
3744 (setCursor): compute also ix_
3745 (setCursorFromCoordinates): set also ix.
3747 * lyxcursor.h: added ix_ and helper functions.
3749 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3751 * buffer.C (insertStringAsLines): dont break paragraph if the this
3752 paragraph is inside an inset which does not permit it!
3754 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3755 also with no chars on this paragraph.
3756 (paintRowText): only paint stuff if it's inside the workarea!
3758 * paragraph.C (breakParagraph): honor keepempty flag and break the
3759 paragraph always below not above.
3761 * BufferView2.C (unlockInset): update the paragraph layout on inset
3762 unlock as we changed paragraph in such a case.
3764 * lyxfind.C (LyXFind): clear the former selection if not found!
3766 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3767 again called in insertChar().
3769 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3770 an inset which uses the whole row!
3771 (rightMargin): ditto.
3772 (insertChar): force a rebreak if we inserted an inset!
3774 2002-03-28 Herbert Voss <voss@lyx.org>
3776 * lyxlength.[Ch]: add inBP() to get the right PS-point
3777 units (BigPoint). With inPixels we have rounding errors
3779 2002-04-11 Juergen Vigna <jug@sad.it>
3781 * text2.C (setCursorFromCoordinates): set iy to the right value.
3782 (setCursor): add check if row->previous exists!
3784 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3785 an old float_type as this was the case in the old code!
3787 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3789 * BufferView2.C (showLockedInsetCursor): use iy
3790 (fitLockedInsetCursor): ditto
3792 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3793 locked insets as there we have the right value now.
3795 * lyxcursor.C: added iy_ variable and iy functions to set to the
3796 baseline of cursor-y of the locked inset.
3798 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3799 (setCursor): fixed for insets which need a full row.
3801 * text.C (rowLastPrintable): don't ignore the last space when before
3802 an inset which needs a full row.
3803 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3804 as last character of a row when before a inset which needs a full row.
3806 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3808 * version.C.in: update date
3810 * text2.C (fullRebreak): try to always return true and see what
3813 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3815 * MenuBackend.C (expand): use Floating::listName
3817 * FloatList.C (FloatList): add listName argument to the built-in
3820 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3821 text associated with the float.
3823 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3825 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3827 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3829 * ShareContainer.h: add a couple of missing typenames.
3831 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3833 * lyxrc.C (getDescription): use _() correctly rather than N_().
3835 2002-03-28 Herbert Voss <voss@lyx.org>
3837 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3838 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3840 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3842 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3843 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3845 2002-03-29 Juergen Vigna <jug@sad.it>
3847 * lyxfunc.C (dispatch): add a missing fitCursor call.
3849 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3850 it was scrolled by a cursor move, so return the bool status.
3852 * BufferView.C (fitCursor): return the bool flag also to the outside
3853 world as this is needed.
3855 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3857 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3858 call the edit() as it is not needed (and wrong) IMO.
3859 (workAreaButtonPress): set the screen_first variable before evt.
3860 unlock the inset as this may change screen_first and then we have
3861 a wrong y position for the click!
3863 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3865 * MenuBackend.C (expand): another translation that I missed
3867 2002-03-28 Juergen Vigna <jug@sad.it>
3869 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3871 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3873 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3875 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3877 * MenuBackend.C (expand): fix export/view/update when there is no
3880 2002-03-27 Herbert Voss <voss@lyx.org>
3882 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3885 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3887 * bufferview_funcs.C (currentState): only show paragraph number
3888 for is DEVEL_VERSION is set.
3890 * lyxfunc.C (dispatch): put warning in INFO channel
3892 * MenuBackend.C (expand): translate the name of floats
3894 * FloatList.C (FloatList): mark the float names for translation
3896 * converter.C (convert): use LibScriptSearch
3898 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3900 * MenuBackend.C (defaults): fix default menu (we might as well get
3903 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3905 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3908 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3910 * lyxvc.C: reorder includes.
3912 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3914 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3917 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3919 * CutAndPaste.C: change layouts earlier on paste
3920 to avoid crashing when calling getFont()
3922 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3924 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3927 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3929 * WorkArea.C: remove 'Pending' debug message.
3931 * most files: ws cleanup
3933 * buffer.[Ch]: ws changes
3935 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3937 2002-03-21 Juergen Vigna <jug@sad.it>
3939 * tabular.C (SetMultiColumn): collapse also the contents of the
3940 cells and set the last border right. Added a Buffer const * param.
3942 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3944 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3947 2002-03-19 Juergen Vigna <jug@sad.it>
3949 * text2.C (clearSelection): reset also xsel_cache.
3951 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3952 where it needs to be called (John tells us to do so too :)
3953 (selectionLost): reset sel_cache.
3955 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3957 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3959 * text2.C (setCursorIntern): put debuging code in INSETS channel
3961 2002-03-19 André Pönitz <poenitz@gmx.net>
3963 * lyxfunc.C: tiny whitespace change
3965 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * ToolbarDefaults.C (init):
3968 * LyXAction.C (init):
3970 * BufferView_pimpl.C (Dispatch):
3971 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3973 2002-03-19 Allan Rae <rae@lyx.org>
3975 * exporter.C (Export): removeAutoInsets before doing anything else.
3976 While I've just introduced a dependency on BufferView this really is
3977 the best place to clean the buffer otherwise you need to cleanup in
3978 a dozen places before calling export or cleanup in a dozen functions
3981 * converter.C (runLaTeX):
3982 (scanLog): Better handling of removeAutoInsets and screen updates.
3984 * lyxfunc.C (dispatch): small whitespace changes
3986 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3988 * WorkArea.C (C_WorkAreaEvent): return a value.
3989 (event_cb): return 1 if we handled the event, 0 otherwise.
3991 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3993 2002-03-18 Juergen Vigna <jug@sad.it>
3995 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3996 (GetAdditionalWidth): ditto.
4000 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4001 inset if we're there actually (probably not used right now but this
4002 is the direction to go for unifying code).
4003 (paste): disable code to clear the selection.
4005 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4006 inside an InsetText and move the check further up as it is in the
4009 * text2.C (pasteSelection): set a selection over the pasted text.
4011 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4013 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4014 and libgraphics to build on Cygwin.
4016 2002-03-15 Juergen Vigna <jug@sad.it>
4018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4019 inserting an Inset into the paragraph. I know this is not the best
4020 fix but we already use current_view in CutAndPaste so we will remove
4021 all of it's using at the same time.
4023 * buffer.C (sgmlError): deactivated function till it is rewritten in
4024 the right mode, now it can create problems.
4026 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4027 before accessing it.
4029 2002-03-14 Juergen Vigna <jug@sad.it>
4031 * undo_funcs.C (textHandleUndo): do the right thing when updating
4032 the inset after the undo/redo.
4034 * text2.C (setCursor): just some testcode for #44 not ready yet.
4036 * undo_funcs.C (textHandleUndo): set the next() and previous()
4037 pointers of the paragraph to 0 before deleting otherwise we have
4038 problems with the Paragraph::[destructor].
4040 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4041 on a paragraph insertion.
4043 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4045 * buffer.C (asciiParagraph): use += operator for char append to
4048 * paragraph.C (getFontSettings): compare >= not just >
4049 (highestFontInRange): ditto
4052 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4054 * paragraph.C: change several algorithm to be more appripriate for
4055 the problem domain. This is lookip in FontList and in the InsetList.
4057 2002-03-13 André Pönitz <poenitz@gmx.net>
4060 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4062 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4067 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4069 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4071 * Painter.C (display): anon helper function, adjust code for this
4073 (pixmap): remove function.
4075 * Painter.h: remove private display variable.
4077 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4079 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4081 * WorkArea.[Ch]: remove figinset_canvas cruft.
4083 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4085 * lyxtextclass.C (operator): add one item cache optimization.
4087 * bufferlist.h: doxy changes
4089 * bufferlist.C: ws changes
4091 * DepTable.[Ch] (ext_exist): place const in the right spot.
4093 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4095 (workAreaExpose): call resizeInsets when the with BufferView changes.
4096 (Dispatch): adjust for protectedBlank removal
4097 (specialChar): call updateInset if the insert went ok.
4099 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4100 specialChar instead.
4102 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4104 * BufferView.h: doxy change
4106 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4108 * lyxtextclass.C (operator[]): remove non-const version
4109 (defaultLayout): remove non-const version
4111 2002-03-12 Juergen Vigna <jug@sad.it>
4113 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4114 did resize the LyXText too.
4116 * buffer.C (readLyXformat2): set layout information on newly allocated
4119 * tabular.C (OldFormatRead): set layout information on the paragraph.
4121 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4123 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4125 2002-03-11 Juergen Vigna <jug@sad.it>
4127 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4129 (resizeCurrentBuffer): force also the insets to resize themselfes.
4130 (moveCursorUpdate): fixed up for InsetText.
4132 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4135 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4136 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4137 value of Dialogs::tooltipsEnabled().
4138 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4140 2002-03-08 Juergen Vigna <jug@sad.it>
4142 * BufferView_pimpl.C (updateInset): update inset inside inset also
4143 if it isn't inside theLockingInset().
4145 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4147 * buffer.C (asciiParagraph): redo some of the word and line length
4149 (getLists): look for Caption instead of caption.
4151 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4153 * buffer.C (Buffer): initialize niceFile to true
4156 (makeDocBookFile): make sure niceFile is true on exit
4158 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4160 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4162 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4164 * LyXSendto.C: remove.
4165 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4166 * lyx_gui.C: remove now-redundant comment.
4167 * ColorHandler.h: remove forward declaration of class WorkArea.
4168 * lyxfunc.C: remove #include "WorkArea.h".
4170 2002-03-07 Juergen Vigna <jug@sad.it>
4172 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4173 got moved away with the DEPM and also set the inset_owner always
4174 right which before could have been omitted.
4176 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4178 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4179 wanted layout is not found.
4181 2002-03-07 Juergen Vigna <jug@sad.it>
4183 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4185 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4187 * paragraph.C (breakParagraph): use default layout not layout of
4189 (Paragraph): clear ParagraphParameters.
4191 2002-03-06 Juergen Vigna <jug@sad.it>
4193 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4194 otherwise it would not be a valid lenght. Fixed a special case in
4195 the minipage compatibility read where we end the document with a
4198 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4199 was set as it could be 0 for InsetTexts first entry.
4201 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4203 * paragraph.C (writeFile): if layout is empty write out
4204 defaultLayoutName().
4206 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4207 file without named layout we set layout to defaultLayoutName().
4209 2002-03-06 Juergen Vigna <jug@sad.it>
4211 * CutAndPaste.C (copySelection): set layout for new paragraph.
4213 * text.C (prepareToPrint): leave ERT inset left aligned
4214 (leftMargin): don't indent paragraphs inside ERT insets
4216 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4218 * paragraph.C (breakParagraph): dont call clear do the work manually
4220 * paragraph.[Ch] (clear): remove function
4222 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4224 * paragraph.C (Paragraph): dont call clear, the work has already
4227 * lyxtextclass.C (operator): assert if n is empty
4229 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4230 work manually instead.
4232 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4234 * BufferView_pimpl.C: protect selectionLost against text == 0
4236 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4238 * text.C (breakParagraph): fix a setting layout to '0' problem.
4240 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4242 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4243 final location of file, for the included files, and graphics.
4245 2002-03-05 Juergen Vigna <jug@sad.it>
4247 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4249 2002-03-04 Juergen Vigna <jug@sad.it>
4251 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4253 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4254 last column of multicolumn cells.
4255 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4257 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4259 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4260 file if it doesn't go to a temporary file.
4262 * buffer.C (sgmlOpenTag):
4263 (sgmlCloseTag): remove extra newline insertion.
4265 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4267 * text.C (getRowNearY): comment out debug msg
4269 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4271 * text2.C: first -> first_y
4273 * text.C (getRowNearY): add some attemts at a possible
4274 optimization, not working.
4276 * tabular.[Ch]: add BufferParams to several function so that newly
4277 created paragraph can be initialized to he default layotu for the
4280 * tabular-old.C (ReadOld): add buf->params to call of Init
4282 * screen.C: rename text->first to text->first_y
4284 * paragraph.C (breakParagraph): always set layout in the broken
4287 * lyxtextclass.C (Read): remove lowercase
4290 (delete_layout): ditto
4292 * lyxtext.h: rename first -> first_y
4294 * lyxlayout.C (Read): remove lowercase
4297 (obsoleted_by): ditto
4299 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4301 * buffer.C (insertErtContents): add params are to InsetERT
4302 (parseSingleLyXformat2Token): add code to check if a paragraphs
4303 layout really exist.
4304 (parseSingleLyXformat2Token): add params to several inset
4306 (asciiParagraph): remove lowercase, do the layout comparisons with
4309 * BufferView_pimpl.C (cursorNext): first -> first_y
4310 (resizeCurrentBuffer): first -> first_y
4311 (updateScrollbar): first -> first_y
4312 (scrollCB): first -> first_y
4313 (workAreaMotionNotify): first -> first_y
4314 (workAreaButtonPress): first -> first_y
4315 (checkInsetHit): first -> first_y
4316 (cursorPrevious): first -> first_y
4317 (cursorNext): first -> first_y
4318 (Dispatch): add buffer_->params to severl inset contructors
4320 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4322 * lyxlayout.C (Read): remove some debug info that I forgot.
4324 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4325 clean up the code slightly.
4326 (makeLinuxDocFile): ditto
4327 (makeDocBookFile): ditto
4329 * text2.C: layout as string
4331 * text.C: layout as string
4333 * paragraph_pimpl.C: layout as string
4335 * paragraph.[Ch]: layout as string
4337 * lyxtextclasslist.[Ch]: layout as string
4339 * lyxtextclass.[Ch]: layout as string
4341 * lyxtext.h: layout as string
4343 * lyxlayout.[Ch]: layout as string
4345 * lyx_cb.C: layout as string
4347 * bufferview_funcs.C: layout as string
4349 * bufferparams.C: layout as string
4351 * buffer.C: layout as string
4353 * LyXView.[Ch]: layout as string
4355 * LaTeXFeatures.[Ch]: layout as string
4357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4359 * BufferView_pimpl.C: change current_layout to string, remove
4364 (workAreaButtonRelease): layout as string
4366 * BufferView2.C (unlockInset): adjust
4368 * vspace.C (asLatexCommand): use an explict temp variable.
4370 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4372 * Makefile.am: use FRONTEND_*
4374 2002-03-01 Juergen Vigna <jug@sad.it>
4376 * tabular.C (SetWidthOfMulticolCell): changed to something better
4377 I hope but still work in progress.
4378 (recalculateMulticolumnsOfColumn): renamed function from
4379 recalculateMulticolCells as it is more appropriate now.
4380 (SetWidthOfCell): calculate multicols better.
4382 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4384 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4386 * lyxfunc.C (processKeySym): print sequence also if it is
4387 `deleted' (complete)
4389 * kbsequence.C (print): print sequence even if it is deleted
4390 (complete would be a better word, actually).
4392 * lyxfunc.C (dispatch): print complete options after a prefix key
4394 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4396 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4398 * text2.C (setCharFont): eliminate setCharFont code duplication.
4400 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4402 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4403 LFUN_TABULAR_FEATURE (bug #177)
4405 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4407 * Makefile.am: remove figure.h
4409 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4411 * Bufferview_pimpl.C:
4423 * text2.C: remove #include "lyx_gui_misc.h".
4425 * LaTeX.C: added #include <cstdio>
4427 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4429 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4430 that the paragraph following this one can have.
4432 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4434 * vspace.C (asLatexCommand): fix bogus gcc warning
4436 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4438 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4440 * text2.C (setLayout): get rid of redundant code
4442 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4444 * text2.C (incDepth): make sure depth cannot be increased beyond
4447 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4449 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4450 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4452 * PainterBase.h (image):
4453 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4460 * BufferView_pimpl.C:
4461 * BufferView_pimpl.h:
4481 * sp_spell.C: remove fig inset, and the crap house of
4482 cards that follows it
4484 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4490 * nt_defines.h: move .h into support/
4492 * vms_defines.h: remove
4494 * WorkArea.C: add space in debug output
4498 * buffer.C: add WITH_WARNINGS
4502 * bufferlist.C: s/retrive/retrieve/, add docs
4513 * lyxgui.C: add ID to X error handler
4515 * lyxtestclass.c: fix typo
4517 2002-02-26 Juergen Vigna <jug@sad.it>
4519 * tabular_funcs.C (write_attribute): changed so that some default
4520 attributes are not written at all.
4521 (getTokenValue): set default values before trying to read the
4522 value so we have the return value always set as default if we don't
4523 find the token we search for.
4525 * tabular.C (Write): write bools as bools not as strings!
4527 2002-02-22 Juergen Vigna <jug@sad.it>
4529 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4530 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4532 * text.C (leftMargin): don't add an indent for paragraphs inside
4533 tabular cells (fix #208).
4535 2002-02-21 José Matos <jamatos@fep.up.pt>
4537 * tabular.C (docBook): fixed support for long tables.
4539 2002-02-20 Juergen Vigna <jug@sad.it>
4541 * text2.C (getFont): get the drawing font of the Inset if this
4542 paragraph is inside an inset (only important for InsetERT for now).
4544 * buffer.C (insertErtContents): use new lanugage params in ERT
4547 * CutAndPaste.C: commenting out seemingly uneeded code.
4549 2002-02-19 Allan Rae <rae@lyx.org>
4551 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4552 Iterators might be simple to use but they also get invalidated.
4553 (removeAutoInsets): renamed saved cursor tracking variables and added
4554 some comments to clarify what everything does.
4556 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4563 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4564 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4567 * vc-backend.h: remove #include "support/syscall.h"
4571 * converter.C: rearrange #includes in Lars' approved fashion.
4573 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4574 forward declare class Timeout in the header file.
4576 * XFormsView.C: changes due to the above.
4578 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4581 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4582 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4584 2002-02-18 José Matos <jamatos@fep.up.pt>
4586 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4589 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4591 * a lot of small ws changes
4592 * add a lot of using std::XXX
4593 * use std construcs some places where approp.
4594 * use some exisint stuff from lyxfunctional where approp.
4595 * Make file changes to use partial linking (lets test this now...)
4597 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4601 remove #include "support/syscontr.h" as it's redundant. Always has been.
4609 change Systemcalls::System to Systemcalls::Wait and
4610 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4611 No change of functionality, just reflects the stripped down Systemcalls
4614 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4616 * debug.[Ch]: add a GRAPHICS type to the enum.
4618 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4620 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4622 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4625 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4627 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4628 match the changes below.
4630 * text2.C (toggleInset): if there is not editable inset at cursor
4631 position, try to see if cursor is _inside_ a collapsable inset
4634 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4636 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4637 document menu has a nice checkbox
4639 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4641 * lyxlength.C (asLatexString): change PW to output as percent of
4644 * lengthcommon.C: change '%' to 't%'
4646 * lyxfunc.C (dispatch): a few comments from Martin
4648 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4652 * BufferView_pimpl.h:
4653 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4656 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4658 * vspace.C (inPixels): fix compiler warning
4660 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * lyxfunc.C (getStatus): fix status message for disabled commands.
4664 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4666 * BufferView_pimpl.C: fix crash on close buffer
4667 during selection (#227)
4669 2002-01-27 Herbert Voss <voss@lyx.org>
4671 * buffer.C: link old Figure to new graphic inset
4673 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4675 * FontLoader.C (getFontinfo): Change the latex font names in order
4676 to match the names of type1inst.
4678 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4680 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4682 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4685 (remove_files_with_extension): ditto
4686 (remove_file): ditto
4689 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4690 document is smaller than the work area height. Do not initialize
4691 static variables to 0.
4693 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4695 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4697 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4698 LFUN_LAYOUT_PARAGRAPHS.
4700 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4701 tabular. It is possible to provide a possible cell, which will
4702 typically be the actcell from the corresponding insettabular
4704 * lyxfunc.C (getStatus): small cleanup; disable
4705 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4708 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4710 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4712 * paragraph.C (startTeXParParams):
4713 (endTeXParParams): new methods. The LaTeX code to
4714 start/end paragraph formatting
4715 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4716 empty (fixes bug #200)
4718 * vspace.C (inPixels): adapt to the change below
4719 (inPixels): [later] more cleanups (remove unused variables)
4721 * lyxlength.C (inPixels): change to use a width and a height as
4724 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4727 Replaced with \paperwidth
4729 * DepTable.C (insert): add std:: qualifier
4731 2002-01-18 Allan Rae <rae@lyx.org>
4733 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4736 * text.C (drawInset): Turned out I didn't know enough about how
4737 rebreaking worked. This fixes most of the redraw problems. I see
4738 an occasional cursor trail when a line is broken now and the cursor
4739 placement can seem out by a few pixels also after a rebreak.
4741 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4743 * buffer.C (parseSingleLyXformat2Token): update because minipage
4744 width is now a LyXLength
4746 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4748 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4751 2002-01-17 Juergen Vigna <jug@sad.it>
4753 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4755 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4756 is set correctly and the inset is updated correctly.
4758 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4761 the beginning of the loop.
4763 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4765 * lyxrc.C: improve help for use_scalable_fonts
4767 2002-01-17 Allan Rae <rae@lyx.org>
4769 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4773 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4774 make sure to set their inset_owner to the right value (bug #171)
4776 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4779 * DepTable.C: Implement mtime checking to reduce time spent doing
4782 2002-01-16 Juergen Vigna <jug@sad.it>
4784 * tabular.C (GetAdditionalHeight): one of error fixed.
4786 * lyxrc.C (output): small fix in writing use_pspell.
4788 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4790 * sp_base.h: #include LString.h
4792 2002-01-16 Allan Rae <rae@lyx.org>
4794 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4795 Can someone check this please?
4797 * text.C (drawInset): It was possible that p.row would be removed by
4798 breakAgainOneRow upsetting a few other settings. There may be another
4799 small tweak possible by setting need_break_row = 0 when p.row has been
4800 removed but I don't know enough about the logic here.
4802 2002-01-15 Allan Rae <rae@lyx.org>
4804 * text.C (insertChar): removed conditional truism.
4806 * BufferView2.C (removeAutoInsets): More tweaks.
4807 cur_par_prev could be a stray pointer. Check for trailing empty line
4808 in case last line was cur_par and only had an error inset on it.
4810 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4812 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4815 * vc-backend.C (most methods):
4816 * exporter.C (Export):
4817 * converter.C (convert):
4819 * LyXSendto.C (SendtoApplyCB):
4820 * lyxfunc.C (dispatch):
4824 * lyx_cb.C (AutoSave):
4826 * BufferView_pimpl.C (MenuInsertLyXFile):
4827 * buffer.C (runChktex): use Buffer::filePath().
4829 * buffer.h: rename filename to filename_; rename filepath to
4830 filepath_ and make it private
4831 (filePath): new method
4833 * buffer.C (writeFile): use fileName()
4836 * lyx_main.C (init): fix starting of LyX when the binary is a
4837 link from so,ewhere else.
4839 * minibuffer.C: include <cctype> for isprint
4841 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4843 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4844 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4845 name clash with InsetCollapsable's width function.
4847 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4849 * lastfiles.C: include <iterator>
4851 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4853 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4856 * buffer.C (makeLaTeXFile): ditto.
4857 Also make loop operation more transparent.
4859 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4861 * ToolbarDefaults.C: remove trailing comma closing namespace.
4863 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4865 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4868 * trans.C (Load): comment out unused variable, allowed.
4870 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4872 * minibuffer.[Ch] (append_char): new method to recieve input from the
4873 drop-down completion browser. If a key was pressed, then recieve this
4874 char and append it to the existing string.
4875 (peek_event): modify the positioning data passed to the completion
4876 browser so that it can be placed above the minibuffer rather than below.
4877 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4879 * LyXAction.C (init): alloe error-next for readonly documents.
4881 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4884 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4886 * bufferlist.C (readFile): create the buffer _after_ checking that
4889 * lyxfunc.C (verboseDispatch): fix handling of arguments
4891 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4893 * lyxrc.C: use string::erase() instead of initializing to "".
4896 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4898 * BufferView_pimpl.h:
4899 * BufferView_pimpl.C:
4902 * text2.C: tell X when we have made a selection for copying
4904 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4906 * BufferView_pimpl.C (MenuInsertLyXFile):
4907 * lyxfunc.C (menuNew):
4909 (doImport): add shortcuts to directory buttons
4911 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4914 * lyxfunc.C (setStatusMessage):
4915 (getStatusMessage): new methods
4916 (getStatus):use setStatusMessage instead of setErrorMessage
4917 (dispatch): when function is disabled, set error message here
4918 [instead of in getStatus previously]
4920 * BufferView_pimpl.C (workAreaButtonRelease): update
4921 toolbar/menubar here too.
4923 2002-01-13 Allan Rae <rae@lyx.org>
4925 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4926 Now seems indestructible. Remaining task is to audit all other
4927 code affected by deleteEmptyParagraphMechanism. One small quirk
4928 left is that an empty document with an error in the preamble can
4929 be made to report an error but no error box appears. I don't know
4931 (removeAutoInsets): Improved comments.
4933 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4936 * Thesaurus.C: update for Aiksaurus 0.14
4938 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4940 * text2.C (firstParagraph): removed member function, all uses
4941 replaces with ownerParagraph
4942 (redoParagraphs): here
4944 (toggleAppendix): here
4945 * BufferView2.C (insertErrors): here
4946 (setCursorFromRow): here
4948 2002-01-13 Allan Rae <rae@lyx.org>
4950 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4951 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4952 There is still a way to segfault this although you may have to do this
4953 multiple times: Have an InsetERT with an unknown command in it.
4954 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4955 <down-arrow>, <Enter> again, View->DVI, BANG!
4957 * text2.C (setCursor):
4958 (deleteEmptyParagraphMechanism):
4959 * lyxtext.h (setCursor):
4960 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4961 Making use of the return value may help fix other bugs.
4963 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4965 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4967 * LyXView.C (updateMenubar): call MenuBar::update here
4968 (updateToolbar): but not here
4969 (showState): do not update toolbar/menubar
4971 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4972 should need to care about that.
4974 * lyxfunc.C (verboseDispatch): simplify a bit
4975 (getStatus): have a version which takes a pseudoaction, and
4976 another which requires a (kb_action,string).
4978 * LyXAction.C (retrieveActionArg): make it work also when action
4979 is not a pseudo-action.
4980 (getActionName): simplify a bit
4983 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4985 * lyxfunc.C (verboseDispatch): new families of methods with
4986 several ways to specify a command and a bool to indicate whether
4987 the command name and shortcut should be displayed in minibuffer
4988 (eventually, we could extend that to a finer bitmask like
4989 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4990 (dispatch): the pristine dispatch command which just, well,
4991 dispatchs! Note it still sets its result to minibuffer; I'm not
4994 * lyxfunc.h: remove setHintMessage
4996 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4998 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * BufferView_pimpl.C (specialChar): delete new inset if we have
5001 not been able to insert it.
5003 * kbmap.C: revert to using int instead of kb_action, since all we
5004 are dealing with is pseudo-actions.
5006 * LyXAction.C (searchActionArg): change to return int instead of
5007 kb_action, since the result is a pseudoaction.
5009 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5011 * buffer.C (insertErtContents): Fix (partially) the font bug.
5013 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5015 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5016 as the other one is broken on my machine!
5018 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5021 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5023 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5025 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5026 reflect their actual use. Provide compatibility code for older lyxrc
5029 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5031 change names of popup font variables in line with the changes to lyxrc.C
5033 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5035 * buffer.C (asciiParagraph): avoid outputing a word twice after
5038 * lyxrc.C (getDescription): document that document_path and
5039 template_path can be empty.
5041 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5043 * LaTeXFeatures.C (getMacros):
5044 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5046 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5048 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5050 (getPackages): rename feature "floats" to "float". Use an array to
5051 iterate over 'simple' features (i.e. just a \usepackage). Add
5052 handling of "amsmath" (renamed from "amsstyle").
5054 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5056 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5059 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5061 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5062 FuncStaus::FuncStatus & FuncStaus::some_method().
5064 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5066 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5067 of the func_satus stuff. Edited and massaged in various ways by
5070 * lyxfunc.C (getStatus): use FuncStatus
5072 2002-01-08 Juergen Vigna <jug@sad.it>
5074 * text.C (nextBreakPoint): use function Inset::isChar().
5076 * paragraph.C (TeXOnePar): use function
5077 Inset::forceDefaultParagraphs.
5079 * buffer.C (latexParagraphs): use function
5080 Inset::forceDefaultParagraphs.
5082 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5084 * lyx_gui.C (init): set the style of the menu popups to
5085 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5087 2002-01-07 Juergen Vigna <jug@sad.it>
5089 * text.C (setHeightOfRow): small fix
5090 (prepareToPrint): don't look at alignment if we don't have the place
5093 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5095 * box.C: New file. Move the Box methods and functions out of box.h,
5096 following Lars' suggestion.
5098 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5100 * box.h: #include "support/LOstream.h", needed for inlined function.
5103 * lyxtextclasslist.C: added some using std declarations.
5105 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5107 * box.h: make signed dimensions to allow insets wider than
5108 the screen (bug #162)
5110 * BufferView_pimpl.C: add some insetHit debug
5112 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5114 * vc-backend.C: add FIXME
5116 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5118 * lyxfunc.C (getStatus): enable code for showing math font status
5121 2002-01-07 Juergen Vigna <jug@sad.it>
5123 * text.C (nextBreakPoint): removed debug output not needed anymore.
5125 2002-01-06 Juergen Vigna <jug@sad.it>
5127 * text.C (nextBreakPoint): fixed up this function we had this bug
5128 since ever but now hopefully we break row better.
5129 (insertChar): we have to check if an inset is the next char as it
5130 could now happen that a large inset is causing a break.
5132 2002-01-05 Juergen Vigna <jug@sad.it>
5134 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5135 if it doesn't like to be drawed.
5137 2002-01-04 Juergen Vigna <jug@sad.it>
5139 * BufferView2.C (lockInset): forgot to set a cursor.
5141 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5143 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5148 * form_maths_panel.C:
5149 * form_maths_panel.h:
5150 * form_maths_panel.fd: implemented sub- and super- buttons in math
5153 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5154 (or ^ space) to be used as in TeX (req'd by André).
5156 * lyxfunc.C: Allow ^ and _ again to be used both as
5157 super/subscript (mathed) and as themselves (in text).
5159 2002-01-03 Allan Rae <rae@lyx.org>
5161 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5162 "LyX" or the filename of the current buffer if it has one. This is a
5163 modified form of John Levon's patch.
5165 * XFormsView.C (setWindowTitle): also set icon title.
5167 * LyXView.h (setWindowTitle): signature changed.
5168 * XFormsView.h (setWindowTitle): ditto.
5170 2002-01-02 Juergen Vigna <jug@sad.it>
5172 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5174 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5176 * screen.C (topCursorVisible): introduce a temp var for
5177 text->cursor.row(), handle the case where this row is null. (kindo
5180 * text2.C (setCursor): add a couple of asserts.
5182 * paragraph.h (inset_iterator): add -> operator
5184 * paragraph.[Ch] (autoDeleteInsets): remove member function
5186 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5187 cursor pos correctly and handle inset deletion by itself.
5188 (insertErrors): move iterator declaration out of for expression
5190 * lyxtextclass.C: add <algorithm>
5192 * Makefile.am: added the new files to sources, removed layout.C
5194 * layout.C: removed file
5196 * layout.h: remove LYX_DUMMY_LAYOUT
5198 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5202 * lyxtextclass.[Ch]:
5203 * lyxtextclasslist.[Ch]: new files
5205 * include order changes to a lot of files, also changes because of
5208 2001-12-27 Juergen Vigna <jug@sad.it>
5210 * buffer.C (asciiParagraph): more fixes.
5212 * tabular.C (ascii): make ascii export support export of only the
5213 data separated by a column-delimiter.
5214 (ascii): better support for ascii export.
5216 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5218 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5220 * tabular_funcs.C: use a "using std::getline" instead of the
5221 previous fix from Angus (necessary for cxx + lyxstring)
5223 2001-12-24 Juergen Vigna <jug@sad.it>
5225 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5227 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5228 problems. First check a minipage also if we have some ert-contents
5229 (not only on par->size(), second set the right depth of the paragraph
5230 on the relink to the root-paragraph-list!
5232 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5233 which then did not anymore update the main paragraphs on undo/redo!
5235 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5238 code. Support all font-changing funcs (even those which are not in
5239 menu currently). Support for reporting font settings in
5240 mathed (disabled until Andre provides a function on mathed's side).
5242 * func_status.h (toggle): small helper function to set toggle
5245 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5247 * tabular_funcs.C: getline -> std::getline
5249 2001-12-21 Juergen Vigna <jug@sad.it>
5251 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5252 accessed and could be 0 (I couldn't generate this but it seems
5255 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5257 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5258 * tabular_funcs.h: here and include iosfwd
5260 2001-12-20 Juergen Vigna <jug@sad.it>
5262 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5263 inside inset but undo_par was.
5265 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5267 * Thesaurus.C: always include <config.h> in sources.
5271 * box.h: do not include <config.h> in header files
5273 * text.C (paintLastRow): remove unused variable
5275 * text.C (transformChar):
5277 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5280 * font.C (width): rewrite to use uppercase() instead of
5283 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5285 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5287 * lyxfind.C: clean up of find failure position change
5289 2001-12-20 Juergen Vigna <jug@sad.it>
5291 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5293 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5294 (TeXRow): added to LaTeX a single tabular row.
5295 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5296 (Latex): simplified and finally good LT-h/f support.
5297 (various_functions): just small adaptions for LT-h/f support.
5299 * tabular_funcs.[hC]: added and moved here all not classfunctions
5302 2001-12-19 Juergen Vigna <jug@sad.it>
5304 * tabular.[Ch]: better support for longtabular options (not finished
5307 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5309 * text.C (paintLastRow): use the label font instead of the font of
5310 the last character to compute the size of *_BOX. This makes more
5311 sense and avoids a crash with empty paragraphs.
5312 Use Painter::rectangle to draw EMPTY_BOX.
5314 2001-12-19 Juergen Vigna <jug@sad.it>
5316 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5317 the paragraphs if the replaced paragraph is not the first one!
5318 Tried to delete not used paragraphs but does not work yet so for
5319 now it's inside #ifdef's and by default off!
5321 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * MenuBackend.C: include "lyx_main.h" instead of declaring
5324 lastfiles (actually was declared as LastFiles* instead of a
5327 2001-12-17 Juergen Vigna <jug@sad.it>
5329 * tabular.C (AppendColumn): applied John's fix
5331 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5335 * BufferView_pimpl.h:
5336 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5339 * box.h: new start of class for above
5341 * lyxfunc.C: ignore space-only minibuffer dispatches.
5342 Show the command name when it doesn't exist
5344 * minibuffer.C: don't add empty lines to the history
5346 * minibuffer.C: add a space on dropdown completion
5348 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5350 * text.C: fix line above/below drawing in insets
5352 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5354 * lyxlength.C (LyXLength): Initialize private variables.
5356 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5359 when inserting error insets.
5361 2001-12-13 Juergen Vigna <jug@sad.it>
5363 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5364 actually sometimes the before-paragraph.
5365 (setUndo): don't clear the redostack if we're not actually undoing!
5367 2001-12-06 Juergen Vigna <jug@sad.it>
5369 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5370 and fixed redoing of main paragraph, so we can use it now ;)
5372 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5374 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5376 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5379 2001-12-13 André Pönitz <poenitz@gmx.net>
5382 * undo_func.C: minor cleanup
5384 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5386 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5387 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5388 font in urw-fonts package which is marked as -urw-fontspecific and
5389 does not work (incidentally, changing the encoding in the
5390 fonts.dir of this package to -adobe-fontspecific fixes the
5393 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5394 is a crash when undoing first paragraph (Juergen, please take a
5395 look). THis does not mean the undo fix is wrong, just that it
5398 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5399 the (Paragraph*) version when needed instead of duplicating the
5402 * text.C (workWidth): use Inset::parOwner to find out where the
5403 inset has been inserted. This is a huge performance gain for large
5404 documents with lots of insets. If Inset::parOwner is not set, fall
5405 back on the brute force method
5407 * paragraph_pimpl.C (insertInset):
5408 * paragraph.C (Paragraph):
5409 (cutIntoMinibuffer): set parOwner of insets when
5410 inserting/removing them
5412 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5414 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5420 * mathed/formulabase.C:
5421 * mathed/math_cursor.[Ch]:
5422 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5425 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5427 * lyxlength.[Ch] (operator!=): new function
5429 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5431 * text.C (workWidth): use Inset::parOwner to find out where the
5432 inset has been inserted. This is a huge performance gain for large
5433 documents with lots of insets. If Inset::parOwner is not set, fall
5434 back on the brute force method
5436 * paragraph_pimpl.C (insertInset):
5437 * paragraph.C (Paragraph):
5438 (cutIntoMinibuffer): set parOwner of insets when
5439 inserting/removing them
5441 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5443 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5445 * tabular-old.C (getTokenValue):
5446 * tabular.C (getTokenValue):
5447 (write_attribute): new versions for LyXLength
5448 (everywhere): adjust the use of widths
5450 * tabular.h: change the type of widths from string to LyXLength
5452 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5454 * paragraph.C: fixed missing line number count when exporting
5455 Environments to LaTeX file
5457 * buffer.C: added informational message for checking line numbers.
5459 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5461 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5462 paragraph, do the 'double space' part, but not the 'empty
5465 * text.C (workWidth): small optimization
5466 (getLengthMarkerHeight): use minimal size for negative lengths.
5468 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5470 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5472 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5474 2001-12-11 André Pönitz <poenitz@gmx.net>
5477 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5479 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5481 * text2.C: keep selection on a setFont()
5483 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5485 * lyx_cb.C: another bv->text misuse, from insert label
5487 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5490 * kbsequence.C: re-instate nmodifier mask
5492 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5494 * lyx_main.h: make lyxGUI private.
5496 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5498 * lyxfind.C: place the cursor correctly on failed search
5500 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5502 * text.C (getLengthMarkerHeight): for small heights, the arrows
5503 are not always on top/bottom of the text
5504 (drawLengthMarker): smaller arrows; take the left margin in
5505 account; draw also vfills.
5507 (paintLastRow): remove special code for vfill and standard spaces,
5508 since everything is handled in drawLengthMarker now.
5510 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5512 * buffer.C (insertErtContents): try to handle font and language
5513 interaction a bit better.g
5515 * ColorHandler.C (updateColor): change the hash to cover the whole
5516 LColor enum, ws cleanup
5517 (getGCLinepars): ditto
5518 (getGCLinepars): only lookup in the linecache once.
5520 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5522 * iterators.C (operator++): Make the iterator more robust
5524 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5531 * text.C: better added space drawing
5533 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5536 * BufferView2.C: fix layout combo update on inset unlock
5538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5540 * Makefile.am: don't compile unused files
5542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5546 * LyXAction.C: remove old LFUN_LAYOUTNO
5548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5550 * paragraph_pimpl.h:
5551 * paragraph_pimpl.C: isTextAt() doesn't need font param
5553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5556 * lyxlex.C: little cleanup
5558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5560 * BufferView_pimpl.C: fix insertAscii for insets
5562 2001-12-05 Juergen Vigna <jug@sad.it>
5564 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5565 set the right font on the "multi" paragraph paste!
5567 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5573 * lyxlength.C: remove out-commented code.
5589 * vc-backend.C: change "while(" to "while ("
5591 * lyxlength.[Ch]: add zero function to check if length is zero or
5593 * lyxgluelength.C: use it
5595 2001-12-05 Allan Rae <rae@lyx.org>
5597 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5598 Works for 2.95.3, from what I understand of Garst's reports this should
5599 work for other g++ versions. We're screwed if the abs(int) definition
5600 changed between bugfix releases of gcc.
5602 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5604 * text.C: fix chapter label offset !
5606 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5609 * text.C: fix hfill at end of line, clean up
5611 2001-12-04 Juergen Vigna <jug@sad.it>
5613 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5614 that we force an update of the inset and it's owners if neccessary.
5616 2001-12-03 Juergen Vigna <jug@sad.it>
5618 * text.C (rowLast): simplified code
5620 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5622 * lyxfunc.C: fix show options on timeout
5624 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5626 * screen.C (topCursorVisible): scroll half a page when the cursor
5627 reached top of bottom of screen
5629 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5631 * minibuffer.C: deactivate on loss of focus
5633 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5635 * vspace.[Ch] (operator!=): add operator.
5637 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5639 * BufferView_pimpl.C: refuse to open an inset when
5640 there's a selection.
5642 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5644 * BufferView_pimpl.C: allow to click on RHS of full row insets
5646 2001-11-30 Juergen Vigna <jug@sad.it>
5648 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5649 insets for undo reasons.
5651 2001-11-28 André Pönitz <poenitz@gmx.net>
5653 * vspace.[Ch]: cosmetical changes
5655 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5665 * kbsequence.C: part re-write of old kb code
5668 * WorkArea.C: remove Lgb_bug_find_hack
5670 2001-11-30 José Matos <jamatos@fep.up.pt>
5672 * buffer.C (makeDocBookFile): add a comment to point a hack.
5673 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5674 Fixed a double write of labels.
5676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5679 * LaTeX.h Fixed bug in LaTeX class where it would not
5680 re-run latex if no depfiles were changed, but the .dvi was removed.
5682 2001-11-28 André Pönitz <poenitz@gmx.net>
5684 * all the files from the change on 2001/11/26:
5685 use lyx::layout_type instead of LyXTextClass::size_type
5686 use lyx::textclass_type instead of LyXTextClassList::size_type
5688 2001-11-29 Juergen Vigna <jug@sad.it>
5690 * text.C: added support for paragraph::isFreeSpacing()
5692 * buffer.C: same as above
5694 * paragraph.h: inserted isFreeSpacing() function to enable
5695 FreeSpacing inside InsetERT.
5697 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5698 of the paragraph's in the cut/copy buffer to 0!
5700 * text2.C (removeRow): remove the assert as it can!
5702 * lyxtext.h: added helper function firstRow returning firstrow and
5703 made firstrow private again.
5705 * BufferView2.C (lockInset): don't relock if we're already locked!
5707 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5709 (removeRow): added Assert::(firstrow)
5711 * debug.C: forgot to add INSETTEXT here.
5713 2001-11-28 Juergen Vigna <jug@sad.it>
5715 * sp_spell.C (initialize): changed error text to more general
5716 spellchecker command use (not only ispell!)
5718 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5720 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5722 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5724 * vspace.C: initialise lyxgluelength on failure
5726 2001-11-28 Allan Rae <rae@lyx.org>
5728 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5729 declaration & definition that looks like a function declaration.
5731 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5733 * BufferView2.C (copy):
5734 (copyEnvironment): do not clear the selection when doing a copy.
5736 * text.C (paintFirstRow): compilation fix
5738 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5740 * tabular.C (Latex): correct line count when writing latex.
5742 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5744 * paragraph_pimpl.h:
5745 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5748 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5752 * LColor.C: change vfillline->added_space
5754 * text.C: add markers and text for added space
5756 * vspace.C: fix comment
5758 2001-11-28 André Pönitz <poenitz@gmx.net>
5760 * paragraph.C: whitespace changes
5761 * all the other files from the change on 2001/11/26:
5762 change *::pos_type into lyx::pos_type
5764 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5766 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5767 language of the document when inserting error insets.
5769 2001-11-26 André Pönitz <poenitz@gmx.net>
5771 * BufferView_pimpl.[Ch]:
5779 * paragraph_pimpl.[Ch]:
5782 * text2.C: reduce header dependencies, introduce type for positions
5784 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5786 * <various>: change to use Alert.h
5788 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5790 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5791 when encountering an unknown token.
5792 (readLyXformat2): Show an error message if there were unknown tokens.
5794 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5797 * BufferView_pimpl.C:
5801 * text2.C: use par->isInset()
5803 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5805 * paragraph_pimpl.h:
5806 * paragraph_pimpl.C: cleanup
5808 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5810 * text2.C (removeRow):
5811 * text.C (setHeightOfRow): remove useless (and costly) call to
5814 2001-11-20 Allan Rae <rae@lyx.org>
5816 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5817 Now need Inset*::checkInsertChar() to return true for appropriate
5818 cases so that the characters in the minibuffer will actually be
5821 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5823 * text.C: change the order of the includes.
5824 (workWidth): initialize it at once.
5825 (workWidth): make maxw unsigned
5826 (setHeightOfRow): remove unused variable (inset)
5827 (selectSelectedWord): remove unused variable (inset)
5828 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5830 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5832 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5833 server is not running.
5835 (closeConnection): add debug info when server is disabled.
5837 * ColorHandler.C (getGCForeground): send debug message to GUI
5840 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5842 * kbmap.C (bind): modify because return conventions of
5843 kb_sequence::parse have changed.
5845 * kbsequence.C (parse): only ignore spaces and not any stupid
5846 control character. This avoids tests like s[i] <= ' ', which are
5847 guaranteed to fail with 8bit characters and signed chars.
5848 Change return code to string::npos when there have been no error
5849 (0 was a bad idea when error is at first character)
5851 2001-11-14 José Matos <jamatos@fep.up.pt>
5854 * buffer.C (simpleDocBookOnePar): removed unused argument.
5856 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5858 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5859 insets which are part of a word. Paragraph::isLetter takes care of
5860 that now. Use Paragraph::isInset to identify insets.
5861 (selectSelectedWord): do not test for hyphenation break.
5863 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5864 that protected spaces are considered as spaces.
5866 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5869 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5872 * lyxserver.C: fix it. and small cleanup.
5874 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5876 * BufferView_pimpl.C: use inline helpers
5879 * LaTeXFeatures.C: fix typos
5882 * Spacing.C: move spacing_string into class
5884 * ToolbarDefaults.C: move stuff into namespace anon
5886 * layout.h: update enum
5888 * lyxfunc.C: use better debug
5890 * minibuffer.h: fix typo
5894 * WorkArea.C: add and use Debug::WORKAREA
5898 * text2.C: code re-organisation, inline helpers
5900 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5902 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5903 std::vector.empty().
5905 2001-11-09 Allan Rae <rae@lyx.org>
5907 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5908 '\n's after tables. Tabular and ERT inset work now makes this no
5911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5914 * minibuffer.C: fix crash, improve drop-down completion
5916 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5919 * lyxserver.C: invalidate fd's when doing endPipe()
5921 2001-11-08 José Matos <jamatos@fep.up.pt>
5923 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5924 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5927 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5929 2001-11-07 José Matos <jamatos@fep.up.pt>
5932 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5935 * buffer.C (sgmlOpenTag):
5936 * buffer.C (sgmlCloseTag): removed debug info.
5938 * buffer.h (sgmlOpenTag):
5939 * buffer.h (sgmlCloseTag): made public.
5941 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * buffer.C (saveParamsAsDefaults):
5944 * lyx_cb.C (MenuLayoutSave): remove
5946 * LyXAction.C (init):
5948 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5950 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5952 * buffer.C (setPaperStuff): removed from here...
5954 * bufferparams.C (setPaperStuff): ... and moved there.
5956 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5960 * XFormsView.C: add support for drop-down completion
5962 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5964 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5967 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5969 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5972 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5974 * lyx_main.C: change ref to known bugs
5976 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5978 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5979 to work around older babel problems.
5981 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5983 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5985 2001-10-24 Juergen Vigna <jug@sad.it>
5987 * tabular-old.C (ReadOld): below variable changes reflected.
5989 * tabular.[Ch]: added ltType struct for longtable header/footer
5990 defines and changed all instances where they are used. Added
5991 future support for double top/bottom rows.
5993 2001-10-24 José Matos <jamatos@fep.up.pt>
5995 * buffer.h (docbookHandleCaption):
5996 * buffer.C (docbookHandleCaption): removed unused function.
5997 (makeDocBookFile): moved docbook supported version to v4.1.
5999 2001-10-24 José Matos <jamatos@fep.up.pt>
6002 * tabular.C (docbookRow): new function to export docbook code of a row.
6003 (DocBook): now honors the longtable flags.
6005 2001-10-23 José Matos <jamatos@fep.up.pt>
6008 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6009 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6011 * buffer.C (makeLinuxDocFile):
6012 (makeDocBookFile): reworked the preamble, more clean, and with
6013 support for lyx defined entities. Changed the document declaration
6014 to be more XML friendly.
6016 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6017 if we need to output XML that should be done with a filter.
6019 2001-10-22 Juergen Vigna <jug@sad.it>
6021 * sp_pspell.h (class PSpell): add alive function needed in the
6022 controller to see if the spellchecker could be started.
6024 2001-10-22 Juergen Vigna <jug@sad.it>
6026 * buffer.C (insertStringAsLines): modify the font for inserting
6027 chars in certain conditions by calling checkInsertChar(font).
6029 2001-10-19 Juergen Vigna <jug@sad.it>
6031 * text.C (workWidth): use getRow instead of wrong algorithm.
6032 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6034 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6039 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6041 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6043 * text.C (workWidth): do not search for the exact row when
6044 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6045 optimization for big documents.
6047 2001-10-18 Juergen Vigna <jug@sad.it>
6049 * text.C (workWidth): new function with added Inset * parameter.
6051 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6053 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6055 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6056 change return type of getColumnNearX.
6059 * text.C (changeRegionCase): use uppercase/lowercase instead of
6062 (rightMargin): simplify code by factoring out the uses of
6067 (appendParagraph): use Paragraph::size_type
6069 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6071 * vspace.C (asLatexString): add a missing break
6073 2001-10-15 Herbert Voss <voss@perce.de>
6075 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6077 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6079 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6082 2001-10-10 André Pönitz <poenitz@gmx.net>
6084 * lyxfunc.C: removed greek_kb_flag.
6086 2001-10-10 Herbert Voss <voss@perce.de>
6088 * lyx_main.C: delete global string help_lyxdir.
6090 2001-10-09 Herbert Voss <voss@perce.de>
6092 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6094 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6096 * lyx_main.C: added global string help_lyxdir.
6098 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6100 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6102 * lyxrc.C (set_font_norm_type): support iso8859-4
6104 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6106 * LaTeX.C (deplog): add another regex for MikTeX
6108 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6110 * lyxrc.C (set_font_norm_type): support iso8859-3
6112 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6116 * LaTeXFeatures.C: remove special case of french and index
6118 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6119 before \begin{document}). This solves several incompatibilities.
6121 2001-10-03 Garst Reese <reese@isn.net>
6123 * lyx_cb.C: change CheckTex error msg.
6125 2001-10-03 José Matos <jamatos@fep.up.pt>
6127 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6129 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6131 * .cvsignore: update
6133 * lyx_main.C (commandLineVersionInfo): use new style version info.
6135 * buffer.C (writeFile):
6138 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6140 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6142 * version.h: update to use stuff in version.C
6144 * version.C.in: new file. Contains version information determined
6145 at compile time. This is a merging of version.h and
6148 2001-10-03 Juergen Vigna <jug@sad.it>
6150 * BufferView_pimpl.C (update): don't change "dirty" status in
6153 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6155 * WorkArea.C (c-tor): re-position version string slightly.
6157 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6159 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6160 revert to previous code.
6162 WorkArea.[Ch]: (show, destroySplash): methods removed.
6164 WorkArea.C: rework code so that it's an amalgam of the codes before and
6165 after the splash screen was moved to WorkArea.
6167 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6170 * vspace.C (inPixels):
6173 * buffer.C (insertStringAsLines):
6174 (asciiParagraph): fix types to be large enough
6176 * lyxlex_pimpl.h: change member status from short to int
6178 * layout.h: fix type of endlabeltype
6181 * kbsequence.C (parse): change return type to string::size_type
6183 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6186 * Bullet.C (bulletSize):
6187 (bulletEntry): do not use short ints as parameters
6189 * BufferView2.C (insertLyXFile): change a char to an int.
6191 * WorkArea.C (WorkArea): remove unneeded floats in computation
6193 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6195 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6197 * paragraph.C (asString): Do not ignore newline/hfill chars when
6198 copying to the clipboard.
6200 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6202 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6203 after a multi-line inset.
6205 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6207 * paragraph.C (validate): Set NeedLyXFootnoteCode
6209 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6211 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6212 and decrease-error to decrease.
6214 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6216 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6217 it more readable (should be equivalent)
6219 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6221 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6223 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6225 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6226 of a cursor (row, etc.) after a character has been deleted
6227 (deleteEmptyParagraphMechanism): call the method above on _all_
6228 cursors held by the LyXText when a double space has been
6231 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6233 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6235 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6237 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6238 background. Use greyOut() and the new show() methods to toggle between
6239 the foreground and background. Add code to remove the splash after
6240 its initial showing.
6242 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6243 (create_forms): no longer call Dialogs::showSplash.
6245 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * .cvsignore: add version_info.h
6249 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * version_info.h.in: new file
6253 * Makefile.am: add version_info.h.in
6255 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6256 version_info.h instead of VERSION_INFO
6258 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6260 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6261 The ERT inset now returns string().
6263 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6265 * lyxtext.h, text.C (selectNextWord): renamed as
6266 selectNextWordToSpellcheck.
6268 * text.C (selectNextWordToSpellcheck): Modified to not select
6269 words inside an ERT inset.
6271 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6273 * lyx_cb.C (MenuLayoutSave): change a bit the question
6275 * sp_base.h: include <sys/types.h>
6277 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6279 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6281 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6283 * several files: fix typos in user-visible strings
6285 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6287 * text2.C (pasteSelection): do not set the selection, since it
6288 will be cleared later. Actually, the intent was to fix the way the
6289 selection was set, but I figured rmoving the code was just as good.
6291 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6293 * FontLoader.C (available): Check if font is available without
6296 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6298 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6300 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6302 * lyxrc.[Ch]: added display_graphics variable and associated code.
6304 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6306 * bufferparams.C (hasClassDefaults): new method. Returns true if
6307 the buffer parameters correspond to known class defaults
6309 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6311 * XFormsView.C (show): set minimum size to the main window.
6313 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6315 * text2.C (copySelection):
6317 * lyxfind.C (LyXReplace):
6318 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6319 LyXText::selectionAsString.
6321 * paragraph.C (asString): add "label" argument to the second form
6323 * text2.C (selectionAsString): add "label" argument and pass it to
6324 Paragraph::asString.
6326 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6328 * lyx_main.C (commandLineHelp): remove version information
6330 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6332 * lyx_main.C: add -version commandline option
6334 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * paragraph.h: make the optional constructor arg required instead.
6337 some modifications to other files because of this.
6339 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6341 * lyxserver.C (C_LyXComm_callback): make it static
6343 * lyx_main.C (error_handler): make it static
6345 * lyx_gui.C (LyX_XErrHandler): make it static
6347 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6349 * WorkArea.C: make the extern "C" methods static.
6351 * Makefile.am (lyx_LDADD): simplify
6353 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6355 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6356 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6358 * LyXAction.C (init):
6359 * lyxfunc.C (dispatch): associated code removal.
6361 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6363 * lyxfont.h (isSymbolFont): shut off warning
6365 * text.C (setHeightOfRow):
6366 (getVisibleRow): fix crash with empty paragraphs which have a
6369 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6371 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6374 2001-09-04 José Matos <jamatos@fep.up.pt>
6377 * tabular.C (docbook): rename docBook method to docbook.
6379 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6381 * Makefile.am: add dependencies to main.o.
6383 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6385 * FontLoader.C (available): Return false if !lyxrc.use_gui
6387 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6389 * FontInfo.C (query):
6390 * converter.C (view):
6391 * importer.C (Import):
6392 * exporter.C (Export): Can not -> cannot.
6394 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6396 * BufferView_pimpl.C: allow to create index inset even if
6399 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6401 * buffer.C (getLists): replace boost::tie code with an explicit pair
6402 as boost::tie can break some compilers.
6404 * iterators.h: Added a std:: declaration to the return type of
6407 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6409 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6412 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6414 * iterators.[Ch]: New files. Provide paragraph iterators.
6416 * buffer.C (changeLanguage): Use paragraph iterators.
6417 (isMultiLingual): ditto
6419 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6421 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6423 * FontLoader.C: Support for cmr font.
6425 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6427 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6428 (available): New method.
6430 * FontInfo.C (getFontname): Use scalable fonts even when
6431 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6434 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6436 * converter.C (Formats::view): reverted! Incorrect fix.
6438 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6440 * converter.C (Formats::view): only output the -paper option
6441 if the dvi viewer is xdvi, thereby fixing bug #233429.
6443 2001-08-23 Herbert Voss <voss@perce>
6445 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6447 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6449 * Spacing.h (Spacing): Set space to Default on in the default
6452 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6454 * vc-backend.h (RCS::versionString): add RCS to version
6455 (CVS::versionString): add CVS to version
6457 * vc-backend.C (scanMaster): do not add CVS to version.
6458 (scanMaster): do not add RCS to version
6460 * lyxvc.C (versionString): new method
6462 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6464 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6466 * Spacing.C (set): initialize fval
6468 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6470 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6473 2001-08-16 Juergen Vigna <jug@sad.it>
6475 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6477 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6479 * BufferView_pimpl.C:
6482 * text2.C: setParagraph takes linespacing now
6484 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6486 * LyxAction.C: add internal LFUN_CITATION_INSERT
6488 * LyXView.C: actually apply fix
6490 * bufferlist.C: fix open non-existent file
6492 * lyxfind.C: fix indentation
6494 * lyxfunc.C: remove unneeded assert, fix typo
6496 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6498 * MenuBackend.C: use "Floatname List"
6500 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6502 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6503 when converting LaTeX layout to insetERT.
6504 Generate a non-collapsed float when reading old float
6506 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6508 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6511 2001-08-13 Juergen Vigna <jug@sad.it>
6513 * text.C (fill): return 0 instead of 20 as this seems to be the more
6516 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6518 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6521 2001-08-13 Juergen Vigna <jug@sad.it>
6523 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6525 (SearchBackward): comment out the unlocking of the inset_owner this
6526 should not be needed!
6528 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6530 * Many files: Remove inherit_language, and add latex_language
6532 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6535 2001-08-10 Juergen Vigna <jug@sad.it>
6537 * text.C (prepareToPrint): fixed hfill-width in draw!
6539 * BufferView2.C (selectLastWord): save the selection cursor as this
6540 now is cleared in the function LyXText::clearSelection!
6542 2001-08-08 Juergen Vigna <jug@sad.it>
6544 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6545 BACKSPACE type functions.
6547 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6548 is only cutted from the document but not put in the cut-buffer, where
6549 still the old stuff should be.
6551 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6553 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6555 * tabular.C (SetWidthOfCell): fixed special case where the width
6557 (LeftLine): handle '|' in align_special.
6559 (LeftAlreadyDrawed): ditto
6560 (SetWidthOfCell): ditto
6562 2001-08-07 Juergen Vigna <jug@sad.it>
6564 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6566 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6568 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6569 * lyxlex.[hC]: ditto
6571 2001-08-06 Juergen Vigna <jug@sad.it>
6573 * text.C (getVisibleRow): fix up row clearing a bit.
6575 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * minibuffer.C: make sure the X server sees the changes in the input.
6579 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * paragraph.C (getFont): split into...
6582 (getLabelFont): this
6583 (getLayoutFont): and this
6584 * paragraph_pimpl.C (realizeFont): calling this
6586 * text2.C (getFont): split into...
6587 (getLayoutFont): this
6588 (getLabelFont): and this
6589 (realizeFont): all three calling this
6591 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6594 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6596 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6598 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6600 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6601 layouts from the Quote inset insertion.
6603 2001-08-03 Juergen Vigna <jug@sad.it>
6605 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6607 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6608 only if status not is already CHANGED_IN_DRAW (second level).
6610 * text.C (draw): don't set the need_break_row when inside an
6613 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6615 * buffer.C (parseSingleLyXformat2Token): handle more latex
6618 * bufferview_funcs.[hC]: change function names to
6619 begin with small char, adjust other files.
6621 2001-08-02 André Pönitz <poenitz@gmx.net>
6624 BufferView_pimpl.C: remove broken special code for math-greek
6626 2001-08-02 Juergen Vigna <jug@sad.it>
6628 * BufferView_pimpl.C (update): redone this function so that we
6629 update the text again if there was a CHANGE_IN_DRAW.
6631 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6632 (drawFromTo): added a new internal bool which is used by draw() and
6634 (general): some cursor drawing problems fixed.
6636 2001-08-01 Juergen Vigna <jug@sad.it>
6638 * lyxfind.C (LyXFind): fixed
6639 (SearchForward): ditto
6640 (SearchBackward): ditto
6642 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6643 spurius drawing of the cursor in the main area.
6645 * text2.C (status): small fix which could lead to a segfault!
6646 (clearSelection): remove unneeded BufferView param.
6648 2001-08-01 André Pönitz <poenitz@gmx.net>
6650 * lyxfunc.C: small change due to changed mathed interface
6652 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6654 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6656 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6658 * lyxfunc.c: fail gracefully if file doesn't exist
6663 * BufferView_pimpl.C: IsDirWriteable() proto changed
6665 * LyXView.C: fix updateWindowTitle() to store the last title
6667 2001-07-31 Juergen Vigna <jug@sad.it>
6669 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6670 the font (wrong since using of Paragraph::highestFontInRange).
6672 * paragraph.C (highestFontInRange): added a default_size parameter.
6674 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6675 (setHeightOfRow): reformat
6677 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6679 * converter.[hC] + affected files: move to (inital-char)lowercase
6682 * ParagraphParameters.C (ParagraphParameters): remove commented code
6684 * PainterBase.[Ch]: remove commented code
6686 * LaTeXFeatures.h: add "bool floats" for float.sty
6688 * LaTeXFeatures.C (LaTeXFeatures): init floats
6689 (require): handle float
6690 (getPackages): do it with floats
6692 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6694 * BufferView_pimpl.C (Dispatch): improve handling of
6695 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6697 * commandtags.h: #include lyxfont.h here temporarily to avoid
6700 * bufferlist.h: include LString.h here.
6702 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6704 * text2.C (getStringToIndex): new method.
6706 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6708 * *: Reduced header file dependencies all over.
6710 2001-07-30 Baruch Even <baruch@lyx.org>
6712 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6714 2001-07-29 Baruch Even <baruch@lyx.org>
6716 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6718 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6720 * ParameterStruct.h (endif): add a default constructor to make
6721 sure that all variables is initialized.
6723 * ParagraphParameters.C (ParagraphParameters): adjust
6725 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6728 index; also, check that there is something to index, and that it
6729 does not span over several paragraphs.
6730 (doubleClick): use WHOLE_WORD_STRICT for double click.
6732 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6734 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6737 2001-07-26 Baruch Even <baruch@lyx.org>
6739 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6740 an InsetFig figure, backwards compatible reading of old figure code.
6742 2001-07-27 Juergen Vigna <jug@sad.it>
6744 * text2.C: font.realize function adaption.
6746 * text.C (draw): add a warnings lyxerr text if needed.
6748 * layout.C: font.realize function adaption.
6750 * language.C: add inherit_language and implement it's handlings
6752 * bufferview_funcs.C (StyleReset): remove language parameter from
6753 font creation (should be language_inherit now).
6755 * bufferparams.C (writeFile): handle ignore_language.
6757 * paragraph.C (getFontSettings): the language has to be resolved
6758 otherwise we have problems in LyXFont!
6760 * lyxfont.C (lyxWriteChanges): added document_language parameter
6761 (update): removed unneeded language parameter
6763 * paragraph.C (validate): fixed wrong output of color-package when
6764 using interface colors for certain fonts in certain environments,
6765 which should not seen as that on the final output.
6767 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6769 * BufferView_pimpl.C:
6774 * LyXAction.C: add thesaurus support
6777 * lyxfind.C: add "once" parameter, for thesaurus, to not
6778 move to the next match
6780 2001-07-26 Juergen Vigna <jug@sad.it>
6782 * lyxfont.C (realize): honor ignore_language too!
6785 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6787 * text.C (draw): one place more for ignore_language to not draw
6790 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6792 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6794 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6796 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6797 the minipage conversion problem.
6799 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6801 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6804 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6806 * BufferView.h: don't forward declare WorkArea
6808 * BufferView.C: don't include WorkArea.h
6810 2001-07-25 André Pönitz <poenitz@gmx.net>
6814 * lyxfunc.C: new LFUN 'math-space'
6816 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6818 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6820 * text2.C (toggleInset): call open/close
6822 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * lyxfunc.C (dispatch): add debug for the disabled case
6826 * font.C (buttonText): make similar to rectText
6828 * buffer.C (readInset): comment out parsing of insetlist and
6831 * PainterBase.C (rectText): small correction
6833 * BufferView_pimpl.C: comment out insettheorem and insetlist
6834 * LyXAction.C: ditto
6835 * commandtags.h: ditto
6837 2001-07-24 Juergen Vigna <jug@sad.it>
6839 * text.C (draw): honor the ignore_language.
6841 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6843 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6845 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6848 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6850 * lyxtext.h: remove unused (and unimplemented) methods
6852 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6854 * text.C (getVisibleRow): honor background color
6857 * Painter.h: remove default color argument for fillRectangle
6859 * text.C (backgroundColor): new method
6861 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6863 * text.C (getVisibleRow): adjust
6865 * font.[Ch] (rectText): new method, metrics
6866 (buttonText): new method, metrics
6868 * PainterBase.[hC]: make rectText and buttonText always draw and take
6871 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6873 * ToolbarDefaults.C (read):
6874 * MenuBackend.C (read): allow escaping in all strings
6876 * BufferView_pimpl.C (insertAndEditInset): new method.
6877 (Dispatch): use insertAndEditInset whenever appropriate.
6879 * BufferView_pimpl.C (insertNote): removed
6881 * BufferView_pimpl.C (smartQuote): new method, moved from
6882 BufferView; if an insetquote cannot be inserted, insert a '"'
6885 * BufferView2.C: remove insertCorrectQuote();
6887 * lyxfunc.C (getStatus): Add support for all remaingin
6890 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6892 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6893 command (necessary to pass " as parameter of self-insert.
6895 * text.C (selectWordWhenUnderCursor):
6896 (selectWord): add word_location parameter
6897 (selectWordWhenUnderCursor): same + remove special code for word
6899 (selectNextWord): use kind() to guess type of insetspecialchar,
6902 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6903 (insertErtContents): create ert insets as collapsed.
6904 (readInset): better compatibility code for Info inset.
6906 2001-07-20 Juergen Vigna <jug@sad.it>
6908 * lyxfunc.C (dispatch): use always LyXFind now!
6910 * text2.C (init): add a reinit flag so that the LyXText can be
6911 reinited instead of deleted and reallocated (used in InsetText).
6913 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6919 2001-07-18 Juergen Vigna <jug@sad.it>
6921 * text.C (selectNextWord): handle insets inside inset by calling
6922 always the bv->text functions so that we can go up the_locking_inset!
6924 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6925 in strange locations when inside an inset!
6927 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6928 handling to include insets.
6930 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6932 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6934 * LyXAction.C (init):
6936 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6937 LIGATURE_BREAK, since the name is so stupid.
6939 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6941 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6944 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6946 * sp_form.[Ch]: remove.
6948 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6950 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6953 * src/buffer.C (readInset): ditto.
6955 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6957 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6958 menuSeparator(), endOfSentenceDot(), ldots() and
6959 hyphenationPoint(), which are therefore removed.
6960 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6962 * LyXAction.C (init):
6963 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6965 * paragraph.C (getWord): removed.
6967 * BufferView_pimpl.C (Dispatch): use last word or selection for
6968 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6970 * lyx_main.C (queryUserLyXDir): do not ask before creating
6971 user_dir, except if it has been named explicitely.
6973 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6975 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6976 a document of zero size.
6978 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6980 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6981 approriately in the c-tor and in require().
6982 (getPackages): output the appropriate LaTeX for natbib support.
6984 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6985 variables "use_natbib" and "use_numerical_citations" when reading the
6987 (readInset): read the various natbib cite commands.
6988 (validate): white-space change.
6990 * bufferparams.[Ch]: new variables "bool use_natbib" and
6991 "bool use_numerical_citations".
6992 (writeFile): output them in the LyX file.
6994 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6996 * lyxfunc.C (getStatus): add support for all the inset insertion
6999 * text2.C (insertInset):
7000 * paragraph.C (insetAllowed):
7001 * BufferView_pimpl.C (insertInset): update to take in account the
7002 renaming of insertInsetAllowed
7004 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7006 * text2.C (getInset): new method. returns inset at cursor position.
7008 * BufferView_pimpl.C (Dispatch): changes because of this.
7010 * LyXAction.C (init): rename open-stuff to inset-toggle.
7012 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7014 * text2.C (toggleInset): renamed from openStuff; use
7017 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7019 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7021 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7023 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7025 * buffer.C (readLyXformat2): Add filename to the error dialog
7027 2001-07-18 Juergen Vigna <jug@sad.it>
7029 * tabular.C (GetCellNumber): put an assert here instead of the check!
7031 2001-07-17 Juergen Vigna <jug@sad.it>
7033 * BufferView_pimpl.C (toggleSelection): adapted too.
7035 * text.C (selectNextWord): adapted for use with insets.
7036 (selectSelectedWord): ditto
7038 2001-07-17 Juergen Vigna <jug@sad.it>
7040 * sp_spell.C (PSpell): fix initialitation order.
7042 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7044 * paragraph.C: spacing
7046 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7048 * sp_spell.C: repair language selection for pspell
7050 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * lyxfunc.h: change more methods to begin with lower char.
7054 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7056 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7057 for unknown layouts.
7059 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7061 * buffer.C (readLyXformat2): Generate an error dialog if there are
7064 2001-07-16 Juergen Vigna <jug@sad.it>
7066 * sp_spell.C: always compile ISpell part.
7068 * lyxrc.C: added use_pspell entry and it's handling.
7070 2001-07-13 Juergen Vigna <jug@sad.it>
7072 * sp_spell.C: removed double includes.
7074 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7076 Consistent use of Lsstream.h:
7077 * Lsstream.h: added using std::stringstream for consistencies sake.
7079 * buffer.C: removed using std::stringstream
7081 * lyxfont.C (stateText):
7082 * paragraph.C (asString):
7083 * text.C (selectNextWord, selectSelectedWord):
7084 * text2.C (setCounter):
7085 * vspace.C (asString, asLatexString):
7086 std::ostringstream -> ostringstream.
7088 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7090 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7091 * commandtags.h: add LFUN_HELP_ABOUTLYX
7092 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7094 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7096 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7098 * lyx_gui_misc.C: remove spellchecker
7099 * lyxfunc.C: showSpellchecker
7101 * sp_ispell.h: added
7102 * sp_pspell.h: added
7104 * sp_form.[Ch]: removed
7105 * spellchecker.[Ch]: removed
7107 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7109 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7111 (simpleTeXSpecialChars): Simply print the input character without
7112 any special translation if pass_thru is set.
7114 * layout.h: Added bool pass_thru to layout class for being able to
7115 implement pass through of a paragraph for Literate Programming.
7117 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7118 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7119 * layout.C (Read): add "passthru" to list of layout tags and add
7120 code to set the pass_thru boolean when it is read.
7122 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7124 * trans_decl.h: remove allowed from KmodInfo
7126 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7130 * paragraph_pimpl.C (erase): use boost::prior
7132 * Painter.C (text): use data() instead of c_str() when length is
7134 * WorkArea.C (putClipboard): ditto
7135 * font.h (width): ditto
7137 * BufferView2.C: use it-> instead of (*it). for iterators
7139 * paragraph_pimpl.C: ditto
7140 * paragraph.C: ditto
7141 * minibuffer.C: ditto
7146 * converter.C: ditto
7148 * Variables.C: ditto
7149 * TextCache.C: ditto
7150 * MenuBackend.C: ditto
7151 * LyXAction.C: ditto
7153 * FloatList.C: ditto
7155 * ColorHandler.C (LyXColorHandler): ditto
7157 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7159 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7161 * text2.C (openStuff): reintroduce this method (which had been
7162 nuked in NEW_INSETS frenzy).
7164 * lyxfunc.C (Dispatch): when an action has not been handled, use
7165 its name in the error message, not its number.
7167 * paragraph.C (inInset): change method name to begin with lowercase.
7170 * text2.C: updates because of this.
7172 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7174 * ToolbarDefaults.C (add): add spaces in error message
7176 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7179 (readLyXformat2): rename return_par to first_par, use lyxlex's
7180 pushToken and remove the manual push handling.
7181 (parseSingleLyXformat2Token): add another ert comp. variable:
7182 in_tabular, rename return_par to first_par. handle newlines better
7184 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7186 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7188 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7190 * text2.C (getParFromID): removed
7192 * buffer.C (getParFromID): new method moved form lyxtext.
7193 * BufferView2.C (insertErrors): adjust
7194 (setCursorFromRow): adjust
7195 * BufferView_pimpl.C (restorePosition): adjust
7196 * lyxfunc.C (Dispatch): adjust
7197 * undo_funcs.C (textUndo): adjust
7199 (textHandleUndo): adjust
7200 (textHandleUndo): adjust
7202 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7204 * buffer.C: up' the LYX_FORMAT
7206 * lyxfont.h: turn NO_LATEX on as default
7208 * buffer.C (insertErtContents): new methods of tex style compability.
7209 (parseSingleLyXformat2Token): use it several places.
7210 * tabular.C (OldFormatRead): and here
7212 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7214 * text2.C: remove some commented code.
7217 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7218 * trans.C: changes because of the above.
7220 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7222 * text2.C (setCounter): Fix counters bug with bibliography layout.
7224 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7226 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7227 own member functions
7228 (simpleTeXSpecialChars): ditto
7230 2001-07-06 Juergen Vigna <jug@sad.it>
7232 * a lot of files: changed the access to LyXText::status and the
7233 call of undo-functions.
7235 * undo.[Ch]: added a inset_id to the undo informations.
7237 * undo_funcs.[Ch]: added and moved here all undo functions.
7239 * lyxtext.h: give the status enum a weight, made status_ a private
7240 variable and made accessor functions for it, removed the whole bunch
7241 of undo-functions as they are now in their own file, make some
7242 functions publically available. Added function ownerParagraph with
7245 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7246 made InInset() a const function, added getParFromID() function.
7248 * buffer.[Ch]: added const version for inset_iterator functions,
7249 added getInsetFromID() function.
7251 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7252 changed undo functions for new version.
7254 2001-07-05 Juergen Vigna <jug@sad.it>
7256 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7257 unknow mechanism does not call the proper constructor but only this
7258 one also if I request the other!?
7260 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7262 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7264 * text2.C (LyXText): use initialization lists.
7266 * lyxtext.h (Selection): initialize set_ and mark_
7267 (init): remove method
7269 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7271 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7273 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7275 * screen.[Ch]: change method names to begin with lowercase
7277 * BufferView_pimpl.C (updateScrollbar): simplify further and
7278 hopefully make it a bit faster.
7280 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7282 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7283 calling directly xforms functions.
7285 * Painter.C (Painter):
7286 * lyx_cb.C (MenuWrite):
7287 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7290 * lyx_gui.C: remove bogus guiruntime extern declaration.
7292 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7294 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7296 (redoDrawingOfParagraph): ditto
7297 (redoParagraphs): ditto
7298 (cutSelection): don't create a object for CutAndPaste use the
7299 static method directly
7300 (pasteSelection): ditto
7302 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7305 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7307 * modifications to some other files because of this.
7309 * Makefile.am (lyx_SOURCES): add XFormsView
7311 * XFormsView.[Ch]: new files
7313 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7314 the main window. Move the gui dependent stuff to XFormsView
7316 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7318 * tabular.C (GetCellInset): update cur_cell also in the row/col
7319 version of this function.
7321 * lyxfunc.C: no need to include figure_form.h here.
7327 * lyxvc.C: no need to include forms.h here.
7329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7331 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7333 * lyxfunc.C (Dispatch):
7335 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7336 constructor argument.
7338 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * paragraph.C (Paragraph): dont't clear, and just set layout.
7341 (makeSameLayout): use params's copy contructor.
7343 * ParagraphParameters.[Ch] (makeSame): delete method
7345 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7347 * Variables.[Ch]: fix indentation, rename set to isSet
7349 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7351 * lyxfunc.C (Dispatch): fix typo
7353 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7355 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7358 * bufferlist.C: include assert.h for emergencyWrite().
7360 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7362 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7363 give up at last (bug #425202) !
7365 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7371 * spellchecker.C: strip spellchecker options and bring up
7372 preferences tab instead
7374 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7376 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7377 the istringstream constructor
7379 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7381 * paragraph.C (getLayout): fix return value
7383 * paragraph.h: do not declare getLayout as inline.
7385 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7387 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7389 * lyxcursor.h (operator<): new func
7390 (operator>): new func
7391 (operator>=): new func
7392 (operator<=): new func
7394 * text.C (changeCase): use selection.start and selection.end
7395 (changeRegionCase): require from to be <= to. Require par to be a
7398 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7400 2001-06-27 Juergen Vigna <jug@sad.it>
7402 * text.C (cursorLeftOneWord): changed to return the cursor and added
7403 overlay with BufferView * parameter which calls this one.
7405 (selectWord): use new getWord function.
7406 (changeCase): renamed from changeWordCase as and extended to work
7409 * lyxtext.h: added enum word_location
7411 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7412 changeCase as this operates now also on selections.
7414 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7416 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7418 * many files: send debug output to Debug::INFO instead of
7421 * converter.C (View):
7423 (Move): send debug output to Debug::FILES instead of console.
7425 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7427 * lyxfunc.C (getStatus): use func_status
7429 * func_status.h: new header, describing the results of
7432 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7435 2001-06-25 The LyX Project <jug@sad.it>
7437 * buffer.C (sgmlOpenTag):
7439 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7441 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7443 * text2.C: remove some dead code
7445 * tabular.C (GetCellInset): store the last cell checked (gotten)
7447 * tabular.h: add the helper for the speedup
7449 * lyxtext.h: remove some dead code
7451 2001-06-26 The LyX Project <Asger>
7453 * paragraph.C: Change export to LaTeX of alignment to
7454 \begin{center} and family for better roundtrip work with reLyX.
7456 * Tune the math drawing a bit.
7458 2001-06-25 The LyX Project <Asger>
7460 * LColor.C (LColor): New color for math background. New color
7463 2001-06-25 The LyX Project <jug@sad.it>
7465 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7468 * bufferlist.C (newFile): do not restrict to files ending with
7471 * BufferView_pimpl.C (MenuInsertLyXFile):
7473 2001-06-24 The LyX Project <jug@sad.it>
7475 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7478 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7480 * lyxtext.h: rename most methods to begin with a small char.
7481 Lots of changes because of this.
7483 * paragraph.C (Paragraph): do not call fitToSize
7484 (erase): call Pimpl::erase
7485 (insertChar): call Pimpl::insertChar
7486 (insertInset): call Pipl::insertInset
7487 (breakParagraph): do not call fitToSize
7488 (breakParagraphConservative): do not call fitToSize
7489 (fitToSize): remove method
7491 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7493 2001-06-24 The LyX Project <Asger>
7495 * Fix Qt compilation^2
7497 2001-06-24 The LyX Project <jug@sad.it>
7499 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7500 depthHook(getDepth()-1).
7503 * ParagraphParameters.h:
7504 * ParameterStruct.h: change type of depth to unsigned int ==
7505 depth_type. Many adaptations to other files before of that.
7507 2001-06-24 The LyX Project <Asger>
7509 * Fix Qt compilation.
7511 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * paragraph.h: renamed several methods to begin with small letter.
7514 several changes to many parts of the code because of this.
7516 2001-06-23 The LyX Project <jug@sad.it>
7518 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7519 rewritten to discard all double spaces when KeepEmpty is off
7520 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7521 to only handle newlines but not fiddle with spaces and friends.
7523 * lyxfunc.C (MenuNew): when doing 'new from template', use
7524 template_path as default directory
7526 2001-06-23 The LyX Project <Asger>
7528 * Clean-up of header file includes all over
7529 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7531 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7533 * paragraph.h: renamed from lyxparagraph.h
7535 2001-06-23 Asger <lyx@violet.home.sad.it>
7537 * Buffer.h: Removed Buffer::resize
7538 * BufferList.h: Removed BufferList::resize
7539 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7540 the document lazily when we change the width, or the font settings.
7542 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7544 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7548 * buffer.h: remove out of date comment
7550 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7553 * screen.C: fix "theoretical" GC leak
7555 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7557 * LaTeX.C (scanAuxFile):
7558 (deplog): remove trailing \r when reading stream (useful under
7561 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7563 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7564 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7565 and BufferView::theLockingInset(Inset*), so should use them and not
7566 access bv_->text->the_locking_inset directly.
7568 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7570 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7573 * tex-defs.h: remove old unused file
7575 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7577 * BufferView_pimpl.C: fix typo, remove minibuffer message
7578 when buffer has loaded
7580 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * lyxfunc.C (Dispatch): use stringstream
7583 (MenuNew): use stringstream
7584 (Open): use stringstream
7586 * importer.C (Import): use stringstream
7588 * bufferview_funcs.C (CurrentState): use stringstream
7590 * LaTeX.C (run): use stringstream
7592 * BufferView_pimpl.C (savePosition): use stringstream
7593 (restorePosition): use stringstream
7594 (MenuInsertLyXFile): use stringstream
7596 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7609 * vspace.C: removed // -*- C++ -*- as first line.
7612 * version.h: added // -*- C++ -*- as first line.
7614 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7616 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7618 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7621 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7626 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7628 * gettext.C: include LString.h even when --disable-nls is on.
7630 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7632 * converter.h (Get): changed argument type from int to
7633 FormatList::size_type to avoid unnecessary conversion.
7635 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7638 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7640 * gettext.h: include LString.h even when --disable-nls is on.
7642 2001-06-07 Juergen Vigna <jug@sad.it>
7644 * text.C (BreakAgain): subst spaces with tabs.
7646 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7647 (resizeInsetsLyXText): set force on resizeLyXText.
7649 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7651 * gettext.h (gettext_init):
7652 (locale_init): use a real definition instead of a macro
7654 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7656 * Bufferview_pimpl.C:
7658 * LColor.C: further lcolor tidies
7660 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * BufferView_pimpl.C (updateScrollbar): simplify.
7664 * BufferView2.C: don't include insets/insetinfo.h, change
7665 prototype for insertInset and call the Pimpl version. let
7666 updateInset call Pimpl version.
7668 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7669 gotoInset to BufferView::Pimpl
7671 2001-06-01 Juergen Vigna <jug@sad.it>
7673 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7674 inside a LockingInset (is the update needed at all?).
7676 2001-05-31 Juergen Vigna <jug@sad.it>
7678 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7679 here not the old one otherwise how should we compare it afterwards
7682 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * FontInfo.C: bring C functions into global namespace when
7690 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7692 * LString.h: make sure config.h has been loaded before LString.h.
7694 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7695 (one for each char read by EatLine!).
7697 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7700 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7702 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7703 to the same as the par we break from
7705 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7709 * MenuBackend.C (expand): also create menu entries for wide
7710 versions of the floats.
7712 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7714 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7716 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7717 frontends/Makefile.am
7723 * tabular.C (getTokenValue): add std::
7725 * tabular-old.C (getTokenValue): add std::
7726 (getTokenValue): ditto
7727 (getTokenValue): ditto
7729 * screen.C (ToggleSelection): adjust
7731 * lyxtext.h: put selection cursors inside a Selection struct.
7733 * lyxfunc.C (moveCursorUpdate): adjust
7735 * lyxfont.C (latexWriteStartChanges): add std::
7739 * font.h: delete with(char const *, LyXFont const &)
7741 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7743 * FontInfo.C (getFontname): add std::
7745 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7746 (workAreaButtonPress): adjust
7747 (tripleClick): adjust
7749 (moveCursorUpdate): adjust
7752 * BufferView2.C (gotoInset): adjust
7754 2001-05-30 Juergen Vigna <jug@sad.it>
7756 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7757 to check pspell I add this as default as I now have new pspell
7758 libraries and they seem to use this.
7760 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * text2.C (CutSelection): make the cursor valid before the call to
7765 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7767 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7768 relied on 0 terminated strings and other horrors. Bug found due to
7769 the new assert in lyxstring!
7771 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7774 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7776 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7779 * lyxfunc.C (processKeySym): change method of getting to the
7782 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7783 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7784 * BufferView_pimpl.[Ch]: here as private methods.
7786 2001-05-28 Juergen Vigna <jug@sad.it>
7788 * text.C (SetHeightOfRow): added the update() call again as it is
7789 needed to initialize inset dimensions!
7791 2001-05-16 Juergen Vigna <jug@sad.it>
7793 * text2.C (SetCharFont): Add new function with BufferView * and
7794 bool toggleall parameters for setting insets internal fonts.
7795 (SetFont): Freeze the undo as we may change fonts in Insets and
7796 all this change should be inside only one Undo!
7798 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7799 setting font's in insets as for them we have the SetFont function!
7801 2001-05-15 Juergen Vigna <jug@sad.it>
7803 * text2.C (ClearSelection): to be sure we REALLY don't have any
7806 * tabular.C (TeXCellPreamble): fixed the left border problem for
7809 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7811 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7814 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7816 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7817 LFUN_BREAKPARAGRAPH.
7819 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7820 help test to "internal only", similar for LFUN_INSERT_URL
7822 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7823 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7824 auto_region_delete and deadkeys.
7826 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7829 * LColor.C: remove some dead entries, tidy a little
7831 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7833 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7835 (Dispatch): implement LFUN_ESCAPE
7837 * commandtags.h: add LFUN_ESCAPE
7839 * LyXAction.C (init): add entry for LFUN_ESCAPE
7841 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7842 Remove commented code.
7843 (insertNote): moved here
7844 (open_new_inset): moved here
7846 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7849 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7851 * kbmap.C (findbinding): clean it up and make it work correctly.
7853 * lyx_main.C (init): do not pass argc and argv as parameters
7855 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7857 * buffer.C: fix path for OS/2 & Win32
7861 * lyx_main.C: Added os:: class.
7863 * os2_defines.h: update
7865 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7867 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7868 better by trying again with reduced state.
7870 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * lyxrc.C (read): print error about invalid key sequence only when
7873 debugging (because not all latinX keysyms are known to some X
7876 * kbsequence.C (getiso): add a few std:: qualifiers
7877 (getiso): comment out extra return statement.
7879 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7881 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7883 (Dispatch): enhance the accent inset a bit. (not perfect)
7885 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7887 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7889 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7891 * bufferlist.C (emergencyWrite): fix assert() call
7893 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7895 * text.C (InsertChar): Added trivial patch to only send the "you
7896 can not do multiple spaces this way" message once during a
7899 2001-05-08 Baruch Even <baruch@lyx.org>
7901 * Makefile.am: Changed order of libraries to get LyX to link properly
7902 with the gnome frontend.
7904 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7906 * LaTeXFeatures.h: add a std:: qualifier
7908 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7910 * paragraph.C (String): use stringstream
7912 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7914 * paragraph.C (writeFile): remove footflag arg
7916 * buffer.C (makeLaTeXFile): use stringstream
7917 (latexParagraphs): remove footnot gurba
7919 * LaTeXFeatures.C (getPackages): use stringstream
7920 (getMacros): likewise
7921 (getTClassPreamble): likewise
7922 (getFloatDefinitions): new method
7924 * paragraph.C (writeFile): reindent
7927 * WorkArea.h: revert the xpos + etc changes.
7929 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7931 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7933 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7934 (pasteSelection): likewise
7935 * text2.C (CreateUndo): likewise
7937 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * minibuffer.C (peek_event): temporarily reduce the functionality
7940 of the minibuffer (to allow args on lfuns)
7942 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7943 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7945 * buffer.C (readInset): add compability reading of old float
7946 lists, add reading of new style float list.
7947 (readInset): avoid reevaluation of inscmd.getCmdName()
7948 (getLists): reindent
7950 * MenuBackend.C (MenuItem): implement parsing of
7951 md_floatlistinsert and md_floatinsert.
7952 (expand::LastFiles): move initalizaton of iterators out of loop,
7954 (expand::Documents): introduce typdedef vector<string> Strings,
7956 (expand::ExportFormats): introduce typedef vector<Format const *>
7957 Formats, and use it.
7958 (expand): implement FloatListInsert and FloatInsert.
7960 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7961 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7962 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7964 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7966 (Dispatch::LFUN_FLOAT_LIST): implement
7968 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7970 * LaTeX.C (run): Fix problem with --export code.
7972 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7974 * BufferView.[Ch] (workarea): removed.
7975 (getClipboard) new method; wrapper for workarea()->getClipboard()
7977 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7980 * WorkArea.h (width, height, xpos, ypos): These methods all
7981 returned the dimensions of the work_area sub-area of WorkArea,
7982 resulting in a position error if the WorkArea were resized. Now
7983 return the dimensions of the entire WorkArea.
7985 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7987 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7989 * LaTeX.C (deplog): correct the syntax of regex reg1
7991 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7993 * undo.C: remove !NEW_INSETS cruft
7995 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * text2.C: remove !NEW_INSETS cruft
7999 * text.C: remove !NEW_INSETS cruft
8001 * tabular.C: remove !NEW_INSETS cruft
8003 * spellchecker.C: remove !NEW_INSETS cruft
8005 * lyxtext.h: remove !NEW_INSETS cruft
8007 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8009 * lyxfunc.C: remove !NEW_INSETS cruft
8011 * lyxfind.C: remove !NEW_INSETS cruft
8013 * lyx_cb.C: remove !NEW_INSETS cruft
8015 * figureForm.C: remove !NEW_INSETS cruft
8017 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8019 * buffer.[Ch]: remove !NEW_INSETS cruft
8021 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8023 * CutAndPaste.C: remove !NEW_INSETS cruft
8025 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8027 * BufferView2.C: remove !NEW_INSETS cruft
8029 * BufferView.h: remove !NEW_INSETS cruft
8031 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8033 * Lsstream.h: include LString.h before the sstream headers to
8034 fix problem with gcc 2.95.3 and lyxstring
8036 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8038 * lyx_main.C: add using directives when needed for C functions
8039 declared in std:: namespace.
8041 2001-04-27 Juergen Vigna <jug@sad.it>
8043 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8044 (SetHeightOfRow): comment out the update call should not be needed!
8046 2001-04-13 Juergen Vigna <jug@sad.it>
8048 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8049 (LyXTabular): tried to minimize operator= operations (and realized
8050 hopfully Lars wish).
8052 2001-04-27 Juergen Vigna <jug@sad.it>
8054 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8056 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8060 * buffer.C (readInset): hack to make listof algorithm work
8062 * BufferView_pimpl.C: hack to make listof algorithm work
8064 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8066 * LyXAction.C: removed all !NEW_INSETS cruft
8067 (init): moved lfun_item in method
8069 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8071 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8073 * BufferView2.C (theLockingInset): white space.
8075 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8077 * minibuffer.C: include <iostream>
8079 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8081 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8083 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8085 * text.[Ch] (TransposeChars): new method
8087 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8089 * call message directly through LyXView instead of through LyXFunc
8090 * BufferView2.C: adjust
8091 * BufferView_pimpl.C: adjust
8092 * FontLoader.C: adjust
8094 * bufferview_funcs.C: adjust
8095 * converter.C: adjust
8096 * figureForm.C: adjust
8097 * importer.C: adjust
8099 * lyx_gui_misc.C: adjust
8103 + more files in subdirs
8105 * lyxparagraph.h (size): move up int file
8108 * adjust all uses of Assert to lyx::Assert.
8110 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8111 lyxfunctional in namespace lyx
8112 * layout.C (hasLayout): ditto
8115 (delete_layout): ditto
8116 (NumberOfClass): ditto
8117 * converter.C (GetFormat): ditto
8122 * bufferlist.C (getFileNames): ditto
8123 (emergencyWriteAll): ditto
8126 * MenuBackend.C (hasSubmenu): ditto
8129 * BufferView_pimpl.C (getInsetByCode): ditto
8131 2001-04-18 Juergen Vigna <jug@sad.it>
8133 * vspace.C (asLatexString): fixed the 100% problem.
8135 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8137 * lyxfunc.C (Dispatch):
8139 * minibuffer.h: add a few std:: qualifiers
8141 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8143 * minibuffer.[Ch]: reimplement so that commands is initiated and
8144 run from lyxfunc, simplified som handling, and made the completion
8145 and history code for complete. wip.
8147 * lyxfunc.C (processKeySym): call message
8148 (miniDispatch): new temporary method
8149 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8150 (LFUN_MESSAGE): implement
8151 (LFUN_MESSAGE_PUSH): implement
8152 (LFUN_MESSAGE_POP): implement
8153 (initMiniBuffer): the initial/defualt minibuffer message.
8155 * lyxfont.[Ch]: inline some more getters
8157 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8159 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8161 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8162 (AutoSave): use LFUN_MESSAGE
8163 (Reconfigure): ditto
8165 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8167 * figureForm.C: use LFUN_MESSAGE
8169 * converter.C (runLaTeX): use LFUN_MESSAGE
8171 * bufferview_funcs.C: use LFUN_MESSAGE
8173 (changeDepth): ditto
8175 * bufferparams.h: use boost::
8177 * bufferlist.h: inherit privately from noncopyable
8179 * bufferlist.C (loadLyXFile): remove some commented code.
8181 * buffer.C (runChktex): use LFUN_MESSAGE
8183 * ShareContainer.h: inherit privately from noncopyable
8185 * ParagraphParameters.[hC] (depth): inline it.
8187 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8189 (message): new method
8190 (messagePush): ditto
8192 (show): init minibuffer
8193 (showState): direct call
8195 * LaTeX.[Ch]: inherit privately from noncopyable
8196 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8197 instead of WriteStatus.
8199 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8201 * BufferView_pimpl.C (buffer): don't init minibuffer
8202 (workAreaButtonPress): use LFUN_MESSAGE
8203 (workAreaButtonRelease): ditto
8204 (savePosition): ditto
8205 (restorePosition): ditto
8206 (MenuInsertLyXFile): ditto
8207 (workAreaExpose): don't init minibuffer
8208 (update): remove commented code, simplify
8210 * BufferView2.C (openStuff): use LFUN_MESSAGE
8211 (toggleFloat): ditto
8214 (copyEnvironment): ditto
8215 (pasteEnvironment): ditto
8220 (updateInset): remove some commented code
8222 * lastfiles.h: inherit privately from noncopyable
8227 * lyxlex_pimpl.h: ditto
8229 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8230 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8231 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8233 * LyXAction.h: inherit privately from noncopyable, add methods
8234 func_begin, func_end, returning iterators to the func map.
8236 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8237 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8238 (func_begin): new method
8239 (func_end): new method
8241 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8243 (copySelection): ditto
8244 (pasteSelection): ditto
8246 * BufferView.C: whitespace change
8247 * BufferView.h: inherit privately from noncopyable
8249 2001-04-16 Allan Rae <rae@lyx.org>
8251 * tabular-old.C (l_getline):
8252 * spellchecker.C (sc_check_word):
8253 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8254 an unrecognised preprocessor directive. So ensure they're wrapped.
8256 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8258 * src/exporter.C (Export): Give an error message when path to file
8261 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8263 * LaTeX.C (deplog): Always check that foundfile exists.
8265 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8270 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8272 * tabular.[Ch] (getLabelList): implement new method
8274 * minibuffer.h: comment ouf setTiimer
8276 * minibuffer.C (ExecutingCB): constify res
8277 (peek_event): constify s
8278 (Set): constify ntext
8279 (Init): constify nicename
8281 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8283 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8284 (savePosition): use two params to Minibuffer::Set
8285 (restorePosition): ditto
8287 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * lyx_main.C: include language.h
8291 * Makefile.am (lyx_main.o): add language.h
8293 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8299 * CutAndPaste.C: include gettext.h
8301 * lyxfont.h: remove old hack with ON and OFF.
8304 * lyxfont.h: do not include language.h...
8309 * bufferview_funcs.C:
8315 * paragraph.C: ... but do it here instead
8317 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8319 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8321 * tabular.C: small reformat
8323 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8326 (BreakParagraph): ditto
8327 (SetOnlyLayout): ditto
8330 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8333 * lastfiles.C: removed most using decl, add std:: where needed
8335 * buffer.C: ws changes
8337 * MenuBackend.C (class compare_format): put into anon namespace
8338 (expand): constify label, names, action, action2
8341 * text.C (SingleWidth): constify font
8342 (IsBoundary): constify rtl2
8343 (GetVisibleRow): constify ww
8345 * LaTeX.C (deplog): constify logfile
8347 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8349 (workAreaExpose): constify widthChange, heightChange
8351 * lyxrow.C (par): moved
8354 * lyxrow.h: as inlines here
8356 * lyxfont.h (shape): moved from lyxfont.C
8357 (emph): moved from lyxfont.C
8359 * lyxfont.C (LyXFont): use initialization list for all
8361 (shape): move to lyxfont.h as inline
8362 (emph): move to lyxfont.h as inline
8365 2001-04-04 Juergen Vigna <jug@sad.it>
8367 * vspace.C: had to include stdio.h for use of sscanf
8369 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8372 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8373 independent of xforms.
8375 2001-04-02 Juergen Vigna <jug@sad.it>
8377 * spellchecker.C: fixed namespace placing!
8379 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8381 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8382 the LyXParagraph * is 0.
8384 2001-03-29 Juergen Vigna <jug@sad.it>
8386 * vspace.C: added support for %, c%, p%, l%.
8387 (stringFromUnit): added helper function.
8388 (asLatexString): changed to give right results for the %-values.
8390 * buffer.C: convert the widthp in a width%.
8392 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8394 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8397 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8398 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8400 * lyx_cb.[Ch]: see above.
8402 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8406 * lyx.[Ch]: replaced by figure_form.[Ch].
8410 * lyxfunc.C: changed headers associated with above changes.
8412 2001-03-27 Juergen Vigna <jug@sad.it>
8414 * BufferView_pimpl.C: set the temporary cursor right!
8416 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8418 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8420 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8422 * LString.h: removed "using std::getline"!
8424 * BufferView_pimpl.C (Dispatch): changes due to changes in
8425 InsetInclude::Params.
8427 * buffer.C (tag_name): removed redundant break statements as they were
8428 producing lots of warnings with my compiler.
8430 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8432 * LString.h: add "using std::getline" when using the real <string>.
8434 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8436 * buffer.C: removed bitset usage.
8437 PAR_TAG moved to an anonymous name space.
8438 (tag_name): new funtion, also in the anonymous namespace.
8439 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8440 (makeDocBookFile): clean code. Completed transition from string arrays
8442 (SimpleDocBookOnePar): code clean.
8444 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8446 * tabular.C: add some comments.
8448 2001-03-22 Juergen Vigna <jug@sad.it>
8450 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8451 compatibility read a bit and fixed bug with minipage in different
8454 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8456 * buffer.C (pop_tag): removed.
8457 (push_tag): removed.
8458 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8459 array replaced with vector. Added support for CDATA sections.
8460 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8462 (makeDocBookFile): XML conformant declaration of CDATA section,
8463 fixed bug related to <emphasis> in the first paragraph char.
8464 (sgmlOpenTag): exclude empty tags.
8465 (sgmlCloseTag): ditto.
8467 * buffer.h (pop_tag): removed.
8468 (push_tag): removed.
8470 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8472 * language.h (Languages): added size_type and size().
8474 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8476 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8477 response on compability reading of minipages. One probliem is that
8478 the old usage of minipages was «flertydig»
8480 * several files here and in subdirs: don't use static at file
8481 scope use anon namespaces instead.
8483 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8485 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8486 LaTeX output. This is necessary for Literate document
8489 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8491 * buffer.C: insert hfill when needed.
8493 * tabular.C (l_getline): use string::erase, small whitespace change.
8495 * BufferView_pimpl.C: try the anon namespace.
8498 2001-03-16 Juergen Vigna <jug@sad.it>
8500 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8501 otherwise it won't open options-dialogs.
8503 * buffer.C: honor pextraWidth(p) on converting minipages.
8505 * tabular.C (l_getline): changed the functions to strip trailing \r.
8507 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8509 * BufferView_pimpl.C:
8510 * minibuffer..C: added "using SigC::slot" declaration.
8512 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8514 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8520 * paragraph.C: ditto
8522 * lyxtext.h: NO_PEXTRA
8524 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8526 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8527 * ParameterStruct.h: ditto
8528 * ParagraphParameters.h: ditto
8529 * lyxparagraph.h: ditto
8531 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8533 * buffer.C: add compability for minipage alignment.
8534 (latexParagraphs): remove unwanted pextra check.
8536 * several files: remove CXX_WORKING_NAMESPACES
8538 * buffer.C (pop_tag): tie is in namespace boost
8540 * BufferView.h: noncopyable is in namespace boost
8545 * lastfiles.h: ditto
8546 * bufferlist.h: ditto
8547 * ShareContainer.h: ditto
8549 * LyXAction.h: ditto
8552 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8554 * Merging changes from BRANCH_MVC back into HEAD.
8556 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8558 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8560 * BufferView_pimpl.C: change from intl.C
8564 * Makefile.am: move combox.*
8570 * intl.C: remove dialog (covered by prefs)
8572 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8574 * lyxfunc.C (Dispatch): removed redundant break statement.
8576 2001-03-14 Juergen Vigna <jug@sad.it>
8578 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8580 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8582 * buffer.C: add hack to fix compability reading of minipages.
8584 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8586 * buffer.C (getLists): Cleanup.
8588 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8590 * lyxfont.C (update): don't honor toggleall on font size.
8592 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8596 * Makefile.am: moved to frontends/xforms/
8600 * BufferView_pimpl.C: changes for moved mathpanel
8602 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8604 * gettext.h: fix gettext_init() in --disable-nls
8606 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8608 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8610 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8613 * lyx.h: strip external form
8615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8617 * BufferView_pimpl.C: add comment, destroySplash()
8619 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8621 * BufferView_pimpl.C:
8625 * lyxfunc.C: use re-worked insetinclude
8627 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8629 * buffer.C: add using std::stringstream.
8631 * lyx_cb.C: readd using std::ios.
8633 * buffer.C: add using std::map.
8635 * BufferView_pimpl.C: add using std::vector.
8637 * ShareContainer.h: add std:: to swap.
8639 * buffer.h: add some typedefs
8640 * buffer.C (getLists): use them
8641 (getLists): renamed from getTocList.
8642 add a counter for the different float types and use it in the
8644 (getLists): use the same counter for the NEW_INSETS and the "non"
8647 * lyx_cb.h: remove unused items, includes, using etc.
8649 * ShareContainer.h: remove some commented code, add more comments
8650 and "documentation".
8652 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8654 * buffer.C (getTocList): make the list also when NEW_INSETS is
8657 * buffer.h: remove TocType
8659 * buffer.C (getTocList): change to return a map<string,
8660 vector<TocItem> >, implement for dynamic number of list.
8662 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8663 * text2.C (PasteSelection): adjust
8664 * CutAndPaste.C (pasteSelection): adjust
8666 * FloatList.C (FloatList): update from the new_insets branch.
8667 * Floating.[Ch]: ditto
8668 * LaTeXFeatures.C: ditto
8670 * lyxlex_pimpl.C: ditto
8672 * paragraph.C (Last): remove when NEW_INSETS is defined.
8674 * other file: changes because of the above.
8676 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8678 * lyxparagraph.h: rename next to next_, previous to previous_,
8679 make them private for NEW_INSETS. Rename Next() to next(),
8680 Previous() to previous().
8682 * other files: changes because of the above.
8684 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8687 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8690 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8692 * main.C (main): pass lyx_localedir to gettext_init().
8694 * gettext.h: remove locale_init and gettext_init macros
8696 * gettext.C (locale_init): new function
8697 (gettext_init): new function
8699 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8702 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8704 * Moved credits to frontends:
8705 * credits.[Ch]: removed
8706 * credits_form.[Ch]: removed
8707 * lyx_gui_misc.C: remove credits stuff
8710 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8712 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8714 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8715 unneeded destructor.
8717 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8718 a standalone pointer again.
8720 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8722 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8728 * ToolbarDefaults.C:
8737 * BufferView_pimpl.C: use new file dialog in GUII
8740 * lyx_cb.C: remove LayoutsCB to Toolbar
8742 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8744 * ShareContainer.h (get): add std:: qualifier
8746 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8748 * ShareContainer.h: define a proper ShareContainer::value_type
8749 type (and use typename to please compaq cxx)
8751 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8753 * lyxparagraph.h: move serveral local vars to
8754 ParameterStruct/ParagraphParameters., use ShareContainer in
8755 FontTable., make vars in FontTable private and add getter and
8758 * paragraph.C: changes because of the above.
8760 * lyxfont.h: remove copy constructor and copy assignment. (the
8761 default ones is ok), move number inside FontBits. move inlines to
8764 * lyxfont.C: add number to initializaton of statics, move several
8765 inlines here. constify several local vars. some whitespace
8766 cleanup. Dont hide outerscope variables.
8768 * Spacing.h: add two new constructors to match the set methods.
8770 * ShareContainer.h: new file, will perhaps be moved to support
8772 * ParameterStruct.h: new file
8774 * ParagraphParameters.h: new file
8776 * ParagraphParameters.C: new file
8778 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8779 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8781 * BufferView_pimpl.C: ParagraphParameter changes.
8782 * buffer.C: Likewise.
8783 * bufferview_funcs.C: Likewise.
8785 * text2.C: Likewise.
8787 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8789 * lyxfind.C (LyXReplace): do not redefine default argument in
8791 (IsStringInText): ditto
8792 (SearchForward): ditto
8793 (SearchBackward): ditto
8795 2001-03-06 Juergen Vigna <jug@sad.it>
8797 * lyxfind.C (IsStringInText): put parentes around expressions.
8799 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8801 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8803 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8805 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8807 * stl_string_fwd.h: add comment
8809 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8812 * tabular.C: remove unused DocBook methods
8818 killed DO_USE_DEFAULT_LANGUAGE
8820 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * lyx_gui.C: do not include language.h.
8824 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8825 arguments in function implementation.
8827 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8829 * BufferView_pimpl.C: add <ctime>
8831 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8833 * BufferView_pimpl.C: add using std::find_if
8835 2001-02-27 José Matos <jamatos@fep.up.pt>
8837 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8840 2001-02-11 José Matos <jamatos@fep.up.pt>
8842 * buffer.C (makeDocBookFile): command styles now have a parameter as
8845 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8847 * layout_forms.[Ch]: removed
8848 * lyx_cb.[Ch]: out character
8849 * lyx_gui.C: out character
8850 * lyx_gui_misc.C: out character
8851 * bufferview_funcs.C: : out character,
8852 added toggleall as parameter in ToggleAndShow
8854 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8856 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8858 * text2.C (SetCurrentFont): Disable number property at boundary.
8860 2001-02-26 Juergen Vigna <jug@sad.it>
8862 * lyxfunc.C (getStatus): added a string argument override function so
8863 that this is correctly called from LyXFunc::Dispatch if it contains a
8864 do_not_use_argument which is used!
8865 (Dispatch): added check for "custom" export and call appropriate func.
8867 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8869 * lyxrc.C: Add language_command_local, language_use_babel and
8870 language_global_options.
8872 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8874 * buffer.C (makeLaTeXFile): Use language_use_babel and
8875 language_global_options.
8877 2001-02-23 Juergen Vigna <jug@sad.it>
8879 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8880 which works with LyXText and putted it inside BufferView. Here now we
8881 only call for that part the BufferView::Dispatch() function.
8883 * BufferView.C (Dispatch): added.
8885 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8886 functions which needs to use a LyXText over from LyXFunc.
8887 (MenuInsertLyXFile): added
8888 (getInsetByCode): added
8889 (moveCursorUpdate): added
8890 (static TEXT): added
8892 2001-02-22 Juergen Vigna <jug@sad.it>
8894 * BufferView_pimpl.C (update): call a status update to see if LyXText
8897 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8899 * vc-backend.C (revert): implement for CVS
8900 (getLog): implement for CVS
8902 2001-02-20 Juergen Vigna <jug@sad.it>
8904 * text2.C (ClearSelection): added BufferView param for inset_owner call
8906 * lyxfunc.C (TEXT): added this function and use it instead of
8907 directly owner->view()-text of getLyXText().
8909 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8911 * src/layout_forms.C: out preamble
8912 * src/layout_forms.h: out preamble
8913 * src/lyx_cb.C: out preamble
8914 * src/lyx_cb.h: out preamble
8915 * src/lyx_gui.C: out preamble
8916 * src/lyx_gui_misc.C: out preamble
8917 * src/lyxfunc.C: connect with guii preamble
8919 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8921 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8923 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8925 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8926 whether to run bibtex.
8928 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8930 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8932 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8934 * Makefile.am (lyx_SOURCES): removed bibforms.h
8938 * text.C (GetVisibleRow): make several local vars const
8940 * tabular.C: small cleanup.
8942 * lyxserver.C (callback): use compare instead of strncmp
8944 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8945 inlines to after class or to paragraph.C
8947 * lyxfont.h: remove friend operator!=
8949 * converter.h: move friend bool operator< to non friend and after
8952 * combox.h: small cleanup
8954 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8955 to inlines after class def.
8957 * buffer.C (pop_tag): use string operations instead of strcmp
8959 * bmtable.c: doxygen, small cleanup
8961 * LaTeX.h: remove friend operator==
8963 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8975 * BufferView_pimpl.C:
8976 * BufferView.[Ch]: remove cruft
8978 2001-02-14 Juergen Vigna <jug@sad.it>
8980 * lyxfunc.C: removed #if 0 unused code
8982 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8984 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8986 * text2.C (SetSelection): added a BufferView * parameter
8988 2001-02-13 Juergen Vigna <jug@sad.it>
8990 * lyxfunc.C (Dispatch): fixed protected blank problem.
8991 * BufferView2.C (protectedBlank): added LyxText * parameter.
8993 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8994 (AppendColumn): same as above for column_info.
8996 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8997 (moveCursorUpdate): use a LyXText param for support of InsetText.
8999 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9000 (tripleClick): ditto
9002 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9004 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9006 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9008 * text2.C (SetSelection): set correct update status if inset_owner
9011 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9013 * tabular.C: remove some commented code.
9015 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9017 * BufferView_pimpl.C: call hideSplash()
9019 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9022 * bibforms.h: remove
9025 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9026 add LFUN_CHILD_CREATE
9028 * counters.h: fix tiny typo
9033 * lyx.C: move splash to frontends/xforms/
9035 * lyx_gui_misc.C: move Include and Bibform to frontends
9037 * lyxvc.h: clarify comment
9039 * vspace.C: tiny housekeeping
9041 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9043 * text.C (PrepareToPrint): RTL Fix.
9045 * paragraph.C (GetUChar): New method.
9046 (String): Use GetUChar.
9048 * buffer.C (asciiParagraph): Use GetUChar.
9050 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9052 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9054 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9057 * buffer.C: rename to getLogName(), handle
9058 build log / latex log nicely
9060 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9063 * MenuBackend.h: remove support for reference menuitem type.
9065 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9067 * BufferView_pimpl.C: housekeeping
9068 * BufferView_pimpl.h:
9073 * minibuffer.h: move Timeout GUI-I
9075 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9077 * lyxrc.C (read): Update converters data-structures.
9079 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9081 * LaTeX.h (operator!=): add operator != for Aux_Info
9083 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9085 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9087 * LaTeXLog.C: deleted, useful code moved to Buffer
9090 * buffer.C: new function getLatexLogName()
9096 * lyxfunc.C: use frontends for LaTeX and VC logs
9098 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9100 * LaTeX.h: yet another std:: that Allan forgot.
9102 * Variables.C (set): renamed from isset(), because this clashes
9103 with some HP-UX macros (grr).
9105 2001-02-06 Allan Rae <rae@lyx.org>
9107 * LaTeX.h: Another bug fix. Missing std:: this time.
9109 2001-02-04 Allan Rae <rae@lyx.org>
9111 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9112 floats problem. I've left it commented out because it's not quite
9113 correct. It should also test that the current object is a table or
9114 figure inset. But I haven't gotten around to figuring out how to do
9115 that. I *think* it'll be something like: "table" == inset.type()
9117 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9120 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9122 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9123 all the citation/databases/styles in the auxilary file.
9124 (run): Rerun latex if there was a babel language error.
9126 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9128 * text.C (Backspace): Preserve the font when changing newline char
9130 (BreakParagraph): If the cursor is before a space, delete the space.
9132 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9134 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9136 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9137 new argument (code).
9138 (ChangeCitationsIfUnique): New method.
9140 * paragraph.C (GetPositionOfInset): Handle bibkey.
9142 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9144 * BufferView_pimpl.h: change type of Position::par_pos to
9145 LyXParagraph::size_type.
9147 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9149 * BufferView_pimpl.C (savePosition, restorePosition): Write
9150 messages to minibuffer.
9152 2001-01-28 José Matos <jamatos@fep.up.pt>
9154 * buffer.C (makeDocBookFile): adds support for document language.
9155 A silly restriction on the name of LatexCommand types where removed.
9156 Added support for CDATA sections, allows to chars unescaped, used
9157 among others in code, to avoid escape < and >.
9159 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9161 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9162 saved positions instrad of a stack. Furthermore, a position is
9163 stored using paragraph id/paragraph position.
9165 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9166 Remove LFUN_REF_BACK.
9168 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9170 * converter.C (dvipdfm_options): New method.
9172 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9174 * vspace.C (isValidLength): Fix for empty input string.
9176 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9178 * LyXAction.C (init): change description of LFUN_FIGURE to
9181 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * LaTeX.C: add using directive
9185 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9187 * MenuBackend.C (expand): Fix the sorting of the formats.
9189 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9191 * lyx_main.C: tiny error message fix
9193 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9196 calling fl_initialize(). This fixes the problem with ',' as
9197 decimal separator in text files.
9199 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9201 * trans.C (process): Fix the keymap bug.
9203 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9205 * LaTeX.C (scanAuxFiles): New method. Provides support for
9206 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9207 (scanLogFile) Scan for "run BibTeX" messages.
9209 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9210 OT1 font encoding. Also, load the aecompl package if the ae
9213 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9215 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9217 * texrow.C (increasePos): turn two error messages into debug
9220 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9222 * LaTeX.C (scanAux): Handle the \@input macro.
9223 (runBibTeX): Use scanAux().
9225 * language.C (latex_options_): New field.
9227 * LaTeXFeatures.C (getMacros): Add language macros.
9229 * buffer.C (makeLaTeXFile): Small fix.
9231 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9233 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9235 * text2.C: add a using directive.
9237 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9242 * lyxfunc.C: kill LyXBell.
9244 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9246 * text.C (IsBoundary): Remove the error message
9248 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9250 * lyxrc.C (setDefaults): Correct initialization value for
9253 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9255 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9258 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9261 * src/LyXAction.C: Added reference-next.
9263 * text.C (InsertChar): Use contains instead of strchr.
9265 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9267 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9269 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9270 alignment commands (when needed).
9272 * text.C (InsertChar): Add ':' to number separator chars.