1 2013-06-02 Eric Ludlam <zappo@gnu.org>
3 * semantic/edit.el (semantic-change-function): Use
4 `save-match-data' around running hooks.
6 * semantic/decorate/mode.el
7 (semantic-decorate-style-predicate-default)
8 (semantic-decorate-style-highlighter-default): New.
9 (semantic-decoration-mode): Do not require
10 `semantic/decorate/include' anymore.
11 (semantic-toggle-decoration-style): Error if an unknown decoration
13 (define-semantic-decoration-style): Add new :load option. When
14 :load is specified, add autoload tokens for the definition
15 functions so that code is loaded when the mode is used.
16 (semantic-decoration-on-includes): New autoload definition for
17 highlighting includes.
19 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
20 characters to appear after the tested variable.
22 * semantic/ede-grammar.el (project-compile-target): Calculate full
23 src name via ede-expand-filename instead of the crutch of the
24 current buffer. Enables this target to compile in batch mode.
27 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
28 remote symbol with `save-excursion'.
29 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
30 using directory-files on each found mode pattern, collect all the
31 patterns for the current mode, and then for each file, see if it
32 matches any of them. If it does, parse the file. (Patch
33 inspiration from Tomasz Gajewski.)
35 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
36 (semantic-ctxt-current-symbol-default): New.
38 * semantic/bovine/el.el (semantic-default-elisp-setup): Add
39 autoload cookie. Explain existence.
40 (footer): Add local variable for loaddefs.
42 * semantic/db.el (semanticdb-file-table-object): Add new filter,
43 only checking for regular files too.
45 * semantic/wisent/python.el
46 (semantic-format-tag-abbreviate): New override. Cuts back on size
49 * srecode/compile.el (srecode-compile-templates): Fix warning
50 punctuation. Remove status messages to clean up testing output
52 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
54 (ede-save-cache): Disable cache save if file is nil.
56 * ede.el (ede-initialize-state-current-buffer): Flush deleted
58 (global-ede-mode): Always append our find-file-hook to the end.
59 (ede-flush-deleted-projects): New command.
61 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
64 * ede/proj.el (ede-proj-target): Added a new "custom" option for
65 custom symbols representing a compiler or linker instead of
66 restricting things to only the predefined compilers and linkers.
68 2013-06-02 David Engster <dengste@eml.cc>
70 * semantic.el (semantic-mode-map): To avoid showing showing
71 Development menu twice, only disable menu item if menu-bar is
72 actually enabled, otherwise the popup 'global menu' might display
73 a disabled Development menu.
75 * srecode/srt-wy.el: Regenerate.
77 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
79 * semantic/complete.el
80 (semantic-displayor-show-request): Fix which slot in obj is set to
83 2013-06-01 Glenn Morris <rgm@gnu.org>
85 * semantic/grammar.el (semantic-grammar-complete):
86 Replace the obsolete function lisp-complete-symbol.
88 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
90 * srecode/args.el, srecode/java.el: Require ede.
92 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
94 2013-05-24 Glenn Morris <rgm@gnu.org>
96 * semantic/bovine/grammar.el (bovine-make-parsers):
97 Avoid free variable `copyright-end'.
99 * semantic/bovine/c-by.el (semantic-parse-region):
100 * semantic/wisent/javat-wy.el (semantic-parse-region):
101 * semantic/wisent/js-wy.el (semantic-parse-region):
102 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
104 2013-05-22 Glenn Morris <rgm@gnu.org>
106 * ede/speedbar.el (ede-file-find, ede-tag-find):
107 * semantic/sb.el (semantic-sb-token-jump):
108 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
110 2013-05-15 Glenn Morris <rgm@gnu.org>
112 * semantic/symref/list.el (semantic-symref-auto-expand-results)
113 (semantic-symref-results-mode-hook)
114 (semantic-symref-results-summary-function): Fix :group.
116 2013-05-14 Glenn Morris <rgm@gnu.org>
118 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
120 2013-05-11 Glenn Morris <rgm@gnu.org>
122 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
123 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
124 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
125 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
127 * ede/locate.el (cedet-cscope-version-check)
128 (cedet-cscope-support-for-directory):
129 * semantic/grammar.el (semantic-grammar-wy--install-parser):
132 * ede/project-am.el (project-am-compile-project-command): Fix :type.
134 2013-05-09 Glenn Morris <rgm@gnu.org>
136 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
139 2013-04-27 David Engster <deng@randomsample.de>
141 * semantic/complete.el
142 (semantic-collector-calculate-completions-raw): If
143 `completionslist' is not set, refresh the cache if necessary and
144 use it for completions. This fixes the
145 `semantic-collector-buffer-deep' collector (bug#14265).
147 2013-03-26 Leo Liu <sdl.web@gmail.com>
149 * semantic/senator.el (senator-copy-tag-to-register): Move
150 register handling logic from register.el. (Bug#14052)
152 2013-03-21 Eric Ludlam <zappo@gnu.org>
154 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
155 `senator-tag-ring' is bound.
156 (semantic-parse-region-default): Stop reversing the output of
158 (semantic-repeat-parse-whole-stream): Append returned tags
159 differently, so they come out in the right order.
161 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
162 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
163 exclude tags belonging to above filtered classes.
165 * semantic/find.el (semantic-filter-tags-by-class): New function.
167 * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
168 short-circuit in case tag1 and 2 are identical.
170 * semantic/analyze/fcn.el
171 (semantic-analyze-dereference-metatype-stack): Use
172 `semantic-tag-similar-p' instead of 'eq' when comparing two tags
173 during metatype evaluation in case they are the same, but not the
174 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
176 * semantic/db-find.el (semanticdb-partial-synchronize): Fix
177 require to semantic/db-typecache to be correct.
178 (semanticdb-find-tags-external-children-of-type): Make this a
179 brutish search by default.
182 (semantic-tag-external-member-children-default): When calling
183 `semanticdb-find-tags-external-children-of-type', pass in the
184 input tag as the place to start searching for externally defined
187 * semantic/db-file.el (semanticdb-default-save-directory): Doc
188 fix: Add ref to default value.
190 * semantic/complete.el (semantic-complete-post-command-hook): When
191 detecting if cursor is outside completion area, do so if cursor
192 moves before start of overlay, or the original starting location
193 of the overlay (i.e., if user deletes past beginning of the
195 (semantic-complete-inline-tag-engine): Initialize original start
196 of `semantic-complete-inline-overlay'.
198 * semantic/bovine/c.el (semantic-c-describe-environment): Update
199 some section titles. Test semanticdb table before printing it.
200 (semantic-c-reset-preprocessor-symbol-map): Update
201 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
202 the files contributing to its value.
203 (semantic-c-describe-environment): If there is an EDE project but
204 no spp symbols from it, say so.
206 * srecode/args.el (srecode-semantic-handle-:project): New argument
207 handler. Provide variable values if not in an EDE project.
209 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
212 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
213 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
215 * srecode/map.el (srecode-map-validate-file-for-mode): Force
216 semantic to load if it is not active in the template being added
219 * srecode/srt.el: Add local variables for setting the autoload
221 (srecode-semantic-handle-:srt): New autoload cookie
223 * ede.el (ede-apply-preprocessor-map): Apply map to
224 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
225 system one. Add require for semantic.
227 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
228 has both a version variable and a Version: comment, always use
231 * ede/cpp-root.el (ede-set-project-variables): Deleted.
232 `ede-preprocessor-map' does the job this function was attempting
233 to do with :spp-table.
234 (ede-preprocessor-map): Update file tests to provide better
235 messages. Do not try to get symbols from a file that is the file
236 in the current buffer.
238 * ede/base.el (ede-project-placeholder): Add more documentation to
240 (ede-load-cache): Use `insert-file-contents' instead of
241 `find-file-noselect' in order to avoid activating other tools.
243 2013-03-21 David Engster <deng@randomsample.de>
245 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
246 new variable 'this' if we are in an inline member function. For
247 detecting this, we check overlays at point if there is a class
248 spanning the current function. Also, the variable 'this' has to
251 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
252 when querying g++ for defines returns an error.
254 * srecode/srt-mode.el:
255 * srecode/compile.el:
258 * semantic/complete.el:
264 * srecode/compile.el:
265 * semantic/decorate/include.el:
267 * semantic/adebug.el:
269 * srecode/dictionary.el:
270 * semantic/ede-grammar.el:
272 * semantic/db-find.el:
273 * semantic/db-file.el:
274 * semantic/complete.el:
275 * semantic/bovine/c.el:
276 * semantic/analyze.el:
282 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
283 to `eieio-object-name', `object-set-name-string' to
284 `eieio-object-set-name-string', `object-class' to
285 `eieio-object-class', `class-parent' to `eieio-class-parent',
286 `class-parents' to `eieio-class-parents', `class-children' to
287 `eieio-class-children', `object-name-string' to
288 `eieio-object-name-string', `object-class-fast' to
289 `eieio--object-class'. Also replace direct access with new
292 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
294 * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix
295 EDE file symbol to match rename. Fix ede-cpp-root symbol to
296 include -project in name.
298 2013-03-21 Alex Ott <alexott@gmail.com>
300 * cedet-files.el (cedet-files-list-recursively): New. Recursively
301 find files whose names are matching to given regex
303 * ede.el (ede-current-project): Rewrite to avoid imperative style.
305 * ede/files.el (ede-find-file): Simplify code.
307 * ede/base.el (ede-normalize-file/directory): Add function to
308 normalize :file or :directory slots if they are missing.
310 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
312 (project-compile-project): Compiles project using value specified
313 in :compule-command slot or in compile-command local variable.
314 Value of slot or local variable could be string or function that
315 receives project and should return string that will be invoked as
317 (project-compile-target): Invokes compilation of whole project
319 * ede/files.el (ede-find-project-root): New function to
320 find root of project that contains specific file.
321 (ede-files-find-existing): New function which checks presence of
322 given directory in the list of registered projects.
324 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
326 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
328 * semantic/wisent/javat-wy.el: Regenerate.
330 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
332 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
335 2012-11-16 David Engster <deng@randomsample.de>
337 * semantic/symref/list.el (semantic-symref-symbol):
338 Use `semantic-complete-read-tag-project' instead of
339 `semantic-complete-read-tag-buffer-deep', since the latter is not
342 * semantic/symref.el (semantic-symref-result-get-tags):
343 Use `find-buffer-visiting' to follow symbolic links.
345 * semantic/fw.el (semantic-find-file-noselect): Always set
346 `enable-local-variables' to `:safe' when loading files.
348 2012-11-16 Glenn Morris <rgm@gnu.org>
350 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
351 * semantic/util.el (semantic-describe-buffer):
352 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
353 (semantic-default-c-setup):
354 Use new names for hooks rather than obsolete aliases.
356 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
358 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
359 * semantic/grammar.el (semantic-grammar-mode):
360 * semantic/util-modes.el (semantic-highlight-edits-mode)
361 (semantic-show-parser-state-mode): Avoid obsolete name
362 semantic-edits-new-change-hooks (bug#12869).
364 2012-11-13 Glenn Morris <rgm@gnu.org>
366 * srecode/srt-mode.el (srecode-template-mode):
367 Don't change global values of comment-start, comment-end. (Bug#12781)
369 2012-10-25 David Engster <deng@randomsample.de>
371 * semantic/analyze.el (semantic-analyze-dereference-alias):
372 New function to dereference aliases.
373 (semantic-analyze-current-context-default): Use it.
375 * semantic/grammar.el (semantic-grammar-create-package):
376 * srecode/compile.el (srecode-compile-templates): Throw a proper
377 error if semantic-mode is not enabled (bug#9968).
379 Compiler warning fixes:
381 * semantic.el (semantic-elapsed-time): Make it a defsubst.
383 * srecode/dictionary.el (srecode-adebug-dictionary):
384 Remove require for `semantic'.
387 * srecode/insert.el: Declare functions from `data-debug'.
389 * semantic/grammar.el: Require `help-fns'. Declare functions from
390 `eldoc', which is required in function body.
394 * semantic/grammar-wy.el:
395 * semantic/db-file.el:
397 * semantic/chart.el: Fix requires.
399 * ede/locate.el: Remove useless requires. Declare functions
400 instead and require in functions when needed.
402 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
404 * semantic/db-file.el (semanticdb-save-database-functions):
405 * semantic/lex.el (semantic-lex-reset-functions):
406 * semantic/edit.el (semantic-change-functions)
407 (semantic-edits-new-change-functions)
408 (semantic-edits-delete-change-functions)
409 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
411 2012-10-14 David Engster <deng@randomsample.de>
413 * semantic.el (semantic-error-if-unparsed): New function.
414 Raise error if buffer was not parsed by Semantic (bug #12045).
415 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
416 only if buffer was parsed. Also, replace ':active' with ':enable'
419 * semantic/wisent/python.el
420 (semantic-python-get-system-include-path):
421 Use `python-shell-internal-send-string' if available to query Python
424 * semantic/senator.el (senator-next-tag, senator-previous-tag)
425 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
427 * semantic/complete.el (semantic-complete-jump-local)
428 (semantic-complete-jump, semantic-complete-jump-local-members)
429 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
430 (semantic-complete-inline-project): Fix autoload cookie.
432 * semantic/analyze/complete.el
433 (semantic-analyze-possible-completions): Check if buffer was
434 parsed. Only raise an error if function was called interactively,
435 otherwise silently return nil.
437 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
439 2012-10-08 David Engster <deng@randomsample.de>
441 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
442 `emacs-lisp-mode-hook'. This was accidentally removed during the
443 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
445 2012-10-07 David Engster <deng@randomsample.de>
447 * semantic/wisent/python.el (semantic-ctxt-current-function)
448 (semantic-ctxt-current-assignment): New overrides, simply
449 returning nil. The defaults do not work correctly and can send
450 the parser in an infinite loop (bug#12458).
452 * semantic/ede-grammar.el (project-compile-target): Fix grammar
453 compilation after introduction of %provide statement.
455 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
456 function for `f90-mode', since the parser only exists upstream.
458 2012-10-06 Glenn Morris <rgm@gnu.org>
460 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
462 * semantic/complete.el (semantic-displayor-tooltip-mode)
463 (semantic-displayor-tooltip-initial-max-tags)
464 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
465 * ede/linux.el (project-linux): Add missing group :version tag.
467 2012-10-06 Chong Yidong <cyd@gnu.org>
469 * semantic/bovine/grammar.el:
470 * semantic/wisent/grammar.el: Move from admin/grammars.
471 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
473 2012-10-02 Chong Yidong <cyd@gnu.org>
475 * srecode.el, ede.el: Restore Version header.
477 2012-10-01 Chong Yidong <cyd@gnu.org>
479 * semantic/bovine/c-by.el: Regenerate.
480 * semantic/bovine/make-by.el:
481 * semantic/bovine/scm-by.el:
482 * semantic/grammar-wy.el:
483 * semantic/wisent/javat-wy.el:
484 * semantic/wisent/js-wy.el:
487 2012-10-01 Eric Ludlam <zappo@gnu.org>
489 * cedet.el (cedet-version, cedet-packages): Update.
491 * cedet-global.el (cedet-gnu-global-version-check): Support newer
492 versions that have extra (parens) in the version string.
494 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
495 version number was found before calling inversion-check-version.
497 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
498 while inserting the thing, then clear modified bit.
499 (data-debug-map): Suppress the keymap.
500 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
501 (data-debug-contract-current-line): Inhibit read-only, then clear
504 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
505 to allow use in more kinds of buffers.
506 (ede-project-forms-menu): Add `Default configuration' menu item.
507 (ede-configuration-forms-menu): New, for use in above.
508 (ede-project-configurations-set): New command used from menu.
509 (ede-java-classpath): New conveninece for Java support.
510 (ede-apply-object-keymap): Combine keybindings from the project
511 and the target, not just whatever is local to the buffer.
512 (ede-apply-target-options): Call fcn to apply project local
514 (ede-reset-all-buffers): Remove arg.
515 (ede, ede-rescan-toplevel): Callers changed.
516 (ede-new-target): Fix bug where you couldn't call this from Dired.
517 (ede-add-file): Replace assignment of ede-object with generic call
518 to re-init the buffer.
519 (ede-find-target): If ede-object is set, run short-cut code
520 instead of `or' shortcut.
521 (ede-project-buffers): Return buffers belonging to input project,
522 not any buffer belonging to any project.
523 (ede-system-include-path, ede-apply-project-local-variables)
524 (ede-set-project-local-variable): New functions.
525 (ede-make-project-local-variable): Apply to toplevel if none
527 (ede-set): Make it interactive.
529 * ede/auto.el (ede-project-autoload): New class.
530 (ede-do-dirmatch): New method.
531 (ede-project-dirmatch-p): New function.
532 (ede-project-root-directory): Call it.
533 (ede-dir-to-projectfile): Don't call project file function if we
534 didn't match the root.
535 (ede-project-root-directory): Don't call a project's root function
536 if the tool in question isn't installed.
537 (ede-dir-to-projectfile): Don't call project file function if we
538 didn't match the root.
540 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
541 trailing `\' mid string, and replace with a space.
542 (autoconf-parameter-count): New function.
543 (autoconf-set-version): Use it.
545 * ede/base.el (ede-project): The :type of targets is now a list of
548 * ede/emacs.el (ede-emacs-load): Fix typo.
550 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
551 Protect against missing locator object.
552 (ede-get-locator-object): Protect against missing project.
553 (ede-flush-directory-hash): New command.
554 (ede-get-locator-object): Protect against missing project.
556 * ede/generic.el (ede-generic-config): Add configurable
558 (project-compile-project, project-compile-target)
559 (project-debug-target, project-run-target): New methods.
560 (ede-generic-get-configuration): Specify the class to load.
561 (ede-generic-new-autoloader): Use ede-add-project-autoload.
562 (ede-enable-generic-projects): Rename projects so as to never
563 match the edeproject-* projects.
565 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
566 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
568 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
569 (ede-proj-flush-autoconf): Disable local variables when loading
570 the autoconf lisp compile script.
572 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
573 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
574 (-makefile-archive, -makefile-shared-object)
575 (ede-proj-target-makefile-info, -grammar): New autoloads.
576 (ede-proj-project): Inherit from eieio-persistent-read.
577 Specify extension and header line.
578 (ede-proj-load, ede-proj-save): Replace with impl using
579 eieio-persistent-read.
581 * ede/project-am.el (project-add-file): Use ede-target-parent
582 instead of loading the project file.
584 * semantic.el (semantic-version): Update.
585 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
586 (navigate-menu): Add menu item for Stickyfunc mode.
588 * semantic/analyze/debug.el
589 (semantic-analyzer-debug-insert-include-summary):
590 Before dereferencing tableinner, make sure it has a value.
592 * semantic/analyze/refs.el
593 (semantic-analyze-tag-references-default): When doing a lookup,
595 (semantic--analyze-refs-full-lookup): Add optional noerror input
596 argument. Pass to to full-lookup-simple.
597 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
598 Ignore :typemodifiers during compare.
600 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
601 to looking back for comment chars.
602 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
603 (semantic--tag-attribute-similar-p): New.
604 (semantic-c-describe-environment): Handle list value of ede-object.
605 (semantic-lex-c-preprocessor-symbol-map-builtin):
606 Add __attribute_pure__.
608 * semantic/bovine/scm.el (semantic-format-tag-prototype):
609 Add parent and color argument. Pass them through.
611 * semantic/complete.el (semantic-collector-calculate-completions):
612 Search for more matches if new prefix is a substring of old one.
613 (semantic-complete-inline-project): New function.
615 * semantic/db-el.el (object-print): New method.
617 * semantic/db-file.el (semanticdb-load-database): Specify class.
619 * semantic/db-typecache.el
620 (semanticdb-abstract-table::semanticdb-typecache-find-method):
621 Allow proxied tags to be resolved during the search.
622 (semanticdb-typecache-complete-flush): Support missing or empty
623 pointmax slot, to allow for more database types.
625 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
626 (object-print): Allow child classes to overwrite the display of
627 the (%d tags) extra string.
628 (semanticdb-project-database): Specify :type for table.
629 (semanticdb-create-table-for-file): Specify file-truename.
630 (semanticdb-synchronize, semanticdb-partial-synchronize):
631 Restore code that refreshes references to include files.
633 * semantic/decorate/include.el
634 (semantic-decoration-on-fileless-includes): New face.
635 (semantic-decoration-on-fileless-include-map)
636 (semantic-decoration-on-fileless-include-menu): New variables.
637 (semantic-decoration-on-includes-highlight-default):
638 Support includes that have a table, but are not associated with a file.
639 (semantic-decoration-fileless-include-describe)
640 (semantic-decoration-fileless-include-menu): New functions.
641 (semantic-decoration-all-include-summary): Add arrows to indicate
642 the file associated with an include name.
645 (semantic-find-tags-by-scope-protection-default): Also filter on
646 package protection of the slot.
648 * semantic/java.el (semantic-java-expand-tag): If some type has a
649 fully qualified name, bust it up into one package and the type
652 * semantic/lex.el (define-lex-block-analyzer): Protect against
653 random extra close parenthesis.
655 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
656 the cursor is on the matched name.
658 * semantic/symref/list.el (semantic-symref-results-mode-map):
661 * semantic/tag-ls.el (semantic--tag-similar-names-p)
662 (semantic--tag-attribute-similar-p)
663 (semantic--tag-similar-types-p): New functions.
664 (semantic-tag-similar-ignorable-attributes): New variable.
665 (semantic-tag-protection-default): Add package concept to return
667 (semantic-tag-package-protected-p): New function.
668 (semantic-tag-full-package): New overload method.
669 (semantic-tag-full-package-default): New default for above.
670 (semantic-tag-full-name-default): Look for the full package name.
672 * semantic/tag.el (semantic-create-tag-proxy)
673 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
675 * semantic/util.el (semantic-describe-buffer):
676 Add semantic-new-buffer-fcn-was-run.
678 * semantic/wisent/java-tags.el (semantic-get-local-variables):
679 Add `this' to the local variable context.
680 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
682 * semantic/wisent/python.el (semantic-python-expand-tag):
685 * srecode/compile.el (srecode-compile-templates): Add "framework"
686 special variable support.
687 (srecode-compile-template-table): Support framework specifier.
689 * srecode/cpp.el (srecode-semantic-handle-:c)
690 (srecode-semantic-handle-:cpp): New functions.
691 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
693 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
695 * srecode/dictionary.el (initialize-instance): Remove bogus error
697 (srecode-create-section-dictionary): Remove unused function.
699 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
700 package variable. Add current_package variable.
702 * srecode/map.el (srecode-map-update-map): Specify the class.
704 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
706 * srecode/semantic.el (srecode-semantic-insert-tag):
707 Support system includes.
709 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
711 * srecode/table.el (srecode-template-table): Add :framework slot.
712 (srecode-dump): Dump it.
713 (srecode-mode-table): Add new modetables slot.
714 (srecode-get-mode-table): Find the mode, but also find all parent
715 modes, and merge the tables together in :tables from :modetables.
716 (srecode-make-mode-table): Init :modetables
717 (srecode-mode-table-find): Search in modetables.
718 (srecode-mode-table-new): Merge the differet files into the
721 2012-10-01 David Engster <deng@randomsample.de>
723 * ede.el (ede-apply-preprocessor-map): Check that
724 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
725 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
727 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
728 lexical-table even when the table doesn't need to be refreshed.
730 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
732 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
735 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
738 * ede/proj-elisp.el (ede-proj-target-elisp):
739 Remove ede-emacs-preload-compiler.
740 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
742 (ede-emacs-compiler): Add 'require' macro to variables and pattern
743 rule. Add .elc object extension.
744 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
745 (ede-proj-makefile-insert-variables): Do not insert preload items.
746 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
748 * ede/util.el (ede-make-buffer-writable):
749 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
750 instead of calling toggle-read-only.
752 * semantic.el (semantic-fetch-tags): Use progress reporter only
753 when called interactively.
754 (semantic-submode-list): Add debugging modes.
755 (semantic-mode): Remove Semantic from after-change-functions.
756 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
757 set semantic-new-buffer-fcn-was-run to nil.
759 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
760 (semantic-analyze-tag-prototype-p-default): Remove.
761 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
762 Use semantic-tag-prototype-p.
764 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
765 Ensure semantic-mode is on before getting preprocessor symbols.
766 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
767 (semantic-c-convert-spp-value-to-hideif-value)
768 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
769 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
770 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
771 regular expression parsing.
772 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
773 (semantic-expand-c-tag): Check if tag is non-nil before adding it
775 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
776 New functions, copied from semantic-expand-c-tag.
777 (semantic-find-tags-included): New override which also searches
778 for include tags inside of namespaces.
779 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
780 (semanticdb-find-table-for-include): New override.
782 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
784 * semantic/complete.el (semantic-complete-post-command-hook):
785 Exit completion when user has deleted all characters from the prefix.
786 (semantic-displayor-focus-request): Return to previous window when
789 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
790 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
792 * semantic/db-file.el (semanticdb-create-database):
793 Use semantic-tag-version instead of just semantic-version as the
794 initializer for the :semantic-tag-version slot.
796 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
797 Delegate `include' to semantic-find-tags-included, which by
798 default will just call semantic-find-tags-by-class.
800 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
801 when calling semantic-find-file-noselect. This avoids the "file
802 is write protected" messages when parsing system header files,
803 which might easily be mistaken to mean the currently loaded file.
804 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
805 message when running interactively.
807 * semantic/decorate/mode.el (semantic-decoration-mode):
808 Activate decoration of includes by default.
810 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
811 Remove comment delimiter at the end of the text.
813 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
814 Change aux- and pre-load-packages.
815 (ede-proj-makefile-dependencies): Update pattern rule so that
816 resulting parsers are also byte-compiled.
817 (semantic-ede-grammar-compiler-bovine)
818 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
819 pattern, since this is already covered by the elisp compiler.
820 (project-compile-target): Add compatibility code for Emacs 23,
821 which does not have `byte-recompile-file'.
822 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
823 to raise max-specpdl-size and max-lisp-eval-depth.
825 * semantic/find.el (semantic-find-tags-included):
828 * semantic/fw.el (semantic-alias-obsolete)
829 (semantic-varalias-obsolete): Use byte-compile-warn.
830 (semantic-find-file-noselect): Disable font lock by calling
831 global-font-lock-mode.
833 * semantic/grammar.el (semantic-grammar-create-package):
835 (semantic-grammar-batch-build-one-package): When generating
836 parsers in batch-mode, ignore version control and make sure we do
837 not use cached versions.
839 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
841 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
842 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
843 (semantic-lex-spp-lex-text-string): Instead of only setting the
844 lexer, call the major mode's setup function.
846 * semantic/scope.el (semantic-analyze-scoped-types-default):
847 Use semantic-tag-prototype-p.
848 (semantic-analyze-scope-nested-tags-default): Make sure we don't
849 return tags we already have in scopetypes.
851 * semantic/symref/filter.el
852 (semantic-symref-test-count-hits-in-tag): Restore.
854 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
855 Use most-positive-fixnum if available.
857 * semantic/wisent/javascript.el (semantic-tag-protection)
858 (semantic-analyze-scope-calculate-access)
859 (semantic-ctxt-current-symbol): New overrides.
861 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
862 Rewrite to fix byte-compiler warning.
864 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
866 * ede/linux.el (project-linux): New group.
867 (project-linux-compile-target-command)
868 (project-linux-compile-project-command): New options.
869 (project-compile-project, project-compiler-target): New methods.
871 * inversion.el (inversion-decoders): New regexps for SXEmacs.
872 (inversion-package-version): More verbose error message.
873 (inversion-<): Deal with new special cases.
874 (inversion-require-emacs): New argument sxemacs-ver; use it.
876 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
878 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
880 2012-10-01 William Xu <william.xwl@gmail.com>
882 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
884 (semantic-gcc-setup): If the first attempt at calling cpp fails,
887 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
890 (semantic-idle-breadcrumbs--display-in-header-line):
891 Escape %-characters to avoid erroneous expansion in header line.
892 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
894 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
895 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
896 (semantic-python-private-p, semantic-python-instance-variable-p)
897 (semantic-python-docstring-p): New functions.
899 * srecode/find.el (srecode-user-template-p): New function.
900 (srecode-all-template-hash): Accept new optional argument
901 predicate; return only templates matching the predicate.
902 (srecode-read-template-name): Only retrieve templates matching
903 srecode-user-template-p.
905 * srecode/insert.el (srecode-insert-show-error-report)
906 (srecode-insert-report-error): New functions.
907 (srecode-insert-variable-secondname-handler)
908 (srecode-insert-method, srecode-insert-ask-default)
909 (srecode-insert-variable-secondname-handler)
910 (srecode-insert-subtemplate, srecode-insert-method-helper)
911 (srecode-insert-include-lookup): Use them.
913 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
915 * semantic/wisent/python.el
916 (semantic-python-get-system-include-path): Add Python3k support.
918 2012-10-01 Alexander Haeckel <_@_> (tiny change)
920 * srecode/getset.el (srecode-query-for-field): Return the first
921 tag found by name from all children tags.
923 2012-10-01 Dale Sedivec <dale@codefu.org>
925 * semantic/wisent/python.el (wisent-python-string-start-re)
926 (wisent-python-string-re, wisent-python-forward-string)
927 (wisent-python-forward-line,wisent-python-lex-string):
929 (wisent-python-forward-balanced-expression): New function.
931 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
933 * semantic/complete.el (semantic-collector-calculate-completions):
934 Search for additional matches if new prefix is a substring of the
936 (semantic-displayor-next-action): Immediately show more
937 completions after user presses TAB the first time.
938 (semantic-displayor-tooltip-mode)
939 (semantic-displayor-tooltip-initial-max-tags)
940 (semantic-displayor-tooltip-max-tags): New defcustoms.
941 (semantic-displayor-tooltip): Use new variables as initforms.
942 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
944 (semantic-displayor-show-request): Display completions according
945 to new modes, and make variable names clearer.
946 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
947 Use new max-tags-initial slot.
949 * semantic/idle.el (semantic-idle-local-symbol-highlight):
950 Make sure there actually is a tag at point.
951 (semantic-idle-completion-list-default): Report errors as messages
952 if semantic-idle-scheduler-verbose-flag is non-nil.
954 2012-10-01 Richard Kim <emacs18@gmail.com>
956 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
957 Add optional NOERROR argument.
959 2012-10-01 Alex Ott <alexott@gmail.com>
961 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
964 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
966 * semantic/db-find.el (semanticdb-find-default-throttle):
968 (semanticdb-strip-find-results): Check for existing :filename
969 attribute, so that file information from GNU Global is not lost.
971 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
973 * ede/base.el (ede-with-projectfile): Use backquote forms.
975 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
977 inaccessable -> inaccessible spelling fix (Bug#10052)
978 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
979 Rename from wisent-inaccessable-symbols, fixing a misspelling.
982 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
984 * ede/project-am.el: Fix typo.
986 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
988 Rename configure.in to configure.ac (Bug#11603).
989 * ede/autoconf-edit.el (autoconf-find-query-for-program)
990 (autoconf-new-program):
991 * ede/emacs.el (ede-emacs-version):
992 * ede/proj.el (ede-proj-setup-buildenvironment):
993 * ede/project-am.el (project-am-autoconf-file-options):
994 Prefer configure.ac to configure.in.
996 2012-03-12 David Engster <deng@randomsample.de>
998 * semantic/db-find.el
999 (semanticdb-find-translate-path-brutish-default): If we don't yet
1000 have a proper table for PATH, use `semanticdb-current-database'
1001 instead (bug #10343).
1003 2012-03-11 David Engster <deng@randomsample.de>
1005 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1006 child-mode of `javascript-mode' (bug #8445).
1008 2012-02-28 Glenn Morris <rgm@gnu.org>
1010 * semantic/db.el (semanticdb-search-results-table):
1011 Doc fix (standardize possessive apostrophe usage).
1013 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1015 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1018 2012-01-29 David Engster <deng@randomsample.de>
1020 Fix require error when using srecode-insert (Bug#9967).
1021 * srecode/insert.el: Require srecode/filters.
1022 * srecode/filters.el: Drop two requires.
1024 2012-01-09 Eric Ludlam <zappo@gnu.org>
1026 * ede.el (ede-project-directories): New option.
1027 (ede-directory-safe-p): Check it.
1028 (ede-initialize-state-current-buffer, ede, ede-new)
1029 (ede-check-project-directory, ede-rescan-toplevel)
1030 (ede-load-project-file, ede-parent-project, ede-current-project):
1031 (ede-target-parent): Avoid loading in a project unless it is safe,
1032 since it may involve malicious code. This security flaw was
1033 pointed out by Hiroshi Oota.
1035 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1036 (ede-project-class-files): Projects using Project.ede are unsafe.
1037 (ede-auto-load-project): New method.
1039 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1041 2011-12-19 Sam Steingold <sds@gnu.org>
1043 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1044 autoload cookie, necessary for JDEE.
1046 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1048 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1050 2011-11-26 Chong Yidong <cyd@gnu.org>
1052 * semantic/wisent/python-wy.el:
1053 * semantic/wisent/js-wy.el:
1054 * semantic/wisent/javat-wy.el:
1055 * semantic/bovine/c-by.el:
1056 * semantic/grammar-wy.el: Regenerate.
1058 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1060 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1062 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1064 * cedet-cscope.el (cedet-cscope-version-check):
1065 * cedet-global.el (cedet-global-min-version)
1066 (cedet-gnu-global-version-check):
1067 * cedet.el (cedet-version):
1068 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1069 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1070 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1071 (ede-add-project-to-global-list, ede-map-all-subprojects):
1072 * inversion.el (inversion-check-version):
1073 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1074 (define-overloadable-function):
1075 * pulse.el (pulse-flag, pulse):
1076 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1078 * ede/proj-comp.el (ede-compilation-program):
1079 * semantic/debug.el (semantic-debug-parser-go)
1080 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1081 (semantic-debug-parser-abort):
1082 * semantic/idle.el (semantic-idle-core-handler):
1083 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1086 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1088 * semantic/lex.el (semantic-lex-tokens):
1089 * semantic/tag-ls.el (semantic-tag-protected-p):
1090 * srecode/mode.el (srecode-prefix-map): Fix typos.
1092 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1094 * ede/project-am.el (project-compile-target-command): Fix typo.
1096 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1098 * ede/auto.el (ede-project-autoload):
1099 * ede/proj-comp.el (ede-makefile-rule):
1100 * semantic/analyze.el (semantic-analyze-current-context):
1101 * semantic/ctxt.el (semantic-get-local-variables):
1102 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1104 2011-11-03 David Engster <dengste@eml.cc>
1108 * srecode/template.el:
1110 * srecode/insert.el:
1111 * srecode/document.el:
1112 * srecode/dictionary.el:
1113 * srecode/compile.el:
1114 * semantic/wisent/java-tags.el:
1117 * semantic/lex-spp.el:
1120 * semantic/db-typecache.el:
1121 * semantic/analyze/complete.el:
1125 * ede/base.el: Fix filenames in comments and headers.
1127 * semantic/db-find.el:
1128 * srecode/insert.el (srecode-insert-include-lookup):
1129 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1130 comments and docstrings.
1132 * semantic/ctxt.el (semantic-end-of-context-default):
1133 * semantic/find.el (semantic-find-tags-by-scope-protection):
1134 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1137 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1138 (semanticdb-abstract-db-cache):
1139 * semantic/decorate/include.el
1140 (semantic-decoration-unknown-include-describe): Fix filenames in
1143 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1144 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1145 added to the grammar-make-script.
1147 2011-10-23 Chong Yidong <cyd@gnu.org>
1149 * ede.el (ede-maybe-checkout): Function deleted;
1150 vc-toggle-read-only does not do version control now.
1152 * ede/util.el (ede-make-buffer-writable): Don't use
1153 vc-toggle-read-only.
1155 * ede/project-am.el (project-remove-file, project-add-file)
1156 (project-new-target): Don't call ede-maybe-checkout.
1158 2011-10-19 Chong Yidong <cyd@gnu.org>
1160 * ede.el (ede-minor-mode,global-ede-mode):
1161 * semantic.el (semantic-mode): Doc fix to reflect new
1162 define-minor-mode calling behavior.
1164 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1166 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1169 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1171 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1172 unconfigured projects if `global-ede-mode' is on (bug#8092).
1174 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1176 * semantic.el (semantic-elapsed-time): Rewrite using
1177 time-subtract and float-time.
1179 2011-05-11 Glenn Morris <rgm@gnu.org>
1181 * semantic/wisent/javascript.el (semantic-get-local-variables):
1182 Use define-mode-local-override rather than its obsolete alias.
1184 2011-05-10 Jim Meyering <meyering@redhat.com>
1186 Fix doubled-word typos.
1187 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1188 * semantic/complete.el (semantic-complete-read-tag-local-members):
1190 * ede.el (ede-auto-add-method): then then -> then
1192 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1194 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1195 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1196 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1197 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1198 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1200 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1202 * Version 23.3 released.
1204 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1207 Macroexpand before passing to byte-compile-form.
1209 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1212 * semantic/symref/list.el (semantic-symref-results-mode):
1215 2010-11-12 Glenn Morris <rgm@gnu.org>
1217 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1219 2010-11-10 Glenn Morris <rgm@gnu.org>
1221 * semantic/bovine/c.el: Test system-type with memq.
1223 2010-11-09 Glenn Morris <rgm@gnu.org>
1225 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1226 * semantic/grammar.el (semantic-grammar-epilogue):
1227 * ede/speedbar.el (ede-find-nearest-file-line):
1228 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1229 * ede/autoconf-edit.el (autoconf-delete-parameter):
1230 Use point-at-bol and point-at-eol.
1232 2010-11-07 Glenn Morris <rgm@gnu.org>
1234 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1236 2010-11-01 Glenn Morris <rgm@gnu.org>
1238 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1240 * semantic/symref/cscope.el (ede-toplevel):
1241 * semantic/symref.el (ede-toplevel):
1242 * semantic/tag-file.el (ede-toplevel):
1243 * ede.el (ede-toplevel): Fix declarations.
1245 2010-10-31 Glenn Morris <rgm@gnu.org>
1247 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1248 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1250 2010-10-31 Julien Danjou <julien@danjou.info>
1252 * ede/proj-elisp.el (project-compile-target):
1253 * semantic/ede-grammar.el (project-compile-target):
1254 Use `byte-recompile-file'.
1256 2010-10-31 Glenn Morris <rgm@gnu.org>
1258 * mode-local.el (mode-local-augment-function-help):
1259 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1260 * semantic/symref/list.el (semantic-symref-results-dump)
1261 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1262 of toggle-read-only.
1264 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1266 * semantic/bovine/el.el:
1267 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1268 Fix require statements.
1270 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1272 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1274 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1275 * semantic/imenu.el (semantic-create-imenu-index):
1276 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1277 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1278 Fix require. Suggested by David Engster.
1280 * semantic/bovine/c-by.el: Regenerate.
1282 2010-09-29 Eric Ludlam <zappo@gnu.org>
1284 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1285 (semantic-lex-spp-enable-debug-symbol): New command
1286 (semantic-lex-spp-value-valid-p)
1287 (semantic-lex-spp-validate-value): New functions
1288 (semantic-lex-spp-symbol-set)
1289 (semantic-lex-spp-symbol-push): Add call to validate value.
1290 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1291 invalid values during save, just save a nil.
1293 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1295 * ede/linux.el (ede-project-class-files):
1296 * ede/generic.el (ede-generic-new-autoloader):
1297 * ede/emacs.el (ede-project-class-files):
1298 * ede/simple.el (ede-project-class-files):
1299 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1301 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1303 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1305 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1306 Fix typo in error message.
1307 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1309 2010-09-21 Eric Ludlam <zappo@gnu.org>
1311 Synch SRecode to CEDET 1.0.
1313 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1314 'never, disable all pulsing.
1316 * cedet.el (cedet-version):
1317 * srecode.el (srecode-version): Bump version to 1.0.
1319 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1320 (semantic-insert-foreign-tag): Use it.
1322 * srecode/mode.el (srecode-bind-insert):
1323 Call srecode-load-tables-for-mode.
1324 (srecode-minor-mode-templates-menu): Do not list templates that
1325 are not in the current project.
1326 (srecode-menu-bar): Add binding for srecode-macro-help.
1328 * srecode/table.el (srecode-template-table): Add :project slot.
1329 (srecode-dump): Dump it.
1331 * srecode/map.el (srecode-map-update-map): Make map loading more
1334 * srecode/insert.el (srecode-insert-fcn): Merge template
1335 dictionary before resolving arguments.
1336 (srecode-insert-method-helper): Add error checking to make sure
1337 that we only have dictionaries.
1338 (srecode-insert-method): Check template nesting depth when using
1339 point inserter override.
1340 (srecode-insert-method): Install override with depth limit.
1342 * srecode/getset.el (srecode-insert-getset): Force tag table
1343 update. Don't query the class if it is empty.
1345 * srecode/find.el (srecode-template-get-table)
1346 (srecode-template-get-table-for-binding)
1347 (srecode-all-template-hash): Skip if not in current project.
1348 (srecode-template-table-in-project-p): New method.
1350 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1351 (srecode-field-exit-ask): Use it.
1353 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1354 Do not add variables in tables not for the current project.
1355 (srecode-compound-toString): Handle cases where the default value
1356 is another compound value.
1357 (srecode-dictionary-lookup-name): New optional argument
1358 NON-RECURSIVE, which inhibits visiting dictionary parents.
1359 (srecode-dictionary-add-section-dictionary)
1360 (srecode-dictionary-merge): New optional argument FORCE adds
1361 values even if an identically named entry exists.
1362 (srecode-dictionary-add-entries): New method.
1363 (srecode-create-dictionaries-from-tags): New function.
1365 * srecode/cpp.el (srecode-cpp): New defgroup.
1366 (srecode-cpp-namespaces): New option.
1367 (srecode-semantic-handle-:using-namespaces)
1368 (srecode-cpp-apply-templates): New functions.
1369 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1370 by calling `srecode-cpp-apply-templates'.
1372 * srecode/compile.el (srecode-compile-templates): Fix directory
1373 compare of built-in templates. Give built-ins lower piority.
1374 Support special variable "project".
1375 (srecode-compile-template-table): Set :project slot of new tables.
1376 (srecode-compile-one-template-tag):
1377 Use srecode-create-dictionaries-from-tags.
1379 2010-09-21 Eric Ludlam <zappo@gnu.org>
1381 Synch EDE to CEDET 1.0.
1383 * cedet-idutils.el (cedet-idutils-make-command): New option.
1384 (cedet-idutils-mkid-call):
1385 (cedet-idutils-create/update-database): New functions.
1387 * cedet-cscope.el (cedet-cscope-create):
1388 (cedet-cscope-create/update-database): New functions.
1389 (cedet-cscope-support-for-directory): Make interactive.
1391 * cedet-global.el (cedet-global-gtags-command): New option.
1392 (cedet-gnu-global-gtags-call)
1393 (cedet-gnu-global-create/update-database): New functions.
1395 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1396 (ede-make-dist): Always use toplevel project.
1397 (ede-buffer-object): If we fail to find an object in the current
1398 project, loop upward looking for a match. If no target is found,
1399 use most local project.
1400 (ede-buffer-belongs-to-target-p)
1401 (ede-buffer-belongs-to-project-p): New functions.
1402 (ede-initialize-state-current-buffer): New function.
1403 (ede-target-forms-menu, ede-project-buffers): Use them.
1404 (ede-minor-mode, ede-reset-all-buffers): Use it.
1405 (project-interactive-select-target, project-add-file): Don't use
1406 ede-project-force-load.
1407 (ede-buffer-object): New arg PROJSYM.
1408 (ede-minor-mode): Remove ede-directory-project-p test.
1409 (ede-initialize-state-current-buffer): Don't test for
1410 ede-directory-project-p if there is a matching open project.
1411 (ede-customize-forms-menu): Prevent error if there is no project.
1412 (ede-load-project-file): Set ede-constructing to the thing being
1413 constructed, instead of t.
1414 (ede-project-force-load): Delete.
1418 * ede/custom.el: New files.
1420 * ede/autoconf-edit.el (autoconf-find-last-macro)
1421 (autoconf-parameters-for-macro): Parse multiline parameters of
1422 macros. Optionally ignore case and at bol for macro.
1423 (autoconf-parameter-strip): Use greedy match for newlines.
1424 (autoconf-new-automake-string): Delete.
1425 (autoconf-new-program): Use SRecode to fill an empty file.
1427 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1430 * ede/files.el (ede-flush-project-hash): New command.
1431 (ede-convert-path): Add optional PROJECT arg.
1432 (ede-directory-project-p): Obey ".ede-ignore".
1433 (ede-expand-filename-local)
1434 (ede-expand-filename-impl-via-subproj): New methods.
1435 (ede-expand-filename-impl): Use them.
1436 (ede-project-root, ede-project-root-directory): Move to
1439 * ede/locate.el (ede-locate-flush-hash):
1440 (ede-locate-create/update-root-database): New methods.
1441 (initialize-instance): Use ede-locate-flush-hash.
1443 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1444 the top project and not a metasubproject, set TOP to CURDIR.
1445 (ede-proj-makefile-insert-variables): Output a target's object
1446 list whether or not the vars are already in the Makefile.
1447 (ede-pmake-insert-variable-once): New macro.
1449 * ede/project-am.el (project-am-with-makefile-current):
1450 Add recentf-exclude.
1451 (project-am-load-makefile): Obey an optional suggested name.
1452 (project-am-expand-subdirlist): New function.
1453 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1455 (project-am-meta-type-alist): A list to scan better Makefile.am
1456 (project-am-scan-for-targets): Scan also over
1457 project-am-meta-type-alist.
1458 (ede-system-include-path): Simple implementation.
1459 (ede-find-target): Delete. EDE core takes care of this.
1460 (ede-buffer-mine): Create the searched filename as relative.
1461 (project-am-load): Simplify, using autoconf-edit.
1462 (project-am-extract-package-info): Fix separators.
1464 * ede/proj.el (project-run-target): New method.
1465 (project-make-dist, project-compile-project):
1466 Use ede-proj-automake-p to determine which kind of compile to use.
1467 (project-rescan): Call ede-load-project-file.
1468 (ede-buffer-mine): Add more file names that belong to the project.
1469 (ede-proj-compilers): Improve error message.
1471 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1472 (ede-source-c++): Add more C++ extensions.
1473 (ede-proj-target-makefile-objectcode): Quote initforms.
1474 Support lex and yacc.
1476 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1477 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1478 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1479 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1480 (ede-proj-target-makefile-program): Swap order of two slots so
1481 they show up in the same order as in the command line.
1482 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1484 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1485 Fix inference rule to use cpp files.
1486 (ede-proj-target-makefile-shared-object): Quote initforms.
1488 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1489 * ede/proj-info.el (ede-proj-target-makefile-info):
1490 * ede/proj-aux.el (ede-proj-target-aux):
1491 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1492 * ede/proj-elisp.el (ede-proj-target-elisp)
1493 (ede-proj-target-elisp-autoloads): Quote initforms.
1495 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1497 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1499 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1500 occur while waiting for the compile process to finish, pull them
1501 in and discard those events.
1503 2010-09-19 Eric Ludlam <zappo@gnu.org>
1505 Synch Semantic to CEDET 1.0.
1507 * semantic.el (semantic-version): Update to 2.0.
1508 (semantic-mode-map): Add "," and "m" bindings.
1509 (navigate-menu): Update.
1511 * semantic/symref.el (semantic-symref-calculate-rootdir):
1513 (semantic-symref-detect-symref-tool): Use it.
1515 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1516 (semantic-symref-perform-search): Use it. Calculate root dir with
1517 semantic-symref-calculate-rootdir.
1518 (semantic-symref-derive-find-filepatterns): Improve error message.
1520 * semantic/symref/list.el
1521 (semantic-symref-results-mode-map): New bindings.
1522 (semantic-symref-auto-expand-results): New option.
1523 (semantic-symref-results-dump): Obey auto-expand.
1524 (semantic-symref-list-expand-all, semantic-symref-regexp)
1525 (semantic-symref-list-contract-all)
1526 (semantic-symref-list-map-open-hits)
1527 (semantic-symref-list-update-open-hits)
1528 (semantic-symref-list-create-macro-on-open-hit)
1529 (semantic-symref-list-call-macro-on-open-hits): New functions.
1530 (semantic-symref-list-menu-entries)
1531 (semantic-symref-list-menu): New vars.
1532 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1533 match before calling the mapped function.
1536 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1537 mode doesn't provide comment-start-skip.
1540 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1541 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1542 looking for as part of the scoped tags list.
1544 * semantic/html.el (semantic-default-html-setup):
1545 Add senator-step-at-tag-classes.
1547 * semantic/decorate/include.el
1548 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1549 (semantic-decoration-on-includes-highlight-default): Check that
1550 the include tag has a position.
1552 * semantic/complete.el (semantic-collector-local-members):
1553 (semantic-complete-read-tag-local-members)
1554 (semantic-complete-jump-local-members): New class and functions.
1555 (semantic-complete-self-insert): Save excursion before completing.
1557 * semantic/analyze/complete.el
1558 (semantic-analyze-possible-completions-default): If no completions
1559 are found, return the raw by-name-only completion list. Add FLAGS
1560 arguments. Add support for 'no-tc (type constraint) and
1561 'no-unique, or no stripping duplicates.
1562 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1564 * semantic/util-modes.el
1565 (semantic-stickyfunc-show-only-functions-p): New option.
1566 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1567 the very first line in a buffer.
1569 * semantic/util.el (semantic-hack-search)
1570 (semantic-recursive-find-nonterminal-by-name)
1571 (semantic-current-tag-interactive): Delete.
1572 (semantic-describe-buffer): Fix expand-nonterminal.
1573 Add lex-syntax-mods, type relation separator char, and command
1575 (semantic-sanity-check): Only message if called interactively.
1577 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1578 :filename property and the tag position.
1580 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1581 Add recursion limit.
1583 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1584 Make this buffer local, not the obsoleted variable.
1586 * semantic/idle.el: Add breadcrumbs support.
1587 (semantic-idle-summary-current-symbol-info-default)
1588 (semantic-idle-tag-highlight)
1589 (semantic-idle-completion-list-default):
1590 Use semanticdb-without-unloaded-file-searches for speed, and to
1591 conform to the controls that specify if the idle timer is supposed
1592 to be parsing unparsed includes.
1593 (semantic-idle-symbol-highlight-face)
1594 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1596 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1597 (semantic-idle-work-update-headers-flag): New var.
1598 (semantic-idle-work-for-one-buffer): Use it.
1599 (semantic-idle-local-symbol-highlight): Rename from
1600 semantic-idle-tag-highlight.
1601 (semantic-idle-truncate-long-summaries): New option.
1603 * semantic/ia.el (semantic-ia-cache)
1604 (semantic-ia-get-completions): Delete. Callers changed.
1605 (semantic-ia-show-variants): New command.
1606 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1607 (semantic-ia-show-summary): If there isn't anything to show, say so.
1609 * semantic/grammar.el (semantic-grammar-create-package):
1610 Save the buffer even in batch mode.
1613 (semanticdb-without-unloaded-file-searches): New macro.
1615 * semantic/dep.el (semantic-dependency-find-file-on-path):
1616 Fix case dereferencing ede-object when it is a list.
1618 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1619 (semanticdb-typecache-faux-namespace): New functions.
1620 (semanticdb-typecache-file-tags)
1621 (semanticdb-typecache-merge-streams): Use them.
1622 (semanticdb-typecache-file-tags): When deriving tags from a file,
1623 give the mode a chance to monkey with the tag copy.
1624 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1625 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1627 * semantic/db-global.el
1628 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1629 GNU Global is not available and we don't want to throw an error.
1631 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1632 When trying to normalize the tag to a buffer, don't error if
1633 set-buffer method doesn't exist.
1635 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1637 * semantic/db.el (semanticdb-refresh-table): If forcing a
1638 refresh on a file not in a buffer, use semantic-find-file-noselect
1639 and delete the buffer after use.
1640 (semanticdb-current-database-list): When calculating root via
1641 hooks, force it through true-filename and skip the list of
1644 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1646 * semantic/analyze/debug.el
1647 (semantic-analyzer-debug-insert-tag): Reset standard output to
1649 (semantic-analyzer-debug-global-symbol)
1650 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1651 "symbol" in messages.
1653 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1654 (semantic-analyze-refs-proto): When calculating value, make sure
1655 the found tag is 'similar' to the originating tag.
1656 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1657 identify matches via imported symbols of parents.
1658 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1659 search during the brute search.
1661 * semantic/analyze.el
1662 (semantic-analyze-find-tag-sequence-default): Be robust to
1663 calculated scopes being nil.
1665 * semantic/bovine/c.el (semantic-c-describe-environment):
1666 Add project macro symbol array.
1667 (semantic-c-parse-lexical-token): Add recursion limit.
1668 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1670 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1672 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1673 inline type if it is an anonymous type.
1674 (semantic-c-reconstitute-token): Use the optional initializers as
1675 a clue that some function is probably a constructor.
1676 When defining the type of these constructors, split the parent name,
1677 and use only the class part, if applicable.
1679 * semantic/bovine/c-by.el:
1680 * semantic/wisent/python-wy.el: Regenerate.
1682 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1684 * semantic/db-file.el (object-write): Fix typo in docstring.
1686 2010-06-03 Eric Ludlam <zappo@gnu.org>
1688 * semantic/lex-spp.el
1689 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1690 invalid values during save, just save a nil (Bug#6324).
1692 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1694 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1697 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1699 Use a mode-line spec rather than a static string in Semantic.
1700 * semantic/util-modes.el:
1701 (semantic-minor-modes-format): New var to replace...
1702 (semantic-minor-modes-status): Remove.
1703 (semantic-mode-line-update): Construct a mode-line spec rather than
1704 a static string so that mouse buttons can be used on individual minor
1705 modes and so that semantic-mode-line-update only needs to be called
1706 when global settings are changed.
1707 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1708 Call semantic-mode-line-update.
1709 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1710 minor-mode-alist, check semantic-minor-mode-alist as well.
1711 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1712 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1713 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1714 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1715 * semantic/idle.el (semantic-idle-scheduler-mode)
1716 (define-semantic-idle-service, semantic-idle-summary-mode):
1717 * semantic/decorate/mode.el (semantic-decoration-mode):
1718 Don't call semantic-mode-line-update any more.
1720 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1722 Use define-minor-mode in CEDET where applicable.
1724 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1725 Use define-minor-mode.
1727 * semantic/util-modes.el (semantic-add-minor-mode):
1728 Remove unused arg `keymap' and code redundant with define-minor-mode.
1729 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1730 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1731 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1732 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1733 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1734 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1735 Use define-minor-mode.
1736 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1737 (semantic-show-unmatched-syntax-mode-setup)
1738 (semantic-show-parser-state-mode-setup)
1739 (semantic-highlight-func-mode-setup): Inline into sole caller.
1741 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1742 (semantic-mru-bookmark-mode): Use define-minor-mode.
1743 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1745 * semantic/idle.el (define-semantic-idle-service):
1746 Use define-minor-mode and inline setup function into its sole caller.
1747 (semantic-idle-scheduler-mode-setup)
1748 (semantic-idle-summary-mode-setup): Inline into sole caller.
1749 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1750 Use define-minor-mode.
1752 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1753 (semantic-decoration-mode): Use define-minor-mode.
1754 (semantic-decoration-mode-setup): Inline into sole caller.
1756 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1757 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1758 (ede-dired-add-to-target): Use dolist.
1760 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1762 * semantic.el (semantic-completion-at-point-function):
1764 (semantic-mode): Use semantic-completion-at-point-function for
1765 completion-at-point-functions instead.
1767 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1769 * semantic.el (semantic-mode): When enabled, add
1770 semantic-ia-complete-symbol to completion-at-point-functions.
1772 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1773 if Semantic is not active.
1775 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1777 * ede/pmake.el (ede-proj-makefile-insert-variables):
1778 Don't destroy list before using it.
1780 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1782 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1783 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1784 (semantic-imenu-goto-function): Reflow docstring.
1786 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1788 * srecode/table.el (srecode-template-table): Fix docstring typo.
1790 2010-03-24 Glenn Morris <rgm@gnu.org>
1792 * semantic/bovine/c.el (semantic-c-describe-environment):
1793 Consistently check ede-object is bound throughout.
1795 * ede/project-am.el (ede-shell-run-something): Declare.
1797 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1799 * semantic/imenu.el: New file, from the CEDET repository
1802 2010-03-06 Glenn Morris <rgm@gnu.org>
1804 * semantic/grammar.el (semantic-grammar-header-template):
1805 Update template copyright to GPLv3+.
1807 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1809 * semantic/db-find.el
1810 (semanticdb-find-translate-path-brutish-default):
1811 * ede/make.el (ede-make-check-version):
1812 Use with-current-buffer instead of save-excursion.
1814 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1816 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1817 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1819 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1821 * data-debug.el (data-debug): Move to extensions group.
1824 * srecode.el (srecode):
1825 * semantic.el (semantic): Put in tools and extensions group.
1827 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1829 * ede.el (ede-run-target, project-delete-target)
1830 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1831 (ede-adebug-project, ede-adebug-project-parent)
1832 (ede-adebug-project-root): Fix typos in docstrings.
1834 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1836 * ede/locate.el (ede-locate-file-in-project)
1837 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1838 (ede-enable-locate-on-project): Fix typos in error messages.
1840 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1841 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1842 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1843 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1844 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1845 Fix typos in menu help.
1847 * semantic.el (semantic-require-version, semantic--buffer-cache)
1848 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1849 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1850 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1851 (semantic-parse-stream, semantic-parse-region)
1852 (semantic-parse-region-default, semantic--set-buffer-cache)
1853 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1854 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1855 (semantic-default-submodes):
1856 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1857 (semanticdb-create-ebrowse-database)
1858 (semanticdb-find-tags-for-completion-method)
1859 (semanticdb-find-tags-by-class-method)
1860 (semanticdb-deep-find-tags-by-name-method)
1861 (semanticdb-deep-find-tags-for-completion-method):
1862 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1863 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1864 (semanticdb-find-tags-for-completion-method)
1865 (semanticdb-find-tags-by-class-method)
1866 (semanticdb-deep-find-tags-for-completion-method):
1867 * semantic/db-find.el (semanticdb-find-translate-path)
1868 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1869 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1870 (semanticdb-find-tags-by-name-method)
1871 (semanticdb-find-tags-by-name-regexp-method)
1872 (semanticdb-find-tags-for-completion-method)
1873 (semanticdb-find-tags-by-class-method)
1874 (semanticdb-find-tags-external-children-of-type-method)
1875 (semanticdb-find-tags-subclasses-of-type-method)
1876 (semanticdb-deep-find-tags-by-name-method)
1877 (semanticdb-deep-find-tags-by-name-regexp-method)
1878 (semanticdb-deep-find-tags-for-completion-method):
1879 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1880 (semanticdb-enable-gnu-global-in-buffer)
1881 (semanticdb-find-tags-for-completion-method)
1882 (semanticdb-deep-find-tags-by-name-method)
1883 (semanticdb-deep-find-tags-for-completion-method):
1884 * semantic/db-javascript.el (semanticdb-javascript-tags)
1885 (javascript-mode, semanticdb-find-translate-path)
1886 (semanticdb-find-tags-for-completion-method)
1887 (semanticdb-find-tags-by-class-method)
1888 (semanticdb-deep-find-tags-by-name-method)
1889 (semanticdb-deep-find-tags-for-completion-method)
1890 (semanticdb-find-tags-external-children-of-type-method):
1891 * semantic/idle.el (semantic-idle-work-core-handler)
1892 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1893 (global-semantic-idle-scheduler-mode):
1894 * srecode/dictionary.el (srecode-field-value)
1895 (srecode-dictionary-add-section-dictionary):
1896 Fix typos in docstrings.
1898 2010-01-17 Glenn Morris <rgm@gnu.org>
1900 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1902 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1904 * semantic.el (semantic-mode): Fix typos in docstrings.
1906 2010-01-16 Mario Lang <mlang@delysid.org>
1908 * ede/cpp-root.el (ede-cpp-root-project):
1909 * ede/files.el (ede-expand-filename):
1910 * ede/simple.el (ede-simple-project):
1911 * semantic/complete.el (semantic-complete-read-tag-engine)
1912 (semantic-complete-inline-tag-engine):
1913 * semantic/db-el.el (semanticdb-equivalent-mode):
1914 * semantic/db-global.el (semanticdb-equivalent-mode):
1915 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1916 * semantic/db.el (semanticdb-equivalent-mode):
1917 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1918 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1919 Remove duplicated words in doc-strings.
1921 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1923 * semantic/edit.el (semantic-reparse-needed-change-hook)
1924 (semantic-no-reparse-needed-change-hook):
1925 * srecode/insert.el (srecode-resolve-argument-list)
1926 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1927 (srecode-template-inserter-ask, srecode-template-inserter-width)
1928 (srecode-template-inserter-section-start)
1929 (srecode-template-inserter-section-end, srecode-insert-method):
1930 Fix typos in docstrings.
1932 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1934 * data-debug.el (data-debug): Fix customization group reference.
1936 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1938 * semantic/analyze.el (semantic-analyze-push-error)
1939 (semantic-analyze-context, semantic-analyze-context-assignment)
1940 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1941 * semantic/java.el (java-mode, semantic-tag-include-filename)
1942 (semantic-java-doc-keywords-map):
1943 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1944 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1945 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
1946 (semantic-c-classname, semantic-format-tag-uml-prototype)
1947 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
1948 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
1949 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
1950 (semantic-get-local-variables, semantic-end-of-command)
1951 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
1953 * semantic/bovine/make.el (makefile-mode):
1954 * semantic/wisent/python.el (wisent-python-string-re)
1955 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
1956 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
1957 (semantic-lex, semantic-get-local-variables, python-mode):
1958 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
1959 * srecode/extract.el (srecode-extract-state-set)
1960 (srecode-extract-method): Fix typos in docstrings.
1962 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
1964 * semantic.el (semantic-new-buffer-setup-functions):
1967 2010-01-10 Richard Kim <emacs18@gmail.com>
1969 * semantic/wisent/python-wy.el:
1970 * semantic/wisent/python.el: New files.
1972 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
1974 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1975 Fix typo in docstring.
1977 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1979 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1980 (semantic-mru-bookmark-mode): Doc fixes.
1982 * semantic/db.el (semanticdb-cache-get): Use error instead
1985 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
1987 * semantic/ia.el (semantic-ia-complete-symbol):
1988 Make argument optional.
1990 2009-12-05 Eric Ludlam <zappo@gnu.org>
1992 * semantic/bovine/c.el (semantic-c-describe-environment):
1993 Describe project macro symbols.
1995 * semantic/complete.el (semantic-complete-do-completion):
1996 Don't call semantic-collector-current-exact-match.
1998 * ede.el (ede-apply-preprocessor-map): Accept lists of
1999 ede-objects as targets.
2001 * ede/pmake.el (ede-proj-makefile-insert-variables):
2002 Output a target's object list even if compiler vars are already in the
2005 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2006 list of headers producing necessary macros.
2008 2009-11-24 Glenn Morris <rgm@gnu.org>
2010 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2011 Move after definition of global-semantic-idle-tag-highlight-mode.
2013 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2015 * srecode/map.el (srecode-get-maps):
2016 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2017 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2018 * semantic/decorate/mode.el (semantic-decoration-mode)
2019 (semantic-toggle-decoration-style):
2020 * semantic/decorate/include.el
2021 (semantic-decoration-include-describe)
2022 (semantic-decoration-unknown-include-describe)
2023 (semantic-decoration-unparsed-include-describe)
2024 (semantic-decoration-all-include-summary):
2025 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2026 * semantic/analyze/complete.el
2027 (semantic-analyze-possible-completions):
2028 * semantic/util-modes.el (semantic-highlight-edits-mode)
2029 (semantic-show-unmatched-syntax-mode)
2030 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2031 (semantic-highlight-func-mode):
2032 * semantic/util.el (semantic-describe-buffer):
2033 * semantic/symref.el (semantic-symref-find-references-by-name)
2034 (semantic-symref-find-tags-by-name)
2035 (semantic-symref-find-tags-by-regexp)
2036 (semantic-symref-find-tags-by-completion)
2037 (semantic-symref-find-file-references-by-name)
2038 (semantic-symref-find-text):
2039 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2041 * semantic/scope.el (semantic-calculate-scope):
2042 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2043 * semantic/idle.el (semantic-idle-scheduler-mode)
2044 (define-semantic-idle-service):
2045 * semantic/complete.el (semantic-complete-analyze-inline)
2046 (semantic-complete-analyze-inline-idle):
2047 * semantic/analyze.el (semantic-analyze-current-context):
2048 * mode-local.el (describe-mode-local-bindings)
2049 (describe-mode-local-bindings-in-mode):
2050 * ede/make.el (ede-make-check-version):
2051 * ede/locate.el (ede-enable-locate-on-project):
2052 * cedet-idutils.el (cedet-idutils-expand-filename)
2053 (cedet-idutils-version-check):
2054 * cedet-global.el (cedet-gnu-global-expand-filename)
2055 (cedet-gnu-global-version-check):
2056 * cedet-cscope.el (cedet-cscope-expand-filename)
2057 (cedet-cscope-version-check): Use called-interactively-p instead
2060 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2061 Use semantic-format-tag-prototype.
2063 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2065 * semantic/complete.el (semantic-complete-read-tag-engine)
2066 (semantic-complete-jump-local, semantic-complete-jump):
2067 Improve prompt string.
2069 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2071 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2073 * semantic/idle.el (define-semantic-idle-service)
2074 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2076 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2078 * cedet.el (cedet-menu-map): Re-order menu items.
2080 * semantic.el: Enable idle-mode menu items only if
2081 global-semantic-idle-scheduler-mode is enabled.
2082 (semantic-default-submodes): Doc fix.
2084 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2085 When turning off, disable other idle modes.
2087 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2089 * semantic/idle.el (semantic-idle-summary-mode)
2090 (semantic-idle-summary-mode): Define using define-minor-mode
2091 instead of define-semantic-idle-service.
2092 (semantic-idle-summary-mode): New function.
2093 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2094 that mouse motion does not reset the echo area.
2096 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2098 * semantic/ctxt.el (semantic-get-local-variables):
2099 Disable the progress reporter entirely.
2101 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * semantic/fw.el (semantic/loaddefs):
2104 * srecode.el (srecode/loaddefs):
2105 * ede.el (ede/loaddefs): Load rather than require.
2116 * semantic/analyze.el:
2117 * semantic/bovine.el:
2118 * semantic/complete.el:
2120 * semantic/db-file.el:
2121 * semantic/db-find.el:
2122 * semantic/db-global.el:
2123 * semantic/db-mode.el:
2124 * semantic/db-typecache.el:
2126 * semantic/debug.el:
2131 * semantic/format.el:
2133 * semantic/ia-sb.el:
2136 * semantic/lex-spp.el:
2138 * semantic/mru-bookmark.el:
2139 * semantic/scope.el:
2140 * semantic/senator.el:
2142 * semantic/symref.el:
2143 * semantic/tag-file.el:
2144 * semantic/tag-ls.el:
2145 * semantic/tag-write.el:
2147 * semantic/util-modes.el:
2148 * semantic/analyze/complete.el:
2149 * semantic/analyze/refs.el:
2150 * semantic/bovine/c.el:
2151 * semantic/bovine/gcc.el:
2152 * semantic/bovine/make.el:
2153 * semantic/bovine/scm.el:
2154 * semantic/decorate/include.el:
2155 * semantic/decorate/mode.el:
2156 * semantic/symref/cscope.el:
2157 * semantic/symref/global.el:
2158 * semantic/symref/grep.el:
2159 * semantic/symref/idutils.el:
2160 * semantic/symref/list.el:
2161 * semantic/wisent/java-tags.el:
2162 * semantic/wisent/javascript.el:
2163 * srecode/compile.el:
2165 * srecode/document.el:
2167 * srecode/expandproto.el:
2168 * srecode/getset.el:
2169 * srecode/insert.el:
2173 * srecode/template.el:
2174 * srecode/texi.el: Remove the file-local setting of
2175 generated-autoload-feature.
2177 2009-11-03 Glenn Morris <rgm@gnu.org>
2179 * mode-local.el (with-mode-local): Doc fix.
2181 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2183 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2186 * ede.el (ede-minor-mode):
2187 * semantic.el (semantic-mode): Toggle menu separators.
2189 2009-10-31 Glenn Morris <rgm@gnu.org>
2191 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2192 Use mapc rather than mapcar because the return value is never used.
2194 * srecode/template.el, semantic/wisent/javascript.el:
2195 * semantic/wisent/java-tags.el, semantic/texi.el:
2197 Suppress harmless warnings about setting up semantic-imenu (not
2198 part of Emacs) variables.
2200 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2203 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2204 * semantic/symref/grep.el (semantic-symref-perform-search):
2205 * semantic/bovine/gcc.el (semantic-gcc-query):
2206 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2207 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2208 (semantic-analyzer-debug-global-symbol)
2209 (semantic-analyzer-debug-missing-innertype)
2210 (semantic-analyzer-debug-insert-include-summary):
2211 * semantic/util.el (semantic-file-tag-table):
2212 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2213 (semantic-recursive-find-nonterminal-by-name):
2214 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2215 * semantic/tag-file.el (semantic-prototype-file):
2216 * semantic/symref.el (semantic-symref-parse-tool-output):
2217 * semantic/sb.el (semantic-sb-fetch-tag-table):
2218 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2219 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2220 (semantic-idle-summary-maybe-highlight):
2221 * semantic/ia-sb.el (semantic-ia-speedbar)
2222 (semantic-ia-sb-tag-info):
2223 * semantic/grammar.el (semantic-analyze-possible-completions):
2224 * semantic/find.el (semantic-brute-find-tag-by-position):
2225 * semantic/ede-grammar.el (project-compile-target):
2226 (ede-proj-makefile-insert-variables):
2227 * semantic/debug.el (semantic-debug-set-parser-location):
2228 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2229 (semantic-debug-mode, semantic-debug):
2230 * semantic/db.el (semanticdb-needs-refresh-p):
2231 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2232 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2233 * semantic/db-find.el (semanticdb-find-log-new-search)
2234 (semanticdb-find-translate-path-includes--internal)
2235 (semanticdb-reset-log, semanticdb-find-log-activity):
2236 * semantic/db-file.el (object-write):
2237 * semantic/db-el.el (semanticdb-equivalent-mode):
2238 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2239 (semanticdb-create-ebrowse-database):
2240 * semantic/db-debug.el (semanticdb-table-sanity-check):
2241 * semantic/complete.el (semantic-displayor-focus-request)
2242 (semantic-collector-calculate-completions-raw)
2243 (semantic-complete-read-tag-analyzer):
2244 * semantic/analyze.el (semantic-analyze-pulse):
2245 * ede/util.el (ede-update-version-in-source):
2246 * ede/proj.el (project-delete-target):
2247 * ede/proj-elisp.el (ede-update-version-in-source)
2248 (ede-proj-flush-autoconf):
2249 * ede/pconf.el (ede-proj-configure-synchronize)
2250 (ede-proj-configure-synchronize):
2251 * ede/locate.el (ede-locate-file-in-project-impl):
2252 * ede/linux.el (ede-linux-version):
2253 * ede/emacs.el (ede-emacs-version):
2254 * ede/dired.el (ede-dired-add-to-target):
2255 * ede.el (ede-buffer-header-file, ede-find-target)
2256 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2257 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2258 * cedet-idutils.el (cedet-idutils-fnid-call):
2259 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2260 (cedet-idutils-version-check):
2261 * cedet-global.el (cedet-gnu-global-call):
2262 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2263 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2264 * cedet-cscope.el (cedet-cscope-call)
2265 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2266 Use with-current-buffer.
2267 * ede.el (ede-make-project-local-variable)
2268 (ede-set-project-variables, ede-set): Use dolist.
2270 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * mode-local.el (make-obsolete-overload): Add `when' argument.
2273 (overload-docstring-extension): Use that info.
2274 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2275 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2276 * semantic/tag-ls.el (semantic-nonterminal-protection)
2277 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2278 (semantic-nonterminal-full-name): Add the new `when' info.
2279 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2282 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * semantic/fw.el (semantic-alias-obsolete)
2285 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2286 (define-mode-overload-implementation):
2287 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2288 * semantic/wisent.el (wisent-lex-make-token-table):
2289 * semantic/util.el (semantic-file-token-stream)
2290 (semantic-something-to-stream):
2291 * semantic/tag.el (semantic-tag-make-assoc-list)
2292 (semantic-expand-nonterminal):
2293 * semantic/tag-file.el (semantic-find-nonterminal)
2294 (semantic-find-dependency, semantic-find-nonterminal)
2295 (semantic-find-dependency):
2296 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2297 (semantic-flex-text, semantic-flex-make-keyword-table)
2298 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2299 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2300 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2301 * semantic/java.el (semantic-java-prototype-nonterminal):
2302 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2303 (semantic-after-idle-scheduler-reparse-hooks):
2304 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2305 * semantic/db-mode.el (semanticdb-mode-hooks):
2306 * semantic.el (semantic-toplevel-bovine-table)
2307 (semantic-toplevel-bovine-cache)
2308 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2309 (semantic-init-mode-hooks, semantic-init-db-hooks)
2310 (semantic-bovination-working-type): Provide the `when' arg.
2312 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2314 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2315 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2316 argument to make-obsolete.
2318 * semantic/fw.el (semantic-alias-obsolete)
2319 (semantic-varalias-obsolete): Add optional WHEN argument.
2321 2009-10-21 Eric Ludlam <zappo@gnu.org>
2323 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2324 (semantic-c-debug-mode-init-pch): New functions.
2325 (semantic-c-debug-mode-init-last-mode): New var.
2326 (semantic-c-parse-lexical-token): Use them.
2328 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2329 When extracting the argument list, limit only by point-max.
2331 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2334 * srecode/compile.el:
2335 * semantic/mru-bookmark.el:
2336 * semantic/debug.el:
2337 * semantic/complete.el:
2338 * semantic/analyze.el: Require CL when compiling.
2340 2009-10-17 Eric Ludlam <zappo@gnu.org>
2343 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2344 tmpscope so that the regular scope will continue to work.
2346 * semantic/idle.el (semantic-idle-tag-highlight):
2347 Use semantic-idle-summary-highlight-face as the highlighting.
2349 * ede/project-am.el (project-run-target): New method.
2350 (project-run-target): New method.
2352 * ede.el (ede-target): Add run target menu item.
2353 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2354 (ede-run-target): New function.
2355 (ede-target::project-run-target): New method.
2357 * ede/proj.el (project-run-target): New method.
2359 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2360 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2362 (ede-proj-target-makefile-shared-object): Only libtool compilers
2363 now available. Add linkers for libtool.
2364 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2365 (ede-proj-makefile-target-name): Always use .la extension.
2367 * ede/proj-prog.el (project-run-target): New method.
2369 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2370 (ede-g++-linker): Change Change link lines.
2372 * ede/pmake.el (ede-pmake-insert-variable-shared):
2373 When searching for old variables, go to the end of the buffer and
2374 search backward from there.
2375 (ede-proj-makefile-automake-insert-subdirs)
2376 (ede-proj-makefile-automake-insert-extradist): New methods.
2377 (ede-proj-makefile-create): Use them.
2379 * ede/pconf.el (ede-proj-configure-test-required-file):
2380 Force FILE to expand to the current target. Use file-exists-p to
2381 check that it exists.
2383 * ede/linux.el (ede-linux-version): Don't call "head".
2384 (ede-linux-load): Wrap dir in file-name-as-directory.
2387 * ede/files.el (ede-get-locator-object): When enabling
2388 locate, do so on "top".
2390 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2391 file-name-as-directory during compare.
2392 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2393 Get version number from different places. Don't call egrep.
2394 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2395 to set the directory.
2397 * ede/shell.el: New file.
2399 * inversion.el (inversion-decoders): Allow for stray . in
2400 alpha/beta variants.
2402 2009-10-17 Glenn Morris <rgm@gnu.org>
2404 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2405 All errors should have messages.
2407 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2409 * ede/proj-shared.el (ede-proj-makefile-target-name):
2410 Use .la for Automake.
2412 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2414 * ede/pconf.el (ede-proj-configure-synchronize):
2415 Use "autoreconf -i". Suggested by Andreas Schwab.
2417 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2419 * ede/proj.el (project-make-dist, project-compile-project):
2421 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2422 to expand file names.
2424 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2426 * ede/proj-obj.el (ede-gcc-linker): New var.
2427 (ede-proj-target-makefile-objectcode): Use it.
2429 * ede/source.el (ede-want-any-source-files-p)
2430 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2431 Return search result. This error was introduced while merging.
2433 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2435 * semantic.el (semantic-new-buffer-setup-functions): New option.
2436 (semantic-new-buffer-fcn): Call parser setup functions here.
2437 (semantic-mode): Don't call parser setup functions here, it's done
2438 in semantic-new-buffer-fcn now.
2439 (semantic-mode): Parse all existing buffers when enabled.
2441 * srecode/compile.el (srecode-compile-file):
2442 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2444 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2446 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2448 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2449 (proj-comp-insert-variable-once): New macro, renamed from
2450 ede-pmake-insert-variable-once in ede/pmake.edl.
2451 (ede-proj-makefile-insert-variables): Use it.
2453 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2455 * ede/makefile-edit.el (makefile-beginning-of-command)
2456 (makefile-end-of-command):
2457 * srecode/srt-mode.el (semantic-beginning-of-context)
2458 (semantic-end-of-context): Fix previous change. Doc fixes.
2460 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2462 * ede/makefile-edit.el (makefile-beginning-of-command)
2463 (makefile-end-of-command):
2464 * semantic/lex.el (semantic-lex-token):
2465 * semantic/analyze/fcn.el
2466 (semantic-analyze-dereference-metatype-1):
2467 * semantic/bovine/c.el (semantic-lex-cpp-define)
2468 (semantic-lex-cpp-undef):
2469 * semantic/wisent/wisent.el (wisent-skip-block):
2470 * srecode/srt-mode.el (semantic-beginning-of-context)
2471 (semantic-end-of-context): Fix typos in docstrings.
2473 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2475 * ede.el (ede-project-placeholder-cache-file):
2476 * semantic/db-file.el (semanticdb-default-save-directory):
2477 * srecode/map.el (srecode-map-save-file):
2478 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2480 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2482 * srecode/insert.el: Require srecode/args.
2484 * srecode/args.el: Require srecode/dictionary instead of
2487 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2489 * files.el (auto-mode-alist): Add .srt and Project.ede.
2491 * semantic.el (semantic-mode):
2492 Handle srecode-template-mode-hook as well.
2493 (semantic-mode): Use js-mode-hook for Javascript hook.
2495 * srecode/template.el: Remove hook variable.
2497 * ede/proj-comp.el: Require ede/pmake when compiling.
2499 * ede.el (ede-target-forms-menu): Don't enable if no
2501 (ede-project-placeholder-cache-file): Default to a file in
2502 user-emacs-directory.
2504 * srecode/map.el (srecode-map-base-template-dir): Look for
2505 templates in data-directory.
2506 (srecode-map-save-file): Default to a file in user-emacs-directory.
2508 * ede/srecode.el (ede-srecode-setup): Use default templates
2511 2009-09-30 Eric Ludlam <zappo@gnu.org>
2513 * semantic/util-modes.el (semantic-highlight-func-mode):
2516 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2517 Only insert each variable once.
2519 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2520 (ede-pmake-insert-variable-shared): Use it.
2522 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2523 for lexical table iff table is nil.
2525 2009-10-01 Glenn Morris <rgm@gnu.org>
2527 * semantic/bovine/gcc.el
2528 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2529 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2531 2009-10-03 Glenn Morris <rgm@gnu.org>
2533 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2534 declaration, currently false.
2536 2009-10-01 Glenn Morris <rgm@gnu.org>
2538 * cedet-files.el (cedet-directory-name-to-file-name):
2539 * cedet-idutils.el (cedet-idutils-search)
2540 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2541 (cedet-idutils-version-check):
2542 * cedet.el (cedet-version):
2543 * data-debug.el (data-debug-insert-overlay-button)
2544 (data-debug-insert-overlay-list-button)
2545 (data-debug-insert-buffer-button)
2546 (data-debug-insert-buffer-list-button)
2547 (data-debug-insert-process-button, data-debug-insert-ring-button)
2548 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2549 (data-debug-insert-stuff-vector-button)
2550 (data-debug-insert-symbol-button, data-debug-insert-string)
2551 (data-debug-insert-number, data-debug-insert-lambda-expression)
2552 (data-debug-insert-nil, data-debug-insert-simple-thing)
2553 (data-debug-insert-custom, data-debug-edebug-expr):
2554 * ede.el (ede-auto-add-method, ede-project-class-files)
2555 (global-ede-mode-map, ede-new, ede-debug-target)
2556 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2557 * semantic.el (semantic-minimum-working-buffer-size)
2558 (semantic-fetch-tags, semantic-submode-list)
2559 (semantic-default-submodes):
2560 * ede/source.el (ede-source-match):
2561 * ede/project-am.el (project-am-type-alist, project-add-file)
2562 (project-am-package-info):
2563 * ede/proj.el (ede-proj-target, project-new-target):
2564 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2565 * ede/proj-comp.el (ede-current-build-list):
2566 * ede/makefile-edit.el (makefile-move-to-macro):
2567 * ede/files.el (ede-toplevel-project-or-nil):
2568 * ede/cpp-root.el (initialize-instance):
2569 * ede/autoconf-edit.el (autoconf-find-last-macro)
2570 (autoconf-parameter-strip, autoconf-insert-new-macro):
2571 * semantic/wisent.el (wisent-lex-eoi):
2572 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2573 (semantic-show-parser-state-mode):
2574 * semantic/texi.el (semantic-texi-environment-regexp):
2575 * semantic/tag.el (semantic-tag-new-variable)
2576 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2577 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2578 (semantic--tag-deep-copy-tag-list)
2579 (semantic-tag-components-with-overlays-default):
2580 * semantic/symref.el (semantic-symref-find-text):
2581 * semantic/senator.el (senator-yank-tag)
2582 (senator-transpose-tags-up):
2583 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2584 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2585 * semantic/sb.el (semantic-sb-autoexpand-length):
2586 * semantic/lex.el (semantic-lex-comment-regex)
2587 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2588 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2589 * semantic/lex-spp.el
2590 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2591 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2593 (semantic-idle-summary-current-symbol-info-brutish)
2594 (semantic-idle-summary-current-symbol-info-default):
2595 * semantic/grammar.el (semantic-grammar-recreate-package)
2596 (semantic--grammar-macro-compl-dict):
2597 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2598 * semantic/format.el (semantic-format-tag-custom-list)
2599 (semantic-format-tag-canonical-name-default):
2600 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2601 (semantic-find-tags-for-completion)
2602 (semantic-find-tags-by-scope-protection-default)
2603 (semantic-deep-find-tags-for-completion):
2605 (semantic-edits-incremental-reparse-failed-hook)
2606 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2607 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2608 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2609 * semantic/dep.el (semantic-dependency-include-path):
2610 * semantic/db.el (semanticdb-default-find-index-class)
2611 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2612 (semanticdb-project-roots):
2613 * semantic/db-find.el (semanticdb-implied-include-tags)
2614 (semanticdb-find-adebug-insert-scanned-tag-cons)
2615 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2616 (semanticdb-brute-deep-find-tags-for-completion):
2617 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2618 * semantic/ctxt.el (semantic-beginning-of-context-default)
2619 (semantic-end-of-context-default)
2620 (semantic-ctxt-current-function-default)
2621 (semantic-ctxt-scoped-types-default):
2622 * semantic/complete.el (semantic-complete-read-tag-engine)
2623 (semantic-complete-inline-tag-engine)
2624 (semantic-complete-inline-custom-type)
2625 (semantic-complete-read-tag-analyzer):
2626 * semantic/chart.el (semantic-chart-tags-by-class)
2627 (semantic-chart-database-size):
2628 * semantic/analyze.el (semantic-analyze-current-symbol)
2629 (semantic-analyze-current-context):
2630 * semantic/symref/list.el (semantic-symref)
2631 (semantic-symref-hide-buffer, semantic-symref-symbol):
2632 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2633 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2634 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2635 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2636 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2637 (semantic-c-dereference-template):
2638 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2639 (semantic--analyze-refs-full-lookup-with-parents)
2640 (semantic--analyze-refs-full-lookup-simple):
2641 * semantic/analyze/complete.el
2642 (semantic-analyze-possible-completions):
2643 * srecode/table.el (srecode-mode-table-new):
2644 * srecode/srt.el (srecode-read-variable-name):
2645 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2646 * srecode/semantic.el (srecode-semantic-handle-:tag)
2647 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2648 * srecode/map.el (srecode-current-map):
2649 * srecode/insert.el (srecode-insert)
2650 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2651 (srecode-template-inserter-point-override)
2652 (srecode-insert-include-lookup):
2653 * srecode/getset.el (srecode-auto-choose-class):
2654 * srecode/extract.el (srecode-inserter-extract):
2655 * srecode/document.el
2656 (srecode-document-autocomment-return-last-alist)
2657 (srecode-document-autocomment-param-type-alist)
2658 (srecode-document-insert-function-comment)
2659 (srecode-document-insert-variable-one-line-comment)
2660 (srecode-document-function-name-comment):
2661 * srecode/dictionary.el (srecode-create-dictionary)
2662 (srecode-compound-toString):
2663 * srecode/compile.el (srecode-flush-active-templates):
2664 * srecode/args.el (srecode-semantic-handle-:blank):
2667 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2669 * semantic/wisent/javat-wy.el
2670 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2672 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2674 * srecode/expandproto.el: Fix provide statement.
2676 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2678 * ede/srecode.el: Fix provide statement.
2680 2009-09-30 Glenn Morris <rgm@gnu.org>
2682 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2683 * ede/proj-aux.el (ede-aux-source):
2684 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2686 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2687 (semantic-mrub-switch-tags): Fix doc typos.
2689 * semantic/db-global.el (data-debug-new-buffer)
2690 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2691 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2693 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2695 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2696 use of CL function `remove-if-not'.
2698 2009-09-29 Glenn Morris <rgm@gnu.org>
2700 * semantic/symref/idutils.el:
2701 * semantic/symref/list.el: Relicense under GPLv3+.
2703 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2705 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2706 * semantic/tag-file.el (semanticdb-table-child-p):
2707 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2708 Mark declarations not understood by check-declare.
2710 2009-09-28 Eric Ludlam <zappo@gnu.org>
2712 CEDET (development tools) package merged.
2717 * srecode/*.el: New files.
2719 2009-09-28 Eric Ludlam <zappo@gnu.org>
2728 * pulse.el: New files.
2734 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2736 This file is part of GNU Emacs.
2738 GNU Emacs is free software: you can redistribute it and/or modify
2739 it under the terms of the GNU General Public License as published by
2740 the Free Software Foundation, either version 3 of the License, or
2741 (at your option) any later version.
2743 GNU Emacs is distributed in the hope that it will be useful,
2744 but WITHOUT ANY WARRANTY; without even the implied warranty of
2745 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2746 GNU General Public License for more details.
2748 You should have received a copy of the GNU General Public License
2749 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.