]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Added function firstRow() to LyXText as this function is needed in
[lyx.git] / src / ChangeLog
index ab6223b509871fe59cf720a4f010167c0a1108cf..9692cc281b2fffab5471f50b82f4e0a666af4783 100644 (file)
@@ -1,7 +1,387 @@
+2001-11-29  Juergen Vigna  <jug@sad.it>
+
+       * 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
+       * files form the 26th: 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-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
+       disabled. 
+
+2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_main.C: change ref to known bugs
+2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
+       to work around older babel problems.
+
+2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
+
+2001-10-24  Juergen Vigna  <jug@sad.it>
+
+       * tabular-old.C (ReadOld): below variable changes reflected.
+
+       * tabular.[Ch]: added ltType struct for longtable header/footer
+       defines and changed all instances where they are used. Added
+       future support for double top/bottom rows.
+
+2001-10-24  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.h (docbookHandleCaption):
+       * buffer.C (docbookHandleCaption): removed unused function.
+       (makeDocBookFile): moved docbook supported version to v4.1.
+
+2001-10-24  José Matos  <jamatos@fep.up.pt>
+
+       * tabular.h:
+       * tabular.C (docbookRow): new function to export docbook code of a row.
+       (DocBook): now honors the longtable flags.
+
+2001-10-23  José Matos  <jamatos@fep.up.pt>
+
+       * LaTeXFeatures.h:
+       * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
+       of the lyx defined sgml entities used in a docbook/linuxdoc document.
+
+       * buffer.C (makeLinuxDocFile):
+       (makeDocBookFile): reworked the preamble, more clean, and with
+       support for lyx defined entities. Changed the document declaration
+       to be more XML friendly.
+
+       * tabular.C (DocBook): removed / terminator to be more SGML friendly,
+       if we need to output XML that should be done with a filter.
+       
+2001-10-22  Juergen Vigna  <jug@sad.it>
+
+       * sp_pspell.h (class PSpell): add alive function needed in the
+       controller to see if the spellchecker could be started.
+
+2001-10-22  Juergen Vigna  <jug@sad.it>
+
+       * buffer.C (insertStringAsLines): modify the font for inserting
+       chars in certain conditions by calling checkInsertChar(font).
+
+2001-10-19  Juergen Vigna  <jug@sad.it>
+
+       * text.C (workWidth): use getRow instead of wrong algorithm.
+       (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
+
+2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxserver.h:
+       * lyxserver.C:
+       * lyx_main.h:
+       * lyx_main.C: add emergencyCleanup (remove pipes on crash)
+
+2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text.C (workWidth): do not search for the exact row when
+       margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
+       optimization for big documents.
+
+2001-10-18  Juergen Vigna  <jug@sad.it>
+
+       * text.C (workWidth): new function with added Inset * parameter.
+
+2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * text2.C (setCursorFromCoordinates): use Paragraph::size_type
+
+       * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
+       change return type of getColumnNearX.
+       
+
+       * text.C (changeRegionCase): use uppercase/lowercase instead of
+       toupper/tolower. 
+       (leftMargin): 
+       (rightMargin): simplify code by factoring out the uses of
+       textclasslist.
+       (labelFill): 
+       (numberOfHfills): 
+       (setHeightOfRow): 
+       (appendParagraph): use Paragraph::size_type
+
+2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * vspace.C (asLatexString): add a missing break
+
+2001-10-15  Herbert Voss  <voss@perce.de>
+
+       * vspace.C (asLatexString): fix bug in output of string for l% and p%.
+
+2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
+       is not available.
+
 2001-10-10  André Pönitz <poenitz@gmx.net>
 
        * lyxfunc.C: removed greek_kb_flag.
 
+2001-10-10  Herbert Voss  <voss@perce.de>
+
+       * lyx_main.C: delete global string help_lyxdir.
+
 2001-10-09  Herbert Voss  <voss@perce.de>
 
        * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
        of a cursor (row, etc.) after a character has been deleted
        (deleteEmptyParagraphMechanism): call the method above on _all_
        cursors held by the LyXText when a double space has been
-       detected/deleted. 
+       detected/deleted.
 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the