1. 12 Dec, 2013 1 commit
    • David Engster's avatar
      Merge with CEDET upstream. · b0fe992f
      David Engster authored
      * admin/grammars/c.by (expr-binop): Add MOD.
      (variablearg): Add 'opt-assign'.
      (variablearg, varnamelist): Add default values so that it can be
      later expanded into the tag.
      (opt-stuff-after-symbol): Rename to 'brackets-after-symbol' and
      remove empty match.
      (multi-stage-dereference): Adapt to above rename.
      (unaryexpression): Use 'symbol' instead of 'namespace-symbol',
      since the latter also leads to an empty match at the end which
      would make this too greedy.
      (variablearg-opt-name): Support parsing of function pointers
      inside an argument list.
      
      * semantic/analyze.el
      (semantic-analyze-find-tag-sequence-default): Always add scope to
      the local miniscope for each type.  Otherwise, structure tags are
      not analyzed correctly.  Also, always search the extended
      miniscope even when not dealing with types.
      
      * semantic/ctxt.el (semantic-get-local-variables-default): Also
      try to parse local variables for buffers which are currently
      marked as unparseable.  Otherwise, it is often impossible to
      complete local variables.
      
      * semantic/scope.el (semantic-analyze-scoped-types-default): If we
      cannot find a type in the typecache, also look into the the types
      we already found.  This is necessary since in C++, a 'using
      namespace' can be dependend on a previous one.
      (semantic-completable-tags-from-type): When creating the list of
      completable types, pull in types which are referenced through
      'using' statements, and also preserve their filenames.
      
      * semanitc/bovine/c.el (semantic/analyze/refs): Require.
      (semantic-analyze-tag-references): New override.  Mainly copied
      from the default implementation, but if nothing could be found (or
      just the tag itself), drop all namespaces from the scope and
      search again.  This is necessary for implementations which are
      defined outside of the namespace and only pull those in through
      'using' statements.
      (semantic-ctxt-scoped-types): Go through all tags around point and
      search them for using statements.  In the case for using
      statements outside of function scope, append them in the correct
      order instead of using 'cons'.  This is important since using
      statements may depend on previous ones.
      (semantic-expand-c-tag-namelist): Do not try to parse struct
      definitions as default values.  The grammar parser seems to return
      the point positions slightly differently (as a cons instead of a
      list).  Also, set parent for typedefs to 'nil'.  It does not
      really make sense to set a parent class for typedefs, and it can
      also lead to endless loops when calculating scope.
      (semantic-c-reconstitute-token): Change handling of function
      pointers; instead of seeing them as variables, handle them as
      functions with a 'function-pointer' attribute.  Also, correctly
      deal with function pointers as function arguments.
      (semantic-c-reconstitute-function-arglist): New function to parse
      function pointers inside an argument list.
      (semantic-format-tag-name): Use 'function-pointer' attribute
      instead of the old 'functionpointer-flag'.
      (semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'.
      
      * semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to
      the list of files whose preprocessor symbols are included.  This
      pulls in things like __USE_POSIX and similar.
      
      * semantic/format.el (semantic-format-tag-prototype-default):
      Display default values if available.
      
      * semantic/analyze/refs.el (semantic-analyze-refs-impl)
      (semantic-analyze-refs-proto): Add 'default-value' as ignorable in
      call to `semantic-tag-similar-p'.
      
      * semantic/db-mode.el (semanticdb-semantic-init-hook-fcn): Always
      set buffer for `semanticdb-current-table'.
      
      * semantic/db.el (semanticdb-table::semanticdb-refresh-table): The
      previous change turned up a bug in this method.  Since the current
      table now correctly has a buffer set, the first clause in the
      `cond' would be taken, but there was a `save-excursion' missing.
      
      * semantic/lex-spp.el (semantic-c-end-of-macro): Declare.
      (semantic-lex-spp-token-macro-to-macro-stream): Deal with macros
      which open/close a scope.  For this, leave an overlay if we
      encounter a single open paren and return a semantic-list in the
      lexer.  When this list gets expanded, retrieve the old position
      from the overlay.  See the comments in the function for further
      details.
      (semantic-lex-spp-find-closing-macro): New function to find the
      next macro which closes scope (i.e., has a closing paren).
      (semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of
      closing macro if necessary.
      (semantic-lex-spp-paren-or-list): New lexer to specially deal with
      parens in macro definitions.
      
      * semantic/decorate/mode.el (semantic-decoration-mode): Do not
      decorate available tags immediately but in an idle timer, since
      EDE will usually not be activated yet, which will make it
      impossible to find project includes.
      
      * semantic/decorate/include.el
      (semantic-decoration-on-includes-highlight-default): Remove
      'unloaded' from throttle when decorating includes, otherwise all
      would be loaded.  Rename 'table' to 'currenttable' to make things
      clearer.
      
      * ede/linux.el (cl): Require during compile.
      
      * ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default): Add customizable variables.
      (ede-linux-project): Add additional slots to track Linux-specific
      information (out-of-tree build directory and selected
      architecture).
      (ede-linux--get-build-directory, ede-linux--get-archs)
      (ede-linux--detect-architecture, ede-linux--get-architecture)
      (ede-linux--include-path): Added function to detect Linux-specific
      information.
      (ede-linux-load): Set new Linux-specific information when creating
      a project.
      (ede-expand-filename-impl): Use new and more accurate include
      information.
      
      * semantic/scope.el (semantic-calculate-scope): Return a clone of
      the scopecache, so that everyone is working with its own (shallow)
      copy.  Otherwise, if one caller is resetting the scope, it would
      be reset for all others working with the scope cache as well.
      b0fe992f
  2. 02 Jun, 2013 1 commit
    • David Engster's avatar
      Merge from CEDET upstream (8564). · 890f7890
      David Engster authored
      * lisp/emacs-lisp:
      
      	* emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
      	(eieio-error-unsupported-class-tags, eieio-skip-typecheck)
      	(eieio-optimize-primary-methods-flag, eieio-initializing-object)
      	(eieio-unbound, eieio-default-superclass)
      	(eieio--define-field-accessors, method-static, method-before)
      	(method-primary, method-after, method-num-lists)
      	(method-generic-before, method-generic-primary)
      	(method-generic-after, method-num-slots)
      	(eieio-specialized-key-to-generic-key)
      	(eieio--check-type, class-v, class-p)
      	(eieio-class-name, define-obsolete-function-alias)
      	(eieio-class-parents-fast, eieio-class-children-fast)
      	(same-class-fast-p, class-constructor, generic-p)
      	(generic-primary-only-p, generic-primary-only-one-p)
      	(class-option-assoc, class-option, eieio-object-p)
      	(class-abstract-p, class-method-invocation-order)
      	(eieio-defclass-autoload-map, eieio-defclass-autoload)
      	(eieio-class-un-autoload, eieio-defclass)
      	(eieio-eval-default-p, eieio-perform-slot-validation-for-default)
      	(eieio-add-new-slot, eieio-copy-parents-into-subclass)
      	(eieio--defgeneric-init-form, eieio-defgeneric-form)
      	(eieio-defgeneric-reset-generic-form)
      	(eieio-defgeneric-form-primary-only)
      	(eieio-defgeneric-reset-generic-form-primary-only)
      	(eieio-defgeneric-form-primary-only-one)
      	(eieio-defgeneric-reset-generic-form-primary-only-one)
      	(eieio-unbind-method-implementations)
      	(eieio--defmethod, eieio--typep)
      	(eieio-perform-slot-validation, eieio-validate-slot-value)
      	(eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
      	(eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
      	(eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
      	(eieio-slot-name-index, eieio-class-slot-name-index)
      	(eieio-set-defaults, eieio-initarg-to-attribute)
      	(eieio-attribute-to-initarg, eieio-c3-candidate)
      	(eieio-c3-merge-lists, eieio-class-precedence-c3)
      	(eieio-class-precedence-dfs, eieio-class-precedence-bfs)
      	(eieio-class-precedence-list, eieio-generic-call-methodname)
      	(eieio-generic-call-arglst, eieio-generic-call-key)
      	(eieio-generic-call-next-method-list)
      	(eieio-pre-method-execution-functions, eieio-generic-call)
      	(eieio-generic-call-primary-only, eieiomt-method-list)
      	(eieiomt-optimizing-obarray, eieiomt-install)
      	(eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
      	(eieio-generic-form, eieio-defmethod, make-obsolete)
      	(eieio-defgeneric, make-obsolete): Moved to eieio-core.el
      	(defclass): Remove `eval-and-compile' from macro.
      	(call-next-method, shared-initialize): Instead of using
      	`scoped-class' variable, use new eieio--scoped-class, and
      	eieio--with-scoped-class.
      	(initialize-instance): Rename local variable 'scoped-class' to
      	'this-class' to remove ambiguitity from old global.
      
      	* emacs-lisp/eieio-core.el: New file.  Derived from key parts of
      	eieio.el.
      	(eieio--scoped-class-stack): New variable
      	(eieio--scoped-class): New fcn
      	(eieio--with-scoped-class): New scoping macro.
      	(eieio-defclass): Use pushnew instead of add-to-list.
      	(eieio-defgeneric-form-primary-only-one, eieio-oset-default)
      	(eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
      	(eieio-generic-call-primary-only, eieiomt-add): Instead of using
      	`scoped-class' variable, use new eieio--scoped-class, and
      	eieio--with-scoped-class.
      
      	* emacs-lisp/eieio-base.el (cl-lib): Require during compile.
      
      * admin/grammars:
      
      	* grammars/srecode-template.wy (variable): Accept a single number
      	as a variable value.  Allows the 'priority' to be set to a number.
      	(wisent-srecode-template-lexer): Move number up so it can be
      	created.
      
      * etc/srecode:
      
      	* srecode/c.srt (header_guard): Add :c parameter so it works
      	standalone
      
      * lisp/cedet:
      
      	* semantic/edit.el (semantic-change-function): Use
      	`save-match-data' around running hooks.
      
      	* semantic/decorate/mode.el
      	(semantic-decorate-style-predicate-default)
      	(semantic-decorate-style-highlighter-default): New.
      	(semantic-decoration-mode): Do not require
      	`semantic/decorate/include' anymore.
      	(semantic-toggle-decoration-style): Error if an unknown decoration
      	style is toggled.
      	(define-semantic-decoration-style): Add new :load option.  When
      	:load is specified, add autoload tokens for the definition
      	functions so that code is loaded when the mode is used.
      	(semantic-decoration-on-includes): New autoload definition for
      	highlighting includes.
      
      	* semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
      	characters to appear after the tested variable.
      
      	* semantic/ede-grammar.el (project-compile-target): Calculate full
      	src name via ede-expand-filename instead of the crutch of the
      	current buffer.  Enables this target to compile in batch mode.
      
      	* semantic/idle.el
      	(semantic-idle-symbol-maybe-highlight): Wrap highlighting of
      	remote symbol with `save-excursion'.
      	(semantic-idle-scheduler-work-parse-neighboring-files): Instead of
      	using directory-files on each found mode pattern, collect all the
      	patterns for the current mode, and then for each file, see if it
      	matches any of them.  If it does, parse the file.  (Patch
      	inspiration from Tomasz Gajewski.)
      
      	* semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
      	(semantic-ctxt-current-symbol-default): New.
      
      	* semantic/bovine/el.el (semantic-default-elisp-setup): Add
      	autoload cookie.  Explain existence.
      	(footer): Add local variable for loaddefs.
      
      	* semantic/db.el (semanticdb-file-table-object): Add new filter,
      	only checking for regular files too.
      
      	* semantic/wisent/python.el
      	(semantic-format-tag-abbreviate): New override.  Cuts back on size
      	of code tags.
      
      	* srecode/compile.el (srecode-compile-templates): Fix warning
      	punctuation.  Remove status messages to clean up testing output
      
      	* ede/base.el (ede-project-placeholder-cache-file): Update doc to
      	mention 'nil' value.
      	(ede-save-cache): Disable cache save if file is nil.
      
      	* ede.el (ede-initialize-state-current-buffer): Flush deleted
      	projects.
      	(global-ede-mode): Always append our find-file-hook to the end.
      	(ede-flush-deleted-projects): New command.
      
      	* ede/cpp-root.el (ede-preprocessor-map): Protect against init
      	problems.
      
      	* ede/proj.el (ede-proj-target): Added a new "custom" option for
      	custom symbols representing a compiler or linker instead of
      	restricting things to only the predefined compilers and linkers.
      
      	* semantic.el (semantic-mode-map): To avoid showing showing
      	Development menu twice, only disable menu item if menu-bar is
      	actually enabled, otherwise the popup 'global menu' might display
      	a disabled Development menu.
      
      	* semantic/complete.el
      	(semantic-displayor-show-request): Fix which slot in obj is set to
      	the max tags.
      890f7890
  3. 21 Mar, 2013 1 commit
    • David Engster's avatar
      Merge with CEDET upstream (rev. 8499). · e8cc7880
      David Engster authored
      lisp/
      
      * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
        Inhibit read only while inserting objects.
      
      lisp/cedet/
      
      * semantic.el (navigate-menu): Yank Tag :enable. Make sure
      `senator-tag-ring' is bound.
      (semantic-parse-region-default): Stop reversing the output of
      parse-whole-stream.
      (semantic-repeat-parse-whole-stream): Append returned tags
      differently, so they come out in the right order.
      
      * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
      (semantic-sb-fetch-tag-table): Filter tags being bucketed to exclude
      tags belonging to above filtered classes.
      
      * semantic/find.el (semantic-filter-tags-by-class): New function.
      
      * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
      short-circuit in case tag1 and 2 are identical.
      
      * semantic/analyze/fcn.el
      (semantic-analyze-dereference-metatype-stack): Use
      `semantic-tag-similar-p' instead of 'eq' when comparing two tags
      during metatype evaluation in case they are the same, but not the same
      node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
      
      * semantic/db-find.el (semanticdb-partial-synchronize): Fix require to
      semantic/db-typecache to be correct.
      (semanticdb-find-tags-external-children-of-type): Make this a brutish
      search by default.
      
      * semantic/sort.el (semantic-tag-external-member-children-default):
      When calling `semanticdb-find-tags-external-children-of-type', pass in
      the input tag as the place to start searching for externally defined
      methods.
      
      * semantic/db-file.el (semanticdb-default-save-directory): Doc
      fix: Add ref to default value.
      
      * semantic/complete.el (semantic-complete-post-command-hook): When
      detecting if cursor is outside completion area, do so if cursor moves
      before start of overlay, or the original starting location of the
      overlay (i.e., if user deletes past beginning of the overlay region).
      (semantic-complete-inline-tag-engine): Initialize original start of
      `semantic-complete-inline-overlay'.
      
      * semantic/bovine/c.el (semantic-c-describe-environment): Update some
      section titles.  Test semanticdb table before printing it.
      (semantic-c-reset-preprocessor-symbol-map): Update
      `semantic-lex-spp-macro-symbol-obarray' outside the loop over all the
      files contributing to its value.
      (semantic-c-describe-environment): If there is an EDE project but no
      spp symbols from it, say so.
      
      * srecode/args.el (srecode-semantic-handle-:project): New argument
      handler. Provide variable values if not in an EDE project.
      
      * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
      name.
      
      * srecode/cpp.el (srecode-semantic-handle-:c): Replace all characters
      in FILENAME_SYMBOL that aren't valid CPP symbol chars.
      
      * srecode/map.el (srecode-map-validate-file-for-mode): Force semantic
      to load if it is not active in the template being added to the map.
      
      * srecode/srt.el: Add local variables for setting the autoload file
      name.
      (srecode-semantic-handle-:srt): New autoload cookie
      
      * ede.el (ede-apply-preprocessor-map): Apply map to
      `semantic-lex-spp-project-macro-symbol-obarray' instead of the system
      one. Add require for semantic.
      
      * ede/proj-elisp.el (ede-update-version-in-source): In case a file has
      both a version variable and a Version: comment, always use
      `call-next-method'.
      
      * ede/cpp-root.el (ede-set-project-variables): Deleted.
      `ede-preprocessor-map' does the job this function was attempting to do
      with :spp-table.
      (ede-preprocessor-map): Update file tests to provide better messages.
      Do not try to get symbols from a file that is the file in the current
      buffer.
      
      * ede/base.el (ede-project-placeholder): Add more documentation to
      :file slot.
      (ede-load-cache): Use `insert-file-contents' instead of
      `find-file-noselect' in order to avoid activating other tools.
      
      * semantic/bovine/c.el (semantic-get-local-variables): Also add a new
      variable 'this' if we are in an inline member function.  For detecting
      this, we check overlays at point if there is a class spanning the
      current function.  Also, the variable 'this' has to be a pointer.
      
      * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully when
      querying g++ for defines returns an error.
      
      * srecode/srt-mode.el:
      * srecode/compile.el:
      * semantic/elp.el:
      * semantic/db-el.el:
      * semantic/complete.el:
      * ede.el:
      * cogre.el:
      * srecode/table.el:
      * srecode/mode.el:
      * srecode/insert.el:
      * srecode/compile.el:
      * semantic/decorate/include.el:
      * semantic/db.el:
      * semantic/adebug.el:
      * ede/auto.el:
      * srecode/dictionary.el:
      * semantic/ede-grammar.el:
      * semantic/db.el:
      * semantic/db-find.el:
      * semantic/db-file.el:
      * semantic/complete.el:
      * semantic/bovine/c.el:
      * semantic/analyze.el:
      * ede/util.el:
      * ede/proj.el:
      * ede/proj-elisp.el:
      * ede/pconf.el:
      * ede/locate.el:
      * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name' to
      `eieio-object-name', `object-set-name-string' to
      `eieio-object-set-name-string', `object-class' to
      `eieio-object-class', `class-parent' to `eieio-class-parent',
      `class-parents' to `eieio-class-parents', `class-children' to
      `eieio-class-children', `object-name-string' to
      `eieio-object-name-string', `object-class-fast' to
      `eieio--object-class'. Also replace direct access with new accessor
      functions.
      
      * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix EDE
      file symbol to match rename.  Fix ede-cpp-root symbol to include
      -project in name.
      
      * cedet-files.el (cedet-files-list-recursively): New function.
      Recursively find files whose names are matching to given regex
      
      * ede.el (ede-current-project): Rewrite to avoid imperative style.
      
      * ede/files.el (ede-find-file): Simplify code.
      
      * ede/base.el (ede-normalize-file/directory): Add function to
      normalize :file or :directory slots if they are missing.
      
      * ede/cpp-root.el (ede-cpp-root-project): Add compile-command slot.
      (project-compile-project): Compiles project using value specified in
      :compule-command slot or in compile-command local variable.  Value of
      slot or local variable could be string or function that receives
      project and should return string that will be invoked as command.
      (project-compile-target): Invokes compilation of whole project
      
      * ede/files.el (ede-find-project-root): New function to find root of
      project that contains specific file.
      (ede-files-find-existing): New function which checks presence of given
      directory in the list of registered projects.
      
      etc/
      
      * srecode/ede-autoconf.srt: Change Copyright to FSF.
      (ede-empty): Change AC_INIT to use PROJECT_NAME, and PROJECT_VERSION.
      
      * srecode/ede-make.srt (ede-empty): Add a dependency on :project.  Add
      header comment specifying the project's relative path.
      
      * srecode/c.srt (header_guard): Upcase the filename symbol.
      
      * srecode/java.srt (empty-main): New.
      (class-tag): Decapitalize class.
      e8cc7880
  4. 01 Jan, 2013 1 commit
  5. 13 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Use new names for hooks rather than obsolete aliases · 7b1bf173
      Glenn Morris authored
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      * lisp/cedet/semantic/util.el (semantic-describe-buffer):
      * lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
      (semantic-default-c-setup):
      * lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
      * lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (gnus-subscribe-newsgroup-functions)
      (nndiary-request-accept-article-functions):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
      Use new names for hooks rather than obsolete aliases.
      
      * lisp/arc-mode.el:
      * lisp/emacs-lisp/checkdoc.el: Related comments.
      
      * etc/NEWS: Related markup.
      7b1bf173
  6. 05 Oct, 2012 1 commit
  7. 01 Oct, 2012 1 commit
  8. 11 Jan, 2012 1 commit
  9. 05 Jan, 2012 1 commit
  10. 06 Dec, 2011 1 commit
  11. 24 Nov, 2011 1 commit
  12. 20 Nov, 2011 2 commits
  13. 19 Nov, 2011 1 commit
  14. 15 Nov, 2011 1 commit
  15. 14 Nov, 2011 2 commits
  16. 11 Nov, 2011 1 commit
  17. 25 Jan, 2011 1 commit
  18. 02 Jan, 2011 1 commit
  19. 10 Nov, 2010 1 commit
    • Glenn Morris's avatar
      system-type related trivia. · 72bc50c0
      Glenn Morris authored
      * lisp/cedet/semantic/bovine/c.el: Test system-type with memq.
      
      * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
      No recent Emacs supports system-type `emx'.
      
      * lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
      (ada-command-separator, ada-default-prj-properties)
      (ada-find-any-references): Update for above name change.
      
      * lisp/dirtrack.el (dirtrack-directory-function)
      (dirtrack-canonicalize-function):
      * lisp/filecache.el (file-cache-completion-ignore-case)
      (file-cache-case-fold-search, file-cache-ignore-case):
      * lisp/term.el (serial-port-is-file-p): Cosmetic change.
      
      * lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
      Remove non-existent `windows-95' system-type.
      * lisp/dired.el (dired-chown-program): Remove non-existent `linux'
      system-type.
      
      * lisp/locate.el: Comment.
      72bc50c0
  20. 01 Nov, 2010 1 commit
  21. 19 Sep, 2010 1 commit
    • Chong Yidong's avatar
      Synch Semantic to CEDET 1.0. · dd9af436
      Chong Yidong authored
      Move CEDET ChangeLog entries to new file lisp/cedet/ChangeLog.
      
      * semantic.el (semantic-version): Update to 2.0.
      (semantic-mode-map): Add "," and "m" bindings.
      (navigate-menu): Update.
      
      * semantic/symref.el (semantic-symref-calculate-rootdir):
      New function.
      (semantic-symref-detect-symref-tool): Use it.
      
      * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
      (semantic-symref-perform-search): Use it.  Calculate root dir with
      semantic-symref-calculate-rootdir.
      (semantic-symref-derive-find-filepatterns): Improve error message.
      
      * semantic/symref/list.el
      (semantic-symref-results-mode-map): New bindings.
      (semantic-symref-auto-expand-results): New option.
      (semantic-symref-results-dump): Obey auto-expand.
      (semantic-symref-list-expand-all, semantic-symref-regexp)
      (semantic-symref-list-contract-all)
      (semantic-symref-list-map-open-hits)
      (semantic-symref-list-update-open-hits)
      (semantic-symref-list-create-macro-on-open-hit)
      (semantic-symref-list-call-macro-on-open-hits): New functions.
      (semantic-symref-list-menu-entries)
      (semantic-symref-list-menu): New vars.
      (semantic-symref-list-map-open-hits): Move cursor to beginning of
      match before calling the mapped function.
      
      * semantic/doc.el
      (semantic-documentation-comment-preceeding-tag): Do nothing if the
      mode doesn't provide comment-start-skip.
      
      * semantic/scope.el
      (semantic-analyze-scope-nested-tags-default): Strip duplicates.
      (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
      looking for as part of the scoped tags list.
      
      * semantic/html.el (semantic-default-html-setup): Add
      senator-step-at-tag-classes.
      
      * semantic/decorate/include.el
      (semantic-decoration-on-unknown-includes): Change light bgcolor.
      (semantic-decoration-on-includes-highlight-default): Check that
      the include tag has a postion.
      
      * semantic/complete.el (semantic-collector-local-members):
      (semantic-complete-read-tag-local-members)
      (semantic-complete-jump-local-members): New class and functions.
      (semantic-complete-self-insert): Save excursion before completing.
      
      * semantic/analyze/complete.el
      (semantic-analyze-possible-completions-default): If no completions
      are found, return the raw by-name-only completion list.  Add FLAGS
      arguments.  Add support for 'no-tc (type constraint) and
      'no-unique, or no stripping duplicates.
      (semantic-analyze-possible-completions-default): Add FLAGS arg.
      
      * semantic/util-modes.el
      (semantic-stickyfunc-show-only-functions-p): New option.
      (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
      the very first line in a buffer.
      
      * semantic/util.el (semantic-hack-search)
      (semantic-recursive-find-nonterminal-by-name)
      (semantic-current-tag-interactive): Deleted.
      (semantic-describe-buffer): Fix expand-nonterminal.  Add
      lex-syntax-mods, type relation separator char, and command
      separation char.
      (semantic-sanity-check): Only message if called interactively.
      
      * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
      :filename property and the tag position.
      
      * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      Add recursion limit.
      
      * semantic/imenu.el (semantic-imenu-bucketize-type-members):
      Make this buffer local, not the obsoleted variable.
      
      * semantic/idle.el: Add breadcrumbs support.
      (semantic-idle-summary-current-symbol-info-default)
      (semantic-idle-tag-highlight)
      (semantic-idle-completion-list-default): Use
      semanticdb-without-unloaded-file-searches for speed, and to
      conform to the controls that specify if the idle timer is supposed
      to be parsing unparsed includes.
      (semantic-idle-symbol-highlight-face)
      (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
      Callers changed.
      (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
      (semantic-idle-work-update-headers-flag): New var.
      (semantic-idle-work-for-one-buffer): Use it.
      (semantic-idle-local-symbol-highlight): Rename from
      semantic-idle-tag-highlight.
      (semantic-idle-truncate-long-summaries): New option.
      
      * semantic/ia.el (semantic-ia-cache)
      (semantic-ia-get-completions): Deleted.  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.
      
      * semantic/grammar.el (semantic-grammar-create-package):
      Save the buffer even in batch mode.
      
      * semantic/fw.el
      (semanticdb-without-unloaded-file-searches): New macro.
      
      * semantic/dep.el (semantic-dependency-find-file-on-path):
      Fix case dereferencing ede-object when it is a list.
      
      * semantic/db-typecache.el (semanticdb-expand-nested-tag)
      (semanticdb-typecache-faux-namespace): New functions.
      (semanticdb-typecache-file-tags)
      (semanticdb-typecache-merge-streams): Use them.
      (semanticdb-typecache-file-tags): When deriving tags from a file,
      give the mode a chance to monkey with the tag copy.
      (semanticdb-typecache-find-default): Wrap find in save-excursion.
      (semanticdb-typecache-find-by-name-helper): Merge found names down.
      
      * semantic/db-global.el
      (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
      GNU Global is not available and we don't want to throw an error.
      
      * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
      When trying to normalize the tag to a buffer, don't error if
      set-buffer method doesn't exist.
      
      * semantic/db-file.el (semanticdb-save-db): Simplify msg.
      
      * semantic/db.el (semanticdb-refresh-table): If forcing a
      refresh on a file not in a buffer, use semantic-find-file-noselect
      and delete the buffer after use.
      (semanticdb-current-database-list): When calculating root via
      hooks, force it through true-filename and skip the list of
      possible roots.
      
      * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
      
      * semantic/analyze/debug.el
      (semantic-analyzer-debug-insert-tag): Reset standard output to
      current buffer.
      (semantic-analyzer-debug-global-symbol)
      (semantic-analyzer-debug-missing-innertype): Change "prefix" to
      "symbol" in messages.
      
      * semantic/analyze/refs.el: (semantic-analyze-refs-impl)
      (semantic-analyze-refs-proto): When calculating value, make sure
      the found tag is 'similar' to the originating tag.
      (semantic--analyze-refs-find-tags-with-parent): Attempt to
      identify matches via imported symbols of parents.
      (semantic--analyze-refs-full-lookup-with-parents): Do a deep
      search during the brute search.
      
      * semantic/analyze.el
      (semantic-analyze-find-tag-sequence-default): Be robust to
      calculated scopes being nil.
      
      * semantic/bovine/c.el (semantic-c-describe-environment): Add
      project macro symbol array.
      (semantic-c-parse-lexical-token): Add recursion limit.
      (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
      New overrides.
      (semantic-expand-c-tag-namelist): Split a full type from a typedef
      out to its own tag.
      (semantic-expand-c-tag-namelist): Do not split out a typedef'd
      inline type if it is an anonymous type.
      (semantic-c-reconstitute-token): Use the optional initializers as
      a clue that some function is probably a constructor.  When
      defining the type of these constructors, split the parent name,
      and use only the class part, if applicable.
      
      * semantic/bovine/c-by.el:
      * semantic/wisent/python-wy.el: Regenerate.
      dd9af436
  22. 24 Mar, 2010 1 commit
  23. 13 Jan, 2010 1 commit
  24. 12 Jan, 2010 1 commit
    • Juanma Barranquero's avatar
      Fix typos in CEDET docstrings. · 91abaf51
      Juanma Barranquero authored
      * cedet/semantic/analyze.el (semantic-analyze-push-error)
        (semantic-analyze-context, semantic-analyze-context-assignment)
        (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
      * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
        (semantic-java-doc-keywords-map):
      * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
        (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
        (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
        (semantic-c-classname, semantic-format-tag-uml-prototype)
        (semantic-c-dereference-namespace, semantic-analyze-type-constants):
      * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
        (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
        (semantic-get-local-variables, semantic-end-of-command)
        (semantic-beginning-of-command, semantic-ctxt-current-class-list)
        (lisp-mode):
      * cedet/semantic/bovine/make.el (makefile-mode):
      * cedet/semantic/wisent/python.el (wisent-python-string-re)
        (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
        (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
        (semantic-lex, semantic-get-local-variables, python-mode):
      * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
      * cedet/srecode/extract.el (srecode-extract-state-set)
        (srecode-extract-method): Fix typos in docstrings.
      91abaf51
  25. 05 Dec, 2009 1 commit
    • Chong Yidong's avatar
      * cedet/semantic/bovine/c.el (semantic-c-describe-environment): · 1dc5c6f3
      Chong Yidong authored
      Describe project macro symbols.
      
      * cedet/semantic/complete.el (semantic-complete-do-completion):
      Don't call semantic-collector-current-exact-match.
      
      * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
      ede-objects as targets.
      
      * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
      a target's object list even if compiler vars are already in the
      Makefile.
      
      * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
      list of headers producing necessary macros.
      1dc5c6f3
  26. 22 Nov, 2009 1 commit
    • Chong Yidong's avatar
      * cedet/srecode/map.el (srecode-get-maps): · 2054a44c
      Chong Yidong authored
      * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
      * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
      * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
      (semantic-toggle-decoration-style):
      * cedet/semantic/decorate/include.el
      (semantic-decoration-include-describe)
      (semantic-decoration-unknown-include-describe)
      (semantic-decoration-unparsed-include-describe)
      (semantic-decoration-all-include-summary):
      * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
      * cedet/semantic/analyze/complete.el
      (semantic-analyze-possible-completions):
      * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
      (semantic-show-unmatched-syntax-mode)
      (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
      (semantic-highlight-func-mode):
      * cedet/semantic/util.el (semantic-describe-buffer):
      * cedet/semantic/symref.el (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):
      * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
      (senator-yank-tag):
      * cedet/semantic/scope.el (semantic-calculate-scope):
      * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
      * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
      (define-semantic-idle-service):
      * cedet/semantic/complete.el (semantic-complete-analyze-inline)
      (semantic-complete-analyze-inline-idle):
      * cedet/semantic/analyze.el (semantic-analyze-current-context):
      * cedet/mode-local.el (describe-mode-local-bindings)
      (describe-mode-local-bindings-in-mode):
      * cedet/ede/make.el (ede-make-check-version):
      * cedet/ede/locate.el (ede-enable-locate-on-project):
      * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
      (cedet-idutils-version-check):
      * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
      (cedet-gnu-global-version-check):
      * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
      (cedet-cscope-version-check): Use called-interactively-p instead
      of interactive-p.
      2054a44c
  27. 03 Nov, 2009 1 commit
    • Stefan Monnier's avatar
      * emacs-lisp/autoload.el (generated-autoload-feature): Remove. · fae4e5b9
      Stefan Monnier authored
      (autoload-rubric): Don't use any more.
      * cedet/semantic/fw.el (semantic/loaddefs):
      * cedet/srecode.el (srecode/loaddefs):
      * cedet/ede.el (ede/loaddefs): Load rather than require.
      * lisp/cedet/ede/cpp-root.el:
      * lisp/cedet/ede/emacs.el:
      * lisp/cedet/ede/files.el:
      * lisp/cedet/ede/linux.el:
      * lisp/cedet/ede/locate.el:
      * lisp/cedet/ede/make.el:
      * lisp/cedet/ede/shell.el:
      * lisp/cedet/ede/speedbar.el:
      * lisp/cedet/ede/system.el:
      * lisp/cedet/ede/util.el:
      * lisp/cedet/semantic/analyze.el:
      * lisp/cedet/semantic/bovine.el:
      * lisp/cedet/semantic/complete.el:
      * lisp/cedet/semantic/ctxt.el:
      * lisp/cedet/semantic/db-file.el:
      * lisp/cedet/semantic/db-find.el:
      * lisp/cedet/semantic/db-global.el:
      * lisp/cedet/semantic/db-mode.el:
      * lisp/cedet/semantic/db-typecache.el:
      * lisp/cedet/semantic/db.el:
      * lisp/cedet/semantic/debug.el:
      * lisp/cedet/semantic/dep.el:
      * lisp/cedet/semantic/doc.el:
      * lisp/cedet/semantic/edit.el:
      * lisp/cedet/semantic/find.el:
      * lisp/cedet/semantic/format.el:
      * lisp/cedet/semantic/html.el:
      * lisp/cedet/semantic/ia-sb.el:
      * lisp/cedet/semantic/ia.el:
      * lisp/cedet/semantic/idle.el:
      * lisp/cedet/semantic/lex-spp.el:
      * lisp/cedet/semantic/lex.el:
      * lisp/cedet/semantic/mru-bookmark.el:
      * lisp/cedet/semantic/scope.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/sort.el:
      * lisp/cedet/semantic/symref.el:
      * lisp/cedet/semantic/tag-file.el:
      * lisp/cedet/semantic/tag-ls.el:
      * lisp/cedet/semantic/tag-write.el:
      * lisp/cedet/semantic/tag.el:
      * lisp/cedet/semantic/util-modes.el:
      * lisp/cedet/semantic/analyze/complete.el:
      * lisp/cedet/semantic/analyze/refs.el:
      * lisp/cedet/semantic/bovine/c.el:
      * lisp/cedet/semantic/bovine/gcc.el:
      * lisp/cedet/semantic/bovine/make.el:
      * lisp/cedet/semantic/bovine/scm.el:
      * lisp/cedet/semantic/decorate/include.el:
      * lisp/cedet/semantic/decorate/mode.el:
      * lisp/cedet/semantic/symref/cscope.el:
      * lisp/cedet/semantic/symref/global.el:
      * lisp/cedet/semantic/symref/grep.el:
      * lisp/cedet/semantic/symref/idutils.el:
      * lisp/cedet/semantic/symref/list.el:
      * lisp/cedet/semantic/wisent/java-tags.el:
      * lisp/cedet/semantic/wisent/javascript.el:
      * lisp/cedet/srecode/compile.el:
      * lisp/cedet/srecode/cpp.el:
      * lisp/cedet/srecode/document.el:
      * lisp/cedet/srecode/el.el:
      * lisp/cedet/srecode/expandproto.el:
      * lisp/cedet/srecode/getset.el:
      * lisp/cedet/srecode/insert.el:
      * lisp/cedet/srecode/java.el:
      * lisp/cedet/srecode/map.el:
      * lisp/cedet/srecode/mode.el:
      * lisp/cedet/srecode/template.el:
      * lisp/cedet/srecode/texi.el: Remove the file-local setting of
      generated-autoload-feature.
      fae4e5b9
  28. 30 Oct, 2009 1 commit
    • Stefan Monnier's avatar
      * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions): · 0816d744
      Stefan Monnier authored
      * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
      * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
      * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
      * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
      * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
      (semantic-analyzer-debug-global-symbol)
      (semantic-analyzer-debug-missing-innertype)
      (semantic-analyzer-debug-insert-include-summary):
      * cedet/semantic/util.el (semantic-file-tag-table):
      (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
      (semantic-recursive-find-nonterminal-by-name):
      * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
      * cedet/semantic/tag-file.el (semantic-prototype-file):
      * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
      * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
      * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
      (semantic-idle-summary-maybe-highlight):
      * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
      (semantic-ia-sb-tag-info):
      * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
      * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
      * cedet/semantic/ede-grammar.el (project-compile-target):
      (ede-proj-makefile-insert-variables):
      * cedet/semantic/debug.el (semantic-debug-set-parser-location):
      (semantic-debug-set-source-location, semantic-debug-interface-layout)
      (semantic-debug-mode, semantic-debug):
      * cedet/semantic/db.el (semanticdb-needs-refresh-p):
      * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
      * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
      * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
      (semanticdb-find-translate-path-includes--internal)
      (semanticdb-reset-log, semanticdb-find-log-activity):
      * cedet/semantic/db-file.el (object-write):
      * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
      * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
      (semanticdb-create-ebrowse-database):
      * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
      * cedet/semantic/complete.el (semantic-displayor-focus-request)
      (semantic-collector-calculate-completions-raw)
      (semantic-complete-read-tag-analyzer):
      * cedet/semantic/analyze.el (semantic-analyze-pulse):
      * cedet/ede/util.el (ede-update-version-in-source):
      * cedet/ede/proj.el (project-delete-target):
      * cedet/ede/proj-elisp.el (ede-update-version-in-source)
      (ede-proj-flush-autoconf):
      * cedet/ede/pconf.el (ede-proj-configure-synchronize)
      (ede-proj-configure-synchronize):
      * cedet/ede/locate.el (ede-locate-file-in-project-impl):
      * cedet/ede/linux.el (ede-linux-version):
      * cedet/ede/emacs.el (ede-emacs-version):
      * cedet/ede/dired.el (ede-dired-add-to-target):
      * cedet/ede.el (ede-buffer-header-file, ede-find-target)
      (ede-buffer-documentation-files, ede-project-buffers, ede-set)
      (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
      * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
      (cedet-idutils-lid-call, cedet-idutils-expand-filename)
      (cedet-idutils-version-check):
      * cedet/cedet-global.el (cedet-gnu-global-call):
      (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
      (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
      * cedet/cedet-cscope.el (cedet-cscope-call)
      (cedet-cscope-expand-filename, cedet-cscope-version-check):
      Use with-current-buffer.
      * cedet/ede.el (ede-make-project-local-variable)
      (ede-set-project-variables, ede-set): Use dolist.
      0816d744
  29. 21 Oct, 2009 1 commit
    • Chong Yidong's avatar
      * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init) · 8d106ea0
      Chong Yidong authored
      (semantic-c-debug-mode-init-pch): New functions.
      (semantic-c-debug-mode-init-last-mode): New var.
      (semantic-c-parse-lexical-token): Use them.
      
      * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
      When extracting the argument list, limit only by point-max.
      8d106ea0
  30. 04 Oct, 2009 1 commit
    • Juanma Barranquero's avatar
      * files-x.el (modify-dir-local-variable) · a30e71ae
      Juanma Barranquero authored
        (copy-dir-locals-to-file-locals-prop-line):
      * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
        (makefile-end-of-command):
      * cedet/semantic/lex.el (semantic-lex-token):
      * cedet/semantic/analyze/fcn.el
        (semantic-analyze-dereference-metatype-1):
      * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
        (semantic-lex-cpp-undef):
      * cedet/semantic/wisent/wisent.el (wisent-skip-block):
      * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
        (semantic-end-of-context): Fix typos in docstrings.
      a30e71ae
  31. 02 Oct, 2009 1 commit
  32. 01 Oct, 2009 1 commit
  33. 26 Sep, 2009 1 commit
    • Chong Yidong's avatar
      * cedet/semantic/lex.el (semantic-lex-reset-hooks): Doc fix. · 29e1a603
      Chong Yidong authored
      * 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.
      29e1a603
  34. 21 Sep, 2009 1 commit
    • Chong Yidong's avatar
      * menu-bar.el: Remove ediff-misc from Tools menu. · b82525f2
      Chong Yidong authored
      * 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.
      b82525f2
  35. 13 Sep, 2009 1 commit
    • Chong Yidong's avatar
      Synch to Eric M. Ludlam's upstream CEDET repository. · a964f5e5
      Chong Yidong authored
      * 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.
      a964f5e5
  36. 07 Sep, 2009 1 commit
  37. 06 Sep, 2009 1 commit
  38. 05 Sep, 2009 1 commit
    • Chong Yidong's avatar
      lisp/cedet/semantic/db-ref.el: Require semantic/db. · 1fe1547a
      Chong Yidong authored
      (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.
      1fe1547a