]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Rename screen, and don't re-construct it on a buffer change (that is far too
[lyx.git] / src / ChangeLog
index a37aa5c33f32b28156dd4e4cdb9cc5af42ebb31b..3e83ded21f0e06d77afb403362f32bec58c2068a 100644 (file)
@@ -1,7 +1,561 @@
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h:
+       * BufferView.C:
+       * BufferView2.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: only construct screen once,
+         rename
+
+       * lyxrc.C: remove pointless comment
+2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h: 
+       * BufferView.C: remove active() and belowMouse()
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: use workarea() not workarea_,
+         and make it use a scoped_ptr instead
+
+2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_gui.C: add debug message on BadWindow
+2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * sp_spell.C: fdopen is not part of the C++ standard.
+
+       * paragraph.C (InsetIterator): use >= instead of ==
+
+2002-06-07  Angus Leeming  <leeming@lyx.org>
+
+       Fixes needed to compile with Compaq cxx 6.5.
+       * BufferView_pimpl.C:
+       * DepTable.C:
+       * buffer.C:
+       * converter.C:
+       * encoding.C:
+       * lyx_gui.C:
+       * lyx_main.C:
+       * lyxtextclasslist.C:
+       * minibuffer.C:
+       * sp_spell.C:
+       * tabular_funcs.C:
+       * vc-backend.C:
+       all c-library variables have been moved into namespace std. Wrap
+       using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
+
+       * lyxlength.C:
+       * tabular-old.C:
+       * tabular.C:
+       Add a using std::abs declaration.
+
+       * kbmap.h (modifier_pair):
+       * paragraph.h (InsetTable, InsetList):
+       * lyxfont.h (FontBits):
+       type definition made public.
+
+       * bufferlist.C (emergencyWriteAll): the compiler complains that
+       there is more than one possible lyx::class_fun template to choose from.
+       I re-named the void specialisation as lyx::void_class_fun.
+
+       * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
+
+       * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
+       the compiler is is unable to find tostr in write_attribute.
+
+2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (sgmlError): hide #warning
+
+2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * xtl/*: get rid of xtl, which is not in use anyway
+
+       * LyXAction.C (init):
+       * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
+       were unimplemented xtl experimentation
+
+2002-06-04  André Pönitz <poenitz@gmx.net>
+
+       * lyxfunc.C: disable array operation on simple formulae
+
+2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * converter.C: constify a bit
+
+2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_gui.C: check xforms version correctly
+
+2002-04-30  Herbert Voss  <voss@lyx.org>
+
+       * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
+       "keep" option
+
+2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxvc.C: fix bug 416 (make sure buffer is saved before
+         attempt to register it with a VCS)
+
+2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyx_main.C (init): honor variables LYX_DIR_13x and
+       LYX_USERDIR_13x
+
+2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * buffer.h:
+       * buffer.C:
+       * lyx_main.C: fix a crash on bad command line,
+         and give a useful exit status on error
+
+       * lyxfunc.C (doImport): allow -i lyx to work
+
+2002-03-30  André Pönitz <poenitz@gmx.net>
+
+       * lyxfunc.C: mathed font changes
+
+2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * LaTeX.C:
+       * importer.h:
+       * importer.C:
+       * lyx_sty.h:
+       * lyx_sty.C:
+       * lyxlex.C:
+       * lyxrow.h:
+       * lyxtext.h:
+       * paragraph.h:
+       * paragraph.C:
+       * texrow.h:
+       * texrow.C:
+       * text.C:
+       * trans_mgr.h: srcdocs, and some minor cleanups
+
+2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
+       call getFont all the time)
+
+2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * switch from SigC signals to boost::signals
+
+2002-05-29  André Pönitz <poenitz@gmx.net>
+
+       * paragraph_pimpl.C (getChar): don't call size() too often...
+
+2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * paragraph_pimpl.C (insertChar): do not try to update tables when
+       appending (pos == size())
+
+       * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
+       in order to reduce drastically the number of comparisons needed to
+       parse a large document
+
+2002-05-29  André Pönitz <poenitz@gmx.net>
+
+       * text.C:
+       * text2.C:
+       * lyxtextclass.C:
+       * sp_pspell.h:
+       * textclasslist.[Ch]:
+       * sp_ispell.h: whitespace change
+
+2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxserver.C (callback): tentative fix of lyxserver. Does not use
+       lyxaction directly now.
+
+2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
+
+       * trans.C:
+       * lyxfont.C:
+       * lyxvc.C: remove unused headers
+
+2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am:
+       * buffer.h:
+       * undostack.h:
+       * undostack.C:
+       * undo_funcs.h:
+       * undo_funcs.C: some cleanups. Use shared_ptr
+         and a template for the undo stacks.
+
+2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C:
+       * kbmap.h:
+       * kbmap.C:
+       * kbsequence.h:
+       * kbsequence.C:
+       * lyxfunc.h:
+       * lyxfunc.C:
+       * text2.C: use key_state/mouse_state
+
+2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
+       and LSubstring
+
+       * chset.C: change include order
+       (loadFile): use boost regex and get rid of LRegex and LSubstring
+
+       * Makefile.am (BOOST_LIBS): new variable
+       (lyx_LDADD): use it
+
+       * LaTeX.C: change include order.
+       (scanAuxFile): use boost regex and get rid of LRegex and
+       LSubstring
+       (deplog): ditto
+
+2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * ColorHandler.h:
+       * ColorHandler.C:
+       * FontInfo.h:
+       * FontInfo.C: moved to frontends/xforms/
+
+       * FontLoader.h:
+       * FontLoader.C: moved into frontends for GUIIzation
+
+       * Makefile.am:
+       * lyx_gui.C:
+       * lyxfont.C:
+       * lyxfunc.C: changes from above
+
+2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * LColor.C: remove spurious X include
+
+       * BufferView_pimpl.C:
+       * Makefile.am:
+       * font.h:
+       * font.C:
+       * text.C:
+       * text2.C: move font metrics to frontends/
+
+2002-05-24  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fix the cursor selection after
+       setting the undo_cursor.
+
+       * ParagraphParameters.h: include local includes first.
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C:
+       * BufferView_pimpl.h:
+       * Makefile.am:
+       * WorkArea.h:
+       * WorkArea.C:
+       * screen.C: move WorkArea into frontends/
+
+       * lyxscreen.h:
+       * screen.C:
+       * text.C:
+       * BufferView.C:
+       * BufferView2.C: move LyXScreen into frontends/
+
+       * lyxlookup.h:
+       * lyxlookup.C:
+       * lyx_gui.C: move lyxlookup into frontends/xforms/
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView2.C:
+       * BufferView_pimpl.C:
+       * FontLoader.C:
+       * LyXView.h:
+       * LyXView.C:
+       * Makefile.am:
+       * WorkArea.C:
+       * XFormsView.h:
+       * XFormsView.C:
+       * buffer.C:
+       * bufferlist.C:
+       * bufferview_funcs.C:
+       * converter.C:
+       * importer.C:
+       * lyx_cb.C:
+       * lyx_gui.C:
+       * lyx_main.C:
+       * lyx_find.C:
+       * lyxfunc.C:
+       * lyxvc.C:
+       * minibuffer.C:
+       * text.C:
+       * text2.C:
+       * trans.C:
+       * vc-backend.C: move LyX/XFormsView into frontends/
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am:
+       * PainterBase.C:
+       * PainterBase.h:
+       * Painter.C:
+       * Painter.h:
+       * WorkArea.C:
+       * WorkArea.h:
+       * screen.C:
+       * tabular.C:
+       * text.C:
+       * text2.C: move Painter to frontends/
+
+2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C: comment out some some code that depend upon lyx_format
+       < 220
+
+       * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
+       * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
+
+       * buffer.h (NO_COMPABILITY): turn off compability
+
+       * ColorHandler.C: include scoped_array.hpp
+
+       * font.C: Use more specific smart_ptr header.
+       * Painter.C: ditto
+       * gettext.C: ditto
+       * ShareContainer.h: ditto
+       * lyx_main.h: ditto
+       * kbmap.h: ditto
+       * FontInfo.h: ditto
+       * BufferView_pimpl.h: ditto
+       * ColorHandler.h: ditto
+
+       * kbmap.C (defkey): change call to shared_ptr::reset
+
+2002-05-21  Juergen Vigna  <jug@sad.it>
+
+       * buffer.C (insertErtContents): fix to insert ert asis if it is
+       non empty. Skip it completely if it contains only whitespaces.
+
+2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C:
+       * BufferView2.C: clear selection on paste (bug 393)
+
+2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * DepTable.C: include ctime
+
+2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (latexParagraphs): Add new argument (moving_arg).
+
+2002-05-14  Juergen Vigna  <jug@sad.it>
+
+       * text.C (breakParagraph): fixed function to honor the keepempty
+       layout in the right maner and also to permit the right breaking
+       algorithm on empty or non empyt keepempty paragraphs.
+
+       * paragraph.C (breakParagraph): we have to check also if the par
+       is really empty (!size()) for isempty otherwise we do the wrong
+       paragraph break.
+
+2002-05-10  Juergen Vigna  <jug@sad.it>
+
+       * buffer.[Ch] : The following are only changes to the ert
+       compatibility read reading old LaTeX layout and font stuff and
+       convert it to ERTInsets.
+
+       * buffer.h: added isErtInset().
+
+       * buffer.C (struct ErtComp): add a fromlayout bool to check
+       if we're inside a LaTeX layout.
+       (isErtInset): new helper function.
+       (insertErtContents): look for other ert insets before this one
+       and insert the contents there, so that we don't have subsequent
+       ERT insets with nothing between them. This way we create only one
+       inset with multiple paragraphs. Also check if we don't insert only
+       spaces ' ' as they are ignored anyway afterwards in the .tex file
+       so if we have only spaces we will ignore this latex part in the
+       new file.
+       (parseSingleLyXformat2Token \\layout): better compatibility when
+       reading layout-latex stuff.
+       (parseSingleLyXformat2Token \\lang): put the insetERT in the right
+       language tag.
+       (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
+       stuff after reading the inset only get the information back from
+       the stack.
+
+2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (makeLaTeXFile): Put language options after loading babel.
+
+       * LaTeXFeatures.C (getBabelOptions): New method.
+
+2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * BufferView_pimpl.C (Dispatch): work around missing argument for
+       'layout'
+
+2002-05-08  Juergen Vigna  <jug@sad.it>
+
+       * text.C (leftMargin): handle paragraph leftindent.
+
+       * paragraph.C (writeFile): write the new \\leftindent tag.
+       (validate): handle leftindent code.
+       (TeXEnvironment): handle paragraphleftindent code again.
+
+       * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
+
+       * buffer.C (parseSingleLyXformat2Token): added compatibility code
+       for paragrap_extra indent code and new token \\leftindent.
+       (latexParagraphs): handle the leftindent as environment.
+
+       * ParameterStruct.h: added leftindent support.
+
+       * ParagraphParameters.C (leftIndent): added support functions for
+       the paragraph left indent.
+
+       * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
+       more appropriate.
+
+2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * paragraph.C (isRightToLeftPar): Return false for a paragraph
+       inside insetERT.
+
+       * text.C (computeBidiTables): No bidi in insetERT.
+
+       * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
+       in RTL documents.
+
+2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * version.C.in: pre 5
+
+2002-05-02  José Matos  <jamatos@fep.up.pt>
+       * buffer.C (makeDocBookFile): white space changes, add newline to
+       command styles.
+       (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
+
+       * tabular.C (docBook): fix typo.
+
+2002-05-03  Juergen Vigna  <jug@sad.it>
+
+       * screen.C (drawFromTo): recalculate the rowpointer if we had a
+       change in LyXText as we can not be sure it was not freed.
+       (drawOneRow): remove unused code.
+
+       * text.C (drawInset): redo the calculation of the need_break_row as
+       it could have a row which was already freed.
+       (draw): look at the return value of drawInset and return false if
+       it also returned false.
+       (paintRowText): look at the return value of draw and return false if
+       it also returned false.
+
+       * lyxtext.h: added bool return type to drawInset() and draw() so that
+       if we have a change in the row so that the rowbreak has to be redone
+       we abort drawing as it will be called again.
+
+2002-05-02  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
+       a change in the maintext also if we're inside an inset.
+       (Dispatch): set the cursor again after a break line and after the
+       screen has been updated as it could be we're in a different row.
+
+       * text2.C (fixCursorAfterDelete): check to make sure we don't request
+       to set the cursor behind the pargraph with > size().
+       (setCursor): check also for the same paragraph when checking where
+       to put the cursor if we have a NFR inset.
+
+       * buffer.C (parseSingleLyXformat2Token): move the compatibility
+       parts of layout read further up as it still was in the wrong
+       position.
+
+2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * screen.C (drawFromTo): change sine fullRebreak always return
+       true.
+
+       * buffer.C (parseSingleLyXformat2Token): reindent some
+
+       * BufferView_pimpl.C (update): change since fullRebreak always
+       return true.
+       (Dispatch): git rid of the last hardcoded "Standard"s.
+
+2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.[Ch] (fullRebreak): make it return void now that we always
+       returned true.
+
+2002-04-30  Juergen Vigna  <jug@sad.it>
+
+       * buffer.C (parseSingleLyXformat2Token): reset the font before the
+       ert compatibility check for "latex" layout.
+
+2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
+       minipages: use col% instead of p%, and also use the current font.
+       (makeLaTeXFile): Fix use babel condition.
+       (parseSingleLyXformat2Token): Correct font when reading old floats.
+
+2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * BufferView_pimpl.C (Dispatch): Check that float type exists when
+       inserting list of floats.
+
+2002-04-25  Herbert Voss  <voss@lyx.org>
+
+       * MenuBackend.C (expand): don't add the graphics extensions to the
+       export menu
+
+2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
+       non-existing layout, do not complain if it was the default layout
+       of the original class (bug #342)
+
+2002-04-24  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
+       (workAreaButtonRelease): don't do anything if it was a mouse-wheel
+
+2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * buffer.C (getBibkeyList): If using \bibliography, return the
+       option field with the reference itself. Enables us to provide natbib
+       support when using \bibliography.
+
+2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
+
+       * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
+
+       * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
+       natbib is provided by the LaTeX class.
+
+2002-04-23  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
+       Wakeup functions.
+
+       * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
+
+2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
+
+       * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
+       ensuremath around textordmasculine, textordfeminine and
+       textdegree.
+
 2002-04-19  Juergen Vigna  <jug@sad.it>
 
        * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
        reinitializing the buffer otherwise row-dimensions may be wrong.
+       (update): reset also the selection cursors if they do exits otherwise
+       their x/y positions may be wrong.
 
        * text2.C (cursorDown): don't enter the inset if we came from a row
        above and are one row over the inset.
        * tabular.C (OldFormatRead): check also for \\end_inset as Lars
        changed the read and substituted \\end_float with \\end_inset!
 
-       * BufferView_pimpl.C (cursorPrevious): 
+       * BufferView_pimpl.C (cursorPrevious):
        (cursorNext): fixed to make it work with rows heigher than the work
        area without moving the cursor only the draw of the row.
        (workAreaMotionNotify): fix jumping over high rows.