From c33d6344fd01927bf057e2a8e98968ac50767e4a Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 23 Apr 2007 09:35:28 +0000 Subject: [PATCH] remove outdated "status" file git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17915 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/bind/aqua.bind | 1 - src/lyxfunc.C | 9 +++-- status | 83 ---------------------------------------------- 3 files changed, 4 insertions(+), 89 deletions(-) delete mode 100644 status diff --git a/lib/bind/aqua.bind b/lib/bind/aqua.bind index 78096e7dce..ef1aa67a7c 100644 --- a/lib/bind/aqua.bind +++ b/lib/bind/aqua.bind @@ -125,7 +125,6 @@ \bind "M-~S-v l" "latex-view-log" \bind "M-~S-v t" "toc-view" -\bind "M-~S-v c" "show-forks" \bind "M-~S-v x" "help-Texinfo" \bind "M-~S-n e" "error-next" diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 39029f274d..7a05ca4325 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -548,8 +548,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const string const name = cmd.getArg(0); if (!buf) enable = name == "aboutlyx" - || name == "file" - || name == "forks" + || name == "file" //FIXME: should be removed. || name == "prefs" || name == "texinfo"; else if (name == "print") @@ -559,14 +558,14 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const enable = cur.inset().lyxCode() != InsetBase::ERT_CODE; else if (name == "latexlog") enable = isFileReadable(FileName(buf->getLogName().second)); -#if !defined (USE_ASPELL) && !defined (USE_ISPELL) && !defined (USE_PSPELL) else if (name == "spellchecker") +#if defined (USE_ASPELL) || defined (USE_ISPELL) || defined (USE_PSPELL) + enable = !buf->isReadonly(); +#else enable = false; #endif else if (name == "vclog") enable = buf->lyxvc().inUse(); - else if (name == "view-source") - enable = buf; break; } diff --git a/status b/status deleted file mode 100644 index a84652ab56..0000000000 --- a/status +++ /dev/null @@ -1,83 +0,0 @@ -This file lists interface changes that might affect users in -1.4.0, and also some bug fixes. - -Interface changes ------------------ - -Some of the LyX functions have changed names : - -tab-insert -> cell-split -tab-backward -> cell-backward -tab-forward -> cell-forward - -Additionally, tab-forward (bound to the "Tab" key normally) no -longer has any effect in normal text. - -bibkey-insert -> bibitem-insert - -bibtex-insert -> dialog-show-new-inset bibtex -citation-insert -> dialog-show-new-inset citation -external-insert -> dialog-show-new-inset external -graphics-insert -> dialog-show-new-inset graphics -buffer-child-insert -> dialog-show-new-inset include -reference-insert -> dialog-show-new-inset ref - -Add support for optional submenus (OptSubMenu) in ui files. - -It is now possible to run LyX without a Toolbar if so desired. - -These LyX functions have been removed entirely : - -apropos -server-get-tip -math-greek -math-greek-toggle - -File format changes -------------------- - -Add \end_header. - -The UI (menu and toolbar) file has changed its Toolbar handling. -The default.ui shipped file describes what the new format looks -like. - -Bug fixes ---------- - -lyx2lyx now handles development version files. -Internal changes ----------------- - -Add change tracking. - -Load graphics images in a more asynchronous manner. - -Load graphics images in a serial fashion rather than (possibly) swamping the -machine with multiple conversion processes executing in parallel. - -Remove much of the hard-coding of bibitem insets from the paragraph code. - -Add a localDispatch method to many more inset classes and use it. An important -step in the clean-up of the current inset code and towards inset-unification. - -Add a real Label dialog rather than that nasty Alert thingy. - -Add Hfill and Newline insets. - -Clean-up the use of Alert to make the dialogs far more descriptive. - -Rewrite entirely the interface between LyX and its dialogs. Multiple showXYZ() -methods replaced with a single show(). Attempt to create new LFUNs -so that the frontend dialogs do not actually change anything in the LyX core. -Instead they dispatch these LFUNs back to the core for consideration by it. - -As a side effect of the above, redesign the implementation of the Model- -Controller-View implementation of the dialogs to make it transparent. - -Move as much code as possible from the Menu frontends to the Backend. - -(xforms): replace the Combox code with a native xforms widget, for eventual -inclusion in the xforms library itself. - -Add a basic Word Count feature. -- 2.39.2