+2000-04-26 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * README: remove sections that were just wrong.
+
+ * src/text2.C (GetRowNearY): remove currentrow code
+
+ * src/text.C (GetRow): remove currentrow code
+
+ * src/screen.C (Update): rewritten a bit.
+ (SmallUpdate): removed func
+
+ * src/lyxtext.h (text_status): removed NEED_LITTLE_REFRESH, never
+ used.
+ (FullRebreak): return bool
+ (currentrow): remove var
+ (currentrow_y): ditto
+
+ * src/lyxscreen.h (Draw): change arg to unsigned long
+ (FitCursor): return bool
+ (FitManualCursor): ditto
+ (Smallpdate): remove func
+ (first): change to unsigned long
+ (DrawOneRow): change second arg to long (from long &)
+ (screen_refresh_y): remove var
+ (scree_refresh_row): ditto
+
+ * src/lyxrow.h: change baseline to usigned int from unsigned
+ short, this brings some implicit/unsigned issues out in the open.
+
+ * src/lyxfunc.C (moveCursorUpdate): update(0) == update(-2) change
+ accordingly.
+ (Dispatch): don't call updateScrollbar after fitCursor. Use update
+ instead of smallUpdate.
+
+ * src/lyxcursor.h: change y to unsigned long
+
+ * src/buffer.h: don't call updateScrollbar after fitcursor
+
+ * src/buffer.C (parseSingleLyXformat2Token): move variables to
+ where they are used. Removed "\\direction", this was not present
+ in 1.1.4 and is already obsolete. Commented out some code that I
+ believe to never be called.
+ (runLiterate): don't call updateScrollbar after fitCursor
+ (runLaTeX): ditto
+ (buildProgram): ditto
+ (runChktex): ditto
+
+ * src/WorkArea.h (workWidth): change return val to unsigned
+ (width): ditto
+ (height): ditto
+ (redraw): remove the button redraws
+ (setScrollbarValue): change for scrollbar
+ (getScrollbarValue): change for scrollbar
+ (getScrollbarBounds): change for scrollbar
+
+ * src/WorkArea.C (C_WorkArea_up_cb): removed func
+ (C_WorkArea_down_cb): removed func
+ (WorkArea): use fl_add_scrollbar instead of two buttons and a slider.
+ (resize): change for scrollbar
+ (setScrollbar): ditto
+ (setScrollbarBounds): ditto
+ (setScrollbarIncrements): ditto
+ (up_cb): removed func
+ (down_cb): removed func
+ (scroll_cb): change for scrollbar
+ (work_area_handler): ditto
+
+ * src/BufferView_pimpl.C (fitCursor): only call updateScrollbar
+ when FitCursor did something.
+ (updateScrollbar): some unsigned changes
+ (downCB): removed func
+ (scrollUpOnePage): removed func
+ (scrollDownOnePage): remvoed func
+ (workAreaMotionNotify): don't call screen->FitCursor but use
+ fitCursor instead. and bool return val
+ (workAreaButtonPress): ditto
+ (workAreaButtonRelease): some unsigned changes
+ (checkInsetHit): ditto
+ (workAreaExpose): ditto
+ (update): parts rewritten, comments about the signed char arg added
+ (smallUpdate): removed func
+ (cursorPrevious): call needed updateScrollbar
+ (cursorNext): ditto
+
+ * src/BufferView2.C (allFloats): don't call updateScrollbar after
+ fitCursor.
+
+ * src/BufferView.[Ch] (upCB): removed func
+ (downCB): removed func
+ (smallUpdate): removed func
+
+2000-04-25 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxtext.h src/text.C src/text2.C: removed support for the
+ currentrow, currentrow_y optimization. This did not help a lot and
+ if we want to do this kind of optimization we should rather use
+ cursor.row instead of the currentrow.
+
+ * src/buffer.C (parseSingleLyXformat2Token): fixed mistake in
+ buffer spacing and klyx spacing support.
+
+2000-04-25 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/spellchecker.C (RunSpellChecker): Speedup spellchecking by
+ a factor of 50!
+
+2000-04-26 Juergen Vigna <jug@sad.it>
+
+ * src/insets/figinset.C: fixes to Lars sstream changes!
+
+2000-04-23 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * A lot of files: Added Ascii(ostream &) methods to all inset
+ classes. Used when exporting to ASCII.
+
+ * src/buffer.C (writeFileAscii,RoffAsciiTable)
+ * src/paragraph.C (RoffContTableRows): Use the Ascii() methods
+ instead of Latex()
+
+ * src/text2.C (ToggleFree): Disabled implicit word selection when
+ there is a change in the language
+
+ * src/insets/insetspecialchar.C (Linuxdoc,DocBook): Fixed a bug:
+ no output was generated for end-of-sentence inset.
+
+ * src/insets/lyxinset.h
+ * src/buffer.C
+ * src/lyxfunc.C
+ * src/paragraph.C: Removed the insetnumber code
+
+ * src/text.C (SelectWordWhenUnderCursor): Cleaned the code.
+
+2000-04-22 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/buffer.C (parseSingleLyXformat2Token): remove no_isolatin1,
+ no_babel and no_epsfig completely from the file.
+ (parseSingleLyXformat2Token): add handling for per-paragraph
+ spacing as written by klyx.
+
+ * src/insets/figinset.C: applied patch by Andre. Made it work with
+ ostringstream too.
+
+2000-04-20 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C (cutSelection):
+ (copySelection): Fixed with selection from right to left.
+ (draw): now the rows are not recalculated at every draw.
+ (computeTextRows): for now reset the inset-owner here (this is
+ important for an undo or copy where the inset-owner is not set
+ automatically!)
+
+ * src/BufferView_pimpl.C (workAreaMotionNotify): when passing the
+ motion to the_locking_inset screen->first was forgotten, this was
+ not important till we got multiline insets.
+
+2000-04-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/formulamacro.C (Latex): remove CHECK comment, since
+ code seems to be alright (it is code changed by Dekel, and the
+ intent is indeed that all macros should be defined \protect'ed)
+
+ * NEWS: a bit of reorganisation of the new user-visible features.
+
+2000-04-19 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C (init): using a LyXCursor now for cursor
+ position. Set the inset_owner of the used paragraph so that it knows
+ that it is inside an inset. Fixed cursor handling with mouse and
+ cursor keys. Fixed wrong timed inset redraws and lots of other changes
+ and cleanups to make TextInsets work better.
+
+ * src/insets/insettext.h: Using a LyXCursor now. Added a clear() call.
+ Changed parameters of various functions and added LockInsetInInset().
+
+ * src/insets/insettext.C:
+
+ * src/insets/insetcollapsable.h:
+ * src/insets/insetcollapsable.C:
+ * src/insets/insetfoot.h:
+ * src/insets/insetfoot.C:
+ * src/insets/insetert.h:
+ * src/insets/insetert.C: cleaned up the code so that it works now
+ correctly with insettext.
+
+ * src/insets/inset.C:
+ * src/insets/lyxinset.h: inserted inset_owner and some more changes so
+ that insets in insets are supported right.
+
+ * src/table.h:
+ * src/table.C: lots of changes for use with inset tabular (and cleanup)
+
+ * src/paragraph.C: some small fixes
+
+ * src/debug.h: inserted INSETS debug info
+
+ * src/lyxfunc.C (Dispatch): added code for InsetTabular and some inset
+ fixes (f.ex. calling LFUN_DOWN if exiting inset with LFUN_DOWN).
+
+ * src/commandtags.h:
+ * src/LyXAction.C: insert code for InsetTabular.
+
+ * src/BufferView_pimpl.C (workAreaMotionNotify): do return always if
+ not Button1MotionMask.
+ (workAreaButtonRelease): send always a InsetButtonRelease event to
+ the_locking_inset.
+ (checkInsetHit): some setCursor fixes (always with insets).
+
+ * src/BufferView2.C (lockInset): returns a bool now and extended for
+ locking insets inside insets.
+ (showLockedInsetCursor): it is important to have the cursor always
+ before the locked inset.
+ (fitLockedInsetCursor): forgot adding of InsetInInsetY()-offset.
+
+ * src/BufferView.h: made lockInset return a bool.
+
+ * src/lyxtext.h: inserted function SetCursor(LyXCursor, ...).
+
+ * src/text2.C (SetCursor): This now has a version with a LyXCursor
+ that is used also internally but can be called as public to have back
+ a cursor pos which is not set internally.
+ (SetCursorIntern): Changed to use above function.
+
+ * src/CutAndPaste.C (DeleteBuffer): forgot to inizialize textclass
+
+2000-04-19 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * ANNOUNCE:
+ * INSTALL:
+ * UPGRADING:
+ * NEWS: updated for prerelease of 1.1.5. Please comment and send
+ patches for things that should be in or should be changed.
+
+ * src/* [insetfiles]: change "usigned char fragile" to bool
+ fragile. There was only one point that could that be questioned
+ and that is commented in formulamacro.C. Grep for "CHECK".
+
+ * src/CutAndPaste.C (getBufferTextClass): unused func, removed.
+ (DeleteBuffer): take it out of CutAndPaste and make it static.
+
+2000-04-17 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/paragraph.C (TeXOnePar): use the new method in Spacing to
+ output the spacing envir commands. Also the new commands used in
+ the LaTeX output makes the result better.
+
+ * src/Spacing.C (writeEnvirBegin): new method
+ (writeEnvirEnd): new method
+
+2000-04-18 Juergen Vigna <jug@sad.it>
+
+ * src/CutAndPaste.C: made textclass a static member of the class
+ as otherwise it is not accesed right!!!
+
+2000-04-17 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * forms/layout_forms.fd
+ * src/layout_forms.h
+ * src/layout_forms.C (create_form_form_character)
+ * src/lyx_cb.C (UserFreeFont)
+ * src/lyx_gui.C (create_forms): Added GUI support for multi-lingual
+ documents (in the layout->character popup).
+
+2000-04-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/spellchecker.C (create_ispell_pipe): fix a bug where
+ \spell_command was in fact not honored (from Kevin Atkinson).
+
+ * src/lyx_gui.C (~LyXGUI): make sure lyxViews is deleted when
+ quitting (Angus)
+
+ * src/lyx_gui.h: make lyxViews private (Angus)
+
+2000-04-15 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/mathed/math_write.C
+ (MathMatrixInset::Write) Put \protect before \begin{array} and
+ \end{array} if fragile
+ (MathParInset::Write): Put \protect before \\ if fragile
+
+2000-04-15 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyx_gui.C (LyXGUI): initialize the LyXColorHandler. The
+ initialization if the LyXColorHandler must be done after the
+ connections to the XServer has been established.
+
+ * src/insets/figinset.C (runqueue): change the grabing a bit. Also
+ get the background pixel from the lyxColorhandler so that the
+ figures are rendered with the correct background color.
+ (NextToken): removed functions.
+ (GetPSSizes): use ifs >> string instead of NextToken.
+
+ * src/Painter.[Ch]: the color cache moved out of this file.
+
+ * src/ColorHandler.[Ch]: new files. Holds the gc cache for color
+ and lines.
+
+2000-04-14 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/WorkArea.C (work_area_handler): call BufferView::enterView
+ and Buffer::leaveView when FL_ENTER and FL_LEAVE.
+
+ * src/BufferView.C (enterView): new func
+ (leaveView): new func
+
+ * src/BufferView_pimpl.C (enterView): new func, sets xterm cursor
+ when approp.
+ (leaveView): new func, undefines xterm cursor when approp.
+
+ * src/bufferview_funcs.C: moved SetXCursor to BufferView_pimp.C
+ (AllowInput): delete the Workarea cursor handling from this func.
+
+ * src/Painter.C (underline): draw a slimer underline in most cases.
+
+ * src/lyx_main.C (error_handler): use extern "C"
+
2000-04-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/insets/figinset.C (DocBook): small patch from Jose (jamatos)
+ sent directly to me.
+
* src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
to the list by Dekel.