1 2013-06-01 Glenn Morris <rgm@gnu.org>
3 * semantic/grammar.el (semantic-grammar-complete):
4 Replace the obsolete function lisp-complete-symbol.
6 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
8 * srecode/args.el, srecode/java.el: Require ede.
10 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
12 2013-05-24 Glenn Morris <rgm@gnu.org>
14 * semantic/bovine/grammar.el (bovine-make-parsers):
15 Avoid free variable `copyright-end'.
17 * semantic/bovine/c-by.el (semantic-parse-region):
18 * semantic/wisent/javat-wy.el (semantic-parse-region):
19 * semantic/wisent/js-wy.el (semantic-parse-region):
20 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
22 2013-05-22 Glenn Morris <rgm@gnu.org>
24 * ede/speedbar.el (ede-file-find, ede-tag-find):
25 * semantic/sb.el (semantic-sb-token-jump):
26 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
28 2013-05-15 Glenn Morris <rgm@gnu.org>
30 * semantic/symref/list.el (semantic-symref-auto-expand-results)
31 (semantic-symref-results-mode-hook)
32 (semantic-symref-results-summary-function): Fix :group.
34 2013-05-14 Glenn Morris <rgm@gnu.org>
36 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
38 2013-05-11 Glenn Morris <rgm@gnu.org>
40 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
41 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
42 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
43 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
45 * ede/locate.el (cedet-cscope-version-check)
46 (cedet-cscope-support-for-directory):
47 * semantic/grammar.el (semantic-grammar-wy--install-parser):
50 * ede/project-am.el (project-am-compile-project-command): Fix :type.
52 2013-05-09 Glenn Morris <rgm@gnu.org>
54 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
57 2013-04-27 David Engster <deng@randomsample.de>
59 * semantic/complete.el
60 (semantic-collector-calculate-completions-raw): If
61 `completionslist' is not set, refresh the cache if necessary and
62 use it for completions. This fixes the
63 `semantic-collector-buffer-deep' collector (bug#14265).
65 2013-03-26 Leo Liu <sdl.web@gmail.com>
67 * semantic/senator.el (senator-copy-tag-to-register): Move
68 register handling logic from register.el. (Bug#14052)
70 2013-03-21 Eric Ludlam <zappo@gnu.org>
72 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
73 `senator-tag-ring' is bound.
74 (semantic-parse-region-default): Stop reversing the output of
76 (semantic-repeat-parse-whole-stream): Append returned tags
77 differently, so they come out in the right order.
79 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
80 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
81 exclude tags belonging to above filtered classes.
83 * semantic/find.el (semantic-filter-tags-by-class): New function.
85 * semantic/tag-ls.el (semantic-tag-similar-p-default): Add
86 short-circuit in case tag1 and 2 are identical.
88 * semantic/analyze/fcn.el
89 (semantic-analyze-dereference-metatype-stack): Use
90 `semantic-tag-similar-p' instead of 'eq' when comparing two tags
91 during metatype evaluation in case they are the same, but not the
92 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
94 * semantic/db-find.el (semanticdb-partial-synchronize): Fix
95 require to semantic/db-typecache to be correct.
96 (semanticdb-find-tags-external-children-of-type): Make this a
97 brutish search by default.
100 (semantic-tag-external-member-children-default): When calling
101 `semanticdb-find-tags-external-children-of-type', pass in the
102 input tag as the place to start searching for externally defined
105 * semantic/db-file.el (semanticdb-default-save-directory): Doc
106 fix: Add ref to default value.
108 * semantic/complete.el (semantic-complete-post-command-hook): When
109 detecting if cursor is outside completion area, do so if cursor
110 moves before start of overlay, or the original starting location
111 of the overlay (i.e., if user deletes past beginning of the
113 (semantic-complete-inline-tag-engine): Initialize original start
114 of `semantic-complete-inline-overlay'.
116 * semantic/bovine/c.el (semantic-c-describe-environment): Update
117 some section titles. Test semanticdb table before printing it.
118 (semantic-c-reset-preprocessor-symbol-map): Update
119 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
120 the files contributing to its value.
121 (semantic-c-describe-environment): If there is an EDE project but
122 no spp symbols from it, say so.
124 * srecode/args.el (srecode-semantic-handle-:project): New argument
125 handler. Provide variable values if not in an EDE project.
127 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
130 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
131 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
133 * srecode/map.el (srecode-map-validate-file-for-mode): Force
134 semantic to load if it is not active in the template being added
137 * srecode/srt.el: Add local variables for setting the autoload
139 (srecode-semantic-handle-:srt): New autoload cookie
141 * ede.el (ede-apply-preprocessor-map): Apply map to
142 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
143 system one. Add require for semantic.
145 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
146 has both a version variable and a Version: comment, always use
149 * ede/cpp-root.el (ede-set-project-variables): Deleted.
150 `ede-preprocessor-map' does the job this function was attempting
151 to do with :spp-table.
152 (ede-preprocessor-map): Update file tests to provide better
153 messages. Do not try to get symbols from a file that is the file
154 in the current buffer.
156 * ede/base.el (ede-project-placeholder): Add more documentation to
158 (ede-load-cache): Use `insert-file-contents' instead of
159 `find-file-noselect' in order to avoid activating other tools.
161 2013-03-21 David Engster <deng@randomsample.de>
163 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
164 new variable 'this' if we are in an inline member function. For
165 detecting this, we check overlays at point if there is a class
166 spanning the current function. Also, the variable 'this' has to
169 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
170 when querying g++ for defines returns an error.
172 * srecode/srt-mode.el:
173 * srecode/compile.el:
176 * semantic/complete.el:
182 * srecode/compile.el:
183 * semantic/decorate/include.el:
185 * semantic/adebug.el:
187 * srecode/dictionary.el:
188 * semantic/ede-grammar.el:
190 * semantic/db-find.el:
191 * semantic/db-file.el:
192 * semantic/complete.el:
193 * semantic/bovine/c.el:
194 * semantic/analyze.el:
200 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
201 to `eieio-object-name', `object-set-name-string' to
202 `eieio-object-set-name-string', `object-class' to
203 `eieio-object-class', `class-parent' to `eieio-class-parent',
204 `class-parents' to `eieio-class-parents', `class-children' to
205 `eieio-class-children', `object-name-string' to
206 `eieio-object-name-string', `object-class-fast' to
207 `eieio--object-class'. Also replace direct access with new
210 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
212 * ede/cpp-root.el (ede-project-autoload, initialize-instance): Fix
213 EDE file symbol to match rename. Fix ede-cpp-root symbol to
214 include -project in name.
216 2013-03-21 Alex Ott <alexott@gmail.com>
218 * cedet-files.el (cedet-files-list-recursively): New. Recursively
219 find files whose names are matching to given regex
221 * ede.el (ede-current-project): Rewrite to avoid imperative style.
223 * ede/files.el (ede-find-file): Simplify code.
225 * ede/base.el (ede-normalize-file/directory): Add function to
226 normalize :file or :directory slots if they are missing.
228 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
230 (project-compile-project): Compiles project using value specified
231 in :compule-command slot or in compile-command local variable.
232 Value of slot or local variable could be string or function that
233 receives project and should return string that will be invoked as
235 (project-compile-target): Invokes compilation of whole project
237 * ede/files.el (ede-find-project-root): New function to
238 find root of project that contains specific file.
239 (ede-files-find-existing): New function which checks presence of
240 given directory in the list of registered projects.
242 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
244 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
246 * semantic/wisent/javat-wy.el: Regenerate.
248 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
250 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
253 2012-11-16 David Engster <deng@randomsample.de>
255 * semantic/symref/list.el (semantic-symref-symbol):
256 Use `semantic-complete-read-tag-project' instead of
257 `semantic-complete-read-tag-buffer-deep', since the latter is not
260 * semantic/symref.el (semantic-symref-result-get-tags):
261 Use `find-buffer-visiting' to follow symbolic links.
263 * semantic/fw.el (semantic-find-file-noselect): Always set
264 `enable-local-variables' to `:safe' when loading files.
266 2012-11-16 Glenn Morris <rgm@gnu.org>
268 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
269 * semantic/util.el (semantic-describe-buffer):
270 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
271 (semantic-default-c-setup):
272 Use new names for hooks rather than obsolete aliases.
274 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
276 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
277 * semantic/grammar.el (semantic-grammar-mode):
278 * semantic/util-modes.el (semantic-highlight-edits-mode)
279 (semantic-show-parser-state-mode): Avoid obsolete name
280 semantic-edits-new-change-hooks (bug#12869).
282 2012-11-13 Glenn Morris <rgm@gnu.org>
284 * srecode/srt-mode.el (srecode-template-mode):
285 Don't change global values of comment-start, comment-end. (Bug#12781)
287 2012-10-25 David Engster <deng@randomsample.de>
289 * semantic/analyze.el (semantic-analyze-dereference-alias):
290 New function to dereference aliases.
291 (semantic-analyze-current-context-default): Use it.
293 * semantic/grammar.el (semantic-grammar-create-package):
294 * srecode/compile.el (srecode-compile-templates): Throw a proper
295 error if semantic-mode is not enabled (bug#9968).
297 Compiler warning fixes:
299 * semantic.el (semantic-elapsed-time): Make it a defsubst.
301 * srecode/dictionary.el (srecode-adebug-dictionary):
302 Remove require for `semantic'.
305 * srecode/insert.el: Declare functions from `data-debug'.
307 * semantic/grammar.el: Require `help-fns'. Declare functions from
308 `eldoc', which is required in function body.
312 * semantic/grammar-wy.el:
313 * semantic/db-file.el:
315 * semantic/chart.el: Fix requires.
317 * ede/locate.el: Remove useless requires. Declare functions
318 instead and require in functions when needed.
320 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
322 * semantic/db-file.el (semanticdb-save-database-functions):
323 * semantic/lex.el (semantic-lex-reset-functions):
324 * semantic/edit.el (semantic-change-functions)
325 (semantic-edits-new-change-functions)
326 (semantic-edits-delete-change-functions)
327 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
329 2012-10-14 David Engster <deng@randomsample.de>
331 * semantic.el (semantic-error-if-unparsed): New function.
332 Raise error if buffer was not parsed by Semantic (bug #12045).
333 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
334 only if buffer was parsed. Also, replace ':active' with ':enable'
337 * semantic/wisent/python.el
338 (semantic-python-get-system-include-path):
339 Use `python-shell-internal-send-string' if available to query Python
342 * semantic/senator.el (senator-next-tag, senator-previous-tag)
343 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
345 * semantic/complete.el (semantic-complete-jump-local)
346 (semantic-complete-jump, semantic-complete-jump-local-members)
347 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
348 (semantic-complete-inline-project): Fix autoload cookie.
350 * semantic/analyze/complete.el
351 (semantic-analyze-possible-completions): Check if buffer was
352 parsed. Only raise an error if function was called interactively,
353 otherwise silently return nil.
355 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
357 2012-10-08 David Engster <deng@randomsample.de>
359 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
360 `emacs-lisp-mode-hook'. This was accidentally removed during the
361 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
363 2012-10-07 David Engster <deng@randomsample.de>
365 * semantic/wisent/python.el (semantic-ctxt-current-function)
366 (semantic-ctxt-current-assignment): New overrides, simply
367 returning nil. The defaults do not work correctly and can send
368 the parser in an infinite loop (bug#12458).
370 * semantic/ede-grammar.el (project-compile-target): Fix grammar
371 compilation after introduction of %provide statement.
373 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
374 function for `f90-mode', since the parser only exists upstream.
376 2012-10-06 Glenn Morris <rgm@gnu.org>
378 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
380 * semantic/complete.el (semantic-displayor-tooltip-mode)
381 (semantic-displayor-tooltip-initial-max-tags)
382 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
383 * ede/linux.el (project-linux): Add missing group :version tag.
385 2012-10-06 Chong Yidong <cyd@gnu.org>
387 * semantic/bovine/grammar.el:
388 * semantic/wisent/grammar.el: Move from admin/grammars.
389 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
391 2012-10-02 Chong Yidong <cyd@gnu.org>
393 * srecode.el, ede.el: Restore Version header.
395 2012-10-01 Chong Yidong <cyd@gnu.org>
397 * semantic/bovine/c-by.el: Regenerate.
398 * semantic/bovine/make-by.el:
399 * semantic/bovine/scm-by.el:
400 * semantic/grammar-wy.el:
401 * semantic/wisent/javat-wy.el:
402 * semantic/wisent/js-wy.el:
405 2012-10-01 Eric Ludlam <zappo@gnu.org>
407 * cedet.el (cedet-version, cedet-packages): Update.
409 * cedet-global.el (cedet-gnu-global-version-check): Support newer
410 versions that have extra (parens) in the version string.
412 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
413 version number was found before calling inversion-check-version.
415 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
416 while inserting the thing, then clear modified bit.
417 (data-debug-map): Suppress the keymap.
418 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
419 (data-debug-contract-current-line): Inhibit read-only, then clear
422 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
423 to allow use in more kinds of buffers.
424 (ede-project-forms-menu): Add `Default configuration' menu item.
425 (ede-configuration-forms-menu): New, for use in above.
426 (ede-project-configurations-set): New command used from menu.
427 (ede-java-classpath): New conveninece for Java support.
428 (ede-apply-object-keymap): Combine keybindings from the project
429 and the target, not just whatever is local to the buffer.
430 (ede-apply-target-options): Call fcn to apply project local
432 (ede-reset-all-buffers): Remove arg.
433 (ede, ede-rescan-toplevel): Callers changed.
434 (ede-new-target): Fix bug where you couldn't call this from Dired.
435 (ede-add-file): Replace assignment of ede-object with generic call
436 to re-init the buffer.
437 (ede-find-target): If ede-object is set, run short-cut code
438 instead of `or' shortcut.
439 (ede-project-buffers): Return buffers belonging to input project,
440 not any buffer belonging to any project.
441 (ede-system-include-path, ede-apply-project-local-variables)
442 (ede-set-project-local-variable): New functions.
443 (ede-make-project-local-variable): Apply to toplevel if none
445 (ede-set): Make it interactive.
447 * ede/auto.el (ede-project-autoload): New class.
448 (ede-do-dirmatch): New method.
449 (ede-project-dirmatch-p): New function.
450 (ede-project-root-directory): Call it.
451 (ede-dir-to-projectfile): Don't call project file function if we
452 didn't match the root.
453 (ede-project-root-directory): Don't call a project's root function
454 if the tool in question isn't installed.
455 (ede-dir-to-projectfile): Don't call project file function if we
456 didn't match the root.
458 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
459 trailing `\' mid string, and replace with a space.
460 (autoconf-parameter-count): New function.
461 (autoconf-set-version): Use it.
463 * ede/base.el (ede-project): The :type of targets is now a list of
466 * ede/emacs.el (ede-emacs-load): Fix typo.
468 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
469 Protect against missing locator object.
470 (ede-get-locator-object): Protect against missing project.
471 (ede-flush-directory-hash): New command.
472 (ede-get-locator-object): Protect against missing project.
474 * ede/generic.el (ede-generic-config): Add configurable
476 (project-compile-project, project-compile-target)
477 (project-debug-target, project-run-target): New methods.
478 (ede-generic-get-configuration): Specify the class to load.
479 (ede-generic-new-autoloader): Use ede-add-project-autoload.
480 (ede-enable-generic-projects): Rename projects so as to never
481 match the edeproject-* projects.
483 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
484 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
486 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
487 (ede-proj-flush-autoconf): Disable local variables when loading
488 the autoconf lisp compile script.
490 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
491 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
492 (-makefile-archive, -makefile-shared-object)
493 (ede-proj-target-makefile-info, -grammar): New autoloads.
494 (ede-proj-project): Inherit from eieio-persistent-read.
495 Specify extension and header line.
496 (ede-proj-load, ede-proj-save): Replace with impl using
497 eieio-persistent-read.
499 * ede/project-am.el (project-add-file): Use ede-target-parent
500 instead of loading the project file.
502 * semantic.el (semantic-version): Update.
503 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
504 (navigate-menu): Add menu item for Stickyfunc mode.
506 * semantic/analyze/debug.el
507 (semantic-analyzer-debug-insert-include-summary):
508 Before dereferencing tableinner, make sure it has a value.
510 * semantic/analyze/refs.el
511 (semantic-analyze-tag-references-default): When doing a lookup,
513 (semantic--analyze-refs-full-lookup): Add optional noerror input
514 argument. Pass to to full-lookup-simple.
515 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
516 Ignore :typemodifiers during compare.
518 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
519 to looking back for comment chars.
520 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
521 (semantic--tag-attribute-similar-p): New.
522 (semantic-c-describe-environment): Handle list value of ede-object.
523 (semantic-lex-c-preprocessor-symbol-map-builtin):
524 Add __attribute_pure__.
526 * semantic/bovine/scm.el (semantic-format-tag-prototype):
527 Add parent and color argument. Pass them through.
529 * semantic/complete.el (semantic-collector-calculate-completions):
530 Search for more matches if new prefix is a substring of old one.
531 (semantic-complete-inline-project): New function.
533 * semantic/db-el.el (object-print): New method.
535 * semantic/db-file.el (semanticdb-load-database): Specify class.
537 * semantic/db-typecache.el
538 (semanticdb-abstract-table::semanticdb-typecache-find-method):
539 Allow proxied tags to be resolved during the search.
540 (semanticdb-typecache-complete-flush): Support missing or empty
541 pointmax slot, to allow for more database types.
543 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
544 (object-print): Allow child classes to overwrite the display of
545 the (%d tags) extra string.
546 (semanticdb-project-database): Specify :type for table.
547 (semanticdb-create-table-for-file): Specify file-truename.
548 (semanticdb-synchronize, semanticdb-partial-synchronize):
549 Restore code that refreshes references to include files.
551 * semantic/decorate/include.el
552 (semantic-decoration-on-fileless-includes): New face.
553 (semantic-decoration-on-fileless-include-map)
554 (semantic-decoration-on-fileless-include-menu): New variables.
555 (semantic-decoration-on-includes-highlight-default):
556 Support includes that have a table, but are not associated with a file.
557 (semantic-decoration-fileless-include-describe)
558 (semantic-decoration-fileless-include-menu): New functions.
559 (semantic-decoration-all-include-summary): Add arrows to indicate
560 the file associated with an include name.
563 (semantic-find-tags-by-scope-protection-default): Also filter on
564 package protection of the slot.
566 * semantic/java.el (semantic-java-expand-tag): If some type has a
567 fully qualified name, bust it up into one package and the type
570 * semantic/lex.el (define-lex-block-analyzer): Protect against
571 random extra close parenthesis.
573 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
574 the cursor is on the matched name.
576 * semantic/symref/list.el (semantic-symref-results-mode-map):
579 * semantic/tag-ls.el (semantic--tag-similar-names-p)
580 (semantic--tag-attribute-similar-p)
581 (semantic--tag-similar-types-p): New functions.
582 (semantic-tag-similar-ignorable-attributes): New variable.
583 (semantic-tag-protection-default): Add package concept to return
585 (semantic-tag-package-protected-p): New function.
586 (semantic-tag-full-package): New overload method.
587 (semantic-tag-full-package-default): New default for above.
588 (semantic-tag-full-name-default): Look for the full package name.
590 * semantic/tag.el (semantic-create-tag-proxy)
591 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
593 * semantic/util.el (semantic-describe-buffer):
594 Add semantic-new-buffer-fcn-was-run.
596 * semantic/wisent/java-tags.el (semantic-get-local-variables):
597 Add `this' to the local variable context.
598 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
600 * semantic/wisent/python.el (semantic-python-expand-tag):
603 * srecode/compile.el (srecode-compile-templates): Add "framework"
604 special variable support.
605 (srecode-compile-template-table): Support framework specifier.
607 * srecode/cpp.el (srecode-semantic-handle-:c)
608 (srecode-semantic-handle-:cpp): New functions.
609 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
611 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
613 * srecode/dictionary.el (initialize-instance): Remove bogus error
615 (srecode-create-section-dictionary): Remove unused function.
617 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
618 package variable. Add current_package variable.
620 * srecode/map.el (srecode-map-update-map): Specify the class.
622 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
624 * srecode/semantic.el (srecode-semantic-insert-tag):
625 Support system includes.
627 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
629 * srecode/table.el (srecode-template-table): Add :framework slot.
630 (srecode-dump): Dump it.
631 (srecode-mode-table): Add new modetables slot.
632 (srecode-get-mode-table): Find the mode, but also find all parent
633 modes, and merge the tables together in :tables from :modetables.
634 (srecode-make-mode-table): Init :modetables
635 (srecode-mode-table-find): Search in modetables.
636 (srecode-mode-table-new): Merge the differet files into the
639 2012-10-01 David Engster <deng@randomsample.de>
641 * ede.el (ede-apply-preprocessor-map): Check that
642 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
643 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
645 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
646 lexical-table even when the table doesn't need to be refreshed.
648 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
650 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
653 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
656 * ede/proj-elisp.el (ede-proj-target-elisp):
657 Remove ede-emacs-preload-compiler.
658 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
660 (ede-emacs-compiler): Add 'require' macro to variables and pattern
661 rule. Add .elc object extension.
662 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
663 (ede-proj-makefile-insert-variables): Do not insert preload items.
664 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
666 * ede/util.el (ede-make-buffer-writable):
667 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
668 instead of calling toggle-read-only.
670 * semantic.el (semantic-fetch-tags): Use progress reporter only
671 when called interactively.
672 (semantic-submode-list): Add debugging modes.
673 (semantic-mode): Remove Semantic from after-change-functions.
674 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
675 set semantic-new-buffer-fcn-was-run to nil.
677 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
678 (semantic-analyze-tag-prototype-p-default): Remove.
679 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
680 Use semantic-tag-prototype-p.
682 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
683 Ensure semantic-mode is on before getting preprocessor symbols.
684 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
685 (semantic-c-convert-spp-value-to-hideif-value)
686 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
687 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
688 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
689 regular expression parsing.
690 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
691 (semantic-expand-c-tag): Check if tag is non-nil before adding it
693 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
694 New functions, copied from semantic-expand-c-tag.
695 (semantic-find-tags-included): New override which also searches
696 for include tags inside of namespaces.
697 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
698 (semanticdb-find-table-for-include): New override.
700 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
702 * semantic/complete.el (semantic-complete-post-command-hook):
703 Exit completion when user has deleted all characters from the prefix.
704 (semantic-displayor-focus-request): Return to previous window when
707 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
708 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
710 * semantic/db-file.el (semanticdb-create-database):
711 Use semantic-tag-version instead of just semantic-version as the
712 initializer for the :semantic-tag-version slot.
714 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
715 Delegate `include' to semantic-find-tags-included, which by
716 default will just call semantic-find-tags-by-class.
718 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
719 when calling semantic-find-file-noselect. This avoids the "file
720 is write protected" messages when parsing system header files,
721 which might easily be mistaken to mean the currently loaded file.
722 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
723 message when running interactively.
725 * semantic/decorate/mode.el (semantic-decoration-mode):
726 Activate decoration of includes by default.
728 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
729 Remove comment delimiter at the end of the text.
731 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
732 Change aux- and pre-load-packages.
733 (ede-proj-makefile-dependencies): Update pattern rule so that
734 resulting parsers are also byte-compiled.
735 (semantic-ede-grammar-compiler-bovine)
736 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
737 pattern, since this is already covered by the elisp compiler.
738 (project-compile-target): Add compatibility code for Emacs 23,
739 which does not have `byte-recompile-file'.
740 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
741 to raise max-specpdl-size and max-lisp-eval-depth.
743 * semantic/find.el (semantic-find-tags-included):
746 * semantic/fw.el (semantic-alias-obsolete)
747 (semantic-varalias-obsolete): Use byte-compile-warn.
748 (semantic-find-file-noselect): Disable font lock by calling
749 global-font-lock-mode.
751 * semantic/grammar.el (semantic-grammar-create-package):
753 (semantic-grammar-batch-build-one-package): When generating
754 parsers in batch-mode, ignore version control and make sure we do
755 not use cached versions.
757 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
759 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
760 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
761 (semantic-lex-spp-lex-text-string): Instead of only setting the
762 lexer, call the major mode's setup function.
764 * semantic/scope.el (semantic-analyze-scoped-types-default):
765 Use semantic-tag-prototype-p.
766 (semantic-analyze-scope-nested-tags-default): Make sure we don't
767 return tags we already have in scopetypes.
769 * semantic/symref/filter.el
770 (semantic-symref-test-count-hits-in-tag): Restore.
772 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
773 Use most-positive-fixnum if available.
775 * semantic/wisent/javascript.el (semantic-tag-protection)
776 (semantic-analyze-scope-calculate-access)
777 (semantic-ctxt-current-symbol): New overrides.
779 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
780 Rewrite to fix byte-compiler warning.
782 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
784 * ede/linux.el (project-linux): New group.
785 (project-linux-compile-target-command)
786 (project-linux-compile-project-command): New options.
787 (project-compile-project, project-compiler-target): New methods.
789 * inversion.el (inversion-decoders): New regexps for SXEmacs.
790 (inversion-package-version): More verbose error message.
791 (inversion-<): Deal with new special cases.
792 (inversion-require-emacs): New argument sxemacs-ver; use it.
794 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
796 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
798 2012-10-01 William Xu <william.xwl@gmail.com>
800 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
802 (semantic-gcc-setup): If the first attempt at calling cpp fails,
805 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
808 (semantic-idle-breadcrumbs--display-in-header-line):
809 Escape %-characters to avoid erroneous expansion in header line.
810 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
812 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
813 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
814 (semantic-python-private-p, semantic-python-instance-variable-p)
815 (semantic-python-docstring-p): New functions.
817 * srecode/find.el (srecode-user-template-p): New function.
818 (srecode-all-template-hash): Accept new optional argument
819 predicate; return only templates matching the predicate.
820 (srecode-read-template-name): Only retrieve templates matching
821 srecode-user-template-p.
823 * srecode/insert.el (srecode-insert-show-error-report)
824 (srecode-insert-report-error): New functions.
825 (srecode-insert-variable-secondname-handler)
826 (srecode-insert-method, srecode-insert-ask-default)
827 (srecode-insert-variable-secondname-handler)
828 (srecode-insert-subtemplate, srecode-insert-method-helper)
829 (srecode-insert-include-lookup): Use them.
831 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
833 * semantic/wisent/python.el
834 (semantic-python-get-system-include-path): Add Python3k support.
836 2012-10-01 Alexander Haeckel <_@_> (tiny change)
838 * srecode/getset.el (srecode-query-for-field): Return the first
839 tag found by name from all children tags.
841 2012-10-01 Dale Sedivec <dale@codefu.org>
843 * semantic/wisent/python.el (wisent-python-string-start-re)
844 (wisent-python-string-re, wisent-python-forward-string)
845 (wisent-python-forward-line,wisent-python-lex-string):
847 (wisent-python-forward-balanced-expression): New function.
849 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
851 * semantic/complete.el (semantic-collector-calculate-completions):
852 Search for additional matches if new prefix is a substring of the
854 (semantic-displayor-next-action): Immediately show more
855 completions after user presses TAB the first time.
856 (semantic-displayor-tooltip-mode)
857 (semantic-displayor-tooltip-initial-max-tags)
858 (semantic-displayor-tooltip-max-tags): New defcustoms.
859 (semantic-displayor-tooltip): Use new variables as initforms.
860 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
862 (semantic-displayor-show-request): Display completions according
863 to new modes, and make variable names clearer.
864 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
865 Use new max-tags-initial slot.
867 * semantic/idle.el (semantic-idle-local-symbol-highlight):
868 Make sure there actually is a tag at point.
869 (semantic-idle-completion-list-default): Report errors as messages
870 if semantic-idle-scheduler-verbose-flag is non-nil.
872 2012-10-01 Richard Kim <emacs18@gmail.com>
874 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
875 Add optional NOERROR argument.
877 2012-10-01 Alex Ott <alexott@gmail.com>
879 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
882 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
884 * semantic/db-find.el (semanticdb-find-default-throttle):
886 (semanticdb-strip-find-results): Check for existing :filename
887 attribute, so that file information from GNU Global is not lost.
889 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
891 * ede/base.el (ede-with-projectfile): Use backquote forms.
893 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
895 inaccessable -> inaccessible spelling fix (Bug#10052)
896 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
897 Rename from wisent-inaccessable-symbols, fixing a misspelling.
900 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
902 * ede/project-am.el: Fix typo.
904 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
906 Rename configure.in to configure.ac (Bug#11603).
907 * ede/autoconf-edit.el (autoconf-find-query-for-program)
908 (autoconf-new-program):
909 * ede/emacs.el (ede-emacs-version):
910 * ede/proj.el (ede-proj-setup-buildenvironment):
911 * ede/project-am.el (project-am-autoconf-file-options):
912 Prefer configure.ac to configure.in.
914 2012-03-12 David Engster <deng@randomsample.de>
916 * semantic/db-find.el
917 (semanticdb-find-translate-path-brutish-default): If we don't yet
918 have a proper table for PATH, use `semanticdb-current-database'
919 instead (bug #10343).
921 2012-03-11 David Engster <deng@randomsample.de>
923 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
924 child-mode of `javascript-mode' (bug #8445).
926 2012-02-28 Glenn Morris <rgm@gnu.org>
928 * semantic/db.el (semanticdb-search-results-table):
929 Doc fix (standardize possessive apostrophe usage).
931 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
933 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
936 2012-01-29 David Engster <deng@randomsample.de>
938 Fix require error when using srecode-insert (Bug#9967).
939 * srecode/insert.el: Require srecode/filters.
940 * srecode/filters.el: Drop two requires.
942 2012-01-09 Eric Ludlam <zappo@gnu.org>
944 * ede.el (ede-project-directories): New option.
945 (ede-directory-safe-p): Check it.
946 (ede-initialize-state-current-buffer, ede, ede-new)
947 (ede-check-project-directory, ede-rescan-toplevel)
948 (ede-load-project-file, ede-parent-project, ede-current-project):
949 (ede-target-parent): Avoid loading in a project unless it is safe,
950 since it may involve malicious code. This security flaw was
951 pointed out by Hiroshi Oota.
953 * ede/auto.el (ede-project-autoload): Add safe-p slot.
954 (ede-project-class-files): Projects using Project.ede are unsafe.
955 (ede-auto-load-project): New method.
957 * ede/simple.el (ede-project-class-files): Mark as unsafe.
959 2011-12-19 Sam Steingold <sds@gnu.org>
961 * semantic/edit.el (semantic-edits-incremental-parser): Add the
962 autoload cookie, necessary for JDEE.
964 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
966 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
968 2011-11-26 Chong Yidong <cyd@gnu.org>
970 * semantic/wisent/python-wy.el:
971 * semantic/wisent/js-wy.el:
972 * semantic/wisent/javat-wy.el:
973 * semantic/bovine/c-by.el:
974 * semantic/grammar-wy.el: Regenerate.
976 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
978 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
980 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
982 * cedet-cscope.el (cedet-cscope-version-check):
983 * cedet-global.el (cedet-global-min-version)
984 (cedet-gnu-global-version-check):
985 * cedet.el (cedet-version):
986 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
987 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
988 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
989 (ede-add-project-to-global-list, ede-map-all-subprojects):
990 * inversion.el (inversion-check-version):
991 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
992 (define-overloadable-function):
993 * pulse.el (pulse-flag, pulse):
994 * semantic.el (semantic-elapsed-time, semantic-parse-region)
996 * ede/proj-comp.el (ede-compilation-program):
997 * semantic/debug.el (semantic-debug-parser-go)
998 (semantic-debug-parser-fail, semantic-debug-parser-quit)
999 (semantic-debug-parser-abort):
1000 * semantic/idle.el (semantic-idle-core-handler):
1001 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1004 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1006 * semantic/lex.el (semantic-lex-tokens):
1007 * semantic/tag-ls.el (semantic-tag-protected-p):
1008 * srecode/mode.el (srecode-prefix-map): Fix typos.
1010 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1012 * ede/project-am.el (project-compile-target-command): Fix typo.
1014 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1016 * ede/auto.el (ede-project-autoload):
1017 * ede/proj-comp.el (ede-makefile-rule):
1018 * semantic/analyze.el (semantic-analyze-current-context):
1019 * semantic/ctxt.el (semantic-get-local-variables):
1020 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1022 2011-11-03 David Engster <dengste@eml.cc>
1026 * srecode/template.el:
1028 * srecode/insert.el:
1029 * srecode/document.el:
1030 * srecode/dictionary.el:
1031 * srecode/compile.el:
1032 * semantic/wisent/java-tags.el:
1035 * semantic/lex-spp.el:
1038 * semantic/db-typecache.el:
1039 * semantic/analyze/complete.el:
1043 * ede/base.el: Fix filenames in comments and headers.
1045 * semantic/db-find.el:
1046 * srecode/insert.el (srecode-insert-include-lookup):
1047 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1048 comments and docstrings.
1050 * semantic/ctxt.el (semantic-end-of-context-default):
1051 * semantic/find.el (semantic-find-tags-by-scope-protection):
1052 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1055 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1056 (semanticdb-abstract-db-cache):
1057 * semantic/decorate/include.el
1058 (semantic-decoration-unknown-include-describe): Fix filenames in
1061 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
1062 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1063 added to the grammar-make-script.
1065 2011-10-23 Chong Yidong <cyd@gnu.org>
1067 * ede.el (ede-maybe-checkout): Function deleted;
1068 vc-toggle-read-only does not do version control now.
1070 * ede/util.el (ede-make-buffer-writable): Don't use
1071 vc-toggle-read-only.
1073 * ede/project-am.el (project-remove-file, project-add-file)
1074 (project-new-target): Don't call ede-maybe-checkout.
1076 2011-10-19 Chong Yidong <cyd@gnu.org>
1078 * ede.el (ede-minor-mode,global-ede-mode):
1079 * semantic.el (semantic-mode): Doc fix to reflect new
1080 define-minor-mode calling behavior.
1082 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1084 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1087 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1089 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1090 unconfigured projects if `global-ede-mode' is on (bug#8092).
1092 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1094 * semantic.el (semantic-elapsed-time): Rewrite using
1095 time-subtract and float-time.
1097 2011-05-11 Glenn Morris <rgm@gnu.org>
1099 * semantic/wisent/javascript.el (semantic-get-local-variables):
1100 Use define-mode-local-override rather than its obsolete alias.
1102 2011-05-10 Jim Meyering <meyering@redhat.com>
1104 Fix doubled-word typos.
1105 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1106 * semantic/complete.el (semantic-complete-read-tag-local-members):
1108 * ede.el (ede-auto-add-method): then then -> then
1110 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1112 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1113 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1114 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1115 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1116 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1118 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1120 * Version 23.3 released.
1122 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1125 Macroexpand before passing to byte-compile-form.
1127 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1130 * semantic/symref/list.el (semantic-symref-results-mode):
1133 2010-11-12 Glenn Morris <rgm@gnu.org>
1135 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1137 2010-11-10 Glenn Morris <rgm@gnu.org>
1139 * semantic/bovine/c.el: Test system-type with memq.
1141 2010-11-09 Glenn Morris <rgm@gnu.org>
1143 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1144 * semantic/grammar.el (semantic-grammar-epilogue):
1145 * ede/speedbar.el (ede-find-nearest-file-line):
1146 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1147 * ede/autoconf-edit.el (autoconf-delete-parameter):
1148 Use point-at-bol and point-at-eol.
1150 2010-11-07 Glenn Morris <rgm@gnu.org>
1152 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1154 2010-11-01 Glenn Morris <rgm@gnu.org>
1156 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1158 * semantic/symref/cscope.el (ede-toplevel):
1159 * semantic/symref.el (ede-toplevel):
1160 * semantic/tag-file.el (ede-toplevel):
1161 * ede.el (ede-toplevel): Fix declarations.
1163 2010-10-31 Glenn Morris <rgm@gnu.org>
1165 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1166 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1168 2010-10-31 Julien Danjou <julien@danjou.info>
1170 * ede/proj-elisp.el (project-compile-target):
1171 * semantic/ede-grammar.el (project-compile-target):
1172 Use `byte-recompile-file'.
1174 2010-10-31 Glenn Morris <rgm@gnu.org>
1176 * mode-local.el (mode-local-augment-function-help):
1177 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1178 * semantic/symref/list.el (semantic-symref-results-dump)
1179 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1180 of toggle-read-only.
1182 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1184 * semantic/bovine/el.el:
1185 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1186 Fix require statements.
1188 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1190 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1192 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1193 * semantic/imenu.el (semantic-create-imenu-index):
1194 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1195 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1196 Fix require. Suggested by David Engster.
1198 * semantic/bovine/c-by.el: Regenerate.
1200 2010-09-29 Eric Ludlam <zappo@gnu.org>
1202 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1203 (semantic-lex-spp-enable-debug-symbol): New command
1204 (semantic-lex-spp-value-valid-p)
1205 (semantic-lex-spp-validate-value): New functions
1206 (semantic-lex-spp-symbol-set)
1207 (semantic-lex-spp-symbol-push): Add call to validate value.
1208 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1209 invalid values during save, just save a nil.
1211 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1213 * ede/linux.el (ede-project-class-files):
1214 * ede/generic.el (ede-generic-new-autoloader):
1215 * ede/emacs.el (ede-project-class-files):
1216 * ede/simple.el (ede-project-class-files):
1217 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1219 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1221 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1223 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1224 Fix typo in error message.
1225 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1227 2010-09-21 Eric Ludlam <zappo@gnu.org>
1229 Synch SRecode to CEDET 1.0.
1231 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1232 'never, disable all pulsing.
1234 * cedet.el (cedet-version):
1235 * srecode.el (srecode-version): Bump version to 1.0.
1237 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1238 (semantic-insert-foreign-tag): Use it.
1240 * srecode/mode.el (srecode-bind-insert):
1241 Call srecode-load-tables-for-mode.
1242 (srecode-minor-mode-templates-menu): Do not list templates that
1243 are not in the current project.
1244 (srecode-menu-bar): Add binding for srecode-macro-help.
1246 * srecode/table.el (srecode-template-table): Add :project slot.
1247 (srecode-dump): Dump it.
1249 * srecode/map.el (srecode-map-update-map): Make map loading more
1252 * srecode/insert.el (srecode-insert-fcn): Merge template
1253 dictionary before resolving arguments.
1254 (srecode-insert-method-helper): Add error checking to make sure
1255 that we only have dictionaries.
1256 (srecode-insert-method): Check template nesting depth when using
1257 point inserter override.
1258 (srecode-insert-method): Install override with depth limit.
1260 * srecode/getset.el (srecode-insert-getset): Force tag table
1261 update. Don't query the class if it is empty.
1263 * srecode/find.el (srecode-template-get-table)
1264 (srecode-template-get-table-for-binding)
1265 (srecode-all-template-hash): Skip if not in current project.
1266 (srecode-template-table-in-project-p): New method.
1268 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1269 (srecode-field-exit-ask): Use it.
1271 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1272 Do not add variables in tables not for the current project.
1273 (srecode-compound-toString): Handle cases where the default value
1274 is another compound value.
1275 (srecode-dictionary-lookup-name): New optional argument
1276 NON-RECURSIVE, which inhibits visiting dictionary parents.
1277 (srecode-dictionary-add-section-dictionary)
1278 (srecode-dictionary-merge): New optional argument FORCE adds
1279 values even if an identically named entry exists.
1280 (srecode-dictionary-add-entries): New method.
1281 (srecode-create-dictionaries-from-tags): New function.
1283 * srecode/cpp.el (srecode-cpp): New defgroup.
1284 (srecode-cpp-namespaces): New option.
1285 (srecode-semantic-handle-:using-namespaces)
1286 (srecode-cpp-apply-templates): New functions.
1287 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1288 by calling `srecode-cpp-apply-templates'.
1290 * srecode/compile.el (srecode-compile-templates): Fix directory
1291 compare of built-in templates. Give built-ins lower piority.
1292 Support special variable "project".
1293 (srecode-compile-template-table): Set :project slot of new tables.
1294 (srecode-compile-one-template-tag):
1295 Use srecode-create-dictionaries-from-tags.
1297 2010-09-21 Eric Ludlam <zappo@gnu.org>
1299 Synch EDE to CEDET 1.0.
1301 * cedet-idutils.el (cedet-idutils-make-command): New option.
1302 (cedet-idutils-mkid-call):
1303 (cedet-idutils-create/update-database): New functions.
1305 * cedet-cscope.el (cedet-cscope-create):
1306 (cedet-cscope-create/update-database): New functions.
1307 (cedet-cscope-support-for-directory): Make interactive.
1309 * cedet-global.el (cedet-global-gtags-command): New option.
1310 (cedet-gnu-global-gtags-call)
1311 (cedet-gnu-global-create/update-database): New functions.
1313 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1314 (ede-make-dist): Always use toplevel project.
1315 (ede-buffer-object): If we fail to find an object in the current
1316 project, loop upward looking for a match. If no target is found,
1317 use most local project.
1318 (ede-buffer-belongs-to-target-p)
1319 (ede-buffer-belongs-to-project-p): New functions.
1320 (ede-initialize-state-current-buffer): New function.
1321 (ede-target-forms-menu, ede-project-buffers): Use them.
1322 (ede-minor-mode, ede-reset-all-buffers): Use it.
1323 (project-interactive-select-target, project-add-file): Don't use
1324 ede-project-force-load.
1325 (ede-buffer-object): New arg PROJSYM.
1326 (ede-minor-mode): Remove ede-directory-project-p test.
1327 (ede-initialize-state-current-buffer): Don't test for
1328 ede-directory-project-p if there is a matching open project.
1329 (ede-customize-forms-menu): Prevent error if there is no project.
1330 (ede-load-project-file): Set ede-constructing to the thing being
1331 constructed, instead of t.
1332 (ede-project-force-load): Delete.
1336 * ede/custom.el: New files.
1338 * ede/autoconf-edit.el (autoconf-find-last-macro)
1339 (autoconf-parameters-for-macro): Parse multiline parameters of
1340 macros. Optionally ignore case and at bol for macro.
1341 (autoconf-parameter-strip): Use greedy match for newlines.
1342 (autoconf-new-automake-string): Delete.
1343 (autoconf-new-program): Use SRecode to fill an empty file.
1345 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1348 * ede/files.el (ede-flush-project-hash): New command.
1349 (ede-convert-path): Add optional PROJECT arg.
1350 (ede-directory-project-p): Obey ".ede-ignore".
1351 (ede-expand-filename-local)
1352 (ede-expand-filename-impl-via-subproj): New methods.
1353 (ede-expand-filename-impl): Use them.
1354 (ede-project-root, ede-project-root-directory): Move to
1357 * ede/locate.el (ede-locate-flush-hash):
1358 (ede-locate-create/update-root-database): New methods.
1359 (initialize-instance): Use ede-locate-flush-hash.
1361 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1362 the top project and not a metasubproject, set TOP to CURDIR.
1363 (ede-proj-makefile-insert-variables): Output a target's object
1364 list whether or not the vars are already in the Makefile.
1365 (ede-pmake-insert-variable-once): New macro.
1367 * ede/project-am.el (project-am-with-makefile-current):
1368 Add recentf-exclude.
1369 (project-am-load-makefile): Obey an optional suggested name.
1370 (project-am-expand-subdirlist): New function.
1371 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1373 (project-am-meta-type-alist): A list to scan better Makefile.am
1374 (project-am-scan-for-targets): Scan also over
1375 project-am-meta-type-alist.
1376 (ede-system-include-path): Simple implementation.
1377 (ede-find-target): Delete. EDE core takes care of this.
1378 (ede-buffer-mine): Create the searched filename as relative.
1379 (project-am-load): Simplify, using autoconf-edit.
1380 (project-am-extract-package-info): Fix separators.
1382 * ede/proj.el (project-run-target): New method.
1383 (project-make-dist, project-compile-project):
1384 Use ede-proj-automake-p to determine which kind of compile to use.
1385 (project-rescan): Call ede-load-project-file.
1386 (ede-buffer-mine): Add more file names that belong to the project.
1387 (ede-proj-compilers): Improve error message.
1389 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1390 (ede-source-c++): Add more C++ extensions.
1391 (ede-proj-target-makefile-objectcode): Quote initforms.
1392 Support lex and yacc.
1394 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1395 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1396 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1397 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1398 (ede-proj-target-makefile-program): Swap order of two slots so
1399 they show up in the same order as in the command line.
1400 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1402 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1403 Fix inference rule to use cpp files.
1404 (ede-proj-target-makefile-shared-object): Quote initforms.
1406 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1407 * ede/proj-info.el (ede-proj-target-makefile-info):
1408 * ede/proj-aux.el (ede-proj-target-aux):
1409 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1410 * ede/proj-elisp.el (ede-proj-target-elisp)
1411 (ede-proj-target-elisp-autoloads): Quote initforms.
1413 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1415 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1417 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1418 occur while waiting for the compile process to finish, pull them
1419 in and discard those events.
1421 2010-09-19 Eric Ludlam <zappo@gnu.org>
1423 Synch Semantic to CEDET 1.0.
1425 * semantic.el (semantic-version): Update to 2.0.
1426 (semantic-mode-map): Add "," and "m" bindings.
1427 (navigate-menu): Update.
1429 * semantic/symref.el (semantic-symref-calculate-rootdir):
1431 (semantic-symref-detect-symref-tool): Use it.
1433 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1434 (semantic-symref-perform-search): Use it. Calculate root dir with
1435 semantic-symref-calculate-rootdir.
1436 (semantic-symref-derive-find-filepatterns): Improve error message.
1438 * semantic/symref/list.el
1439 (semantic-symref-results-mode-map): New bindings.
1440 (semantic-symref-auto-expand-results): New option.
1441 (semantic-symref-results-dump): Obey auto-expand.
1442 (semantic-symref-list-expand-all, semantic-symref-regexp)
1443 (semantic-symref-list-contract-all)
1444 (semantic-symref-list-map-open-hits)
1445 (semantic-symref-list-update-open-hits)
1446 (semantic-symref-list-create-macro-on-open-hit)
1447 (semantic-symref-list-call-macro-on-open-hits): New functions.
1448 (semantic-symref-list-menu-entries)
1449 (semantic-symref-list-menu): New vars.
1450 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1451 match before calling the mapped function.
1454 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1455 mode doesn't provide comment-start-skip.
1458 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1459 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1460 looking for as part of the scoped tags list.
1462 * semantic/html.el (semantic-default-html-setup):
1463 Add senator-step-at-tag-classes.
1465 * semantic/decorate/include.el
1466 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1467 (semantic-decoration-on-includes-highlight-default): Check that
1468 the include tag has a position.
1470 * semantic/complete.el (semantic-collector-local-members):
1471 (semantic-complete-read-tag-local-members)
1472 (semantic-complete-jump-local-members): New class and functions.
1473 (semantic-complete-self-insert): Save excursion before completing.
1475 * semantic/analyze/complete.el
1476 (semantic-analyze-possible-completions-default): If no completions
1477 are found, return the raw by-name-only completion list. Add FLAGS
1478 arguments. Add support for 'no-tc (type constraint) and
1479 'no-unique, or no stripping duplicates.
1480 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1482 * semantic/util-modes.el
1483 (semantic-stickyfunc-show-only-functions-p): New option.
1484 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1485 the very first line in a buffer.
1487 * semantic/util.el (semantic-hack-search)
1488 (semantic-recursive-find-nonterminal-by-name)
1489 (semantic-current-tag-interactive): Delete.
1490 (semantic-describe-buffer): Fix expand-nonterminal.
1491 Add lex-syntax-mods, type relation separator char, and command
1493 (semantic-sanity-check): Only message if called interactively.
1495 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1496 :filename property and the tag position.
1498 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1499 Add recursion limit.
1501 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1502 Make this buffer local, not the obsoleted variable.
1504 * semantic/idle.el: Add breadcrumbs support.
1505 (semantic-idle-summary-current-symbol-info-default)
1506 (semantic-idle-tag-highlight)
1507 (semantic-idle-completion-list-default):
1508 Use semanticdb-without-unloaded-file-searches for speed, and to
1509 conform to the controls that specify if the idle timer is supposed
1510 to be parsing unparsed includes.
1511 (semantic-idle-symbol-highlight-face)
1512 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1514 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1515 (semantic-idle-work-update-headers-flag): New var.
1516 (semantic-idle-work-for-one-buffer): Use it.
1517 (semantic-idle-local-symbol-highlight): Rename from
1518 semantic-idle-tag-highlight.
1519 (semantic-idle-truncate-long-summaries): New option.
1521 * semantic/ia.el (semantic-ia-cache)
1522 (semantic-ia-get-completions): Delete. Callers changed.
1523 (semantic-ia-show-variants): New command.
1524 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1525 (semantic-ia-show-summary): If there isn't anything to show, say so.
1527 * semantic/grammar.el (semantic-grammar-create-package):
1528 Save the buffer even in batch mode.
1531 (semanticdb-without-unloaded-file-searches): New macro.
1533 * semantic/dep.el (semantic-dependency-find-file-on-path):
1534 Fix case dereferencing ede-object when it is a list.
1536 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1537 (semanticdb-typecache-faux-namespace): New functions.
1538 (semanticdb-typecache-file-tags)
1539 (semanticdb-typecache-merge-streams): Use them.
1540 (semanticdb-typecache-file-tags): When deriving tags from a file,
1541 give the mode a chance to monkey with the tag copy.
1542 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1543 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1545 * semantic/db-global.el
1546 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1547 GNU Global is not available and we don't want to throw an error.
1549 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1550 When trying to normalize the tag to a buffer, don't error if
1551 set-buffer method doesn't exist.
1553 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1555 * semantic/db.el (semanticdb-refresh-table): If forcing a
1556 refresh on a file not in a buffer, use semantic-find-file-noselect
1557 and delete the buffer after use.
1558 (semanticdb-current-database-list): When calculating root via
1559 hooks, force it through true-filename and skip the list of
1562 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1564 * semantic/analyze/debug.el
1565 (semantic-analyzer-debug-insert-tag): Reset standard output to
1567 (semantic-analyzer-debug-global-symbol)
1568 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1569 "symbol" in messages.
1571 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1572 (semantic-analyze-refs-proto): When calculating value, make sure
1573 the found tag is 'similar' to the originating tag.
1574 (semantic--analyze-refs-find-tags-with-parent): Attempt to
1575 identify matches via imported symbols of parents.
1576 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
1577 search during the brute search.
1579 * semantic/analyze.el
1580 (semantic-analyze-find-tag-sequence-default): Be robust to
1581 calculated scopes being nil.
1583 * semantic/bovine/c.el (semantic-c-describe-environment):
1584 Add project macro symbol array.
1585 (semantic-c-parse-lexical-token): Add recursion limit.
1586 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
1588 (semantic-expand-c-tag-namelist): Split a full type from a typedef
1590 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
1591 inline type if it is an anonymous type.
1592 (semantic-c-reconstitute-token): Use the optional initializers as
1593 a clue that some function is probably a constructor.
1594 When defining the type of these constructors, split the parent name,
1595 and use only the class part, if applicable.
1597 * semantic/bovine/c-by.el:
1598 * semantic/wisent/python-wy.el: Regenerate.
1600 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1602 * semantic/db-file.el (object-write): Fix typo in docstring.
1604 2010-06-03 Eric Ludlam <zappo@gnu.org>
1606 * semantic/lex-spp.el
1607 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1608 invalid values during save, just save a nil (Bug#6324).
1610 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
1612 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
1615 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1617 Use a mode-line spec rather than a static string in Semantic.
1618 * semantic/util-modes.el:
1619 (semantic-minor-modes-format): New var to replace...
1620 (semantic-minor-modes-status): Remove.
1621 (semantic-mode-line-update): Construct a mode-line spec rather than
1622 a static string so that mouse buttons can be used on individual minor
1623 modes and so that semantic-mode-line-update only needs to be called
1624 when global settings are changed.
1625 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
1626 Call semantic-mode-line-update.
1627 (semantic-toggle-minor-mode-globally): Don't assume mode is on
1628 minor-mode-alist, check semantic-minor-mode-alist as well.
1629 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
1630 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
1631 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
1632 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1633 * semantic/idle.el (semantic-idle-scheduler-mode)
1634 (define-semantic-idle-service, semantic-idle-summary-mode):
1635 * semantic/decorate/mode.el (semantic-decoration-mode):
1636 Don't call semantic-mode-line-update any more.
1638 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1640 Use define-minor-mode in CEDET where applicable.
1642 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
1643 Use define-minor-mode.
1645 * semantic/util-modes.el (semantic-add-minor-mode):
1646 Remove unused arg `keymap' and code redundant with define-minor-mode.
1647 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
1648 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
1649 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
1650 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
1651 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
1652 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
1653 Use define-minor-mode.
1654 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
1655 (semantic-show-unmatched-syntax-mode-setup)
1656 (semantic-show-parser-state-mode-setup)
1657 (semantic-highlight-func-mode-setup): Inline into sole caller.
1659 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1660 (semantic-mru-bookmark-mode): Use define-minor-mode.
1661 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
1663 * semantic/idle.el (define-semantic-idle-service):
1664 Use define-minor-mode and inline setup function into its sole caller.
1665 (semantic-idle-scheduler-mode-setup)
1666 (semantic-idle-summary-mode-setup): Inline into sole caller.
1667 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
1668 Use define-minor-mode.
1670 * semantic/decorate/mode.el (global-semantic-decoration-mode)
1671 (semantic-decoration-mode): Use define-minor-mode.
1672 (semantic-decoration-mode-setup): Inline into sole caller.
1674 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
1675 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
1676 (ede-dired-add-to-target): Use dolist.
1678 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1680 * semantic.el (semantic-completion-at-point-function):
1682 (semantic-mode): Use semantic-completion-at-point-function for
1683 completion-at-point-functions instead.
1685 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1687 * semantic.el (semantic-mode): When enabled, add
1688 semantic-ia-complete-symbol to completion-at-point-functions.
1690 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
1691 if Semantic is not active.
1693 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1695 * ede/pmake.el (ede-proj-makefile-insert-variables):
1696 Don't destroy list before using it.
1698 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1700 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
1701 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1702 (semantic-imenu-goto-function): Reflow docstring.
1704 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1706 * srecode/table.el (srecode-template-table): Fix docstring typo.
1708 2010-03-24 Glenn Morris <rgm@gnu.org>
1710 * semantic/bovine/c.el (semantic-c-describe-environment):
1711 Consistently check ede-object is bound throughout.
1713 * ede/project-am.el (ede-shell-run-something): Declare.
1715 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
1717 * semantic/imenu.el: New file, from the CEDET repository
1720 2010-03-06 Glenn Morris <rgm@gnu.org>
1722 * semantic/grammar.el (semantic-grammar-header-template):
1723 Update template copyright to GPLv3+.
1725 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
1727 * semantic/db-find.el
1728 (semanticdb-find-translate-path-brutish-default):
1729 * ede/make.el (ede-make-check-version):
1730 Use with-current-buffer instead of save-excursion.
1732 2010-02-24 Eduard Wiebe <usenet@pusto.de>
1734 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
1735 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
1737 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
1739 * data-debug.el (data-debug): Move to extensions group.
1742 * srecode.el (srecode):
1743 * semantic.el (semantic): Put in tools and extensions group.
1745 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
1747 * ede.el (ede-run-target, project-delete-target)
1748 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
1749 (ede-adebug-project, ede-adebug-project-parent)
1750 (ede-adebug-project-root): Fix typos in docstrings.
1752 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
1754 * ede/locate.el (ede-locate-file-in-project)
1755 (ede-locate-file-in-project-impl): Fix typos in docstrings.
1756 (ede-enable-locate-on-project): Fix typos in error messages.
1758 * semantic/util-modes.el (semantic-unmatched-syntax-face)
1759 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
1760 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
1761 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
1762 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
1763 Fix typos in menu help.
1765 * semantic.el (semantic-require-version, semantic--buffer-cache)
1766 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
1767 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
1768 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
1769 (semantic-parse-stream, semantic-parse-region)
1770 (semantic-parse-region-default, semantic--set-buffer-cache)
1771 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
1772 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
1773 (semantic-default-submodes):
1774 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
1775 (semanticdb-create-ebrowse-database)
1776 (semanticdb-find-tags-for-completion-method)
1777 (semanticdb-find-tags-by-class-method)
1778 (semanticdb-deep-find-tags-by-name-method)
1779 (semanticdb-deep-find-tags-for-completion-method):
1780 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
1781 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
1782 (semanticdb-find-tags-for-completion-method)
1783 (semanticdb-find-tags-by-class-method)
1784 (semanticdb-deep-find-tags-for-completion-method):
1785 * semantic/db-find.el (semanticdb-find-translate-path)
1786 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
1787 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
1788 (semanticdb-find-tags-by-name-method)
1789 (semanticdb-find-tags-by-name-regexp-method)
1790 (semanticdb-find-tags-for-completion-method)
1791 (semanticdb-find-tags-by-class-method)
1792 (semanticdb-find-tags-external-children-of-type-method)
1793 (semanticdb-find-tags-subclasses-of-type-method)
1794 (semanticdb-deep-find-tags-by-name-method)
1795 (semanticdb-deep-find-tags-by-name-regexp-method)
1796 (semanticdb-deep-find-tags-for-completion-method):
1797 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
1798 (semanticdb-enable-gnu-global-in-buffer)
1799 (semanticdb-find-tags-for-completion-method)
1800 (semanticdb-deep-find-tags-by-name-method)
1801 (semanticdb-deep-find-tags-for-completion-method):
1802 * semantic/db-javascript.el (semanticdb-javascript-tags)
1803 (javascript-mode, semanticdb-find-translate-path)
1804 (semanticdb-find-tags-for-completion-method)
1805 (semanticdb-find-tags-by-class-method)
1806 (semanticdb-deep-find-tags-by-name-method)
1807 (semanticdb-deep-find-tags-for-completion-method)
1808 (semanticdb-find-tags-external-children-of-type-method):
1809 * semantic/idle.el (semantic-idle-work-core-handler)
1810 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
1811 (global-semantic-idle-scheduler-mode):
1812 * srecode/dictionary.el (srecode-field-value)
1813 (srecode-dictionary-add-section-dictionary):
1814 Fix typos in docstrings.
1816 2010-01-17 Glenn Morris <rgm@gnu.org>
1818 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
1820 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
1822 * semantic.el (semantic-mode): Fix typos in docstrings.
1824 2010-01-16 Mario Lang <mlang@delysid.org>
1826 * ede/cpp-root.el (ede-cpp-root-project):
1827 * ede/files.el (ede-expand-filename):
1828 * ede/simple.el (ede-simple-project):
1829 * semantic/complete.el (semantic-complete-read-tag-engine)
1830 (semantic-complete-inline-tag-engine):
1831 * semantic/db-el.el (semanticdb-equivalent-mode):
1832 * semantic/db-global.el (semanticdb-equivalent-mode):
1833 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1834 * semantic/db.el (semanticdb-equivalent-mode):
1835 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
1836 * semantic/idle.el (semantic-idle-work-for-one-buffer):
1837 Remove duplicated words in doc-strings.
1839 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
1841 * semantic/edit.el (semantic-reparse-needed-change-hook)
1842 (semantic-no-reparse-needed-change-hook):
1843 * srecode/insert.el (srecode-resolve-argument-list)
1844 (srecode-template-inserter-blank, srecode-template-inserter-variable)
1845 (srecode-template-inserter-ask, srecode-template-inserter-width)
1846 (srecode-template-inserter-section-start)
1847 (srecode-template-inserter-section-end, srecode-insert-method):
1848 Fix typos in docstrings.
1850 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1852 * data-debug.el (data-debug): Fix customization group reference.
1854 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
1856 * semantic/analyze.el (semantic-analyze-push-error)
1857 (semantic-analyze-context, semantic-analyze-context-assignment)
1858 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
1859 * semantic/java.el (java-mode, semantic-tag-include-filename)
1860 (semantic-java-doc-keywords-map):
1861 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
1862 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
1863 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
1864 (semantic-c-classname, semantic-format-tag-uml-prototype)
1865 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
1866 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
1867 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
1868 (semantic-get-local-variables, semantic-end-of-command)
1869 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
1871 * semantic/bovine/make.el (makefile-mode):
1872 * semantic/wisent/python.el (wisent-python-string-re)
1873 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
1874 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
1875 (semantic-lex, semantic-get-local-variables, python-mode):
1876 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
1877 * srecode/extract.el (srecode-extract-state-set)
1878 (srecode-extract-method): Fix typos in docstrings.
1880 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
1882 * semantic.el (semantic-new-buffer-setup-functions):
1885 2010-01-10 Richard Kim <emacs18@gmail.com>
1887 * semantic/wisent/python-wy.el:
1888 * semantic/wisent/python.el: New files.
1890 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
1892 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1893 Fix typo in docstring.
1895 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
1897 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
1898 (semantic-mru-bookmark-mode): Doc fixes.
1900 * semantic/db.el (semanticdb-cache-get): Use error instead
1903 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
1905 * semantic/ia.el (semantic-ia-complete-symbol):
1906 Make argument optional.
1908 2009-12-05 Eric Ludlam <zappo@gnu.org>
1910 * semantic/bovine/c.el (semantic-c-describe-environment):
1911 Describe project macro symbols.
1913 * semantic/complete.el (semantic-complete-do-completion):
1914 Don't call semantic-collector-current-exact-match.
1916 * ede.el (ede-apply-preprocessor-map): Accept lists of
1917 ede-objects as targets.
1919 * ede/pmake.el (ede-proj-makefile-insert-variables):
1920 Output a target's object list even if compiler vars are already in the
1923 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
1924 list of headers producing necessary macros.
1926 2009-11-24 Glenn Morris <rgm@gnu.org>
1928 * semantic/idle.el (global-semantic-idle-scheduler-mode):
1929 Move after definition of global-semantic-idle-tag-highlight-mode.
1931 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1933 * srecode/map.el (srecode-get-maps):
1934 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1935 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1936 * semantic/decorate/mode.el (semantic-decoration-mode)
1937 (semantic-toggle-decoration-style):
1938 * semantic/decorate/include.el
1939 (semantic-decoration-include-describe)
1940 (semantic-decoration-unknown-include-describe)
1941 (semantic-decoration-unparsed-include-describe)
1942 (semantic-decoration-all-include-summary):
1943 * semantic/bovine/c.el (semantic-c-debug-mode-init):
1944 * semantic/analyze/complete.el
1945 (semantic-analyze-possible-completions):
1946 * semantic/util-modes.el (semantic-highlight-edits-mode)
1947 (semantic-show-unmatched-syntax-mode)
1948 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1949 (semantic-highlight-func-mode):
1950 * semantic/util.el (semantic-describe-buffer):
1951 * semantic/symref.el (semantic-symref-find-references-by-name)
1952 (semantic-symref-find-tags-by-name)
1953 (semantic-symref-find-tags-by-regexp)
1954 (semantic-symref-find-tags-by-completion)
1955 (semantic-symref-find-file-references-by-name)
1956 (semantic-symref-find-text):
1957 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
1959 * semantic/scope.el (semantic-calculate-scope):
1960 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1961 * semantic/idle.el (semantic-idle-scheduler-mode)
1962 (define-semantic-idle-service):
1963 * semantic/complete.el (semantic-complete-analyze-inline)
1964 (semantic-complete-analyze-inline-idle):
1965 * semantic/analyze.el (semantic-analyze-current-context):
1966 * mode-local.el (describe-mode-local-bindings)
1967 (describe-mode-local-bindings-in-mode):
1968 * ede/make.el (ede-make-check-version):
1969 * ede/locate.el (ede-enable-locate-on-project):
1970 * cedet-idutils.el (cedet-idutils-expand-filename)
1971 (cedet-idutils-version-check):
1972 * cedet-global.el (cedet-gnu-global-expand-filename)
1973 (cedet-gnu-global-version-check):
1974 * cedet-cscope.el (cedet-cscope-expand-filename)
1975 (cedet-cscope-version-check): Use called-interactively-p instead
1978 * semantic/ia.el (semantic-ia-completion-format-tag-function):
1979 Use semantic-format-tag-prototype.
1981 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1983 * semantic/complete.el (semantic-complete-read-tag-engine)
1984 (semantic-complete-jump-local, semantic-complete-jump):
1985 Improve prompt string.
1987 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1989 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
1991 * semantic/idle.el (define-semantic-idle-service)
1992 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1994 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1996 * cedet.el (cedet-menu-map): Re-order menu items.
1998 * semantic.el: Enable idle-mode menu items only if
1999 global-semantic-idle-scheduler-mode is enabled.
2000 (semantic-default-submodes): Doc fix.
2002 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2003 When turning off, disable other idle modes.
2005 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2007 * semantic/idle.el (semantic-idle-summary-mode)
2008 (semantic-idle-summary-mode): Define using define-minor-mode
2009 instead of define-semantic-idle-service.
2010 (semantic-idle-summary-mode): New function.
2011 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2012 that mouse motion does not reset the echo area.
2014 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2016 * semantic/ctxt.el (semantic-get-local-variables):
2017 Disable the progress reporter entirely.
2019 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * semantic/fw.el (semantic/loaddefs):
2022 * srecode.el (srecode/loaddefs):
2023 * ede.el (ede/loaddefs): Load rather than require.
2034 * semantic/analyze.el:
2035 * semantic/bovine.el:
2036 * semantic/complete.el:
2038 * semantic/db-file.el:
2039 * semantic/db-find.el:
2040 * semantic/db-global.el:
2041 * semantic/db-mode.el:
2042 * semantic/db-typecache.el:
2044 * semantic/debug.el:
2049 * semantic/format.el:
2051 * semantic/ia-sb.el:
2054 * semantic/lex-spp.el:
2056 * semantic/mru-bookmark.el:
2057 * semantic/scope.el:
2058 * semantic/senator.el:
2060 * semantic/symref.el:
2061 * semantic/tag-file.el:
2062 * semantic/tag-ls.el:
2063 * semantic/tag-write.el:
2065 * semantic/util-modes.el:
2066 * semantic/analyze/complete.el:
2067 * semantic/analyze/refs.el:
2068 * semantic/bovine/c.el:
2069 * semantic/bovine/gcc.el:
2070 * semantic/bovine/make.el:
2071 * semantic/bovine/scm.el:
2072 * semantic/decorate/include.el:
2073 * semantic/decorate/mode.el:
2074 * semantic/symref/cscope.el:
2075 * semantic/symref/global.el:
2076 * semantic/symref/grep.el:
2077 * semantic/symref/idutils.el:
2078 * semantic/symref/list.el:
2079 * semantic/wisent/java-tags.el:
2080 * semantic/wisent/javascript.el:
2081 * srecode/compile.el:
2083 * srecode/document.el:
2085 * srecode/expandproto.el:
2086 * srecode/getset.el:
2087 * srecode/insert.el:
2091 * srecode/template.el:
2092 * srecode/texi.el: Remove the file-local setting of
2093 generated-autoload-feature.
2095 2009-11-03 Glenn Morris <rgm@gnu.org>
2097 * mode-local.el (with-mode-local): Doc fix.
2099 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2101 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2104 * ede.el (ede-minor-mode):
2105 * semantic.el (semantic-mode): Toggle menu separators.
2107 2009-10-31 Glenn Morris <rgm@gnu.org>
2109 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2110 Use mapc rather than mapcar because the return value is never used.
2112 * srecode/template.el, semantic/wisent/javascript.el:
2113 * semantic/wisent/java-tags.el, semantic/texi.el:
2115 Suppress harmless warnings about setting up semantic-imenu (not
2116 part of Emacs) variables.
2118 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2121 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2122 * semantic/symref/grep.el (semantic-symref-perform-search):
2123 * semantic/bovine/gcc.el (semantic-gcc-query):
2124 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2125 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2126 (semantic-analyzer-debug-global-symbol)
2127 (semantic-analyzer-debug-missing-innertype)
2128 (semantic-analyzer-debug-insert-include-summary):
2129 * semantic/util.el (semantic-file-tag-table):
2130 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2131 (semantic-recursive-find-nonterminal-by-name):
2132 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2133 * semantic/tag-file.el (semantic-prototype-file):
2134 * semantic/symref.el (semantic-symref-parse-tool-output):
2135 * semantic/sb.el (semantic-sb-fetch-tag-table):
2136 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2137 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2138 (semantic-idle-summary-maybe-highlight):
2139 * semantic/ia-sb.el (semantic-ia-speedbar)
2140 (semantic-ia-sb-tag-info):
2141 * semantic/grammar.el (semantic-analyze-possible-completions):
2142 * semantic/find.el (semantic-brute-find-tag-by-position):
2143 * semantic/ede-grammar.el (project-compile-target):
2144 (ede-proj-makefile-insert-variables):
2145 * semantic/debug.el (semantic-debug-set-parser-location):
2146 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2147 (semantic-debug-mode, semantic-debug):
2148 * semantic/db.el (semanticdb-needs-refresh-p):
2149 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2150 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2151 * semantic/db-find.el (semanticdb-find-log-new-search)
2152 (semanticdb-find-translate-path-includes--internal)
2153 (semanticdb-reset-log, semanticdb-find-log-activity):
2154 * semantic/db-file.el (object-write):
2155 * semantic/db-el.el (semanticdb-equivalent-mode):
2156 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2157 (semanticdb-create-ebrowse-database):
2158 * semantic/db-debug.el (semanticdb-table-sanity-check):
2159 * semantic/complete.el (semantic-displayor-focus-request)
2160 (semantic-collector-calculate-completions-raw)
2161 (semantic-complete-read-tag-analyzer):
2162 * semantic/analyze.el (semantic-analyze-pulse):
2163 * ede/util.el (ede-update-version-in-source):
2164 * ede/proj.el (project-delete-target):
2165 * ede/proj-elisp.el (ede-update-version-in-source)
2166 (ede-proj-flush-autoconf):
2167 * ede/pconf.el (ede-proj-configure-synchronize)
2168 (ede-proj-configure-synchronize):
2169 * ede/locate.el (ede-locate-file-in-project-impl):
2170 * ede/linux.el (ede-linux-version):
2171 * ede/emacs.el (ede-emacs-version):
2172 * ede/dired.el (ede-dired-add-to-target):
2173 * ede.el (ede-buffer-header-file, ede-find-target)
2174 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2175 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2176 * cedet-idutils.el (cedet-idutils-fnid-call):
2177 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2178 (cedet-idutils-version-check):
2179 * cedet-global.el (cedet-gnu-global-call):
2180 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2181 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2182 * cedet-cscope.el (cedet-cscope-call)
2183 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2184 Use with-current-buffer.
2185 * ede.el (ede-make-project-local-variable)
2186 (ede-set-project-variables, ede-set): Use dolist.
2188 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2190 * mode-local.el (make-obsolete-overload): Add `when' argument.
2191 (overload-docstring-extension): Use that info.
2192 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2193 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2194 * semantic/tag-ls.el (semantic-nonterminal-protection)
2195 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2196 (semantic-nonterminal-full-name): Add the new `when' info.
2197 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2200 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * semantic/fw.el (semantic-alias-obsolete)
2203 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2204 (define-mode-overload-implementation):
2205 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2206 * semantic/wisent.el (wisent-lex-make-token-table):
2207 * semantic/util.el (semantic-file-token-stream)
2208 (semantic-something-to-stream):
2209 * semantic/tag.el (semantic-tag-make-assoc-list)
2210 (semantic-expand-nonterminal):
2211 * semantic/tag-file.el (semantic-find-nonterminal)
2212 (semantic-find-dependency, semantic-find-nonterminal)
2213 (semantic-find-dependency):
2214 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2215 (semantic-flex-text, semantic-flex-make-keyword-table)
2216 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2217 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2218 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2219 * semantic/java.el (semantic-java-prototype-nonterminal):
2220 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2221 (semantic-after-idle-scheduler-reparse-hooks):
2222 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2223 * semantic/db-mode.el (semanticdb-mode-hooks):
2224 * semantic.el (semantic-toplevel-bovine-table)
2225 (semantic-toplevel-bovine-cache)
2226 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2227 (semantic-init-mode-hooks, semantic-init-db-hooks)
2228 (semantic-bovination-working-type): Provide the `when' arg.
2230 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2232 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2233 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2234 argument to make-obsolete.
2236 * semantic/fw.el (semantic-alias-obsolete)
2237 (semantic-varalias-obsolete): Add optional WHEN argument.
2239 2009-10-21 Eric Ludlam <zappo@gnu.org>
2241 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2242 (semantic-c-debug-mode-init-pch): New functions.
2243 (semantic-c-debug-mode-init-last-mode): New var.
2244 (semantic-c-parse-lexical-token): Use them.
2246 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2247 When extracting the argument list, limit only by point-max.
2249 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2252 * srecode/compile.el:
2253 * semantic/mru-bookmark.el:
2254 * semantic/debug.el:
2255 * semantic/complete.el:
2256 * semantic/analyze.el: Require CL when compiling.
2258 2009-10-17 Eric Ludlam <zappo@gnu.org>
2261 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2262 tmpscope so that the regular scope will continue to work.
2264 * semantic/idle.el (semantic-idle-tag-highlight):
2265 Use semantic-idle-summary-highlight-face as the highlighting.
2267 * ede/project-am.el (project-run-target): New method.
2268 (project-run-target): New method.
2270 * ede.el (ede-target): Add run target menu item.
2271 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2272 (ede-run-target): New function.
2273 (ede-target::project-run-target): New method.
2275 * ede/proj.el (project-run-target): New method.
2277 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2278 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2280 (ede-proj-target-makefile-shared-object): Only libtool compilers
2281 now available. Add linkers for libtool.
2282 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2283 (ede-proj-makefile-target-name): Always use .la extension.
2285 * ede/proj-prog.el (project-run-target): New method.
2287 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2288 (ede-g++-linker): Change Change link lines.
2290 * ede/pmake.el (ede-pmake-insert-variable-shared):
2291 When searching for old variables, go to the end of the buffer and
2292 search backward from there.
2293 (ede-proj-makefile-automake-insert-subdirs)
2294 (ede-proj-makefile-automake-insert-extradist): New methods.
2295 (ede-proj-makefile-create): Use them.
2297 * ede/pconf.el (ede-proj-configure-test-required-file):
2298 Force FILE to expand to the current target. Use file-exists-p to
2299 check that it exists.
2301 * ede/linux.el (ede-linux-version): Don't call "head".
2302 (ede-linux-load): Wrap dir in file-name-as-directory.
2305 * ede/files.el (ede-get-locator-object): When enabling
2306 locate, do so on "top".
2308 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2309 file-name-as-directory during compare.
2310 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2311 Get version number from different places. Don't call egrep.
2312 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2313 to set the directory.
2315 * ede/shell.el: New file.
2317 * inversion.el (inversion-decoders): Allow for stray . in
2318 alpha/beta variants.
2320 2009-10-17 Glenn Morris <rgm@gnu.org>
2322 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2323 All errors should have messages.
2325 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2327 * ede/proj-shared.el (ede-proj-makefile-target-name):
2328 Use .la for Automake.
2330 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2332 * ede/pconf.el (ede-proj-configure-synchronize):
2333 Use "autoreconf -i". Suggested by Andreas Schwab.
2335 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2337 * ede/proj.el (project-make-dist, project-compile-project):
2339 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2340 to expand file names.
2342 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2344 * ede/proj-obj.el (ede-gcc-linker): New var.
2345 (ede-proj-target-makefile-objectcode): Use it.
2347 * ede/source.el (ede-want-any-source-files-p)
2348 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2349 Return search result. This error was introduced while merging.
2351 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2353 * semantic.el (semantic-new-buffer-setup-functions): New option.
2354 (semantic-new-buffer-fcn): Call parser setup functions here.
2355 (semantic-mode): Don't call parser setup functions here, it's done
2356 in semantic-new-buffer-fcn now.
2357 (semantic-mode): Parse all existing buffers when enabled.
2359 * srecode/compile.el (srecode-compile-file):
2360 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2362 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2364 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2366 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2367 (proj-comp-insert-variable-once): New macro, renamed from
2368 ede-pmake-insert-variable-once in ede/pmake.edl.
2369 (ede-proj-makefile-insert-variables): Use it.
2371 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2373 * ede/makefile-edit.el (makefile-beginning-of-command)
2374 (makefile-end-of-command):
2375 * srecode/srt-mode.el (semantic-beginning-of-context)
2376 (semantic-end-of-context): Fix previous change. Doc fixes.
2378 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2380 * ede/makefile-edit.el (makefile-beginning-of-command)
2381 (makefile-end-of-command):
2382 * semantic/lex.el (semantic-lex-token):
2383 * semantic/analyze/fcn.el
2384 (semantic-analyze-dereference-metatype-1):
2385 * semantic/bovine/c.el (semantic-lex-cpp-define)
2386 (semantic-lex-cpp-undef):
2387 * semantic/wisent/wisent.el (wisent-skip-block):
2388 * srecode/srt-mode.el (semantic-beginning-of-context)
2389 (semantic-end-of-context): Fix typos in docstrings.
2391 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2393 * ede.el (ede-project-placeholder-cache-file):
2394 * semantic/db-file.el (semanticdb-default-save-directory):
2395 * srecode/map.el (srecode-map-save-file):
2396 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2398 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2400 * srecode/insert.el: Require srecode/args.
2402 * srecode/args.el: Require srecode/dictionary instead of
2405 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2407 * files.el (auto-mode-alist): Add .srt and Project.ede.
2409 * semantic.el (semantic-mode):
2410 Handle srecode-template-mode-hook as well.
2411 (semantic-mode): Use js-mode-hook for Javascript hook.
2413 * srecode/template.el: Remove hook variable.
2415 * ede/proj-comp.el: Require ede/pmake when compiling.
2417 * ede.el (ede-target-forms-menu): Don't enable if no
2419 (ede-project-placeholder-cache-file): Default to a file in
2420 user-emacs-directory.
2422 * srecode/map.el (srecode-map-base-template-dir): Look for
2423 templates in data-directory.
2424 (srecode-map-save-file): Default to a file in user-emacs-directory.
2426 * ede/srecode.el (ede-srecode-setup): Use default templates
2429 2009-09-30 Eric Ludlam <zappo@gnu.org>
2431 * semantic/util-modes.el (semantic-highlight-func-mode):
2434 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2435 Only insert each variable once.
2437 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2438 (ede-pmake-insert-variable-shared): Use it.
2440 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2441 for lexical table iff table is nil.
2443 2009-10-01 Glenn Morris <rgm@gnu.org>
2445 * semantic/bovine/gcc.el
2446 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2447 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2449 2009-10-03 Glenn Morris <rgm@gnu.org>
2451 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2452 declaration, currently false.
2454 2009-10-01 Glenn Morris <rgm@gnu.org>
2456 * cedet-files.el (cedet-directory-name-to-file-name):
2457 * cedet-idutils.el (cedet-idutils-search)
2458 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2459 (cedet-idutils-version-check):
2460 * cedet.el (cedet-version):
2461 * data-debug.el (data-debug-insert-overlay-button)
2462 (data-debug-insert-overlay-list-button)
2463 (data-debug-insert-buffer-button)
2464 (data-debug-insert-buffer-list-button)
2465 (data-debug-insert-process-button, data-debug-insert-ring-button)
2466 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2467 (data-debug-insert-stuff-vector-button)
2468 (data-debug-insert-symbol-button, data-debug-insert-string)
2469 (data-debug-insert-number, data-debug-insert-lambda-expression)
2470 (data-debug-insert-nil, data-debug-insert-simple-thing)
2471 (data-debug-insert-custom, data-debug-edebug-expr):
2472 * ede.el (ede-auto-add-method, ede-project-class-files)
2473 (global-ede-mode-map, ede-new, ede-debug-target)
2474 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2475 * semantic.el (semantic-minimum-working-buffer-size)
2476 (semantic-fetch-tags, semantic-submode-list)
2477 (semantic-default-submodes):
2478 * ede/source.el (ede-source-match):
2479 * ede/project-am.el (project-am-type-alist, project-add-file)
2480 (project-am-package-info):
2481 * ede/proj.el (ede-proj-target, project-new-target):
2482 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2483 * ede/proj-comp.el (ede-current-build-list):
2484 * ede/makefile-edit.el (makefile-move-to-macro):
2485 * ede/files.el (ede-toplevel-project-or-nil):
2486 * ede/cpp-root.el (initialize-instance):
2487 * ede/autoconf-edit.el (autoconf-find-last-macro)
2488 (autoconf-parameter-strip, autoconf-insert-new-macro):
2489 * semantic/wisent.el (wisent-lex-eoi):
2490 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2491 (semantic-show-parser-state-mode):
2492 * semantic/texi.el (semantic-texi-environment-regexp):
2493 * semantic/tag.el (semantic-tag-new-variable)
2494 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2495 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2496 (semantic--tag-deep-copy-tag-list)
2497 (semantic-tag-components-with-overlays-default):
2498 * semantic/symref.el (semantic-symref-find-text):
2499 * semantic/senator.el (senator-yank-tag)
2500 (senator-transpose-tags-up):
2501 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2502 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2503 * semantic/sb.el (semantic-sb-autoexpand-length):
2504 * semantic/lex.el (semantic-lex-comment-regex)
2505 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2506 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2507 * semantic/lex-spp.el
2508 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2509 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2511 (semantic-idle-summary-current-symbol-info-brutish)
2512 (semantic-idle-summary-current-symbol-info-default):
2513 * semantic/grammar.el (semantic-grammar-recreate-package)
2514 (semantic--grammar-macro-compl-dict):
2515 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2516 * semantic/format.el (semantic-format-tag-custom-list)
2517 (semantic-format-tag-canonical-name-default):
2518 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2519 (semantic-find-tags-for-completion)
2520 (semantic-find-tags-by-scope-protection-default)
2521 (semantic-deep-find-tags-for-completion):
2523 (semantic-edits-incremental-reparse-failed-hook)
2524 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2525 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2526 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2527 * semantic/dep.el (semantic-dependency-include-path):
2528 * semantic/db.el (semanticdb-default-find-index-class)
2529 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2530 (semanticdb-project-roots):
2531 * semantic/db-find.el (semanticdb-implied-include-tags)
2532 (semanticdb-find-adebug-insert-scanned-tag-cons)
2533 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2534 (semanticdb-brute-deep-find-tags-for-completion):
2535 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2536 * semantic/ctxt.el (semantic-beginning-of-context-default)
2537 (semantic-end-of-context-default)
2538 (semantic-ctxt-current-function-default)
2539 (semantic-ctxt-scoped-types-default):
2540 * semantic/complete.el (semantic-complete-read-tag-engine)
2541 (semantic-complete-inline-tag-engine)
2542 (semantic-complete-inline-custom-type)
2543 (semantic-complete-read-tag-analyzer):
2544 * semantic/chart.el (semantic-chart-tags-by-class)
2545 (semantic-chart-database-size):
2546 * semantic/analyze.el (semantic-analyze-current-symbol)
2547 (semantic-analyze-current-context):
2548 * semantic/symref/list.el (semantic-symref)
2549 (semantic-symref-hide-buffer, semantic-symref-symbol):
2550 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2551 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2552 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2553 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2554 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2555 (semantic-c-dereference-template):
2556 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2557 (semantic--analyze-refs-full-lookup-with-parents)
2558 (semantic--analyze-refs-full-lookup-simple):
2559 * semantic/analyze/complete.el
2560 (semantic-analyze-possible-completions):
2561 * srecode/table.el (srecode-mode-table-new):
2562 * srecode/srt.el (srecode-read-variable-name):
2563 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2564 * srecode/semantic.el (srecode-semantic-handle-:tag)
2565 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2566 * srecode/map.el (srecode-current-map):
2567 * srecode/insert.el (srecode-insert)
2568 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2569 (srecode-template-inserter-point-override)
2570 (srecode-insert-include-lookup):
2571 * srecode/getset.el (srecode-auto-choose-class):
2572 * srecode/extract.el (srecode-inserter-extract):
2573 * srecode/document.el
2574 (srecode-document-autocomment-return-last-alist)
2575 (srecode-document-autocomment-param-type-alist)
2576 (srecode-document-insert-function-comment)
2577 (srecode-document-insert-variable-one-line-comment)
2578 (srecode-document-function-name-comment):
2579 * srecode/dictionary.el (srecode-create-dictionary)
2580 (srecode-compound-toString):
2581 * srecode/compile.el (srecode-flush-active-templates):
2582 * srecode/args.el (srecode-semantic-handle-:blank):
2585 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2587 * semantic/wisent/javat-wy.el
2588 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2590 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2592 * srecode/expandproto.el: Fix provide statement.
2594 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2596 * ede/srecode.el: Fix provide statement.
2598 2009-09-30 Glenn Morris <rgm@gnu.org>
2600 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
2601 * ede/proj-aux.el (ede-aux-source):
2602 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2604 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
2605 (semantic-mrub-switch-tags): Fix doc typos.
2607 * semantic/db-global.el (data-debug-new-buffer)
2608 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2609 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2611 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2613 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2614 use of CL function `remove-if-not'.
2616 2009-09-29 Glenn Morris <rgm@gnu.org>
2618 * semantic/symref/idutils.el:
2619 * semantic/symref/list.el: Relicense under GPLv3+.
2621 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2623 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2624 * semantic/tag-file.el (semanticdb-table-child-p):
2625 * srecode/compile.el (srecode-template-inserter-newline-child-p):
2626 Mark declarations not understood by check-declare.
2628 2009-09-28 Eric Ludlam <zappo@gnu.org>
2630 CEDET (development tools) package merged.
2635 * srecode/*.el: New files.
2637 2009-09-28 Eric Ludlam <zappo@gnu.org>
2646 * pulse.el: New files.
2652 Copyright (C) 2009-2013 Free Software Foundation, Inc.
2654 This file is part of GNU Emacs.
2656 GNU Emacs is free software: you can redistribute it and/or modify
2657 it under the terms of the GNU General Public License as published by
2658 the Free Software Foundation, either version 3 of the License, or
2659 (at your option) any later version.
2661 GNU Emacs is distributed in the hope that it will be useful,
2662 but WITHOUT ANY WARRANTY; without even the implied warranty of
2663 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2664 GNU General Public License for more details.
2666 You should have received a copy of the GNU General Public License
2667 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.