1 2013-07-29 David Engster <deng@randomsample.de>
3 * lisp/cedet/cedet.el (cedet-packages): Remove speedbar since its
4 development does no longer happens in CEDET upstream but in Emacs
5 proper. Also remove cedet-contrib and cogre since those are only
8 * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
9 has a parent, return a fully qualified name.
11 * semantic/decorate/mode.el
12 (semantic-decoration-on-includes-p-default)
13 (semantic-decoration-on-includes-highlight-default): Declare for
16 * semantic/wisent/python.el (semantic/format): New require.
18 2013-07-27 Eric Ludlam <zappo@gnu.org>
20 * lisp/cedet/semantic/edit.el (semantic-edits-splice-remove): Wrap
21 debug message removing middle tag in semantic-edits-verbose-flag
24 2013-07-27 David Engster <deng@randomsample.de>
26 * semantic/bovine/el.el (semantic/db-el): New require.
28 * semantic/db-el.el (semanticdb-normalize-one-tag): It might be
29 that a symbol comes from a file but cannot be found in its table.
30 This happens for instance when a symbol was dynamically created
31 through a macro like `defstruct'. In this case, return the
33 (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
34 the argument list is not available until the file is loaded.
36 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
38 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header.
40 2013-06-19 Glenn Morris <rgm@gnu.org>
42 * semantic/idle.el (define-semantic-idle-service):
43 No need to use eval-and-compile, progn will do.
45 * semantic/decorate/mode.el (define-semantic-decoration-style):
47 (define-semantic-decoration-style): 'function is not an accepted
48 value for autoload's "type" argument. Might as well use the default.
50 2013-06-18 Glenn Morris <rgm@gnu.org>
52 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
53 Remove unused free variable `symlist'.
55 2013-06-02 Eric Ludlam <zappo@gnu.org>
57 * semantic/edit.el (semantic-change-function):
58 Use `save-match-data' around running hooks.
60 * semantic/decorate/mode.el
61 (semantic-decorate-style-predicate-default)
62 (semantic-decorate-style-highlighter-default): New.
63 (semantic-decoration-mode): Do not require
64 `semantic/decorate/include' anymore.
65 (semantic-toggle-decoration-style): Error if an unknown decoration
67 (define-semantic-decoration-style): Add new :load option. When
68 :load is specified, add autoload tokens for the definition
69 functions so that code is loaded when the mode is used.
70 (semantic-decoration-on-includes): New autoload definition for
71 highlighting includes.
73 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
74 characters to appear after the tested variable.
76 * semantic/ede-grammar.el (project-compile-target): Calculate full
77 src name via ede-expand-filename instead of the crutch of the
78 current buffer. Enables this target to compile in batch mode.
81 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
82 remote symbol with `save-excursion'.
83 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
84 using directory-files on each found mode pattern, collect all the
85 patterns for the current mode, and then for each file, see if it
86 matches any of them. If it does, parse the file. (Patch
87 inspiration from Tomasz Gajewski.)
89 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
90 (semantic-ctxt-current-symbol-default): New.
92 * semantic/bovine/el.el (semantic-default-elisp-setup): Add
93 autoload cookie. Explain existence.
94 (footer): Add local variable for loaddefs.
96 * semantic/db.el (semanticdb-file-table-object): Add new filter,
97 only checking for regular files too.
99 * semantic/wisent/python.el
100 (semantic-format-tag-abbreviate): New override. Cuts back on size
103 * srecode/compile.el (srecode-compile-templates): Fix warning
104 punctuation. Remove status messages to clean up testing output.
106 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
108 (ede-save-cache): Disable cache save if file is nil.
110 * ede.el (ede-initialize-state-current-buffer): Flush deleted
112 (global-ede-mode): Always append our find-file-hook to the end.
113 (ede-flush-deleted-projects): New command.
115 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
118 * ede/proj.el (ede-proj-target): Added a new "custom" option for
119 custom symbols representing a compiler or linker instead of
120 restricting things to only the predefined compilers and linkers.
122 2013-06-02 David Engster <dengste@eml.cc>
124 * semantic.el (semantic-mode-map): To avoid showing showing
125 Development menu twice, only disable menu item if menu-bar is
126 actually enabled, otherwise the popup 'global menu' might display
127 a disabled Development menu.
129 * srecode/srt-wy.el: Regenerate.
131 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
133 * semantic/complete.el
134 (semantic-displayor-show-request): Fix which slot in obj is set to
137 2013-06-01 Glenn Morris <rgm@gnu.org>
139 * semantic/grammar.el (semantic-grammar-complete):
140 Replace the obsolete function lisp-complete-symbol.
142 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
144 * srecode/args.el, srecode/java.el: Require ede.
146 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
148 2013-05-24 Glenn Morris <rgm@gnu.org>
150 * semantic/bovine/grammar.el (bovine-make-parsers):
151 Avoid free variable `copyright-end'.
153 * semantic/bovine/c-by.el (semantic-parse-region):
154 * semantic/wisent/javat-wy.el (semantic-parse-region):
155 * semantic/wisent/js-wy.el (semantic-parse-region):
156 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
158 2013-05-22 Glenn Morris <rgm@gnu.org>
160 * ede/speedbar.el (ede-file-find, ede-tag-find):
161 * semantic/sb.el (semantic-sb-token-jump):
162 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
164 2013-05-15 Glenn Morris <rgm@gnu.org>
166 * semantic/symref/list.el (semantic-symref-auto-expand-results)
167 (semantic-symref-results-mode-hook)
168 (semantic-symref-results-summary-function): Fix :group.
170 2013-05-14 Glenn Morris <rgm@gnu.org>
172 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
174 2013-05-11 Glenn Morris <rgm@gnu.org>
176 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
177 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
178 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
179 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
181 * ede/locate.el (cedet-cscope-version-check)
182 (cedet-cscope-support-for-directory):
183 * semantic/grammar.el (semantic-grammar-wy--install-parser):
186 * ede/project-am.el (project-am-compile-project-command): Fix :type.
188 2013-05-09 Glenn Morris <rgm@gnu.org>
190 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
193 2013-04-27 David Engster <deng@randomsample.de>
195 * semantic/complete.el
196 (semantic-collector-calculate-completions-raw): If
197 `completionslist' is not set, refresh the cache if necessary and
198 use it for completions. This fixes the
199 `semantic-collector-buffer-deep' collector (bug#14265).
201 2013-03-26 Leo Liu <sdl.web@gmail.com>
203 * semantic/senator.el (senator-copy-tag-to-register): Move
204 register handling logic from register.el. (Bug#14052)
206 2013-03-21 Eric Ludlam <zappo@gnu.org>
208 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
209 `senator-tag-ring' is bound.
210 (semantic-parse-region-default): Stop reversing the output of
212 (semantic-repeat-parse-whole-stream): Append returned tags
213 differently, so they come out in the right order.
215 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
216 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
217 exclude tags belonging to above filtered classes.
219 * semantic/find.el (semantic-filter-tags-by-class): New function.
221 * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
222 short-circuit in case tag1 and 2 are identical.
224 * semantic/analyze/fcn.el
225 (semantic-analyze-dereference-metatype-stack): Use
226 `semantic-tag-similar-p' instead of 'eq' when comparing two tags
227 during metatype evaluation in case they are the same, but not the
228 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
230 * semantic/db-find.el (semanticdb-partial-synchronize): Fix
231 require to semantic/db-typecache to be correct.
232 (semanticdb-find-tags-external-children-of-type): Make this a
233 brutish search by default.
236 (semantic-tag-external-member-children-default): When calling
237 `semanticdb-find-tags-external-children-of-type', pass in the
238 input tag as the place to start searching for externally defined
241 * semantic/db-file.el (semanticdb-default-save-directory): Doc
242 fix: Add ref to default value.
244 * semantic/complete.el (semantic-complete-post-command-hook): When
245 detecting if cursor is outside completion area, do so if cursor
246 moves before start of overlay, or the original starting location
247 of the overlay (i.e., if user deletes past beginning of the
249 (semantic-complete-inline-tag-engine): Initialize original start
250 of `semantic-complete-inline-overlay'.
252 * semantic/bovine/c.el (semantic-c-describe-environment): Update
253 some section titles. Test semanticdb table before printing it.
254 (semantic-c-reset-preprocessor-symbol-map): Update
255 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
256 the files contributing to its value.
257 (semantic-c-describe-environment): If there is an EDE project but
258 no spp symbols from it, say so.
260 * srecode/args.el (srecode-semantic-handle-:project): New argument
261 handler. Provide variable values if not in an EDE project.
263 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
266 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
267 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
269 * srecode/map.el (srecode-map-validate-file-for-mode): Force
270 semantic to load if it is not active in the template being added
273 * srecode/srt.el: Add local variables for setting the autoload
275 (srecode-semantic-handle-:srt): New autoload cookie.
277 * ede.el (ede-apply-preprocessor-map): Apply map to
278 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
279 system one. Add require for semantic.
281 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
282 has both a version variable and a Version: comment, always use
285 * ede/cpp-root.el (ede-set-project-variables): Deleted.
286 `ede-preprocessor-map' does the job this function was attempting
287 to do with :spp-table.
288 (ede-preprocessor-map): Update file tests to provide better
289 messages. Do not try to get symbols from a file that is the file
290 in the current buffer.
292 * ede/base.el (ede-project-placeholder): Add more documentation to
294 (ede-load-cache): Use `insert-file-contents' instead of
295 `find-file-noselect' in order to avoid activating other tools.
297 2013-03-21 David Engster <deng@randomsample.de>
299 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
300 new variable 'this' if we are in an inline member function. For
301 detecting this, we check overlays at point if there is a class
302 spanning the current function. Also, the variable 'this' has to
305 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
306 when querying g++ for defines returns an error.
308 * srecode/srt-mode.el:
309 * srecode/compile.el:
312 * semantic/complete.el:
318 * srecode/compile.el:
319 * semantic/decorate/include.el:
321 * semantic/adebug.el:
323 * srecode/dictionary.el:
324 * semantic/ede-grammar.el:
326 * semantic/db-find.el:
327 * semantic/db-file.el:
328 * semantic/complete.el:
329 * semantic/bovine/c.el:
330 * semantic/analyze.el:
336 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
337 to `eieio-object-name', `object-set-name-string' to
338 `eieio-object-set-name-string', `object-class' to
339 `eieio-object-class', `class-parent' to `eieio-class-parent',
340 `class-parents' to `eieio-class-parents', `class-children' to
341 `eieio-class-children', `object-name-string' to
342 `eieio-object-name-string', `object-class-fast' to
343 `eieio--object-class'. Also replace direct access with new
346 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
348 * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix
349 EDE file symbol to match rename. Fix ede-cpp-root symbol to
350 include -project in name.
352 2013-03-21 Alex Ott <alexott@gmail.com>
354 * cedet-files.el (cedet-files-list-recursively): New. Recursively
355 find files whose names are matching to given regex.
357 * ede.el (ede-current-project): Rewrite to avoid imperative style.
359 * ede/files.el (ede-find-file): Simplify code.
361 * ede/base.el (ede-normalize-file/directory): Add function to
362 normalize :file or :directory slots if they are missing.
364 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
366 (project-compile-project): Compiles project using value specified
367 in :compule-command slot or in compile-command local variable.
368 Value of slot or local variable could be string or function that
369 receives project and should return string that will be invoked as
371 (project-compile-target): Invokes compilation of whole project.
373 * ede/files.el (ede-find-project-root): New function to
374 find root of project that contains specific file.
375 (ede-files-find-existing): New function which checks presence of
376 given directory in the list of registered projects.
378 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
380 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
382 * semantic/wisent/javat-wy.el: Regenerate.
384 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
386 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
389 2012-11-16 David Engster <deng@randomsample.de>
391 * semantic/symref/list.el (semantic-symref-symbol):
392 Use `semantic-complete-read-tag-project' instead of
393 `semantic-complete-read-tag-buffer-deep', since the latter is not
396 * semantic/symref.el (semantic-symref-result-get-tags):
397 Use `find-buffer-visiting' to follow symbolic links.
399 * semantic/fw.el (semantic-find-file-noselect): Always set
400 `enable-local-variables' to `:safe' when loading files.
402 2012-11-16 Glenn Morris <rgm@gnu.org>
404 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
405 * semantic/util.el (semantic-describe-buffer):
406 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
407 (semantic-default-c-setup):
408 Use new names for hooks rather than obsolete aliases.
410 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
412 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
413 * semantic/grammar.el (semantic-grammar-mode):
414 * semantic/util-modes.el (semantic-highlight-edits-mode)
415 (semantic-show-parser-state-mode): Avoid obsolete name
416 semantic-edits-new-change-hooks (bug#12869).
418 2012-11-13 Glenn Morris <rgm@gnu.org>
420 * srecode/srt-mode.el (srecode-template-mode):
421 Don't change global values of comment-start, comment-end. (Bug#12781)
423 2012-10-25 David Engster <deng@randomsample.de>
425 * semantic/analyze.el (semantic-analyze-dereference-alias):
426 New function to dereference aliases.
427 (semantic-analyze-current-context-default): Use it.
429 * semantic/grammar.el (semantic-grammar-create-package):
430 * srecode/compile.el (srecode-compile-templates): Throw a proper
431 error if semantic-mode is not enabled (bug#9968).
433 Compiler warning fixes:
435 * semantic.el (semantic-elapsed-time): Make it a defsubst.
437 * srecode/dictionary.el (srecode-adebug-dictionary):
438 Remove require for `semantic'.
441 * srecode/insert.el: Declare functions from `data-debug'.
443 * semantic/grammar.el: Require `help-fns'. Declare functions from
444 `eldoc', which is required in function body.
448 * semantic/grammar-wy.el:
449 * semantic/db-file.el:
451 * semantic/chart.el: Fix requires.
453 * ede/locate.el: Remove useless requires. Declare functions
454 instead and require in functions when needed.
456 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
458 * semantic/db-file.el (semanticdb-save-database-functions):
459 * semantic/lex.el (semantic-lex-reset-functions):
460 * semantic/edit.el (semantic-change-functions)
461 (semantic-edits-new-change-functions)
462 (semantic-edits-delete-change-functions)
463 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
465 2012-10-14 David Engster <deng@randomsample.de>
467 * semantic.el (semantic-error-if-unparsed): New function.
468 Raise error if buffer was not parsed by Semantic (bug #12045).
469 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
470 only if buffer was parsed. Also, replace ':active' with ':enable'
473 * semantic/wisent/python.el
474 (semantic-python-get-system-include-path):
475 Use `python-shell-internal-send-string' if available to query Python
478 * semantic/senator.el (senator-next-tag, senator-previous-tag)
479 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
481 * semantic/complete.el (semantic-complete-jump-local)
482 (semantic-complete-jump, semantic-complete-jump-local-members)
483 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
484 (semantic-complete-inline-project): Fix autoload cookie.
486 * semantic/analyze/complete.el
487 (semantic-analyze-possible-completions): Check if buffer was
488 parsed. Only raise an error if function was called interactively,
489 otherwise silently return nil.
491 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
493 2012-10-08 David Engster <deng@randomsample.de>
495 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
496 `emacs-lisp-mode-hook'. This was accidentally removed during the
497 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
499 2012-10-07 David Engster <deng@randomsample.de>
501 * semantic/wisent/python.el (semantic-ctxt-current-function)
502 (semantic-ctxt-current-assignment): New overrides, simply
503 returning nil. The defaults do not work correctly and can send
504 the parser in an infinite loop (bug#12458).
506 * semantic/ede-grammar.el (project-compile-target): Fix grammar
507 compilation after introduction of %provide statement.
509 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
510 function for `f90-mode', since the parser only exists upstream.
512 2012-10-06 Glenn Morris <rgm@gnu.org>
514 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
516 * semantic/complete.el (semantic-displayor-tooltip-mode)
517 (semantic-displayor-tooltip-initial-max-tags)
518 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
519 * ede/linux.el (project-linux): Add missing group :version tag.
521 2012-10-06 Chong Yidong <cyd@gnu.org>
523 * semantic/bovine/grammar.el:
524 * semantic/wisent/grammar.el: Move from admin/grammars.
525 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
527 2012-10-02 Chong Yidong <cyd@gnu.org>
529 * srecode.el, ede.el: Restore Version header.
531 2012-10-01 Chong Yidong <cyd@gnu.org>
533 * semantic/bovine/c-by.el: Regenerate.
534 * semantic/bovine/make-by.el:
535 * semantic/bovine/scm-by.el:
536 * semantic/grammar-wy.el:
537 * semantic/wisent/javat-wy.el:
538 * semantic/wisent/js-wy.el:
541 2012-10-01 Eric Ludlam <zappo@gnu.org>
543 * cedet.el (cedet-version, cedet-packages): Update.
545 * cedet-global.el (cedet-gnu-global-version-check): Support newer
546 versions that have extra (parens) in the version string.
548 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
549 version number was found before calling inversion-check-version.
551 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
552 while inserting the thing, then clear modified bit.
553 (data-debug-map): Suppress the keymap.
554 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
555 (data-debug-contract-current-line): Inhibit read-only, then clear
558 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
559 to allow use in more kinds of buffers.
560 (ede-project-forms-menu): Add `Default configuration' menu item.
561 (ede-configuration-forms-menu): New, for use in above.
562 (ede-project-configurations-set): New command used from menu.
563 (ede-java-classpath): New conveninece for Java support.
564 (ede-apply-object-keymap): Combine keybindings from the project
565 and the target, not just whatever is local to the buffer.
566 (ede-apply-target-options): Call fcn to apply project local
568 (ede-reset-all-buffers): Remove arg.
569 (ede, ede-rescan-toplevel): Callers changed.
570 (ede-new-target): Fix bug where you couldn't call this from Dired.
571 (ede-add-file): Replace assignment of ede-object with generic call
572 to re-init the buffer.
573 (ede-find-target): If ede-object is set, run short-cut code
574 instead of `or' shortcut.
575 (ede-project-buffers): Return buffers belonging to input project,
576 not any buffer belonging to any project.
577 (ede-system-include-path, ede-apply-project-local-variables)
578 (ede-set-project-local-variable): New functions.
579 (ede-make-project-local-variable): Apply to toplevel if none
581 (ede-set): Make it interactive.
583 * ede/auto.el (ede-project-autoload): New class.
584 (ede-do-dirmatch): New method.
585 (ede-project-dirmatch-p): New function.
586 (ede-project-root-directory): Call it.
587 (ede-dir-to-projectfile): Don't call project file function if we
588 didn't match the root.
589 (ede-project-root-directory): Don't call a project's root function
590 if the tool in question isn't installed.
591 (ede-dir-to-projectfile): Don't call project file function if we
592 didn't match the root.
594 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
595 trailing `\' mid string, and replace with a space.
596 (autoconf-parameter-count): New function.
597 (autoconf-set-version): Use it.
599 * ede/base.el (ede-project): The :type of targets is now a list of
602 * ede/emacs.el (ede-emacs-load): Fix typo.
604 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
605 Protect against missing locator object.
606 (ede-get-locator-object): Protect against missing project.
607 (ede-flush-directory-hash): New command.
608 (ede-get-locator-object): Protect against missing project.
610 * ede/generic.el (ede-generic-config): Add configurable
612 (project-compile-project, project-compile-target)
613 (project-debug-target, project-run-target): New methods.
614 (ede-generic-get-configuration): Specify the class to load.
615 (ede-generic-new-autoloader): Use ede-add-project-autoload.
616 (ede-enable-generic-projects): Rename projects so as to never
617 match the edeproject-* projects.
619 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
620 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
622 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
623 (ede-proj-flush-autoconf): Disable local variables when loading
624 the autoconf lisp compile script.
626 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
627 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
628 (-makefile-archive, -makefile-shared-object)
629 (ede-proj-target-makefile-info, -grammar): New autoloads.
630 (ede-proj-project): Inherit from eieio-persistent-read.
631 Specify extension and header line.
632 (ede-proj-load, ede-proj-save): Replace with impl using
633 eieio-persistent-read.
635 * ede/project-am.el (project-add-file): Use ede-target-parent
636 instead of loading the project file.
638 * semantic.el (semantic-version): Update.
639 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
640 (navigate-menu): Add menu item for Stickyfunc mode.
642 * semantic/analyze/debug.el
643 (semantic-analyzer-debug-insert-include-summary):
644 Before dereferencing tableinner, make sure it has a value.
646 * semantic/analyze/refs.el
647 (semantic-analyze-tag-references-default): When doing a lookup,
649 (semantic--analyze-refs-full-lookup): Add optional noerror input
650 argument. Pass to to full-lookup-simple.
651 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
652 Ignore :typemodifiers during compare.
654 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
655 to looking back for comment chars.
656 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
657 (semantic--tag-attribute-similar-p): New.
658 (semantic-c-describe-environment): Handle list value of ede-object.
659 (semantic-lex-c-preprocessor-symbol-map-builtin):
660 Add __attribute_pure__.
662 * semantic/bovine/scm.el (semantic-format-tag-prototype):
663 Add parent and color argument. Pass them through.
665 * semantic/complete.el (semantic-collector-calculate-completions):
666 Search for more matches if new prefix is a substring of old one.
667 (semantic-complete-inline-project): New function.
669 * semantic/db-el.el (object-print): New method.
671 * semantic/db-file.el (semanticdb-load-database): Specify class.
673 * semantic/db-typecache.el
674 (semanticdb-abstract-table::semanticdb-typecache-find-method):
675 Allow proxied tags to be resolved during the search.
676 (semanticdb-typecache-complete-flush): Support missing or empty
677 pointmax slot, to allow for more database types.
679 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
680 (object-print): Allow child classes to overwrite the display of
681 the (%d tags) extra string.
682 (semanticdb-project-database): Specify :type for table.
683 (semanticdb-create-table-for-file): Specify file-truename.
684 (semanticdb-synchronize, semanticdb-partial-synchronize):
685 Restore code that refreshes references to include files.
687 * semantic/decorate/include.el
688 (semantic-decoration-on-fileless-includes): New face.
689 (semantic-decoration-on-fileless-include-map)
690 (semantic-decoration-on-fileless-include-menu): New variables.
691 (semantic-decoration-on-includes-highlight-default):
692 Support includes that have a table, but are not associated with a file.
693 (semantic-decoration-fileless-include-describe)
694 (semantic-decoration-fileless-include-menu): New functions.
695 (semantic-decoration-all-include-summary): Add arrows to indicate
696 the file associated with an include name.
699 (semantic-find-tags-by-scope-protection-default): Also filter on
700 package protection of the slot.
702 * semantic/java.el (semantic-java-expand-tag): If some type has a
703 fully qualified name, bust it up into one package and the type
706 * semantic/lex.el (define-lex-block-analyzer): Protect against
707 random extra close parenthesis.
709 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
710 the cursor is on the matched name.
712 * semantic/symref/list.el (semantic-symref-results-mode-map):
715 * semantic/tag-ls.el (semantic--tag-similar-names-p)
716 (semantic--tag-attribute-similar-p)
717 (semantic--tag-similar-types-p): New functions.
718 (semantic-tag-similar-ignorable-attributes): New variable.
719 (semantic-tag-protection-default): Add package concept to return
721 (semantic-tag-package-protected-p): New function.
722 (semantic-tag-full-package): New overload method.
723 (semantic-tag-full-package-default): New default for above.
724 (semantic-tag-full-name-default): Look for the full package name.
726 * semantic/tag.el (semantic-create-tag-proxy)
727 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
729 * semantic/util.el (semantic-describe-buffer):
730 Add semantic-new-buffer-fcn-was-run.
732 * semantic/wisent/java-tags.el (semantic-get-local-variables):
733 Add `this' to the local variable context.
734 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
736 * semantic/wisent/python.el (semantic-python-expand-tag):
739 * srecode/compile.el (srecode-compile-templates): Add "framework"
740 special variable support.
741 (srecode-compile-template-table): Support framework specifier.
743 * srecode/cpp.el (srecode-semantic-handle-:c)
744 (srecode-semantic-handle-:cpp): New functions.
745 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
747 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
749 * srecode/dictionary.el (initialize-instance): Remove bogus error
751 (srecode-create-section-dictionary): Remove unused function.
753 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
754 package variable. Add current_package variable.
756 * srecode/map.el (srecode-map-update-map): Specify the class.
758 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
760 * srecode/semantic.el (srecode-semantic-insert-tag):
761 Support system includes.
763 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
765 * srecode/table.el (srecode-template-table): Add :framework slot.
766 (srecode-dump): Dump it.
767 (srecode-mode-table): Add new modetables slot.
768 (srecode-get-mode-table): Find the mode, but also find all parent
769 modes, and merge the tables together in :tables from :modetables.
770 (srecode-make-mode-table): Init :modetables.
771 (srecode-mode-table-find): Search in modetables.
772 (srecode-mode-table-new): Merge the differet files into the
775 2012-10-01 David Engster <deng@randomsample.de>
777 * ede.el (ede-apply-preprocessor-map): Check that
778 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
779 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
781 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
782 lexical-table even when the table doesn't need to be refreshed.
784 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
786 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
789 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
792 * ede/proj-elisp.el (ede-proj-target-elisp):
793 Remove ede-emacs-preload-compiler.
794 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
796 (ede-emacs-compiler): Add 'require' macro to variables and pattern
797 rule. Add .elc object extension.
798 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
799 (ede-proj-makefile-insert-variables): Do not insert preload items.
800 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
802 * ede/util.el (ede-make-buffer-writable):
803 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
804 instead of calling toggle-read-only.
806 * semantic.el (semantic-fetch-tags): Use progress reporter only
807 when called interactively.
808 (semantic-submode-list): Add debugging modes.
809 (semantic-mode): Remove Semantic from after-change-functions.
810 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
811 set semantic-new-buffer-fcn-was-run to nil.
813 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
814 (semantic-analyze-tag-prototype-p-default): Remove.
815 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
816 Use semantic-tag-prototype-p.
818 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
819 Ensure semantic-mode is on before getting preprocessor symbols.
820 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
821 (semantic-c-convert-spp-value-to-hideif-value)
822 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
823 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
824 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
825 regular expression parsing.
826 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
827 (semantic-expand-c-tag): Check if tag is non-nil before adding it
829 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
830 New functions, copied from semantic-expand-c-tag.
831 (semantic-find-tags-included): New override which also searches
832 for include tags inside of namespaces.
833 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
834 (semanticdb-find-table-for-include): New override.
836 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
838 * semantic/complete.el (semantic-complete-post-command-hook):
839 Exit completion when user has deleted all characters from the prefix.
840 (semantic-displayor-focus-request): Return to previous window when
843 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
844 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
846 * semantic/db-file.el (semanticdb-create-database):
847 Use semantic-tag-version instead of just semantic-version as the
848 initializer for the :semantic-tag-version slot.
850 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
851 Delegate `include' to semantic-find-tags-included, which by
852 default will just call semantic-find-tags-by-class.
854 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
855 when calling semantic-find-file-noselect. This avoids the "file
856 is write protected" messages when parsing system header files,
857 which might easily be mistaken to mean the currently loaded file.
858 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
859 message when running interactively.
861 * semantic/decorate/mode.el (semantic-decoration-mode):
862 Activate decoration of includes by default.
864 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
865 Remove comment delimiter at the end of the text.
867 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
868 Change aux- and pre-load-packages.
869 (ede-proj-makefile-dependencies): Update pattern rule so that
870 resulting parsers are also byte-compiled.
871 (semantic-ede-grammar-compiler-bovine)
872 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
873 pattern, since this is already covered by the elisp compiler.
874 (project-compile-target): Add compatibility code for Emacs 23,
875 which does not have `byte-recompile-file'.
876 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
877 to raise max-specpdl-size and max-lisp-eval-depth.
879 * semantic/find.el (semantic-find-tags-included):
882 * semantic/fw.el (semantic-alias-obsolete)
883 (semantic-varalias-obsolete): Use byte-compile-warn.
884 (semantic-find-file-noselect): Disable font lock by calling
885 global-font-lock-mode.
887 * semantic/grammar.el (semantic-grammar-create-package):
889 (semantic-grammar-batch-build-one-package): When generating
890 parsers in batch-mode, ignore version control and make sure we do
891 not use cached versions.
893 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
895 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
896 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
897 (semantic-lex-spp-lex-text-string): Instead of only setting the
898 lexer, call the major mode's setup function.
900 * semantic/scope.el (semantic-analyze-scoped-types-default):
901 Use semantic-tag-prototype-p.
902 (semantic-analyze-scope-nested-tags-default): Make sure we don't
903 return tags we already have in scopetypes.
905 * semantic/symref/filter.el
906 (semantic-symref-test-count-hits-in-tag): Restore.
908 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
909 Use most-positive-fixnum if available.
911 * semantic/wisent/javascript.el (semantic-tag-protection)
912 (semantic-analyze-scope-calculate-access)
913 (semantic-ctxt-current-symbol): New overrides.
915 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
916 Rewrite to fix byte-compiler warning.
918 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
920 * ede/linux.el (project-linux): New group.
921 (project-linux-compile-target-command)
922 (project-linux-compile-project-command): New options.
923 (project-compile-project, project-compiler-target): New methods.
925 * inversion.el (inversion-decoders): New regexps for SXEmacs.
926 (inversion-package-version): More verbose error message.
927 (inversion-<): Deal with new special cases.
928 (inversion-require-emacs): New argument sxemacs-ver; use it.
930 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
932 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
934 2012-10-01 William Xu <william.xwl@gmail.com>
936 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
938 (semantic-gcc-setup): If the first attempt at calling cpp fails,
941 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
944 (semantic-idle-breadcrumbs--display-in-header-line):
945 Escape %-characters to avoid erroneous expansion in header line.
946 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
948 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
949 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
950 (semantic-python-private-p, semantic-python-instance-variable-p)
951 (semantic-python-docstring-p): New functions.
953 * srecode/find.el (srecode-user-template-p): New function.
954 (srecode-all-template-hash): Accept new optional argument
955 predicate; return only templates matching the predicate.
956 (srecode-read-template-name): Only retrieve templates matching
957 srecode-user-template-p.
959 * srecode/insert.el (srecode-insert-show-error-report)
960 (srecode-insert-report-error): New functions.
961 (srecode-insert-variable-secondname-handler)
962 (srecode-insert-method, srecode-insert-ask-default)
963 (srecode-insert-variable-secondname-handler)
964 (srecode-insert-subtemplate, srecode-insert-method-helper)
965 (srecode-insert-include-lookup): Use them.
967 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
969 * semantic/wisent/python.el
970 (semantic-python-get-system-include-path): Add Python3k support.
972 2012-10-01 Alexander Haeckel <_@_> (tiny change)
974 * srecode/getset.el (srecode-query-for-field): Return the first
975 tag found by name from all children tags.
977 2012-10-01 Dale Sedivec <dale@codefu.org>
979 * semantic/wisent/python.el (wisent-python-string-start-re)
980 (wisent-python-string-re, wisent-python-forward-string)
981 (wisent-python-forward-line,wisent-python-lex-string):
983 (wisent-python-forward-balanced-expression): New function.
985 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
987 * semantic/complete.el (semantic-collector-calculate-completions):
988 Search for additional matches if new prefix is a substring of the
990 (semantic-displayor-next-action): Immediately show more
991 completions after user presses TAB the first time.
992 (semantic-displayor-tooltip-mode)
993 (semantic-displayor-tooltip-initial-max-tags)
994 (semantic-displayor-tooltip-max-tags): New defcustoms.
995 (semantic-displayor-tooltip): Use new variables as initforms.
996 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
998 (semantic-displayor-show-request): Display completions according
999 to new modes, and make variable names clearer.
1000 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
1001 Use new max-tags-initial slot.
1003 * semantic/idle.el (semantic-idle-local-symbol-highlight):
1004 Make sure there actually is a tag at point.
1005 (semantic-idle-completion-list-default): Report errors as messages
1006 if semantic-idle-scheduler-verbose-flag is non-nil.
1008 2012-10-01 Richard Kim <emacs18@gmail.com>
1010 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
1011 Add optional NOERROR argument.
1013 2012-10-01 Alex Ott <alexott@gmail.com>
1015 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
1018 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1020 * semantic/db-find.el (semanticdb-find-default-throttle):
1022 (semanticdb-strip-find-results): Check for existing :filename
1023 attribute, so that file information from GNU Global is not lost.
1025 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1027 * ede/base.el (ede-with-projectfile): Use backquote forms.
1029 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1031 inaccessable -> inaccessible spelling fix (Bug#10052)
1032 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
1033 Rename from wisent-inaccessable-symbols, fixing a misspelling.
1036 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
1038 * ede/project-am.el: Fix typo.
1040 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1042 Rename configure.in to configure.ac (Bug#11603).
1043 * ede/autoconf-edit.el (autoconf-find-query-for-program)
1044 (autoconf-new-program):
1045 * ede/emacs.el (ede-emacs-version):
1046 * ede/proj.el (ede-proj-setup-buildenvironment):
1047 * ede/project-am.el (project-am-autoconf-file-options):
1048 Prefer configure.ac to configure.in.
1050 2012-03-12 David Engster <deng@randomsample.de>
1052 * semantic/db-find.el
1053 (semanticdb-find-translate-path-brutish-default): If we don't yet
1054 have a proper table for PATH, use `semanticdb-current-database'
1055 instead (bug #10343).
1057 2012-03-11 David Engster <deng@randomsample.de>
1059 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1060 child-mode of `javascript-mode' (bug #8445).
1062 2012-02-28 Glenn Morris <rgm@gnu.org>
1064 * semantic/db.el (semanticdb-search-results-table):
1065 Doc fix (standardize possessive apostrophe usage).
1067 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1069 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1072 2012-01-29 David Engster <deng@randomsample.de>
1074 Fix require error when using srecode-insert (Bug#9967).
1075 * srecode/insert.el: Require srecode/filters.
1076 * srecode/filters.el: Drop two requires.
1078 2012-01-09 Eric Ludlam <zappo@gnu.org>
1080 * ede.el (ede-project-directories): New option.
1081 (ede-directory-safe-p): Check it.
1082 (ede-initialize-state-current-buffer, ede, ede-new)
1083 (ede-check-project-directory, ede-rescan-toplevel)
1084 (ede-load-project-file, ede-parent-project, ede-current-project):
1085 (ede-target-parent): Avoid loading in a project unless it is safe,
1086 since it may involve malicious code. This security flaw was
1087 pointed out by Hiroshi Oota.
1089 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1090 (ede-project-class-files): Projects using Project.ede are unsafe.
1091 (ede-auto-load-project): New method.
1093 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1095 2011-12-19 Sam Steingold <sds@gnu.org>
1097 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1098 autoload cookie, necessary for JDEE.
1100 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1102 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1104 2011-11-26 Chong Yidong <cyd@gnu.org>
1106 * semantic/wisent/python-wy.el:
1107 * semantic/wisent/js-wy.el:
1108 * semantic/wisent/javat-wy.el:
1109 * semantic/bovine/c-by.el:
1110 * semantic/grammar-wy.el: Regenerate.
1112 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1114 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1116 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1118 * cedet-cscope.el (cedet-cscope-version-check):
1119 * cedet-global.el (cedet-global-min-version)
1120 (cedet-gnu-global-version-check):
1121 * cedet.el (cedet-version):
1122 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1123 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1124 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1125 (ede-add-project-to-global-list, ede-map-all-subprojects):
1126 * inversion.el (inversion-check-version):
1127 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1128 (define-overloadable-function):
1129 * pulse.el (pulse-flag, pulse):
1130 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1132 * ede/proj-comp.el (ede-compilation-program):
1133 * semantic/debug.el (semantic-debug-parser-go)
1134 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1135 (semantic-debug-parser-abort):
1136 * semantic/idle.el (semantic-idle-core-handler):
1137 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1140 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1142 * semantic/lex.el (semantic-lex-tokens):
1143 * semantic/tag-ls.el (semantic-tag-protected-p):
1144 * srecode/mode.el (srecode-prefix-map): Fix typos.
1146 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1148 * ede/project-am.el (project-compile-target-command): Fix typo.
1150 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1152 * ede/auto.el (ede-project-autoload):
1153 * ede/proj-comp.el (ede-makefile-rule):
1154 * semantic/analyze.el (semantic-analyze-current-context):
1155 * semantic/ctxt.el (semantic-get-local-variables):
1156 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1158 2011-11-03 David Engster <dengste@eml.cc>
1162 * srecode/template.el:
1164 * srecode/insert.el:
1165 * srecode/document.el:
1166 * srecode/dictionary.el:
1167 * srecode/compile.el:
1168 * semantic/wisent/java-tags.el:
1171 * semantic/lex-spp.el:
1174 * semantic/db-typecache.el:
1175 * semantic/analyze/complete.el:
1179 * ede/base.el: Fix filenames in comments and headers.
1181 * semantic/db-find.el:
1182 * srecode/insert.el (srecode-insert-include-lookup):
1183 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1184 comments and docstrings.
1186 * semantic/ctxt.el (semantic-end-of-context-default):
1187 * semantic/find.el (semantic-find-tags-by-scope-protection):
1188 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1191 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1192 (semanticdb-abstract-db-cache):
1193 * semantic/decorate/include.el
1194 (semantic-decoration-unknown-include-describe): Fix filenames in
1197 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1198 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1199 added to the grammar-make-script.
1201 2011-10-23 Chong Yidong <cyd@gnu.org>
1203 * ede.el (ede-maybe-checkout): Function deleted;
1204 vc-toggle-read-only does not do version control now.
1206 * ede/util.el (ede-make-buffer-writable): Don't use
1207 vc-toggle-read-only.
1209 * ede/project-am.el (project-remove-file, project-add-file)
1210 (project-new-target): Don't call ede-maybe-checkout.
1212 2011-10-19 Chong Yidong <cyd@gnu.org>
1214 * ede.el (ede-minor-mode,global-ede-mode):
1215 * semantic.el (semantic-mode): Doc fix to reflect new
1216 define-minor-mode calling behavior.
1218 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1220 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1223 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1225 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1226 unconfigured projects if `global-ede-mode' is on (bug#8092).
1228 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1230 * semantic.el (semantic-elapsed-time): Rewrite using
1231 time-subtract and float-time.
1233 2011-05-11 Glenn Morris <rgm@gnu.org>
1235 * semantic/wisent/javascript.el (semantic-get-local-variables):
1236 Use define-mode-local-override rather than its obsolete alias.
1238 2011-05-10 Jim Meyering <meyering@redhat.com>
1240 Fix doubled-word typos.
1241 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1242 * semantic/complete.el (semantic-complete-read-tag-local-members):
1244 * ede.el (ede-auto-add-method): then then -> then
1246 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1248 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1249 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1250 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1251 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1252 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1254 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1256 * Version 23.3 released.
1258 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1260 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1261 Macroexpand before passing to byte-compile-form.
1263 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1266 * semantic/symref/list.el (semantic-symref-results-mode):
1269 2010-11-12 Glenn Morris <rgm@gnu.org>
1271 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1273 2010-11-10 Glenn Morris <rgm@gnu.org>
1275 * semantic/bovine/c.el: Test system-type with memq.
1277 2010-11-09 Glenn Morris <rgm@gnu.org>
1279 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1280 * semantic/grammar.el (semantic-grammar-epilogue):
1281 * ede/speedbar.el (ede-find-nearest-file-line):
1282 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1283 * ede/autoconf-edit.el (autoconf-delete-parameter):
1284 Use point-at-bol and point-at-eol.
1286 2010-11-07 Glenn Morris <rgm@gnu.org>
1288 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1290 2010-11-01 Glenn Morris <rgm@gnu.org>
1292 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1294 * semantic/symref/cscope.el (ede-toplevel):
1295 * semantic/symref.el (ede-toplevel):
1296 * semantic/tag-file.el (ede-toplevel):
1297 * ede.el (ede-toplevel): Fix declarations.
1299 2010-10-31 Glenn Morris <rgm@gnu.org>
1301 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1302 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1304 2010-10-31 Julien Danjou <julien@danjou.info>
1306 * ede/proj-elisp.el (project-compile-target):
1307 * semantic/ede-grammar.el (project-compile-target):
1308 Use `byte-recompile-file'.
1310 2010-10-31 Glenn Morris <rgm@gnu.org>
1312 * mode-local.el (mode-local-augment-function-help):
1313 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1314 * semantic/symref/list.el (semantic-symref-results-dump)
1315 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1316 of toggle-read-only.
1318 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1320 * semantic/bovine/el.el:
1321 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1322 Fix require statements.
1324 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1326 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1328 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1329 * semantic/imenu.el (semantic-create-imenu-index):
1330 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1331 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1332 Fix require. Suggested by David Engster.
1334 * semantic/bovine/c-by.el: Regenerate.
1336 2010-09-29 Eric Ludlam <zappo@gnu.org>
1338 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1339 (semantic-lex-spp-enable-debug-symbol): New command.
1340 (semantic-lex-spp-value-valid-p)
1341 (semantic-lex-spp-validate-value): New functions.
1342 (semantic-lex-spp-symbol-set)
1343 (semantic-lex-spp-symbol-push): Add call to validate value.
1344 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1345 invalid values during save, just save a nil.
1347 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1349 * ede/linux.el (ede-project-class-files):
1350 * ede/generic.el (ede-generic-new-autoloader):
1351 * ede/emacs.el (ede-project-class-files):
1352 * ede/simple.el (ede-project-class-files):
1353 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1355 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1357 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1359 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1360 Fix typo in error message.
1361 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1363 2010-09-21 Eric Ludlam <zappo@gnu.org>
1365 Synch SRecode to CEDET 1.0.
1367 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1368 'never, disable all pulsing.
1370 * cedet.el (cedet-version):
1371 * srecode.el (srecode-version): Bump version to 1.0.
1373 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1374 (semantic-insert-foreign-tag): Use it.
1376 * srecode/mode.el (srecode-bind-insert):
1377 Call srecode-load-tables-for-mode.
1378 (srecode-minor-mode-templates-menu): Do not list templates that
1379 are not in the current project.
1380 (srecode-menu-bar): Add binding for srecode-macro-help.
1382 * srecode/table.el (srecode-template-table): Add :project slot.
1383 (srecode-dump): Dump it.
1385 * srecode/map.el (srecode-map-update-map): Make map loading more
1388 * srecode/insert.el (srecode-insert-fcn): Merge template
1389 dictionary before resolving arguments.
1390 (srecode-insert-method-helper): Add error checking to make sure
1391 that we only have dictionaries.
1392 (srecode-insert-method): Check template nesting depth when using
1393 point inserter override.
1394 (srecode-insert-method): Install override with depth limit.
1396 * srecode/getset.el (srecode-insert-getset): Force tag table
1397 update. Don't query the class if it is empty.
1399 * srecode/find.el (srecode-template-get-table)
1400 (srecode-template-get-table-for-binding)
1401 (srecode-all-template-hash): Skip if not in current project.
1402 (srecode-template-table-in-project-p): New method.
1404 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1405 (srecode-field-exit-ask): Use it.
1407 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1408 Do not add variables in tables not for the current project.
1409 (srecode-compound-toString): Handle cases where the default value
1410 is another compound value.
1411 (srecode-dictionary-lookup-name): New optional argument
1412 NON-RECURSIVE, which inhibits visiting dictionary parents.
1413 (srecode-dictionary-add-section-dictionary)
1414 (srecode-dictionary-merge): New optional argument FORCE adds
1415 values even if an identically named entry exists.
1416 (srecode-dictionary-add-entries): New method.
1417 (srecode-create-dictionaries-from-tags): New function.
1419 * srecode/cpp.el (srecode-cpp): New defgroup.
1420 (srecode-cpp-namespaces): New option.
1421 (srecode-semantic-handle-:using-namespaces)
1422 (srecode-cpp-apply-templates): New functions.
1423 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1424 by calling `srecode-cpp-apply-templates'.
1426 * srecode/compile.el (srecode-compile-templates): Fix directory
1427 compare of built-in templates. Give built-ins lower piority.
1428 Support special variable "project".
1429 (srecode-compile-template-table): Set :project slot of new tables.
1430 (srecode-compile-one-template-tag):
1431 Use srecode-create-dictionaries-from-tags.
1433 2010-09-21 Eric Ludlam <zappo@gnu.org>
1435 Synch EDE to CEDET 1.0.
1437 * cedet-idutils.el (cedet-idutils-make-command): New option.
1438 (cedet-idutils-mkid-call):
1439 (cedet-idutils-create/update-database): New functions.
1441 * cedet-cscope.el (cedet-cscope-create):
1442 (cedet-cscope-create/update-database): New functions.
1443 (cedet-cscope-support-for-directory): Make interactive.
1445 * cedet-global.el (cedet-global-gtags-command): New option.
1446 (cedet-gnu-global-gtags-call)
1447 (cedet-gnu-global-create/update-database): New functions.
1449 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1450 (ede-make-dist): Always use toplevel project.
1451 (ede-buffer-object): If we fail to find an object in the current
1452 project, loop upward looking for a match. If no target is found,
1453 use most local project.
1454 (ede-buffer-belongs-to-target-p)
1455 (ede-buffer-belongs-to-project-p): New functions.
1456 (ede-initialize-state-current-buffer): New function.
1457 (ede-target-forms-menu, ede-project-buffers): Use them.
1458 (ede-minor-mode, ede-reset-all-buffers): Use it.
1459 (project-interactive-select-target, project-add-file): Don't use
1460 ede-project-force-load.
1461 (ede-buffer-object): New arg PROJSYM.
1462 (ede-minor-mode): Remove ede-directory-project-p test.
1463 (ede-initialize-state-current-buffer): Don't test for
1464 ede-directory-project-p if there is a matching open project.
1465 (ede-customize-forms-menu): Prevent error if there is no project.
1466 (ede-load-project-file): Set ede-constructing to the thing being
1467 constructed, instead of t.
1468 (ede-project-force-load): Delete.
1472 * ede/custom.el: New files.
1474 * ede/autoconf-edit.el (autoconf-find-last-macro)
1475 (autoconf-parameters-for-macro): Parse multiline parameters of
1476 macros. Optionally ignore case and at bol for macro.
1477 (autoconf-parameter-strip): Use greedy match for newlines.
1478 (autoconf-new-automake-string): Delete.
1479 (autoconf-new-program): Use SRecode to fill an empty file.
1481 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1484 * ede/files.el (ede-flush-project-hash): New command.
1485 (ede-convert-path): Add optional PROJECT arg.
1486 (ede-directory-project-p): Obey ".ede-ignore".
1487 (ede-expand-filename-local)
1488 (ede-expand-filename-impl-via-subproj): New methods.
1489 (ede-expand-filename-impl): Use them.
1490 (ede-project-root, ede-project-root-directory): Move to
1493 * ede/locate.el (ede-locate-flush-hash):
1494 (ede-locate-create/update-root-database): New methods.
1495 (initialize-instance): Use ede-locate-flush-hash.
1497 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1498 the top project and not a metasubproject, set TOP to CURDIR.
1499 (ede-proj-makefile-insert-variables): Output a target's object
1500 list whether or not the vars are already in the Makefile.
1501 (ede-pmake-insert-variable-once): New macro.
1503 * ede/project-am.el (project-am-with-makefile-current):
1504 Add recentf-exclude.
1505 (project-am-load-makefile): Obey an optional suggested name.
1506 (project-am-expand-subdirlist): New function.
1507 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1509 (project-am-meta-type-alist): A list to scan better Makefile.am.
1510 (project-am-scan-for-targets): Scan also over
1511 project-am-meta-type-alist.
1512 (ede-system-include-path): Simple implementation.
1513 (ede-find-target): Delete. EDE core takes care of this.
1514 (ede-buffer-mine): Create the searched filename as relative.
1515 (project-am-load): Simplify, using autoconf-edit.
1516 (project-am-extract-package-info): Fix separators.
1518 * ede/proj.el (project-run-target): New method.
1519 (project-make-dist, project-compile-project):
1520 Use ede-proj-automake-p to determine which kind of compile to use.
1521 (project-rescan): Call ede-load-project-file.
1522 (ede-buffer-mine): Add more file names that belong to the project.
1523 (ede-proj-compilers): Improve error message.
1525 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1526 (ede-source-c++): Add more C++ extensions.
1527 (ede-proj-target-makefile-objectcode): Quote initforms.
1528 Support lex and yacc.
1530 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1531 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1532 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1533 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1534 (ede-proj-target-makefile-program): Swap order of two slots so
1535 they show up in the same order as in the command line.
1536 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1538 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1539 Fix inference rule to use cpp files.
1540 (ede-proj-target-makefile-shared-object): Quote initforms.
1542 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1543 * ede/proj-info.el (ede-proj-target-makefile-info):
1544 * ede/proj-aux.el (ede-proj-target-aux):
1545 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1546 * ede/proj-elisp.el (ede-proj-target-elisp)
1547 (ede-proj-target-elisp-autoloads): Quote initforms.
1549 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1551 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1553 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1554 occur while waiting for the compile process to finish, pull them
1555 in and discard those events.
1557 2010-09-19 Eric Ludlam <zappo@gnu.org>
1559 Synch Semantic to CEDET 1.0.
1561 * semantic.el (semantic-version): Update to 2.0.
1562 (semantic-mode-map): Add "," and "m" bindings.
1563 (navigate-menu): Update.
1565 * semantic/symref.el (semantic-symref-calculate-rootdir):
1567 (semantic-symref-detect-symref-tool): Use it.
1569 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1570 (semantic-symref-perform-search): Use it. Calculate root dir with
1571 semantic-symref-calculate-rootdir.
1572 (semantic-symref-derive-find-filepatterns): Improve error message.
1574 * semantic/symref/list.el
1575 (semantic-symref-results-mode-map): New bindings.
1576 (semantic-symref-auto-expand-results): New option.
1577 (semantic-symref-results-dump): Obey auto-expand.
1578 (semantic-symref-list-expand-all, semantic-symref-regexp)
1579 (semantic-symref-list-contract-all)
1580 (semantic-symref-list-map-open-hits)
1581 (semantic-symref-list-update-open-hits)
1582 (semantic-symref-list-create-macro-on-open-hit)
1583 (semantic-symref-list-call-macro-on-open-hits): New functions.
1584 (semantic-symref-list-menu-entries)
1585 (semantic-symref-list-menu): New vars.
1586 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1587 match before calling the mapped function.
1590 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1591 mode doesn't provide comment-start-skip.
1594 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1595 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1596 looking for as part of the scoped tags list.
1598 * semantic/html.el (semantic-default-html-setup):
1599 Add senator-step-at-tag-classes.
1601 * semantic/decorate/include.el
1602 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1603 (semantic-decoration-on-includes-highlight-default): Check that
1604 the include tag has a position.
1606 * semantic/complete.el (semantic-collector-local-members):
1607 (semantic-complete-read-tag-local-members)
1608 (semantic-complete-jump-local-members): New class and functions.
1609 (semantic-complete-self-insert): Save excursion before completing.
1611 * semantic/analyze/complete.el
1612 (semantic-analyze-possible-completions-default): If no completions
1613 are found, return the raw by-name-only completion list. Add FLAGS
1614 arguments. Add support for 'no-tc (type constraint) and
1615 'no-unique, or no stripping duplicates.
1616 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1618 * semantic/util-modes.el
1619 (semantic-stickyfunc-show-only-functions-p): New option.
1620 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1621 the very first line in a buffer.
1623 * semantic/util.el (semantic-hack-search)
1624 (semantic-recursive-find-nonterminal-by-name)
1625 (semantic-current-tag-interactive): Delete.
1626 (semantic-describe-buffer): Fix expand-nonterminal.
1627 Add lex-syntax-mods, type relation separator char, and command
1629 (semantic-sanity-check): Only message if called interactively.
1631 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1632 :filename property and the tag position.
1634 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1635 Add recursion limit.
1637 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1638 Make this buffer local, not the obsoleted variable.
1640 * semantic/idle.el: Add breadcrumbs support.
1641 (semantic-idle-summary-current-symbol-info-default)
1642 (semantic-idle-tag-highlight)
1643 (semantic-idle-completion-list-default):
1644 Use semanticdb-without-unloaded-file-searches for speed, and to
1645 conform to the controls that specify if the idle timer is supposed
1646 to be parsing unparsed includes.
1647 (semantic-idle-symbol-highlight-face)
1648 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1650 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1651 (semantic-idle-work-update-headers-flag): New var.
1652 (semantic-idle-work-for-one-buffer): Use it.
1653 (semantic-idle-local-symbol-highlight): Rename from
1654 semantic-idle-tag-highlight.
1655 (semantic-idle-truncate-long-summaries): New option.
1657 * semantic/ia.el (semantic-ia-cache)
1658 (semantic-ia-get-completions): Delete. Callers changed.
1659 (semantic-ia-show-variants): New command.
1660 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1661 (semantic-ia-show-summary): If there isn't anything to show, say so.
1663 * semantic/grammar.el (semantic-grammar-create-package):
1664 Save the buffer even in batch mode.
1667 (semanticdb-without-unloaded-file-searches): New macro.
1669 * semantic/dep.el (semantic-dependency-find-file-on-path):
1670 Fix case dereferencing ede-object when it is a list.
1672 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1673 (semanticdb-typecache-faux-namespace): New functions.
1674 (semanticdb-typecache-file-tags)
1675 (semanticdb-typecache-merge-streams): Use them.
1676 (semanticdb-typecache-file-tags): When deriving tags from a file,
1677 give the mode a chance to monkey with the tag copy.
1678 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1679 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1681 * semantic/db-global.el
1682 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1683 GNU Global is not available and we don't want to throw an error.
1685 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1686 When trying to normalize the tag to a buffer, don't error if
1687 set-buffer method doesn't exist.
1689 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1691 * semantic/db.el (semanticdb-refresh-table): If forcing a
1692 refresh on a file not in a buffer, use semantic-find-file-noselect
1693 and delete the buffer after use.
1694 (semanticdb-current-database-list): When calculating root via
1695 hooks, force it through true-filename and skip the list of
1698 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1700 * semantic/analyze/debug.el
1701 (semantic-analyzer-debug-insert-tag): Reset standard output to
1703 (semantic-analyzer-debug-global-symbol)
1704 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1705 "symbol" in messages.
1707 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1708 (semantic-analyze-refs-proto): When calculating value, make sure
1709 the found tag is 'similar' to the originating tag.
1710 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1711 identify matches via imported symbols of parents.
1712 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1713 search during the brute search.
1715 * semantic/analyze.el
1716 (semantic-analyze-find-tag-sequence-default): Be robust to
1717 calculated scopes being nil.
1719 * semantic/bovine/c.el (semantic-c-describe-environment):
1720 Add project macro symbol array.
1721 (semantic-c-parse-lexical-token): Add recursion limit.
1722 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1724 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1726 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1727 inline type if it is an anonymous type.
1728 (semantic-c-reconstitute-token): Use the optional initializers as
1729 a clue that some function is probably a constructor.
1730 When defining the type of these constructors, split the parent name,
1731 and use only the class part, if applicable.
1733 * semantic/bovine/c-by.el:
1734 * semantic/wisent/python-wy.el: Regenerate.
1736 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1738 * semantic/db-file.el (object-write): Fix typo in docstring.
1740 2010-06-03 Eric Ludlam <zappo@gnu.org>
1742 * semantic/lex-spp.el
1743 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1744 invalid values during save, just save a nil (Bug#6324).
1746 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1748 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1751 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1753 Use a mode-line spec rather than a static string in Semantic.
1754 * semantic/util-modes.el:
1755 (semantic-minor-modes-format): New var to replace...
1756 (semantic-minor-modes-status): Remove.
1757 (semantic-mode-line-update): Construct a mode-line spec rather than
1758 a static string so that mouse buttons can be used on individual minor
1759 modes and so that semantic-mode-line-update only needs to be called
1760 when global settings are changed.
1761 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1762 Call semantic-mode-line-update.
1763 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1764 minor-mode-alist, check semantic-minor-mode-alist as well.
1765 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1766 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1767 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1768 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1769 * semantic/idle.el (semantic-idle-scheduler-mode)
1770 (define-semantic-idle-service, semantic-idle-summary-mode):
1771 * semantic/decorate/mode.el (semantic-decoration-mode):
1772 Don't call semantic-mode-line-update any more.
1774 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1776 Use define-minor-mode in CEDET where applicable.
1778 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1779 Use define-minor-mode.
1781 * semantic/util-modes.el (semantic-add-minor-mode):
1782 Remove unused arg `keymap' and code redundant with define-minor-mode.
1783 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1784 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1785 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1786 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1787 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1788 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1789 Use define-minor-mode.
1790 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1791 (semantic-show-unmatched-syntax-mode-setup)
1792 (semantic-show-parser-state-mode-setup)
1793 (semantic-highlight-func-mode-setup): Inline into sole caller.
1795 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1796 (semantic-mru-bookmark-mode): Use define-minor-mode.
1797 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1799 * semantic/idle.el (define-semantic-idle-service):
1800 Use define-minor-mode and inline setup function into its sole caller.
1801 (semantic-idle-scheduler-mode-setup)
1802 (semantic-idle-summary-mode-setup): Inline into sole caller.
1803 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1804 Use define-minor-mode.
1806 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1807 (semantic-decoration-mode): Use define-minor-mode.
1808 (semantic-decoration-mode-setup): Inline into sole caller.
1810 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1811 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1812 (ede-dired-add-to-target): Use dolist.
1814 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1816 * semantic.el (semantic-completion-at-point-function):
1818 (semantic-mode): Use semantic-completion-at-point-function for
1819 completion-at-point-functions instead.
1821 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1823 * semantic.el (semantic-mode): When enabled, add
1824 semantic-ia-complete-symbol to completion-at-point-functions.
1826 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1827 if Semantic is not active.
1829 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1831 * ede/pmake.el (ede-proj-makefile-insert-variables):
1832 Don't destroy list before using it.
1834 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1836 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1837 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1838 (semantic-imenu-goto-function): Reflow docstring.
1840 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1842 * srecode/table.el (srecode-template-table): Fix docstring typo.
1844 2010-03-24 Glenn Morris <rgm@gnu.org>
1846 * semantic/bovine/c.el (semantic-c-describe-environment):
1847 Consistently check ede-object is bound throughout.
1849 * ede/project-am.el (ede-shell-run-something): Declare.
1851 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1853 * semantic/imenu.el: New file, from the CEDET repository
1856 2010-03-06 Glenn Morris <rgm@gnu.org>
1858 * semantic/grammar.el (semantic-grammar-header-template):
1859 Update template copyright to GPLv3+.
1861 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1863 * semantic/db-find.el
1864 (semanticdb-find-translate-path-brutish-default):
1865 * ede/make.el (ede-make-check-version):
1866 Use with-current-buffer instead of save-excursion.
1868 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1870 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1871 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1873 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1875 * data-debug.el (data-debug): Move to extensions group.
1878 * srecode.el (srecode):
1879 * semantic.el (semantic): Put in tools and extensions group.
1881 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1883 * ede.el (ede-run-target, project-delete-target)
1884 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1885 (ede-adebug-project, ede-adebug-project-parent)
1886 (ede-adebug-project-root): Fix typos in docstrings.
1888 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1890 * ede/locate.el (ede-locate-file-in-project)
1891 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1892 (ede-enable-locate-on-project): Fix typos in error messages.
1894 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1895 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1896 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1897 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1898 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1899 Fix typos in menu help.
1901 * semantic.el (semantic-require-version, semantic--buffer-cache)
1902 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1903 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1904 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1905 (semantic-parse-stream, semantic-parse-region)
1906 (semantic-parse-region-default, semantic--set-buffer-cache)
1907 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1908 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1909 (semantic-default-submodes):
1910 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1911 (semanticdb-create-ebrowse-database)
1912 (semanticdb-find-tags-for-completion-method)
1913 (semanticdb-find-tags-by-class-method)
1914 (semanticdb-deep-find-tags-by-name-method)
1915 (semanticdb-deep-find-tags-for-completion-method):
1916 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1917 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1918 (semanticdb-find-tags-for-completion-method)
1919 (semanticdb-find-tags-by-class-method)
1920 (semanticdb-deep-find-tags-for-completion-method):
1921 * semantic/db-find.el (semanticdb-find-translate-path)
1922 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1923 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1924 (semanticdb-find-tags-by-name-method)
1925 (semanticdb-find-tags-by-name-regexp-method)
1926 (semanticdb-find-tags-for-completion-method)
1927 (semanticdb-find-tags-by-class-method)
1928 (semanticdb-find-tags-external-children-of-type-method)
1929 (semanticdb-find-tags-subclasses-of-type-method)
1930 (semanticdb-deep-find-tags-by-name-method)
1931 (semanticdb-deep-find-tags-by-name-regexp-method)
1932 (semanticdb-deep-find-tags-for-completion-method):
1933 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1934 (semanticdb-enable-gnu-global-in-buffer)
1935 (semanticdb-find-tags-for-completion-method)
1936 (semanticdb-deep-find-tags-by-name-method)
1937 (semanticdb-deep-find-tags-for-completion-method):
1938 * semantic/db-javascript.el (semanticdb-javascript-tags)
1939 (javascript-mode, semanticdb-find-translate-path)
1940 (semanticdb-find-tags-for-completion-method)
1941 (semanticdb-find-tags-by-class-method)
1942 (semanticdb-deep-find-tags-by-name-method)
1943 (semanticdb-deep-find-tags-for-completion-method)
1944 (semanticdb-find-tags-external-children-of-type-method):
1945 * semantic/idle.el (semantic-idle-work-core-handler)
1946 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1947 (global-semantic-idle-scheduler-mode):
1948 * srecode/dictionary.el (srecode-field-value)
1949 (srecode-dictionary-add-section-dictionary):
1950 Fix typos in docstrings.
1952 2010-01-17 Glenn Morris <rgm@gnu.org>
1954 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1956 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1958 * semantic.el (semantic-mode): Fix typos in docstrings.
1960 2010-01-16 Mario Lang <mlang@delysid.org>
1962 * ede/cpp-root.el (ede-cpp-root-project):
1963 * ede/files.el (ede-expand-filename):
1964 * ede/simple.el (ede-simple-project):
1965 * semantic/complete.el (semantic-complete-read-tag-engine)
1966 (semantic-complete-inline-tag-engine):
1967 * semantic/db-el.el (semanticdb-equivalent-mode):
1968 * semantic/db-global.el (semanticdb-equivalent-mode):
1969 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1970 * semantic/db.el (semanticdb-equivalent-mode):
1971 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1972 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1973 Remove duplicated words in doc-strings.
1975 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1977 * semantic/edit.el (semantic-reparse-needed-change-hook)
1978 (semantic-no-reparse-needed-change-hook):
1979 * srecode/insert.el (srecode-resolve-argument-list)
1980 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1981 (srecode-template-inserter-ask, srecode-template-inserter-width)
1982 (srecode-template-inserter-section-start)
1983 (srecode-template-inserter-section-end, srecode-insert-method):
1984 Fix typos in docstrings.
1986 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1988 * data-debug.el (data-debug): Fix customization group reference.
1990 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1992 * semantic/analyze.el (semantic-analyze-push-error)
1993 (semantic-analyze-context, semantic-analyze-context-assignment)
1994 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1995 * semantic/java.el (java-mode, semantic-tag-include-filename)
1996 (semantic-java-doc-keywords-map):
1997 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1998 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1999 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
2000 (semantic-c-classname, semantic-format-tag-uml-prototype)
2001 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
2002 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
2003 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
2004 (semantic-get-local-variables, semantic-end-of-command)
2005 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
2007 * semantic/bovine/make.el (makefile-mode):
2008 * semantic/wisent/python.el (wisent-python-string-re)
2009 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
2010 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
2011 (semantic-lex, semantic-get-local-variables, python-mode):
2012 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
2013 * srecode/extract.el (srecode-extract-state-set)
2014 (srecode-extract-method): Fix typos in docstrings.
2016 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
2018 * semantic.el (semantic-new-buffer-setup-functions):
2021 2010-01-10 Richard Kim <emacs18@gmail.com>
2023 * semantic/wisent/python-wy.el:
2024 * semantic/wisent/python.el: New files.
2026 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
2028 * semantic/db-typecache.el (semanticdb-typecache-find-default):
2029 Fix typo in docstring.
2031 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
2033 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2034 (semantic-mru-bookmark-mode): Doc fixes.
2036 * semantic/db.el (semanticdb-cache-get): Use error instead
2039 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2041 * semantic/ia.el (semantic-ia-complete-symbol):
2042 Make argument optional.
2044 2009-12-05 Eric Ludlam <zappo@gnu.org>
2046 * semantic/bovine/c.el (semantic-c-describe-environment):
2047 Describe project macro symbols.
2049 * semantic/complete.el (semantic-complete-do-completion):
2050 Don't call semantic-collector-current-exact-match.
2052 * ede.el (ede-apply-preprocessor-map): Accept lists of
2053 ede-objects as targets.
2055 * ede/pmake.el (ede-proj-makefile-insert-variables):
2056 Output a target's object list even if compiler vars are already in the
2059 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2060 list of headers producing necessary macros.
2062 2009-11-24 Glenn Morris <rgm@gnu.org>
2064 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2065 Move after definition of global-semantic-idle-tag-highlight-mode.
2067 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2069 * srecode/map.el (srecode-get-maps):
2070 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2071 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2072 * semantic/decorate/mode.el (semantic-decoration-mode)
2073 (semantic-toggle-decoration-style):
2074 * semantic/decorate/include.el
2075 (semantic-decoration-include-describe)
2076 (semantic-decoration-unknown-include-describe)
2077 (semantic-decoration-unparsed-include-describe)
2078 (semantic-decoration-all-include-summary):
2079 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2080 * semantic/analyze/complete.el
2081 (semantic-analyze-possible-completions):
2082 * semantic/util-modes.el (semantic-highlight-edits-mode)
2083 (semantic-show-unmatched-syntax-mode)
2084 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2085 (semantic-highlight-func-mode):
2086 * semantic/util.el (semantic-describe-buffer):
2087 * semantic/symref.el (semantic-symref-find-references-by-name)
2088 (semantic-symref-find-tags-by-name)
2089 (semantic-symref-find-tags-by-regexp)
2090 (semantic-symref-find-tags-by-completion)
2091 (semantic-symref-find-file-references-by-name)
2092 (semantic-symref-find-text):
2093 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2095 * semantic/scope.el (semantic-calculate-scope):
2096 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2097 * semantic/idle.el (semantic-idle-scheduler-mode)
2098 (define-semantic-idle-service):
2099 * semantic/complete.el (semantic-complete-analyze-inline)
2100 (semantic-complete-analyze-inline-idle):
2101 * semantic/analyze.el (semantic-analyze-current-context):
2102 * mode-local.el (describe-mode-local-bindings)
2103 (describe-mode-local-bindings-in-mode):
2104 * ede/make.el (ede-make-check-version):
2105 * ede/locate.el (ede-enable-locate-on-project):
2106 * cedet-idutils.el (cedet-idutils-expand-filename)
2107 (cedet-idutils-version-check):
2108 * cedet-global.el (cedet-gnu-global-expand-filename)
2109 (cedet-gnu-global-version-check):
2110 * cedet-cscope.el (cedet-cscope-expand-filename)
2111 (cedet-cscope-version-check): Use called-interactively-p instead
2114 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2115 Use semantic-format-tag-prototype.
2117 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2119 * semantic/complete.el (semantic-complete-read-tag-engine)
2120 (semantic-complete-jump-local, semantic-complete-jump):
2121 Improve prompt string.
2123 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2125 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2127 * semantic/idle.el (define-semantic-idle-service)
2128 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2130 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2132 * cedet.el (cedet-menu-map): Re-order menu items.
2134 * semantic.el: Enable idle-mode menu items only if
2135 global-semantic-idle-scheduler-mode is enabled.
2136 (semantic-default-submodes): Doc fix.
2138 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2139 When turning off, disable other idle modes.
2141 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2143 * semantic/idle.el (semantic-idle-summary-mode)
2144 (semantic-idle-summary-mode): Define using define-minor-mode
2145 instead of define-semantic-idle-service.
2146 (semantic-idle-summary-mode): New function.
2147 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2148 that mouse motion does not reset the echo area.
2150 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2152 * semantic/ctxt.el (semantic-get-local-variables):
2153 Disable the progress reporter entirely.
2155 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * semantic/fw.el (semantic/loaddefs):
2158 * srecode.el (srecode/loaddefs):
2159 * ede.el (ede/loaddefs): Load rather than require.
2170 * semantic/analyze.el:
2171 * semantic/bovine.el:
2172 * semantic/complete.el:
2174 * semantic/db-file.el:
2175 * semantic/db-find.el:
2176 * semantic/db-global.el:
2177 * semantic/db-mode.el:
2178 * semantic/db-typecache.el:
2180 * semantic/debug.el:
2185 * semantic/format.el:
2187 * semantic/ia-sb.el:
2190 * semantic/lex-spp.el:
2192 * semantic/mru-bookmark.el:
2193 * semantic/scope.el:
2194 * semantic/senator.el:
2196 * semantic/symref.el:
2197 * semantic/tag-file.el:
2198 * semantic/tag-ls.el:
2199 * semantic/tag-write.el:
2201 * semantic/util-modes.el:
2202 * semantic/analyze/complete.el:
2203 * semantic/analyze/refs.el:
2204 * semantic/bovine/c.el:
2205 * semantic/bovine/gcc.el:
2206 * semantic/bovine/make.el:
2207 * semantic/bovine/scm.el:
2208 * semantic/decorate/include.el:
2209 * semantic/decorate/mode.el:
2210 * semantic/symref/cscope.el:
2211 * semantic/symref/global.el:
2212 * semantic/symref/grep.el:
2213 * semantic/symref/idutils.el:
2214 * semantic/symref/list.el:
2215 * semantic/wisent/java-tags.el:
2216 * semantic/wisent/javascript.el:
2217 * srecode/compile.el:
2219 * srecode/document.el:
2221 * srecode/expandproto.el:
2222 * srecode/getset.el:
2223 * srecode/insert.el:
2227 * srecode/template.el:
2228 * srecode/texi.el: Remove the file-local setting of
2229 generated-autoload-feature.
2231 2009-11-03 Glenn Morris <rgm@gnu.org>
2233 * mode-local.el (with-mode-local): Doc fix.
2235 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2237 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2240 * ede.el (ede-minor-mode):
2241 * semantic.el (semantic-mode): Toggle menu separators.
2243 2009-10-31 Glenn Morris <rgm@gnu.org>
2245 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2246 Use mapc rather than mapcar because the return value is never used.
2248 * srecode/template.el, semantic/wisent/javascript.el:
2249 * semantic/wisent/java-tags.el, semantic/texi.el:
2251 Suppress harmless warnings about setting up semantic-imenu (not
2252 part of Emacs) variables.
2254 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2256 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2257 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2258 * semantic/symref/grep.el (semantic-symref-perform-search):
2259 * semantic/bovine/gcc.el (semantic-gcc-query):
2260 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2261 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2262 (semantic-analyzer-debug-global-symbol)
2263 (semantic-analyzer-debug-missing-innertype)
2264 (semantic-analyzer-debug-insert-include-summary):
2265 * semantic/util.el (semantic-file-tag-table):
2266 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2267 (semantic-recursive-find-nonterminal-by-name):
2268 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2269 * semantic/tag-file.el (semantic-prototype-file):
2270 * semantic/symref.el (semantic-symref-parse-tool-output):
2271 * semantic/sb.el (semantic-sb-fetch-tag-table):
2272 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2273 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2274 (semantic-idle-summary-maybe-highlight):
2275 * semantic/ia-sb.el (semantic-ia-speedbar)
2276 (semantic-ia-sb-tag-info):
2277 * semantic/grammar.el (semantic-analyze-possible-completions):
2278 * semantic/find.el (semantic-brute-find-tag-by-position):
2279 * semantic/ede-grammar.el (project-compile-target):
2280 (ede-proj-makefile-insert-variables):
2281 * semantic/debug.el (semantic-debug-set-parser-location):
2282 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2283 (semantic-debug-mode, semantic-debug):
2284 * semantic/db.el (semanticdb-needs-refresh-p):
2285 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2286 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2287 * semantic/db-find.el (semanticdb-find-log-new-search)
2288 (semanticdb-find-translate-path-includes--internal)
2289 (semanticdb-reset-log, semanticdb-find-log-activity):
2290 * semantic/db-file.el (object-write):
2291 * semantic/db-el.el (semanticdb-equivalent-mode):
2292 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2293 (semanticdb-create-ebrowse-database):
2294 * semantic/db-debug.el (semanticdb-table-sanity-check):
2295 * semantic/complete.el (semantic-displayor-focus-request)
2296 (semantic-collector-calculate-completions-raw)
2297 (semantic-complete-read-tag-analyzer):
2298 * semantic/analyze.el (semantic-analyze-pulse):
2299 * ede/util.el (ede-update-version-in-source):
2300 * ede/proj.el (project-delete-target):
2301 * ede/proj-elisp.el (ede-update-version-in-source)
2302 (ede-proj-flush-autoconf):
2303 * ede/pconf.el (ede-proj-configure-synchronize)
2304 (ede-proj-configure-synchronize):
2305 * ede/locate.el (ede-locate-file-in-project-impl):
2306 * ede/linux.el (ede-linux-version):
2307 * ede/emacs.el (ede-emacs-version):
2308 * ede/dired.el (ede-dired-add-to-target):
2309 * ede.el (ede-buffer-header-file, ede-find-target)
2310 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2311 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2312 * cedet-idutils.el (cedet-idutils-fnid-call):
2313 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2314 (cedet-idutils-version-check):
2315 * cedet-global.el (cedet-gnu-global-call):
2316 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2317 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2318 * cedet-cscope.el (cedet-cscope-call)
2319 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2320 Use with-current-buffer.
2321 * ede.el (ede-make-project-local-variable)
2322 (ede-set-project-variables, ede-set): Use dolist.
2324 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * mode-local.el (make-obsolete-overload): Add `when' argument.
2327 (overload-docstring-extension): Use that info.
2328 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2329 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2330 * semantic/tag-ls.el (semantic-nonterminal-protection)
2331 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2332 (semantic-nonterminal-full-name): Add the new `when' info.
2333 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2336 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * semantic/fw.el (semantic-alias-obsolete)
2339 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2340 (define-mode-overload-implementation):
2341 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2342 * semantic/wisent.el (wisent-lex-make-token-table):
2343 * semantic/util.el (semantic-file-token-stream)
2344 (semantic-something-to-stream):
2345 * semantic/tag.el (semantic-tag-make-assoc-list)
2346 (semantic-expand-nonterminal):
2347 * semantic/tag-file.el (semantic-find-nonterminal)
2348 (semantic-find-dependency, semantic-find-nonterminal)
2349 (semantic-find-dependency):
2350 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2351 (semantic-flex-text, semantic-flex-make-keyword-table)
2352 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2353 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2354 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2355 * semantic/java.el (semantic-java-prototype-nonterminal):
2356 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2357 (semantic-after-idle-scheduler-reparse-hooks):
2358 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2359 * semantic/db-mode.el (semanticdb-mode-hooks):
2360 * semantic.el (semantic-toplevel-bovine-table)
2361 (semantic-toplevel-bovine-cache)
2362 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2363 (semantic-init-mode-hooks, semantic-init-db-hooks)
2364 (semantic-bovination-working-type): Provide the `when' arg.
2366 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2368 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2369 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2370 argument to make-obsolete.
2372 * semantic/fw.el (semantic-alias-obsolete)
2373 (semantic-varalias-obsolete): Add optional WHEN argument.
2375 2009-10-21 Eric Ludlam <zappo@gnu.org>
2377 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2378 (semantic-c-debug-mode-init-pch): New functions.
2379 (semantic-c-debug-mode-init-last-mode): New var.
2380 (semantic-c-parse-lexical-token): Use them.
2382 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2383 When extracting the argument list, limit only by point-max.
2385 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2388 * srecode/compile.el:
2389 * semantic/mru-bookmark.el:
2390 * semantic/debug.el:
2391 * semantic/complete.el:
2392 * semantic/analyze.el: Require CL when compiling.
2394 2009-10-17 Eric Ludlam <zappo@gnu.org>
2397 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2398 tmpscope so that the regular scope will continue to work.
2400 * semantic/idle.el (semantic-idle-tag-highlight):
2401 Use semantic-idle-summary-highlight-face as the highlighting.
2403 * ede/project-am.el (project-run-target): New method.
2404 (project-run-target): New method.
2406 * ede.el (ede-target): Add run target menu item.
2407 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2408 (ede-run-target): New function.
2409 (ede-target::project-run-target): New method.
2411 * ede/proj.el (project-run-target): New method.
2413 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2414 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2416 (ede-proj-target-makefile-shared-object): Only libtool compilers
2417 now available. Add linkers for libtool.
2418 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2419 (ede-proj-makefile-target-name): Always use .la extension.
2421 * ede/proj-prog.el (project-run-target): New method.
2423 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2424 (ede-g++-linker): Change Change link lines.
2426 * ede/pmake.el (ede-pmake-insert-variable-shared):
2427 When searching for old variables, go to the end of the buffer and
2428 search backward from there.
2429 (ede-proj-makefile-automake-insert-subdirs)
2430 (ede-proj-makefile-automake-insert-extradist): New methods.
2431 (ede-proj-makefile-create): Use them.
2433 * ede/pconf.el (ede-proj-configure-test-required-file):
2434 Force FILE to expand to the current target. Use file-exists-p to
2435 check that it exists.
2437 * ede/linux.el (ede-linux-version): Don't call "head".
2438 (ede-linux-load): Wrap dir in file-name-as-directory.
2441 * ede/files.el (ede-get-locator-object): When enabling
2442 locate, do so on "top".
2444 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2445 file-name-as-directory during compare.
2446 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2447 Get version number from different places. Don't call egrep.
2448 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2449 to set the directory.
2451 * ede/shell.el: New file.
2453 * inversion.el (inversion-decoders): Allow for stray . in
2454 alpha/beta variants.
2456 2009-10-17 Glenn Morris <rgm@gnu.org>
2458 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2459 All errors should have messages.
2461 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2463 * ede/proj-shared.el (ede-proj-makefile-target-name):
2464 Use .la for Automake.
2466 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2468 * ede/pconf.el (ede-proj-configure-synchronize):
2469 Use "autoreconf -i". Suggested by Andreas Schwab.
2471 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2473 * ede/proj.el (project-make-dist, project-compile-project):
2475 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2476 to expand file names.
2478 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2480 * ede/proj-obj.el (ede-gcc-linker): New var.
2481 (ede-proj-target-makefile-objectcode): Use it.
2483 * ede/source.el (ede-want-any-source-files-p)
2484 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2485 Return search result. This error was introduced while merging.
2487 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2489 * semantic.el (semantic-new-buffer-setup-functions): New option.
2490 (semantic-new-buffer-fcn): Call parser setup functions here.
2491 (semantic-mode): Don't call parser setup functions here, it's done
2492 in semantic-new-buffer-fcn now.
2493 (semantic-mode): Parse all existing buffers when enabled.
2495 * srecode/compile.el (srecode-compile-file):
2496 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2498 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2500 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2502 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2503 (proj-comp-insert-variable-once): New macro, renamed from
2504 ede-pmake-insert-variable-once in ede/pmake.edl.
2505 (ede-proj-makefile-insert-variables): Use it.
2507 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2509 * ede/makefile-edit.el (makefile-beginning-of-command)
2510 (makefile-end-of-command):
2511 * srecode/srt-mode.el (semantic-beginning-of-context)
2512 (semantic-end-of-context): Fix previous change. Doc fixes.
2514 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2516 * ede/makefile-edit.el (makefile-beginning-of-command)
2517 (makefile-end-of-command):
2518 * semantic/lex.el (semantic-lex-token):
2519 * semantic/analyze/fcn.el
2520 (semantic-analyze-dereference-metatype-1):
2521 * semantic/bovine/c.el (semantic-lex-cpp-define)
2522 (semantic-lex-cpp-undef):
2523 * semantic/wisent/wisent.el (wisent-skip-block):
2524 * srecode/srt-mode.el (semantic-beginning-of-context)
2525 (semantic-end-of-context): Fix typos in docstrings.
2527 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2529 * ede.el (ede-project-placeholder-cache-file):
2530 * semantic/db-file.el (semanticdb-default-save-directory):
2531 * srecode/map.el (srecode-map-save-file):
2532 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2534 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2536 * srecode/insert.el: Require srecode/args.
2538 * srecode/args.el: Require srecode/dictionary instead of
2541 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2543 * files.el (auto-mode-alist): Add .srt and Project.ede.
2545 * semantic.el (semantic-mode):
2546 Handle srecode-template-mode-hook as well.
2547 (semantic-mode): Use js-mode-hook for Javascript hook.
2549 * srecode/template.el: Remove hook variable.
2551 * ede/proj-comp.el: Require ede/pmake when compiling.
2553 * ede.el (ede-target-forms-menu): Don't enable if no
2555 (ede-project-placeholder-cache-file): Default to a file in
2556 user-emacs-directory.
2558 * srecode/map.el (srecode-map-base-template-dir): Look for
2559 templates in data-directory.
2560 (srecode-map-save-file): Default to a file in user-emacs-directory.
2562 * ede/srecode.el (ede-srecode-setup): Use default templates
2565 2009-09-30 Eric Ludlam <zappo@gnu.org>
2567 * semantic/util-modes.el (semantic-highlight-func-mode):
2570 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2571 Only insert each variable once.
2573 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2574 (ede-pmake-insert-variable-shared): Use it.
2576 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2577 for lexical table iff table is nil.
2579 2009-10-01 Glenn Morris <rgm@gnu.org>
2581 * semantic/bovine/gcc.el
2582 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2583 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2585 2009-10-03 Glenn Morris <rgm@gnu.org>
2587 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2588 declaration, currently false.
2590 2009-10-01 Glenn Morris <rgm@gnu.org>
2592 * cedet-files.el (cedet-directory-name-to-file-name):
2593 * cedet-idutils.el (cedet-idutils-search)
2594 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2595 (cedet-idutils-version-check):
2596 * cedet.el (cedet-version):
2597 * data-debug.el (data-debug-insert-overlay-button)
2598 (data-debug-insert-overlay-list-button)
2599 (data-debug-insert-buffer-button)
2600 (data-debug-insert-buffer-list-button)
2601 (data-debug-insert-process-button, data-debug-insert-ring-button)
2602 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2603 (data-debug-insert-stuff-vector-button)
2604 (data-debug-insert-symbol-button, data-debug-insert-string)
2605 (data-debug-insert-number, data-debug-insert-lambda-expression)
2606 (data-debug-insert-nil, data-debug-insert-simple-thing)
2607 (data-debug-insert-custom, data-debug-edebug-expr):
2608 * ede.el (ede-auto-add-method, ede-project-class-files)
2609 (global-ede-mode-map, ede-new, ede-debug-target)
2610 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2611 * semantic.el (semantic-minimum-working-buffer-size)
2612 (semantic-fetch-tags, semantic-submode-list)
2613 (semantic-default-submodes):
2614 * ede/source.el (ede-source-match):
2615 * ede/project-am.el (project-am-type-alist, project-add-file)
2616 (project-am-package-info):
2617 * ede/proj.el (ede-proj-target, project-new-target):
2618 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2619 * ede/proj-comp.el (ede-current-build-list):
2620 * ede/makefile-edit.el (makefile-move-to-macro):
2621 * ede/files.el (ede-toplevel-project-or-nil):
2622 * ede/cpp-root.el (initialize-instance):
2623 * ede/autoconf-edit.el (autoconf-find-last-macro)
2624 (autoconf-parameter-strip, autoconf-insert-new-macro):
2625 * semantic/wisent.el (wisent-lex-eoi):
2626 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2627 (semantic-show-parser-state-mode):
2628 * semantic/texi.el (semantic-texi-environment-regexp):
2629 * semantic/tag.el (semantic-tag-new-variable)
2630 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2631 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2632 (semantic--tag-deep-copy-tag-list)
2633 (semantic-tag-components-with-overlays-default):
2634 * semantic/symref.el (semantic-symref-find-text):
2635 * semantic/senator.el (senator-yank-tag)
2636 (senator-transpose-tags-up):
2637 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2638 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2639 * semantic/sb.el (semantic-sb-autoexpand-length):
2640 * semantic/lex.el (semantic-lex-comment-regex)
2641 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2642 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2643 * semantic/lex-spp.el
2644 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2645 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2647 (semantic-idle-summary-current-symbol-info-brutish)
2648 (semantic-idle-summary-current-symbol-info-default):
2649 * semantic/grammar.el (semantic-grammar-recreate-package)
2650 (semantic--grammar-macro-compl-dict):
2651 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2652 * semantic/format.el (semantic-format-tag-custom-list)
2653 (semantic-format-tag-canonical-name-default):
2654 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2655 (semantic-find-tags-for-completion)
2656 (semantic-find-tags-by-scope-protection-default)
2657 (semantic-deep-find-tags-for-completion):
2659 (semantic-edits-incremental-reparse-failed-hook)
2660 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2661 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2662 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2663 * semantic/dep.el (semantic-dependency-include-path):
2664 * semantic/db.el (semanticdb-default-find-index-class)
2665 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2666 (semanticdb-project-roots):
2667 * semantic/db-find.el (semanticdb-implied-include-tags)
2668 (semanticdb-find-adebug-insert-scanned-tag-cons)
2669 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2670 (semanticdb-brute-deep-find-tags-for-completion):
2671 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2672 * semantic/ctxt.el (semantic-beginning-of-context-default)
2673 (semantic-end-of-context-default)
2674 (semantic-ctxt-current-function-default)
2675 (semantic-ctxt-scoped-types-default):
2676 * semantic/complete.el (semantic-complete-read-tag-engine)
2677 (semantic-complete-inline-tag-engine)
2678 (semantic-complete-inline-custom-type)
2679 (semantic-complete-read-tag-analyzer):
2680 * semantic/chart.el (semantic-chart-tags-by-class)
2681 (semantic-chart-database-size):
2682 * semantic/analyze.el (semantic-analyze-current-symbol)
2683 (semantic-analyze-current-context):
2684 * semantic/symref/list.el (semantic-symref)
2685 (semantic-symref-hide-buffer, semantic-symref-symbol):
2686 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2687 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2688 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2689 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2690 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2691 (semantic-c-dereference-template):
2692 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2693 (semantic--analyze-refs-full-lookup-with-parents)
2694 (semantic--analyze-refs-full-lookup-simple):
2695 * semantic/analyze/complete.el
2696 (semantic-analyze-possible-completions):
2697 * srecode/table.el (srecode-mode-table-new):
2698 * srecode/srt.el (srecode-read-variable-name):
2699 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2700 * srecode/semantic.el (srecode-semantic-handle-:tag)
2701 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2702 * srecode/map.el (srecode-current-map):
2703 * srecode/insert.el (srecode-insert)
2704 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2705 (srecode-template-inserter-point-override)
2706 (srecode-insert-include-lookup):
2707 * srecode/getset.el (srecode-auto-choose-class):
2708 * srecode/extract.el (srecode-inserter-extract):
2709 * srecode/document.el
2710 (srecode-document-autocomment-return-last-alist)
2711 (srecode-document-autocomment-param-type-alist)
2712 (srecode-document-insert-function-comment)
2713 (srecode-document-insert-variable-one-line-comment)
2714 (srecode-document-function-name-comment):
2715 * srecode/dictionary.el (srecode-create-dictionary)
2716 (srecode-compound-toString):
2717 * srecode/compile.el (srecode-flush-active-templates):
2718 * srecode/args.el (srecode-semantic-handle-:blank):
2721 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2723 * semantic/wisent/javat-wy.el
2724 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2726 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2728 * srecode/expandproto.el: Fix provide statement.
2730 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2732 * ede/srecode.el: Fix provide statement.
2734 2009-09-30 Glenn Morris <rgm@gnu.org>
2736 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2737 * ede/proj-aux.el (ede-aux-source):
2738 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2740 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2741 (semantic-mrub-switch-tags): Fix doc typos.
2743 * semantic/db-global.el (data-debug-new-buffer)
2744 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2745 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2747 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2749 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2750 use of CL function `remove-if-not'.
2752 2009-09-29 Glenn Morris <rgm@gnu.org>
2754 * semantic/symref/idutils.el:
2755 * semantic/symref/list.el: Relicense under GPLv3+.
2757 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2759 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2760 * semantic/tag-file.el (semanticdb-table-child-p):
2761 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2762 Mark declarations not understood by check-declare.
2764 2009-09-28 Eric Ludlam <zappo@gnu.org>
2766 CEDET (development tools) package merged.
2771 * srecode/*.el: New files.
2773 2009-09-28 Eric Ludlam <zappo@gnu.org>
2782 * pulse.el: New files.
2788 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2790 This file is part of GNU Emacs.
2792 GNU Emacs is free software: you can redistribute it and/or modify
2793 it under the terms of the GNU General Public License as published by
2794 the Free Software Foundation, either version 3 of the License, or
2795 (at your option) any later version.
2797 GNU Emacs is distributed in the hope that it will be useful,
2798 but WITHOUT ANY WARRANTY; without even the implied warranty of
2799 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2800 GNU General Public License for more details.
2802 You should have received a copy of the GNU General Public License
2803 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.