X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=2ee3918fd12d80fd867eddfd4e6269cc740ce492;hb=5495b8803f7d76d3a49109bce652f3518af158c3;hp=2e4c14c209a5c2cf151f0311a334b65f08a2c2eb;hpb=67191fe11fa0e00588abf530518ace508cd94921;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 2e4c14c209..2ee3918fd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,630 @@ +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. + + * 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 + + * src/frontend/Makefile.am: Add gnome and kde to dist tar file. + +2000-08-16 Lars Gullik Bjønnes + + * src/BufferView_pimpl.C (workAreaKeyPress): enable the + processKeySym + +2000-08-15 Lars Gullik Bjønnes + + * 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 + + * src/frontends/ButtonPolicies.C: make gcc happy when compiling with + -pedantic + +2000-08-14 Lars Gullik Bjønnes + + * 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 + + * 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 + + * 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 + + * 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 + + * lib/Makefile.am: listerrors cleaning + + * lib/listerrors: removed -- generated file + * acinclude.m4: ditto + * sigc++/acinclude.m4: ditto + + * src/frontends/xforms/forms/form_citation.fd: + * src/frontends/xforms/FormCitation.C (setSize): Made the form a more + manageable size. + + * src/frontends/xforms/forms/makefile: I renamed the `install` target + `updatesrc` and now we have a `test` target that does what `updatesrc` + used to do. I didn't like having an install target that wasn't related + to the dist. + + * src/frontends/xforms/Form*.[hC]: Removed the free() member functions + on all except FormGraphics. This may yet happen. Followed by a major + cleanup including using FL_TRANSIENT for most of the dialogs. More + changes to come when the ButtonController below is introduced. + + * src/frontends/xforms/ButtonController.h: New file for managing up to + four buttons on a dialog according to an externally defined policy. + * src/frontends/xforms/Makefile.am: added above + + * src/frontends/ButtonPolicies.[hC]: New files full of policies for Ok, + Apply and Cancel/Close buttons and everything in between and beyond. + * src/frontends/Makefile.am: added above. + + * src/frontends/xforms/forms/form_preferences.fd: + * src/frontends/xforms/FormPreferences.[hC]: Uses the ButtonController + and removed variable 'status' as a result. Fixed the set_minsize thing. + Use the new screen-font-update after checking screen fonts were changed + Added a "Restore" button to restore the original lyxrc values while + editing. This restores everything not just the last input changed. + That's still a tricky one. As is the "LyX: this shouldn't happen..." + + * src/LyXAction.C: screen-font-update added for updating buffers after + screen font settings have been changed. + * src/commandtags.h: ditto + * src/lyxfunc.C: ditto + + * forms/lyx.fd: removed screen fonts dialog. + * 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. + + * forms/fdfix.sh: Fixup the spacing after commas. + * forms/makefile: Remove date from generated files. Fewer clashes now. + * forms/bullet_forms.C.patch: included someones handwritten changes + + * src/lyxrc.[Ch]: Added a commented out system_lyxrc. Will use it RSN + once I've discovered why LyXRC was made noncopyable. + * src/lyx_main.C: ditto + +2000-08-14 Angus Leeming + + * src/frontends/xforms/forms/fdfix.sh: + * src/frontends/xforms/forms/fdfixh.sed: + * src/frontends/xforms/forms/fdfixc.sed: New file from Angus + * src/frontends/xforms/Form*.[hC]: + * src/frontends/xforms/form_*.[hC]: Massive rewrite of the generation + scripts to rename all the "FL_OBJECT * form_xxxx" to "form" and to + provide a destructor for the struct FD_form_xxxx. Another version of + the set_[max|min]size workaround and a few other cleanups. Actually, + Angus' patch from 20000809. + +2000-08-13 Baruch Even + + * src/insets/insetgraphics.C (Clone): Added several fields that needed + copying. + +2000-08-11 Juergen Vigna + + * src/insets/insetgraphics.C (InsetGraphics): changing init + order because of warnings. + + * src/frontends/xforms/forms/makefile: adding patching .C with + .C.patch files. + + * src/frontends/xforms/forms/fdfix.sh: changing patching file .c + from .C.patch to .c.patch + + * src/frontends/xforms/FormCommand.C (FormCommand): changing init + order because of warning. + + * src/frontends/xforms/Dialogs.C (Dialogs): added FormDialog + + * src/frontends/Liason.C (setMinibuffer): new helper function + + * src/frontends/Dialogs.h (class Dialogs): inserting showLayoutDocument + + * src/lyxfunc.C (Dispatch): calling new Document-Layout + + * lib/ui/default.ui: commented out PaperLayout entry + + * src/frontends/xforms/form_document.[Ch]: new added files + + * src/frontends/xforms/FormDocument.[Ch]: ditto + + * src/frontends/xforms/forms/form_document.fd: ditto + + * src/frontends/xforms/forms/form_document.C.patch: ditto + +2000-08-10 Juergen Vigna + + * src/insets/insetgraphics.C (draw): fixed access to 0 cacheHandle. + (InsetGraphics): initialized cacheHandle to 0. + (draw): changed call to updateInset to status=CHANGE_IN_DRAW. + +2000-08-10 Baruch Even + + * src/graphics/GraphicsCache.h: + * src/graphics/GraphicsCache.C (addFile, removeFile): Changed to work + correctly as a cache. + + * src/graphics/GraphicsCacheItem.h: + * src/graphics/GraphicsCacheItem.C: Changed to the pimpl idiom to allow + reference counting. + + * src/graphics/GraphicsCacheItem_pimpl.h: + * src/graphics/GraphicsCacheItem_pimpl.C: The implementation of the + GraphicsCacheItem. + + * src/insets/insetgraphics.h: + * src/insets/insetgraphics.C: Changed from using a signal notification + to polling when image is not loaded. + +2000-08-10 Allan Rae + + * development/tools/makeLyXsigc.sh: Updated to allow Signal3. Note + that there are two functions that have to been taken out of line by + hand and aren't taken care of in the script. (Just a reminder note) + + * sigc++/macros/*.h.m4: Updated as above. + +2000-08-09 Juergen Vigna + + * src/insets/insettext.C (draw): small fix for clearing rectangle. + + * src/insets/insettabular.C: make drawing of single cell smarter. + +2000-08-09 Marko Vendelin + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/Menubar_pimpl.h: Gnome frontend Menubar + implementation: new files + + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h: Gnome main window (temporary + implementation) + + * src/main.C: create Gnome main window + + * src/frontends/xforms/Menubar_pimpl.h + * src/frontends/Menubar.C + * src/frontends/Menubar.h: added method Menubar::update that calls + Menubar_pimpl::update and xforms/Menubar_pimpl::update (empty one) + + * src/LyXView.C: calls Menubar::update to update the state + of menu items + + * src/frontends/gnome/Makefile.am: added new files + + * src/frontends/Makefile.am: added frontend compiler options + 2000-08-08 Juergen Vigna * src/lyx_cb.C (AutoSave): autosave for unnamed files enabled! @@ -485,7 +1112,7 @@ * 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