]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
sorry no time for change log, add some const declare ShowMessage in lyx_cb.h and...
[lyx.git] / ChangeLog
index 899a8e5a4858fb5d339a403f1bce79feff7b695e..2ee3918fd12d80fd867eddfd4e6269cc740ce492 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,460 @@
+2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/converter.[Ch]: New file for converting between different
+       formats.
+       
+       * src/export.[Ch]: New file for exporting a LyX file to different
+       formats.
+       
+       * src/lyx_cb.C: Remove many functions when NEW_EXPORT is defined:
+       MenuRunLaTeX, MakeLaTeXOutput, RunScript, CreatePostscript,
+       PreviewPostscript, PreviewDVI, AskOverwrite, MenuMakeLaTeX,
+       MenuMakeLinuxDoc, MenuMakeDocBook, MenuMakeHTML,
+       MenuMakeHTML_LinuxDoc, MenuMakeHTML_DocBook, RunLinuxDoc,
+       RunDocBook, MenuExport.
+       
+       * src/lyxfunc.C (Dispatch): Use the Exporter::Export and
+       Exporter::Preview methods if NEW_EXPORT is defined.     
+       
+       * src/buffer.C (Dispatch): Use Exporter::Export.
+       
+       * src/lyxrc.C: Added new tags: \converter and \viewer.
+       
+       * src/commandtags.h
+       * src/LyXAction.C: Define new lyx-function: buffer-update.
+       Remove obsolete buffer-typeset,buffer-typeset-ps & buffer-view-ps
+       when NEW_EXPORT is defined.
+       
+       * src/MenuBackend.C: Added new tags: updateformats and viewformats.
+       
+       * src/frontends/xforms/Menubar_pimpl.C (add_formats) New method.
+       
+       * lib/ui/default.ui: Added submenus "view" and "update" to the 
+       "file" menu.
+       
+       * src/filetools.C (GetExtension): New function.
+       
+       * src/LaTeX.C (LaTeX): Add "-pdf" to depfile if pdflatex is used.
+
+2000-08-29  Allan Rae  <rae@lyx.org>
+
+       * lib/bind/xemacs.bind: update a binding due to Juergen's recent work
+
+       * src/frontends/xforms/FormDocument.C (checkReadOnly): new function
+       (EnableDocumentLayout): removed
+       (DisableDocumentLayout): removed
+       (build): make use of ButtonController's read-only handling to
+       de/activate various objects. Replaces both of the above functions.
+
+       * src/frontends/xforms/ButtonController.h (readWrite): was read_write
+       (readOnly): was read_only
+       (refresh): fixed dumb mistakes with read_only_ handling
+
+       * src/frontends/xforms/forms/form_document.fd:
+       * src/frontends/xforms/forms/form_tabular.fd: Use FL_FLAT_BOX for the
+       tabbed dialogs so the tabs look more like tabs and so its easier to
+       work out which is the current tab.
+
+       * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): fix
+       segfault with form_table
+
+       * src/frontends/ButtonPolicies.C: All policies now support UNDO_ALL.
+
+2000-08-28  Juergen Vigna  <jug@sad.it>
+
+       * acconfig.h: added USE_PSPELL.
+
+       * src/config.h.in: added USE_PSPELL.
+
+       * autogen.sh: added pspell.m4
+
+       * config/pspell.m4: new file.
+
+       * src/spellchecker.C: implemented support for pspell libary.
+
+2000-08-25  Juergen Vigna  <jug@sad.it>
+
+       * src/LyXAction.C (init): renamed LFUN_TABLE to
+       LFUN_DIALOG_TABULAR_INSERT and fixed all it's occurences.
+
+       * src/lyxfunc.C (getStatus): fix for disabled Edit->Table entries.
+
+       * src/lyxscreen.h: add force_clear variable and fuction to force
+       a clear area when redrawing in LyXText.
+
+       * src/text.C (GetVisibleRow): look if the screen forces a redraw.
+
+2000-08-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * some whitespace and comment changes.
+       
+       * src/lyx_gui.C (LyXGUI): use C++ style casts instead of C ones.
+
+       * src/buffer.C: up te LYX_FORMAT to 2.17
+
+2000-08-23  Juergen Vigna  <jug@sad.it>
+
+       * src/BufferView_pimpl.C (tripleClick): disable this when in a
+       locking_inset.
+
+       * src/insets/insettabular.C (pasteSelection): delete the insets
+       LyXText as it is not valid anymore.
+       (copySelection): new function.
+       (pasteSelection): new function.
+       (cutSelection): new function.
+       (LocalDispatch): implemented cut/copy/paste of cell selections.
+
+       * src/insets/insettext.C (resizeLyXText): don't need resize if I still
+       don't have a LyXText.
+
+       * src/LyXAction.C (init): a NEW_TABULAR define too much.
+
+       * src/lyx_gui_misc.C (CloseAllBufferRelatedDialogs): another missing
+       NEW_TABULAR define.
+
+2000-08-22  Juergen Vigna  <jug@sad.it>
+
+       * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): 
+       ifdef form_table out if NEW_TABULAR.
+
+2000-08-21  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (TabularFeatures): BoxType is enum now.
+       (draw): fixed draw position so that the cursor is positioned in the
+       right place.
+       (InsetMotionNotify): hide/show cursor so the position is updated.
+       (GENERAL): fixed cursor_pos to show only 0/1 (begin/end of cell),
+       using cellstart() function where it should be used.
+
+       * src/insets/insettext.C (draw): ditto.
+
+       * src/tabular.C: fixed initialization of some missing variables and
+       made BoxType into an enum.
+
+2000-08-22  Marko Vendelin <markov@ioc.ee>
+       * src/frontends/gnome/Menubar_pimpl.C: Mathces LyX action with Gnome 
+       stock menu item using action numerical value, not its string
+       representation.
+
+
+2000-08-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add
+       GUIRunTime.C remove GUIRunTime_pimpl.[Ch]
+
+       * src/frontends/xforms/GUIRunTime_pimpl.[Ch]: removed file
+
+       * src/frontends/xforms/GUIRunTime.C: new file
+
+       * src/frontends/kde/Makefile.am (libkde_la_SOURCES): add
+       GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
+
+       * src/frontends/kde/GUIRunTime_pimpl.[Ch]: removed file
+
+       * src/frontends/kde/GUIRunTime.C: new file
+
+       * src/frontends/gnome/Makefile.am (libgnome_la_SOURCES): add
+       GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
+
+       * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: removed file
+
+       * src/frontends/gnome/GUIRunTime.C: new file
+
+       * src/frontends/Makefile.am (libfrontends_la_SOURCES): removed
+       GUIRunTime.C 
+
+       * src/frontends/GUIRunTime.h: removed constructor and destructor,
+       small change to documetentation.
+
+       * src/frontends/GUIRunTime.C: removed file
+
+       * src/text2.C (MeltFootnoteEnvironment): add some NEW_TABULAR
+
+       * src/lyxparagraph.h: enable NEW_TABULAR as default
+
+       * src/lyxfunc.C (processKeySym): remove some commented code
+
+       * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): add
+       NEW_TABULAR around the fd_form_table_options.
+
+       * src/lyx_gui.C (runTime): call the static member function as
+       GUIRunTime::runTime().
+
+2000-08-21  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/FormDocument.h: D'oh.  Forgot to change the
+       policy here also.
+
+2000-08-21  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/Spacing.C (writeEnvirBegin): Small fix when sstream not present
+
+2000-08-21  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/ButtonController.h (setOK): renamed from setOk to
+       keep Garst happy ;-)
+       * src/frontends/xforms/FormPreferences.C (build): use setOK
+       * src/frontends/xforms/FormDocument.C (build): use setOK
+       (FormDocument): use the appropriate policy.
+
+2000-08-21  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/ButtonController.h (class ButtonController): Allow
+       automatic [de]activation of arbitrary objects when in a read-only state.
+
+       * src/frontends/ButtonPolicies.h: More documentation
+       (isReadOnly): added to support the above.
+
+       * src/frontends/xforms/forms/form_preferences.fd: Changed Ok -> Save
+
+2000-08-18  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (getStatus): changed to return func_status.
+
+       * src/lyxfunc.C (getStatus): fixed TabularFeatures menu to always
+       display toggle menu entries if they are.
+
+       * src/lyx_cb.C: #ifdef'ed out layout stuff which is in the
+       new document layout now.
+
+       * src/lyxfunc.C: ditto
+
+       * src/lyx_gui_misc.C: ditto
+
+       * src/lyx_gui.C: ditto
+
+       * lib/ui/default.ui: removed paper and quotes layout as they are now
+       all in the document layout tabbed folder.
+
+       * src/frontends/xforms/forms/form_document.fd: added Restore
+       button and callbacks for all inputs for Allan's ButtonPolicy.
+
+       * src/frontends/xforms/FormDocument.C (ChoiceClassCB): added.
+       (CheckChoiceClass): added missing params setting on class change.
+       (UpdateLayoutDocument): added for updating the layout on params.
+       (build): forgot to RETURN_ALWAYS input_doc_spacing.
+       (FormDocument): Implemented Allan's ButtonPolicy with the
+       PreferencesPolicy.
+
+2000-08-17  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/Dialogs.C (Dialogs): Make a temporary connection
+       so we can at least see the credits again.
+
+       * src/frontends/xforms/FormPreferences.C: Used the appropriate button
+       controller calls for the appropriate callbacks.  Note that since Ok
+       calls apply followed by cancel, and apply isn't a valid input for the
+       APPLIED state, the bc_ calls have to be made in the static callback not
+       within each of the real callbacks.
+
+       * src/frontends/xforms/ButtonController.h (Ok): renamed from Okay()
+       (setOk): renamed from setOkay()
+
+2000-08-17  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/gnome/Menubar_pimpl.C (openByName): put this function
+       in the implementation part.
+       (composeUIInfo): don't show optional menu-items.
+
+       * src/lyxfunc.C (getStatus): use insets LyXText if the_locking_inset.
+
+       * src/insets/insettext.C (UpdateLocal): call to LyXView::showState()
+
+       * src/bufferview_funcs.C (CurrentState): fixed to show also the
+       text-state when in a text-inset.
+
+       * src/frontends/kde/GUIRunTime_pimpl.C: include xforms for now.
+
+2000-08-17  Marko Vendelin <markov@ioc.ee>
+       * src/frontends/gnome/FormIndex.C
+       * src/frontends/gnome/FormIndex.h
+       * src/frontends/gnome/FormToc.C
+       * src/frontends/gnome/FormToc.h
+       * src/frontends/gnome/dialogs
+       * src/frontends/gnome/diatoc_callbacks.c
+       * src/frontends/gnome/diatoc_callbacks.h
+       * src/frontends/gnome/diainsertindex_callbacks.h
+       * src/frontends/gnome/diainsertindex_callbacks.c
+       * src/frontends/gnome/diainsertindex_interface.c
+       * src/frontends/gnome/diainsertindex_interface.h
+       * src/frontends/gnome/diatoc_interface.h
+       * src/frontends/gnome/diatoc_interface.c
+       * src/frontends/gnome/Makefile.am: Table of Contents and 
+       Insert Index dialogs implementation for Gnome frontend
+
+       * src/frontends/gnome/GUIRunTime_pimpl.C: fix some small bugs
+
+       * src/frontends/gnome/Menubar_pimpl.C: remove historical comments
+
+       * src/frontends/gnome/diainserturl_interface.c: make the dialog
+       resizable
+
+2000-08-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/frontends/xforms/GUIRunTime_pimpl.C: constructor and
+       destructor. Don't definde if you don't need it
+       (processEvents): made static, non-blocking events processing for
+       xforms.
+       (runTime): static method. event loop for xforms
+       * similar as above for kde and gnome.
+       
+       * src/frontends/GUIRunTime.C (GUIRunTime): new Pimpl() is wrong
+       new Pimpl is correct
+       (runTime): new method calss the real frontends runtime func.
+
+       * src/lyx_gui.C (runTime): change to use the GUIRunTime::runTime
+
+2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/lyx_gui.C (create_forms): fix the "No change" gettext missing
+
+2000-08-16  Juergen Vigna  <jug@sad.it>
+
+       * src/lyx_gui.C (runTime): added GUII RunTime support.
+
+       * src/frontends/Makefile.am: 
+       * src/frontends/GUIRunTime.[Ch]:
+       * src/frontends/xforms/GUIRunTime_pimpl.[Ch]:
+       * src/frontends/kde/GUIRunTime_pimpl.[Ch]:
+       * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: added GUII runtime support
+
+       * src/LyXAction.C (init): added dummy LFUN_INSERT_URL.
+
+       * src/frontends/Makefile.am (INCLUDES): don't set the FRONTENDS include
+       as this is already set in ${FRONTEND_INCLUDE} if needed.
+
+       * configure.in (CPPFLAGS): setting the include dir for the frontend
+       directory and don't set FRONTEND=xforms for now as this is executed
+       always.
+
+2000-08-16 John Levon (moz@compsoc.man.ac.uk)
+       * src/frontends/kde/Makefile.am:
+       * src/frontends/kde/FormUrl.C:
+       * src/frontends/kde/FormUrl.h:
+       * src/frontends/kde/formurldialog.h:
+       * src/frontends/kde/formurldialog.C: Add KDE URL dialog
+
+2000-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
+
+               * src/frontend/Makefile.am: Add gnome and kde to dist tar file.
+
+2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/BufferView_pimpl.C (workAreaKeyPress): enable the
+       processKeySym
+       
+2000-08-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/WorkArea.C (work_area_handler): more work to get te
+       FL_KEYBOARD to work with xforms 0.88 too, please test.
+
+       * src/BufferView_pimpl.C (workAreaKeyPress): add XForms 0.88 guard.
+
+2000-08-15  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/frontends/ButtonPolicies.C: make gcc happy when compiling with
+       -pedantic
+
+2000-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/Timeout.h: remove Qt::emit hack.
+
+       * several files: changes to allo doc++ compilation
+       
+       * src/lyxfunc.C (processKeySym): new method
+       (processKeyEvent): comment out if FL_REVISION < 89
+
+       * src/WorkArea.C: change some debugging levels.
+       (WorkArea): set wantkey to FL_KEY_ALL
+       (work_area_handler): enable the FL_KEYBOARD clause, this enables
+       clearer code and the use of compose with XForms 0.89. Change to
+       use signals instead of calling methods in bufferview directly.
+
+       * src/Painter.C: change some debugging levels.
+
+       * src/LyXView.C: don't setup of use the KeyPressMask_raw_callback
+       if FL_REVISION < 89
+
+       * src/BufferView_pimpl.C (Pimpl): Connect to the WorkArea signals.
+       (workAreaKeyPress): new method
+
+2000-08-14  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/kde/Dialogs.C (Dialogs): added missing dialogs.
+
+       * config/kde.m4: addes some features
+
+       * src/frontends/kde/Makefile.am (libkde_la_OBJADD): modified to 
+       include missing xforms dialogs.
+
+       * src/Timeout.h: a hack to be able to compile with qt/kde.
+
+       * sigc++/.cvsignore: added acinclude.m4
+
+       * lib/.cvsignore: added listerros
+
+       * src/frontends/Makefile.am: modified for now to ALWAYS compile the
+       xforms tree as objects are needed for other frontends.
+
+       * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added for
+       linking with not yet implemented xforms objects.
+
+       * src/frontends/gnome/Dialogs.C (Dialogs): added FormDocument.
+
+2000-08-14  Baruch Even  <baruch.even@writeme.com>
+
+       * src/frontends/xforms/FormGraphics.h:
+       * src/frontends/xforms/FormGraphics.C:
+       * src/frontends/xforms/RadioButtonGroup.h:
+       * src/frontends/xforms/RadioButtonGroup.C:
+       * src/insets/insetgraphics.h:
+       * src/insets/insetgraphics.C:
+       * src/insets/insetgraphicsParams.h:
+       * src/insets/insetgraphicsParams.C: Changed indentation to use tabs
+       instead of spaces, and various other indentation issues to make the
+       sources more consistent.
+
+2000-08-14  Marko Vendelin <markov@ioc.ee>
+
+       * src/frontends/gnome/dialogs/diaprint.glade
+       * src/frontends/gnome/FormPrint.C
+       * src/frontends/gnome/FormPrint.h
+       * src/frontends/gnome/diaprint_callbacks.c
+       * src/frontends/gnome/diaprint_callbacks.h
+       * src/frontends/gnome/diaprint_interface.c
+       * src/frontends/gnome/diaprint_interface.h: Print dialog Gnome 
+       implementation
+       
+       * src/frontends/gnome/dialogs/diainserturl.glade
+       * src/frontends/gnome/FormUrl.C
+       * src/frontends/gnome/FormUrl.h
+       * src/frontends/gnome/diainserturl_callbacks.c
+       * src/frontends/gnome/diainserturl_callbacks.h
+       * src/frontends/gnome/diainserturl_interface.c
+       * src/frontends/gnome/diainserturl_interface.h: Insert Url dialog
+       Gnome implementation
+
+       * src/frontends/gnome/Dialogs.C
+       * src/frontends/gnome/Makefile.am: added Print, Insert Url  and
+       all other dialogs. Copy all unimplemented dialogs from Xforms
+       frontend
+       
+       * src/frontends/gnome/support.c
+       * src/frontends/gnome/support.h: support files generated by Glade
+
+       * autogen.sh
+       * configure.in
+       * config/gnome.m4: Gnome configuration scripts
+
+       * config/lyxinclude.m4: cleanup: frontend renamed from gtk to gnome in
+       configure --help message
+
+       * src/lyx_gui.C: Gnome/Gtk releases control in LyXGUI::runTime()
+       only if there are no events pendling in Gnome/Gtk. This enhances
+       the performance of menus.
+
+
 2000-08-14  Allan Rae  <rae@lyx.org>
 
        * lib/Makefile.am: listerrors cleaning
        * src/lyx_gui.C: ditto
        * src/menus.[Ch]: ditto
        * src/lyx.[Ch]: ditto
-       * src/lyx_cb.C: ditto + code from here moved to make screen-font-update.
-       And people wonder why progress on GUII is slow.  Look at how scattered
-       this stuff was!  It takes forever just find it all.
+       * src/lyx_cb.C: ditto + code from here moved to make
+       screen-font-update. And people wonder why progress on GUII is
+       slow.  Look at how scattered this stuff was!  It takes forever
+       just find it all. 
 
        * forms/fdfix.sh: Fixup the spacing after commas.
        * forms/makefile: Remove date from generated files. Fewer clashes now.
 
        * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
        and modified InsetTOC class
-       * src/buffer.C: ditto                    
+       * src/buffer.C: ditto            
 
        * forms/lyx.fd: strip out old FD_form_toc code
        * src/lyx_gui_misc.C: ditto