1 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header.
5 2013-06-19 Glenn Morris <rgm@gnu.org>
7 * semantic/idle.el (define-semantic-idle-service):
8 No need to use eval-and-compile, progn will do.
10 * semantic/decorate/mode.el (define-semantic-decoration-style):
12 (define-semantic-decoration-style): 'function is not an accepted
13 value for autoload's "type" argument. Might as well use the default.
15 2013-06-18 Glenn Morris <rgm@gnu.org>
17 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
18 Remove unused free variable `symlist'.
20 2013-06-02 Eric Ludlam <zappo@gnu.org>
22 * semantic/edit.el (semantic-change-function):
23 Use `save-match-data' around running hooks.
25 * semantic/decorate/mode.el
26 (semantic-decorate-style-predicate-default)
27 (semantic-decorate-style-highlighter-default): New.
28 (semantic-decoration-mode): Do not require
29 `semantic/decorate/include' anymore.
30 (semantic-toggle-decoration-style): Error if an unknown decoration
32 (define-semantic-decoration-style): Add new :load option. When
33 :load is specified, add autoload tokens for the definition
34 functions so that code is loaded when the mode is used.
35 (semantic-decoration-on-includes): New autoload definition for
36 highlighting includes.
38 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
39 characters to appear after the tested variable.
41 * semantic/ede-grammar.el (project-compile-target): Calculate full
42 src name via ede-expand-filename instead of the crutch of the
43 current buffer. Enables this target to compile in batch mode.
46 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
47 remote symbol with `save-excursion'.
48 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
49 using directory-files on each found mode pattern, collect all the
50 patterns for the current mode, and then for each file, see if it
51 matches any of them. If it does, parse the file. (Patch
52 inspiration from Tomasz Gajewski.)
54 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
55 (semantic-ctxt-current-symbol-default): New.
57 * semantic/bovine/el.el (semantic-default-elisp-setup): Add
58 autoload cookie. Explain existence.
59 (footer): Add local variable for loaddefs.
61 * semantic/db.el (semanticdb-file-table-object): Add new filter,
62 only checking for regular files too.
64 * semantic/wisent/python.el
65 (semantic-format-tag-abbreviate): New override. Cuts back on size
68 * srecode/compile.el (srecode-compile-templates): Fix warning
69 punctuation. Remove status messages to clean up testing output.
71 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
73 (ede-save-cache): Disable cache save if file is nil.
75 * ede.el (ede-initialize-state-current-buffer): Flush deleted
77 (global-ede-mode): Always append our find-file-hook to the end.
78 (ede-flush-deleted-projects): New command.
80 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
83 * ede/proj.el (ede-proj-target): Added a new "custom" option for
84 custom symbols representing a compiler or linker instead of
85 restricting things to only the predefined compilers and linkers.
87 2013-06-02 David Engster <dengste@eml.cc>
89 * semantic.el (semantic-mode-map): To avoid showing showing
90 Development menu twice, only disable menu item if menu-bar is
91 actually enabled, otherwise the popup 'global menu' might display
92 a disabled Development menu.
94 * srecode/srt-wy.el: Regenerate.
96 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
98 * semantic/complete.el
99 (semantic-displayor-show-request): Fix which slot in obj is set to
102 2013-06-01 Glenn Morris <rgm@gnu.org>
104 * semantic/grammar.el (semantic-grammar-complete):
105 Replace the obsolete function lisp-complete-symbol.
107 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
109 * srecode/args.el, srecode/java.el: Require ede.
111 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
113 2013-05-24 Glenn Morris <rgm@gnu.org>
115 * semantic/bovine/grammar.el (bovine-make-parsers):
116 Avoid free variable `copyright-end'.
118 * semantic/bovine/c-by.el (semantic-parse-region):
119 * semantic/wisent/javat-wy.el (semantic-parse-region):
120 * semantic/wisent/js-wy.el (semantic-parse-region):
121 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
123 2013-05-22 Glenn Morris <rgm@gnu.org>
125 * ede/speedbar.el (ede-file-find, ede-tag-find):
126 * semantic/sb.el (semantic-sb-token-jump):
127 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
129 2013-05-15 Glenn Morris <rgm@gnu.org>
131 * semantic/symref/list.el (semantic-symref-auto-expand-results)
132 (semantic-symref-results-mode-hook)
133 (semantic-symref-results-summary-function): Fix :group.
135 2013-05-14 Glenn Morris <rgm@gnu.org>
137 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
139 2013-05-11 Glenn Morris <rgm@gnu.org>
141 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
142 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
143 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
144 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
146 * ede/locate.el (cedet-cscope-version-check)
147 (cedet-cscope-support-for-directory):
148 * semantic/grammar.el (semantic-grammar-wy--install-parser):
151 * ede/project-am.el (project-am-compile-project-command): Fix :type.
153 2013-05-09 Glenn Morris <rgm@gnu.org>
155 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
158 2013-04-27 David Engster <deng@randomsample.de>
160 * semantic/complete.el
161 (semantic-collector-calculate-completions-raw): If
162 `completionslist' is not set, refresh the cache if necessary and
163 use it for completions. This fixes the
164 `semantic-collector-buffer-deep' collector (bug#14265).
166 2013-03-26 Leo Liu <sdl.web@gmail.com>
168 * semantic/senator.el (senator-copy-tag-to-register): Move
169 register handling logic from register.el. (Bug#14052)
171 2013-03-21 Eric Ludlam <zappo@gnu.org>
173 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
174 `senator-tag-ring' is bound.
175 (semantic-parse-region-default): Stop reversing the output of
177 (semantic-repeat-parse-whole-stream): Append returned tags
178 differently, so they come out in the right order.
180 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
181 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
182 exclude tags belonging to above filtered classes.
184 * semantic/find.el (semantic-filter-tags-by-class): New function.
186 * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
187 short-circuit in case tag1 and 2 are identical.
189 * semantic/analyze/fcn.el
190 (semantic-analyze-dereference-metatype-stack): Use
191 `semantic-tag-similar-p' instead of 'eq' when comparing two tags
192 during metatype evaluation in case they are the same, but not the
193 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
195 * semantic/db-find.el (semanticdb-partial-synchronize): Fix
196 require to semantic/db-typecache to be correct.
197 (semanticdb-find-tags-external-children-of-type): Make this a
198 brutish search by default.
201 (semantic-tag-external-member-children-default): When calling
202 `semanticdb-find-tags-external-children-of-type', pass in the
203 input tag as the place to start searching for externally defined
206 * semantic/db-file.el (semanticdb-default-save-directory): Doc
207 fix: Add ref to default value.
209 * semantic/complete.el (semantic-complete-post-command-hook): When
210 detecting if cursor is outside completion area, do so if cursor
211 moves before start of overlay, or the original starting location
212 of the overlay (i.e., if user deletes past beginning of the
214 (semantic-complete-inline-tag-engine): Initialize original start
215 of `semantic-complete-inline-overlay'.
217 * semantic/bovine/c.el (semantic-c-describe-environment): Update
218 some section titles. Test semanticdb table before printing it.
219 (semantic-c-reset-preprocessor-symbol-map): Update
220 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
221 the files contributing to its value.
222 (semantic-c-describe-environment): If there is an EDE project but
223 no spp symbols from it, say so.
225 * srecode/args.el (srecode-semantic-handle-:project): New argument
226 handler. Provide variable values if not in an EDE project.
228 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
231 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
232 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
234 * srecode/map.el (srecode-map-validate-file-for-mode): Force
235 semantic to load if it is not active in the template being added
238 * srecode/srt.el: Add local variables for setting the autoload
240 (srecode-semantic-handle-:srt): New autoload cookie.
242 * ede.el (ede-apply-preprocessor-map): Apply map to
243 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
244 system one. Add require for semantic.
246 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
247 has both a version variable and a Version: comment, always use
250 * ede/cpp-root.el (ede-set-project-variables): Deleted.
251 `ede-preprocessor-map' does the job this function was attempting
252 to do with :spp-table.
253 (ede-preprocessor-map): Update file tests to provide better
254 messages. Do not try to get symbols from a file that is the file
255 in the current buffer.
257 * ede/base.el (ede-project-placeholder): Add more documentation to
259 (ede-load-cache): Use `insert-file-contents' instead of
260 `find-file-noselect' in order to avoid activating other tools.
262 2013-03-21 David Engster <deng@randomsample.de>
264 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
265 new variable 'this' if we are in an inline member function. For
266 detecting this, we check overlays at point if there is a class
267 spanning the current function. Also, the variable 'this' has to
270 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
271 when querying g++ for defines returns an error.
273 * srecode/srt-mode.el:
274 * srecode/compile.el:
277 * semantic/complete.el:
283 * srecode/compile.el:
284 * semantic/decorate/include.el:
286 * semantic/adebug.el:
288 * srecode/dictionary.el:
289 * semantic/ede-grammar.el:
291 * semantic/db-find.el:
292 * semantic/db-file.el:
293 * semantic/complete.el:
294 * semantic/bovine/c.el:
295 * semantic/analyze.el:
301 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
302 to `eieio-object-name', `object-set-name-string' to
303 `eieio-object-set-name-string', `object-class' to
304 `eieio-object-class', `class-parent' to `eieio-class-parent',
305 `class-parents' to `eieio-class-parents', `class-children' to
306 `eieio-class-children', `object-name-string' to
307 `eieio-object-name-string', `object-class-fast' to
308 `eieio--object-class'. Also replace direct access with new
311 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
313 * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix
314 EDE file symbol to match rename. Fix ede-cpp-root symbol to
315 include -project in name.
317 2013-03-21 Alex Ott <alexott@gmail.com>
319 * cedet-files.el (cedet-files-list-recursively): New. Recursively
320 find files whose names are matching to given regex.
322 * ede.el (ede-current-project): Rewrite to avoid imperative style.
324 * ede/files.el (ede-find-file): Simplify code.
326 * ede/base.el (ede-normalize-file/directory): Add function to
327 normalize :file or :directory slots if they are missing.
329 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
331 (project-compile-project): Compiles project using value specified
332 in :compule-command slot or in compile-command local variable.
333 Value of slot or local variable could be string or function that
334 receives project and should return string that will be invoked as
336 (project-compile-target): Invokes compilation of whole project.
338 * ede/files.el (ede-find-project-root): New function to
339 find root of project that contains specific file.
340 (ede-files-find-existing): New function which checks presence of
341 given directory in the list of registered projects.
343 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
345 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
347 * semantic/wisent/javat-wy.el: Regenerate.
349 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
351 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
354 2012-11-16 David Engster <deng@randomsample.de>
356 * semantic/symref/list.el (semantic-symref-symbol):
357 Use `semantic-complete-read-tag-project' instead of
358 `semantic-complete-read-tag-buffer-deep', since the latter is not
361 * semantic/symref.el (semantic-symref-result-get-tags):
362 Use `find-buffer-visiting' to follow symbolic links.
364 * semantic/fw.el (semantic-find-file-noselect): Always set
365 `enable-local-variables' to `:safe' when loading files.
367 2012-11-16 Glenn Morris <rgm@gnu.org>
369 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
370 * semantic/util.el (semantic-describe-buffer):
371 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
372 (semantic-default-c-setup):
373 Use new names for hooks rather than obsolete aliases.
375 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
377 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
378 * semantic/grammar.el (semantic-grammar-mode):
379 * semantic/util-modes.el (semantic-highlight-edits-mode)
380 (semantic-show-parser-state-mode): Avoid obsolete name
381 semantic-edits-new-change-hooks (bug#12869).
383 2012-11-13 Glenn Morris <rgm@gnu.org>
385 * srecode/srt-mode.el (srecode-template-mode):
386 Don't change global values of comment-start, comment-end. (Bug#12781)
388 2012-10-25 David Engster <deng@randomsample.de>
390 * semantic/analyze.el (semantic-analyze-dereference-alias):
391 New function to dereference aliases.
392 (semantic-analyze-current-context-default): Use it.
394 * semantic/grammar.el (semantic-grammar-create-package):
395 * srecode/compile.el (srecode-compile-templates): Throw a proper
396 error if semantic-mode is not enabled (bug#9968).
398 Compiler warning fixes:
400 * semantic.el (semantic-elapsed-time): Make it a defsubst.
402 * srecode/dictionary.el (srecode-adebug-dictionary):
403 Remove require for `semantic'.
406 * srecode/insert.el: Declare functions from `data-debug'.
408 * semantic/grammar.el: Require `help-fns'. Declare functions from
409 `eldoc', which is required in function body.
413 * semantic/grammar-wy.el:
414 * semantic/db-file.el:
416 * semantic/chart.el: Fix requires.
418 * ede/locate.el: Remove useless requires. Declare functions
419 instead and require in functions when needed.
421 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
423 * semantic/db-file.el (semanticdb-save-database-functions):
424 * semantic/lex.el (semantic-lex-reset-functions):
425 * semantic/edit.el (semantic-change-functions)
426 (semantic-edits-new-change-functions)
427 (semantic-edits-delete-change-functions)
428 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
430 2012-10-14 David Engster <deng@randomsample.de>
432 * semantic.el (semantic-error-if-unparsed): New function.
433 Raise error if buffer was not parsed by Semantic (bug #12045).
434 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
435 only if buffer was parsed. Also, replace ':active' with ':enable'
438 * semantic/wisent/python.el
439 (semantic-python-get-system-include-path):
440 Use `python-shell-internal-send-string' if available to query Python
443 * semantic/senator.el (senator-next-tag, senator-previous-tag)
444 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
446 * semantic/complete.el (semantic-complete-jump-local)
447 (semantic-complete-jump, semantic-complete-jump-local-members)
448 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
449 (semantic-complete-inline-project): Fix autoload cookie.
451 * semantic/analyze/complete.el
452 (semantic-analyze-possible-completions): Check if buffer was
453 parsed. Only raise an error if function was called interactively,
454 otherwise silently return nil.
456 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
458 2012-10-08 David Engster <deng@randomsample.de>
460 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
461 `emacs-lisp-mode-hook'. This was accidentally removed during the
462 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
464 2012-10-07 David Engster <deng@randomsample.de>
466 * semantic/wisent/python.el (semantic-ctxt-current-function)
467 (semantic-ctxt-current-assignment): New overrides, simply
468 returning nil. The defaults do not work correctly and can send
469 the parser in an infinite loop (bug#12458).
471 * semantic/ede-grammar.el (project-compile-target): Fix grammar
472 compilation after introduction of %provide statement.
474 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
475 function for `f90-mode', since the parser only exists upstream.
477 2012-10-06 Glenn Morris <rgm@gnu.org>
479 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
481 * semantic/complete.el (semantic-displayor-tooltip-mode)
482 (semantic-displayor-tooltip-initial-max-tags)
483 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
484 * ede/linux.el (project-linux): Add missing group :version tag.
486 2012-10-06 Chong Yidong <cyd@gnu.org>
488 * semantic/bovine/grammar.el:
489 * semantic/wisent/grammar.el: Move from admin/grammars.
490 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
492 2012-10-02 Chong Yidong <cyd@gnu.org>
494 * srecode.el, ede.el: Restore Version header.
496 2012-10-01 Chong Yidong <cyd@gnu.org>
498 * semantic/bovine/c-by.el: Regenerate.
499 * semantic/bovine/make-by.el:
500 * semantic/bovine/scm-by.el:
501 * semantic/grammar-wy.el:
502 * semantic/wisent/javat-wy.el:
503 * semantic/wisent/js-wy.el:
506 2012-10-01 Eric Ludlam <zappo@gnu.org>
508 * cedet.el (cedet-version, cedet-packages): Update.
510 * cedet-global.el (cedet-gnu-global-version-check): Support newer
511 versions that have extra (parens) in the version string.
513 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
514 version number was found before calling inversion-check-version.
516 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
517 while inserting the thing, then clear modified bit.
518 (data-debug-map): Suppress the keymap.
519 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
520 (data-debug-contract-current-line): Inhibit read-only, then clear
523 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
524 to allow use in more kinds of buffers.
525 (ede-project-forms-menu): Add `Default configuration' menu item.
526 (ede-configuration-forms-menu): New, for use in above.
527 (ede-project-configurations-set): New command used from menu.
528 (ede-java-classpath): New conveninece for Java support.
529 (ede-apply-object-keymap): Combine keybindings from the project
530 and the target, not just whatever is local to the buffer.
531 (ede-apply-target-options): Call fcn to apply project local
533 (ede-reset-all-buffers): Remove arg.
534 (ede, ede-rescan-toplevel): Callers changed.
535 (ede-new-target): Fix bug where you couldn't call this from Dired.
536 (ede-add-file): Replace assignment of ede-object with generic call
537 to re-init the buffer.
538 (ede-find-target): If ede-object is set, run short-cut code
539 instead of `or' shortcut.
540 (ede-project-buffers): Return buffers belonging to input project,
541 not any buffer belonging to any project.
542 (ede-system-include-path, ede-apply-project-local-variables)
543 (ede-set-project-local-variable): New functions.
544 (ede-make-project-local-variable): Apply to toplevel if none
546 (ede-set): Make it interactive.
548 * ede/auto.el (ede-project-autoload): New class.
549 (ede-do-dirmatch): New method.
550 (ede-project-dirmatch-p): New function.
551 (ede-project-root-directory): Call it.
552 (ede-dir-to-projectfile): Don't call project file function if we
553 didn't match the root.
554 (ede-project-root-directory): Don't call a project's root function
555 if the tool in question isn't installed.
556 (ede-dir-to-projectfile): Don't call project file function if we
557 didn't match the root.
559 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
560 trailing `\' mid string, and replace with a space.
561 (autoconf-parameter-count): New function.
562 (autoconf-set-version): Use it.
564 * ede/base.el (ede-project): The :type of targets is now a list of
567 * ede/emacs.el (ede-emacs-load): Fix typo.
569 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
570 Protect against missing locator object.
571 (ede-get-locator-object): Protect against missing project.
572 (ede-flush-directory-hash): New command.
573 (ede-get-locator-object): Protect against missing project.
575 * ede/generic.el (ede-generic-config): Add configurable
577 (project-compile-project, project-compile-target)
578 (project-debug-target, project-run-target): New methods.
579 (ede-generic-get-configuration): Specify the class to load.
580 (ede-generic-new-autoloader): Use ede-add-project-autoload.
581 (ede-enable-generic-projects): Rename projects so as to never
582 match the edeproject-* projects.
584 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
585 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
587 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
588 (ede-proj-flush-autoconf): Disable local variables when loading
589 the autoconf lisp compile script.
591 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
592 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
593 (-makefile-archive, -makefile-shared-object)
594 (ede-proj-target-makefile-info, -grammar): New autoloads.
595 (ede-proj-project): Inherit from eieio-persistent-read.
596 Specify extension and header line.
597 (ede-proj-load, ede-proj-save): Replace with impl using
598 eieio-persistent-read.
600 * ede/project-am.el (project-add-file): Use ede-target-parent
601 instead of loading the project file.
603 * semantic.el (semantic-version): Update.
604 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
605 (navigate-menu): Add menu item for Stickyfunc mode.
607 * semantic/analyze/debug.el
608 (semantic-analyzer-debug-insert-include-summary):
609 Before dereferencing tableinner, make sure it has a value.
611 * semantic/analyze/refs.el
612 (semantic-analyze-tag-references-default): When doing a lookup,
614 (semantic--analyze-refs-full-lookup): Add optional noerror input
615 argument. Pass to to full-lookup-simple.
616 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
617 Ignore :typemodifiers during compare.
619 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
620 to looking back for comment chars.
621 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
622 (semantic--tag-attribute-similar-p): New.
623 (semantic-c-describe-environment): Handle list value of ede-object.
624 (semantic-lex-c-preprocessor-symbol-map-builtin):
625 Add __attribute_pure__.
627 * semantic/bovine/scm.el (semantic-format-tag-prototype):
628 Add parent and color argument. Pass them through.
630 * semantic/complete.el (semantic-collector-calculate-completions):
631 Search for more matches if new prefix is a substring of old one.
632 (semantic-complete-inline-project): New function.
634 * semantic/db-el.el (object-print): New method.
636 * semantic/db-file.el (semanticdb-load-database): Specify class.
638 * semantic/db-typecache.el
639 (semanticdb-abstract-table::semanticdb-typecache-find-method):
640 Allow proxied tags to be resolved during the search.
641 (semanticdb-typecache-complete-flush): Support missing or empty
642 pointmax slot, to allow for more database types.
644 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
645 (object-print): Allow child classes to overwrite the display of
646 the (%d tags) extra string.
647 (semanticdb-project-database): Specify :type for table.
648 (semanticdb-create-table-for-file): Specify file-truename.
649 (semanticdb-synchronize, semanticdb-partial-synchronize):
650 Restore code that refreshes references to include files.
652 * semantic/decorate/include.el
653 (semantic-decoration-on-fileless-includes): New face.
654 (semantic-decoration-on-fileless-include-map)
655 (semantic-decoration-on-fileless-include-menu): New variables.
656 (semantic-decoration-on-includes-highlight-default):
657 Support includes that have a table, but are not associated with a file.
658 (semantic-decoration-fileless-include-describe)
659 (semantic-decoration-fileless-include-menu): New functions.
660 (semantic-decoration-all-include-summary): Add arrows to indicate
661 the file associated with an include name.
664 (semantic-find-tags-by-scope-protection-default): Also filter on
665 package protection of the slot.
667 * semantic/java.el (semantic-java-expand-tag): If some type has a
668 fully qualified name, bust it up into one package and the type
671 * semantic/lex.el (define-lex-block-analyzer): Protect against
672 random extra close parenthesis.
674 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
675 the cursor is on the matched name.
677 * semantic/symref/list.el (semantic-symref-results-mode-map):
680 * semantic/tag-ls.el (semantic--tag-similar-names-p)
681 (semantic--tag-attribute-similar-p)
682 (semantic--tag-similar-types-p): New functions.
683 (semantic-tag-similar-ignorable-attributes): New variable.
684 (semantic-tag-protection-default): Add package concept to return
686 (semantic-tag-package-protected-p): New function.
687 (semantic-tag-full-package): New overload method.
688 (semantic-tag-full-package-default): New default for above.
689 (semantic-tag-full-name-default): Look for the full package name.
691 * semantic/tag.el (semantic-create-tag-proxy)
692 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
694 * semantic/util.el (semantic-describe-buffer):
695 Add semantic-new-buffer-fcn-was-run.
697 * semantic/wisent/java-tags.el (semantic-get-local-variables):
698 Add `this' to the local variable context.
699 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
701 * semantic/wisent/python.el (semantic-python-expand-tag):
704 * srecode/compile.el (srecode-compile-templates): Add "framework"
705 special variable support.
706 (srecode-compile-template-table): Support framework specifier.
708 * srecode/cpp.el (srecode-semantic-handle-:c)
709 (srecode-semantic-handle-:cpp): New functions.
710 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
712 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
714 * srecode/dictionary.el (initialize-instance): Remove bogus error
716 (srecode-create-section-dictionary): Remove unused function.
718 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
719 package variable. Add current_package variable.
721 * srecode/map.el (srecode-map-update-map): Specify the class.
723 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
725 * srecode/semantic.el (srecode-semantic-insert-tag):
726 Support system includes.
728 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
730 * srecode/table.el (srecode-template-table): Add :framework slot.
731 (srecode-dump): Dump it.
732 (srecode-mode-table): Add new modetables slot.
733 (srecode-get-mode-table): Find the mode, but also find all parent
734 modes, and merge the tables together in :tables from :modetables.
735 (srecode-make-mode-table): Init :modetables.
736 (srecode-mode-table-find): Search in modetables.
737 (srecode-mode-table-new): Merge the differet files into the
740 2012-10-01 David Engster <deng@randomsample.de>
742 * ede.el (ede-apply-preprocessor-map): Check that
743 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
744 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
746 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
747 lexical-table even when the table doesn't need to be refreshed.
749 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
751 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
754 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
757 * ede/proj-elisp.el (ede-proj-target-elisp):
758 Remove ede-emacs-preload-compiler.
759 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
761 (ede-emacs-compiler): Add 'require' macro to variables and pattern
762 rule. Add .elc object extension.
763 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
764 (ede-proj-makefile-insert-variables): Do not insert preload items.
765 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
767 * ede/util.el (ede-make-buffer-writable):
768 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
769 instead of calling toggle-read-only.
771 * semantic.el (semantic-fetch-tags): Use progress reporter only
772 when called interactively.
773 (semantic-submode-list): Add debugging modes.
774 (semantic-mode): Remove Semantic from after-change-functions.
775 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
776 set semantic-new-buffer-fcn-was-run to nil.
778 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
779 (semantic-analyze-tag-prototype-p-default): Remove.
780 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
781 Use semantic-tag-prototype-p.
783 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
784 Ensure semantic-mode is on before getting preprocessor symbols.
785 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
786 (semantic-c-convert-spp-value-to-hideif-value)
787 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
788 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
789 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
790 regular expression parsing.
791 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
792 (semantic-expand-c-tag): Check if tag is non-nil before adding it
794 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
795 New functions, copied from semantic-expand-c-tag.
796 (semantic-find-tags-included): New override which also searches
797 for include tags inside of namespaces.
798 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
799 (semanticdb-find-table-for-include): New override.
801 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
803 * semantic/complete.el (semantic-complete-post-command-hook):
804 Exit completion when user has deleted all characters from the prefix.
805 (semantic-displayor-focus-request): Return to previous window when
808 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
809 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
811 * semantic/db-file.el (semanticdb-create-database):
812 Use semantic-tag-version instead of just semantic-version as the
813 initializer for the :semantic-tag-version slot.
815 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
816 Delegate `include' to semantic-find-tags-included, which by
817 default will just call semantic-find-tags-by-class.
819 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
820 when calling semantic-find-file-noselect. This avoids the "file
821 is write protected" messages when parsing system header files,
822 which might easily be mistaken to mean the currently loaded file.
823 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
824 message when running interactively.
826 * semantic/decorate/mode.el (semantic-decoration-mode):
827 Activate decoration of includes by default.
829 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
830 Remove comment delimiter at the end of the text.
832 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
833 Change aux- and pre-load-packages.
834 (ede-proj-makefile-dependencies): Update pattern rule so that
835 resulting parsers are also byte-compiled.
836 (semantic-ede-grammar-compiler-bovine)
837 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
838 pattern, since this is already covered by the elisp compiler.
839 (project-compile-target): Add compatibility code for Emacs 23,
840 which does not have `byte-recompile-file'.
841 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
842 to raise max-specpdl-size and max-lisp-eval-depth.
844 * semantic/find.el (semantic-find-tags-included):
847 * semantic/fw.el (semantic-alias-obsolete)
848 (semantic-varalias-obsolete): Use byte-compile-warn.
849 (semantic-find-file-noselect): Disable font lock by calling
850 global-font-lock-mode.
852 * semantic/grammar.el (semantic-grammar-create-package):
854 (semantic-grammar-batch-build-one-package): When generating
855 parsers in batch-mode, ignore version control and make sure we do
856 not use cached versions.
858 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
860 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
861 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
862 (semantic-lex-spp-lex-text-string): Instead of only setting the
863 lexer, call the major mode's setup function.
865 * semantic/scope.el (semantic-analyze-scoped-types-default):
866 Use semantic-tag-prototype-p.
867 (semantic-analyze-scope-nested-tags-default): Make sure we don't
868 return tags we already have in scopetypes.
870 * semantic/symref/filter.el
871 (semantic-symref-test-count-hits-in-tag): Restore.
873 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
874 Use most-positive-fixnum if available.
876 * semantic/wisent/javascript.el (semantic-tag-protection)
877 (semantic-analyze-scope-calculate-access)
878 (semantic-ctxt-current-symbol): New overrides.
880 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
881 Rewrite to fix byte-compiler warning.
883 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
885 * ede/linux.el (project-linux): New group.
886 (project-linux-compile-target-command)
887 (project-linux-compile-project-command): New options.
888 (project-compile-project, project-compiler-target): New methods.
890 * inversion.el (inversion-decoders): New regexps for SXEmacs.
891 (inversion-package-version): More verbose error message.
892 (inversion-<): Deal with new special cases.
893 (inversion-require-emacs): New argument sxemacs-ver; use it.
895 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
897 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
899 2012-10-01 William Xu <william.xwl@gmail.com>
901 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
903 (semantic-gcc-setup): If the first attempt at calling cpp fails,
906 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
909 (semantic-idle-breadcrumbs--display-in-header-line):
910 Escape %-characters to avoid erroneous expansion in header line.
911 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
913 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
914 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
915 (semantic-python-private-p, semantic-python-instance-variable-p)
916 (semantic-python-docstring-p): New functions.
918 * srecode/find.el (srecode-user-template-p): New function.
919 (srecode-all-template-hash): Accept new optional argument
920 predicate; return only templates matching the predicate.
921 (srecode-read-template-name): Only retrieve templates matching
922 srecode-user-template-p.
924 * srecode/insert.el (srecode-insert-show-error-report)
925 (srecode-insert-report-error): New functions.
926 (srecode-insert-variable-secondname-handler)
927 (srecode-insert-method, srecode-insert-ask-default)
928 (srecode-insert-variable-secondname-handler)
929 (srecode-insert-subtemplate, srecode-insert-method-helper)
930 (srecode-insert-include-lookup): Use them.
932 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
934 * semantic/wisent/python.el
935 (semantic-python-get-system-include-path): Add Python3k support.
937 2012-10-01 Alexander Haeckel <_@_> (tiny change)
939 * srecode/getset.el (srecode-query-for-field): Return the first
940 tag found by name from all children tags.
942 2012-10-01 Dale Sedivec <dale@codefu.org>
944 * semantic/wisent/python.el (wisent-python-string-start-re)
945 (wisent-python-string-re, wisent-python-forward-string)
946 (wisent-python-forward-line,wisent-python-lex-string):
948 (wisent-python-forward-balanced-expression): New function.
950 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
952 * semantic/complete.el (semantic-collector-calculate-completions):
953 Search for additional matches if new prefix is a substring of the
955 (semantic-displayor-next-action): Immediately show more
956 completions after user presses TAB the first time.
957 (semantic-displayor-tooltip-mode)
958 (semantic-displayor-tooltip-initial-max-tags)
959 (semantic-displayor-tooltip-max-tags): New defcustoms.
960 (semantic-displayor-tooltip): Use new variables as initforms.
961 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
963 (semantic-displayor-show-request): Display completions according
964 to new modes, and make variable names clearer.
965 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
966 Use new max-tags-initial slot.
968 * semantic/idle.el (semantic-idle-local-symbol-highlight):
969 Make sure there actually is a tag at point.
970 (semantic-idle-completion-list-default): Report errors as messages
971 if semantic-idle-scheduler-verbose-flag is non-nil.
973 2012-10-01 Richard Kim <emacs18@gmail.com>
975 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
976 Add optional NOERROR argument.
978 2012-10-01 Alex Ott <alexott@gmail.com>
980 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
983 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
985 * semantic/db-find.el (semanticdb-find-default-throttle):
987 (semanticdb-strip-find-results): Check for existing :filename
988 attribute, so that file information from GNU Global is not lost.
990 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
992 * ede/base.el (ede-with-projectfile): Use backquote forms.
994 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
996 inaccessable -> inaccessible spelling fix (Bug#10052)
997 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
998 Rename from wisent-inaccessable-symbols, fixing a misspelling.
1001 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
1003 * ede/project-am.el: Fix typo.
1005 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1007 Rename configure.in to configure.ac (Bug#11603).
1008 * ede/autoconf-edit.el (autoconf-find-query-for-program)
1009 (autoconf-new-program):
1010 * ede/emacs.el (ede-emacs-version):
1011 * ede/proj.el (ede-proj-setup-buildenvironment):
1012 * ede/project-am.el (project-am-autoconf-file-options):
1013 Prefer configure.ac to configure.in.
1015 2012-03-12 David Engster <deng@randomsample.de>
1017 * semantic/db-find.el
1018 (semanticdb-find-translate-path-brutish-default): If we don't yet
1019 have a proper table for PATH, use `semanticdb-current-database'
1020 instead (bug #10343).
1022 2012-03-11 David Engster <deng@randomsample.de>
1024 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1025 child-mode of `javascript-mode' (bug #8445).
1027 2012-02-28 Glenn Morris <rgm@gnu.org>
1029 * semantic/db.el (semanticdb-search-results-table):
1030 Doc fix (standardize possessive apostrophe usage).
1032 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1034 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1037 2012-01-29 David Engster <deng@randomsample.de>
1039 Fix require error when using srecode-insert (Bug#9967).
1040 * srecode/insert.el: Require srecode/filters.
1041 * srecode/filters.el: Drop two requires.
1043 2012-01-09 Eric Ludlam <zappo@gnu.org>
1045 * ede.el (ede-project-directories): New option.
1046 (ede-directory-safe-p): Check it.
1047 (ede-initialize-state-current-buffer, ede, ede-new)
1048 (ede-check-project-directory, ede-rescan-toplevel)
1049 (ede-load-project-file, ede-parent-project, ede-current-project):
1050 (ede-target-parent): Avoid loading in a project unless it is safe,
1051 since it may involve malicious code. This security flaw was
1052 pointed out by Hiroshi Oota.
1054 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1055 (ede-project-class-files): Projects using Project.ede are unsafe.
1056 (ede-auto-load-project): New method.
1058 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1060 2011-12-19 Sam Steingold <sds@gnu.org>
1062 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1063 autoload cookie, necessary for JDEE.
1065 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1067 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1069 2011-11-26 Chong Yidong <cyd@gnu.org>
1071 * semantic/wisent/python-wy.el:
1072 * semantic/wisent/js-wy.el:
1073 * semantic/wisent/javat-wy.el:
1074 * semantic/bovine/c-by.el:
1075 * semantic/grammar-wy.el: Regenerate.
1077 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1079 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1081 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1083 * cedet-cscope.el (cedet-cscope-version-check):
1084 * cedet-global.el (cedet-global-min-version)
1085 (cedet-gnu-global-version-check):
1086 * cedet.el (cedet-version):
1087 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1088 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1089 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1090 (ede-add-project-to-global-list, ede-map-all-subprojects):
1091 * inversion.el (inversion-check-version):
1092 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1093 (define-overloadable-function):
1094 * pulse.el (pulse-flag, pulse):
1095 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1097 * ede/proj-comp.el (ede-compilation-program):
1098 * semantic/debug.el (semantic-debug-parser-go)
1099 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1100 (semantic-debug-parser-abort):
1101 * semantic/idle.el (semantic-idle-core-handler):
1102 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1105 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1107 * semantic/lex.el (semantic-lex-tokens):
1108 * semantic/tag-ls.el (semantic-tag-protected-p):
1109 * srecode/mode.el (srecode-prefix-map): Fix typos.
1111 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1113 * ede/project-am.el (project-compile-target-command): Fix typo.
1115 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1117 * ede/auto.el (ede-project-autoload):
1118 * ede/proj-comp.el (ede-makefile-rule):
1119 * semantic/analyze.el (semantic-analyze-current-context):
1120 * semantic/ctxt.el (semantic-get-local-variables):
1121 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1123 2011-11-03 David Engster <dengste@eml.cc>
1127 * srecode/template.el:
1129 * srecode/insert.el:
1130 * srecode/document.el:
1131 * srecode/dictionary.el:
1132 * srecode/compile.el:
1133 * semantic/wisent/java-tags.el:
1136 * semantic/lex-spp.el:
1139 * semantic/db-typecache.el:
1140 * semantic/analyze/complete.el:
1144 * ede/base.el: Fix filenames in comments and headers.
1146 * semantic/db-find.el:
1147 * srecode/insert.el (srecode-insert-include-lookup):
1148 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1149 comments and docstrings.
1151 * semantic/ctxt.el (semantic-end-of-context-default):
1152 * semantic/find.el (semantic-find-tags-by-scope-protection):
1153 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1156 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1157 (semanticdb-abstract-db-cache):
1158 * semantic/decorate/include.el
1159 (semantic-decoration-unknown-include-describe): Fix filenames in
1162 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1163 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1164 added to the grammar-make-script.
1166 2011-10-23 Chong Yidong <cyd@gnu.org>
1168 * ede.el (ede-maybe-checkout): Function deleted;
1169 vc-toggle-read-only does not do version control now.
1171 * ede/util.el (ede-make-buffer-writable): Don't use
1172 vc-toggle-read-only.
1174 * ede/project-am.el (project-remove-file, project-add-file)
1175 (project-new-target): Don't call ede-maybe-checkout.
1177 2011-10-19 Chong Yidong <cyd@gnu.org>
1179 * ede.el (ede-minor-mode,global-ede-mode):
1180 * semantic.el (semantic-mode): Doc fix to reflect new
1181 define-minor-mode calling behavior.
1183 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1185 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1188 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1190 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1191 unconfigured projects if `global-ede-mode' is on (bug#8092).
1193 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1195 * semantic.el (semantic-elapsed-time): Rewrite using
1196 time-subtract and float-time.
1198 2011-05-11 Glenn Morris <rgm@gnu.org>
1200 * semantic/wisent/javascript.el (semantic-get-local-variables):
1201 Use define-mode-local-override rather than its obsolete alias.
1203 2011-05-10 Jim Meyering <meyering@redhat.com>
1205 Fix doubled-word typos.
1206 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1207 * semantic/complete.el (semantic-complete-read-tag-local-members):
1209 * ede.el (ede-auto-add-method): then then -> then
1211 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1213 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1214 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1215 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1216 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1217 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1219 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1221 * Version 23.3 released.
1223 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1226 Macroexpand before passing to byte-compile-form.
1228 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1231 * semantic/symref/list.el (semantic-symref-results-mode):
1234 2010-11-12 Glenn Morris <rgm@gnu.org>
1236 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1238 2010-11-10 Glenn Morris <rgm@gnu.org>
1240 * semantic/bovine/c.el: Test system-type with memq.
1242 2010-11-09 Glenn Morris <rgm@gnu.org>
1244 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1245 * semantic/grammar.el (semantic-grammar-epilogue):
1246 * ede/speedbar.el (ede-find-nearest-file-line):
1247 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1248 * ede/autoconf-edit.el (autoconf-delete-parameter):
1249 Use point-at-bol and point-at-eol.
1251 2010-11-07 Glenn Morris <rgm@gnu.org>
1253 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1255 2010-11-01 Glenn Morris <rgm@gnu.org>
1257 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1259 * semantic/symref/cscope.el (ede-toplevel):
1260 * semantic/symref.el (ede-toplevel):
1261 * semantic/tag-file.el (ede-toplevel):
1262 * ede.el (ede-toplevel): Fix declarations.
1264 2010-10-31 Glenn Morris <rgm@gnu.org>
1266 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1267 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1269 2010-10-31 Julien Danjou <julien@danjou.info>
1271 * ede/proj-elisp.el (project-compile-target):
1272 * semantic/ede-grammar.el (project-compile-target):
1273 Use `byte-recompile-file'.
1275 2010-10-31 Glenn Morris <rgm@gnu.org>
1277 * mode-local.el (mode-local-augment-function-help):
1278 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1279 * semantic/symref/list.el (semantic-symref-results-dump)
1280 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1281 of toggle-read-only.
1283 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1285 * semantic/bovine/el.el:
1286 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1287 Fix require statements.
1289 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1291 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1293 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1294 * semantic/imenu.el (semantic-create-imenu-index):
1295 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1296 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1297 Fix require. Suggested by David Engster.
1299 * semantic/bovine/c-by.el: Regenerate.
1301 2010-09-29 Eric Ludlam <zappo@gnu.org>
1303 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1304 (semantic-lex-spp-enable-debug-symbol): New command.
1305 (semantic-lex-spp-value-valid-p)
1306 (semantic-lex-spp-validate-value): New functions.
1307 (semantic-lex-spp-symbol-set)
1308 (semantic-lex-spp-symbol-push): Add call to validate value.
1309 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1310 invalid values during save, just save a nil.
1312 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1314 * ede/linux.el (ede-project-class-files):
1315 * ede/generic.el (ede-generic-new-autoloader):
1316 * ede/emacs.el (ede-project-class-files):
1317 * ede/simple.el (ede-project-class-files):
1318 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1320 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1322 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1324 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1325 Fix typo in error message.
1326 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1328 2010-09-21 Eric Ludlam <zappo@gnu.org>
1330 Synch SRecode to CEDET 1.0.
1332 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1333 'never, disable all pulsing.
1335 * cedet.el (cedet-version):
1336 * srecode.el (srecode-version): Bump version to 1.0.
1338 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1339 (semantic-insert-foreign-tag): Use it.
1341 * srecode/mode.el (srecode-bind-insert):
1342 Call srecode-load-tables-for-mode.
1343 (srecode-minor-mode-templates-menu): Do not list templates that
1344 are not in the current project.
1345 (srecode-menu-bar): Add binding for srecode-macro-help.
1347 * srecode/table.el (srecode-template-table): Add :project slot.
1348 (srecode-dump): Dump it.
1350 * srecode/map.el (srecode-map-update-map): Make map loading more
1353 * srecode/insert.el (srecode-insert-fcn): Merge template
1354 dictionary before resolving arguments.
1355 (srecode-insert-method-helper): Add error checking to make sure
1356 that we only have dictionaries.
1357 (srecode-insert-method): Check template nesting depth when using
1358 point inserter override.
1359 (srecode-insert-method): Install override with depth limit.
1361 * srecode/getset.el (srecode-insert-getset): Force tag table
1362 update. Don't query the class if it is empty.
1364 * srecode/find.el (srecode-template-get-table)
1365 (srecode-template-get-table-for-binding)
1366 (srecode-all-template-hash): Skip if not in current project.
1367 (srecode-template-table-in-project-p): New method.
1369 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1370 (srecode-field-exit-ask): Use it.
1372 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1373 Do not add variables in tables not for the current project.
1374 (srecode-compound-toString): Handle cases where the default value
1375 is another compound value.
1376 (srecode-dictionary-lookup-name): New optional argument
1377 NON-RECURSIVE, which inhibits visiting dictionary parents.
1378 (srecode-dictionary-add-section-dictionary)
1379 (srecode-dictionary-merge): New optional argument FORCE adds
1380 values even if an identically named entry exists.
1381 (srecode-dictionary-add-entries): New method.
1382 (srecode-create-dictionaries-from-tags): New function.
1384 * srecode/cpp.el (srecode-cpp): New defgroup.
1385 (srecode-cpp-namespaces): New option.
1386 (srecode-semantic-handle-:using-namespaces)
1387 (srecode-cpp-apply-templates): New functions.
1388 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1389 by calling `srecode-cpp-apply-templates'.
1391 * srecode/compile.el (srecode-compile-templates): Fix directory
1392 compare of built-in templates. Give built-ins lower piority.
1393 Support special variable "project".
1394 (srecode-compile-template-table): Set :project slot of new tables.
1395 (srecode-compile-one-template-tag):
1396 Use srecode-create-dictionaries-from-tags.
1398 2010-09-21 Eric Ludlam <zappo@gnu.org>
1400 Synch EDE to CEDET 1.0.
1402 * cedet-idutils.el (cedet-idutils-make-command): New option.
1403 (cedet-idutils-mkid-call):
1404 (cedet-idutils-create/update-database): New functions.
1406 * cedet-cscope.el (cedet-cscope-create):
1407 (cedet-cscope-create/update-database): New functions.
1408 (cedet-cscope-support-for-directory): Make interactive.
1410 * cedet-global.el (cedet-global-gtags-command): New option.
1411 (cedet-gnu-global-gtags-call)
1412 (cedet-gnu-global-create/update-database): New functions.
1414 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1415 (ede-make-dist): Always use toplevel project.
1416 (ede-buffer-object): If we fail to find an object in the current
1417 project, loop upward looking for a match. If no target is found,
1418 use most local project.
1419 (ede-buffer-belongs-to-target-p)
1420 (ede-buffer-belongs-to-project-p): New functions.
1421 (ede-initialize-state-current-buffer): New function.
1422 (ede-target-forms-menu, ede-project-buffers): Use them.
1423 (ede-minor-mode, ede-reset-all-buffers): Use it.
1424 (project-interactive-select-target, project-add-file): Don't use
1425 ede-project-force-load.
1426 (ede-buffer-object): New arg PROJSYM.
1427 (ede-minor-mode): Remove ede-directory-project-p test.
1428 (ede-initialize-state-current-buffer): Don't test for
1429 ede-directory-project-p if there is a matching open project.
1430 (ede-customize-forms-menu): Prevent error if there is no project.
1431 (ede-load-project-file): Set ede-constructing to the thing being
1432 constructed, instead of t.
1433 (ede-project-force-load): Delete.
1437 * ede/custom.el: New files.
1439 * ede/autoconf-edit.el (autoconf-find-last-macro)
1440 (autoconf-parameters-for-macro): Parse multiline parameters of
1441 macros. Optionally ignore case and at bol for macro.
1442 (autoconf-parameter-strip): Use greedy match for newlines.
1443 (autoconf-new-automake-string): Delete.
1444 (autoconf-new-program): Use SRecode to fill an empty file.
1446 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1449 * ede/files.el (ede-flush-project-hash): New command.
1450 (ede-convert-path): Add optional PROJECT arg.
1451 (ede-directory-project-p): Obey ".ede-ignore".
1452 (ede-expand-filename-local)
1453 (ede-expand-filename-impl-via-subproj): New methods.
1454 (ede-expand-filename-impl): Use them.
1455 (ede-project-root, ede-project-root-directory): Move to
1458 * ede/locate.el (ede-locate-flush-hash):
1459 (ede-locate-create/update-root-database): New methods.
1460 (initialize-instance): Use ede-locate-flush-hash.
1462 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1463 the top project and not a metasubproject, set TOP to CURDIR.
1464 (ede-proj-makefile-insert-variables): Output a target's object
1465 list whether or not the vars are already in the Makefile.
1466 (ede-pmake-insert-variable-once): New macro.
1468 * ede/project-am.el (project-am-with-makefile-current):
1469 Add recentf-exclude.
1470 (project-am-load-makefile): Obey an optional suggested name.
1471 (project-am-expand-subdirlist): New function.
1472 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1474 (project-am-meta-type-alist): A list to scan better Makefile.am.
1475 (project-am-scan-for-targets): Scan also over
1476 project-am-meta-type-alist.
1477 (ede-system-include-path): Simple implementation.
1478 (ede-find-target): Delete. EDE core takes care of this.
1479 (ede-buffer-mine): Create the searched filename as relative.
1480 (project-am-load): Simplify, using autoconf-edit.
1481 (project-am-extract-package-info): Fix separators.
1483 * ede/proj.el (project-run-target): New method.
1484 (project-make-dist, project-compile-project):
1485 Use ede-proj-automake-p to determine which kind of compile to use.
1486 (project-rescan): Call ede-load-project-file.
1487 (ede-buffer-mine): Add more file names that belong to the project.
1488 (ede-proj-compilers): Improve error message.
1490 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1491 (ede-source-c++): Add more C++ extensions.
1492 (ede-proj-target-makefile-objectcode): Quote initforms.
1493 Support lex and yacc.
1495 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1496 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1497 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1498 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1499 (ede-proj-target-makefile-program): Swap order of two slots so
1500 they show up in the same order as in the command line.
1501 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1503 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1504 Fix inference rule to use cpp files.
1505 (ede-proj-target-makefile-shared-object): Quote initforms.
1507 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1508 * ede/proj-info.el (ede-proj-target-makefile-info):
1509 * ede/proj-aux.el (ede-proj-target-aux):
1510 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1511 * ede/proj-elisp.el (ede-proj-target-elisp)
1512 (ede-proj-target-elisp-autoloads): Quote initforms.
1514 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1516 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1518 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1519 occur while waiting for the compile process to finish, pull them
1520 in and discard those events.
1522 2010-09-19 Eric Ludlam <zappo@gnu.org>
1524 Synch Semantic to CEDET 1.0.
1526 * semantic.el (semantic-version): Update to 2.0.
1527 (semantic-mode-map): Add "," and "m" bindings.
1528 (navigate-menu): Update.
1530 * semantic/symref.el (semantic-symref-calculate-rootdir):
1532 (semantic-symref-detect-symref-tool): Use it.
1534 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1535 (semantic-symref-perform-search): Use it. Calculate root dir with
1536 semantic-symref-calculate-rootdir.
1537 (semantic-symref-derive-find-filepatterns): Improve error message.
1539 * semantic/symref/list.el
1540 (semantic-symref-results-mode-map): New bindings.
1541 (semantic-symref-auto-expand-results): New option.
1542 (semantic-symref-results-dump): Obey auto-expand.
1543 (semantic-symref-list-expand-all, semantic-symref-regexp)
1544 (semantic-symref-list-contract-all)
1545 (semantic-symref-list-map-open-hits)
1546 (semantic-symref-list-update-open-hits)
1547 (semantic-symref-list-create-macro-on-open-hit)
1548 (semantic-symref-list-call-macro-on-open-hits): New functions.
1549 (semantic-symref-list-menu-entries)
1550 (semantic-symref-list-menu): New vars.
1551 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1552 match before calling the mapped function.
1555 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1556 mode doesn't provide comment-start-skip.
1559 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1560 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1561 looking for as part of the scoped tags list.
1563 * semantic/html.el (semantic-default-html-setup):
1564 Add senator-step-at-tag-classes.
1566 * semantic/decorate/include.el
1567 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1568 (semantic-decoration-on-includes-highlight-default): Check that
1569 the include tag has a position.
1571 * semantic/complete.el (semantic-collector-local-members):
1572 (semantic-complete-read-tag-local-members)
1573 (semantic-complete-jump-local-members): New class and functions.
1574 (semantic-complete-self-insert): Save excursion before completing.
1576 * semantic/analyze/complete.el
1577 (semantic-analyze-possible-completions-default): If no completions
1578 are found, return the raw by-name-only completion list. Add FLAGS
1579 arguments. Add support for 'no-tc (type constraint) and
1580 'no-unique, or no stripping duplicates.
1581 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1583 * semantic/util-modes.el
1584 (semantic-stickyfunc-show-only-functions-p): New option.
1585 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1586 the very first line in a buffer.
1588 * semantic/util.el (semantic-hack-search)
1589 (semantic-recursive-find-nonterminal-by-name)
1590 (semantic-current-tag-interactive): Delete.
1591 (semantic-describe-buffer): Fix expand-nonterminal.
1592 Add lex-syntax-mods, type relation separator char, and command
1594 (semantic-sanity-check): Only message if called interactively.
1596 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1597 :filename property and the tag position.
1599 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1600 Add recursion limit.
1602 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1603 Make this buffer local, not the obsoleted variable.
1605 * semantic/idle.el: Add breadcrumbs support.
1606 (semantic-idle-summary-current-symbol-info-default)
1607 (semantic-idle-tag-highlight)
1608 (semantic-idle-completion-list-default):
1609 Use semanticdb-without-unloaded-file-searches for speed, and to
1610 conform to the controls that specify if the idle timer is supposed
1611 to be parsing unparsed includes.
1612 (semantic-idle-symbol-highlight-face)
1613 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1615 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1616 (semantic-idle-work-update-headers-flag): New var.
1617 (semantic-idle-work-for-one-buffer): Use it.
1618 (semantic-idle-local-symbol-highlight): Rename from
1619 semantic-idle-tag-highlight.
1620 (semantic-idle-truncate-long-summaries): New option.
1622 * semantic/ia.el (semantic-ia-cache)
1623 (semantic-ia-get-completions): Delete. Callers changed.
1624 (semantic-ia-show-variants): New command.
1625 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1626 (semantic-ia-show-summary): If there isn't anything to show, say so.
1628 * semantic/grammar.el (semantic-grammar-create-package):
1629 Save the buffer even in batch mode.
1632 (semanticdb-without-unloaded-file-searches): New macro.
1634 * semantic/dep.el (semantic-dependency-find-file-on-path):
1635 Fix case dereferencing ede-object when it is a list.
1637 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1638 (semanticdb-typecache-faux-namespace): New functions.
1639 (semanticdb-typecache-file-tags)
1640 (semanticdb-typecache-merge-streams): Use them.
1641 (semanticdb-typecache-file-tags): When deriving tags from a file,
1642 give the mode a chance to monkey with the tag copy.
1643 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1644 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1646 * semantic/db-global.el
1647 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1648 GNU Global is not available and we don't want to throw an error.
1650 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1651 When trying to normalize the tag to a buffer, don't error if
1652 set-buffer method doesn't exist.
1654 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1656 * semantic/db.el (semanticdb-refresh-table): If forcing a
1657 refresh on a file not in a buffer, use semantic-find-file-noselect
1658 and delete the buffer after use.
1659 (semanticdb-current-database-list): When calculating root via
1660 hooks, force it through true-filename and skip the list of
1663 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1665 * semantic/analyze/debug.el
1666 (semantic-analyzer-debug-insert-tag): Reset standard output to
1668 (semantic-analyzer-debug-global-symbol)
1669 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1670 "symbol" in messages.
1672 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1673 (semantic-analyze-refs-proto): When calculating value, make sure
1674 the found tag is 'similar' to the originating tag.
1675 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1676 identify matches via imported symbols of parents.
1677 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1678 search during the brute search.
1680 * semantic/analyze.el
1681 (semantic-analyze-find-tag-sequence-default): Be robust to
1682 calculated scopes being nil.
1684 * semantic/bovine/c.el (semantic-c-describe-environment):
1685 Add project macro symbol array.
1686 (semantic-c-parse-lexical-token): Add recursion limit.
1687 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1689 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1691 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1692 inline type if it is an anonymous type.
1693 (semantic-c-reconstitute-token): Use the optional initializers as
1694 a clue that some function is probably a constructor.
1695 When defining the type of these constructors, split the parent name,
1696 and use only the class part, if applicable.
1698 * semantic/bovine/c-by.el:
1699 * semantic/wisent/python-wy.el: Regenerate.
1701 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1703 * semantic/db-file.el (object-write): Fix typo in docstring.
1705 2010-06-03 Eric Ludlam <zappo@gnu.org>
1707 * semantic/lex-spp.el
1708 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1709 invalid values during save, just save a nil (Bug#6324).
1711 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1713 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1716 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1718 Use a mode-line spec rather than a static string in Semantic.
1719 * semantic/util-modes.el:
1720 (semantic-minor-modes-format): New var to replace...
1721 (semantic-minor-modes-status): Remove.
1722 (semantic-mode-line-update): Construct a mode-line spec rather than
1723 a static string so that mouse buttons can be used on individual minor
1724 modes and so that semantic-mode-line-update only needs to be called
1725 when global settings are changed.
1726 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1727 Call semantic-mode-line-update.
1728 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1729 minor-mode-alist, check semantic-minor-mode-alist as well.
1730 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1731 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1732 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1733 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1734 * semantic/idle.el (semantic-idle-scheduler-mode)
1735 (define-semantic-idle-service, semantic-idle-summary-mode):
1736 * semantic/decorate/mode.el (semantic-decoration-mode):
1737 Don't call semantic-mode-line-update any more.
1739 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1741 Use define-minor-mode in CEDET where applicable.
1743 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1744 Use define-minor-mode.
1746 * semantic/util-modes.el (semantic-add-minor-mode):
1747 Remove unused arg `keymap' and code redundant with define-minor-mode.
1748 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1749 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1750 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1751 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1752 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1753 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1754 Use define-minor-mode.
1755 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1756 (semantic-show-unmatched-syntax-mode-setup)
1757 (semantic-show-parser-state-mode-setup)
1758 (semantic-highlight-func-mode-setup): Inline into sole caller.
1760 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1761 (semantic-mru-bookmark-mode): Use define-minor-mode.
1762 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1764 * semantic/idle.el (define-semantic-idle-service):
1765 Use define-minor-mode and inline setup function into its sole caller.
1766 (semantic-idle-scheduler-mode-setup)
1767 (semantic-idle-summary-mode-setup): Inline into sole caller.
1768 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1769 Use define-minor-mode.
1771 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1772 (semantic-decoration-mode): Use define-minor-mode.
1773 (semantic-decoration-mode-setup): Inline into sole caller.
1775 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1776 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1777 (ede-dired-add-to-target): Use dolist.
1779 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1781 * semantic.el (semantic-completion-at-point-function):
1783 (semantic-mode): Use semantic-completion-at-point-function for
1784 completion-at-point-functions instead.
1786 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1788 * semantic.el (semantic-mode): When enabled, add
1789 semantic-ia-complete-symbol to completion-at-point-functions.
1791 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1792 if Semantic is not active.
1794 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1796 * ede/pmake.el (ede-proj-makefile-insert-variables):
1797 Don't destroy list before using it.
1799 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1801 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1802 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1803 (semantic-imenu-goto-function): Reflow docstring.
1805 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1807 * srecode/table.el (srecode-template-table): Fix docstring typo.
1809 2010-03-24 Glenn Morris <rgm@gnu.org>
1811 * semantic/bovine/c.el (semantic-c-describe-environment):
1812 Consistently check ede-object is bound throughout.
1814 * ede/project-am.el (ede-shell-run-something): Declare.
1816 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1818 * semantic/imenu.el: New file, from the CEDET repository
1821 2010-03-06 Glenn Morris <rgm@gnu.org>
1823 * semantic/grammar.el (semantic-grammar-header-template):
1824 Update template copyright to GPLv3+.
1826 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1828 * semantic/db-find.el
1829 (semanticdb-find-translate-path-brutish-default):
1830 * ede/make.el (ede-make-check-version):
1831 Use with-current-buffer instead of save-excursion.
1833 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1835 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1836 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1838 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1840 * data-debug.el (data-debug): Move to extensions group.
1843 * srecode.el (srecode):
1844 * semantic.el (semantic): Put in tools and extensions group.
1846 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1848 * ede.el (ede-run-target, project-delete-target)
1849 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1850 (ede-adebug-project, ede-adebug-project-parent)
1851 (ede-adebug-project-root): Fix typos in docstrings.
1853 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1855 * ede/locate.el (ede-locate-file-in-project)
1856 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1857 (ede-enable-locate-on-project): Fix typos in error messages.
1859 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1860 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1861 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1862 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1863 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1864 Fix typos in menu help.
1866 * semantic.el (semantic-require-version, semantic--buffer-cache)
1867 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1868 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1869 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1870 (semantic-parse-stream, semantic-parse-region)
1871 (semantic-parse-region-default, semantic--set-buffer-cache)
1872 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1873 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1874 (semantic-default-submodes):
1875 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1876 (semanticdb-create-ebrowse-database)
1877 (semanticdb-find-tags-for-completion-method)
1878 (semanticdb-find-tags-by-class-method)
1879 (semanticdb-deep-find-tags-by-name-method)
1880 (semanticdb-deep-find-tags-for-completion-method):
1881 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1882 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1883 (semanticdb-find-tags-for-completion-method)
1884 (semanticdb-find-tags-by-class-method)
1885 (semanticdb-deep-find-tags-for-completion-method):
1886 * semantic/db-find.el (semanticdb-find-translate-path)
1887 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1888 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1889 (semanticdb-find-tags-by-name-method)
1890 (semanticdb-find-tags-by-name-regexp-method)
1891 (semanticdb-find-tags-for-completion-method)
1892 (semanticdb-find-tags-by-class-method)
1893 (semanticdb-find-tags-external-children-of-type-method)
1894 (semanticdb-find-tags-subclasses-of-type-method)
1895 (semanticdb-deep-find-tags-by-name-method)
1896 (semanticdb-deep-find-tags-by-name-regexp-method)
1897 (semanticdb-deep-find-tags-for-completion-method):
1898 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1899 (semanticdb-enable-gnu-global-in-buffer)
1900 (semanticdb-find-tags-for-completion-method)
1901 (semanticdb-deep-find-tags-by-name-method)
1902 (semanticdb-deep-find-tags-for-completion-method):
1903 * semantic/db-javascript.el (semanticdb-javascript-tags)
1904 (javascript-mode, semanticdb-find-translate-path)
1905 (semanticdb-find-tags-for-completion-method)
1906 (semanticdb-find-tags-by-class-method)
1907 (semanticdb-deep-find-tags-by-name-method)
1908 (semanticdb-deep-find-tags-for-completion-method)
1909 (semanticdb-find-tags-external-children-of-type-method):
1910 * semantic/idle.el (semantic-idle-work-core-handler)
1911 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1912 (global-semantic-idle-scheduler-mode):
1913 * srecode/dictionary.el (srecode-field-value)
1914 (srecode-dictionary-add-section-dictionary):
1915 Fix typos in docstrings.
1917 2010-01-17 Glenn Morris <rgm@gnu.org>
1919 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1921 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1923 * semantic.el (semantic-mode): Fix typos in docstrings.
1925 2010-01-16 Mario Lang <mlang@delysid.org>
1927 * ede/cpp-root.el (ede-cpp-root-project):
1928 * ede/files.el (ede-expand-filename):
1929 * ede/simple.el (ede-simple-project):
1930 * semantic/complete.el (semantic-complete-read-tag-engine)
1931 (semantic-complete-inline-tag-engine):
1932 * semantic/db-el.el (semanticdb-equivalent-mode):
1933 * semantic/db-global.el (semanticdb-equivalent-mode):
1934 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1935 * semantic/db.el (semanticdb-equivalent-mode):
1936 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1937 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1938 Remove duplicated words in doc-strings.
1940 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1942 * semantic/edit.el (semantic-reparse-needed-change-hook)
1943 (semantic-no-reparse-needed-change-hook):
1944 * srecode/insert.el (srecode-resolve-argument-list)
1945 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1946 (srecode-template-inserter-ask, srecode-template-inserter-width)
1947 (srecode-template-inserter-section-start)
1948 (srecode-template-inserter-section-end, srecode-insert-method):
1949 Fix typos in docstrings.
1951 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1953 * data-debug.el (data-debug): Fix customization group reference.
1955 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1957 * semantic/analyze.el (semantic-analyze-push-error)
1958 (semantic-analyze-context, semantic-analyze-context-assignment)
1959 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1960 * semantic/java.el (java-mode, semantic-tag-include-filename)
1961 (semantic-java-doc-keywords-map):
1962 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1963 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1964 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
1965 (semantic-c-classname, semantic-format-tag-uml-prototype)
1966 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
1967 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
1968 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
1969 (semantic-get-local-variables, semantic-end-of-command)
1970 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
1972 * semantic/bovine/make.el (makefile-mode):
1973 * semantic/wisent/python.el (wisent-python-string-re)
1974 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
1975 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
1976 (semantic-lex, semantic-get-local-variables, python-mode):
1977 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
1978 * srecode/extract.el (srecode-extract-state-set)
1979 (srecode-extract-method): Fix typos in docstrings.
1981 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
1983 * semantic.el (semantic-new-buffer-setup-functions):
1986 2010-01-10 Richard Kim <emacs18@gmail.com>
1988 * semantic/wisent/python-wy.el:
1989 * semantic/wisent/python.el: New files.
1991 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
1993 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1994 Fix typo in docstring.
1996 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1998 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1999 (semantic-mru-bookmark-mode): Doc fixes.
2001 * semantic/db.el (semanticdb-cache-get): Use error instead
2004 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2006 * semantic/ia.el (semantic-ia-complete-symbol):
2007 Make argument optional.
2009 2009-12-05 Eric Ludlam <zappo@gnu.org>
2011 * semantic/bovine/c.el (semantic-c-describe-environment):
2012 Describe project macro symbols.
2014 * semantic/complete.el (semantic-complete-do-completion):
2015 Don't call semantic-collector-current-exact-match.
2017 * ede.el (ede-apply-preprocessor-map): Accept lists of
2018 ede-objects as targets.
2020 * ede/pmake.el (ede-proj-makefile-insert-variables):
2021 Output a target's object list even if compiler vars are already in the
2024 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2025 list of headers producing necessary macros.
2027 2009-11-24 Glenn Morris <rgm@gnu.org>
2029 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2030 Move after definition of global-semantic-idle-tag-highlight-mode.
2032 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2034 * srecode/map.el (srecode-get-maps):
2035 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2036 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2037 * semantic/decorate/mode.el (semantic-decoration-mode)
2038 (semantic-toggle-decoration-style):
2039 * semantic/decorate/include.el
2040 (semantic-decoration-include-describe)
2041 (semantic-decoration-unknown-include-describe)
2042 (semantic-decoration-unparsed-include-describe)
2043 (semantic-decoration-all-include-summary):
2044 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2045 * semantic/analyze/complete.el
2046 (semantic-analyze-possible-completions):
2047 * semantic/util-modes.el (semantic-highlight-edits-mode)
2048 (semantic-show-unmatched-syntax-mode)
2049 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2050 (semantic-highlight-func-mode):
2051 * semantic/util.el (semantic-describe-buffer):
2052 * semantic/symref.el (semantic-symref-find-references-by-name)
2053 (semantic-symref-find-tags-by-name)
2054 (semantic-symref-find-tags-by-regexp)
2055 (semantic-symref-find-tags-by-completion)
2056 (semantic-symref-find-file-references-by-name)
2057 (semantic-symref-find-text):
2058 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2060 * semantic/scope.el (semantic-calculate-scope):
2061 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2062 * semantic/idle.el (semantic-idle-scheduler-mode)
2063 (define-semantic-idle-service):
2064 * semantic/complete.el (semantic-complete-analyze-inline)
2065 (semantic-complete-analyze-inline-idle):
2066 * semantic/analyze.el (semantic-analyze-current-context):
2067 * mode-local.el (describe-mode-local-bindings)
2068 (describe-mode-local-bindings-in-mode):
2069 * ede/make.el (ede-make-check-version):
2070 * ede/locate.el (ede-enable-locate-on-project):
2071 * cedet-idutils.el (cedet-idutils-expand-filename)
2072 (cedet-idutils-version-check):
2073 * cedet-global.el (cedet-gnu-global-expand-filename)
2074 (cedet-gnu-global-version-check):
2075 * cedet-cscope.el (cedet-cscope-expand-filename)
2076 (cedet-cscope-version-check): Use called-interactively-p instead
2079 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2080 Use semantic-format-tag-prototype.
2082 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2084 * semantic/complete.el (semantic-complete-read-tag-engine)
2085 (semantic-complete-jump-local, semantic-complete-jump):
2086 Improve prompt string.
2088 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2090 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2092 * semantic/idle.el (define-semantic-idle-service)
2093 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2095 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2097 * cedet.el (cedet-menu-map): Re-order menu items.
2099 * semantic.el: Enable idle-mode menu items only if
2100 global-semantic-idle-scheduler-mode is enabled.
2101 (semantic-default-submodes): Doc fix.
2103 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2104 When turning off, disable other idle modes.
2106 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2108 * semantic/idle.el (semantic-idle-summary-mode)
2109 (semantic-idle-summary-mode): Define using define-minor-mode
2110 instead of define-semantic-idle-service.
2111 (semantic-idle-summary-mode): New function.
2112 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2113 that mouse motion does not reset the echo area.
2115 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2117 * semantic/ctxt.el (semantic-get-local-variables):
2118 Disable the progress reporter entirely.
2120 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2122 * semantic/fw.el (semantic/loaddefs):
2123 * srecode.el (srecode/loaddefs):
2124 * ede.el (ede/loaddefs): Load rather than require.
2135 * semantic/analyze.el:
2136 * semantic/bovine.el:
2137 * semantic/complete.el:
2139 * semantic/db-file.el:
2140 * semantic/db-find.el:
2141 * semantic/db-global.el:
2142 * semantic/db-mode.el:
2143 * semantic/db-typecache.el:
2145 * semantic/debug.el:
2150 * semantic/format.el:
2152 * semantic/ia-sb.el:
2155 * semantic/lex-spp.el:
2157 * semantic/mru-bookmark.el:
2158 * semantic/scope.el:
2159 * semantic/senator.el:
2161 * semantic/symref.el:
2162 * semantic/tag-file.el:
2163 * semantic/tag-ls.el:
2164 * semantic/tag-write.el:
2166 * semantic/util-modes.el:
2167 * semantic/analyze/complete.el:
2168 * semantic/analyze/refs.el:
2169 * semantic/bovine/c.el:
2170 * semantic/bovine/gcc.el:
2171 * semantic/bovine/make.el:
2172 * semantic/bovine/scm.el:
2173 * semantic/decorate/include.el:
2174 * semantic/decorate/mode.el:
2175 * semantic/symref/cscope.el:
2176 * semantic/symref/global.el:
2177 * semantic/symref/grep.el:
2178 * semantic/symref/idutils.el:
2179 * semantic/symref/list.el:
2180 * semantic/wisent/java-tags.el:
2181 * semantic/wisent/javascript.el:
2182 * srecode/compile.el:
2184 * srecode/document.el:
2186 * srecode/expandproto.el:
2187 * srecode/getset.el:
2188 * srecode/insert.el:
2192 * srecode/template.el:
2193 * srecode/texi.el: Remove the file-local setting of
2194 generated-autoload-feature.
2196 2009-11-03 Glenn Morris <rgm@gnu.org>
2198 * mode-local.el (with-mode-local): Doc fix.
2200 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2202 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2205 * ede.el (ede-minor-mode):
2206 * semantic.el (semantic-mode): Toggle menu separators.
2208 2009-10-31 Glenn Morris <rgm@gnu.org>
2210 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2211 Use mapc rather than mapcar because the return value is never used.
2213 * srecode/template.el, semantic/wisent/javascript.el:
2214 * semantic/wisent/java-tags.el, semantic/texi.el:
2216 Suppress harmless warnings about setting up semantic-imenu (not
2217 part of Emacs) variables.
2219 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2221 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2222 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2223 * semantic/symref/grep.el (semantic-symref-perform-search):
2224 * semantic/bovine/gcc.el (semantic-gcc-query):
2225 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2226 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2227 (semantic-analyzer-debug-global-symbol)
2228 (semantic-analyzer-debug-missing-innertype)
2229 (semantic-analyzer-debug-insert-include-summary):
2230 * semantic/util.el (semantic-file-tag-table):
2231 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2232 (semantic-recursive-find-nonterminal-by-name):
2233 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2234 * semantic/tag-file.el (semantic-prototype-file):
2235 * semantic/symref.el (semantic-symref-parse-tool-output):
2236 * semantic/sb.el (semantic-sb-fetch-tag-table):
2237 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2238 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2239 (semantic-idle-summary-maybe-highlight):
2240 * semantic/ia-sb.el (semantic-ia-speedbar)
2241 (semantic-ia-sb-tag-info):
2242 * semantic/grammar.el (semantic-analyze-possible-completions):
2243 * semantic/find.el (semantic-brute-find-tag-by-position):
2244 * semantic/ede-grammar.el (project-compile-target):
2245 (ede-proj-makefile-insert-variables):
2246 * semantic/debug.el (semantic-debug-set-parser-location):
2247 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2248 (semantic-debug-mode, semantic-debug):
2249 * semantic/db.el (semanticdb-needs-refresh-p):
2250 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2251 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2252 * semantic/db-find.el (semanticdb-find-log-new-search)
2253 (semanticdb-find-translate-path-includes--internal)
2254 (semanticdb-reset-log, semanticdb-find-log-activity):
2255 * semantic/db-file.el (object-write):
2256 * semantic/db-el.el (semanticdb-equivalent-mode):
2257 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2258 (semanticdb-create-ebrowse-database):
2259 * semantic/db-debug.el (semanticdb-table-sanity-check):
2260 * semantic/complete.el (semantic-displayor-focus-request)
2261 (semantic-collector-calculate-completions-raw)
2262 (semantic-complete-read-tag-analyzer):
2263 * semantic/analyze.el (semantic-analyze-pulse):
2264 * ede/util.el (ede-update-version-in-source):
2265 * ede/proj.el (project-delete-target):
2266 * ede/proj-elisp.el (ede-update-version-in-source)
2267 (ede-proj-flush-autoconf):
2268 * ede/pconf.el (ede-proj-configure-synchronize)
2269 (ede-proj-configure-synchronize):
2270 * ede/locate.el (ede-locate-file-in-project-impl):
2271 * ede/linux.el (ede-linux-version):
2272 * ede/emacs.el (ede-emacs-version):
2273 * ede/dired.el (ede-dired-add-to-target):
2274 * ede.el (ede-buffer-header-file, ede-find-target)
2275 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2276 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2277 * cedet-idutils.el (cedet-idutils-fnid-call):
2278 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2279 (cedet-idutils-version-check):
2280 * cedet-global.el (cedet-gnu-global-call):
2281 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2282 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2283 * cedet-cscope.el (cedet-cscope-call)
2284 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2285 Use with-current-buffer.
2286 * ede.el (ede-make-project-local-variable)
2287 (ede-set-project-variables, ede-set): Use dolist.
2289 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * mode-local.el (make-obsolete-overload): Add `when' argument.
2292 (overload-docstring-extension): Use that info.
2293 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2294 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2295 * semantic/tag-ls.el (semantic-nonterminal-protection)
2296 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2297 (semantic-nonterminal-full-name): Add the new `when' info.
2298 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2301 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2303 * semantic/fw.el (semantic-alias-obsolete)
2304 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2305 (define-mode-overload-implementation):
2306 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2307 * semantic/wisent.el (wisent-lex-make-token-table):
2308 * semantic/util.el (semantic-file-token-stream)
2309 (semantic-something-to-stream):
2310 * semantic/tag.el (semantic-tag-make-assoc-list)
2311 (semantic-expand-nonterminal):
2312 * semantic/tag-file.el (semantic-find-nonterminal)
2313 (semantic-find-dependency, semantic-find-nonterminal)
2314 (semantic-find-dependency):
2315 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2316 (semantic-flex-text, semantic-flex-make-keyword-table)
2317 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2318 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2319 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2320 * semantic/java.el (semantic-java-prototype-nonterminal):
2321 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2322 (semantic-after-idle-scheduler-reparse-hooks):
2323 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2324 * semantic/db-mode.el (semanticdb-mode-hooks):
2325 * semantic.el (semantic-toplevel-bovine-table)
2326 (semantic-toplevel-bovine-cache)
2327 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2328 (semantic-init-mode-hooks, semantic-init-db-hooks)
2329 (semantic-bovination-working-type): Provide the `when' arg.
2331 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2333 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2334 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2335 argument to make-obsolete.
2337 * semantic/fw.el (semantic-alias-obsolete)
2338 (semantic-varalias-obsolete): Add optional WHEN argument.
2340 2009-10-21 Eric Ludlam <zappo@gnu.org>
2342 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2343 (semantic-c-debug-mode-init-pch): New functions.
2344 (semantic-c-debug-mode-init-last-mode): New var.
2345 (semantic-c-parse-lexical-token): Use them.
2347 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2348 When extracting the argument list, limit only by point-max.
2350 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2353 * srecode/compile.el:
2354 * semantic/mru-bookmark.el:
2355 * semantic/debug.el:
2356 * semantic/complete.el:
2357 * semantic/analyze.el: Require CL when compiling.
2359 2009-10-17 Eric Ludlam <zappo@gnu.org>
2362 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2363 tmpscope so that the regular scope will continue to work.
2365 * semantic/idle.el (semantic-idle-tag-highlight):
2366 Use semantic-idle-summary-highlight-face as the highlighting.
2368 * ede/project-am.el (project-run-target): New method.
2369 (project-run-target): New method.
2371 * ede.el (ede-target): Add run target menu item.
2372 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2373 (ede-run-target): New function.
2374 (ede-target::project-run-target): New method.
2376 * ede/proj.el (project-run-target): New method.
2378 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2379 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2381 (ede-proj-target-makefile-shared-object): Only libtool compilers
2382 now available. Add linkers for libtool.
2383 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2384 (ede-proj-makefile-target-name): Always use .la extension.
2386 * ede/proj-prog.el (project-run-target): New method.
2388 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2389 (ede-g++-linker): Change Change link lines.
2391 * ede/pmake.el (ede-pmake-insert-variable-shared):
2392 When searching for old variables, go to the end of the buffer and
2393 search backward from there.
2394 (ede-proj-makefile-automake-insert-subdirs)
2395 (ede-proj-makefile-automake-insert-extradist): New methods.
2396 (ede-proj-makefile-create): Use them.
2398 * ede/pconf.el (ede-proj-configure-test-required-file):
2399 Force FILE to expand to the current target. Use file-exists-p to
2400 check that it exists.
2402 * ede/linux.el (ede-linux-version): Don't call "head".
2403 (ede-linux-load): Wrap dir in file-name-as-directory.
2406 * ede/files.el (ede-get-locator-object): When enabling
2407 locate, do so on "top".
2409 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2410 file-name-as-directory during compare.
2411 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2412 Get version number from different places. Don't call egrep.
2413 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2414 to set the directory.
2416 * ede/shell.el: New file.
2418 * inversion.el (inversion-decoders): Allow for stray . in
2419 alpha/beta variants.
2421 2009-10-17 Glenn Morris <rgm@gnu.org>
2423 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2424 All errors should have messages.
2426 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2428 * ede/proj-shared.el (ede-proj-makefile-target-name):
2429 Use .la for Automake.
2431 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2433 * ede/pconf.el (ede-proj-configure-synchronize):
2434 Use "autoreconf -i". Suggested by Andreas Schwab.
2436 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2438 * ede/proj.el (project-make-dist, project-compile-project):
2440 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2441 to expand file names.
2443 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2445 * ede/proj-obj.el (ede-gcc-linker): New var.
2446 (ede-proj-target-makefile-objectcode): Use it.
2448 * ede/source.el (ede-want-any-source-files-p)
2449 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2450 Return search result. This error was introduced while merging.
2452 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2454 * semantic.el (semantic-new-buffer-setup-functions): New option.
2455 (semantic-new-buffer-fcn): Call parser setup functions here.
2456 (semantic-mode): Don't call parser setup functions here, it's done
2457 in semantic-new-buffer-fcn now.
2458 (semantic-mode): Parse all existing buffers when enabled.
2460 * srecode/compile.el (srecode-compile-file):
2461 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2463 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2465 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2467 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2468 (proj-comp-insert-variable-once): New macro, renamed from
2469 ede-pmake-insert-variable-once in ede/pmake.edl.
2470 (ede-proj-makefile-insert-variables): Use it.
2472 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2474 * ede/makefile-edit.el (makefile-beginning-of-command)
2475 (makefile-end-of-command):
2476 * srecode/srt-mode.el (semantic-beginning-of-context)
2477 (semantic-end-of-context): Fix previous change. Doc fixes.
2479 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2481 * ede/makefile-edit.el (makefile-beginning-of-command)
2482 (makefile-end-of-command):
2483 * semantic/lex.el (semantic-lex-token):
2484 * semantic/analyze/fcn.el
2485 (semantic-analyze-dereference-metatype-1):
2486 * semantic/bovine/c.el (semantic-lex-cpp-define)
2487 (semantic-lex-cpp-undef):
2488 * semantic/wisent/wisent.el (wisent-skip-block):
2489 * srecode/srt-mode.el (semantic-beginning-of-context)
2490 (semantic-end-of-context): Fix typos in docstrings.
2492 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2494 * ede.el (ede-project-placeholder-cache-file):
2495 * semantic/db-file.el (semanticdb-default-save-directory):
2496 * srecode/map.el (srecode-map-save-file):
2497 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2499 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2501 * srecode/insert.el: Require srecode/args.
2503 * srecode/args.el: Require srecode/dictionary instead of
2506 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2508 * files.el (auto-mode-alist): Add .srt and Project.ede.
2510 * semantic.el (semantic-mode):
2511 Handle srecode-template-mode-hook as well.
2512 (semantic-mode): Use js-mode-hook for Javascript hook.
2514 * srecode/template.el: Remove hook variable.
2516 * ede/proj-comp.el: Require ede/pmake when compiling.
2518 * ede.el (ede-target-forms-menu): Don't enable if no
2520 (ede-project-placeholder-cache-file): Default to a file in
2521 user-emacs-directory.
2523 * srecode/map.el (srecode-map-base-template-dir): Look for
2524 templates in data-directory.
2525 (srecode-map-save-file): Default to a file in user-emacs-directory.
2527 * ede/srecode.el (ede-srecode-setup): Use default templates
2530 2009-09-30 Eric Ludlam <zappo@gnu.org>
2532 * semantic/util-modes.el (semantic-highlight-func-mode):
2535 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2536 Only insert each variable once.
2538 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2539 (ede-pmake-insert-variable-shared): Use it.
2541 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2542 for lexical table iff table is nil.
2544 2009-10-01 Glenn Morris <rgm@gnu.org>
2546 * semantic/bovine/gcc.el
2547 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2548 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2550 2009-10-03 Glenn Morris <rgm@gnu.org>
2552 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2553 declaration, currently false.
2555 2009-10-01 Glenn Morris <rgm@gnu.org>
2557 * cedet-files.el (cedet-directory-name-to-file-name):
2558 * cedet-idutils.el (cedet-idutils-search)
2559 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2560 (cedet-idutils-version-check):
2561 * cedet.el (cedet-version):
2562 * data-debug.el (data-debug-insert-overlay-button)
2563 (data-debug-insert-overlay-list-button)
2564 (data-debug-insert-buffer-button)
2565 (data-debug-insert-buffer-list-button)
2566 (data-debug-insert-process-button, data-debug-insert-ring-button)
2567 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2568 (data-debug-insert-stuff-vector-button)
2569 (data-debug-insert-symbol-button, data-debug-insert-string)
2570 (data-debug-insert-number, data-debug-insert-lambda-expression)
2571 (data-debug-insert-nil, data-debug-insert-simple-thing)
2572 (data-debug-insert-custom, data-debug-edebug-expr):
2573 * ede.el (ede-auto-add-method, ede-project-class-files)
2574 (global-ede-mode-map, ede-new, ede-debug-target)
2575 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2576 * semantic.el (semantic-minimum-working-buffer-size)
2577 (semantic-fetch-tags, semantic-submode-list)
2578 (semantic-default-submodes):
2579 * ede/source.el (ede-source-match):
2580 * ede/project-am.el (project-am-type-alist, project-add-file)
2581 (project-am-package-info):
2582 * ede/proj.el (ede-proj-target, project-new-target):
2583 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2584 * ede/proj-comp.el (ede-current-build-list):
2585 * ede/makefile-edit.el (makefile-move-to-macro):
2586 * ede/files.el (ede-toplevel-project-or-nil):
2587 * ede/cpp-root.el (initialize-instance):
2588 * ede/autoconf-edit.el (autoconf-find-last-macro)
2589 (autoconf-parameter-strip, autoconf-insert-new-macro):
2590 * semantic/wisent.el (wisent-lex-eoi):
2591 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2592 (semantic-show-parser-state-mode):
2593 * semantic/texi.el (semantic-texi-environment-regexp):
2594 * semantic/tag.el (semantic-tag-new-variable)
2595 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2596 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2597 (semantic--tag-deep-copy-tag-list)
2598 (semantic-tag-components-with-overlays-default):
2599 * semantic/symref.el (semantic-symref-find-text):
2600 * semantic/senator.el (senator-yank-tag)
2601 (senator-transpose-tags-up):
2602 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2603 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2604 * semantic/sb.el (semantic-sb-autoexpand-length):
2605 * semantic/lex.el (semantic-lex-comment-regex)
2606 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2607 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2608 * semantic/lex-spp.el
2609 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2610 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2612 (semantic-idle-summary-current-symbol-info-brutish)
2613 (semantic-idle-summary-current-symbol-info-default):
2614 * semantic/grammar.el (semantic-grammar-recreate-package)
2615 (semantic--grammar-macro-compl-dict):
2616 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2617 * semantic/format.el (semantic-format-tag-custom-list)
2618 (semantic-format-tag-canonical-name-default):
2619 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2620 (semantic-find-tags-for-completion)
2621 (semantic-find-tags-by-scope-protection-default)
2622 (semantic-deep-find-tags-for-completion):
2624 (semantic-edits-incremental-reparse-failed-hook)
2625 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2626 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2627 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2628 * semantic/dep.el (semantic-dependency-include-path):
2629 * semantic/db.el (semanticdb-default-find-index-class)
2630 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2631 (semanticdb-project-roots):
2632 * semantic/db-find.el (semanticdb-implied-include-tags)
2633 (semanticdb-find-adebug-insert-scanned-tag-cons)
2634 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2635 (semanticdb-brute-deep-find-tags-for-completion):
2636 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2637 * semantic/ctxt.el (semantic-beginning-of-context-default)
2638 (semantic-end-of-context-default)
2639 (semantic-ctxt-current-function-default)
2640 (semantic-ctxt-scoped-types-default):
2641 * semantic/complete.el (semantic-complete-read-tag-engine)
2642 (semantic-complete-inline-tag-engine)
2643 (semantic-complete-inline-custom-type)
2644 (semantic-complete-read-tag-analyzer):
2645 * semantic/chart.el (semantic-chart-tags-by-class)
2646 (semantic-chart-database-size):
2647 * semantic/analyze.el (semantic-analyze-current-symbol)
2648 (semantic-analyze-current-context):
2649 * semantic/symref/list.el (semantic-symref)
2650 (semantic-symref-hide-buffer, semantic-symref-symbol):
2651 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2652 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2653 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2654 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2655 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2656 (semantic-c-dereference-template):
2657 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2658 (semantic--analyze-refs-full-lookup-with-parents)
2659 (semantic--analyze-refs-full-lookup-simple):
2660 * semantic/analyze/complete.el
2661 (semantic-analyze-possible-completions):
2662 * srecode/table.el (srecode-mode-table-new):
2663 * srecode/srt.el (srecode-read-variable-name):
2664 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2665 * srecode/semantic.el (srecode-semantic-handle-:tag)
2666 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2667 * srecode/map.el (srecode-current-map):
2668 * srecode/insert.el (srecode-insert)
2669 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2670 (srecode-template-inserter-point-override)
2671 (srecode-insert-include-lookup):
2672 * srecode/getset.el (srecode-auto-choose-class):
2673 * srecode/extract.el (srecode-inserter-extract):
2674 * srecode/document.el
2675 (srecode-document-autocomment-return-last-alist)
2676 (srecode-document-autocomment-param-type-alist)
2677 (srecode-document-insert-function-comment)
2678 (srecode-document-insert-variable-one-line-comment)
2679 (srecode-document-function-name-comment):
2680 * srecode/dictionary.el (srecode-create-dictionary)
2681 (srecode-compound-toString):
2682 * srecode/compile.el (srecode-flush-active-templates):
2683 * srecode/args.el (srecode-semantic-handle-:blank):
2686 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2688 * semantic/wisent/javat-wy.el
2689 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2691 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2693 * srecode/expandproto.el: Fix provide statement.
2695 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2697 * ede/srecode.el: Fix provide statement.
2699 2009-09-30 Glenn Morris <rgm@gnu.org>
2701 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2702 * ede/proj-aux.el (ede-aux-source):
2703 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2705 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2706 (semantic-mrub-switch-tags): Fix doc typos.
2708 * semantic/db-global.el (data-debug-new-buffer)
2709 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2710 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2712 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2714 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2715 use of CL function `remove-if-not'.
2717 2009-09-29 Glenn Morris <rgm@gnu.org>
2719 * semantic/symref/idutils.el:
2720 * semantic/symref/list.el: Relicense under GPLv3+.
2722 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2724 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2725 * semantic/tag-file.el (semanticdb-table-child-p):
2726 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2727 Mark declarations not understood by check-declare.
2729 2009-09-28 Eric Ludlam <zappo@gnu.org>
2731 CEDET (development tools) package merged.
2736 * srecode/*.el: New files.
2738 2009-09-28 Eric Ludlam <zappo@gnu.org>
2747 * pulse.el: New files.
2753 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2755 This file is part of GNU Emacs.
2757 GNU Emacs is free software: you can redistribute it and/or modify
2758 it under the terms of the GNU General Public License as published by
2759 the Free Software Foundation, either version 3 of the License, or
2760 (at your option) any later version.
2762 GNU Emacs is distributed in the hope that it will be useful,
2763 but WITHOUT ANY WARRANTY; without even the implied warranty of
2764 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2765 GNU General Public License for more details.
2767 You should have received a copy of the GNU General Public License
2768 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.