+2000-05-03 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
+
+ * lib/lyxrc.example: fix examples for exporting SGML to HTML.
+
+ * lib/configure.m4: better autodetection of DocBook tools.
+
+2000-04-28 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyx_main.C (easyParse): use lyxerr instead of cerr.
+
+ * src/lyx_cb.C: add using std::reverse;
+
+ * src/LaTeX.C (run): on error always run deleteFilesOnError before
+ returning.
+
+ * src/LaTeX.[Ch] (deleteFilesOnError): new method. unlinks some
+ selected files. Should fix repeated errors from generated files.
+
+2000-04-27 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/lyx_cb.C (TocUpdateCB): Reverse strings for Hebrew paragraphs
+
+ * src/spellchecker.C (RunSpellChecker): Reverse Hebrew strings in
+ the spellchecker popup.
+
+ * lib/lyxrc.example: Removed the \number_inset section
+
+2000-04-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/figinset.C (various): Use IsFileReadable() to make
+ sure that the file actually exist. Relying on ghostscripts errors
+ is a bad idea since they can lead to X server crashes.
+
+2000-04-27 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
+
+ * intl/loadmsgcat.c (_nl_load_domain): pass O_BINARY as flag to
+ open under CYGWIN
+
+ * lib/lyxrc.example: smallish typo in description of
+ \view_dvi_paper_option
+
+2000-04-26 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
+
+ * src/lyxfunc.h:
+ * src/lyxfunc.C: doImportHelper to factor out common code of the
+ various import methods. New functions doImportASCIIasLines,
+ doImportASCIIasParagraphs, doImportLaTeX, doImportNoWeb,
+ doImportLinuxDoc for the format specific parts.
+
+ * buffer.h:
+ * buffer.C: Dispatch returns now a bool to indicate success
+
+ * lyx_gui.h:
+ * lyx_gui.C: Add getLyXView() for member access
+
+ * lyx_main.C: Change logic for batch commands: First try
+ Buffer::Dispatch (possibly without GUI), if that fails, use
+ LyXFunc::Dispatch
+
+ * lyx_main.C: Add support for --import command line switch.
+ Now 'lyx --import ascii file.txt' opens the GUI with file.txt loaded.
+ Available Formats: Everything accepted by 'buffer-import <format>'
+
+2000-04-27 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyx_gui.C (create_forms): small oneliner from Garst to have
+ unnumbered parts.
+
+ * src/lyx_cb.C (ScreenApplyCB): clear the textcache so that the
+ documents will be reformatted upon reentry.
+
+2000-04-27 Juergen Vigna <jug@sad.it>
+
+ * src/CutAndPaste.C (pasteSelection): last paragraph was not returned
+ correctly only last pos this was a bug.
+
+2000-04-26 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * release of lyx-1.1.5pre1
+
+2000-04-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/insettabular.[Ch]: fix the Clone() declaration.
+
+ * src/menus.C: revert the change of naming (Figure->Graphic...)
+ from 2000-04-11. It was incomplete and bad.
+
+ * src/LColor.[Ch]: add LColor::depthbar.
+ * src/text.C (GetVisibleRow): use it.
+
+ * README: update the languages list.
+
+2000-04-25 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/text.C (GetVisibleRow): show the depth of paragraphs using
+ vertical bars.
+
+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
+ fonts, takes a LyXFont as parameter. Better separation of concepts.
+
+ * src/lyxfont.[Ch]: move the metric functions to font.[Ch] several
+ changes because of this.
+
+ * src/PainterBase.[Ch] (width): remove, use the ones in font.C instead
+
+ * src/*: compile with -Winline and move functions that don't
+ inline out of line.
+
+ * src/lyx_cb.C (stringOnlyContains): use string::find_first_not_of
+ instead of strspn.
+
+2000-04-02 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/paragraph.C (GetLabelstring): renamed from GetLabestring.
+ (various files changed because of this)
+
+ * src/Painter.C (text): fixed the drawing of smallcaps.
+
+ * src/lyxfont.[Ch] (drawText): removed unused member func.
+ (drawString): ditto
+
+ * src/*.C: added needed "using" statements and "std::" qualifiers.
+
+2000-03-31 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/*.h: removed all use of "using" from header files use
+ qualifier std:: instead.
+
+2000-04-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/text.C (Backspace): some additional cleanups (we already
+ know whether cursor.pos is 0 or not).
+
+ * lib/reLyX/Makefile.am (DESTDIR): add an empty value (since
+ automake does not provide one).
+
+ * src/bmtable.h: replace C++ comments with C comments.
+
+2000-04-02 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/screen.C (ShowCursor): Change the shape of the cursor if
+ the current language is not equal to the language of the document.
+ (If the cursor change its shape unexpectedly, then you've found a bug)
+
+ * src/insets/insettext.C (LocalDispatch, UpdateLocal) Fixed some
+ bugs [I hope...]
+
+ * src/insets/insetnumber.[Ch]: New files.
+
+ * src/LyXAction.C (init)
+ * src/lyxfunc.C (dispatch): Add command number-inset-insert
+
+ * lyxrc.example
+ * src/lyxrc.C: Renamed command \auto_mathmode to \number_inset
+
+ * src/lyxparagraph.h
+ * src/paragraph.C: Changed insetlist to Vector<InsetTable>.
+ (the vector is kept sorted).
+
+ * src/text.C (GetVisibleRow): Draw selection correctly when there
+ is both LTR and RTL text.
+
+ * src/paragraph.C (Clone): Use the assignment operator for cloning,
+ which is much faster.
+
+ * src/text.C (GetVisibleRow and other): Do not draw the last space
+ in a row if the direction of the last letter is not equal to the
+ direction of the paragraph.
+
+ * src/lyxfont.C (latexWriteStartChanges):
+ Check that font language is not equal to basefont language.
+ (latexWriteEndChanges): ditto
+
+ * src/lyx_cb.C (StyleReset): Don't change the language while using
+ the font-default command.
+
+ * src/paragraph.C (GetFirstFontSettings): Handle correctly an
+ empty paragraph before a footnote.
+
+ * src/insets/insetcommand.C (draw): Increase x correctly.
+
+ * src/screen.C (ShowCursor): Change cursor shape if
+ current language != document language.
+
+ * src/lyxfunc.C (dispatch): Added calls to owner->view()->setState()
+
+2000-03-31 Juergen Vigna <jug@sad.it>
+
+ * src/paragraph.C (GetInset): commented out text[pos] = ' '
+ (Clone): changed mode how the paragraph-data is copied to the
+ new clone-paragraph.
+
+ * src/lyxfunc.C (Dispatch): fixed small problem when calling
+ GetInset(pos) with no inset anymore there (in inset UNDO)
+
+ * src/insets/insetcommand.C (draw): small fix as here x is
+ incremented not as much as width() returns (2 before, 2 behind = 4)
+
+2000-03-30 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C (InsetText): small fix in initialize
+ widthOffset (should not be done in the init() function)
+
+2000-03-29 Amir Karger <karger@lyx.org>
+
+ * lib/examples/it_ItemizeBullets.lyx: translation by
+ Stefano Mastella
+
+ * Implemented \textasciitilde and fixed a tiny bug in reLyX
+
+2000-03-29 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insetcollapsable.C (Clone): same as in InsetFoot
+
+ * src/insets/insetfoot.C (Clone): small change as for the below
+ new init function in the text-inset
+
+ * src/insets/insettext.C (init): new function as I've seen that
+ clone did not copy the Paragraph-Data!
+ (LocalDispatch): Added code so that now we have some sort of Undo
+ functionality (well actually we HAVE Undo ;)
+
+ * src/text.C (Backspace): Small fix for the a | a Backspace problem
+
+2000-03-24 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/paragraph.C (AutoDeleteInsets) Fixed a bug (wrong positions
+ were erased)
+
+2000-03-22 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/main.C: added a runtime check that verifies that the xforms
+ header used when building LyX and the library used when running
+ LyX match. Exit with a message if they don't match. This is a
+ version number check only.
+
+ * src/buffer.C (save): Don't allocate memory on the heap for
+ struct utimbuf times.
+
+ * *: some using changes, use iosfwd instead of the real headers.
+
+ * src/lyxfont.C use char const * instead of string for the static
+ strings. Rewrite some functions to use sstream.
+
+2000-03-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/text.C (Backspace): hopefully fix the dreaded backaspace
+ bug.
+
+2000-03-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/layouts/svjog.layout: new file, for Springer-Verlag Journal
+ of Geodesy (from Martin Vermeer)
+
+ * lib/layouts/svjour.inc: include file for the Springer svjour
+ class. It can be used to support journals other than JoG.
+
+ * lib/Makefile.am: use $(DESTDIR) make variable (from Arkadiusz
+ Miskiewicz <misiek@pld.org.pl>)
+ * lib/reLyX/Makefile.am: ditto.
+
+2000-03-27 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C: added Cut/Copy/Paste inside insets,
+ also some modifications with operations on selected text.
+
+ * src/BufferView.C (checkInsetHit): Now hopefully fixed all the
+ problems with clicking on insets (last famous words ;)
+
+ * src/insets/insetcommand.C (draw):
+ (width): Changed to have a bit of space before and after the inset so
+ that the blinking cursor can be seen (otherwise it was hidden)
+
+2000-03-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * config/gettext.m4 (AM_WITH_NLS): fix a gettext bug where -lintl
+ would not be added to the link list when an installed gettext (not
+ part of libc) is found.
+
+2000-03-24 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insetcollapsable.C (Edit):
+ * src/mathed/formula.C (InsetButtonRelease):
+ (InsetButtonPress): fixed for new handling of ButtonPress/Release
+ handling.
+
+ * src/BufferView.C (workAreaButtonPress):
+ (workAreaButtonRelease):
+ (checkInsetHit): Finally fixed the clicking on insets be handled
+ correctly!
+
+ * src/insets/insetert.C (Edit): inserted this call so that ERT
+ insets work always with LaTeX-font
+
+2000-03-21 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
+
+ * src/lyx_main.C (easyParse): Removed misplaced gui=false which
+ caused lyx to startup with no GUI in place, causing in a crash
+ upon startup when called with arguments.
+
+2000-03-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/FontLoader.C: better initialization of dummyXFontStruct.
+
+2000-03-20 José Abílio Matos <jamatos@lyx.org>
+
+ * src/lyxrc.[Ch] Removed \sgml_extra_options, added 6 other flags
+ for linuxdoc and docbook import and export format options.
+
+ * lib/lyxrc.example Example of default values for the previous flags.
+
+ * src/lyx_cb.C Use those flags instead of the hardwired values for
+ linuxdoc and docbook export.
+
+ * src/lyxfunc.[Ch] Added HTML export for linuxdoc and docbook, added
+ linuxdoc import.
+
+ * src/menus.C Added menus entries for the new import/exports formats.
+
+2000-03-09 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
+
+ * src/lyxrc.*: Added support for running without Gui
+ (\use_gui false)
+
+ * src/FontLoader.C: sensible defaults if no fonts are needed
+
+ * src/lyx_cb.C: New function ShowMessage (writes either to the
+ minibuffer or cout in case of no gui
+ New function AskOverwrite for common stuff
+ Consequently various changes to call these functions
+
+ * src/lyx_main.C: allow gui = false and handle lyxrc \use_gui false
+ wild guess at sensible screen resolution when having no gui
+
+ * src/lyxfont.C: no gui, no fonts... set some defaults
+
+2000-03-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/LColor.C: made the command inset background a bit lighter.
+
+2000-03-20 Hartmut Goebel <goebel@noris.net>
+
+ * lib/layouts/stdstruct.inc: split into stdtitle.inc and
+ stdstruct.inc. Koma-Script added some title elements which
+ otherwise have been listed below "bibliography". This split allows
+ adding title elements to where they belong.
+
+ * lib/layouts/scrclass.inc: changed to include stdtitle.inc, then
+ define the additional tilte elements and then include
+ stdstruct.inc.
+
+ * many other layout files: changed to include stdtitle.inc just
+ before stdstruct.inc.
+
+2000-03-18 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/buffer.C: (save) Added the option to store all backup files
+ in a single directory
+
+ * src/lyxrc.[Ch]: Added variable \backupdir_path
+
+ * lib/lyxrc.example: Added descriptions of recently added variables
+
+ * src/insets/insetbib.[Ch]: Fixed few bugs (crash when editing a
+ bibtex inset, not closing the bibtex popup when deleting the inset)
+
+2000-03-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyx_cb.C: add a couple using directives.
+
+2000-03-17 José Abílio Matos <jamatos@lyx.org>
+ * src/lyx_cb.C (RunLinuxDoc) Removed the flag==-1 option for linuxdoc
+ import based on the filename.
+
+ * src/bufferlist.C () Removed the call to RunLinuxDoc where a linuxdoc
+ file would be imported at start, if the filename where of a sgml file.
+
+ * src/support/filetools.C (IsSGMLfilename) Removed, no longer needed.
+
+ * src/support/filetools.h (IsSGMLfilename) Removed, no longer needed.
+
+2000-03-16 Dekel Tsur <dekel@math.tau.ac.il>
+ * src/lyxfont.h Replaced the member variable bits.direction by the
+ member variable lang. Made many changes in other files.
+ This allows having a multi-lingual document
+
+ * src/lyxfunc.C, src/lyx_cb.C Added a new command "language <l>"
+ that change the current language to <l>.
+ Removed the command "font-rtl"
+
+ * src/buffer.C Changed LYX_FORMAT to 2.16 (as I changed the file
+ format for Hebrew documents)
+
+ * src/lyxrc.C, src/lyxfunc.C Added a new lyxrc command "auto_mathmode"
+ When auto_mathmode is "true", pressing a digit key in normal mode
+ will cause entering into mathmode.
+ If auto_mathmode is "rtl" then this behavior will be active only
+ when writing right-to-left text.
+
+ * src/text2.C (InsertStringA) The string is inserted using the
+ current font.
+
+ * src/paragraph.C (GetEndLabel) Gives a correct result for
+ footnote paragraphs.
+
+ * src/paragraph.C (PreviousBeforeFootnote) Fixed a small bug
+
+2000-03-16 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text.C (Backspace): move RemoveParagraph and RemoveRow in
+ front of PasteParagraph. Never insert a ' '. This should at least
+ fix some cause for the segfaults that we have been experiencing,
+ it also fixes backspace behaviour slightly. (Phu!)
+
+ * src/support/lstrings.C (compare_no_case): some change to make it
+ compile with gcc 2.95.2 and stdlibc++-v3
+
+ * src/text2.C (MeltFootnoteEnvironment): change type o
+ first_footnote_par_is_not_empty to bool.
+
+ * src/lyxparagraph.h: make text private. Changes in other files
+ because of this.
+ (fitToSize): new function
+ (setContentsFromPar): new function
+ (clearContents): new function
+ (SetChar): new function
+
+ * src/paragraph.C (readSimpleWholeFile): deleted.
+
+ * src/lyx_cb.C (InsertAsciiFile): don't use a LyXParagraph to hold
+ the file, just use a simple string instead. Also read the file in
+ a more maintainable manner.
+
+ * src/text2.C (InsertStringA): deleted.
+ (InsertStringB): deleted.
+
+2000-03-15 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text2.C (DeleteEmptyParagraphMechanism): don't run,
+ RedoParagraphs from the doublespace handling part, just set status
+ to NEED_MORE_REFRESH. Also don't update cursor position (should be
+ done, but perhaps not like this.)
+
+2000-03-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/text2.C (InsertStringA): don't forget to insert a META_INSET
+ character when inserting an inset.
+
+2000-03-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/bufferparams.C (readLanguage): now takes "default" into
+ consideration.
+
+ * src/lyx_main.C (LyX): remove the setup of lyxrc. (new)
+ also initialize the toplevel_keymap with the default bindings from
+ lyxrc.
+
+ * src/buffer.C (Buffer): remove lyxrc from the parameters.
+
+ * all files using lyxrc: have lyxrc as a real variable and not a
+ pointer. remove all extern LyXRC * lyxrc. The equiv to this is
+ done in lyxrc.h.
+
+ * src/lyxrc.C: remove double call to defaultKeyBindings
+
+ * src/toolbar.[Ch]: Let the ToolbarDefaults handle the reading of
+ toolbar defauls using lyxlex. Remove enums, structs, functions
+ related to this.
+
+ * src/lyxrc.h: use ToolbarDefaults instead of Toolbar for storing
+ toolbar defaults. Also store default keybindings in a map.
+
+ * src/ToolbarDefaults.[Ch]: New file. This class is used for
+ storing the toolbar defaults without any xforms dependencies.
+
+ * src/insets/figinset.C: patch posted to list by Andre Poenitz
+ applied. Changed to use iterators.
+
+2000-03-11 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
+
+ * development/lyx.spec.in: Fix to ``unset LINGUAS'' line for
+ systems that don't have LINGUAS set to begin with.
+
+2000-03-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text2.C (DeleteEmptyParagraphMechanism): small fix posted to
+ the list by Dekel Tsur.
+
+2000-03-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/insetgraphics.C (GraphicxCB): declare with "C" linkage.
+ * src/insets/form_graphics.C: ditto.
+
+ * src/insets/inseturl.C (Latex): the free_spc argument is not used.
+
+2000-03-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/bufferparams.C (readLanguage): use the new language map
+
+ * src/intl.C (InitKeyMapper): use the new language map
+
+ * src/lyx_gui.C (create_forms): use the new language map
+
+ * src/language.[Ch]: New files. Used for holding the information
+ about each language. Now! Use this new language map enhance it and
+ make it really usable for our needs.
+
+2000-03-09 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * screen.C (ShowCursor): Removed duplicate code.
+ (ShowManualCursor): Support for 3 cursor shapes: Bar (default),
+ L (LTR text in RTL document), and reversed-L (RTL text in LTR document)
+
+ * src/text.C (NextBreakPoint,Fill): Moved declaration of left_margin
+
+ * src/lyxtext.h
+ * src/text.C Added TransformChar method. Used for rendering Arabic
+ text correctly (change the glyphs of the letter according to the
+ position in the word)
+
+ * src/buffer.C
+ * src/paragraph.C
+ * src/lyxrc.h
+ * src/lyxrc.C Added lyxrc command {language_command_begin,
+ language_command_end,language_command_ltr,language_command_rtl,
+ language_package} which allows the use of either arabtex or Omega
+ for Arabic
+
+ * src/lyx_gui.C (init)
+ * src/lyxrc.h
+ * src/lyxrc.C Added lyxrc command screen_font_encoding_menu. Allows
+ to use encoding for menu fonts which is different than the encoding
+ for screen fonts
+
+ * src/buffer.C (makeLaTeXFile): If params.language = "default",
+ do not load the babel package.
+ To write an English document with Hebrew/Arabic, change the document
+ language to "english".
+
+ * src/text2.C (SetCounter): Fixed appendix labels for Hebrew document
+ (alphaCounter): changed to return char
+ (loweralphaCounter, hebrewCounter, romanCounter): New functions
+
+ * lib/lyxrc.example Added examples for Hebrew/Arabic
+
+ * src/layout.h
+ * src/layout.C Added layout command endlabeltype
+
+ * src/paragraph.C Added GetEndLabel(),LastPhysicalPar() const
+
+ * src/text.C (GetVisibleRow): Draw a box at the end of proof layout
+
+2000-03-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/math_delim.C (search_deco): return a
+ math_deco_struct* instead of index.
+
+2000-03-09 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * All files with a USE_OSTREAM_ONLY within: removed all code that
+ was unused when USE_OSTREAM_ONLY is defined.
+
+ * src/support/lyxalgo.h (sorted): rewrote to use plain '<' instead
+ of any less. Removed header and using.
+
+ * src/text.C (GetVisibleRow): draw the string "Page Break
+ (top/bottom)" on screen when drawing a pagebreak line.
+
+2000-03-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/doc/LaTeXConfig.lyx.in: add description of textclass llncs.
+
+ * src/mathed/math_macro.C (draw): do some cast magic.
+ (Metrics): ditto.
+
+ * src/mathed/math_defs.h: change byte* argument to byte const*.
+
+ * src/mathed/formulamacro.[Ch]: add free_spc to Latex() method.
+
+ * src/insets/insetfoot.[Ch]: Clone() always returns an Inset* (well I
+ know it is right to return InsetFoot* too, but cxx does not like
+ it...).
+
+ * src/insets/insetcollapsable.[Ch] (Clone): make const.
+
+ * development/lyx.spec.in: unset LINGUAS to avoid i18n problems.
+
+ * src/mathed/math_delim.C: change == to proper assignment.
+
+2000-03-09 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C (setPos): fixed various cursor positioning
+ problems (via mouse and cursor-keys)
+ (LocalDispatch): added posibility to add a Ctrl-Enter inside a text
+ inset (still a small display problem but it works ;)
+
+ * src/insets/insetcollapsable.C (draw): added button_top_y and
+ button_bottom_y to have correct values for clicking on the inset.
+
+ * src/support/lyxalgo.h: commented out 'using std::less'
+
+2000-03-08 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insetcollapsable.C (InsetButtonRelease): Now a
+ Button-Release event closes as it is alos the Release-Event
+ which opens it.
+
+ * src/lyxfunc.C (Dispatch): forgot a break in the LFUN_INSET_ERT
+
+2000-03-07 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
+
+ * lib/layouts/literate-scrap.inc: Fixed initial comment. Now we
+ can add multiple spaces in Scrap (literate programming) styles...
+ which, by the way, is how I got hooked on LyX to begin with.
+
+ * src/mathed/formula.C (Write): Added dummy variable to an
+ inset::Latex() call.
+ (Latex): Add free_spacing boolean to inset::Latex()
+
+ * src/mathed/formula.h (Latex): Added free_spacing boolean arg.
+
+ * src/insets/lyxinset.h: Changed definition of the inset::Latex()
+ virtual function to include the free_spacing boolean from
+ the containing paragraph's style.
+
+ * src/insets/inseturl.C, src/insets/inseturl.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insettext.C, src/insets/insettext.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetspecialchar.C, src/insets/insetspecialchar.h (Latex):
+ Added free_spacing boolean and made sure that if in a free_spacing
+ paragraph, that we output normal space if there is a protected space.
+
+ * src/insets/insetref.C, src/insets/insetref.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetquotes.C, src/insets/insetquotes.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetparent.C, src/insets/insetparent.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetlatexaccent.C, src/insets/insetlatexaccent.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetlatex.C, src/insets/insetlatex.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetlabel.C, src/insets/insetlabel.h (Latex): Added
+ free_spacing boolean arg to match inset.h
+
+ * src/insets/insetinfo.C, src/insets/insetinfo.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetinclude.C, src/insets/insetinclude.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetgraphics.C, src/insets/insetgraphics.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/inseterror.C, src/insets/inseterror.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetcommand.C, src/insets/insetcommand.h (Latex):
+ Added free_spacing boolean arg to match inset.h
+
+ * src/insets/insetbib.C, src/insets/insetbib.h (Latex): Added
+ free_spacing boolean arg to match inset.h
+
+ * src/insets/figinset.C, src/insets/figinset.h (Latex): Added
+ free_spacing boolean arg to match inset.h
+
+ * src/text2.C (DeleteEmptyParagraphMechanism): Fix this to
+ ignore free_spacing paragraphs. The user's spaces are left
+ alone.
+
+ * src/text.C (InsertChar): Fixed the free_spacing layout
+ attribute behavior. Now, if free_spacing is set, you can
+ add multiple spaces in a paragraph with impunity (and they
+ get output verbatim).
+ (SelectSelectedWord): Added dummy argument to inset::Latex()
+ call.
+
+ * src/paragraph.C (TeXOnePar): Added dummy args to inset::Latex(...)
+ calls.
+
+ * src/lyxfunc.C (Dispatch): Hard-spaces input in free_spacing
+ paragraph layouts now only input a simple space instead.
+ Special character insets don't make any sense in free-spacing
+ paragraphs.
+
+ * src/buffer.C (parseSingleLyXformat2Token): Code to convert
+ hard-spaces in the *input* file to simple spaces if the layout
+ is free-spacing. This converts old files which had to have
+ hard-spaces in free-spacing layouts where a simple space was
+ preferrable.
+ (writeFileAscii): Added free_spacing check to pass to the newly
+ reworked inset::Latex(...) methods. The inset::Latex() code
+ ensures that hard-spaces in free-spacing paragraphs get output
+ as spaces (rather than "~").
+
+2000-03-09 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/math_delim.C (draw): draw the empty placeholder
+ delims with a onoffdash line.
+ (struct math_deco_compare): struct that holds the "functors" used
+ for the sort and the binary search in math_deco_table.
+ (class init_deco_table): class used for initial sort of the
+ math_deco_table.
+ (search_deco): use lower_bound to do a binary search in the
+ math_deco_table.
+
+2000-03-08 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxrc.C: a small secret thingie...
+
+ * src/lyxlex.C (printTable): changed to take a ostream as paramter
+ and to not flush the stream as often as it used to.
+
+ * src/support/lyxalgo.h: new file
+ (sorted): template function used for checking if a sequence is
+ sorted or not. Two versions with and without user supplied
+ compare. Uses same compare as std::sort.
+
+ * src/lyxlex.C (LyXLex): check if the table is sorted, if not sort
+ it and give warning on lyxerr.
+ (pushTable): ditto
+ (struct compare_tags): struct with function operators used for
+ checking if sorted, sorting and lower_bound.
+ (search_kw): use lower_bound instead of manually implemented
+ binary search.
+
+2000-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/insetcollapsable.h: fix Clone() declaration.
+ * src/insets/insetfoot.h: ditto.
+
+ * src/insets/lyxinset.h: remove an extra comma at the end of enum.
+
+2000-03-08 Juergen Vigna <jug@sad.it>
+
+ * src/insets/lyxinset.h: added owner call which tells us if
+ this inset is inside another inset. Changed also the return-type
+ of Editable to an enum so it tells clearer what the return-value is.
+
+ * src/insets/insettext.C (computeTextRows): fixed computing of
+ textinsets which split automatically on more rows.
+
+ * src/insets/insetert.[Ch]: changed this to be of BaseType
+ InsetCollapsable.
+
+ * src/insets/insetfoot.[Ch]: added footnote inset
+
+ * src/insets/insetcollapsable.[Ch]: added this BaseClass for
+ collapsable insets (like footnote, ert, ...)
+
+2000-03-08 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxdraw.h: remvoe file
+
+ * src/lyxdraw.C: remove file
+
+ * src/insets/insettext.C: added <algorithm>.
+
+2000-03-07 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/math_panel.C (delim_cb): case MM_OK use string stream
+ (matrix_cb): case MM_OK use string stream
+
+ * src/mathed/formula.C (LocalDispatch): case LFUN_SETXY use string
+ stream.
+
+ * src/mathed/math_macro.C (draw): use string stream
+ (Metrics): use string stream
+
+ * src/paragraph.C (TeXFootnote): for case LyXParagraph::FIG, write
+ directly to the ostream.
+
+ * src/vspace.C (asString): use string stream.
+ (asString): use string stream
+ (asLatexString): use string stream
+
+ * src/lyx_cb.C (UpdateLayoutDocument): use string stream for
+ setting Spacing::Other.
+
+ * src/LaTeXFeatures.C (getPackages): use string stream instead of
+ sprintf when creating the stretch vale.
+
+ * src/text2.C (alphaCounter): changed to return a string and to
+ not use a static variable internally. Also fixed a one-off bug.
+ (SetCounter): changed the drawing of the labels to use string
+ streams instead of sprintf.
+
+ * src/support/lyxmanip.h: rewrite the newlineanDepth ostream
+ manipulator to use a scheme that does not require library support.
+ This is also the way it is done in the new GNU libstdc++. Should
+ work with DEC cxx now.
+
+2000-03-06 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/math_inset.h (Write(ostream & os): add a space at the
+ end. This fixes a bug.
+
+ * src/mathed (all files concerned with file writing): apply the
+ USE_OSTREAM_ONLY changes to mathed too.
+
+ * src/support/DebugStream.h: make the constructor explicit.
+
+ * src/lyxfont.C (latexWriteStartChanges): small bug related to
+ count and ostream squashed.
+
+2000-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/Makefile.am (libsupport_la_SOURCES): add lyxmanip.h.
+
+ * src/buffer.C (makeLaTeXFile): add a .c_str(), since
+ ostringstream uses STL strings, and we might not.
+
+ * src/insets/insetspecialchar.C: add using directive.
+ * src/insets/insettext.C: ditto.
+
+2000-03-06 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * lib/layouts/seminar.layout: feeble attempt at a layout for
+ seminar.cls, far from completet and could really use some looking
+ at from people used to write layout files.
+
+ * src/support/lyxmanip.h (newlineAndDepth): ostream manipulator to
+ use instead of the AddNewlineAndDepth funtion in lyx_cb.C. This is
+ a lot nicer and works nicely with ostreams.
+
+ * src/mathed/formula.C (draw): a slightly different solution that
+ the one posted to the list, but I think this one works too. (font
+ size wrong in headers.)
+
+ * src/insets/insettext.C (computeTextRows): some fiddling on
+ Jürgens turf, added some comments that he should read.
+
+ * src/lyxrc.C: remove all traces of RC_NOMENUACCELERATORS, never
+ used and it gave compiler warnings.
+ RC_SHOW_BANNER + "\\show_banner" added, also to reading and
+ writing of lyxrc.
+
+ * src/lyx_gui.C (create_forms): do the right thing when
+ show_banner is true/false.
+
+ * src/lyx_cb.C (TimerCB): no need to close or do anything if
+ show_banner is false.
+
+ * most file writing files: Now use iostreams to do almost all of
+ the writing. Also instead of passing string &, we now use
+ stringstreams. mathed output is still not adapted to iostreams.
+ This change can be turned off by commenting out all the occurences
+ of the "#define USE_OSTREAM_ONLY 1" lines.
+
+ * src/WorkArea.C (createPixmap): don't output debug messages.
+ (WorkArea): don't output debug messages.
+
+ * lib/lyxrc.example: added a comment about the new variable
+ \show_banner
+
+ * development/Code_rules/Rules: Added some more commente about how
+ to build class interfaces and on how better encapsulation can be
+ achieved.
+
+2000-03-03 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insetert.C (InsetERT): Now ERT-insets break row
+ automatically with the width of the LyX-Window
+
+ * src/insets/insettext.C (computeTextRows): fixed update bug in
+ displaying text-insets (scrollvalues where not initialized!)
+
+2000-03-02 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/math_utils.C (MathedLookupBOP): using only res->id ==
+ id in the check of the result from lower_bound is not enough since
+ lower_bound can return last too, and then res->id will not be a
+ valid construct.
+
+ * all insets and some code that use them: I have conditionalized
+ removed the Latex(string & out, ...) this means that only the
+ Latex(ostream &, ...) will be used. This is a work in progress to
+ move towards using streams for all output of files.
+
+ * src/text.C (GetColumnNearX): initialize LyXParagraph::size_type
+ c to 0.
+
+2000-03-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/math_utils.C (MathedLookupBOP): fix the search
+ routine (this fixes bug where greek letters were surrounded by too
+ much white space).
+
+ * src/support/filetools.C (findtexfile): change a bit the search
+ algorithm, to fix bug introduced in 1.1.4. Note that --format is
+ no longer passed to kpsewhich, we may have to change that later.
+
+ * config/lyxinclude.m4 (LYX_PROG_CXX): better version-dependent
+ warning options to avoid problems with X header files (from Angus
+ Leeming).
+ * acinclude.m4: regenerated.
+
+2000-03-02 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettext.C (WriteParagraphData): Using the
+ par->writeFile() function for writing paragraph-data.
+ (Read): Using buffer->parseSingleLyXformat2Token()-function
+ for parsing paragraph data!
+
+ * src/buffer.C (readLyXformat2): removed all parse data and using
+ the new parseSingleLyXformat2Token()-function.
+ (parseSingleLyXformat2Token): added this function to parse (read)
+ lyx-file-format (this is called also from text-insets now!)
+
+2000-03-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/paragraph.C (BeginningOfMainBody): initialize previous_char
+ and temp.
+
+ * src/lyxfunc.C (Dispatch(LFUN_MENUSEARCH)): Do the Search dialog
+ directly instead of going through a func. One very bad thing: a
+ static LyXFindReplace, but I don't know where to place it.
+
+ * src/lyxfr1.C (GetCurrentSelectionAsString): rewritten to use a
+ string instead of char[]. Also changed to static.
+ (GetSelectionOrWordAtCursor): changed to static inline
+ (SetSelectionOverLenChars): ditto.
+
+ * src/lyxfr0.[Ch] src/lyxfr1.[Ch]: rewrite to get rid of
+ current_view and global variables. both classes has changed names
+ and LyXFindReplace is not inherited from SearchForm.
+
+ * src/lyx_gui_misc.C (CloseAllBufferRelatedPopups): remove the
+ fl_form_search form.
+
+ * src/lyx_gui.C (create_forms): removed the fl_form_search form.
+
+2000-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/bind/*.bind: make sure 'buffer-previous' function is not
+ bound (from Kayvan).
+
+ * src/insets/Makefile.am (libinsets_la_SOURCES): add BoundingBox.h.
+
+ * lib/layouts/stdletter.inc: fix line spacing in Send_To_Address.
+
+2000-03-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * some things that I should comment but the local pub says head to
+ swirly...
+
+ * comment out all code that belongs to the Roff code for Ascii
+ export of tables. (this is unused)
+
+ * src/LyXView.C: use correct type for global variable
+ current_layout. (LyXTextClass::size_type)
+
+ * some code to get the new insetgraphics closer to working I'd be
+ grateful for any help.
+
+ * src/BufferView2.C (insertInset): use the return type of
+ NumberOfLayout properly. (also changes in other files)
+
+ * src/insets/insetspecialchar.[Ch]: add the PROTECTED SEPARATOR to
+ this as a test. I want to know what breaks because of this.
+
+ * src/BufferView.[Ch] (tripleClick): name change from trippleClick.
+
+2000-02-29 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * lib/layouts/stdlists.inc: changed the lyxlist latex definition
+ to use a \makebox in the label, this allows proper justification
+ with out using protected spaces or multiple hfills. Now it is
+ "label" for left justified, "\hfill label\hfill" for center, and
+ "\hfill label" for right justified. UserGuide.lyx sec. 3.3.6.5
+ should be changed accordingly.
+
+2000-02-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxtext.h: change SetLayout() to take a
+ LyXTextClass::size_type instead of a char (when there is more than
+ 127 layouts in a class); also change type of copylayouttype.
+ * src/text2.C (SetLayout): ditto.
+ * src/LyXView.C (updateLayoutChoice): ditto.
+
+ * src/LaTeX.C (scanLogFile): errors where the line number was not
+ given just after the '!'-line were ignored (from Dekel Tsur).
+
+ * lib/lyxrc.example: fix description of \date_insert_format
+
+ * lib/layouts/llncs.layout: new layout, contributed by Martin
+ Vermeer.
+
+2000-02-25 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * config/lyxinclude.m4 (LYX_PROG_CXX): remove case support for gcc
+ 2.7.* and add case support for gcc 2.96*. Gcc 2.96 only exists in
+ cvs at gcc.gnu.org (currently it fails with ICE on insetbib.C,
+ insetindex.C, insetloa.C, insettext.C, filetools.C, BufferView.C,
+ BufferView2.C, LyXView.C, buffer.C, lyx_cb.C, lyxfunc.C,
+ paragraph.C, text.C, text2.C)
+
+2000-02-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/insettext.C (LocalDispatch): remove extra break
+ statement.
+
+ * src/insets/insetert.[Ch] (Clone): change return value to Inset*
+ * src/insets/insettext.[Ch] (Clone): change return value to Inset*
+
+ * src/mathed/formulamacro.[Ch] (draw): add missing const qualifier
+ * src/insets/insettext.[Ch] (GetCursorPos): ditto
+
+ * src/insets/insetbib.h: move InsetBibkey::Holder and
+ InsetCitation::Holder in public space.
+
+2000-02-25 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insettext.h: small change to get the new files from
+ Juergen to compile (use "string", not "class string").
+
+ * src/insets/insettext.[Ch], src/insets/insertert.[Ch]: use string
+ const & as parameter to LocalDispatch, use LyXFont const & as
+ paramter to some other func. This also had impacto on lyxinsets.h
+ and the two mathed insets.
+
2000-02-24 Juergen Vigna <jug@sad.it>
* src/buffer.C: