]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Fix deleting of paragraphs after undo (fix #236).
[lyx.git] / src / ChangeLog
index e7431a6f6b10bf5e2b325728fe8817a5a6d9604c..c48018e2b8304ff78af565630bbd279528696a0c 100644 (file)
@@ -1,5 +1,184 @@
+2002-03-14  Juergen Vigna  <jug@sad.it>
+
+       * text2.C (setCursor): just some testcode for #44 not ready yet.
+
+       * undo_funcs.C (textHandleUndo): set the next() and previous()
+       pointers of the paragraph to 0 before deleting otherwise we have
+       problems with the Paragraph::[destructor].
+
+       * text.C (breakParagraph): IMO we should ALWAYS force a real undo
+       on a paragraph insertion.
+
+2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (asciiParagraph): use += operator for char append to
+       string.
+
+       * paragraph.C (getFontSettings): compare >= not just >
+       (highestFontInRange): ditto
+       (setFont): ditto
+
+2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C: change several algorithm to be more appripriate for
+       the problem domain. This is lookip in FontList and in the InsetList.
+
+2002-03-13  André Pönitz <poenitz@gmx.net>
+
+       * commandtags.h:
+       * LyXAction.C: remove unused LFUN_MATH_MACROARG
+
+2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * commandtags.h:
+       * LyXAction.C:
+       * lyxfunc.C:
+       * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
+
+2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * Painter.C (display): anon helper function, adjust code for this
+       change.
+       (pixmap): remove function.
+
+       * Painter.h: remove private display variable.
+       
+       * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
+
+2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * WorkArea.[Ch]: remove figinset_canvas cruft.
+
+2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxtextclass.C (operator): add one item cache optimization.
+
+       * bufferlist.h: doxy changes
+
+       * bufferlist.C: ws changes
+
+       * DepTable.[Ch] (ext_exist): place const in the right spot.
+
+       * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
+       call resizeInsets.
+       (workAreaExpose): call resizeInsets when the with BufferView changes.
+       (Dispatch): adjust for protectedBlank removal
+       (specialChar): call updateInset if the insert went ok.
+
+       * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
+       specialChar instead.
+
+       * BufferView2.C (ChangeInsets): remove warning add FIXME comment
+
+       * BufferView.h: doxy change
+
+       * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
+
+       * lyxtextclass.C (operator[]): remove non-const version
+       (defaultLayout): remove non-const version
+
+2002-03-12  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
+       did resize the LyXText too.
+
+       * buffer.C (readLyXformat2): set layout information on newly allocated
+       paragraphs.
+
+       * tabular.C (OldFormatRead): set layout information on the paragraph.
+
+2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
+
+       * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
+
+2002-03-11  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
+       plainly wrong.
+       (resizeCurrentBuffer): force also the insets to resize themselfes.
+       (moveCursorUpdate): fixed up for InsetText.
+
+2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * commandtags.h:
+       * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
+       * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
+       value of Dialogs::tooltipsEnabled().
+       (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
+
+2002-03-08  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (updateInset): update inset inside inset also
+       if it isn't inside theLockingInset().
+
+2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (asciiParagraph): redo some of the word and line length
+       handling.
+       (getLists): look for Caption instead of caption.
+
+2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (Buffer): initialize niceFile to true
+       (makeLaTeXFile): 
+       (makeLinuxDocFile): 
+       (makeDocBookFile): make sure niceFile is true on exit
+
+2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (makeLaTeXFile): escape ~ in \input@path
+
+2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * LyXSendto.C: remove.
+       * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
+       * lyx_gui.C: remove now-redundant comment.
+       * ColorHandler.h: remove forward declaration of class WorkArea.
+       * lyxfunc.C: remove #include "WorkArea.h".
+
+2002-03-07  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fix problems when the paragraph
+       got moved away with the DEPM and also set the inset_owner always
+       right which before could have been omitted.
+
+2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (parseSingleLyXformat2Token): use default layout is the
+       wanted layout is not found.
+
+2002-03-07  Juergen Vigna  <jug@sad.it>
+
+       * CutAndPaste.C (cutSelection): another layout settings forgotten.
+
+2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C (breakParagraph): use default layout not layout of
+       prev paragraph.
+       (Paragraph): clear ParagraphParameters.
+
 2002-03-06  Juergen Vigna  <jug@sad.it>
 
+       * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
+       otherwise it would not be a valid lenght. Fixed a special case in
+       the minipage compatibility read where we end the document with a
+       minipage.
+
+       * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
+       was set as it could be 0 for InsetTexts first entry.
+
+2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C (writeFile): if layout is empty write out
+       defaultLayoutName().
+
+       * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
+       file without named layout we set layout to defaultLayoutName().
+
+2002-03-06  Juergen Vigna  <jug@sad.it>
+
+       * CutAndPaste.C (copySelection): set layout for new paragraph.
+
        * text.C (prepareToPrint): leave ERT inset left aligned
        (leftMargin): don't indent paragraphs inside ERT insets