]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
don't rm emergency saves ever
[lyx.git] / src / ChangeLog
index 1202a9e63b7059b0bcf533f8954c4b68f4b7eda9..1ac54b106279220234be167111a685dc94726fa7 100644 (file)
@@ -1,8 +1,459 @@
+2003-05-09  John Levon  <levon@movementarian.org>
+
+       * bufferlist.C: never remove emergency saves
+
+2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am: better lib building
+
+2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * texrow.[Ch]: remove dependency on Paragraph and just store a id
+       instead.
+       * paragraph_pimpl.C (simpleTeXBlanks): adjust
+       (simpleTeXSpecialChars): adjust
+       (simpleTeXSpecialChars): adjust
+       * paragraph.C (simpleTeXOnePar): adjust
+       * buffer.C (makeLaTeXFile): adjust
+
+       * Makefile.am (BOOST_LIBS): allow boost as system lib.
+
+       * text2.C (changeDepth): parlist cleanup
+       (getColumnNearX): ditto
+
+       * rowpainter.C (getLabelFont): parlist cleanup
+
+       * bufferlist.C (newFile): parlist cleanup
+
+       * CutAndPaste.C (eraseSelection): parlist cleanup
+
+       * BufferView_pimpl.C (trackChanges): parlist cleanup
+       (dispatch): ditto
+
+       * BufferView.C (lockInset): parlist cleanup.
+       (ChangeInsets): ditto
+
+2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.h: Update file header.
+
+       * CutAndPaste.C: Update file header.
+       Store the parts cut out of the Document in a limited_stack.
+       (copySelection): adjust
+       (pasteSelection): new function, takes the index in the limited stack.
+       (nrOfParagraphs): adjust
+       (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
+       simplify error inset insertion.
+       (checkPastePossible): adjust
+
+2003-05-06  John Levon  <levon@movementarian.org>
+
+       * text2.C: don't cast wrap inset to float
+
+2003-05-05 André Pönitz <poenitz@gmx.net>
+
+       * iterator.C:
+       * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
+
+       * buffer.[Ch]: new function hasParWithId() to help to get rid of a
+         few naked Paragraph *.
+
+2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * bufferparams.C: Output warning if a document with missing
+       TeX document class is loaded
+       * exporter.C: Disable TeX exports if the document class is missing
+       * lyxtextclass.C:
+       * lyxtextclass.h:
+       * lyxtextclasslist.C: Handle new textclass.lst format; new method
+       isTeXClassAvailable()
+
+2003-05-03  John Levon  <levon@movementarian.org>
+
+       * BufferView.h:
+       * BufferView.C: remove showLockedInsetCursor(), showCursor(),
+       explicit cursor show/hide
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
+       after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
+
+       * lyxfunc.C: hide cursor before dispatching.
+
+       * lyx_cb.C:
+       * lyxfind.C:
+       * text.C:
+       * text3.C: remove explicit cursor hides
+
+2003-05-02 André Pönitz <poenitz@gmx.net>
+
+       * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
+
+       * undo_funcs.C:
+       * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
+         linked lists
+
+       * text2.C: tiny whitespace
+
+2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * undo_funcs.C: almost only ws changes.
+
+       * ParagraphList.C (splice): just return if pl is empty.
+
+2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.C (splice): new function.
+
+       * CutAndPaste.C (pasteSelection): use it
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): remove the last next and
+       previous from this file.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): more clean up, user proper
+       ParagraphList functions for pasteing.
+
+       * ParagraphList.C (insert): new function, three arg insert
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.C (insert): new function, three arg insert
+
+       * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
+       not on paragraphs.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (pasteSelection): remove some unneeded code.
+
+2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (resetOwnerAndChanges): new helper functor
+       (copySelection): clean up a bit.
+       (pasteSelection): use make_pair
+
+       * ParagraphList.C (ParagraphList): implement copy constructor
+       (operator=): implement, base on copy constructor.
+       (assign): new func
+
+       * paragraph.C (erase): return a bool
+
+       * paragraph_pimpl.C (erasePos): remove function, move contents...
+       (erase): ... here. Return a bool.
+       (erase): call erase instead of erasePos.
+
+2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
+
+       * ParagraphList.h: define PitPosPair
+       * CutAndPaste.C (copySelection, pasteSelection): big rework, use
+       ParagraphList, fix a bug on pasting multiple pars
+       * text2.C: change interface to C&P
+
+2003-04-30  André Pönitz  <poenitz@gmx.net>
+
+       * undo_func.C: revert part of yesterday's patch 2
+
+2003-04-30  John Levon  <levon@movementarian.org>
+
+       * LColor.C: s/tabular/table/
+
+2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text3.C (dispatch): do not convert iterator -> pointer
+       * undo_funcs.C (setCursorParUndo): ditto
+       * text_funcs.C (transposeChars): ditto
+
+       * text2.C (setLayout): ws changes only
+
+       * text.C (breakParagraph): do not convert iterator -> pointer
+       (insertChar): ditto
+       (acceptChange): ditto
+       (rejectChange): ditto
+       (changeCase): ditto
+       (Delete): ditto
+       (backspace): ditto
+
+       * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
+       pointer
+
+2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text3.C (gotoInset): YABG (yet another bad getChar)
+
+2003-04-29  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph.h: make operator= private unimplemented as long as
+         it is unusable
+
+       * ParagraphList.C: whitespace
+
+       * paragraph.[Ch]:
+       * paragraph_pimpl.[Ch]:
+       * paragraph_funcs.C:
+       * CutAndPaste.C:
+       * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
+
+       * text2.C:
+         undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
+
+2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
+
+       * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
+       * paragraph.[Ch] (erase):
+       * paragraph_pimpl.[Ch] (erase): change return type and value
+       * text2.C (cutSelection): some rework
+
+2003-04-28  John Levon  <levon@movementarian.org>
+
+       * bufferlist.C: changes for unsaved changes dialog
+
+2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * bufferlist.C (newFile): set language (messages_) for new
+       documents also.
+
+       * buffer.C (readFile): ws changes only.
+
+2003-04-28  André Pönitz  <poenitz@gmx.net>
+
+       * undo_funcs.C:
+       * lyxfunc.C:
+       * buffer.[Ch]:
+       * BufferView_pimpl.C:
+       * BufferView.C: getParFromID related ParagraphList::iterator changes
+
+2003-04-28  André Pönitz  <poenitz@gmx.net>
+
+       * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
+         Changes
+
+2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.C: remove one more localedir class variable.
+
+2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.C (getLocaleDir): singleton generation function
+       (Pimpl): use it.
+       (Messages): add a default constructor.
+
+       * main.C (main): do not setup localedir here, do not call
+       gettext_init.
+
+       * gettext.C (_): use it.
+       (gettext_init): delete funciton
+
+2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * gettext.C (getLyXMessages): new singleton generating function.
+
+       * buffer.C (updateDocLang): adjust
+
+       * Makefile.am (messages.o): add target
+       (main.o): remove target
+
+2003-04-27  John Levon  <levon@movementarian.org>
+
+       * bufferlist.C:
+       * lyx_cb.C:
+       * lyxfunc.C:
+       * lyxvc.C: specify cancel button in Alert::prompt
+
+2003-04-26  John Levon  <levon@movementarian.org>
+
+       * text3.C:
+       * lyxfunc.C:
+       * lfuns.h:
+       * LyXAction.C: add LFUN_INSET_SETTINGS
+
+       * lyxfunc.C: don't enable tabular-feature when there's
+       just any locking inset
+
+2003-04-26  John Levon  <levon@movementarian.org>
+
+       * bufferlist.C: re-add Cancel to buffer close question
+
+       * lyxfunc.C: fix import UI a bit
+
+2003-04-25  John Levon  <levon@movementarian.org>
+
+       * gettext.C: remove the broken asserts for now
+
+2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.C: make case where setlocale cannot comply work better.
+
+       * buffer.C (updateDocLang): new function
+       (changeLanguage): use it
+       (readFile): use it
+
+       * text2.C (setCounter): use B_ a bit.
+
+       * lyxlayout.C (Read): be sure to trim the label strings.
+
+       * messages.C (Messages): fix typo in comment
+
+       * buffer.C (readFile): set message_ after file is loaded.
+       (makeDocBookFile): remove double return
+       (changeLanguage): reset message_ upon language change.
+       (B_): new func, use this to get translated buffer strings.
+
+       * main.C: add myself and Jean Marc as authors.
+
+2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.[hC]: pimplify Messages, and three different pimpls to be
+       used in different circumstances.
+
+       * gettext.[Ch]: change for use with new message code.
+
+2003-04-24 André Pönitz <poenitz@gmx.net>
+
+       * factory.C: support for eqref
+
+2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.[Ch]: add missing char
+
+       * Makefile.am (lyx_SOURCES): add messages.[Ch]
+
+       * messages.[Ch]: New files
+
+2003-04-18  John Levon  <levon@movementarian.org>
+
+       * BufferView.h:
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * lfuns.h:
+       * LyXAction.C:
+       * lyxtext.h:
+       * text2.C: remove layout-copy/paste (bug 778)
+
+2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
+
+2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
+
+       * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
+       if they succeed. Act accordingly.
+
+2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text2.C (setCharFont): adjust
+       (setCounter): adjust
+       (insertStringAsLines): adjust
+
+       * text.C (leftMargin): adjust
+       (setHeightOfRow): adjust
+
+       * rowpainter.C (paintFirst): adjust
+       (paintLast): adjust
+
+       * paragraph_funcs.C (depthHook): ParagraphList::iterators
+       (outerHook): ditto
+       (isFirstInSequence): ditto
+       (getEndLabel): ditto
+       (outerFont): adjust
+
+       * paragraph.C (getParLanguage): comment out some hard stuff.
+
+       * buffer.C (insertStringAsLines): take a ParagraphList as arg
+       (sgmlError): ditto
+       (simpleDocBookOnePar): ditto
+       (makeDocBookFile): use ParagraphList::iterator
+
+       * CutAndPaste.C (pasteSelection): adjust
+
+2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text2.C (getFont): adjust
+       (getLayoutFont): adjust
+       (getLabelFont): adjust
+
+       * paragraph_funcs.C (TeXOnePar): adjust
+
+       * buffer.C (simpleLinuxDocOnePar): adjust
+       (simpleDocBookOnePar): adjust
+
+       * CutAndPaste.C (pasteSelection): adjust
+
+       * BufferView.C (getEncoding): adjust
+
+       * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
+
+2003-04-16  John Levon  <levon@movementarian.org>
+
+       * lyxfind.C: use parlist stuff for search/changes
+
+2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
+
+       * text2.C (deleteEmptyParagraphMechanism): adjust
+
+       * text2.[Ch] (ownerParagraph): delete func (both of them
+
+2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text_funcs.C (transposeChars): use ParagraphList::iterator here.
+
+2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ParagraphList.C: prepare for NO_NEXT
+
+2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text2.C (getFont): adjust
+       (getLayoutFont): adjust
+       (getLabelFont): adjust
+
+       * paragraph.C (getFont): adjust
+       (getLabelFont): adjust
+       (getLayoutFont): adjust
+
+       * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
+
+2003-04-15  John Levon  <levon@movementarian.org>
+
+       From Angus Leeming
+
+       * lyx_main.C: handle Include in .ui files
+
+2003-04-15  John Levon  <levon@movementarian.org>
+
+       * MenuBackend.C: make the doc files length shorter
+
+       * ToolbarBackend.h:
+       * ToolbarBackend.C: handle toolbar placement flags,
+       Minibuffer
+
+2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
+       adjust
+
+       * paragraph_funcs.C (TeXOnePar): adjust
+
+       * paragraph.C (getLabelFont): add outerfont arg, adjust
+       (getLayoutFont): ditto
+       (simpleTeXOnePar): adjust
+
+       * paragraph_pimpl.C (realizeFont): delete func
+
 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
 
-       * text2.C (beforeFullRowInset): added a bad getchar check, removed 
-       row argument, constify cur argument.
+       * text2.C (beforeFullRowInset): added a bad getchar check, removed
+       row argument, constify cur argument.
+
 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * text2.C (getFont): adjust