X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=91cf5cd842e855527f307532748e9bc39bc16d69;hb=83882f6d92b2ce51a7c0b05fe28df9dfbd8e1143;hp=bbd00a0e3d641649e65c79289ad371e3908d5d8c;hpb=5da9e207facd96bff5278f21806d5d6fa52117d0;p=lyx.git diff --git a/ChangeLog b/ChangeLog index bbd00a0e3d..91cf5cd842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,424 @@ +2000-09-04 Dekel Tsur + + * 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 + + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): + ifdef form_table out if NEW_TABULAR. + +2000-08-21 Juergen Vigna + + * 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 + * 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 + + * 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 + + * src/frontends/xforms/FormDocument.h: D'oh. Forgot to change the + policy here also. + +2000-08-21 Dekel Tsur + + * src/Spacing.C (writeEnvirBegin): Small fix when sstream not present + +2000-08-21 Allan Rae + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + * 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 + + * 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 + + * src/lyx_gui.C (create_forms): fix the "No change" gettext missing + 2000-08-16 Juergen Vigna * src/lyx_gui.C (runTime): added GUII RunTime support.