]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
Few more update text-inset issues + some fixes, see ChangeLog.
[lyx.git] / ChangeLog
index 3015d594dd2f74c11d501ccaa9358e3dc6002831..7a55ceaf21f8ccbd1edcb3b42bcf023c824abe52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,294 @@
+2000-07-05  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/lyxinset.h: changed Painter & in ascent(), descent()
+       calls to BufferView *.
+
+       * src/insets/insettext.C (checkAndActivateInset): small fix non
+       HIGHLY_EDITABLE insets should not be entered by cursor-move-over!
+
+       * src/insets/insetcommand.C (Read): Fixed as insets should read till
+       their \end_inset token!
+
+2000-07-04  edscott  <edscott@imp.mx>
+
+       * src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
+       lib/lyxrc.example: added option \wheel_jump
+
+2000-07-04   R. Lahaye  <lahaye@postech.ac.kr>
+
+       * src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
+       remove support for -width,-height,-xpos and -ypos.
+
+2000-07-01  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/encoding.[Ch]: New files.
+
+       * src/painter.C (text(int,int,XChar2b const *,...)): New method.
+       (text): Call to the underline() method only when needed.
+
+       * src/font.C (XTextWidth16,width(XChar2b const *,...)): New methods.
+
+       * src/buffer.C (makeLaTeXFile): Compute automatically the input
+         encoding(s) for the document.
+
+       * src/bufferparams.C (BufferParams): Changed default value of
+       inputenc to "auto".
+
+       * src/language.C (newLang): Removed.
+       (items[]): Added encoding information for all defined languages.
+
+       * src/lyx_gui.C (create_forms): Added "auto" option to the input
+       encoding choice button.
+
+       * src/lyxrc.h (font_norm_type): New member variable.
+       (set_font_norm_type): New method.
+
+       * src/paragraph.C (TeXOnePar): Put "\inputencoding{}" between
+       paragraphs with different encodings.                          
+
+       * src/text.C (is_arabic, is_nikud, TransformChar): Moved to encoding.C
+       (TransformChar): Changed to work correctly with Arabic points.
+       (draw): Added support for drawing Arabic points.
+       (draw): Removed code for drawing underbars (this is done by
+       the Painter!)
+
+       * src/support/textutils.h (IsPrintableNonspace): New function.
+
+       * src/BufferView_pimpl.h: Added "using SigC::Object".
+       * src/LyXView.h: ditto.
+
+       * src/insets/insetinclude.h (include_label): Changed to mutable.
+
+2000-07-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/mathed/math_iter.h: remove empty destructor
+
+       * src/mathed/math_cursor.h: remove empty destructor
+
+       * src/insets/lyxinset.h: add THEOREM_CODE
+
+       * src/insets/insettheorem.[Ch]: new files 
+
+       * src/insets/insetminipage.C: (InsertInset): remove
+
+       * src/insets/insetmarginal.C: inherit from InsetFootLike instead
+       of InsetCollapsable
+       (InsertInset): remove
+
+       * src/insets/insetlist.C: (InsertList): remove
+
+       * src/insets/insetfootlike.[Ch]: new files 
+
+       * src/insets/insetfoot.C: inherit from InsetFootLike instead of
+       InsetCollapsable.
+       (Write): remove
+       (InsertInset): ditto
+
+       * src/insets/insetert.C: remove include Painter.h, reindent
+       (InsertInset): move to header
+
+       * src/insets/insetcollapsable.h: remove explicit from default
+       contructor, remove empty destructor, add InsertInset
+
+       * src/insets/insetcollapsable.C (InsertInset): new func
+
+       * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
+
+       * src/vspace.h: add explicit to constructor
+
+       * src/paragraph.C (SimpleTeXSpecialChars): use \, instead of
+       \textcompwordmark, please test this.
+
+       * src/lyxrc.C: set ascii_linelen to 65 by default
+
+       * src/lyxfunc.C (Dispatch): handle LFUN_INSET_THEOREM
+
+       * src/commandtags.h: add LFUN_INSET_THEOREM
+
+       * src/buffer.C (parseSingleLyXformat2Token): handle insettheorem
+       (makeLinuxDocFile): remove _some_ of the nice logic
+       (makeDocBookFile): ditto
+
+       * src/Painter.[Ch]: (~Painter): removed
+
+       * src/LyXAction.C (init): entry for insettheorem added
+
+       * src/LaTeX.C: get rid of the all_files array, and the TEX_FILES
+       enum
+       (deplog): code to detect files generated by LaTeX, needs testing
+       (deptex): removed
+
+2000-07-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/FloatList.[Ch]: moved inlines out of line to FloatList.C
+
+2000-07-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/LaTeX.C (deplog): Add a check for files that are going to be
+       created by the first latex run, part of the project to remove the
+       all_files array.
+
+       * src/LaTeX.[Ch]: Patch from Baruch to add hebrew table of
+       contents to the extension list.
+
+2000-07-04  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (NextBreakPoint): added support for needFullRow()
+
+       * src/insets/lyxinset.h: added needFullRow()
+
+       * src/insets/insetcollapsable.C: redone now this uses a text-inset
+       and isn't one.
+
+       * src/insets/insettext.C: lots of changes for update!
+
+2000-07-03 Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/LaTeXFeatures.h: add a missing std:: qualifier.
+
+2000-07-02 José Abílio Matos <jamatos@fep.up.pt>
+
+       *  src/insets/insetinclude.C (InsetInclude): fixed
+       initialization of include_label.
+       (unique_id): now returns a string.
+
+2000-07-01 José Abílio Matos <jamatos@fep.up.pt>
+
+       * src/LaTeXFeatures.h: new member IncludedFiles, for
+       a map of key, included file name.
+
+       * src/LaTeXFeatures.C (getIncludedFiles): returns a string
+       with the included files for inclusion in SGML preamble,
+       i. e., linuxdoc and docbook.
+
+       * src/buffer.h:
+       * src/buffer.C (makeLinuxDocFile): takes two new arguments,
+       nice (is the generated linuxdoc code to be exported?), that
+       allows to remove column, and only_body that will be true for
+       slave documents. Insets are allowed inside SGML font type.
+       New handling of the SGML preamble for included files.
+       (makeDocBookFile): the same for docbook.
+
+       * src/insets/insetinclude.h:
+       * src/insets/insetinclude.C (Validate): keeps a list of included files.
+       (Linuxdoc): 
+       (DocBook): new export methods.
+
+       * src/lyx_cb.C: adjust to the new calling sequence for makeLinuxDocFile
+       and makeDocBookFile.
+
+       * src/lyx_main.C (easyParse): accept linuxdoc and docbook as
+       formats to export with command line argument -x.
+
+2000-06-29  Juergen Vigna  <jug@sad.it>
+
+       * src/mathed/formula.C (LocalDispatch): changed only-cursor-movements
+       to return DISPATCHED_NOUPDATE so that a it does not redraw the inset!
+
+       * src/text.C (GetVisibleRow): added 'bool cleared' parameter as the
+       region could already been cleared by an inset!
+
+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