]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
More small fixes
[lyx.git] / ChangeLog
index 3501ed3f8c45ad1325e796ee2da46a12739843b2..56836104232f965abb7bb2b65f00887a03407c65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,545 @@
+2000-09-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/images/*: rename a bunch of icons to match Dekel converter
+       changes. 
+
+       * src/buffer.C (SimpleLinuxDocOnePar): add a const qualifier to
+       last parameter.
+
+       * src/frontends/xforms/FormBase.C (disconnect): remove bogus test. 
+
+       * sigc++/macros/basic_signal.h.m4: fix class Signal_ to have a
+       virtual destructor
+       * sigc++/handle.h: ditto for class Handle. 
+
+2000-09-27  John Levon  <moz@compsoc.man.ac.uk>
+
+       * config/kde.m4: make Qt fail immediately if Qt2 is picked up
+
+2000-09-28  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/intl.C (InitKeyMapper): Correct the value of n due to the
+       removal of the "default" language.
+
+       * src/combox.h (getline): Check that sel > 0
+
+2000-09-29  José Abílio Matos <jamatos@fep.up.pt>
+
+       * lib/examples/docbook_example.lyx
+       * lib/examples/docbook_article.lyx: file renamed to avoid confusion.
+
+       * lib/layouts/docbook-book.layout: new docbook book layout.
+
+       * lib/layouts/linuxdoc.layout: LatexName of Style SGML is now dummy.
+       
+       * lib/layouts/manpage.layout: Same as above. Style SubSection removed.
+
+       * src/insets/figinset.C (DocBook):fixed small typo.
+
+       * src/insets/insetinclude.C (DocBook): new export for verbatim type.
+
+       * src/insets/insetinclude.h: string include_label doesn't need to be
+       mutable.
+       
+2000-09-29  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/FormBase.[Ch] (connect, disconnect): new.
+       Allow derived type to control connection and disconnection from signals
+       of its choice if desired.
+
+2000-09-28  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (update): fixed cursor setting when
+       the_locking_inset changed.
+       (draw): made this a bit cleaner.
+       (InsetButtonPress): fixed!
+
+       * various files: added LyXText Parameter to fitCursor call.
+       
+       * src/BufferView.C (fitCursor): added LyXText parameter.
+
+       * src/insets/insettabular.C (draw): small draw fix.
+
+       * src/tabular.C: right setting of left/right celllines.
+
+       * src/tabular.[Ch]: fixed various types in funcions and structures. 
+       * src/insets/insettabular.C: ditto
+       * src/frontends/xforms/FormTabular.C: ditto
+
+2000-09-28  Allan Rae  <rae@lyx.org>
+
+       * src/paragraph.C (TeXOnePar): fixed output of '\n'.  The problem was
+       that the #ifdef's had been applied to part of what should have been
+       a complete condition.  It's possible there are other tests that
+       were specific to tables that are also wrong now that InsetTabular is
+       being used. Now we need to fix the output of '\n' after a table in a
+       float for the same reason as the original condition:
+       "don't insert this if we would be adding it before or after a table
+       in a float.  This little trick is needed in order to allow use of
+       tables in \subfigures or \subtables."
+       Juergen can you check this?
+
+2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/insets/insettext.C (Ascii): return numer of '\n' in the text
+       outputed to the ostream.
+
+       * several files: fixed types based on warnings from cxx 
+
+2000-09-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/Makefile.am: fix rule for
+       formindexdialogdata_moc.C
+
+       * src/.cvsignore: add ext_l10n.h to ignore
+
+       * acconfig.h: stop messing with __STRICT_ANSI__ 
+       * config/gnome.m4: remove option to set -ansi
+       * config/kde.m4: remove option to set -ansi
+       * config/lyxinclude.m4: don't set -ansi 
+
+2000-09-27  Juergen Vigna  <jug@sad.it>
+
+       * various files: remove "default" language check.
+       
+       * src/insets/insetquotes.C: removed use of current_view.
+
+       * src/lyxfunc.C (MenuNew): I don't know how put the AddPath here but
+       the one should have red ears by now!
+
+       * src/insets/insettext.C (LocalDispatch): fixed setting of same layouts
+       in more then one paragraph. Fixed cursor-movement/selection.
+
+       * src/frontends/xforms/FormParagraph.C: disable pagebreaks for
+       paragraphs inside a text inset.
+
+       * src/text.C (GetVisibleRow): paint top/bottom line only as wide as the
+       text-inset if this owner is an inset.
+
+2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/Bullet.h: changed type of font, character and size to int
+
+       * src/buffer.C (asciiParagraph): remove actcell and fname1.
+
+       * src/insets/inseturl.[Ch]: 
+       * src/insets/insetref.[Ch]:
+       * src/insets/insetlabel.[Ch]: add linelen to Ascii
+
+2000-09-26  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/buffer.C (readFile): block-if statement rearranged to minimise
+       bloat. Patch does not reverse Jean-Marc's change ;-)
+
+       * src/frontends/xforms/FormBase.[Ch]: Renamed some of the callbacks.
+       Class rewritten to store pointers to hide/update signals directly,
+       rather than Dialogs *. Also defined an enum to ease use. All xforms
+       forms can now be derived from this class.
+
+       * src/frontends/xforms/FormCommand.[Ch]
+       * src/frontends/xforms/FormCopyright.[Ch]: now derived from FormBase.
+
+       * src/frontends/xforms/FormError.[Ch]: moved inclusion of inseterror.h
+       out of header file.
+
+       * src/frontends/xforms/forms/form_citation.fd
+       * src/frontends/xforms/forms/form_copyright.fd
+       * src/frontends/xforms/forms/form_error.fd
+       * src/frontends/xforms/forms/form_index.fd
+       * src/frontends/xforms/forms/form_ref.fd
+       * src/frontends/xforms/forms/form_toc.fd
+       * src/frontends/xforms/forms/form_url.fd: remamed callbacks
+
+       * src/frontends/xforms/forms/makefile: small change to work with DEC sh.
+
+       * src/insets/insetfoot.C: removed redundent using directive.
+
+2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/layouts/siamltex.layout: new textclass for SIAM journals,
+       from Kornelia Pietsch <pietsch@mathematik.tu-chemnitz.de>
+
+       * src/frontends/xforms/Menubar_pimpl.C: menu buttons are now
+       created in the constructors in different groups. Then set() just
+       have to show the groups as needed. This fixes the redraw problems
+       (and is how the old menu code worked).
+
+       * src/support/lyxlib.h: declare the methods as static when we do
+       not have namespaces.
+
+2000-09-26  Juergen Vigna  <jug@sad.it>
+
+       * src/buffer.C (asciiParagraph): new function.
+       (writeFileAscii): new function with parameter ostream.
+       (writeFileAscii): use now asciiParagraph.
+
+       * various inset files: added the linelen parameter to the Ascii-func.
+       
+       * src/tabular.C (Write): fixed error in writing file introduced by
+       the last changes from Lars.
+
+       * lib/bind/menus.bind: removed not supported functions.
+
+       * src/insets/insettext.C (Ascii): implemented this function.
+
+       * src/insets/lyxinset.h (Ascii): added linelen parameter.
+
+       * src/tabular.C (write_attribute[int,string,bool]): new functions.
+       (Write): use of the write_attribute functions.
+
+       * src/bufferlist.C (close): fixed reasking question!
+
+2000-09-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/unlink.C src/support/remove.C src/support/mkdir.C:
+       new files use the everwhere possible.
+       
+       * several files: 
+       * src/form1.C src/form1.h src/layout_forms.C src/layout_forms.h
+       src/log_form.C src/lyx.C:
+       regenerated
+       
+       * src/buffer.C (runLaTeX): remove func
+       
+       * src/PaperLayout.C: removed file
+       * src/ParagraphExtra.C: likewise
+       * src/bullet_forms.C: likewise
+       * src/bullet_forms.h: likewise
+       * src/bullet_forms_cb.C: likewise
+       
+       * src/Makefile.am (lyx_SOURCES): remove PaperLayout.C,
+       ParagraphExtra.C, bullet_forms.C, bullet_forms.h and
+       bullet_forms_cb.C 
+
+       * several files: remove all traces of the old fd_form_paragraph,
+       and functions belonging to that.
+       
+       * several files: remove all traces of the old fd_form_document,
+       and functions belonging to that.
+       
+       * several files: constify local variables were possible.
+       
+       * several files: remove all code that was dead when NEW_EXPORT was
+       defined 
+       
+       * several files: removed string::c_str in as many places as
+       possible.
+       
+       * forms/makefile (SRCS,OBJS,COBJS): removed bullet_forms.[fd,c,C]
+       (e): be a bit more outspoken when patching
+       (updatesrc): only move files if changed.
+
+       * forms/layout_forms.h.patch: regenerated
+       
+       * forms/layout_forms.fd: remove form_document and form_paragraph
+       and form_quotes and form_paper and form_table_options and
+       form_paragraph_extra 
+
+       * forms/form1.fd: remove form_table
+
+       * forms/fdfix.sh: remove sed rules for fl_set_object_lcolor and
+       the fdui->... rewrite. Update some comments to xforms 0.88
+
+       * forms/bullet_forms.C.patch: removed file
+       * forms/bullet_forms.fd: likewise
+       * forms/bullet_forms.h.patch: likewise
+       
+       * development/Code_rules/Rules: added a section on switch
+       statements. Updated some comment to xforms 0.88.
+
+2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/buffer.C (readFile): make sure that the whole version number
+       is read after \lyxformat (even when it contains a comma)
+
+       * lib/ui/default.ui: change shortcut of math menu to M-a.
+
+2000-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/vspace.C (nextToken): use isStrDbl() to check for proper
+       double values.
+
+       * src/LyXView.C (updateWindowTitle): show the full files name in
+       window title, limited to 30 characters.
+
+       * src/support/lyxstring.C (lyxstring): fix it correctly this time.
+       When a number of characters has been given, we should not assume
+       that the string is 0-terminated.
+
+       * src/intl.C (InitKeyMapper): remove a bunch of string::c_str()
+       calls (fixes some memory leaks)
+       
+       * src/intl.[Ch]: add a destructor for Intl, in order to delete the
+       trans member on exit.
+
+2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/converter.C (GetReachable): fix typo.
+
+       * src/lyxlex.C (GetFloat): rewrite to use strToDbl() and
+       understand ',' instead of '.'.
+       (GetInteger): rewrite to use strToInt().
+
+2000-09-26  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/xforms/FormParagraph.C: fixed de/activation of fields,
+       better visibility and error-message on wrong VSpace input.
+
+       * src/language.C (initL): added english again.
+
+2000-09-25  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/kde/Dialogs.C (Dialogs): 
+       * src/frontends/gnome/Dialogs.C (Dialogs): 
+       * src/frontends/kde/Makefile.am: 
+       * src/frontends/gnome/Makefile.am: added FormParagraph from xforms.
+
+       * src/frontends/xforms/forms/makefile: added form_paragraph.fd.
+
+       * src/frontends/xforms/Dialogs.C (Dialogs): added FormParagraph.
+
+       * src/frontends/xforms/Makefile.am: added files for FormParagraph.
+
+       * src/frontends/xforms/FormParagraph.C: 
+       * src/frontends/xforms/FormParagraph.h:
+       * src/frontends/xforms/form_paragraph.C:
+       * src/frontends/xforms/form_paragraph.h:
+       * src/frontends/xforms/forms/form_paragraph.fd: new files for the new
+       paragraph layout.
+
+       * src/lyxfunc.C (Dispatch): call the new layout paragraph.
+
+       * src/tabular.C (OldFormatRead): forgot to delete the temporary
+       Paragraph-Data after use.
+
+       * src/insets/insettext.C (LocalDispatch): don't set the layout on
+       non breakable paragraphs.
+
+2000-09-25  Garst R. Reese <reese@isn.net>
+
+       * src/language.C (initL): added missing language_country codes.
+
+2000-09-25  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (InsetText):
+       (deleteLyXText): remove the not released LyXText structure!
+
+2000-09-24  Marko Vendelin <markov@ioc.ee>
+
+       * src/frontends/gnome/mainapp.C
+       * src/frontends/gnome/mainapp.h: added support for keyboard 
+       accelerators
+
+       * src/frontends/gnome/FormCitation.C
+       * src/frontends/gnome/FormCitation.h
+       * src/frontends/gnome/Makefile.am
+       * src/frontends/gnome/pixbutton.h: completed the rewrite of 
+       FormCitation to use "action area" in mainapp window
+
+       * src/frontends/gnome/Menubar_pimpl.C   
+       * src/frontends/gnome/Menubar_pimpl.h: Gnome menu can handle
+       large TOC.
+
+2000-09-23  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/mathed/formula.C (MathFuncInset::Metrics): Use default 
+       width/descent/ascent values if name is empty.
+       (mathed_string_height): Use std::max.
+
+2000-09-25  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/forms/form_preferences.fd: resize to stop
+       segfault.  This will be completely redesigned soon.
+
+       * sigc++: updated libsigc++.  Fixes struct timespec bug.
+
+       * development/tools/makeLyXsigc.sh:  .cvsignore addition
+
+2000-09-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * several files: removed almost all traces of the old table
+       (tabular) code.
+
+       * src/TableLayout.C: removed file
+       
+2000-09-22  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/kde/Dialogs.C: added credits forms.
+
+       * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added forms.
+
+       * src/frontends/gnome/Dialogs.C: added some forms.
+
+       * src/spellchecker.C (init_spell_checker): set language in pspell code
+       (RunSpellChecker): some modifications for setting language string.
+
+       * src/language.[Ch]: added language_country code.
+
+2000-09-21  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/Dialogs.h: added new signal showError.
+       Rearranged existing signals in some sort of alphabetical order.
+
+       * src/frontends/xforms/Makefile.am: added new files, FormBase.[Ch],
+       FormError.[Ch], form_error.[Ch]
+       * src/frontends/xforms/forms/makefile: added new file form_error.fd
+       * src/frontends/xforms/Dialogs.C: added new xforms dialog FormError.
+
+       * src/frontends/xforms/FormBase.[Ch]: new base class for xforms
+       dialogs. I think that this can be used as the base to all these
+       dialogs.
+
+       * src/frontends/xforms/FormError.[Ch]
+       * src/frontends/xforms/forms/form_error.fd: new files. Xforms
+       implementation of InsetError dialog.
+       
+       * src/insets/inseterror.[Ch]: rendered GUI-independent.
+
+       * src/frontends/kde/Dialogs.C: added new xforms dialog FormError.
+       * src/frontends/kde/Makefile.am: ditto
+
+2000-09-21  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/mathed/math_cursor.[Ch]: Removed class members macroln and
+       macrobf. This fixes a bug of invisible text.
+
+2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/doc/LaTeXConfig.lyx.in: updated.
+
+       * src/language.C (initL): remove language "francais" and change a
+       bit the names of the two other french variations.
+
+       * src/support/lyxstring.C (lyxstring): do not apply strlen() on a
+       string that may not be 0-terminated.
+
+2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/Makefile.am (lyx_SOURCES): remove table.C and Table.h
+
+2000-09-20  Marko Vendelin <markov@ioc.ee>
+
+       * src/frontends/gnome/FormCitation.C
+       * src/frontends/gnome/FormIndex.C
+       * src/frontends/gnome/FormToc.C
+       * src/frontends/gnome/FormUrl.C: cleanup the loops, reordering
+       the variable initialization to shut up the warnings
+
+2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/table.[Ch]: deleted files
+       
+       * src/lyxfunc.C (Dispatch): Don't pass 0 as argument to Dispatch
+       second arg.
+
+2000-09-18  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (LocalDispatch): fixed Backspace/Delete
+       problems with selection. Inserted new LFUN_PASTESELECTION.
+       (InsetButtonPress): inserted handling of middle mouse-button paste.
+
+       * src/spellchecker.C: changed word to word.c_str().
+
+2000-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * src/Makefile.am: Add sources to lyx_SOURCES so they will be
+         included in the ``make dist'' tarball.
+
+2000-09-15  Juergen Vigna  <jug@sad.it>
+
+       * src/CutAndPaste.C (cutSelection): small fix return the right
+       end position after cut inside one paragraph only.
+
+       * src/insets/insettext.C (resizeLyXText): only reset the cursor if
+       we are locked as otherwise we don't have a valid cursor position!
+
+       * src/insets/figinset.C (draw): small bugfix but why is this needed???
+
+2000-09-19  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/kde/FormRef.C: added using directive.
+       * src/frontends/kde/FormToc.C: ditto
+
+       * src/frontends/kde/formtocdialog.h: changed endl to std::endl.
+
+       * src/frontends/kde/FormRef.h: removed trailing comma from enums.
+
+2000-09-19  Marko Vendelin <markov@ioc.ee>
+       
+       * src/frontends/gnome/Menubar_pimpl.C
+       * src/frontends/gnome/Menubar_pimpl.h: Gnome menus show now
+       Toc, ViewFormats, UpdateFormats, and ExportFormats.
+
+       * src/frontends/gnome/mainapp.C
+       * src/frontends/gnome/mainapp.h: support for menu update used 
+       by Toc menu.
+
+       * src/frontends/gnome/mainapp.C
+       * src/frontends/gnome/mainapp.h: support for "action" area in the
+       main window. This area is used by small simple dialogs, such as
+       FormUrl.
+
+       * src/frontends/gnome/FormIndex.C
+       * src/frontends/gnome/FormIndex.h
+       * src/frontends/gnome/FormUrl.C
+       * src/frontends/gnome/FormUrl.h: rewrite to use main window action
+       area
+
+       * src/frontends/gnome/FormCitation.C
+       * src/frontends/gnome/FormCitation.h: rewrite to use main window
+       action area. Only "Insert new citation" is implemented.
+
+2000-09-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/buffer.C (Dispatch): fix call to Dispatch
+       * src/insets/insetref.C (Edit): likewise
+       * src/insets/insetparent.C (Edit): likewise
+       * src/insets/insetinclude.C (include_cb): likewise
+       * src/frontends/xforms/FormUrl.C (apply): likewise
+       * src/frontends/xforms/FormToc.C (apply): likewise
+       * src/frontends/xforms/FormRef.C (apply): likewise
+       * src/frontends/xforms/FormIndex.C (apply): likewise
+       * src/frontends/xforms/FormCitation.C (apply): likewise
+       * src/lyxserver.C (callback): likewise
+       * src/lyxfunc.C (processKeySym): likewise
+       (Dispatch): likewise
+       (Dispatch): likewise
+       * src/lyx_cb.C (LayoutsCB): likewise
+
+       * Makefile.am (sourcedoc): small change
+
+2000-09-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/main.C (main): Don't make an empty GUIRunTime object. all
+       methods are static. constify a bit remove unneded using + headers.
+
+       * src/tabular.C: some more const to local vars move some loop vars
+       
+       * src/spellchecker.C: added some c_str after some word for pspell
+
+       * src/frontends/GUIRunTime.h: add new static method setDefaults
+       * src/frontends/xforms/GUIRunTime.C (setDefaults): 
+       * src/frontends/kde/GUIRunTime.C (setDefaults): 
+       * src/frontends/gnome/GUIRunTime.C (setDefaults): new method
+
+       * src/mathed/math_cursor.C (MacroModeClose): don't call SetName
+       with strnew in arg, use correct emptystring when calling SetName.
+
+       * several files: remove all commented code with relation to
+       HAVE_SSTREAM beeing false. We now only support stringstream and
+       not strstream. 
+
+2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxfunc.C: construct correctly the automatic new file
+       names. 
+
+       * src/text2.C (IsStringInText): change type of variable i to shut
+       off a warning.
+
+       * src/support/sstream.h: do not use namespaces if the compiler
+       does not support them.
+
 2000-09-15  Marko Vendelin <markov@ioc.ee>
        * src/frontends/gnome/FormCitation.C
        * src/frontends/gnome/FormCitation.h