]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
remove the lyx_focus and work_area_focus stuff
[lyx.git] / ChangeLog
index 198d7db07acec05ba0135ea38ef971c115a74d11..6c8f432e980d6a45e0ccdfafefc0401b7b10d6f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,303 @@
+2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/BufferView_pimpl.h: remove member variables lyx_focus and
+       work_area_focus
+
+       * src/BufferView_pimpl.C (Pimpl): delete init of work_area_focus
+       and lyx_focus
+       (cursorToggle): remove special handling of lyx focus.
+
+2000-06-28  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (GetVisibleRow): fixed clearing of text if rowHeight >
+       insetHeight.
+
+2000-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/insetindex.C (Edit): add a callback when popup is
+       closed by the WM.
+
+       * src/insets/insettext.C (LocalDispatch): 
+       * src/insets/insetmarginal.h: 
+       * src/insets/insetlist.h: 
+       * src/insets/insetfoot.h: 
+       * src/insets/insetfloat.h: 
+       * src/insets/insetert.h: add a missing std:: qualifier.
+
+2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/lyxsum.C (sum): '\0' teminate file read when using
+       strstream. 
+
+       * src/insets/lyxinset.h: add FLOAT_CODE and MINIPAGE_CODE
+
+       * src/insets/insettext.C (Read): remove tmptok unused variable
+       (LocalDispatch): add not working LFUN_PARAGRAPH_SPACING
+       (InsertInset): change for new InsetInset code
+
+       * src/insets/insettext.h: add TEXT inline method
+
+       * src/insets/insettext.C: remove TEXT macro
+
+       * src/insets/insetmarginal.C (Write): new method
+       (Latex): change output slightly
+
+       * src/insets/insetfoot.C (Write): new method
+       (Latex): change output slightly (don't use endl when no need)
+
+       * src/insets/insetert.C (Write): new method
+
+       * src/insets/insetcollapsable.h: make button_length, button_top_y
+       and button_bottm_y protected.
+
+       * src/insets/insetcollapsable.C (Write): simplify code by using
+       tostr. Also do not output the float name, the children class
+       should to that to get control over own arguments
+
+       * src/insets/insetfloat.[Ch] src/insets/insetlist.[Ch]
+       src/insets/insetminipage.[Ch]:
+       new files
+
+       * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
+       
+       * src/lyxfunc.C (Dispatch): cases for new insets/commands
+
+       * src/Makefile.am (lyx_SOURCES): add the new files
+
+       * src/LyXAction.C (init): add LFUN_INSET_MARGINAL,
+       LFUN_INSET_MINIPAGE, LFUN_INSET_FLOAT, LFUN_INSET_LIST
+       * src/commandtags.h: ditto
+       
+       * src/LaTeXFeatures.h: add a std::set of used floattypes
+
+       * src/LaTeXFeatures.C (getPackages): add basic support for float.sty
+
+       * src/FloatList.[Ch] src/Floating.h: new files
+
+       * src/CutAndPaste.C (SwitchLayoutsBetweenClasses): change call to
+       InsertInset. 
+       * src/lyx_cb.C (TableApplyCB): ditto
+       * src/text.C: ditto
+       * src/text2.C: ditto
+       * src/buffer.C (SimpleLinuxDocOnePar): ditto
+       (parseSingleLyXformat2Token): ditto + add code for
+       backwards compability for old float styles + add code for new insets
+       
+       * src/lyxparagraph.[Ch] (InsertChar(size_type, char, LyXFont)): new
+       method
+       (InsertInset(size_type, Inset *, LyXFont)): new method
+       (InsetChar(size_type, char)): changed to use the other InsetChar
+       with a LyXFont(ALL_INHERIT).
+       (InsetInset(size_type, Inset*)): changed to use InsetChar to
+       insert the META_INSET.
+       
+       * sigc++/thread.cc (Privete<int>::operator int&): move definition
+       out of line. 
+       * sigc++/thread.h (Threads): from here
+
+       * sigc++/scope.cc (ScopeIterator_::ScopeIterator_): move
+       definition out of line
+       * sigc++/scope.h: from here
+
+2000-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxrc.C (read): make sure the .kmap files exist when a keymap
+       is specified (adapted from a patch from edscott <edscott@imp.mx>).
+
+       * Makefile.am (bindist): new target.
+
+       * INSTALL: add instructions for doing a binary distribution.
+
+       * development/tools/README.bin.example: update a bit. 
+
+2000-06-26  Lior Silberman <slior@math.huji.ac.il>
+
+       * src/lyxrc.C: 
+       * lib/lyxrc.example: new lyxrc tag \set_color.
+
+       * src/lyxfunc.C (Dispatch): 
+       * src/commandtags.h: 
+       * src/LyXAction.C: new lyxfunc "set-color".
+
+       * src/LColor.[Ch] (setColor): new method to set colors from a lyxname
+       and an x11name given as strings.
+
+       * src/ColorHandler.[Ch] (updateColor): new method. Updates the GC
+       cache when a color is changed.
+
+2000-06-26  Juergen Vigna  <jug@sad.it>
+
+       * src/lyxrow.C (width): added this functions and variable.
+
+       * src/insets/insetcite.C (create_form_citation_form): some Gravity
+       changes.
+
+       * src/text.C (SetHeightOfRow): fixed calcualting of width.
+
+2000-06-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * images/undo_bw.xpm: new icon.
+       * images/redo_bw.xpm: ditto.
+
+       * configure.in (INSTALL_SCRIPT): change value to
+       ${INSTALL} to avoid failures of install-script target.
+       * lib/reLyX/configure.in (INSTALL_SCRIPT): ditto
+
+       * src/BufferView.h: add a magic "friend" declaration to please
+       compaq cxx.
+
+2000-06-23  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * forms/cite.fd: modified to allow resizing without messing
+       up the dialog.
+
+       * src/insetcite.C: Uses code from cite.fd almost without
+       tweaking. ;-)
+       User can now resize dialog in the x-direction.
+       Resizing the dialog in the y-direction is prevented, as the
+       code does this intelligently already.
+
+2000-06-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * INSTALL: remove obsolete entry in "problems" section.
+
+       * lib/examples/sl_*.lyx: update of the slovenian examples.
+
+       * src/support/FileInfo.[Ch] (getBlockSize): remove.
+
+2000-06-23  Juergen Vigna  <jug@sad.it>
+
+       * src/lyxtext.h: added a 'cleared' flag to draw() function.
+
+       * src/buffer.C (resize): delete the LyXText of textinsets.
+
+       * src/paragraph.C (SetInsetOwner): set the owner in the insets too.
+
+       * src/insets/lyxinset.h: added another parameter 'cleared' to
+       the draw() function.
+
+       * src/lyxfunc.C (processKeyEvent): move cursor to the right of the
+       unlocking inset in inset.
+
+2000-06-22  Juergen Vigna  <jug@sad.it>
+
+       * src/lyxscreen.h: added some y_offset/x_offset parameters for drawings
+       of insets and moved first to LyXText.
+
+       * src/mathed/formulamacro.[Ch]:
+       * src/mathed/formula.[Ch]: changed prototype of draw() and GetCursorPos
+
+2000-06-21  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (GetVisibleRow): look if I should clear the area or not
+       using Inset::doClearArea() function.
+
+       * src/insets/lyxinset.h: added doClearArea() function and
+       modified draw(Painter &, ...) to draw(BufferView *, ...)
+
+       * src/text2.C (UpdateInset): return bool insted of int
+
+2000-06-20  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyx_gui.C (create_forms): Add "Reset" option to the language 
+       combox in the character popup
+
+       * src/lyx_cb.C (UserFreeFont): Add argument to the method:
+       BufferParams const & params
+
+2000-06-20  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (SetParagraphData): set insetowner on
+       2- paragraphs.
+
+2000-06-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/Timeout.[Ch]: Change to use signals instead of callbacks.
+       * src/LyXView.h (struct FD_form_main): remove, LyXView inherits
+       from SigC::Object
+       (form_main_): remove
+       
+       * src/LyXView.C (LyXView_AutosaveTimerCB): remove 
+       (create_form_form_main): remove FD_form_main stuff, connect to
+       autosave_timeout signal
+
+       * src/LyXView.[Ch] (getMainForm): remove 
+       (UpdateTimerCB): remove
+       * src/BufferView_pimpl.h: inherit from SigC::Object
+
+       * src/BufferView_pimpl.C (Pimpl): connect to cursor_timeout with
+       signal instead of callback
+
+       * src/BufferView.[Ch] (cursorToggleCB): remove 
+
+2000-06-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/BufferView_pimpl.C: changes because of the one below
+
+       * src/screen.[Ch]: Made the lyxscreen take LyXText as argument
+       instead of storing a pointer to a LyXText. 
+
+       * src/buffer.[Ch]: apply Baruch's remove isdviclean patch. 
+
+2000-06-10  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/lyxparagraph.h
+
+       * src/paragraph.C: Changed fontlist to a sorted vector.
+                                         
+2000-06-19  Juergen Vigna  <jug@sad.it>
+
+       * src/BufferView.h: added screen() function.
+
+       * src/insets/insettext.C (LocalDispatch): some selection code
+       fixed.
+
+       * src/vspace.C (nextToken): use stringfunctions instead of sscanf.
+
+       * src/insets/insettext.C (SetParagraphData):
+       (Read): 
+       (InsetText):  fixes for multiple paragraphs.
+
+2000-06-17  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * development/lyx.spec.in: Call configure with ``--without-warnings''
+       to work around a bug with the Makefiles when doing ``make lyxrpm''.
+       This should be fine, however, since we generally don't want to be
+       verbose when making an RPM.
+       
+2000-06-16  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * lib/scripts/fig2pstex.py: New file
+
+2000-06-16  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (UpdateLocal): 
+       * src/insets/insettext.C (UpdateLocal): fixed mark_dirty problem.
+       (LocalDispatch): Changed all functions to use LyXText.
+
+2000-06-15  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (SetHeightOfRow): call inset::update before requesting
+       any width/height.
+
+       * src/insets/insettext.C (update): 
+       * src/insets/insettabular.C (update): added implementation
+
+       * src/insets/lyxinset.h: added update function
+
+2000-06-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/text.C (SelectNextWord): protect against null pointers with
+       old-style string streams. (fix from Paul Theo Gonciari
+       <gptheo@yahoo.com>) 
+
+       * src/cite.[Ch]: remove erroneous files.
+
+       * lib/configure.m4: update the list of created directories.
+
+       * src/lyxrow.C: include <config.h>
+       * src/lyxcursor.C: ditto.
+
 2000-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * lib/examples/decimal.lyx: new example file from Mike.