X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/caec1ef5a053b51b6d160d0ca8b231f3c4225b1d..f78ee6afc094cdfd6162bfd645836e84875dcddf:/lisp/cedet/ChangeLog diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 14e8d6c1d6..755f4c8159 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,4 +1,87 @@ -2012-10-08 David Engster > +2012-11-13 Stefan Monnier + + * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): + * semantic/grammar.el (semantic-grammar-mode): + * semantic/util-modes.el (semantic-highlight-edits-mode) + (semantic-show-parser-state-mode): Avoid obsolete name + semantic-edits-new-change-hooks (bug#12869). + +2012-11-13 Glenn Morris + + * srecode/srt-mode.el (srecode-template-mode): + Don't change global values of comment-start, comment-end. (Bug#12781) + +2012-10-25 David Engster + + * semantic/analyze.el (semantic-analyze-dereference-alias): + New function to dereference aliases. + (semantic-analyze-current-context-default): Use it. + + * semantic/grammar.el (semantic-grammar-create-package): + * srecode/compile.el (srecode-compile-templates): Throw a proper + error if semantic-mode is not enabled (bug#9968). + + Compiler warning fixes: + + * semantic.el (semantic-elapsed-time): Make it a defsubst. + + * srecode/dictionary.el (srecode-adebug-dictionary): + Remove require for `semantic'. + + * srecode/map.el: + * srecode/insert.el: Declare functions from `data-debug'. + + * semantic/grammar.el: Require `help-fns'. Declare functions from + `eldoc', which is required in function body. + + * srecode/java.el: + * semantic/texi.el: + * semantic/grammar-wy.el: + * semantic/db-file.el: + * semantic/db-el.el: + * semantic/chart.el: Fix requires. + + * ede/locate.el: Remove useless requires. Declare functions + instead and require in functions when needed. + +2012-10-23 Stefan Monnier + + * semantic/db-file.el (semanticdb-save-database-functions): + * semantic/lex.el (semantic-lex-reset-functions): + * semantic/edit.el (semantic-change-functions) + (semantic-edits-new-change-functions) + (semantic-edits-delete-change-functions) + (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix. + +2012-10-14 David Engster + + * semantic.el (semantic-error-if-unparsed): New function. + Raise error if buffer was not parsed by Semantic (bug #12045). + (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items + only if buffer was parsed. Also, replace ':active' with ':enable' + where necessary. + + * semantic/wisent/python.el + (semantic-python-get-system-include-path): + Use `python-shell-internal-send-string' if available to query Python + for system paths. + + * semantic/senator.el (senator-next-tag, senator-previous-tag) + (senator-go-to-up-reference): Use `semantic-error-if-unparsed'. + + * semantic/complete.el (semantic-complete-jump-local) + (semantic-complete-jump, semantic-complete-jump-local-members) + (semantic-complete-self-insert): Use `semantic-error-if-unparsed'. + (semantic-complete-inline-project): Fix autoload cookie. + + * semantic/analyze/complete.el + (semantic-analyze-possible-completions): Check if buffer was + parsed. Only raise an error if function was called interactively, + otherwise silently return nil. + + * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation. + +2012-10-08 David Engster * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to `emacs-lisp-mode-hook'. This was accidentally removed during the @@ -29,8 +112,8 @@ 2012-10-06 Chong Yidong * semantic/bovine/grammar.el: - * semantic/wisent/grammar.el: Move from admin/grammars. Add - autoloads for bovine-grammar-mode and wisent-grammar-mode. + * semantic/wisent/grammar.el: Move from admin/grammars. + Add autoloads for bovine-grammar-mode and wisent-grammar-mode. 2012-10-02 Chong Yidong @@ -135,8 +218,8 @@ (-scheme, -makefile-misc, ede-proj-target-makefile-program) (-makefile-archive, -makefile-shared-object) (ede-proj-target-makefile-info, -grammar): New autoloads. - (ede-proj-project): Inherit from eieio-persistent-read. Specify - extension and header line. + (ede-proj-project): Inherit from eieio-persistent-read. + Specify extension and header line. (ede-proj-load, ede-proj-save): Replace with impl using eieio-persistent-read. @@ -148,27 +231,27 @@ (navigate-menu): Add menu item for Stickyfunc mode. * semantic/analyze/debug.el - (semantic-analyzer-debug-insert-include-summary): Before - dereferencing tableinner, make sure it has a value. + (semantic-analyzer-debug-insert-include-summary): + Before dereferencing tableinner, make sure it has a value. * semantic/analyze/refs.el (semantic-analyze-tag-references-default): When doing a lookup, specify noerror. (semantic--analyze-refs-full-lookup): Add optional noerror input argument. Pass to to full-lookup-simple. - (semantic-analyze-refs-impl, semantic-analyze-refs-proto): Ignore - :typemodifiers during compare. + (semantic-analyze-refs-impl, semantic-analyze-refs-proto): + Ignore :typemodifiers during compare. * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits to looking back for comment chars. (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default) (semantic--tag-attribute-similar-p): New. (semantic-c-describe-environment): Handle list value of ede-object. - (semantic-lex-c-preprocessor-symbol-map-builtin): Add - __attribute_pure__. + (semantic-lex-c-preprocessor-symbol-map-builtin): + Add __attribute_pure__. - * semantic/bovine/scm.el (semantic-format-tag-prototype): Add - parent and color argument. Pass them through. + * semantic/bovine/scm.el (semantic-format-tag-prototype): + Add parent and color argument. Pass them through. * semantic/complete.el (semantic-collector-calculate-completions): Search for more matches if new prefix is a substring of old one. @@ -189,15 +272,15 @@ the (%d tags) extra string. (semanticdb-project-database): Specify :type for table. (semanticdb-create-table-for-file): Specify file-truename. - (semanticdb-synchronize, semanticdb-partial-synchronize): Restore - code that refreshes references to include files. + (semanticdb-synchronize, semanticdb-partial-synchronize): + Restore code that refreshes references to include files. * semantic/decorate/include.el (semantic-decoration-on-fileless-includes): New face. (semantic-decoration-on-fileless-include-map) (semantic-decoration-on-fileless-include-menu): New variables. - (semantic-decoration-on-includes-highlight-default): Support - includes that have a table, but are not associated with a file. + (semantic-decoration-on-includes-highlight-default): + Support includes that have a table, but are not associated with a file. (semantic-decoration-fileless-include-describe) (semantic-decoration-fileless-include-menu): New functions. (semantic-decoration-all-include-summary): Add arrows to indicate @@ -234,15 +317,15 @@ * semantic/tag.el (semantic-create-tag-proxy) (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New. - * semantic/util.el (semantic-describe-buffer): Add - semantic-new-buffer-fcn-was-run. + * semantic/util.el (semantic-describe-buffer): + Add semantic-new-buffer-fcn-was-run. - * semantic/wisent/java-tags.el (semantic-get-local-variables): Add - `this' to the local variable context. + * semantic/wisent/java-tags.el (semantic-get-local-variables): + Add `this' to the local variable context. (semantic-analyze-split-name, semantic-analyze-unsplit-name): New. - * semantic/wisent/python.el (semantic-python-expand-tag): New - function. + * semantic/wisent/python.el (semantic-python-expand-tag): + New function. * srecode/compile.el (srecode-compile-templates): Add "framework" special variable support. @@ -252,7 +335,7 @@ (srecode-semantic-handle-:cpp): New functions. (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function to c-mode function. - (srecode-c-apply-templates): Renamed from srecode-cpp-apply-templates. + (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates. * srecode/dictionary.el (initialize-instance): Remove bogus error condition. @@ -265,8 +348,8 @@ * srecode/mode.el (srecode-minor-mode): Support the m3 menu. - * srecode/semantic.el (srecode-semantic-insert-tag): Support - system includes. + * srecode/semantic.el (srecode-semantic-insert-tag): + Support system includes. * srecode/srt-mode.el (srecode-font-lock-keywords): Update. @@ -297,8 +380,8 @@ * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion of phony rule. - * ede/proj-elisp.el (ede-proj-target-elisp): Remove - ede-emacs-preload-compiler. + * ede/proj-elisp.el (ede-proj-target-elisp): + Remove ede-emacs-preload-compiler. (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies): New methods. (ede-emacs-compiler): Add 'require' macro to variables and pattern @@ -334,8 +417,8 @@ (semantic-cpp-lexer): Add semantic-lex-c-ifdef. (semantic-expand-c-tag): Check if tag is non-nil before adding it to return list - (semantic-expand-c-extern-C, semantic-expand-c-complex-type): New - functions, copied from semantic-expand-c-tag. + (semantic-expand-c-extern-C, semantic-expand-c-complex-type): + New functions, copied from semantic-expand-c-tag. (semantic-find-tags-included): New override which also searches for include tags inside of namespaces. (semantic-c-dereference-typedef): Use semantic-tag-prototype-p. @@ -343,16 +426,16 @@ * semantic/bovine/el.el: Remove emacs-lisp-mode-hook. - * semantic/complete.el (semantic-complete-post-command-hook): Exit - completion when user has deleted all characters from the prefix. + * semantic/complete.el (semantic-complete-post-command-hook): + Exit completion when user has deleted all characters from the prefix. (semantic-displayor-focus-request): Return to previous window when focussing tags. * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete. (semanticdb-elisp-sym->tag): Use help-function-arglist instead. - * semantic/db-file.el (semanticdb-create-database): Use - semantic-tag-version instead of just semantic-version as the + * semantic/db-file.el (semanticdb-create-database): + Use semantic-tag-version instead of just semantic-version as the initializer for the :semantic-tag-version slot. * semantic/db-find.el (semanticdb-find-tags-by-class-method): @@ -366,11 +449,11 @@ (semanticdb-save-current-db, semanticdb-save-all-db): Only emit message when running interactively. - * semantic/decorate/mode.el (semantic-decoration-mode): Activate - decoration of includes by default. + * semantic/decorate/mode.el (semantic-decoration-mode): + Activate decoration of includes by default. - * semantic/doc.el (semantic-doc-snarf-comment-for-tag): Remove - comment delimiter at the end of the text. + * semantic/doc.el (semantic-doc-snarf-comment-for-tag): + Remove comment delimiter at the end of the text. * semantic/ede-grammar.el (semantic-ede-proj-target-grammar): Change aux- and pre-load-packages. @@ -384,16 +467,16 @@ (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS to raise max-specpdl-size and max-lisp-eval-depth. - * semantic/find.el (semantic-find-tags-included): Make - overridable. + * semantic/find.el (semantic-find-tags-included): + Make overridable. * semantic/fw.el (semantic-alias-obsolete) (semantic-varalias-obsolete): Use byte-compile-warn. (semantic-find-file-noselect): Disable font lock by calling global-font-lock-mode. - * semantic/grammar.el (semantic-grammar-create-package): Fix - message. + * semantic/grammar.el (semantic-grammar-create-package): + Fix message. (semantic-grammar-batch-build-one-package): When generating parsers in batch-mode, ignore version control and make sure we do not use cached versions. @@ -405,16 +488,16 @@ (semantic-lex-spp-lex-text-string): Instead of only setting the lexer, call the major mode's setup function. - * semantic/scope.el (semantic-analyze-scoped-types-default): Use - semantic-tag-prototype-p. + * semantic/scope.el (semantic-analyze-scoped-types-default): + Use semantic-tag-prototype-p. (semantic-analyze-scope-nested-tags-default): Make sure we don't return tags we already have in scopetypes. * semantic/symref/filter.el (semantic-symref-test-count-hits-in-tag): Restore. - * semantic/wisent/comp.el (wisent-BITS-PER-WORD): Use - most-positive-fixnum if available. + * semantic/wisent/comp.el (wisent-BITS-PER-WORD): + Use most-positive-fixnum if available. * semantic/wisent/javascript.el (semantic-tag-protection) (semantic-analyze-scope-calculate-access) @@ -449,8 +532,8 @@ 2012-10-01 Jan Moringen * semantic/idle.el - (semantic-idle-breadcrumbs--display-in-header-line): Escape - %-characters to avoid erroneous expansion in header line. + (semantic-idle-breadcrumbs--display-in-header-line): + Escape %-characters to avoid erroneous expansion in header line. (semantic-idle-breadcrumbs--display-in-mode-line): Likewise. * semantic/wisent/python.el (wisent-python-reconstitute-function-tag) @@ -486,8 +569,8 @@ * semantic/wisent/python.el (wisent-python-string-start-re) (wisent-python-string-re, wisent-python-forward-string) - (wisent-python-forward-line,wisent-python-lex-string): New - variables. + (wisent-python-forward-line,wisent-python-lex-string): + New variables. (wisent-python-forward-balanced-expression): New function. 2012-10-01 Pete Beardmore @@ -500,16 +583,16 @@ (semantic-displayor-tooltip-mode) (semantic-displayor-tooltip-initial-max-tags) (semantic-displayor-tooltip-max-tags): New defcustoms. - (semantic-displayor-tooltip): Use new variables as initforms. Use - new slot `mode' instead of `force-show'. Rename `max-tags' to + (semantic-displayor-tooltip): Use new variables as initforms. + Use new slot `mode' instead of `force-show'. Rename `max-tags' to `max-tags-initial'. (semantic-displayor-show-request): Display completions according to new modes, and make variable names clearer. (semantic-displayor-tooltip::semantic-displayor-scroll-request): Use new max-tags-initial slot. - * semantic/idle.el (semantic-idle-local-symbol-highlight): Make - sure there actually is a tag at point. + * semantic/idle.el (semantic-idle-local-symbol-highlight): + Make sure there actually is a tag at point. (semantic-idle-completion-list-default): Report errors as messages if semantic-idle-scheduler-verbose-flag is non-nil. @@ -520,13 +603,13 @@ 2012-10-01 Alex Ott - * semantic/idle.el (semantic-idle-scheduler-enabled-p): Fix - file-checking. + * semantic/idle.el (semantic-idle-scheduler-enabled-p): + Fix file-checking. 2012-10-01 Darren Hoo (tiny change) - * semantic/db-find.el (semanticdb-find-default-throttle): Make - buffer-local. + * semantic/db-find.el (semanticdb-find-default-throttle): + Make buffer-local. (semanticdb-strip-find-results): Check for existing :filename attribute, so that file information from GNU Global is not lost. @@ -973,7 +1056,7 @@ (ede-customize-forms-menu): Prevent error if there is no project. (ede-load-project-file): Set ede-constructing to the thing being constructed, instead of t. - (ede-project-force-load): Deleted. + (ede-project-force-load): Delete. * ede/base.el: * ede/auto.el: @@ -983,7 +1066,7 @@ (autoconf-parameters-for-macro): Parse multiline parameters of macros. Optionally ignore case and at bol for macro. (autoconf-parameter-strip): Use greedy match for newlines. - (autoconf-new-automake-string): Deleted. + (autoconf-new-automake-string): Delete. (autoconf-new-program): Use SRecode to fill an empty file. * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): @@ -1018,7 +1101,7 @@ (project-am-scan-for-targets): Scan also over project-am-meta-type-alist. (ede-system-include-path): Simple implementation. - (ede-find-target): Deleted. EDE core takes care of this. + (ede-find-target): Delete. EDE core takes care of this. (ede-buffer-mine): Create the searched filename as relative. (project-am-load): Simplify, using autoconf-edit. (project-am-extract-package-info): Fix separators. @@ -1035,7 +1118,7 @@ (ede-proj-target-makefile-objectcode): Quote initforms. Support lex and yacc. - * ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed. + * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove. (ede-proj-makefile-insert-variables): New, add LDDEPS. (ede-proj-makefile-insert-automake-post-variables): Add LDADD variable. Use ldlibs-local slot. Add a -l to ldlibs strings. @@ -1130,7 +1213,7 @@ * semantic/util.el (semantic-hack-search) (semantic-recursive-find-nonterminal-by-name) - (semantic-current-tag-interactive): Deleted. + (semantic-current-tag-interactive): Delete. (semantic-describe-buffer): Fix expand-nonterminal. Add lex-syntax-mods, type relation separator char, and command separation char. @@ -1163,7 +1246,7 @@ (semantic-idle-truncate-long-summaries): New option. * semantic/ia.el (semantic-ia-cache) - (semantic-ia-get-completions): Deleted. Callers changed. + (semantic-ia-get-completions): Delete. Callers changed. (semantic-ia-show-variants): New command. (semantic-ia-show-doc): If doc is empty, don't make a temp buffer. (semantic-ia-show-summary): If there isn't anything to show, say so.