]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
export patch from Dekel
[lyx.git] / ChangeLog
index 0b3236d7bce427f334e7a836e40de8bf32d96c2c..91cf5cd842e855527f307532748e9bc39bc16d69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,330 @@
+2000-09-04  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/converter.C (add_options): New function.
+       (SetViewer): Change $$FName into '$$FName'.
+       (View): Add options when running xdvi
+       (Add): Change $$FName into '$$FName'. Same for $$BaseName/$$OutName.
+       (Convert): The 3rd parameter is now the desired filename. Converts
+       calls to lyx::rename if necessary.
+       Add options when running dvips.
+       (dvi_papersize,dvips_options): New methods.
+
+       * src/exporter.C (Export): Use getLatexName() instead of fileName().
+
+       * src/frontends/Liason.C (printBuffer): Removed duplicate code by
+       using a call to Converter::dvips_options.
+       Fixed to work with nex export code.
+
+       * src/support/copy.C
+       * src/support/rename.C: New files
+
+       * src/support/syscall.h
+       * src/support/syscall.C: Added Starttype SystemDontWait.
+
+       * lib/ui/default.ui: Changed to work with new export code
+
+       * lib/configure.m4: Changed to work with new export code
+
+       * src/encoding.C: Changed latex name for iso8859_7 encoding.
+
+2000-09-04  Angus Leeming  <a.leeming@ic.ac.uk> +
+
+       * src/frontends/xforms/Menubar_pimpl.C: added two using directives
+       so that code compiles with DEC cxx.
+       
+       * src/frontends/xforms/FormCitation.C (setSize): code re-writtenn
+       to work correctly! Also now supports the additional elements
+       neeeded by natbib.
+       
+2000-09-01  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/ButtonPolicies.C: renamed all the references to
+       PreferencesPolicy::{AllButtons,BOGUS} to be ButtonPolicy.
+
+       * src/frontends/ButtonPolicies.h: rename AllButtons to ALL_BUTTONS
+       since it's a const not a type.
+
+       * src/frontends/xforms/ButtonController.h: cleanup before Lars does.
+
+2000-08-31  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/figinset.C: Various changes to look if the filename has
+       an extension and if not add it for inline previewing.
+
+2000-08-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/frontends/ButtonPolicies.h: add a Button AllButtons.
+       make buttonStatus and isReadOnly be const methods. (also reflect
+       this in derived classes.)
+
+       * src/frontends/ButtonPolicies.C: remove sum_ and bogus_
+       (nextState): change to be static inline, pass the StateMachine as
+       a const reference
+       (PreferencesPolicy): remove casts
+       (OkCancelPolicy): remvoe casts
+       (OkCancelReadOnlyPolicy): remove casts
+       (NoRepeatedApplyReadOnlyPolicy): remove casts
+       (OkApplyCancelReadOnlyPolicy): remove casts
+       (OkApplyCancelPolicy): remove casts
+       (NoRepeatedApplyPolicy): remove casts
+
+2000-08-31  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/converter.C: added some using directives
+
+       * src/frontends/ButtonPolicies.C: changes to overcome
+       "need lvalue" error with DEC c++
+
+       * src/frontends/xforms/FormDocument.C (c-tor): use C callback
+       to WMHideCB for DEC c++
+
+       * src/frontends/xforms/Menubar_pimpl.C: added using directive
+
+       * src/frontends/xforms/forms/form_document.C.patch: use C callback
+       to BulletBMTableCB for DEC c++
+
+2000-08-31  Allan Rae  <rae@lyx.org>
+
+       * src/lyx_gui.C (create_forms): build combo_language2 which is part of
+       character dialog separately from old document dialogs combo_language.
+       Stops a segfault.
+
+2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/commandtags.h: Added LFUN_GOTO_PARAGRAPH.
+       Removed LFUN_REF_CREATE.
+
+       * src/MenuBackend.C: Added new tags: toc and references
+
+       * src/frontends/xforms/Menubar_pimpl.C: Removed the use of StrPool
+       (add_lastfiles, add_documents, add_formats): Removed the unused smn
+       parameter.
+       (add_toc, add_references): New methods.
+       (create_submenu): Handle correctly the case when there is a
+       seperator after optional menu items.
+
+       * src/lyxfunc.C (getStatus): Handle LFUN_REF_BACK.
+       (dispatch): Combined the code for LFUN_REF_CREATE and LFUN_REF_INSERT.
+       (dispatch): New code for LFUN_GOTO_PARAGRAPH.
+
+       * src/frontends/xforms/FormToc.C (apply): Use Dispatch.
+
+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.