+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.
+
+ * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
+ really leaving an inset.
+
+2002-04-18 Juergen Vigna <jug@sad.it>
+
+ * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
+ of the selected paragraph does not have the selected layout also if
+ the last one had!
+
+ * text2.C (setLayout): fixed bug which did not change last selected
+ paragraph.
+
+ * tabular.C (OldFormatRead): check also for \\end_inset as Lars
+ changed the read and substituted \\end_float with \\end_inset!
+
+ * 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.
+
+2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
+ Ressler.
+
+2002-04-16 Juergen Vigna <jug@sad.it>
+
+ * text2.C (setCursor): set also the irow().
+ (setCursorFromCoordinates): fixed to set the (i) cursor values right!
+ (cursorUp):
+ (cursorDown): support for locking an inset if the x_fix value goes
+ inside it. That way I can transverse insets too with cursor up/down.
+
+ * lyxrow.h: added irow helper function same as other (i) functions.
+
+ * BufferView_pimpl.C (cursorPrevious):
+ (cursorNext): fixed for insets!
+
+2002-04-15 Juergen Vigna <jug@sad.it>
+
+ * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
+ position otherwise it is wrong in some cases.
+
+ * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
+ inside the inset before the call.
+
+2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * buffer.[Ch] (getBibkeyList): make it const.
+
+2002-04-12 Juergen Vigna <jug@sad.it>
+
+ * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
+
+ * text2.C (getCursorX): new helper function
+ (setCursor): compute also ix_
+ (setCursorFromCoordinates): set also ix.
+
+ * lyxcursor.h: added ix_ and helper functions.
+
+ * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
+
+ * buffer.C (insertStringAsLines): dont break paragraph if the this
+ paragraph is inside an inset which does not permit it!
+
+ * text.C (breakParagraph): honor keepempty flag and break the paragraph
+ also with no chars on this paragraph.
+ (paintRowText): only paint stuff if it's inside the workarea!
+
+ * paragraph.C (breakParagraph): honor keepempty flag and break the
+ paragraph always below not above.
+
+ * BufferView2.C (unlockInset): update the paragraph layout on inset
+ unlock as we changed paragraph in such a case.
+
+ * lyxfind.C (LyXFind): clear the former selection if not found!
+
+ * text2.C (insertInset): freeze Undo after setUndo so that it is not
+ again called in insertChar().
+
+ * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
+ an inset which uses the whole row!
+ (rightMargin): ditto.
+ (insertChar): force a rebreak if we inserted an inset!
+
+2002-03-28 Herbert Voss <voss@lyx.org>
+
+ * lyxlength.[Ch]: add inBP() to get the right PS-point
+ units (BigPoint). With inPixels we have rounding errors
+
+2002-04-11 Juergen Vigna <jug@sad.it>
+
+ * text2.C (setCursorFromCoordinates): set iy to the right value.
+ (setCursor): add check if row->previous exists!
+
+ * buffer.C (parseSingleLyXformat2Token): reset font after read of
+ an old float_type as this was the case in the old code!
+
+ * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
+
+ * BufferView2.C (showLockedInsetCursor): use iy
+ (fitLockedInsetCursor): ditto
+
+ * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
+ locked insets as there we have the right value now.
+
+ * lyxcursor.C: added iy_ variable and iy functions to set to the
+ baseline of cursor-y of the locked inset.
+
+ * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
+ (setCursor): fixed for insets which need a full row.
+
+ * text.C (rowLastPrintable): don't ignore the last space when before
+ an inset which needs a full row.
+ (numberOfSeparators): use rowLastPrintable and <= last to honor a space
+ as last character of a row when before a inset which needs a full row.
+
+2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * version.C.in: update date
+
+ * text2.C (fullRebreak): try to always return true and see what
+ happens...
+
+2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * MenuBackend.C (expand): use Floating::listName
+
+ * FloatList.C (FloatList): add listName argument to the built-in
+ floats
+
+ * Floating.[Ch]: add listName member, which is the 'List of XXX'
+ text associated with the float.
+
+2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
+
+2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * ShareContainer.h: add a couple of missing typenames.
+
+2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * lyxrc.C (getDescription): use _() correctly rather than N_().
+
+2002-03-28 Herbert Voss <voss@lyx.org>
+
+ * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
+ "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
+
+2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * lyx_main.C (init): use environment variable LYX_DIR_12x instead
+ of LYX_DIR_11x. Same for LYX_USERDIR_12x.
+
+2002-03-29 Juergen Vigna <jug@sad.it>
+
+ * lyxfunc.C (dispatch): add a missing fitCursor call.
+
+ * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
+ it was scrolled by a cursor move, so return the bool status.
+
+ * BufferView.C (fitCursor): return the bool flag also to the outside
+ world as this is needed.
+
+ * screen.C (toggleToggle): don't subtract the offset if it's positive.
+
+ * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
+ call the edit() as it is not needed (and wrong) IMO.
+ (workAreaButtonPress): set the screen_first variable before evt.
+ unlock the inset as this may change screen_first and then we have
+ a wrong y position for the click!
+
+2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * MenuBackend.C (expand): another translation that I missed
+
+2002-03-28 Juergen Vigna <jug@sad.it>
+
+ * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
+
+ * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
+
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2002-03-27 Herbert Voss <voss@lyx.org>
* lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
- and text%
+ and text%
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>