+2003-03-12 John Levon <levon@movementarian.org>
+
+ * buffer.h:
+ * buffer.C: move paragraph read into a separate function,
+ a little renaming to reflect that.
+
+ * bufferparams.h:
+ * bufferparams.C: remove the author_ids map, not necessary now
+
+ * factory.h:
+ * factory.C: moved Buffer::readInset to here
+
+ * paragraph_funcs.h:
+ * paragraph_funcs.C: readParagraph free function moved from
+ buffer.C
+
+ * tabular.C: name change
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * buffer.C:
+ * ParagraphParameters.C: move par params input to
+ a read() method
+
+ * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
+ behave like a normal read from the stream wrt reading
+ a line vs. a \\token
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * paragraph.C:
+ * ParagraphParameters.h:
+ * ParagraphParameters.C: move output code to a
+ ::write() method
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * BufferView.C (insertLyXFile):
+ * buffer.h:
+ * buffer.C:
+ * tabular.C: use a parlist iterator for creating the
+ document.
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * buffer.C: make current_change static local not
+ static file-scope
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * buffer.C: fix insertStringAsLines for change tracking
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * BufferView.C:
+ * tabular.C:
+ * buffer.h:
+ * buffer.C:
+ * bufferparams.h:
+ * bufferparams.C: move author list into params. Rename some
+ functions. Move the header reading into a separate token
+ loop. Move the header token reading into BufferParams.
+
+2003-03-12 John Levon <levon@movementarian.org>
+
+ * changes.C: put debug inside lyxerr.debugging() checks
+
+2003-03-11 André Pönitz <poenitz@gmx.net>
+
+ * factory.C: make it aware of InsetHFill (not active yet)
+
+2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * buffer.C (latexParagraphs): move function from here...
+ * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
+ args.
+
+2003-03-10 Angus Leeming <leeming@lyx.org>
+
+ * LyXAction.C (init): fix bug in poplating array with multiple entries
+ with the same LFUN (spotted by JMarc).
+
+2003-03-10 John Levon <levon@movementarian.org>
+
+ * text.C:
+ * text2.C: move getColumnNearX() near its
+ only call site
+
+2003-03-10 John Levon <levon@movementarian.org>
+
+ * text.C: fix break before a minipage
+
+2003-03-10 John Levon <levon@movementarian.org>
+
+ * text.C: fix the last commit
+
+2003-03-09 John Levon <levon@movementarian.org>
+
+ * lyxtext.h:
+ * text.C:
+ * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
+ bug 365 (don't break before insets unless needed). Don't
+ return a value > last under any circumstances.
+
+2003-03-09 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C (trackChanges, dispatch): call
+ Dialogs::show("changes") rather than Dialogs::showMergeChanges().
+
+2003-03-09 Angus Leeming <leeming@lyx.org>
+
+ * lyxfunc.C (dispatch): call Dialogs::show("about") rather
+ than Dialogs::showAboutlyx().
+
+2003-03-09 Angus Leeming <leeming@lyx.org>
+
+ * factory.C (createInset): call Dialogs::show("tabularcreate") rather
+ than Dialogs::showTabularCreate().
+
+2003-03-09 John Levon <levon@movementarian.org>
+
+ * lyxtext.h:
+ * text.C:
+ * text2.C: 3rd arg to nextBreakPoint was always the same.
+ Use references.
+
+2003-03-08 John Levon <levon@movementarian.org>
+
+ * lyxrow.C:
+ * paragraph.C:
+ * paragraph.h:
+ * rowpainter.C:
+ * text.C:
+ * text2.C: Remove the "main" bit from the "main body"
+ notion.
+
+2003-03-08 John Levon <levon@movementarian.org>
+
+ * text.C (leftMargin): The left margin of an empty
+ manual label paragraph should not include the label width
+ string length.
+
+ * text.C (prepareToPrint): don't attempt to measure hfills
+ for empty manual label paragraphs - the answer should be 0
+
+2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * CutAndPaste.C: remove commented code and reindent.
+
+2003-03-08 John Levon <levon@movementarian.org>
+
+ * lyxfunc.h:
+ * lyxfunc.C: move reloadBuffer()
+
+ * BufferView.h:
+ * BufferView.C: to here
+
+ * lyxvc.C: add comment
+
+ * vc-backend.h:
+ * vc-backend.C: call bv->reload() to avoid
+ getStatus() check on MENURELOAD
+
+2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
+
+ * LaTeX.C (run): Fix a bug where the DVI file was not updated due
+ to an old format .dep file.
+
+2003-03-07 Angus Leeming <leeming@lyx.org>
+
+ * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
+ when the LFUN_MOUSE_RELEASE should have been handled by
+ inset->localDispatch.
+
+2003-03-07 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C (dispatch):
+ * LyXAction.C (init):
+ * ToolbarDefaults.C (init):
+ * commandtags.h:
+ * lyxfunc.C (getStatus):
+ remove LFUN_INSET_GRAPHICS.
+
+ * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
+
+2003-03-07 Angus Leeming <leeming@lyx.org>
+
+ * commandtags.h:
+ * LyXAction.C (init):
+ * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
+
+ * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
+
+ * commandtags.h:
+ * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
+
+ * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
+ localDispatch method LFUN_INSET_DIALOG_UPDATE.
+
+2003-03-07 Angus Leeming <leeming@lyx.org>
+
+ * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
+ remove "ert".
+
+2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * ParagraphList.C (front): new function
+ (back): implement
+
+2003-03-06 Alfredo Braunstein <abraunst@libero.it>
+
+ * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
+ and top_row_offset_. removed var first_y.
+ * text.C (top_y):
+ * text2.C (LyXText, removeRow):
+ * text3.C:
+ * BufferView_pimpl.C:
+ use these methods instead of using first_y
+
+2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * text2.C (pasteSelection): adjust for checkPastePossible
+
+ * CutAndPaste.C: remove Paragraph * buf and replace with
+ ParagraphList paragraphs.
+ (DeleteBuffer): delete
+ (cutSelection): change the tc type to textclass_type
+ (copySelection): change the tc type to textclass_type
+ (copySelection): adjust for ParagraphList
+ (pasteSelection): change the tc type to textclass_type
+ (pasteSelection): adjust for Paragraphlist
+ (nrOfParagraphs): simplify for ParagraphList
+ (checkPastePossible): simplify for ParagraphList
+ (checkPastePossible): remove unused arg
+
+ * ParagraphList.C (insert): handle the case where there are no
+ paragraphs yet.
+
+ * CutAndPaste.h: make CutAndPaste a namespace.
+
+ * text3.C (dispatch): adjust
+
+ * text.C (breakParagraph): add a ParagraphList as arg
+
+ * paragraph_funcs.C (breakParagraph): change to take a
+ BufferParams and a ParagraphList as args.
+ (breakParagraphConservative): ditto
+ (mergeParagraph): ditto
+ (TeXDeeper): add a ParagraphList arg
+ (TeXEnvironment): ditto
+ (TeXOnePar): ditto
+
+ * buffer.C (readLyXformat2): adjust
+ (insertStringAsLines): adjust
+ (latexParagraphs): adjust
+
+ * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
+ (cutSelection): adjust
+ (pasteSelection): adjust
+
+ * BufferView_pimpl.C (insertInset): adjust
+
+2003-03-05 Angus Leeming <leeming@lyx.org>
+
+ * commandtags.h:
+ * LyXAction.C (init):
+ * BufferView_pimpl.C (dispatch):
+ * lyxfunc.C (getStatus):
+ remove LFUN_CHILD_INSERT.
+
+ * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
+
+2003-03-05 Angus Leeming <leeming@lyx.org>
+
+ * commandtags.h:
+ * LyXAction.C (init):
+ * src/factory.C (createInset):
+ * lyxfunc.C (getStatus):
+ * text3.C (dispatch):
+ remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
+
+ * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
+
+2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * ParagraphList.C (insert): handle insert right before end()
+ (erase): fix cases where it can be first or last paragraph.
+
+2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * paragraph_funcs.C (TeXEnvironment): remove all usage of
+ Paragraph::next and Paragraph::previous
+ (TeXOnePar): ditto
+
+ * text.C (breakParagraph): adjust
+
+ * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
+ BufferParams& as arg.
+ (breakParagraph): use ParagraphList::insert
+ (breakParagraphConservative): take a Buffer* instead of a
+ BufferParams& as arg.
+ (breakParagraphConservative): use ParagraphList::insert.
+
+ * buffer.C (insertStringAsLines): un-const it
+ (insertStringAsLines): adjust
+
+ * ParagraphList.C (insert): new function
+
+ * CutAndPaste.C (pasteSelection): adjust
+
+ * text.C (backspace): adjust
+
+ * tabular.C (SetMultiColumn): adjust
+
+ * CutAndPaste.C (cutSelection): adjust
+ (pasteSelection): adjust
+
+ * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
+ Buffer const * as arg
+
+ * ParagraphList.C (erase): new function
+ * paragraph_funcs.C (mergeParagraph): use it
+ (mergeParagraph): make it take a Buffer* instead of a
+ BufferParams* as arg
+
+ * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
+ as arg
+ (breakParagraphConservative): ditto
+
+ * paragraph.h: remove the breakParagraph friend
+
+ * paragraph.C (eraseIntern): new function
+ (setChange): new function
+
+ * paragraph_funcs.C (mergeParagraph): make it take a
+ ParagraphList::iterator instead of a Paragraph *, adjust
+ accordingly.
+
+ * paragraph.h: move an #endif so that the change tracking stuff
+ also works in the NO_NEXT case.
+
+2003-03-04 Angus Leeming <leeming@lyx.org>
+
+ * commandtags.h:
+ * LyXAction.C: new LFUN_INSET_MODIFY.
+
+ * BufferView_pimpl.C (dispatch): if an inset is found to be open
+ on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
+
+2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * several files: ws changes only
+
+ * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
+ (TeXEnvironment): ditto
+ (TeXDeeper): ditto
+
+ * buffer.C (makeLaTeXFile): adjust
+ (latexParagraphs): make it take ParagraphList::iterator as args
+
+2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * buffer.C (latexParagraphs): adjust
+
+ * paragraph.C (TeXOnePar): move function...
+ (optArgInset): move function...
+ (TeXEnvironment): move function...
+ * paragraph_pimpl.C (TeXDeeper): move function...
+ * paragraph_funcs.C: ...here
+
+ * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
+
+2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * buffer.C (readInset): remove compability code for old Figure and
+ InsetInfo insets
+
+2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * buffer.C: ws changes
+ (readInset):
+
+ * BufferView_pimpl.C: ditto
+ * author.C: ditto
+ * buffer.h: ditto
+ * bufferlist.h: ditto
+ * changes.h: ditto
+ * lyxfunc.C: ditto
+
+2003-02-28 Alfredo Braunstein <abraunst@libero.it>
+
+ * converter.[Ch]: split into itself +
+ * graph.[Ch]
+ * format.[Ch]
+ * Makefile.am: += graph.[Ch] + format.[Ch]
+ * MenuBackend.C
+ * buffer.C
+ * exporter.C
+ * importer.C
+ * lyx_main.C
+ * lyxfunc.C
+ * lyxrc.C: added #include "format.h"
+
+2003-02-27 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
+ a label.
+
+ * factory.C (createInset): add "label" to the factory.
+
+ * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
+ string and do no more.
+
+2003-02-27 Angus Leeming <leeming@lyx.org>
+
+ * commandtags.h:
+ * LyXAction.C (init):
+ * factory.C (createInset):
+ * BufferView_pimpl.C (dispatch):
+ collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
+
+ * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
+
+ * lyxfunc.C (dispatch):
+ * text3.C (dispatch): pass name to params2string.
+
+2003-02-26 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
+ blocks together.
+ Rearrange the ~includes. Strip out the unnecessary ones.
+
+ * factory.C (createInset): reformat.
+ create new insets for the various LFUN_XYZ_APPLY lfuns.
+
+2003-02-26 John Levon <levon@movementarian.org>
+
+ * lyxrow.h:
+ * lyxrow.C: add isParStart,isParEnd helpers
+
+ * paragraph.h: make isInserted/DeletedText take refs
+
+ * paragraph_funcs.h:
+ * paragraph_funcs.C: remove #if 0'd code
+
+ * lyxtext.h:
+ * text3.C:
+ * text2.C:
+ * text.C: use lyxrow helpers above.
+ Move draw and paint routines to RowPainter.
+ Make several methods use refs not pointers.
+ Make backgroundColor() const.
+ Add markChangeInDraw(), isInInset().
+ Merge changeRegionCase into changeCase.
+ Make workWidth() shouldn't-happen code into an Assert.
+
+ * rowpainter.h:
+ * rowpainter.C: new class for painting a row.
+
+ * vspace.h:
+ * vspace.C: make inPixels take a ref
+
+2003-02-26 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
+ LFUN_REF_APPLY.
+
+2003-02-25 John Levon <levon@movementarian.org>
+
+ * ispell.C: give the forked command a more accurate name
+
2003-02-22 John Levon <levon@movementarian.org>
* toc.h:
2003-02-21 Angus Leeming <leeming@lyx.org>
* commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
- LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
- Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
- LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
- LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
- LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
+ LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
+ Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
+ LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
+ LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
+ LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
* BufferView_pimpl.C (dispatch):
* LyXAction.C (init):
* factory.C (createInset):
* lyxfunc.C (getStatus, dispatch):
* text3.C (dispatch): retire old LFUNs and bring new ones to life.
-
+
2003-02-21 Angus Leeming <leeming@lyx.org>
* BufferView_pimpl.C (MenuInsertLyXFile):
* lyx_cb.C (WriteAs, getContentsOfAsciiFile):
* lyxfunc.C (menuNew, open, doImport):
- no longer pass a LyXView & to fileDlg.
+ no longer pass a LyXView & to fileDlg.
2003-02-21 Angus Leeming <leeming@lyx.org>
* lyxfunc.C: fix revert to behave sensibly
2003-02-17 André Pönitz <poenitz@gmx.net>
-
+
* LyXAction.C:
* commandtags.h: new LFUN_INSERT_BIBKEY
2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* buffer.C (makeLaTeXFile): move the code that generates the
- preamble...
+ preamble...
* bufferparams.C (writeLaTeX): ... in this new method
* LaTeXFeatures.C (getEncodingSet): make const
- (getLanguages): make const
+ (getLanguages): make const
* MenuBackend.C (binding): returns the binding associated to this
- action
- (add): sets the status of each item by calling getStatus. Adds
- some intelligence.
- (read): add support for OptSubMenu
- (expand): remove extra separator at the end of expanded menu
+ action
+ (add): sets the status of each item by calling getStatus. Adds
+ some intelligence.
+ (read): add support for OptSubMenu
+ (expand): remove extra separator at the end of expanded menu
2003-02-15 John Levon <levon@movementarian.org>
* BufferView_pimpl.C:
* bufferlist.h:
* bufferlist.C: remove pointless BufferStorage bloat. Remove
- inset code that had no actual effect. Remove unneeded status
- code.
+ inset code that had no actual effect. Remove unneeded status
+ code.
2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* buffer.C (makeLaTeXFile): fix counting of number of line feeds
- in preamble
+ in preamble
2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
* text.C (drawLengthMarker): also draw an arrow marker for
- symbolic lengths (medskip...)
+ symbolic lengths (medskip...)
2003-02-14 John Levon <levon@movementarian.org>
2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (LyXText): change order of initilizers to shut off
- warnings
+ warnings
2003-02-14 John Levon <levon@movementarian.org>
* text.h:
* text.C:
* text2.C: move hfillExpansion(), numberOfSeparators(),
- rowLast(), rowLastPrintable(), numberofHfills(),
+ rowLast(), rowLastPrintable(), numberofHfills(),
numberOfLabelHfills() ...
* lyxrow.h:
* paragraph.C (asString): remove two unused variables
- * lyxtextclass.C (readTitleType):
- (Read):
- (LyXTextClass): handle new members titletype_ and titlename_
+ * lyxtextclass.C (readTitleType):
+ (Read):
+ (LyXTextClass): handle new members titletype_ and titlename_
* buffer.C (latexParagraphs): honor LyXTextClass::titletype
* text2.C:
* BufferView.C: change setSelectionOverString() to setSelectionRange()
and pass the size in explicitly
-
+
* BufferView_pimpl.h:
* BufferView_pimpl.C:
* BufferView.h:
2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
- * text.C (getLengthMarkerHeight):
+ * text.C (getLengthMarkerHeight):
(drawLengthMarker): make the `symbolic' lengths (small/med/big)
visible on screen too.