+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.
+
+ * src/lyxfunc.C (Dispatch): make PARAGRAPH_SPACING compile with
+ strstream too.
+
+ * src/bufferview_funcs.[Ch]: two new files, moved several of the
+ methods from lyx_cb.here.
+
+ * src/lyx_cb.C: in addition to the above; removed input_prohibited
+ it was not used.
+
+2000-04-11 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyx_cb.[Ch]: made several functions take a BufferView* arg
+ instead of using current_view directly.
+
+ * src/lyxfunc.C (Dispatch): the paragraph-spacing implementation
+
+ * src/LyXAction.C (init): add the paragraph-spacing command.
+
+ * src/commandtags.h: add enum for LFUN_PARAGRAPH_SPACING
+
+ * src/buffer.C (parseSingleLyXformat2Token): read the paragraph spacing
+
+ * src/lyx_cb.C (CurrentState): output a string when the spacing is
+ different from the documents.
+
+ * src/text.C (SetHeightOfRow): take paragraph spacing into
+ account, paragraph spacing takes precedence over buffer spacing
+ (GetVisibleRow): ditto
+
+ * src/paragraph.C (writeFile): output the spacing parameter too.
+ (validate): set the correct features if spacing is used in the
+ paragraph.
+ (Clear): set spacing to default
+ (MakeSameLayout): spacing too
+ (HasSameLayout): spacing too
+ (SetLayout): spacing too
+ (TeXOnePar): output the spacing commands
+
+ * src/lyxparagraph.h: added a spacing variable for use with
+ per-paragraph spacing.
+
+ * src/Spacing.h: add a Default spacing and a method to check if
+ the current spacing is default. also added an operator==
+
+ * src/text2.C (DeleteEmptyParagraphMechanism): added a
+ RedoParagraphs.
+
+2000-04-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxserver.C (callback): fix dispatch of functions
+
+ * src/insets/insetlatexaccent.C (checkContents): turn bogus
+ printf() into lyxerr call.
+
+ * src/tex-strings.C (tex_fonts): add "pslatex" to the choice of
+ fonts.
+
+ * src/menus.C (ShowInsertMenu): rename "Figure" to "Graphic",
+ "Table" to "Table Box", "Float" to "Floating Material"; deletes
+ the "Float" from each of the subitems.
+ (ShowHelpMenu): add entry for "FAQ" and "TOC".
+
+ * src/support/DebugStream.h: add an #ifdef to work around a gcc
+ 2.8.x compiler error. Yes, I know, gcc 2.8.1 is bad, but I
+ documented the change so that the workaround can be nuked later.
+
+ * src/lyx_gui_misc.C (getScreenDPI): new function. Code moved from
+ LyX::init().
+
+ * src/lyxlex_pimpl.C (next): do not re-declare the default value
+ of arguments.
+ * src/buffer.C (getLatexName): ditto
+ (setReadonly): ditto
+
+2000-04-11 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/LaTeXFeatures.h: add a const reference to BufferParams, to
+ avoid some uses of current_view. Added also a bufferParams()
+ method to get at this.
+
+ * src/lyxtext.h: changed params->buffer and paramters->bparams.
+
+2000-04-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxparagraph.[Ch]: removed
+ operator<(LyXParagraph::InsetTable..., added a struct matchIT
+ with operators used by lower_bound and
+ upper_bound in InsetTable's
+ Make struct InsetTable private again. Used matchpos.
+
+2000-04-08 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/lyx_cb.C (DocumentApplyCB): When changing the language of the
+ document, the language of existing text is changed (unless the
+ document is multi-lingual)
+
+ * src/buffer.C (ChangeLanguage,isMultiLingual) New methods.
+
+ * src/paragraph.C (ChangeLanguage,isMultiLingual) New methods.
+
+ * A lot of files: A rewrite of the Right-to-Left support.
+
+2000-04-10 Juergen Vigna <jug@sad.it>
+
+ * src/BufferView2.C (showLockedInsetCursor): small bugfix for
+ misplaced cursor when inset in inset is locked.
+
+ * src/insets/insettext.C (LocalDispatch): small fix so that a
+ BREAKLINE is not inserted if we don't permit it with autBreakRows.
+
+ * src/insets/insetfoot.C (GetDrawFont): implemented this as the
+ footnote font should be decreased in size twice when displaying.
+
+ * src/insets/insettext.C (GetDrawFont): inserted this function as
+ the drawing-font may differ from the real paragraph font.
+
+ * src/lyxfunc.C (processKeyEvent): fixed Esc-handling when unlocking
+ insets (inset in inset!).
+
+ * src/insets/insetfoot.C (InsertInsetAllowed): implemented the below
+ function here because we don't want footnotes inside footnotes.
+
+ * src/insets/insettext.C (InsetText): forgot to set autoBreakRows for
+ Cloned insets.
+ (init): now set the inset_owner in paragraph.C
+ (LocalDispatch): added some resetPos() in the right position
+ (cutSelection):
+ (copySelection):
+ (pasteSelection): changed to use the new CutAndPaste-Class.
+
+ * src/insets/lyxinset.h: inserted new function InsertInsetAllowed
+ which tells if it is allowed to insert another inset inside this one.
+
+ * src/lyx_cb.C (DocumentApplyCB): Using CutAndPaste-Class for
+ SwitchLayoutsBetweenClasses.
+
+ * src/text2.C (InsertInset): checking of the new paragraph-function
+ InsertInsetAllowed.
+ (DeleteSimpleCutBuffer): removed (for now only with #ifdef) as this
+ is not needed anymore here!
+ (CutSelection):
+ (CopySelection):
+ (PasteSelection): redone (also with #ifdef) so that now this uses
+ the CutAndPaste-Class.
+ (SwitchLayoutsBetweenClasses): removed here and implemented in the
+ CutAndPaste-Class.
+
+ * src/CutAndPaste.[Ch]: added this for clean handling of CutAndPaste
+ from/to text/insets.
+
+ * src/paragraph.C (LyXParagraph): inserted new inset_owner pointer
+ so that the paragraph knows if it is inside an (text)-inset.
+ (InsertFromMinibuffer): changed return-value to bool as now it
+ may happen that an inset is not inserted in the paragraph.
+ (InsertInsetAllowed): this checks if it is allowed to insert an
+ inset in this paragraph.
+ (PasteParagraph):
+ (BreakParagraphConservative):
+ (BreakParagraph) : small change for the above change of the return
+ value of InsertFromMinibuffer.
+
+ * src/lyxparagraph.h: added inset_owner and the functions to handle
+ this (SetInsetOwner(), InInset() and InsertInsetAllowed()).
+
+2000-04-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/BufferView.[Ch], src/BufferView_pimpl.[Ch]: move more
+ functions from BufferView to BufferView::Pimpl to ease maintence.
+
+ * src/text2.C (DeleteEmptyParagraphMechanism): update the cursor
+ correctly. Also use SetCursorIntern instead of SetCursor.
+
+ * src/insets/insetinfo.C (draw): draw InsetInfo notes with the
+ correct color.
+
+2000-04-08 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/WorkArea.C (belowMouse): manually implement below mouse.
+
+ * src/*: Add "explicit" on several constructors, I added probably
+ some unneeded ones. A couple of changes to code because of this.
+
+ * src/BufferView.[Ch]: Used the "pimpl" idiom to hide more of the
+ implementation and private parts from the users of BufferView. Not
+ quite finished.
+
+ * src/lyxlex.[Ch]: Used the "pimpl" idiom to hide more of the
+ implementation and private parts from the users of LyXLex. Not
+ quite finished.
+
+ * src/BufferView_pimpl.[Ch]: new files
+
+ * src/lyxlex_pimpl.[Ch]: new files
+
+ * src/LyXView.[Ch]: some inline functions move out-of-line
+
+2000-04-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxparagraph.h: make struct InsetTable public.
+
+ * src/support/lyxstring.h: change lyxstring::difference_type to be
+ ptrdiff_t. Add std:: modifiers to streams.
+
+ * src/font.C: include the <cctype> header, for islower() and
+ isupper().
+
2000-04-03 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/font.[Ch]: new files. Contains the metric functions for