]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Fix deleting of paragraphs after undo (fix #236).
[lyx.git] / src / ChangeLog
index fbd6196de961e3d613ee11afbaa5035cae1d51ef..c48018e2b8304ff78af565630bbd279528696a0c 100644 (file)
@@ -1,5 +1,300 @@
+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
+
+2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C (breakParagraph): dont call clear do the work manually
+
+       * paragraph.[Ch] (clear): remove function 
+
+2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C (Paragraph): dont call clear, the work has already
+       been done.
+
+       * lyxtextclass.C (operator): assert if n is empty
+
+       * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
+       work manually instead.
+
+2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: protect selectionLost against text == 0
+2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text.C (breakParagraph): fix a setting layout to '0' problem.
+
+2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
+
+       * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
+       final location of file, for the included files, and graphics.
+
+2002-03-05  Juergen Vigna  <jug@sad.it>
+
+       * CutAndPaste.C (pasteSelection): fix the depth level on paste.
+
+2002-03-04  Juergen Vigna  <jug@sad.it>
+
+       * lyx_cb.C (getContentsOfAsciiFile): new helper function.
+
+       * tabular.C (calculate_width_of_column_NMC): fixed to use also the
+       last column of multicolumn cells.
+       (SetWidthOfMulticolCell): recalculate NMC and real columns.
+
+2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
+
+       * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
+       file if it doesn't go to a temporary file.
+
+       * buffer.C (sgmlOpenTag):
+       (sgmlCloseTag):  remove extra newline insertion.
+
+2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text.C (getRowNearY): comment out debug msg
+
+2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C: first -> first_y
+
+       * text.C (getRowNearY): add some attemts at a possible
+       optimization, not working.
+
+       * tabular.[Ch]: add BufferParams to several function so that newly
+       created paragraph can be initialized to he default layotu for the
+       buffers textclass.
+
+       * tabular-old.C (ReadOld): add buf->params to call of Init
+
+       * screen.C: rename text->first to text->first_y
+
+       * paragraph.C (breakParagraph): always set layout in the broken
+       paragraph
+
+       * lyxtextclass.C (Read): remove lowercase
+       (hasLayout): ditto
+       (operator): ditto
+       (delete_layout): ditto
+
+       * lyxtext.h: rename first -> first_y
+
+       * lyxlayout.C (Read): remove lowercase
+       (name): ditto
+       (setName): ditto
+       (obsoleted_by): ditto
+
+       * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
+
+       * buffer.C (insertErtContents): add params are to InsetERT
+       (parseSingleLyXformat2Token): add code to check if a paragraphs
+       layout really exist.
+       (parseSingleLyXformat2Token): add params to several inset
+       constructors
+       (asciiParagraph): remove lowercase, do the layout comparisons with
+       no_case
+
+       * BufferView_pimpl.C (cursorNext): first -> first_y
+       (resizeCurrentBuffer): first -> first_y
+       (updateScrollbar): first -> first_y
+       (scrollCB): first -> first_y
+       (workAreaMotionNotify): first -> first_y
+       (workAreaButtonPress): first -> first_y
+       (checkInsetHit): first -> first_y
+       (cursorPrevious): first -> first_y
+       (cursorNext): first -> first_y
+       (Dispatch): add buffer_->params to severl inset contructors
+
 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
+       * lyxlayout.C (Read): remove some debug info that I forgot.
+
+       * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
+       clean up the code slightly.
+       (makeLinuxDocFile): ditto
+       (makeDocBookFile): ditto
+
        * text2.C: layout as string
 
        * text.C: layout as string