1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 12:20:17 -08:00
Commit graph

582 commits

Author SHA1 Message Date
Chong Yidong
57f4d2f89c * cedet/semantic/db-file.el (semanticdb-save-database-hooks): Revert
last change, as this is an abnormal hook.
2009-09-26 18:09:29 +00:00
Chong Yidong
1ac9ebc859 Fix last change to use semantic-varalias-obsolete. 2009-09-26 18:03:54 +00:00
Chong Yidong
29e1a603c0 * cedet/semantic/lex.el (semantic-lex-reset-hooks): Doc fix.
* cedet/semantic/idle.el
(semantic-before-idle-scheduler-reparse-hook)
(semantic-after-idle-scheduler-reparse-hook): Rename from *-hooks.
Make old name an obsolete alias.

* cedet/semantic/edit.el (semantic-after-partial-cache-change-hook)
(semantic-change-hooks, semantic-edits-new-change-hooks)
(semantic-edits-delete-change-hooks)
(semantic-edits-move-change-hook)
(semantic-edits-reparse-change-hooks)
(semantic-edits-incremental-reparse-failed-hooks): Doc fixes.

* cedet/semantic/debug.el (semantic-debug-mode): Rename hook
symbols.

* cedet/semantic/db-mode.el (semanticdb-mode-hook): Rename from
semanticdb-mode-hooks.
(global-semanticdb-minor-mode): Use the new name.
(semanticdb-hooks): Use semantic-init-db-hook instead of obsolete
alias semantic-init-db-hooks.

* cedet/semantic/db-global.el (semanticdb-enable-gnu-global-databases):
Use semantic-init-hook instead of obsolete alias
semantic-init-hooks.

* cedet/semantic/db-file.el (semanticdb-save-database-hook):
Rename from semanticdb-save-database-hooks.  Make old name an
obsolete alias.

* cedet/semantic/decorate/mode.el
(semantic-decorate-pending-decoration-hook): Rename from
semantic-decorate-pending-decoration-hooks.  Make old name an
obsolete alias.

* cedet/srecode/map.el (srecode-map-validate-file-for-mode): Use
semantic-init-hook instead of obsolete alias semantic-init-hooks.

* cedet/semantic/fw.el (semantic-find-file-noselect): Use
semantic-init-hook instead of obsolete alias semantic-init-hooks.

* cedet/ede/project-am.el (project-am-with-makefile-current): Use
semantic-init-hook instead of obsolete alias semantic-init-hooks.

* cedet/semantic/util.el (semantic-describe-buffer): Use
semantic-init-hook and semantic-init-db-hook instead of obsolete
aliases.

* cedet/semantic/util-modes.el (semantic-mode-line-update)
(semantic-toggle-minor-mode-globally): Use semantic-init-hook
instead of obsolete alias semantic-init-hooks.


Synch to Eric M. Ludlam's upstream CEDET repository:

* cedet/semantic/bovine/c.el (semantic-c-parse-token-hack-depth):
New var.
(semantic-c-parse-lexical-token): Save match data when setting up
the secondary parse buffer.  Allow recursion.  Protect against
initializing the major mode from throwing errors, ie user hooks.

* cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
Protect installing a major mode from throwing errors.
2009-09-26 17:47:11 +00:00
Chong Yidong
17e1f4bc65 * cedet/semantic.el (semantic-parser-working-message): Use a less
technical parsing message.
(semantic-mode): Require semantic/db-ebrowse if we need to.

* cedet/semantic/util-modes.el (semantic-highlight-func-mode): Doc fix.
2009-09-21 19:05:56 +00:00
Chong Yidong
5bebb33249 * cedet/semantic/db.el (semanticdb--inhibit-make-directory): New var.
(semanticdb-save-all-db): Use it.

* cedet/semantic/db-file.el (semanticdb-default-save-directory):
Save in user-emacs-directory instead of the home directory.
(semanticdb-file-directory-exists-p): Avoid prompting the user
multiple times.
2009-09-21 18:20:50 +00:00
Chong Yidong
16feddc402 * help-fns.el (describe-function-1): Call
overload-docstring-extension for mode-local functions.

* cedet/mode-local.el:
* cedet/semantic/mru-bookmark.el:
* cedet/pulse.el: Remove advice.

* cedet/semantic.el: Add autoloads for semantic/idle functions.
2009-09-21 17:49:07 +00:00
Chong Yidong
af7b5a91b2 * cedet/semantic.el: Add autoloads for semantic/idle functions.
* cedet/semantic/util.el (semantic--completion-cache): New var.
(semantic-symbol-start, semantic-find-tag-for-completion)
(semantic-complete-symbol): New functions, adapted from Senator.

* bindings.el (complete-symbol): Try semantic-complete-symbol if
no tag table is active.

* cedet/semantic/idle.el (define-semantic-idle-service): Doc fix.
2009-09-21 15:59:48 +00:00
Chong Yidong
602a8d7e4f lisp/cedet/semantic/mru-bookmark.el: New file. 2009-09-21 02:26:07 +00:00
Chong Yidong
b82525f29a * menu-bar.el: Remove ediff-misc from Tools menu.
* cedet/semantic.el (semantic-init-hook)
(semantic-init-mode-hook, semantic-init-db-hook): Rename
from *-hooks, to follow hook naming conventions.
(semantic-submode-list, semantic-default-submodes): New vars.
(semantic-mode): New mode.
(semantic-parser-working-message): Add ellipses to parse message.

* cedet/semantic/bovine/c.el:
* cedet/semantic/bovine/make.el:
* cedet/semantic/bovine/scm.el:
* cedet/semantic/wisent/java-tags.el:
* cedet/semantic/wisent/javascript.el: Don't set hooks directly.
This is now done in semantic-mode.

* cedet/semantic/decorate/mode.el (global-semantic-decoration-mode):
Autoload.

* cedet/srecode/compile.el:
* cedet/srecode/insert.el:
* cedet/srecode/mode.el: Fix require statements.
2009-09-21 02:14:58 +00:00
Chong Yidong
4d902e6f13 lisp/cedet/srecode.el:
lisp/cedet/srecode/*.el:
test/cedet/srecode-tests.el: New files

lisp/files.el (auto-mode-alist): Use srecode-template-mode for .srt files.
lisp/cedet/semantic/bovine/scm.el: Add local vars section for autoloading.
2009-09-20 21:06:41 +00:00
Chong Yidong
acc332318e * cedet/ede.el, cedet/ede/*.el: New files.
* cedet/cedet.el: Require ede.

* cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
  Require semantic/idle.
2009-09-20 15:06:05 +00:00
Chong Yidong
00999a2ef0 * files.el (auto-mode-alist): Use emacs-lisp-mode for Project.ede.
* cedet/semantic/bovine/gcc.el (semantic-gcc-test-output-parser)
(semantic-gcc-test-output-parser-this-machine):
* cedet/semantic/symref/filter.el (semantic-symref-test-count-hits-in-tag):
* cedet/semantic/db-global.el (semanticdb-test-gnu-global):
* cedet/semantic/tag-write.el (semantic-tag-write-test)
(semantic-tag-write-list-test):
* cedet/semantic/lex-spp.el (semantic-lex-spp-write-test)
(semantic-lex-spp-write-utest):
* cedet/semantic/lex.el (semantic-lex-test-region)
(semantic-lex-test-full-depth):
* cedet/semantic/idle.el (semantic-idle-pnf-test):
* cedet/semantic/fw.el (semantic-test-data-cache)
(semantic-test-throw-on-input):
* cedet/semantic/format.el (semantic-test-all-format-tag-functions):
* cedet/semantic/complete.el (semantic-complete-test):
* cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-run-tests)
(semanticdb-ebrowse-dump): Test functions moved to
semantic-tests.el in the test/ directory.

* cedet/semantic/db-ref.el (semanticdb-ref-test): Doc fix.
2009-09-20 03:44:02 +00:00
Chong Yidong
1eac105a70 Synch to Eric M. Ludlam's upstream CEDET repository.
* cedet/semantic/db.el (semanticdb-get-buffer): Wrap find-file in
save-match-data.

* cedet/semantic/db-global.el (semanticdb-test-gnu-global): Wrap
find-file in save-match-data.

* cedet/semantic/util.el (semantic-file-tag-table)
(semantic-recursive-find-nonterminal-by-name): Wrap find-file in
save-match-data.

* cedet/semantic/tag.el (semantic-tag-buffer): Wrap find-file in
save-match-data.

* cedet/semantic/tag-file.el (semantic-go-to-tag): Wrap the "goto"
part with save-match-data.

* cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
Save match data around calling the major mode to enable.

* cedet/semantic/format.el (semantic-format-tag-short-doc-default):
Wrap find-file in save-match-data.

* cedet/semantic/fw.el (semantic-find-file-noselect): Wrap
find-file in save-match-data
2009-09-19 17:25:30 +00:00
Chong Yidong
5c5bbb19dc * cedet/semantic/tag-write.el (semantic-tag-write-list-slot-value):
Autoload.
2009-09-13 16:18:01 +00:00
Chong Yidong
00676d68f4 * cedet/semantic/analyze/fcn.el (semantic-analyze-dereference-metatype-1)
(semantic-analyze-type): Require semantic/scope.
(semantic-analyze-select-best-tag): Require semantic/db-typecache.
(semantic-analyze-dereference-metatype): Move up to avoid compiler warning.

* cedet/semantic/analyze.el (semantic-adebug-analyze): Require data-debug.
2009-09-13 16:12:23 +00:00
Chong Yidong
a964f5e552 Synch to Eric M. Ludlam's upstream CEDET repository.
* cedet/semantic/wisent/java-tags.el:
* cedet/semantic/wisent/javat-wy.el: New files.

* cedet/semantic/wisent/java.el:
* cedet/semantic/wisent/java-wy.el: Files removed.

* cedet/semantic/java.el (semantic-java-prototype-function)
(semantic-java-prototype-variable, semantic-java-prototype-type):
Doc fix
(java-mode::semantic-format-tag-prototype): Renamed from
semantic-format-prototype-tag, which didn't match the overloadable
function.

* cedet/semantic/bovine/c.el (semantic-c-dereference-namespace-alias):
Deal correctly with nested namespaces.  Make sure type actually
exists in original namespace.

* cedet/semantic/lex-spp.el (semantic-lex-spp-hack-depth): New.
(semantic-lex-spp-lex-text-string): Use above to enable recursion.

* cedet/semantic/format.el: Whitespace cleanup.
(semantic-test-all-format-tag-functions): Move to end.
(semantic-format-tag-prototype, semantic-format-tag-name)
(semantic-format-tag-name-default): Revert to original upstream
positions.

* cedet/semantic/elp.el: File removed.

* cedet/semantic/analyze.el (semantic-adebug-analyze): New
function, moved here from semantic/adebug.

* cedet/semantic/adebug.el: Declare external semanticdb functions.
(semantic-adebug-analyze, semantic-adebug-edebug-expr): Deleted.

* emacs-lisp/eieio.el (eieio-unbound): Default value is now robust
to recompile.

* emacs-lisp/eieio-datadebug.el: Add eieio objects to the list of
data debug things to recognize.

* emacs-lisp/eieio-comp.el: Synch to upstream.

* cedet/data-debug.el: Don't require eieio and semantic/tag.
If eieio is loaded, require eieio-datadebug.
(data-debug-insert-ring-button): Do not be specific about the ring
contents.
(data-debug-thing-alist): Remove eieio and semantic specific
entries.
(data-debug-add-specialized-thing): New function.

* cedet/cedet.el: Update commentary.

* cedet/cedet-edebug.el: Require edebug and debug.
2009-09-13 15:58:30 +00:00
Chong Yidong
0a3b3f9e13 lisp/cedet/semantic/scope.el (semantic-analyze-show): Fix require. 2009-09-11 01:17:46 +00:00
Chong Yidong
2182c2cca5 lisp/cedet/semantic/symref.el: Revert last change.
lisp/cedet/semantic/symref/cscope.el:
lisp/cedet/semantic/symref/global.el:
lisp/cedet/semantic/symref/grep.el:
lisp/cedet/semantic/symref/idutils.el: Add local vars for autoloading.
Autoload tool classes.
2009-09-07 18:00:19 +00:00
Chong Yidong
dac49f4ee9 lisp/cedet/semantic/db-file.el: Add local vars for autoloading.
(semanticdb-project-database-file): Autoload.
2009-09-07 17:59:16 +00:00
Chong Yidong
4fd27ea52b lisp/cedet/semantic/db.el: Revert last change. 2009-09-07 17:54:28 +00:00
Chong Yidong
ccd7dc02cc lisp/cedet/semantic/db-typecache.el (semanticdb-typecache)
(semanticdb-database-typecache): Autoload classes.
2009-09-07 17:54:07 +00:00
Chong Yidong
3b4741cdf0 lisp/cedet/semantic/symref/grep.el: New file. 2009-09-07 17:26:29 +00:00
Chong Yidong
4b38b37a41 lisp/cedet/semantic/symref.el: Autoload subclasses for
semantic-symref-tool-baseclass.
2009-09-07 17:25:56 +00:00
Chong Yidong
ca8a4d5e32 lisp/cedet/semantic/wisent.el: New file. 2009-09-07 16:38:54 +00:00
Chong Yidong
bb05142310 lisp/cedet/semantic/wisent/comp.el:
lisp/cedet/semantic/wisent/java-wy.el:
lisp/cedet/semantic/wisent/java.el:
lisp/cedet/semantic/wisent/javascript.el:
lisp/cedet/semantic/wisent/js-wy.el:
lisp/cedet/semantic/wisent/wisent.el: New files.
2009-09-07 16:38:28 +00:00
Chong Yidong
bbaca9f74b lisp/cedet/semantic/util.el (semantic-file-tag-table): Require
semantic/db-mode instead of checking if semanticdb-minor-mode-p is
bound.
2009-09-07 16:35:33 +00:00
Chong Yidong
bb631f1732 lisp/cedet/semantic/sort.el (semantic-tag-external-class-default)
(semantic-tag-external-member-children-default): Require
semantic/db-mode instead of checking if semanticdb-minor-mode-p is
bound.
2009-09-07 16:34:35 +00:00
Chong Yidong
663d4a979b Require semantic/db-file. 2009-09-07 16:33:20 +00:00
Chong Yidong
d046becfc4 lisp/cedet/semantic/db-mode.el (global-semanticdb-minor-mode): Autoload. 2009-09-07 16:28:35 +00:00
Chong Yidong
50dfa8e78b lisp/cedet/semantic/bovine/c.el: Remove unnecessary function declaration. 2009-09-07 15:31:40 +00:00
Chong Yidong
4b67489668 lisp/cedet/semantic/edit.el (semantic-change-function): Autoload. 2009-09-07 01:34:14 +00:00
Chong Yidong
a60f2e7b9c Minor whitespace changes and `require' fixes. 2009-09-06 21:22:05 +00:00
Chong Yidong
6ca2fce3b8 lisp/cedet/semantic/java.el: File moved here from bovine/ subdirectory. 2009-09-06 02:18:37 +00:00
Chong Yidong
d7576f17fe lisp/cedet/semantic/decorate/include.el: Add local vars for autoloading.
(semantic-decoration-include-visit)
(semantic-decoration-unparsed-include-do-reset): Autoload.
2009-09-05 23:39:31 +00:00
Chong Yidong
a0690282d2 lisp/cedet/semantic/util-modes.el: Add local vars for autoloading.
(global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
(global-semantic-show-unmatched-syntax-mode)
(semantic-show-unmatched-syntax-mode)
(global-semantic-show-parser-state-mode)
(semantic-show-parser-state-mode, global-semantic-stickyfunc-mode)
(semantic-stickyfunc-mode, global-semantic-highlight-func-mode)
(semantic-highlight-func-mode): Autoload.
2009-09-05 23:36:11 +00:00
Chong Yidong
8d3647c073 lisp/cedet/semantic/symref.el: Add local vars for autoloading.
(semantic-symref-find-references-by-name)
(semantic-symref-find-tags-by-name, semantic-symref-find-tags-by-regexp)
(semantic-symref-find-tags-by-completion)
(semantic-symref-find-file-references-by-name)
(semantic-symref-find-text): Autoload.
2009-09-05 23:30:27 +00:00
Chong Yidong
638e74d1a9 lisp/cedet/semantic/scope.el: Add local vars for autoloading.
(semantic-calculate-scope): Autoload.
2009-09-05 23:27:45 +00:00
Chong Yidong
cd23a4d304 lisp/cedet/semantic/idle.el: Add local vars for autoloading.
(global-semantic-idle-scheduler-mode)
(semantic-idle-scheduler-mode): Autoload.
2009-09-05 23:25:26 +00:00
Chong Yidong
e076d49f56 lisp/cedet/semantic/ia-sb.el: Add local vars for autoloading.
(semantic-speedbar-analysis): Autoload.
2009-09-05 23:22:02 +00:00
Chong Yidong
9e031c3162 lisp/cedet/semantic/ia.el: Add local vars for autoloading.
(semantic-ia-complete-symbol, semantic-ia-complete-symbol-menu)
(semantic-ia-complete-tip, semantic-ia-show-summary)
(semantic-ia-fast-jump, semantic-ia-fast-mouse-jump)
(semantic-ia-show-doc, semantic-ia-describe-class): Autoload.
2009-09-05 23:20:52 +00:00
Chong Yidong
e969cc5dd7 lisp/cedet/semantic/dep.el: Add local vars for autoloading.
(semantic-add-system-include, semantic-remove-system-include
(semantic-reset-system-include)
(semantic-customize-system-include-path): Autoload.
2009-09-05 23:17:15 +00:00
Chong Yidong
ad75612d6a lisp/cedet/semantic/db-global.el: Add local vars for autoloading.
(semanticdb-enable-gnu-global-databases): Autoload.
2009-09-05 23:13:51 +00:00
Chong Yidong
cdaea6f169 lisp/cedet/semantic/db-find.el (semanticdb-find-test-translate-path)
(semanticdb-find-adebug-lost-includes): Autoload.
2009-09-05 23:12:41 +00:00
Chong Yidong
479527de43 lisp/cedet/semantic/complete.el: Add local vars for autoloading.
(semantic-complete-jump-local, semantic-complete-jump)
(semantic-complete-analyze-and-replace)
(semantic-complete-analyze-inline)
(semantic-complete-analyze-inline-idle)
(semantic-complete-self-insert): Autoload.
2009-09-05 23:09:43 +00:00
Chong Yidong
1fe1547aee lisp/cedet/semantic/db-ref.el: Require semantic/db.
(semanticdb-add-reference): Fix feature name.
(semanticdb-ref-test): Require eieio-datadebug instead of data-debug.

lisp/cedet/semantic/analyze/debug.el: Fix file header.

lisp/cedet/semantic/analyze/refs.el: Add local vars for autoloading.
Require semantic, semantic/analyze, and semantic/db-find.
Declare external functions.
(semantic-analyze-proto-impl-toggle): Autoload.  Require
semantic/decorate.
(semantic-analyze-current-tag): Autoload.

lisp/cedet/semantic/bovine/c.el: Declare external function.

lisp/cedet/semantic/bovine/gcc.el: Add local vars for autoloading.
(semantic-gcc-setup): Autoload.

lisp/cedet/semantic/decorate/include.el: Declare external functions.

lisp/cedet/semantic/symref/cscope.el: Declare external functions.

lisp/cedet/semantic/symref/filter.el: Declare external functions.

lisp/cedet/semantic/symref/list.el (semantic-symref-rb-goto-file)
(semantic-symref-rb-goto-tag, semantic-symref-rb-goto-match): Use
last-command-event.
(semantic-symref, semantic-symref-symbol): Autoload.
2009-09-05 23:04:46 +00:00
Chong Yidong
a4556861cd lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Require
semantic/bovine/el for semantic-elisp-desymbolify.

lisp/cedet/semantic/symref.el: Declare external functions.

lisp/cedet/semantic/tag-file.el: Declare external variables and functions.

lisp/cedet/semantic/texi.el: Declare external variables and functions.
2009-09-05 21:20:17 +00:00
Chong Yidong
ea041226e1 lisp/cedet/semantic/symref/filter.el: New file.
lisp/cedet/semantic/idle.el (semantic-symref-hits-in-region): Require
semantic/symref/filter.
2009-09-05 21:09:25 +00:00
Chong Yidong
54c6ce2991 lisp/cedet/semantic/bovine.el: New file. 2009-09-05 20:48:18 +00:00
Chong Yidong
4feec2f575 lisp/cedet/semantic/bovine/c-by.el
lisp/cedet/semantic/bovine/c.el
lisp/cedet/semantic/bovine/debug.el
lisp/cedet/semantic/bovine/el.el
lisp/cedet/semantic/bovine/gcc.el
lisp/cedet/semantic/bovine/java.el
lisp/cedet/semantic/bovine/make-by.el
lisp/cedet/semantic/bovine/make.el
lisp/cedet/semantic/bovine/scm-by.el
lisp/cedet/semantic/bovine/scm.el: New files.
2009-09-05 20:47:41 +00:00
Chong Yidong
cea2906fcf lisp/cedet/semantic/decorate/include.el:
lisp/cedet/semantic/decorate/mode.el: New files.
2009-09-05 20:45:54 +00:00