]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
More fixes to the autocollapsing of paragraphs.
[lyx.git] / src / ChangeLog
index 586d6cd26b99a748168fba06c01063cc79597459..9a6982a59bdef25b8756a25f0bfbad0ceb7ba4d7 100644 (file)
@@ -1,3 +1,643 @@
+2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * MenuBackend.C: include "lyx_main.h" instead of declaring
+       lastfiles (actually was declared as LastFiles* instead of a
+       scoped_ptr).
+
+2001-12-17  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (AppendColumn): applied John's fix
+
+2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h: 
+       * BufferView.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
+
+       * Makefile.am:
+       * box.h: new start of class for above
+
+       * lyxfunc.C: ignore space-only minibuffer dispatches.
+         Show the command name when it doesn't exist
+
+       * minibuffer.C: don't add empty lines to the history
+
+       * minibuffer.C: add a space on dropdown completion
+2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text.C: fix line above/below drawing in insets
+
+2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxlength.C (LyXLength): Initialize private variables.
+
+2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
+       when inserting error insets.
+
+2001-12-13  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
+       actually sometimes the before-paragraph.
+       (setUndo): don't clear the redostack if we're not actually undoing!
+
+2001-12-06  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): well after John's hint I got here
+       and fixed redoing of main paragraph, so we can use it now ;)
+
+       * text2.C (redoParagraphs): fixed a crash when having only 1 row!
+
+2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
+       Juergen's request
+
+2001-12-13  André Pönitz <poenitz@gmx.net>
+
+       * undostack.[Ch]:
+       * undo_func.C: minor cleanup
+
+2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * FontLoader.C (getFontinfo): only use symbol fonts with encoding
+       -adobe-fontspecific. At least Mandrake and Redhat have a symbol
+       font in urw-fonts package which is marked as -urw-fontspecific and
+       does not work (incidentally, changing the encoding in the
+       fonts.dir of this package to -adobe-fontspecific fixes the
+       problem).
+
+       * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
+       is a crash when undoing first paragraph (Juergen, please take a
+       look). THis does not mean the undo fix is wrong, just that it
+       uncovers problems.
+
+       * text2.C (ownerParagraph): let the (int,Paragraph*) version call
+       the (Paragraph*) version when needed instead of duplicating the
+       code.
+
+       * text.C (workWidth): use Inset::parOwner to find out where the
+       inset has been inserted. This is a huge performance gain for large
+       documents with lots of insets. If Inset::parOwner is not set, fall
+       back on the brute force method
+
+       * paragraph_pimpl.C (insertInset): 
+       * paragraph.C (Paragraph): 
+       (cutIntoMinibuffer): set parOwner of insets when
+       inserting/removing them
+
+       * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
+
+2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * commandtags.h:
+       * LyXAction.C:
+       * lyx_main.C:
+       * lyxfunc.C:
+       * mathed/formulabase.C:
+       * mathed/math_cursor.[Ch]:
+       make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
+
+
+2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxlength.[Ch] (operator!=): new function
+
+2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (workWidth): use Inset::parOwner to find out where the
+       inset has been inserted. This is a huge performance gain for large
+       documents with lots of insets. If Inset::parOwner is not set, fall
+       back on the brute force method
+
+       * paragraph_pimpl.C (insertInset): 
+       * paragraph.C (Paragraph): 
+       (cutIntoMinibuffer): set parOwner of insets when
+       inserting/removing them
+
+       * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
+
+2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * tabular-old.C (getTokenValue): 
+       * tabular.C (getTokenValue): 
+       (write_attribute): new versions for LyXLength
+       (everywhere): adjust the use of widths
+
+       * tabular.h: change the type of widths from string to LyXLength
+
+2001-12-11  Ben Stanley <bds02@uow.edu.au>
+
+       * paragraph.C: fixed missing line number count when exporting
+       Environments to LaTeX file
+
+       * buffer.C: added informational message for checking line numbers.
+
+2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text2.C (deleteEmptyParagraphMechanism): if there is only one
+       paragraph, do the 'double space' part, but not the 'empty
+       paragraph' one.
+
+       * text.C (workWidth): small optimization
+       (getLengthMarkerHeight): use minimal size for negative lengths. 
+
+2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
+
+       * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
+
+2001-12-11  André Pönitz <poenitz@gmx.net>
+
+       * FontLoader.C:
+       * lyxfont.[Ch]: support for fraktur font used by \mathfrak
+
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text2.C: keep selection on a setFont()
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_cb.C: another bv->text misuse, from insert label
+2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * kbsequence.h:
+       * kbsequence.C: re-instate nmodifier mask
+2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * lyx_main.h: make lyxGUI private.
+
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfind.C: place the cursor correctly on failed search
+2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (getLengthMarkerHeight): for small heights, the arrows
+       are not always on top/bottom of the text
+       (drawLengthMarker): smaller arrows; take the left margin in
+       account; draw also vfills.
+       (paintFirstRow): 
+       (paintLastRow): remove special code for vfill and standard spaces,
+       since everything is handled in drawLengthMarker now.
+
+2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (insertErtContents): try to handle font and language
+       interaction a bit better.g
+
+       * ColorHandler.C (updateColor): change the hash to cover the whole
+       LColor enum, ws cleanup
+       (getGCLinepars): ditto
+       (getGCLinepars): only lookup in the linecache once.
+
+2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * iterators.C (operator++): Make the iterator more robust
+
+       * BufferView2.C (removeAutoInsets): Use paragraph iterators
+       (John's patch)
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxtext.h:
+       * text.C: better added space drawing
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * LyXView.C:
+       * BufferView2.C: fix layout combo update on inset unlock
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am: don't compile unused files
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfunc.C:
+       * commandtags.h:
+       * LyXAction.C: remove old LFUN_LAYOUTNO
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * paragraph_pimpl.h:
+       * paragraph_pimpl.C: isTextAt() doesn't need font param
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxlex.h:
+       * lyxlex.C: little cleanup
+
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: fix insertAscii for insets
+2001-12-05  Juergen Vigna  <jug@sad.it>
+
+       * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
+       set the right font on the "multi" paragraph paste!
+
+2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * trans_decl.h:
+       * trans_mgr.[Ch]:
+       * trans.[Ch]:
+       * lyxgluelength.C:
+       * lyxlength.C: remove out-commented code.
+
+       * BufferView_pimpl:
+       * CutAndPaste.C: 
+       * DepTable.C:
+       * buffer.C:
+       * chset.C:
+       * lastfiles.C:
+       * lyxlex.C:
+       * lyxlex_pimpl.C:
+       * lyxserver.C:
+       * screen.C:
+       * tabular-old.C:
+       * tabular.C:
+       * text.C:
+       * trans_mgr.C:
+       * vc-backend.C: change "while(" to "while ("
+       
+       * lyxlength.[Ch]: add zero function to check if length is zero or
+       not
+       * lyxgluelength.C: use it
+       
+2001-12-05  Allan Rae  <rae@lyx.org>
+
+       * lyxlength.C: Attempted a fix for the abs(int) header selection.
+       Works for 2.95.3, from what I understand of Garst's reports this should
+       work for other g++ versions.  We're screwed if the abs(int) definition
+       changed between bugfix releases of gcc.
+
+2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text.C: fix chapter label offset !
+
+2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxtext.h:
+       * text.C: fix hfill at end of line, clean up
+
+2001-12-04  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): added a call to inset->update() so
+       that we force an update of the inset and it's owners if neccessary.
+
+2001-12-03  Juergen Vigna  <jug@sad.it>
+
+       * text.C (rowLast): simplified code
+
+2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfunc.C: fix show options on timeout
+2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * screen.C (topCursorVisible): scroll half a page when the cursor
+       reached top of bottom of screen
+
+2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * minibuffer.C: deactivate on loss of focus
+2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * vspace.[Ch] (operator!=): add operator. 
+
+2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: refuse to open an inset when
+       there's a selection.
+
+2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: allow to click on RHS of full row insets
+2001-11-30  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (LyXTabular): add a same_id to set the same id's in the
+       insets for undo reasons.
+
+2001-11-28  André Pönitz <poenitz@gmx.net>
+
+       * vspace.[Ch]: cosmetical changes
+
+2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * LyXAction.h:
+       * LyXAction.C:
+       * lyxfunc.h:
+       * lyxfunc.C:
+       * kbmap.h:
+       * kbmap.C:
+       * lyxrc.C:
+       * kbsequence.h:
+       * kbsequence.C: part re-write of old kb code
+
+       * Painter.C:
+       * WorkArea.C: remove Lgb_bug_find_hack
+
+2001-11-30  José Matos <jamatos@fep.up.pt>
+
+       * buffer.C (makeDocBookFile): add a comment to point a hack.
+       (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
+       Fixed a double write of labels.
+       
+2001-11-28  André Pönitz <poenitz@gmx.net>
+
+       * all the files from the change on 2001/11/26:
+       use lyx::layout_type instead of LyXTextClass::size_type
+       use lyx::textclass_type instead of LyXTextClassList::size_type
+
+2001-11-29  Juergen Vigna  <jug@sad.it>
+
+       * text.C: added support for paragraph::isFreeSpacing()
+
+       * buffer.C: same as above
+
+       * paragraph.h: inserted isFreeSpacing() function to enable
+       FreeSpacing inside InsetERT.
+
+       * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
+       of the paragraph's in the cut/copy buffer to 0!
+
+       * text2.C (removeRow): remove the assert as it can!
+
+       * lyxtext.h: added helper function firstRow returning firstrow and
+       made firstrow private again.
+
+       * BufferView2.C (lockInset): don't relock if we're already locked!
+
+       * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
+       the only paragraph.
+       (removeRow): added Assert::(firstrow)
+
+       * debug.C: forgot to add INSETTEXT here.
+
+2001-11-28  Juergen Vigna  <jug@sad.it>
+
+       * sp_spell.C (initialize): changed error text to more general
+       spellchecker command use (not only ispell!)
+
+       * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
+
+       * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
+
+2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * vspace.C: initialise lyxgluelength on failure
+
+2001-11-28  Allan Rae  <rae@lyx.org>
+
+       * text.C (paintLastRow): g++-2.95.3 and others don't like variable
+       declaration & definition that looks like a function declaration.
+
+2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * BufferView2.C (copy): 
+       (copyEnvironment): do not clear the selection when doing a copy.
+
+       * text.C (paintFirstRow): compilation fix
+
+2001-11-27  Ben Stanley  <bds02@uow.edu.au>
+
+       * tabular.C (Latex): correct line count when writing latex.
+
+2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
+
+       * paragraph_pimpl.h:
+       * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
+         bug a bit
+
+2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text.C: 
+       * LColor.h:
+       * LColor.C: change vfillline->added_space
+       * text.C: add markers and text for added space
+       * vspace.C: fix comment
+
+2001-11-28  André Pönitz <poenitz@gmx.net>
+
+       * paragraph.C: whitespace changes
+       * all the other files from the change on 2001/11/26:
+       change *::pos_type into lyx::pos_type
+       
+2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (parseSingleLyXformat2Token): Set the language to the
+       language of the document when inserting error insets.
+
+2001-11-26  André Pönitz <poenitz@gmx.net>
+       
+       * BufferView_pimpl.[Ch]:
+       *       CutAndPaste.C:
+       * buffer.[Ch]:
+       * lyxcursor.[Ch]:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * lyxrow.[Ch]:
+       * paragraph.[Ch]:
+       * paragraph_pimpl.[Ch]:
+       * sp_spell.C:
+       * text.C:
+       * text2.C: reduce header dependencies, introduce type for positions
+
+2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * <various>: change to use Alert.h 
+        
+2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (parseSingleLyXformat2Token): Insert an error inset
+       when encountering an unknown token.
+       (readLyXformat2): Show an error message if there were unknown tokens.
+
+2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView2.C:
+       * BufferView_pimpl.C:
+       * buffer.C:
+       * paragraph.h:
+       * text.C: 
+       * text2.C: use par->isInset()
+        
+2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * paragraph_pimpl.h:
+       * paragraph_pimpl.C: cleanup 
+        
+2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text2.C (removeRow): 
+       * text.C (setHeightOfRow): remove useless (and costly) call to
+       getRow. 
+
+2001-11-20  Allan Rae  <rae@lyx.org>
+
+       * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
+       Now need Inset*::checkInsertChar() to return true for appropriate
+       cases so that the characters in the minibuffer will actually be
+       inserted.
+
+2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text.C: change the order of the includes.
+       (workWidth): initialize it at once.
+       (workWidth): make maxw unsigned
+       (setHeightOfRow): remove unused variable (inset)
+       (selectSelectedWord): remove unused variable (inset)
+       (paintRowText): fix drawing of hfill characters, and clean up a bit.
+
+2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxserver.C (emergencyCleanup): do not try to close pipes if
+       server is not running.
+       (openConnection): 
+       (closeConnection): add debug info when server is disabled.
+
+       * ColorHandler.C (getGCForeground): send debug message to GUI
+       channel. 
+
+       * lyxrc.C: do not include lyxserver.h and tex-strings.h.
+
+       * kbmap.C (bind): modify because return conventions of
+       kb_sequence::parse have changed.
+
+       * kbsequence.C (parse): only ignore spaces and not any stupid
+       control character. This avoids tests like s[i] <= ' ', which are
+       guaranteed to fail with 8bit characters and signed chars.
+       Change return code to string::npos when there have been no error
+       (0 was a bad idea when error is at first character)
+
+2001-11-14  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.h:
+       * buffer.C (simpleDocBookOnePar): removed unused argument.
+
+2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text.C (selectNextWordToSpellcheck): do not test explicitely for
+       insets which are part of a word. Paragraph::isLetter takes care of
+       that now. Use Paragraph::isInset to identify insets.
+       (selectSelectedWord): do not test for hyphenation break.
+
+       * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
+       that protected spaces are considered as spaces.
+
+       * paragraph.C (isLetter): cleanup the code for ispell extras; use
+       Inset::isLetter. 
+
+2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxserver.h:
+       * lyxserver.C: fix it. and small cleanup.
+2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: use inline helpers
+       * LaTeXFeatures.h: 
+       * LaTeXFeatures.C: fix typos
+
+       * Spacing.h:
+       * Spacing.C: move spacing_string into class 
+
+       * ToolbarDefaults.C: move stuff into namespace anon
+       * layout.h: update enum
+
+       * lyxfunc.C: use better debug
+
+       * minibuffer.h: fix typo
+       * debug.h:
+       * debug.C:
+       * WorkArea.C: add and use Debug::WORKAREA
+
+       * lyxtext.h:
+       * text.C: 
+       * text2.C: code re-organisation, inline helpers
+
+2001-11-09  Michael A. Koziarski <michael@koziarski.org>
+
+       * Layout.C: replaced a few cases of std::vector.size() == 0 with
+       std::vector.empty().
+
+2001-11-09  Allan Rae  <rae@lyx.org>
+
+       * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
+       '\n's after tables.  Tabular and ERT inset work now makes this no
+       longer necessary.
+
+2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
+
+       * minibuffer.h:
+       * minibuffer.C: fix crash, improve drop-down completion 
+2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxserver.h:
+       * lyxserver.C: invalidate fd's when doing endPipe()
+2001-11-08  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
+       (simpleDocBookOnePar): removed code made obsolete by the new inset code.
+
+       * paragraph.h:
+       * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
+
+2001-11-07  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.h:
+       * buffer.C (sgmlError): linuxDocError renamed, and made public, added
+       const qualifier.
+
+       * buffer.C (sgmlOpenTag):
+       * buffer.C (sgmlCloseTag): removed debug info.
+
+       * buffer.h (sgmlOpenTag):
+       * buffer.h (sgmlCloseTag): made public.
+
+2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * buffer.C (saveParamsAsDefaults): 
+       * lyx_cb.C (MenuLayoutSave): remove
+
+       * LyXAction.C (init): 
+       * commandtags.h: 
+       * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
+
+2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * buffer.C (setPaperStuff): removed from here...
+
+       * bufferparams.C (setPaperStuff): ... and moved there.  
+
+2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * minibuffer.h:
+       * minibuffer.C:
+       * XFormsView.C: add support for drop-down completion
+2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
+       commands.
+
 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is