1 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3 * semantic/ia.el (semantic-ia-complete-symbol-menu): Use posn-at-point
4 instead of senator-completion-menu-point-as-event; un-comment, tho keep
5 the "no smart completion" fallback commented since it still doesn't work.
7 2014-05-01 Glenn Morris <rgm@gnu.org>
9 * ede.el (ede-project-directories, ede-check-project-directory):
10 * semantic/ia-sb.el (semantic-ia-sb-show-doc):
11 * semantic/tag.el (semantic-tag-in-buffer-p):
12 * semantic/bovine/c.el (semantic-tag-abstract-p):
13 Doc fixes (replace `iff').
15 2014-04-01 Glenn Morris <rgm@gnu.org>
17 * ede/emacs.el (ede-emacs-version): Update AC_INIT regexp. (Bug#17160)
19 2014-03-29 Glenn Morris <rgm@gnu.org>
21 * ede/dired.el (ede-dired-minor-mode): Add autoload cookie.
22 (generated-autoload-file, generated-autoload-load-name):
23 Set file-local values.
24 * ede.el: Load ede/loaddefs at compile time too.
25 (ede-dired-minor-mode): Remove hand-written autoload.
27 2014-03-04 Glenn Morris <rgm@gnu.org>
29 * semantic/util.el (semantic-complete-symbol):
30 Replace use of obsolete argument of display-completion-list.
32 2014-02-03 Glenn Morris <rgm@gnu.org>
34 * semantic/senator.el (senator-copy-tag-to-register):
35 Use register-read-with-preview, if available.
37 2014-01-13 Eric Ludlam <zappo@gnu.org>
39 * semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix typo
42 * semantic/ia.el (semantic-ia-complete-symbol): Ignore case if
43 prefix is all lower case.
44 (semantic-ia-fast-jump): Push mark before jumping to an include file.
46 * semantic/complete.el (semantic-displayor-point-position):
47 Calculate if the toolbar is on the left when calculating point
50 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
53 * semantic/decorate/include.el (semantic-decoration-mouse-3):
54 Rename from semantic-decoratiton-mouse-3. All uses changed.
56 2013-12-28 Glenn Morris <rgm@gnu.org>
58 * ede/linux.el (project-linux-build-directory-default)
59 (project-linux-architecture-default): Fix custom types. Add version.
61 2013-12-12 David Engster <deng@randomsample.de>
63 * semantic/analyze.el (semantic-analyze-find-tag-sequence-default):
64 Always add scope to the local miniscope for each type. Otherwise,
65 structure tags are not analyzed correctly. Also, always search
66 the extended miniscope even when not dealing with types.
68 * semantic/ctxt.el (semantic-get-local-variables-default): Also
69 try to parse local variables for buffers which are currently
70 marked as unparseable. Otherwise, it is often impossible to
71 complete local variables.
73 * semantic/scope.el (semantic-analyze-scoped-types-default): If we
74 cannot find a type in the typecache, also look into the the types
75 we already found. This is necessary since in C++, a 'using
76 namespace' can be dependend on a previous one.
77 (semantic-completable-tags-from-type): When creating the list of
78 completable types, pull in types which are referenced through
79 'using' statements, and also preserve their filenames.
81 * semantic/bovine/c.el (semantic/analyze/refs): Require.
82 (semantic-analyze-tag-references): New override. Mainly copied
83 from the default implementation, but if nothing could be found (or
84 just the tag itself), drop all namespaces from the scope and
85 search again. This is necessary for implementations which are
86 defined outside of the namespace and only pull those in through
88 (semantic-ctxt-scoped-types): Go through all tags around point and
89 search them for using statements. In the case for using
90 statements outside of function scope, append them in the correct
91 order instead of using 'cons'. This is important since using
92 statements may depend on previous ones.
93 (semantic-expand-c-tag-namelist): Do not try to parse struct
94 definitions as default values. The grammar parser seems to return
95 the point positions slightly differently (as a cons instead of a
96 list). Also, set parent for typedefs to 'nil'. It does not
97 really make sense to set a parent class for typedefs, and it can
98 also lead to endless loops when calculating scope.
99 (semantic-c-reconstitute-token): Change handling of function
100 pointers; instead of seeing them as variables, handle them as
101 functions with a 'function-pointer' attribute. Also, correctly
102 deal with function pointers as function arguments.
103 (semantic-c-reconstitute-function-arglist): New function to parse
104 function pointers inside an argument list.
105 (semantic-format-tag-name): Use 'function-pointer' attribute
106 instead of the old 'functionpointer-flag'.
107 (semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'.
109 * semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to
110 the list of files whose preprocessor symbols are included. This
111 pulls in things like __USE_POSIX and similar.
113 * semantic/format.el (semantic-format-tag-prototype-default):
114 Display default values if available.
116 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
117 (semantic-analyze-refs-proto): Add 'default-value' as ignorable in
118 call to `semantic-tag-similar-p'.
120 * semantic/db-mode.el (semanticdb-semantic-init-hook-fcn): Always
121 set buffer for `semanticdb-current-table'.
123 * semantic/db.el (semanticdb-table::semanticdb-refresh-table): The
124 previous change turned up a bug in this method. Since the current
125 table now correctly has a buffer set, the first clause in the
126 `cond' would be taken, but there was a `save-excursion' missing.
128 * semantic/lex-spp.el (semantic-c-end-of-macro): Declare.
129 (semantic-lex-spp-token-macro-to-macro-stream): Deal with macros
130 which open/close a scope. For this, leave an overlay if we
131 encounter a single open paren and return a semantic-list in the
132 lexer. When this list gets expanded, retrieve the old position
133 from the overlay. See the comments in the function for further
135 (semantic-lex-spp-find-closing-macro): New function to find the
136 next macro which closes scope (i.e., has a closing paren).
137 (semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of
138 closing macro if necessary.
139 (semantic-lex-spp-paren-or-list): New lexer to specially deal with
140 parens in macro definitions.
142 * semantic/decorate/mode.el (semantic-decoration-mode): Do not
143 decorate available tags immediately but in an idle timer, since
144 EDE will usually not be activated yet, which will make it
145 impossible to find project includes.
147 * semantic/decorate/include.el
148 (semantic-decoration-on-includes-highlight-default): Remove
149 'unloaded' from throttle when decorating includes, otherwise all
150 would be loaded. Rename 'table' to 'currenttable' to make things
153 * ede/linux.el (cl): Require during compile.
155 2013-12-12 Lluís Vilanova <xscript@gmx.net>
157 * ede/linux.el (project-linux-build-directory-default)
158 (project-linux-architecture-default): Add customizable variables.
159 (ede-linux-project): Add additional slots to track Linux-specific
160 information (out-of-tree build directory and selected
162 (ede-linux--get-build-directory, ede-linux--get-archs)
163 (ede-linux--detect-architecture, ede-linux--get-architecture)
164 (ede-linux--include-path): Added function to detect Linux-specific
166 (ede-linux-load): Set new Linux-specific information when creating
168 (ede-expand-filename-impl): Use new and more accurate include
171 2013-12-12 Eric Ludlam <zappo@gnu.org>
173 * semantic/scope.el (semantic-calculate-scope): Return a clone of
174 the scopecache, so that everyone is working with its own (shallow)
175 copy. Otherwise, if one caller is resetting the scope, it would
176 be reset for all others working with the scope cache as well.
178 2013-12-12 Alex Ott <alexott@gmail.com>
180 * ede/generic.el (project-run-target): Remove incorrect require.
182 * semantic/format.el (semantic-format-tag-prototype-default): Use
183 concat only for strings.
185 2013-11-30 Glenn Morris <rgm@gnu.org>
187 Stop keeping (most) generated cedet grammar files in the repository.
188 * semantic/bovine/grammar.el (bovine--make-parser-1):
189 New function, split from bovine-make-parsers.
190 (bovine-make-parsers): Use bovine--make-parser-1.
191 (bovine-batch-make-parser): New function.
192 * semantic/wisent/grammar.el (wisent--make-parser-1):
193 New function, split from wisent-make-parsers.
194 (wisent-make-parsers): Use wisent--make-parser-1.
195 (wisent-batch-make-parser): New function.
196 * semantic/db.el (semanticdb-save-all-db):
197 Avoid prompting in batch mode.
198 * semantic/grammar.el (semantic-grammar-footer-template):
199 Disable version-control and autoloads in the output.
200 (semantic-grammar-create-package):
201 Add option to return nil if output is up-to-date.
202 * semantic/bovine/c-by.el, semantic/bovine/make-by.el:
203 * semantic/bovine/scm-by.el, semantic/wisent/javat-wy.el:
204 * semantic/wisent/js-wy.el, semantic/wisent/python-wy.el:
205 * srecode/srt-wy.el: Remove generated files from repository.
207 2013-11-16 Barry O'Reilly <gundaetiapo@gmail.com>
209 * semantic/fw.el (semantic-exit-on-input)
210 (semantic-throw-on-input): Restore point before
211 accept-process-output because timers which redisplay can run.
214 2013-11-03 Johan Bockgård <bojohan@gnu.org>
216 * semantic/lex.el (semantic-lex-start-block)
217 (semantic-lex-end-block): Move after definition of
218 semantic-lex-token macro.
220 2013-10-28 Barry O'Reilly <gundaetiapo@gmail.com>
222 * semantic/idle.el (semantic-idle-symbol-highlight)
223 (semantic-idle-symbol-highlight-face): Define face with defface
224 and obsolete the replaced one defined with defvar. (Bug#15745)
225 * pulse.el (pulse-momentary-highlight-overlay)
226 (pulse-momentary-highlight-region): Fix typo in doc
228 2013-10-30 Glenn Morris <rgm@gnu.org>
230 * semantic/grammar.el (semantic-grammar-mode-keywords-2)
231 (semantic-grammar-mode-keywords-3): Handle renamed font-lock vars.
233 2013-10-20 Johan Bockgård <bojohan@gnu.org>
235 * semantic/db-mode.el (global-semanticdb-minor-mode):
236 Remove hooks correctly.
237 (semanticdb-toggle-global-mode): Pass `toggle' to minor mode function.
239 2013-09-28 Leo Liu <sdl.web@gmail.com>
241 * semantic/texi.el (semantic-analyze-possible-completions):
242 Use ispell-lookup-words instead. (Bug#15460)
244 2013-09-20 Glenn Morris <rgm@gnu.org>
246 * semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
248 * semantic/fw.el: ...to here.
250 2013-09-18 Glenn Morris <rgm@gnu.org>
252 * semantic/find.el (semantic-brute-find-first-tag-by-name):
253 Replace obsolete function assoc-ignore-case with assoc-string.
255 * semantic/complete.el (tooltip-mode, tooltip-frame-parameters)
256 (tooltip-show): Declare.
258 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
260 * semantic/symref/list.el (semantic-symref-results-mode):
261 Use define-derived-mode.
262 (semantic-symref-produce-list-on-results): Set up the results here
263 instead of in semantic-symref-results-mode. Move after
264 semantic-symref-current-results's defvar now that it refers to that var.
265 (semantic-symref-auto-expand-results)
266 (semantic-symref-results-summary-function)
267 (semantic-symref-results-mode-hook): Remove redundant :group arg.
268 (semantic-symref, semantic-symref-symbol, semantic-symref-regexp):
269 Initialize directly in the let.
271 2013-09-13 Glenn Morris <rgm@gnu.org>
273 * semantic/ia.el (semantic-ia-complete-symbol-menu):
274 Comment it out, since it cannot work. (Bug#14522)
276 2013-09-12 Glenn Morris <rgm@gnu.org>
278 * semantic/find.el (semantic-find-first-tag-by-name):
279 Replace obsolete function assoc-ignore-case with assoc-string.
281 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
283 * semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
284 (semantic-grammar-mode-syntax-table): Rename from
285 semantic-grammar-syntax-table.
286 (semantic-grammar-mode-map): Rename from semantic-grammar-map.
287 * data-debug.el (data-debug-mode-map): Rename from data-debug-map.
288 (data-debug-mode): Use define-derived-mode.
290 2013-09-05 Glenn Morris <rgm@gnu.org>
292 * semantic/fw.el (semantic-make-local-hook):
293 Simplify by dropping Emacs <= 20.
295 2013-07-29 David Engster <deng@randomsample.de>
297 * cedet.el (cedet-packages): Remove speedbar since its
298 development does no longer happens in CEDET upstream but in Emacs
299 proper. Also remove cedet-contrib and cogre since those are only
302 * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
303 has a parent, return a fully qualified name.
305 * semantic/decorate/mode.el
306 (semantic-decoration-on-includes-p-default)
307 (semantic-decoration-on-includes-highlight-default): Declare for
310 * semantic/wisent/python.el (semantic/format): New require.
312 2013-07-27 Eric Ludlam <zappo@gnu.org>
314 * semantic/edit.el (semantic-edits-splice-remove):
315 Wrap debug message removing middle tag in semantic-edits-verbose-flag
318 2013-07-27 David Engster <deng@randomsample.de>
320 * semantic/bovine/el.el (semantic/db-el): New require.
322 * semantic/db-el.el (semanticdb-normalize-one-tag): It might be
323 that a symbol comes from a file but cannot be found in its table.
324 This happens for instance when a symbol was dynamically created
325 through a macro like `defstruct'. In this case, return the
327 (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
328 the argument list is not available until the file is loaded.
330 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
332 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header.
334 2013-06-19 Glenn Morris <rgm@gnu.org>
336 * semantic/idle.el (define-semantic-idle-service):
337 No need to use eval-and-compile, progn will do.
339 * semantic/decorate/mode.el (define-semantic-decoration-style):
341 (define-semantic-decoration-style): 'function is not an accepted
342 value for autoload's "type" argument. Might as well use the default.
344 2013-06-18 Glenn Morris <rgm@gnu.org>
346 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
347 Remove unused free variable `symlist'.
349 2013-06-02 Eric Ludlam <zappo@gnu.org>
351 * semantic/edit.el (semantic-change-function):
352 Use `save-match-data' around running hooks.
354 * semantic/decorate/mode.el
355 (semantic-decorate-style-predicate-default)
356 (semantic-decorate-style-highlighter-default): New.
357 (semantic-decoration-mode): Do not require
358 `semantic/decorate/include' anymore.
359 (semantic-toggle-decoration-style): Error if an unknown decoration
361 (define-semantic-decoration-style): Add new :load option.
362 When :load is specified, add autoload tokens for the definition
363 functions so that code is loaded when the mode is used.
364 (semantic-decoration-on-includes): New autoload definition for
365 highlighting includes.
367 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
368 characters to appear after the tested variable.
370 * semantic/ede-grammar.el (project-compile-target): Calculate full
371 src name via ede-expand-filename instead of the crutch of the
372 current buffer. Enables this target to compile in batch mode.
375 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
376 remote symbol with `save-excursion'.
377 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
378 using directory-files on each found mode pattern, collect all the
379 patterns for the current mode, and then for each file, see if it
380 matches any of them. If it does, parse the file. (Patch
381 inspiration from Tomasz Gajewski.)
383 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
384 (semantic-ctxt-current-symbol-default): New.
386 * semantic/bovine/el.el (semantic-default-elisp-setup):
387 Add autoload cookie. Explain existence.
388 (footer): Add local variable for loaddefs.
390 * semantic/db.el (semanticdb-file-table-object): Add new filter,
391 only checking for regular files too.
393 * semantic/wisent/python.el
394 (semantic-format-tag-abbreviate): New override. Cuts back on size
397 * srecode/compile.el (srecode-compile-templates): Fix warning
398 punctuation. Remove status messages to clean up testing output.
400 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
402 (ede-save-cache): Disable cache save if file is nil.
404 * ede.el (ede-initialize-state-current-buffer): Flush deleted
406 (global-ede-mode): Always append our find-file-hook to the end.
407 (ede-flush-deleted-projects): New command.
409 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
412 * ede/proj.el (ede-proj-target): Add a new "custom" option for
413 custom symbols representing a compiler or linker instead of
414 restricting things to only the predefined compilers and linkers.
416 2013-06-02 David Engster <dengste@eml.cc>
418 * semantic.el (semantic-mode-map): To avoid showing showing
419 Development menu twice, only disable menu item if menu-bar is
420 actually enabled, otherwise the popup 'global menu' might display
421 a disabled Development menu.
423 * srecode/srt-wy.el: Regenerate.
425 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
427 * semantic/complete.el
428 (semantic-displayor-show-request): Fix which slot in obj is set to
431 2013-06-01 Glenn Morris <rgm@gnu.org>
433 * semantic/grammar.el (semantic-grammar-complete):
434 Replace the obsolete function lisp-complete-symbol.
436 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
438 * srecode/args.el, srecode/java.el: Require ede.
440 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
442 2013-05-24 Glenn Morris <rgm@gnu.org>
444 * semantic/bovine/grammar.el (bovine-make-parsers):
445 Avoid free variable `copyright-end'.
447 * semantic/bovine/c-by.el (semantic-parse-region):
448 * semantic/wisent/javat-wy.el (semantic-parse-region):
449 * semantic/wisent/js-wy.el (semantic-parse-region):
450 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
452 2013-05-22 Glenn Morris <rgm@gnu.org>
454 * ede/speedbar.el (ede-file-find, ede-tag-find):
455 * semantic/sb.el (semantic-sb-token-jump):
456 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
458 2013-05-15 Glenn Morris <rgm@gnu.org>
460 * semantic/symref/list.el (semantic-symref-auto-expand-results)
461 (semantic-symref-results-mode-hook)
462 (semantic-symref-results-summary-function): Fix :group.
464 2013-05-14 Glenn Morris <rgm@gnu.org>
466 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
468 2013-05-11 Glenn Morris <rgm@gnu.org>
470 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
471 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
472 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
473 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
475 * ede/locate.el (cedet-cscope-version-check)
476 (cedet-cscope-support-for-directory):
477 * semantic/grammar.el (semantic-grammar-wy--install-parser):
480 * ede/project-am.el (project-am-compile-project-command): Fix :type.
482 2013-05-09 Glenn Morris <rgm@gnu.org>
484 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
487 2013-04-27 David Engster <deng@randomsample.de>
489 * semantic/complete.el
490 (semantic-collector-calculate-completions-raw):
491 If `completionslist' is not set, refresh the cache if necessary and
492 use it for completions. This fixes the
493 `semantic-collector-buffer-deep' collector (bug#14265).
495 2013-03-26 Leo Liu <sdl.web@gmail.com>
497 * semantic/senator.el (senator-copy-tag-to-register):
498 Move register handling logic from register.el. (Bug#14052)
500 2013-03-21 Eric Ludlam <zappo@gnu.org>
502 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
503 `senator-tag-ring' is bound.
504 (semantic-parse-region-default): Stop reversing the output of
506 (semantic-repeat-parse-whole-stream): Append returned tags
507 differently, so they come out in the right order.
509 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
510 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
511 exclude tags belonging to above filtered classes.
513 * semantic/find.el (semantic-filter-tags-by-class): New function.
515 * semantic/tag-ls.el (semantic-tag-similar-p-default):
516 Add short-circuit in case tag1 and 2 are identical.
518 * semantic/analyze/fcn.el
519 (semantic-analyze-dereference-metatype-stack):
520 Use `semantic-tag-similar-p' instead of 'eq' when comparing two tags
521 during metatype evaluation in case they are the same, but not the
522 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
524 * semantic/db-find.el (semanticdb-partial-synchronize):
525 Fix require to semantic/db-typecache to be correct.
526 (semanticdb-find-tags-external-children-of-type): Make this a
527 brutish search by default.
530 (semantic-tag-external-member-children-default): When calling
531 `semanticdb-find-tags-external-children-of-type', pass in the
532 input tag as the place to start searching for externally defined
535 * semantic/db-file.el (semanticdb-default-save-directory):
536 Doc fix: Add ref to default value.
538 * semantic/complete.el (semantic-complete-post-command-hook):
539 When detecting if cursor is outside completion area, do so if cursor
540 moves before start of overlay, or the original starting location
541 of the overlay (i.e., if user deletes past beginning of the
543 (semantic-complete-inline-tag-engine): Initialize original start
544 of `semantic-complete-inline-overlay'.
546 * semantic/bovine/c.el (semantic-c-describe-environment):
547 Update some section titles. Test semanticdb table before printing it.
548 (semantic-c-reset-preprocessor-symbol-map): Update
549 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
550 the files contributing to its value.
551 (semantic-c-describe-environment): If there is an EDE project but
552 no spp symbols from it, say so.
554 * srecode/args.el (srecode-semantic-handle-:project): New argument
555 handler. Provide variable values if not in an EDE project.
557 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
560 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
561 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
563 * srecode/map.el (srecode-map-validate-file-for-mode):
564 Force semantic to load if it is not active in the template being added
567 * srecode/srt.el: Add local variables for setting the autoload
569 (srecode-semantic-handle-:srt): New autoload cookie.
571 * ede.el (ede-apply-preprocessor-map): Apply map to
572 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
573 system one. Add require for semantic.
575 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
576 has both a version variable and a Version: comment, always use
579 * ede/cpp-root.el (ede-set-project-variables): Delete.
580 `ede-preprocessor-map' does the job this function was attempting
581 to do with :spp-table.
582 (ede-preprocessor-map): Update file tests to provide better
583 messages. Do not try to get symbols from a file that is the file
584 in the current buffer.
586 * ede/base.el (ede-project-placeholder): Add more documentation to
588 (ede-load-cache): Use `insert-file-contents' instead of
589 `find-file-noselect' in order to avoid activating other tools.
591 2013-03-21 David Engster <deng@randomsample.de>
593 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
594 new variable 'this' if we are in an inline member function.
595 For detecting this, we check overlays at point if there is a class
596 spanning the current function. Also, the variable 'this' has to
599 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
600 when querying g++ for defines returns an error.
602 * srecode/srt-mode.el:
603 * srecode/compile.el:
605 * semantic/complete.el:
610 * srecode/compile.el:
611 * semantic/decorate/include.el:
614 * srecode/dictionary.el:
615 * semantic/ede-grammar.el:
617 * semantic/db-find.el:
618 * semantic/db-file.el:
619 * semantic/complete.el:
620 * semantic/bovine/c.el:
621 * semantic/analyze.el:
627 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
628 to `eieio-object-name', `object-set-name-string' to
629 `eieio-object-set-name-string', `object-class' to
630 `eieio-object-class', `class-parent' to `eieio-class-parent',
631 `class-parents' to `eieio-class-parents', `class-children' to
632 `eieio-class-children', `object-name-string' to
633 `eieio-object-name-string', `object-class-fast' to
634 `eieio--object-class'. Also replace direct access with new
637 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
639 * ede/cpp-root.el (ede-project-autoload, initialize-instance):
640 Fix EDE file symbol to match rename. Fix ede-cpp-root symbol to
641 include -project in name.
643 2013-03-21 Alex Ott <alexott@gmail.com>
645 * cedet-files.el (cedet-files-list-recursively): New.
646 Recursively find files whose names are matching to given regex.
648 * ede.el (ede-current-project): Rewrite to avoid imperative style.
650 * ede/files.el (ede-find-file): Simplify code.
652 * ede/base.el (ede-normalize-file/directory): Add function to
653 normalize :file or :directory slots if they are missing.
655 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
657 (project-compile-project): Compiles project using value specified
658 in :compule-command slot or in compile-command local variable.
659 Value of slot or local variable could be string or function that
660 receives project and should return string that will be invoked as
662 (project-compile-target): Invokes compilation of whole project.
664 * ede/files.el (ede-find-project-root): New function to
665 find root of project that contains specific file.
666 (ede-files-find-existing): New function which checks presence of
667 given directory in the list of registered projects.
669 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
671 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
673 * semantic/wisent/javat-wy.el: Regenerate.
675 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
677 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
680 2012-11-16 David Engster <deng@randomsample.de>
682 * semantic/symref/list.el (semantic-symref-symbol):
683 Use `semantic-complete-read-tag-project' instead of
684 `semantic-complete-read-tag-buffer-deep', since the latter is not
687 * semantic/symref.el (semantic-symref-result-get-tags):
688 Use `find-buffer-visiting' to follow symbolic links.
690 * semantic/fw.el (semantic-find-file-noselect): Always set
691 `enable-local-variables' to `:safe' when loading files.
693 2012-11-16 Glenn Morris <rgm@gnu.org>
695 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
696 * semantic/util.el (semantic-describe-buffer):
697 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
698 (semantic-default-c-setup):
699 Use new names for hooks rather than obsolete aliases.
701 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
703 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
704 * semantic/grammar.el (semantic-grammar-mode):
705 * semantic/util-modes.el (semantic-highlight-edits-mode)
706 (semantic-show-parser-state-mode): Avoid obsolete name
707 semantic-edits-new-change-hooks (bug#12869).
709 2012-11-13 Glenn Morris <rgm@gnu.org>
711 * srecode/srt-mode.el (srecode-template-mode):
712 Don't change global values of comment-start, comment-end. (Bug#12781)
714 2012-10-25 David Engster <deng@randomsample.de>
716 * semantic/analyze.el (semantic-analyze-dereference-alias):
717 New function to dereference aliases.
718 (semantic-analyze-current-context-default): Use it.
720 * semantic/grammar.el (semantic-grammar-create-package):
721 * srecode/compile.el (srecode-compile-templates): Throw a proper
722 error if semantic-mode is not enabled (bug#9968).
724 Compiler warning fixes:
726 * semantic.el (semantic-elapsed-time): Make it a defsubst.
728 * srecode/dictionary.el (srecode-adebug-dictionary):
729 Remove require for `semantic'.
732 * srecode/insert.el: Declare functions from `data-debug'.
734 * semantic/grammar.el: Require `help-fns'. Declare functions from
735 `eldoc', which is required in function body.
739 * semantic/grammar-wy.el:
740 * semantic/db-file.el:
742 * semantic/chart.el: Fix requires.
744 * ede/locate.el: Remove useless requires. Declare functions
745 instead and require in functions when needed.
747 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
749 * semantic/db-file.el (semanticdb-save-database-functions):
750 * semantic/lex.el (semantic-lex-reset-functions):
751 * semantic/edit.el (semantic-change-functions)
752 (semantic-edits-new-change-functions)
753 (semantic-edits-delete-change-functions)
754 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
756 2012-10-14 David Engster <deng@randomsample.de>
758 * semantic.el (semantic-error-if-unparsed): New function.
759 Raise error if buffer was not parsed by Semantic (bug #12045).
760 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
761 only if buffer was parsed. Also, replace ':active' with ':enable'
764 * semantic/wisent/python.el
765 (semantic-python-get-system-include-path):
766 Use `python-shell-internal-send-string' if available to query Python
769 * semantic/senator.el (senator-next-tag, senator-previous-tag)
770 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
772 * semantic/complete.el (semantic-complete-jump-local)
773 (semantic-complete-jump, semantic-complete-jump-local-members)
774 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
775 (semantic-complete-inline-project): Fix autoload cookie.
777 * semantic/analyze/complete.el
778 (semantic-analyze-possible-completions): Check if buffer was
779 parsed. Only raise an error if function was called interactively,
780 otherwise silently return nil.
782 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
784 2012-10-08 David Engster <deng@randomsample.de>
786 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
787 `emacs-lisp-mode-hook'. This was accidentally removed during the
788 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
790 2012-10-07 David Engster <deng@randomsample.de>
792 * semantic/wisent/python.el (semantic-ctxt-current-function)
793 (semantic-ctxt-current-assignment): New overrides, simply
794 returning nil. The defaults do not work correctly and can send
795 the parser in an infinite loop (bug#12458).
797 * semantic/ede-grammar.el (project-compile-target): Fix grammar
798 compilation after introduction of %provide statement.
800 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
801 function for `f90-mode', since the parser only exists upstream.
803 2012-10-06 Glenn Morris <rgm@gnu.org>
805 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
807 * semantic/complete.el (semantic-displayor-tooltip-mode)
808 (semantic-displayor-tooltip-initial-max-tags)
809 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
810 * ede/linux.el (project-linux): Add missing group :version tag.
812 2012-10-06 Chong Yidong <cyd@gnu.org>
814 * semantic/bovine/grammar.el:
815 * semantic/wisent/grammar.el: Move from admin/grammars.
816 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
818 2012-10-02 Chong Yidong <cyd@gnu.org>
820 * srecode.el, ede.el: Restore Version header.
822 2012-10-01 Chong Yidong <cyd@gnu.org>
824 * semantic/bovine/c-by.el: Regenerate.
825 * semantic/bovine/make-by.el:
826 * semantic/bovine/scm-by.el:
827 * semantic/grammar-wy.el:
828 * semantic/wisent/javat-wy.el:
829 * semantic/wisent/js-wy.el:
832 2012-10-01 Eric Ludlam <zappo@gnu.org>
834 * cedet.el (cedet-version, cedet-packages): Update.
836 * cedet-global.el (cedet-gnu-global-version-check): Support newer
837 versions that have extra (parens) in the version string.
839 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
840 version number was found before calling inversion-check-version.
842 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
843 while inserting the thing, then clear modified bit.
844 (data-debug-map): Suppress the keymap.
845 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
846 (data-debug-contract-current-line): Inhibit read-only, then clear
849 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
850 to allow use in more kinds of buffers.
851 (ede-project-forms-menu): Add `Default configuration' menu item.
852 (ede-configuration-forms-menu): New, for use in above.
853 (ede-project-configurations-set): New command used from menu.
854 (ede-java-classpath): New conveninece for Java support.
855 (ede-apply-object-keymap): Combine keybindings from the project
856 and the target, not just whatever is local to the buffer.
857 (ede-apply-target-options): Call fcn to apply project local
859 (ede-reset-all-buffers): Remove arg.
860 (ede, ede-rescan-toplevel): Callers changed.
861 (ede-new-target): Fix bug where you couldn't call this from Dired.
862 (ede-add-file): Replace assignment of ede-object with generic call
863 to re-init the buffer.
864 (ede-find-target): If ede-object is set, run short-cut code
865 instead of `or' shortcut.
866 (ede-project-buffers): Return buffers belonging to input project,
867 not any buffer belonging to any project.
868 (ede-system-include-path, ede-apply-project-local-variables)
869 (ede-set-project-local-variable): New functions.
870 (ede-make-project-local-variable): Apply to toplevel if none
872 (ede-set): Make it interactive.
874 * ede/auto.el (ede-project-autoload): New class.
875 (ede-do-dirmatch): New method.
876 (ede-project-dirmatch-p): New function.
877 (ede-project-root-directory): Call it.
878 (ede-dir-to-projectfile): Don't call project file function if we
879 didn't match the root.
880 (ede-project-root-directory): Don't call a project's root function
881 if the tool in question isn't installed.
882 (ede-dir-to-projectfile): Don't call project file function if we
883 didn't match the root.
885 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
886 trailing `\' mid string, and replace with a space.
887 (autoconf-parameter-count): New function.
888 (autoconf-set-version): Use it.
890 * ede/base.el (ede-project): The :type of targets is now a list of
893 * ede/emacs.el (ede-emacs-load): Fix typo.
895 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
896 Protect against missing locator object.
897 (ede-get-locator-object): Protect against missing project.
898 (ede-flush-directory-hash): New command.
899 (ede-get-locator-object): Protect against missing project.
901 * ede/generic.el (ede-generic-config): Add configurable
903 (project-compile-project, project-compile-target)
904 (project-debug-target, project-run-target): New methods.
905 (ede-generic-get-configuration): Specify the class to load.
906 (ede-generic-new-autoloader): Use ede-add-project-autoload.
907 (ede-enable-generic-projects): Rename projects so as to never
908 match the edeproject-* projects.
910 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
911 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
913 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
914 (ede-proj-flush-autoconf): Disable local variables when loading
915 the autoconf lisp compile script.
917 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
918 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
919 (-makefile-archive, -makefile-shared-object)
920 (ede-proj-target-makefile-info, -grammar): New autoloads.
921 (ede-proj-project): Inherit from eieio-persistent-read.
922 Specify extension and header line.
923 (ede-proj-load, ede-proj-save): Replace with impl using
924 eieio-persistent-read.
926 * ede/project-am.el (project-add-file): Use ede-target-parent
927 instead of loading the project file.
929 * semantic.el (semantic-version): Update.
930 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
931 (navigate-menu): Add menu item for Stickyfunc mode.
933 * semantic/analyze/debug.el
934 (semantic-analyzer-debug-insert-include-summary):
935 Before dereferencing tableinner, make sure it has a value.
937 * semantic/analyze/refs.el
938 (semantic-analyze-tag-references-default): When doing a lookup,
940 (semantic--analyze-refs-full-lookup): Add optional noerror input
941 argument. Pass to to full-lookup-simple.
942 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
943 Ignore :typemodifiers during compare.
945 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
946 to looking back for comment chars.
947 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
948 (semantic--tag-attribute-similar-p): New.
949 (semantic-c-describe-environment): Handle list value of ede-object.
950 (semantic-lex-c-preprocessor-symbol-map-builtin):
951 Add __attribute_pure__.
953 * semantic/bovine/scm.el (semantic-format-tag-prototype):
954 Add parent and color argument. Pass them through.
956 * semantic/complete.el (semantic-collector-calculate-completions):
957 Search for more matches if new prefix is a substring of old one.
958 (semantic-complete-inline-project): New function.
960 * semantic/db-el.el (object-print): New method.
962 * semantic/db-file.el (semanticdb-load-database): Specify class.
964 * semantic/db-typecache.el
965 (semanticdb-abstract-table::semanticdb-typecache-find-method):
966 Allow proxied tags to be resolved during the search.
967 (semanticdb-typecache-complete-flush): Support missing or empty
968 pointmax slot, to allow for more database types.
970 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
971 (object-print): Allow child classes to overwrite the display of
972 the (%d tags) extra string.
973 (semanticdb-project-database): Specify :type for table.
974 (semanticdb-create-table-for-file): Specify file-truename.
975 (semanticdb-synchronize, semanticdb-partial-synchronize):
976 Restore code that refreshes references to include files.
978 * semantic/decorate/include.el
979 (semantic-decoration-on-fileless-includes): New face.
980 (semantic-decoration-on-fileless-include-map)
981 (semantic-decoration-on-fileless-include-menu): New variables.
982 (semantic-decoration-on-includes-highlight-default):
983 Support includes that have a table, but are not associated with a file.
984 (semantic-decoration-fileless-include-describe)
985 (semantic-decoration-fileless-include-menu): New functions.
986 (semantic-decoration-all-include-summary): Add arrows to indicate
987 the file associated with an include name.
990 (semantic-find-tags-by-scope-protection-default): Also filter on
991 package protection of the slot.
993 * semantic/java.el (semantic-java-expand-tag): If some type has a
994 fully qualified name, bust it up into one package and the type
997 * semantic/lex.el (define-lex-block-analyzer): Protect against
998 random extra close parenthesis.
1000 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
1001 the cursor is on the matched name.
1003 * semantic/symref/list.el (semantic-symref-results-mode-map):
1006 * semantic/tag-ls.el (semantic--tag-similar-names-p)
1007 (semantic--tag-attribute-similar-p)
1008 (semantic--tag-similar-types-p): New functions.
1009 (semantic-tag-similar-ignorable-attributes): New variable.
1010 (semantic-tag-protection-default): Add package concept to return
1012 (semantic-tag-package-protected-p): New function.
1013 (semantic-tag-full-package): New overload method.
1014 (semantic-tag-full-package-default): New default for above.
1015 (semantic-tag-full-name-default): Look for the full package name.
1017 * semantic/tag.el (semantic-create-tag-proxy)
1018 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
1020 * semantic/util.el (semantic-describe-buffer):
1021 Add semantic-new-buffer-fcn-was-run.
1023 * semantic/wisent/java-tags.el (semantic-get-local-variables):
1024 Add `this' to the local variable context.
1025 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
1027 * semantic/wisent/python.el (semantic-python-expand-tag):
1030 * srecode/compile.el (srecode-compile-templates): Add "framework"
1031 special variable support.
1032 (srecode-compile-template-table): Support framework specifier.
1034 * srecode/cpp.el (srecode-semantic-handle-:c)
1035 (srecode-semantic-handle-:cpp): New functions.
1036 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
1038 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
1040 * srecode/dictionary.el (initialize-instance): Remove bogus error
1042 (srecode-create-section-dictionary): Remove unused function.
1044 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
1045 package variable. Add current_package variable.
1047 * srecode/map.el (srecode-map-update-map): Specify the class.
1049 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
1051 * srecode/semantic.el (srecode-semantic-insert-tag):
1052 Support system includes.
1054 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
1056 * srecode/table.el (srecode-template-table): Add :framework slot.
1057 (srecode-dump): Dump it.
1058 (srecode-mode-table): Add new modetables slot.
1059 (srecode-get-mode-table): Find the mode, but also find all parent
1060 modes, and merge the tables together in :tables from :modetables.
1061 (srecode-make-mode-table): Init :modetables.
1062 (srecode-mode-table-find): Search in modetables.
1063 (srecode-mode-table-new): Merge the differet files into the
1066 2012-10-01 David Engster <deng@randomsample.de>
1068 * ede.el (ede-apply-preprocessor-map): Check that
1069 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
1070 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
1072 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
1073 lexical-table even when the table doesn't need to be refreshed.
1075 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
1077 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
1080 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
1083 * ede/proj-elisp.el (ede-proj-target-elisp):
1084 Remove ede-emacs-preload-compiler.
1085 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
1087 (ede-emacs-compiler): Add 'require' macro to variables and pattern
1088 rule. Add .elc object extension.
1089 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
1090 (ede-proj-makefile-insert-variables): Do not insert preload items.
1091 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
1093 * ede/util.el (ede-make-buffer-writable):
1094 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
1095 instead of calling toggle-read-only.
1097 * semantic.el (semantic-fetch-tags): Use progress reporter only
1098 when called interactively.
1099 (semantic-submode-list): Add debugging modes.
1100 (semantic-mode): Remove Semantic from after-change-functions.
1101 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
1102 set semantic-new-buffer-fcn-was-run to nil.
1104 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
1105 (semantic-analyze-tag-prototype-p-default): Remove.
1106 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
1107 Use semantic-tag-prototype-p.
1109 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
1110 Ensure semantic-mode is on before getting preprocessor symbols.
1111 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
1112 (semantic-c-convert-spp-value-to-hideif-value)
1113 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
1114 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
1115 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
1116 regular expression parsing.
1117 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
1118 (semantic-expand-c-tag): Check if tag is non-nil before adding it
1120 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
1121 New functions, copied from semantic-expand-c-tag.
1122 (semantic-find-tags-included): New override which also searches
1123 for include tags inside of namespaces.
1124 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
1125 (semanticdb-find-table-for-include): New override.
1127 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
1129 * semantic/complete.el (semantic-complete-post-command-hook):
1130 Exit completion when user has deleted all characters from the prefix.
1131 (semantic-displayor-focus-request): Return to previous window when
1134 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
1135 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
1137 * semantic/db-file.el (semanticdb-create-database):
1138 Use semantic-tag-version instead of just semantic-version as the
1139 initializer for the :semantic-tag-version slot.
1141 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
1142 Delegate `include' to semantic-find-tags-included, which by
1143 default will just call semantic-find-tags-by-class.
1145 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
1146 when calling semantic-find-file-noselect. This avoids the "file
1147 is write protected" messages when parsing system header files,
1148 which might easily be mistaken to mean the currently loaded file.
1149 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
1150 message when running interactively.
1152 * semantic/decorate/mode.el (semantic-decoration-mode):
1153 Activate decoration of includes by default.
1155 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
1156 Remove comment delimiter at the end of the text.
1158 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
1159 Change aux- and pre-load-packages.
1160 (ede-proj-makefile-dependencies): Update pattern rule so that
1161 resulting parsers are also byte-compiled.
1162 (semantic-ede-grammar-compiler-bovine)
1163 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
1164 pattern, since this is already covered by the elisp compiler.
1165 (project-compile-target): Add compatibility code for Emacs 23,
1166 which does not have `byte-recompile-file'.
1167 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
1168 to raise max-specpdl-size and max-lisp-eval-depth.
1170 * semantic/find.el (semantic-find-tags-included):
1173 * semantic/fw.el (semantic-alias-obsolete)
1174 (semantic-varalias-obsolete): Use byte-compile-warn.
1175 (semantic-find-file-noselect): Disable font lock by calling
1176 global-font-lock-mode.
1178 * semantic/grammar.el (semantic-grammar-create-package):
1180 (semantic-grammar-batch-build-one-package): When generating
1181 parsers in batch-mode, ignore version control and make sure we do
1182 not use cached versions.
1184 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
1186 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
1187 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
1188 (semantic-lex-spp-lex-text-string): Instead of only setting the
1189 lexer, call the major mode's setup function.
1191 * semantic/scope.el (semantic-analyze-scoped-types-default):
1192 Use semantic-tag-prototype-p.
1193 (semantic-analyze-scope-nested-tags-default): Make sure we don't
1194 return tags we already have in scopetypes.
1196 * semantic/symref/filter.el
1197 (semantic-symref-test-count-hits-in-tag): Restore.
1199 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
1200 Use most-positive-fixnum if available.
1202 * semantic/wisent/javascript.el (semantic-tag-protection)
1203 (semantic-analyze-scope-calculate-access)
1204 (semantic-ctxt-current-symbol): New overrides.
1206 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
1207 Rewrite to fix byte-compiler warning.
1209 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
1211 * ede/linux.el (project-linux): New group.
1212 (project-linux-compile-target-command)
1213 (project-linux-compile-project-command): New options.
1214 (project-compile-project, project-compiler-target): New methods.
1216 * inversion.el (inversion-decoders): New regexps for SXEmacs.
1217 (inversion-package-version): More verbose error message.
1218 (inversion-<): Deal with new special cases.
1219 (inversion-require-emacs): New argument sxemacs-ver; use it.
1221 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
1223 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
1225 2012-10-01 William Xu <william.xwl@gmail.com>
1227 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
1229 (semantic-gcc-setup): If the first attempt at calling cpp fails,
1232 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
1235 (semantic-idle-breadcrumbs--display-in-header-line):
1236 Escape %-characters to avoid erroneous expansion in header line.
1237 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
1239 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
1240 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
1241 (semantic-python-private-p, semantic-python-instance-variable-p)
1242 (semantic-python-docstring-p): New functions.
1244 * srecode/find.el (srecode-user-template-p): New function.
1245 (srecode-all-template-hash): Accept new optional argument
1246 predicate; return only templates matching the predicate.
1247 (srecode-read-template-name): Only retrieve templates matching
1248 srecode-user-template-p.
1250 * srecode/insert.el (srecode-insert-show-error-report)
1251 (srecode-insert-report-error): New functions.
1252 (srecode-insert-variable-secondname-handler)
1253 (srecode-insert-method, srecode-insert-ask-default)
1254 (srecode-insert-variable-secondname-handler)
1255 (srecode-insert-subtemplate, srecode-insert-method-helper)
1256 (srecode-insert-include-lookup): Use them.
1258 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
1260 * semantic/wisent/python.el
1261 (semantic-python-get-system-include-path): Add Python3k support.
1263 2012-10-01 Alexander Haeckel <_@_> (tiny change)
1265 * srecode/getset.el (srecode-query-for-field): Return the first
1266 tag found by name from all children tags.
1268 2012-10-01 Dale Sedivec <dale@codefu.org>
1270 * semantic/wisent/python.el (wisent-python-string-start-re)
1271 (wisent-python-string-re, wisent-python-forward-string)
1272 (wisent-python-forward-line, wisent-python-lex-string):
1274 (wisent-python-forward-balanced-expression): New function.
1276 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
1278 * semantic/complete.el (semantic-collector-calculate-completions):
1279 Search for additional matches if new prefix is a substring of the
1281 (semantic-displayor-next-action): Immediately show more
1282 completions after user presses TAB the first time.
1283 (semantic-displayor-tooltip-mode)
1284 (semantic-displayor-tooltip-initial-max-tags)
1285 (semantic-displayor-tooltip-max-tags): New defcustoms.
1286 (semantic-displayor-tooltip): Use new variables as initforms.
1287 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
1289 (semantic-displayor-show-request): Display completions according
1290 to new modes, and make variable names clearer.
1291 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
1292 Use new max-tags-initial slot.
1294 * semantic/idle.el (semantic-idle-local-symbol-highlight):
1295 Make sure there actually is a tag at point.
1296 (semantic-idle-completion-list-default): Report errors as messages
1297 if semantic-idle-scheduler-verbose-flag is non-nil.
1299 2012-10-01 Richard Kim <emacs18@gmail.com>
1301 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
1302 Add optional NOERROR argument.
1304 2012-10-01 Alex Ott <alexott@gmail.com>
1306 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
1309 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1311 * semantic/db-find.el (semanticdb-find-default-throttle):
1313 (semanticdb-strip-find-results): Check for existing :filename
1314 attribute, so that file information from GNU Global is not lost.
1316 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1318 * ede/base.el (ede-with-projectfile): Use backquote forms.
1320 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1322 inaccessable -> inaccessible spelling fix (Bug#10052)
1323 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
1324 Rename from wisent-inaccessable-symbols, fixing a misspelling.
1327 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
1329 * ede/project-am.el: Fix typo.
1331 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1333 Rename configure.in to configure.ac (Bug#11603).
1334 * ede/autoconf-edit.el (autoconf-find-query-for-program)
1335 (autoconf-new-program):
1336 * ede/emacs.el (ede-emacs-version):
1337 * ede/proj.el (ede-proj-setup-buildenvironment):
1338 * ede/project-am.el (project-am-autoconf-file-options):
1339 Prefer configure.ac to configure.in.
1341 2012-03-12 David Engster <deng@randomsample.de>
1343 * semantic/db-find.el
1344 (semanticdb-find-translate-path-brutish-default): If we don't yet
1345 have a proper table for PATH, use `semanticdb-current-database'
1346 instead (bug #10343).
1348 2012-03-11 David Engster <deng@randomsample.de>
1350 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1351 child-mode of `javascript-mode' (bug #8445).
1353 2012-02-28 Glenn Morris <rgm@gnu.org>
1355 * semantic/db.el (semanticdb-search-results-table):
1356 Doc fix (standardize possessive apostrophe usage).
1358 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1360 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1363 2012-01-29 David Engster <deng@randomsample.de>
1365 Fix require error when using srecode-insert (Bug#9967).
1366 * srecode/insert.el: Require srecode/filters.
1367 * srecode/filters.el: Drop two requires.
1369 2012-01-09 Eric Ludlam <zappo@gnu.org>
1371 * ede.el (ede-project-directories): New option.
1372 (ede-directory-safe-p): Check it.
1373 (ede-initialize-state-current-buffer, ede, ede-new)
1374 (ede-check-project-directory, ede-rescan-toplevel)
1375 (ede-load-project-file, ede-parent-project, ede-current-project)
1376 (ede-target-parent): Avoid loading in a project unless it is safe,
1377 since it may involve malicious code. This security flaw was
1378 pointed out by Hiroshi Oota.
1380 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1381 (ede-project-class-files): Projects using Project.ede are unsafe.
1382 (ede-auto-load-project): New method.
1384 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1386 2011-12-19 Sam Steingold <sds@gnu.org>
1388 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1389 autoload cookie, necessary for JDEE.
1391 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1393 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1395 2011-11-26 Chong Yidong <cyd@gnu.org>
1397 * semantic/wisent/python-wy.el:
1398 * semantic/wisent/js-wy.el:
1399 * semantic/wisent/javat-wy.el:
1400 * semantic/bovine/c-by.el:
1401 * semantic/grammar-wy.el: Regenerate.
1403 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1405 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1407 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1409 * cedet-cscope.el (cedet-cscope-version-check):
1410 * cedet-global.el (cedet-global-min-version)
1411 (cedet-gnu-global-version-check):
1412 * cedet.el (cedet-version):
1413 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1414 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1415 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1416 (ede-add-project-to-global-list, ede-map-all-subprojects):
1417 * inversion.el (inversion-check-version):
1418 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1419 (define-overloadable-function):
1420 * pulse.el (pulse-flag, pulse):
1421 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1423 * ede/proj-comp.el (ede-compilation-program):
1424 * semantic/debug.el (semantic-debug-parser-go)
1425 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1426 (semantic-debug-parser-abort):
1427 * semantic/idle.el (semantic-idle-core-handler):
1428 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1431 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1433 * semantic/lex.el (semantic-lex-tokens):
1434 * semantic/tag-ls.el (semantic-tag-protected-p):
1435 * srecode/mode.el (srecode-prefix-map): Fix typos.
1437 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1439 * ede/project-am.el (project-compile-target-command): Fix typo.
1441 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1443 * ede/auto.el (ede-project-autoload):
1444 * ede/proj-comp.el (ede-makefile-rule):
1445 * semantic/analyze.el (semantic-analyze-current-context):
1446 * semantic/ctxt.el (semantic-get-local-variables):
1447 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1449 2011-11-03 David Engster <dengste@eml.cc>
1453 * srecode/template.el:
1455 * srecode/insert.el:
1456 * srecode/document.el:
1457 * srecode/dictionary.el:
1458 * srecode/compile.el:
1459 * semantic/wisent/java-tags.el:
1462 * semantic/lex-spp.el:
1465 * semantic/db-typecache.el:
1466 * semantic/analyze/complete.el:
1470 * ede/base.el: Fix filenames in comments and headers.
1472 * semantic/db-find.el:
1473 * srecode/insert.el (srecode-insert-include-lookup):
1474 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1475 comments and docstrings.
1477 * semantic/ctxt.el (semantic-end-of-context-default):
1478 * semantic/find.el (semantic-find-tags-by-scope-protection):
1479 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1482 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1483 (semanticdb-abstract-db-cache):
1484 * semantic/decorate/include.el
1485 (semantic-decoration-unknown-include-describe): Fix filenames in
1488 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent)
1489 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1490 added to the grammar-make-script.
1492 2011-10-23 Chong Yidong <cyd@gnu.org>
1494 * ede.el (ede-maybe-checkout): Function deleted;
1495 vc-toggle-read-only does not do version control now.
1497 * ede/util.el (ede-make-buffer-writable): Don't use
1498 vc-toggle-read-only.
1500 * ede/project-am.el (project-remove-file, project-add-file)
1501 (project-new-target): Don't call ede-maybe-checkout.
1503 2011-10-19 Chong Yidong <cyd@gnu.org>
1505 * ede.el (ede-minor-mode, global-ede-mode):
1506 * semantic.el (semantic-mode): Doc fix to reflect new
1507 define-minor-mode calling behavior.
1509 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1511 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1514 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1516 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1517 unconfigured projects if `global-ede-mode' is on (bug#8092).
1519 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1521 * semantic.el (semantic-elapsed-time): Rewrite using
1522 time-subtract and float-time.
1524 2011-05-11 Glenn Morris <rgm@gnu.org>
1526 * semantic/wisent/javascript.el (semantic-get-local-variables):
1527 Use define-mode-local-override rather than its obsolete alias.
1529 2011-05-10 Jim Meyering <meyering@redhat.com>
1531 Fix doubled-word typos.
1532 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1533 * semantic/complete.el (semantic-complete-read-tag-local-members):
1535 * ede.el (ede-auto-add-method): then then -> then
1537 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1539 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1540 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1541 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1542 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1543 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1545 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1547 * Version 23.3 released.
1549 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1552 Macroexpand before passing to byte-compile-form.
1554 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1557 * semantic/symref/list.el (semantic-symref-results-mode):
1560 2010-11-12 Glenn Morris <rgm@gnu.org>
1562 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1564 2010-11-10 Glenn Morris <rgm@gnu.org>
1566 * semantic/bovine/c.el: Test system-type with memq.
1568 2010-11-09 Glenn Morris <rgm@gnu.org>
1570 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1571 * semantic/grammar.el (semantic-grammar-epilogue):
1572 * ede/speedbar.el (ede-find-nearest-file-line):
1573 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1574 * ede/autoconf-edit.el (autoconf-delete-parameter):
1575 Use point-at-bol and point-at-eol.
1577 2010-11-07 Glenn Morris <rgm@gnu.org>
1579 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1581 2010-11-01 Glenn Morris <rgm@gnu.org>
1583 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1585 * semantic/symref/cscope.el (ede-toplevel):
1586 * semantic/symref.el (ede-toplevel):
1587 * semantic/tag-file.el (ede-toplevel):
1588 * ede.el (ede-toplevel): Fix declarations.
1590 2010-10-31 Glenn Morris <rgm@gnu.org>
1592 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1593 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1595 2010-10-31 Julien Danjou <julien@danjou.info>
1597 * ede/proj-elisp.el (project-compile-target):
1598 * semantic/ede-grammar.el (project-compile-target):
1599 Use `byte-recompile-file'.
1601 2010-10-31 Glenn Morris <rgm@gnu.org>
1603 * mode-local.el (mode-local-augment-function-help):
1604 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1605 * semantic/symref/list.el (semantic-symref-results-dump)
1606 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1607 of toggle-read-only.
1609 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1611 * semantic/bovine/el.el:
1612 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1613 Fix require statements.
1615 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1617 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1619 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1620 * semantic/imenu.el (semantic-create-imenu-index):
1621 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1622 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1623 Fix require. Suggested by David Engster.
1625 * semantic/bovine/c-by.el: Regenerate.
1627 2010-09-29 Eric Ludlam <zappo@gnu.org>
1629 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1630 (semantic-lex-spp-enable-debug-symbol): New command.
1631 (semantic-lex-spp-value-valid-p)
1632 (semantic-lex-spp-validate-value): New functions.
1633 (semantic-lex-spp-symbol-set)
1634 (semantic-lex-spp-symbol-push): Add call to validate value.
1635 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1636 invalid values during save, just save a nil.
1638 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1640 * ede/linux.el (ede-project-class-files):
1641 * ede/generic.el (ede-generic-new-autoloader):
1642 * ede/emacs.el (ede-project-class-files):
1643 * ede/simple.el (ede-project-class-files):
1644 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1646 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1648 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1650 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1651 Fix typo in error message.
1652 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1654 2010-09-21 Eric Ludlam <zappo@gnu.org>
1656 Synch SRecode to CEDET 1.0.
1658 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1659 'never, disable all pulsing.
1661 * cedet.el (cedet-version):
1662 * srecode.el (srecode-version): Bump version to 1.0.
1664 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1665 (semantic-insert-foreign-tag): Use it.
1667 * srecode/mode.el (srecode-bind-insert):
1668 Call srecode-load-tables-for-mode.
1669 (srecode-minor-mode-templates-menu): Do not list templates that
1670 are not in the current project.
1671 (srecode-menu-bar): Add binding for srecode-macro-help.
1673 * srecode/table.el (srecode-template-table): Add :project slot.
1674 (srecode-dump): Dump it.
1676 * srecode/map.el (srecode-map-update-map): Make map loading more
1679 * srecode/insert.el (srecode-insert-fcn): Merge template
1680 dictionary before resolving arguments.
1681 (srecode-insert-method-helper): Add error checking to make sure
1682 that we only have dictionaries.
1683 (srecode-insert-method): Check template nesting depth when using
1684 point inserter override.
1685 (srecode-insert-method): Install override with depth limit.
1687 * srecode/getset.el (srecode-insert-getset): Force tag table
1688 update. Don't query the class if it is empty.
1690 * srecode/find.el (srecode-template-get-table)
1691 (srecode-template-get-table-for-binding)
1692 (srecode-all-template-hash): Skip if not in current project.
1693 (srecode-template-table-in-project-p): New method.
1695 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
1696 (srecode-field-exit-ask): Use it.
1698 * srecode/dictionary.el (srecode-dictionary-add-template-table):
1699 Do not add variables in tables not for the current project.
1700 (srecode-compound-toString): Handle cases where the default value
1701 is another compound value.
1702 (srecode-dictionary-lookup-name): New optional argument
1703 NON-RECURSIVE, which inhibits visiting dictionary parents.
1704 (srecode-dictionary-add-section-dictionary)
1705 (srecode-dictionary-merge): New optional argument FORCE adds
1706 values even if an identically named entry exists.
1707 (srecode-dictionary-add-entries): New method.
1708 (srecode-create-dictionaries-from-tags): New function.
1710 * srecode/cpp.el (srecode-cpp): New defgroup.
1711 (srecode-cpp-namespaces): New option.
1712 (srecode-semantic-handle-:using-namespaces)
1713 (srecode-cpp-apply-templates): New functions.
1714 (srecode-semantic-apply-tag-to-dict): Handle template parameters
1715 by calling `srecode-cpp-apply-templates'.
1717 * srecode/compile.el (srecode-compile-templates): Fix directory
1718 compare of built-in templates. Give built-ins lower piority.
1719 Support special variable "project".
1720 (srecode-compile-template-table): Set :project slot of new tables.
1721 (srecode-compile-one-template-tag):
1722 Use srecode-create-dictionaries-from-tags.
1724 2010-09-21 Eric Ludlam <zappo@gnu.org>
1726 Synch EDE to CEDET 1.0.
1728 * cedet-idutils.el (cedet-idutils-make-command): New option.
1729 (cedet-idutils-mkid-call)
1730 (cedet-idutils-create/update-database): New functions.
1732 * cedet-cscope.el (cedet-cscope-create)
1733 (cedet-cscope-create/update-database): New functions.
1734 (cedet-cscope-support-for-directory): Make interactive.
1736 * cedet-global.el (cedet-global-gtags-command): New option.
1737 (cedet-gnu-global-gtags-call)
1738 (cedet-gnu-global-create/update-database): New functions.
1740 * ede.el (ede-save-cache): Fix recentf-exclude expression.
1741 (ede-make-dist): Always use toplevel project.
1742 (ede-buffer-object): If we fail to find an object in the current
1743 project, loop upward looking for a match. If no target is found,
1744 use most local project.
1745 (ede-buffer-belongs-to-target-p)
1746 (ede-buffer-belongs-to-project-p): New functions.
1747 (ede-initialize-state-current-buffer): New function.
1748 (ede-target-forms-menu, ede-project-buffers): Use them.
1749 (ede-minor-mode, ede-reset-all-buffers): Use it.
1750 (project-interactive-select-target, project-add-file): Don't use
1751 ede-project-force-load.
1752 (ede-buffer-object): New arg PROJSYM.
1753 (ede-minor-mode): Remove ede-directory-project-p test.
1754 (ede-initialize-state-current-buffer): Don't test for
1755 ede-directory-project-p if there is a matching open project.
1756 (ede-customize-forms-menu): Prevent error if there is no project.
1757 (ede-load-project-file): Set ede-constructing to the thing being
1758 constructed, instead of t.
1759 (ede-project-force-load): Delete.
1763 * ede/custom.el: New files.
1765 * ede/autoconf-edit.el (autoconf-find-last-macro)
1766 (autoconf-parameters-for-macro): Parse multiline parameters of
1767 macros. Optionally ignore case and at bol for macro.
1768 (autoconf-parameter-strip): Use greedy match for newlines.
1769 (autoconf-new-automake-string): Delete.
1770 (autoconf-new-program): Use SRecode to fill an empty file.
1772 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
1775 * ede/files.el (ede-flush-project-hash): New command.
1776 (ede-convert-path): Add optional PROJECT arg.
1777 (ede-directory-project-p): Obey ".ede-ignore".
1778 (ede-expand-filename-local)
1779 (ede-expand-filename-impl-via-subproj): New methods.
1780 (ede-expand-filename-impl): Use them.
1781 (ede-project-root, ede-project-root-directory): Move to
1784 * ede/locate.el (ede-locate-flush-hash)
1785 (ede-locate-create/update-root-database): New methods.
1786 (initialize-instance): Use ede-locate-flush-hash.
1788 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
1789 the top project and not a metasubproject, set TOP to CURDIR.
1790 (ede-proj-makefile-insert-variables): Output a target's object
1791 list whether or not the vars are already in the Makefile.
1792 (ede-pmake-insert-variable-once): New macro.
1794 * ede/project-am.el (project-am-with-makefile-current):
1795 Add recentf-exclude.
1796 (project-am-load-makefile): Obey an optional suggested name.
1797 (project-am-expand-subdirlist): New function.
1798 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
1800 (project-am-meta-type-alist): A list to scan better Makefile.am.
1801 (project-am-scan-for-targets): Scan also over
1802 project-am-meta-type-alist.
1803 (ede-system-include-path): Simple implementation.
1804 (ede-find-target): Delete. EDE core takes care of this.
1805 (ede-buffer-mine): Create the searched filename as relative.
1806 (project-am-load): Simplify, using autoconf-edit.
1807 (project-am-extract-package-info): Fix separators.
1809 * ede/proj.el (project-run-target): New method.
1810 (project-make-dist, project-compile-project):
1811 Use ede-proj-automake-p to determine which kind of compile to use.
1812 (project-rescan): Call ede-load-project-file.
1813 (ede-buffer-mine): Add more file names that belong to the project.
1814 (ede-proj-compilers): Improve error message.
1816 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
1817 (ede-source-c++): Add more C++ extensions.
1818 (ede-proj-target-makefile-objectcode): Quote initforms.
1819 Support lex and yacc.
1821 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
1822 (ede-proj-makefile-insert-variables): New, add LDDEPS.
1823 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
1824 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
1825 (ede-proj-target-makefile-program): Swap order of two slots so
1826 they show up in the same order as in the command line.
1827 (ede-proj-target-makefile-program): Add ldlibs-local slot.
1829 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
1830 Fix inference rule to use cpp files.
1831 (ede-proj-target-makefile-shared-object): Quote initforms.
1833 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
1834 * ede/proj-info.el (ede-proj-target-makefile-info):
1835 * ede/proj-aux.el (ede-proj-target-aux):
1836 * ede/proj-archive.el (ede-proj-target-makefile-archive):
1837 * ede/proj-elisp.el (ede-proj-target-elisp)
1838 (ede-proj-target-elisp-autoloads): Quote initforms.
1840 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
1842 * ede/shell.el (ede-shell-buffer): Fix buffer name.
1844 * ede/pconf.el (ede-proj-configure-synchronize): If user events
1845 occur while waiting for the compile process to finish, pull them
1846 in and discard those events.
1848 2010-09-19 Eric Ludlam <zappo@gnu.org>
1850 Synch Semantic to CEDET 1.0.
1852 * semantic.el (semantic-version): Update to 2.0.
1853 (semantic-mode-map): Add "," and "m" bindings.
1854 (navigate-menu): Update.
1856 * semantic/symref.el (semantic-symref-calculate-rootdir):
1858 (semantic-symref-detect-symref-tool): Use it.
1860 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
1861 (semantic-symref-perform-search): Use it. Calculate root dir with
1862 semantic-symref-calculate-rootdir.
1863 (semantic-symref-derive-find-filepatterns): Improve error message.
1865 * semantic/symref/list.el
1866 (semantic-symref-results-mode-map): New bindings.
1867 (semantic-symref-auto-expand-results): New option.
1868 (semantic-symref-results-dump): Obey auto-expand.
1869 (semantic-symref-list-expand-all, semantic-symref-regexp)
1870 (semantic-symref-list-contract-all)
1871 (semantic-symref-list-map-open-hits)
1872 (semantic-symref-list-update-open-hits)
1873 (semantic-symref-list-create-macro-on-open-hit)
1874 (semantic-symref-list-call-macro-on-open-hits): New functions.
1875 (semantic-symref-list-menu-entries)
1876 (semantic-symref-list-menu): New vars.
1877 (semantic-symref-list-map-open-hits): Move cursor to beginning of
1878 match before calling the mapped function.
1881 (semantic-documentation-comment-preceeding-tag): Do nothing if the
1882 mode doesn't provide comment-start-skip.
1885 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
1886 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
1887 looking for as part of the scoped tags list.
1889 * semantic/html.el (semantic-default-html-setup):
1890 Add senator-step-at-tag-classes.
1892 * semantic/decorate/include.el
1893 (semantic-decoration-on-unknown-includes): Change light bgcolor.
1894 (semantic-decoration-on-includes-highlight-default): Check that
1895 the include tag has a position.
1897 * semantic/complete.el (semantic-collector-local-members)
1898 (semantic-complete-read-tag-local-members)
1899 (semantic-complete-jump-local-members): New class and functions.
1900 (semantic-complete-self-insert): Save excursion before completing.
1902 * semantic/analyze/complete.el
1903 (semantic-analyze-possible-completions-default): If no completions
1904 are found, return the raw by-name-only completion list. Add FLAGS
1905 arguments. Add support for 'no-tc (type constraint) and
1906 'no-unique, or no stripping duplicates.
1907 (semantic-analyze-possible-completions-default): Add FLAGS arg.
1909 * semantic/util-modes.el
1910 (semantic-stickyfunc-show-only-functions-p): New option.
1911 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
1912 the very first line in a buffer.
1914 * semantic/util.el (semantic-hack-search)
1915 (semantic-recursive-find-nonterminal-by-name)
1916 (semantic-current-tag-interactive): Delete.
1917 (semantic-describe-buffer): Fix expand-nonterminal.
1918 Add lex-syntax-mods, type relation separator char, and command
1920 (semantic-sanity-check): Only message if called interactively.
1922 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
1923 :filename property and the tag position.
1925 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1926 Add recursion limit.
1928 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
1929 Make this buffer local, not the obsoleted variable.
1931 * semantic/idle.el: Add breadcrumbs support.
1932 (semantic-idle-summary-current-symbol-info-default)
1933 (semantic-idle-tag-highlight)
1934 (semantic-idle-completion-list-default):
1935 Use semanticdb-without-unloaded-file-searches for speed, and to
1936 conform to the controls that specify if the idle timer is supposed
1937 to be parsing unparsed includes.
1938 (semantic-idle-symbol-highlight-face)
1939 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
1941 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
1942 (semantic-idle-work-update-headers-flag): New var.
1943 (semantic-idle-work-for-one-buffer): Use it.
1944 (semantic-idle-local-symbol-highlight): Rename from
1945 semantic-idle-tag-highlight.
1946 (semantic-idle-truncate-long-summaries): New option.
1948 * semantic/ia.el (semantic-ia-cache)
1949 (semantic-ia-get-completions): Delete. Callers changed.
1950 (semantic-ia-show-variants): New command.
1951 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
1952 (semantic-ia-show-summary): If there isn't anything to show, say so.
1954 * semantic/grammar.el (semantic-grammar-create-package):
1955 Save the buffer even in batch mode.
1958 (semanticdb-without-unloaded-file-searches): New macro.
1960 * semantic/dep.el (semantic-dependency-find-file-on-path):
1961 Fix case dereferencing ede-object when it is a list.
1963 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
1964 (semanticdb-typecache-faux-namespace): New functions.
1965 (semanticdb-typecache-file-tags)
1966 (semanticdb-typecache-merge-streams): Use them.
1967 (semanticdb-typecache-file-tags): When deriving tags from a file,
1968 give the mode a chance to monkey with the tag copy.
1969 (semanticdb-typecache-find-default): Wrap find in save-excursion.
1970 (semanticdb-typecache-find-by-name-helper): Merge found names down.
1972 * semantic/db-global.el
1973 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
1974 GNU Global is not available and we don't want to throw an error.
1976 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
1977 When trying to normalize the tag to a buffer, don't error if
1978 set-buffer method doesn't exist.
1980 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
1982 * semantic/db.el (semanticdb-refresh-table): If forcing a
1983 refresh on a file not in a buffer, use semantic-find-file-noselect
1984 and delete the buffer after use.
1985 (semanticdb-current-database-list): When calculating root via
1986 hooks, force it through true-filename and skip the list of
1989 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
1991 * semantic/analyze/debug.el
1992 (semantic-analyzer-debug-insert-tag): Reset standard output to
1994 (semantic-analyzer-debug-global-symbol)
1995 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
1996 "symbol" in messages.
1998 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
1999 (semantic-analyze-refs-proto): When calculating value, make sure
2000 the found tag is 'similar' to the originating tag.
2001 (semantic--analyze-refs-find-tags-with-parent): Attempt to
2002 identify matches via imported symbols of parents.
2003 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
2004 search during the brute search.
2006 * semantic/analyze.el
2007 (semantic-analyze-find-tag-sequence-default): Be robust to
2008 calculated scopes being nil.
2010 * semantic/bovine/c.el (semantic-c-describe-environment):
2011 Add project macro symbol array.
2012 (semantic-c-parse-lexical-token): Add recursion limit.
2013 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
2015 (semantic-expand-c-tag-namelist): Split a full type from a typedef
2017 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
2018 inline type if it is an anonymous type.
2019 (semantic-c-reconstitute-token): Use the optional initializers as
2020 a clue that some function is probably a constructor.
2021 When defining the type of these constructors, split the parent name,
2022 and use only the class part, if applicable.
2024 * semantic/bovine/c-by.el:
2025 * semantic/wisent/python-wy.el: Regenerate.
2027 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
2029 * semantic/db-file.el (object-write): Fix typo in docstring.
2031 2010-06-03 Eric Ludlam <zappo@gnu.org>
2033 * semantic/lex-spp.el
2034 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
2035 invalid values during save, just save a nil (Bug#6324).
2037 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
2039 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
2042 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2044 Use a mode-line spec rather than a static string in Semantic.
2045 * semantic/util-modes.el:
2046 (semantic-minor-modes-format): New var to replace...
2047 (semantic-minor-modes-status): Remove.
2048 (semantic-mode-line-update): Construct a mode-line spec rather than
2049 a static string so that mouse buttons can be used on individual minor
2050 modes and so that semantic-mode-line-update only needs to be called
2051 when global settings are changed.
2052 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
2053 Call semantic-mode-line-update.
2054 (semantic-toggle-minor-mode-globally): Don't assume mode is on
2055 minor-mode-alist, check semantic-minor-mode-alist as well.
2056 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
2057 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
2058 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
2059 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2060 * semantic/idle.el (semantic-idle-scheduler-mode)
2061 (define-semantic-idle-service, semantic-idle-summary-mode):
2062 * semantic/decorate/mode.el (semantic-decoration-mode):
2063 Don't call semantic-mode-line-update any more.
2065 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2067 Use define-minor-mode in CEDET where applicable.
2069 * srecode/mode.el (srecode-minor-mode, global-srecode-minor-mode):
2070 Use define-minor-mode.
2072 * semantic/util-modes.el (semantic-add-minor-mode):
2073 Remove unused arg `keymap' and code redundant with define-minor-mode.
2074 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
2075 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
2076 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
2077 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
2078 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
2079 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
2080 Use define-minor-mode.
2081 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
2082 (semantic-show-unmatched-syntax-mode-setup)
2083 (semantic-show-parser-state-mode-setup)
2084 (semantic-highlight-func-mode-setup): Inline into sole caller.
2086 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2087 (semantic-mru-bookmark-mode): Use define-minor-mode.
2088 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
2090 * semantic/idle.el (define-semantic-idle-service):
2091 Use define-minor-mode and inline setup function into its sole caller.
2092 (semantic-idle-scheduler-mode-setup)
2093 (semantic-idle-summary-mode-setup): Inline into sole caller.
2094 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
2095 Use define-minor-mode.
2097 * semantic/decorate/mode.el (global-semantic-decoration-mode)
2098 (semantic-decoration-mode): Use define-minor-mode.
2099 (semantic-decoration-mode-setup): Inline into sole caller.
2101 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
2102 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
2103 (ede-dired-add-to-target): Use dolist.
2105 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
2107 * semantic.el (semantic-completion-at-point-function):
2109 (semantic-mode): Use semantic-completion-at-point-function for
2110 completion-at-point-functions instead.
2112 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
2114 * semantic.el (semantic-mode): When enabled, add
2115 semantic-ia-complete-symbol to completion-at-point-functions.
2117 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
2118 if Semantic is not active.
2120 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
2122 * ede/pmake.el (ede-proj-makefile-insert-variables):
2123 Don't destroy list before using it.
2125 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
2127 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
2128 (semantic-create-imenu-directory-index): Fix typos in docstrings.
2129 (semantic-imenu-goto-function): Reflow docstring.
2131 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
2133 * srecode/table.el (srecode-template-table): Fix docstring typo.
2135 2010-03-24 Glenn Morris <rgm@gnu.org>
2137 * semantic/bovine/c.el (semantic-c-describe-environment):
2138 Consistently check ede-object is bound throughout.
2140 * ede/project-am.el (ede-shell-run-something): Declare.
2142 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
2144 * semantic/imenu.el: New file, from the CEDET repository
2147 2010-03-06 Glenn Morris <rgm@gnu.org>
2149 * semantic/grammar.el (semantic-grammar-header-template):
2150 Update template copyright to GPLv3+.
2152 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
2154 * semantic/db-find.el
2155 (semanticdb-find-translate-path-brutish-default):
2156 * ede/make.el (ede-make-check-version):
2157 Use with-current-buffer instead of save-excursion.
2159 2010-02-24 Eduard Wiebe <usenet@pusto.de>
2161 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
2162 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
2164 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
2166 * data-debug.el (data-debug): Move to extensions group.
2169 * srecode.el (srecode):
2170 * semantic.el (semantic): Put in tools and extensions group.
2172 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
2174 * ede.el (ede-run-target, project-delete-target)
2175 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
2176 (ede-adebug-project, ede-adebug-project-parent)
2177 (ede-adebug-project-root): Fix typos in docstrings.
2179 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
2181 * ede/locate.el (ede-locate-file-in-project)
2182 (ede-locate-file-in-project-impl): Fix typos in docstrings.
2183 (ede-enable-locate-on-project): Fix typos in error messages.
2185 * semantic/util-modes.el (semantic-unmatched-syntax-face)
2186 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
2187 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
2188 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
2189 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
2190 Fix typos in menu help.
2192 * semantic.el (semantic-require-version, semantic--buffer-cache)
2193 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
2194 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
2195 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
2196 (semantic-parse-stream, semantic-parse-region)
2197 (semantic-parse-region-default, semantic--set-buffer-cache)
2198 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
2199 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
2200 (semantic-default-submodes):
2201 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
2202 (semanticdb-create-ebrowse-database)
2203 (semanticdb-find-tags-for-completion-method)
2204 (semanticdb-find-tags-by-class-method)
2205 (semanticdb-deep-find-tags-by-name-method)
2206 (semanticdb-deep-find-tags-for-completion-method):
2207 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
2208 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
2209 (semanticdb-find-tags-for-completion-method)
2210 (semanticdb-find-tags-by-class-method)
2211 (semanticdb-deep-find-tags-for-completion-method):
2212 * semantic/db-find.el (semanticdb-find-translate-path)
2213 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
2214 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
2215 (semanticdb-find-tags-by-name-method)
2216 (semanticdb-find-tags-by-name-regexp-method)
2217 (semanticdb-find-tags-for-completion-method)
2218 (semanticdb-find-tags-by-class-method)
2219 (semanticdb-find-tags-external-children-of-type-method)
2220 (semanticdb-find-tags-subclasses-of-type-method)
2221 (semanticdb-deep-find-tags-by-name-method)
2222 (semanticdb-deep-find-tags-by-name-regexp-method)
2223 (semanticdb-deep-find-tags-for-completion-method):
2224 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
2225 (semanticdb-enable-gnu-global-in-buffer)
2226 (semanticdb-find-tags-for-completion-method)
2227 (semanticdb-deep-find-tags-by-name-method)
2228 (semanticdb-deep-find-tags-for-completion-method):
2229 * semantic/db-javascript.el (semanticdb-javascript-tags)
2230 (javascript-mode, semanticdb-find-translate-path)
2231 (semanticdb-find-tags-for-completion-method)
2232 (semanticdb-find-tags-by-class-method)
2233 (semanticdb-deep-find-tags-by-name-method)
2234 (semanticdb-deep-find-tags-for-completion-method)
2235 (semanticdb-find-tags-external-children-of-type-method):
2236 * semantic/idle.el (semantic-idle-work-core-handler)
2237 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
2238 (global-semantic-idle-scheduler-mode):
2239 * srecode/dictionary.el (srecode-field-value)
2240 (srecode-dictionary-add-section-dictionary):
2241 Fix typos in docstrings.
2243 2010-01-17 Glenn Morris <rgm@gnu.org>
2245 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
2247 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
2249 * semantic.el (semantic-mode): Fix typos in docstrings.
2251 2010-01-16 Mario Lang <mlang@delysid.org>
2253 * ede/cpp-root.el (ede-cpp-root-project):
2254 * ede/files.el (ede-expand-filename):
2255 * ede/simple.el (ede-simple-project):
2256 * semantic/complete.el (semantic-complete-read-tag-engine)
2257 (semantic-complete-inline-tag-engine):
2258 * semantic/db-el.el (semanticdb-equivalent-mode):
2259 * semantic/db-global.el (semanticdb-equivalent-mode):
2260 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2261 * semantic/db.el (semanticdb-equivalent-mode):
2262 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
2263 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2264 Remove duplicated words in doc-strings.
2266 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2268 * semantic/edit.el (semantic-reparse-needed-change-hook)
2269 (semantic-no-reparse-needed-change-hook):
2270 * srecode/insert.el (srecode-resolve-argument-list)
2271 (srecode-template-inserter-blank, srecode-template-inserter-variable)
2272 (srecode-template-inserter-ask, srecode-template-inserter-width)
2273 (srecode-template-inserter-section-start)
2274 (srecode-template-inserter-section-end, srecode-insert-method):
2275 Fix typos in docstrings.
2277 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2279 * data-debug.el (data-debug): Fix customization group reference.
2281 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2283 * semantic/analyze.el (semantic-analyze-push-error)
2284 (semantic-analyze-context, semantic-analyze-context-assignment)
2285 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
2286 * semantic/java.el (java-mode, semantic-tag-include-filename)
2287 (semantic-java-doc-keywords-map):
2288 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
2289 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
2290 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
2291 (semantic-c-classname, semantic-format-tag-uml-prototype)
2292 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
2293 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
2294 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
2295 (semantic-get-local-variables, semantic-end-of-command)
2296 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
2298 * semantic/bovine/make.el (makefile-mode):
2299 * semantic/wisent/python.el (wisent-python-string-re)
2300 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
2301 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
2302 (semantic-lex, semantic-get-local-variables, python-mode):
2303 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
2304 * srecode/extract.el (srecode-extract-state-set)
2305 (srecode-extract-method): Fix typos in docstrings.
2307 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
2309 * semantic.el (semantic-new-buffer-setup-functions):
2312 2010-01-10 Richard Kim <emacs18@gmail.com>
2314 * semantic/wisent/python-wy.el:
2315 * semantic/wisent/python.el: New files.
2317 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
2319 * semantic/db-typecache.el (semanticdb-typecache-find-default):
2320 Fix typo in docstring.
2322 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
2324 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2325 (semantic-mru-bookmark-mode): Doc fixes.
2327 * semantic/db.el (semanticdb-cache-get): Use error instead
2330 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2332 * semantic/ia.el (semantic-ia-complete-symbol):
2333 Make argument optional.
2335 2009-12-05 Eric Ludlam <zappo@gnu.org>
2337 * semantic/bovine/c.el (semantic-c-describe-environment):
2338 Describe project macro symbols.
2340 * semantic/complete.el (semantic-complete-do-completion):
2341 Don't call semantic-collector-current-exact-match.
2343 * ede.el (ede-apply-preprocessor-map): Accept lists of
2344 ede-objects as targets.
2346 * ede/pmake.el (ede-proj-makefile-insert-variables):
2347 Output a target's object list even if compiler vars are already in the
2350 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2351 list of headers producing necessary macros.
2353 2009-11-24 Glenn Morris <rgm@gnu.org>
2355 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2356 Move after definition of global-semantic-idle-tag-highlight-mode.
2358 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2360 * srecode/map.el (srecode-get-maps):
2361 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2362 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2363 * semantic/decorate/mode.el (semantic-decoration-mode)
2364 (semantic-toggle-decoration-style):
2365 * semantic/decorate/include.el
2366 (semantic-decoration-include-describe)
2367 (semantic-decoration-unknown-include-describe)
2368 (semantic-decoration-unparsed-include-describe)
2369 (semantic-decoration-all-include-summary):
2370 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2371 * semantic/analyze/complete.el
2372 (semantic-analyze-possible-completions):
2373 * semantic/util-modes.el (semantic-highlight-edits-mode)
2374 (semantic-show-unmatched-syntax-mode)
2375 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2376 (semantic-highlight-func-mode):
2377 * semantic/util.el (semantic-describe-buffer):
2378 * semantic/symref.el (semantic-symref-find-references-by-name)
2379 (semantic-symref-find-tags-by-name)
2380 (semantic-symref-find-tags-by-regexp)
2381 (semantic-symref-find-tags-by-completion)
2382 (semantic-symref-find-file-references-by-name)
2383 (semantic-symref-find-text):
2384 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2386 * semantic/scope.el (semantic-calculate-scope):
2387 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2388 * semantic/idle.el (semantic-idle-scheduler-mode)
2389 (define-semantic-idle-service):
2390 * semantic/complete.el (semantic-complete-analyze-inline)
2391 (semantic-complete-analyze-inline-idle):
2392 * semantic/analyze.el (semantic-analyze-current-context):
2393 * mode-local.el (describe-mode-local-bindings)
2394 (describe-mode-local-bindings-in-mode):
2395 * ede/make.el (ede-make-check-version):
2396 * ede/locate.el (ede-enable-locate-on-project):
2397 * cedet-idutils.el (cedet-idutils-expand-filename)
2398 (cedet-idutils-version-check):
2399 * cedet-global.el (cedet-gnu-global-expand-filename)
2400 (cedet-gnu-global-version-check):
2401 * cedet-cscope.el (cedet-cscope-expand-filename)
2402 (cedet-cscope-version-check): Use called-interactively-p instead
2405 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2406 Use semantic-format-tag-prototype.
2408 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2410 * semantic/complete.el (semantic-complete-read-tag-engine)
2411 (semantic-complete-jump-local, semantic-complete-jump):
2412 Improve prompt string.
2414 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2416 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2418 * semantic/idle.el (define-semantic-idle-service)
2419 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2421 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2423 * cedet.el (cedet-menu-map): Re-order menu items.
2425 * semantic.el: Enable idle-mode menu items only if
2426 global-semantic-idle-scheduler-mode is enabled.
2427 (semantic-default-submodes): Doc fix.
2429 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2430 When turning off, disable other idle modes.
2432 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2434 * semantic/idle.el (semantic-idle-summary-mode)
2435 (semantic-idle-summary-mode): Define using define-minor-mode
2436 instead of define-semantic-idle-service.
2437 (semantic-idle-summary-mode): New function.
2438 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2439 that mouse motion does not reset the echo area.
2441 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2443 * semantic/ctxt.el (semantic-get-local-variables):
2444 Disable the progress reporter entirely.
2446 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * semantic/fw.el (semantic/loaddefs):
2449 * srecode.el (srecode/loaddefs):
2450 * ede.el (ede/loaddefs): Load rather than require.
2461 * semantic/analyze.el:
2462 * semantic/bovine.el:
2463 * semantic/complete.el:
2465 * semantic/db-file.el:
2466 * semantic/db-find.el:
2467 * semantic/db-global.el:
2468 * semantic/db-mode.el:
2469 * semantic/db-typecache.el:
2471 * semantic/debug.el:
2476 * semantic/format.el:
2478 * semantic/ia-sb.el:
2481 * semantic/lex-spp.el:
2483 * semantic/mru-bookmark.el:
2484 * semantic/scope.el:
2485 * semantic/senator.el:
2487 * semantic/symref.el:
2488 * semantic/tag-file.el:
2489 * semantic/tag-ls.el:
2490 * semantic/tag-write.el:
2492 * semantic/util-modes.el:
2493 * semantic/analyze/complete.el:
2494 * semantic/analyze/refs.el:
2495 * semantic/bovine/c.el:
2496 * semantic/bovine/gcc.el:
2497 * semantic/bovine/make.el:
2498 * semantic/bovine/scm.el:
2499 * semantic/decorate/include.el:
2500 * semantic/decorate/mode.el:
2501 * semantic/symref/cscope.el:
2502 * semantic/symref/global.el:
2503 * semantic/symref/grep.el:
2504 * semantic/symref/idutils.el:
2505 * semantic/symref/list.el:
2506 * semantic/wisent/java-tags.el:
2507 * semantic/wisent/javascript.el:
2508 * srecode/compile.el:
2510 * srecode/document.el:
2512 * srecode/expandproto.el:
2513 * srecode/getset.el:
2514 * srecode/insert.el:
2518 * srecode/template.el:
2519 * srecode/texi.el: Remove the file-local setting of
2520 generated-autoload-feature.
2522 2009-11-03 Glenn Morris <rgm@gnu.org>
2524 * mode-local.el (with-mode-local): Doc fix.
2526 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2528 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2531 * ede.el (ede-minor-mode):
2532 * semantic.el (semantic-mode): Toggle menu separators.
2534 2009-10-31 Glenn Morris <rgm@gnu.org>
2536 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2537 Use mapc rather than mapcar because the return value is never used.
2539 * srecode/template.el, semantic/wisent/javascript.el:
2540 * semantic/wisent/java-tags.el, semantic/texi.el:
2542 Suppress harmless warnings about setting up semantic-imenu (not
2543 part of Emacs) variables.
2545 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2548 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2549 * semantic/symref/grep.el (semantic-symref-perform-search):
2550 * semantic/bovine/gcc.el (semantic-gcc-query):
2551 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2552 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2553 (semantic-analyzer-debug-global-symbol)
2554 (semantic-analyzer-debug-missing-innertype)
2555 (semantic-analyzer-debug-insert-include-summary):
2556 * semantic/util.el (semantic-file-tag-table)
2557 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2558 (semantic-recursive-find-nonterminal-by-name):
2559 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2560 * semantic/tag-file.el (semantic-prototype-file):
2561 * semantic/symref.el (semantic-symref-parse-tool-output):
2562 * semantic/sb.el (semantic-sb-fetch-tag-table):
2563 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2564 * semantic/idle.el (semantic-idle-work-for-one-buffer)
2565 (semantic-idle-summary-maybe-highlight):
2566 * semantic/ia-sb.el (semantic-ia-speedbar)
2567 (semantic-ia-sb-tag-info):
2568 * semantic/grammar.el (semantic-analyze-possible-completions):
2569 * semantic/find.el (semantic-brute-find-tag-by-position):
2570 * semantic/ede-grammar.el (project-compile-target)
2571 (ede-proj-makefile-insert-variables):
2572 * semantic/debug.el (semantic-debug-set-parser-location)
2573 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2574 (semantic-debug-mode, semantic-debug):
2575 * semantic/db.el (semanticdb-needs-refresh-p):
2576 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2577 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2578 * semantic/db-find.el (semanticdb-find-log-new-search)
2579 (semanticdb-find-translate-path-includes--internal)
2580 (semanticdb-reset-log, semanticdb-find-log-activity):
2581 * semantic/db-file.el (object-write):
2582 * semantic/db-el.el (semanticdb-equivalent-mode):
2583 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2584 (semanticdb-create-ebrowse-database):
2585 * semantic/db-debug.el (semanticdb-table-sanity-check):
2586 * semantic/complete.el (semantic-displayor-focus-request)
2587 (semantic-collector-calculate-completions-raw)
2588 (semantic-complete-read-tag-analyzer):
2589 * semantic/analyze.el (semantic-analyze-pulse):
2590 * ede/util.el (ede-update-version-in-source):
2591 * ede/proj.el (project-delete-target):
2592 * ede/proj-elisp.el (ede-update-version-in-source)
2593 (ede-proj-flush-autoconf):
2594 * ede/pconf.el (ede-proj-configure-synchronize)
2595 (ede-proj-configure-synchronize):
2596 * ede/locate.el (ede-locate-file-in-project-impl):
2597 * ede/linux.el (ede-linux-version):
2598 * ede/emacs.el (ede-emacs-version):
2599 * ede/dired.el (ede-dired-add-to-target):
2600 * ede.el (ede-buffer-header-file, ede-find-target)
2601 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2602 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2603 * cedet-idutils.el (cedet-idutils-fnid-call)
2604 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2605 (cedet-idutils-version-check):
2606 * cedet-global.el (cedet-gnu-global-call)
2607 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2608 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2609 * cedet-cscope.el (cedet-cscope-call)
2610 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2611 Use with-current-buffer.
2612 * ede.el (ede-make-project-local-variable)
2613 (ede-set-project-variables, ede-set): Use dolist.
2615 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * mode-local.el (make-obsolete-overload): Add `when' argument.
2618 (overload-docstring-extension): Use that info.
2619 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2620 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2621 * semantic/tag-ls.el (semantic-nonterminal-protection)
2622 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2623 (semantic-nonterminal-full-name): Add the new `when' info.
2624 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2627 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * semantic/fw.el (semantic-alias-obsolete)
2630 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2631 (define-mode-overload-implementation):
2632 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2633 * semantic/wisent.el (wisent-lex-make-token-table):
2634 * semantic/util.el (semantic-file-token-stream)
2635 (semantic-something-to-stream):
2636 * semantic/tag.el (semantic-tag-make-assoc-list)
2637 (semantic-expand-nonterminal):
2638 * semantic/tag-file.el (semantic-find-nonterminal)
2639 (semantic-find-dependency, semantic-find-nonterminal)
2640 (semantic-find-dependency):
2641 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2642 (semantic-flex-text, semantic-flex-make-keyword-table)
2643 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2644 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2645 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2646 * semantic/java.el (semantic-java-prototype-nonterminal):
2647 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2648 (semantic-after-idle-scheduler-reparse-hooks):
2649 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2650 * semantic/db-mode.el (semanticdb-mode-hooks):
2651 * semantic.el (semantic-toplevel-bovine-table)
2652 (semantic-toplevel-bovine-cache)
2653 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2654 (semantic-init-mode-hooks, semantic-init-db-hooks)
2655 (semantic-bovination-working-type): Provide the `when' arg.
2657 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2659 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2660 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2661 argument to make-obsolete.
2663 * semantic/fw.el (semantic-alias-obsolete)
2664 (semantic-varalias-obsolete): Add optional WHEN argument.
2666 2009-10-21 Eric Ludlam <zappo@gnu.org>
2668 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2669 (semantic-c-debug-mode-init-pch): New functions.
2670 (semantic-c-debug-mode-init-last-mode): New var.
2671 (semantic-c-parse-lexical-token): Use them.
2673 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2674 When extracting the argument list, limit only by point-max.
2676 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2679 * srecode/compile.el:
2680 * semantic/mru-bookmark.el:
2681 * semantic/debug.el:
2682 * semantic/complete.el:
2683 * semantic/analyze.el: Require CL when compiling.
2685 2009-10-17 Eric Ludlam <zappo@gnu.org>
2688 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2689 tmpscope so that the regular scope will continue to work.
2691 * semantic/idle.el (semantic-idle-tag-highlight):
2692 Use semantic-idle-summary-highlight-face as the highlighting.
2694 * ede/project-am.el (project-run-target): New method.
2695 (project-run-target): New method.
2697 * ede.el (ede-target): Add run target menu item.
2698 (ede-project, ede-minor-keymap): Add ede-run-target binding.
2699 (ede-run-target): New function.
2700 (ede-target::project-run-target): New method.
2702 * ede/proj.el (project-run-target): New method.
2704 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
2705 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
2707 (ede-proj-target-makefile-shared-object): Only libtool compilers
2708 now available. Add linkers for libtool.
2709 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
2710 (ede-proj-makefile-target-name): Always use .la extension.
2712 * ede/proj-prog.el (project-run-target): New method.
2714 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
2715 (ede-g++-linker): Change Change link lines.
2717 * ede/pmake.el (ede-pmake-insert-variable-shared):
2718 When searching for old variables, go to the end of the buffer and
2719 search backward from there.
2720 (ede-proj-makefile-automake-insert-subdirs)
2721 (ede-proj-makefile-automake-insert-extradist): New methods.
2722 (ede-proj-makefile-create): Use them.
2724 * ede/pconf.el (ede-proj-configure-test-required-file):
2725 Force FILE to expand to the current target. Use file-exists-p to
2726 check that it exists.
2728 * ede/linux.el (ede-linux-version): Don't call "head".
2729 (ede-linux-load): Wrap dir in file-name-as-directory.
2732 * ede/files.el (ede-get-locator-object): When enabling
2733 locate, do so on "top".
2735 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
2736 file-name-as-directory during compare.
2737 (ede-emacs-version): Return Emacs/XEmacs differentiator.
2738 Get version number from different places. Don't call egrep.
2739 (ede-emacs-load): Set :version slot. Call file-name-as-directory
2740 to set the directory.
2742 * ede/shell.el: New file.
2744 * inversion.el (inversion-decoders): Allow for stray . in
2745 alpha/beta variants.
2747 2009-10-17 Glenn Morris <rgm@gnu.org>
2749 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
2750 All errors should have messages.
2752 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
2754 * ede/proj-shared.el (ede-proj-makefile-target-name):
2755 Use .la for Automake.
2757 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
2759 * ede/pconf.el (ede-proj-configure-synchronize):
2760 Use "autoreconf -i". Suggested by Andreas Schwab.
2762 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2764 * ede/proj.el (project-make-dist, project-compile-project):
2766 (ede-proj-dist-makefile): Use expand-file-name instead of concat
2767 to expand file names.
2769 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
2771 * ede/proj-obj.el (ede-gcc-linker): New var.
2772 (ede-proj-target-makefile-objectcode): Use it.
2774 * ede/source.el (ede-want-any-source-files-p)
2775 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
2776 Return search result. This error was introduced while merging.
2778 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2780 * semantic.el (semantic-new-buffer-setup-functions): New option.
2781 (semantic-new-buffer-fcn): Call parser setup functions here.
2782 (semantic-mode): Don't call parser setup functions here, it's done
2783 in semantic-new-buffer-fcn now.
2784 (semantic-mode): Parse all existing buffers when enabled.
2786 * srecode/compile.el (srecode-compile-file):
2787 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2789 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2791 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2793 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
2794 (proj-comp-insert-variable-once): New macro, renamed from
2795 ede-pmake-insert-variable-once in ede/pmake.edl.
2796 (ede-proj-makefile-insert-variables): Use it.
2798 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2800 * ede/makefile-edit.el (makefile-beginning-of-command)
2801 (makefile-end-of-command):
2802 * srecode/srt-mode.el (semantic-beginning-of-context)
2803 (semantic-end-of-context): Fix previous change. Doc fixes.
2805 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2807 * ede/makefile-edit.el (makefile-beginning-of-command)
2808 (makefile-end-of-command):
2809 * semantic/lex.el (semantic-lex-token):
2810 * semantic/analyze/fcn.el
2811 (semantic-analyze-dereference-metatype-1):
2812 * semantic/bovine/c.el (semantic-lex-cpp-define)
2813 (semantic-lex-cpp-undef):
2814 * semantic/wisent/wisent.el (wisent-skip-block):
2815 * srecode/srt-mode.el (semantic-beginning-of-context)
2816 (semantic-end-of-context): Fix typos in docstrings.
2818 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2820 * ede.el (ede-project-placeholder-cache-file):
2821 * semantic/db-file.el (semanticdb-default-save-directory):
2822 * srecode/map.el (srecode-map-save-file):
2823 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2825 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2827 * srecode/insert.el: Require srecode/args.
2829 * srecode/args.el: Require srecode/dictionary instead of
2832 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
2834 * semantic.el (semantic-mode):
2835 Handle srecode-template-mode-hook as well.
2836 (semantic-mode): Use js-mode-hook for Javascript hook.
2838 * srecode/template.el: Remove hook variable.
2840 * ede/proj-comp.el: Require ede/pmake when compiling.
2842 * ede.el (ede-target-forms-menu): Don't enable if no
2844 (ede-project-placeholder-cache-file): Default to a file in
2845 user-emacs-directory.
2847 * srecode/map.el (srecode-map-base-template-dir): Look for
2848 templates in data-directory.
2849 (srecode-map-save-file): Default to a file in user-emacs-directory.
2851 * ede/srecode.el (ede-srecode-setup): Use default templates
2854 2009-09-30 Eric Ludlam <zappo@gnu.org>
2856 * semantic/util-modes.el (semantic-highlight-func-mode):
2859 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
2860 Only insert each variable once.
2862 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2863 (ede-pmake-insert-variable-shared): Use it.
2865 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2866 for lexical table iff table is nil.
2868 2009-10-01 Glenn Morris <rgm@gnu.org>
2870 * semantic/bovine/gcc.el
2871 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2872 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2874 2009-10-03 Glenn Morris <rgm@gnu.org>
2876 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
2877 declaration, currently false.
2879 2009-10-01 Glenn Morris <rgm@gnu.org>
2881 * cedet-files.el (cedet-directory-name-to-file-name):
2882 * cedet-idutils.el (cedet-idutils-search)
2883 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2884 (cedet-idutils-version-check):
2885 * cedet.el (cedet-version):
2886 * data-debug.el (data-debug-insert-overlay-button)
2887 (data-debug-insert-overlay-list-button)
2888 (data-debug-insert-buffer-button)
2889 (data-debug-insert-buffer-list-button)
2890 (data-debug-insert-process-button, data-debug-insert-ring-button)
2891 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2892 (data-debug-insert-stuff-vector-button)
2893 (data-debug-insert-symbol-button, data-debug-insert-string)
2894 (data-debug-insert-number, data-debug-insert-lambda-expression)
2895 (data-debug-insert-nil, data-debug-insert-simple-thing)
2896 (data-debug-insert-custom, data-debug-edebug-expr):
2897 * ede.el (ede-auto-add-method, ede-project-class-files)
2898 (global-ede-mode-map, ede-new, ede-debug-target)
2899 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2900 * semantic.el (semantic-minimum-working-buffer-size)
2901 (semantic-fetch-tags, semantic-submode-list)
2902 (semantic-default-submodes):
2903 * ede/source.el (ede-source-match):
2904 * ede/project-am.el (project-am-type-alist, project-add-file)
2905 (project-am-package-info):
2906 * ede/proj.el (ede-proj-target, project-new-target):
2907 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
2908 * ede/proj-comp.el (ede-current-build-list):
2909 * ede/makefile-edit.el (makefile-move-to-macro):
2910 * ede/files.el (ede-toplevel-project-or-nil):
2911 * ede/cpp-root.el (initialize-instance):
2912 * ede/autoconf-edit.el (autoconf-find-last-macro)
2913 (autoconf-parameter-strip, autoconf-insert-new-macro):
2914 * semantic/wisent.el (wisent-lex-eoi):
2915 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
2916 (semantic-show-parser-state-mode):
2917 * semantic/texi.el (semantic-texi-environment-regexp):
2918 * semantic/tag.el (semantic-tag-new-variable)
2919 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2920 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2921 (semantic--tag-deep-copy-tag-list)
2922 (semantic-tag-components-with-overlays-default):
2923 * semantic/symref.el (semantic-symref-find-text):
2924 * semantic/senator.el (senator-yank-tag)
2925 (senator-transpose-tags-up):
2926 * semantic/scope.el (semantic-analyze-scoped-tags-default)
2927 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2928 * semantic/sb.el (semantic-sb-autoexpand-length):
2929 * semantic/lex.el (semantic-lex-comment-regex)
2930 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2931 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2932 * semantic/lex-spp.el
2933 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2934 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2936 (semantic-idle-summary-current-symbol-info-brutish)
2937 (semantic-idle-summary-current-symbol-info-default):
2938 * semantic/grammar.el (semantic-grammar-recreate-package)
2939 (semantic--grammar-macro-compl-dict):
2940 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2941 * semantic/format.el (semantic-format-tag-custom-list)
2942 (semantic-format-tag-canonical-name-default):
2943 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
2944 (semantic-find-tags-for-completion)
2945 (semantic-find-tags-by-scope-protection-default)
2946 (semantic-deep-find-tags-for-completion):
2948 (semantic-edits-incremental-reparse-failed-hook)
2949 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2950 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2951 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2952 * semantic/dep.el (semantic-dependency-include-path):
2953 * semantic/db.el (semanticdb-default-find-index-class)
2954 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2955 (semanticdb-project-roots):
2956 * semantic/db-find.el (semanticdb-implied-include-tags)
2957 (semanticdb-find-adebug-insert-scanned-tag-cons)
2958 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2959 (semanticdb-brute-deep-find-tags-for-completion):
2960 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2961 * semantic/ctxt.el (semantic-beginning-of-context-default)
2962 (semantic-end-of-context-default)
2963 (semantic-ctxt-current-function-default)
2964 (semantic-ctxt-scoped-types-default):
2965 * semantic/complete.el (semantic-complete-read-tag-engine)
2966 (semantic-complete-inline-tag-engine)
2967 (semantic-complete-inline-custom-type)
2968 (semantic-complete-read-tag-analyzer):
2969 * semantic/chart.el (semantic-chart-tags-by-class)
2970 (semantic-chart-database-size):
2971 * semantic/analyze.el (semantic-analyze-current-symbol)
2972 (semantic-analyze-current-context):
2973 * semantic/symref/list.el (semantic-symref)
2974 (semantic-symref-hide-buffer, semantic-symref-symbol):
2975 * semantic/symref/grep.el (semantic-symref-grep-use-template):
2976 * semantic/symref/filter.el (semantic-symref-hits-in-region):
2977 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2978 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2979 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2980 (semantic-c-dereference-template):
2981 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2982 (semantic--analyze-refs-full-lookup-with-parents)
2983 (semantic--analyze-refs-full-lookup-simple):
2984 * semantic/analyze/complete.el
2985 (semantic-analyze-possible-completions):
2986 * srecode/table.el (srecode-mode-table-new):
2987 * srecode/srt.el (srecode-read-variable-name):
2988 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2989 * srecode/semantic.el (srecode-semantic-handle-:tag)
2990 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2991 * srecode/map.el (srecode-current-map):
2992 * srecode/insert.el (srecode-insert)
2993 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2994 (srecode-template-inserter-point-override)
2995 (srecode-insert-include-lookup):
2996 * srecode/getset.el (srecode-auto-choose-class):
2997 * srecode/extract.el (srecode-inserter-extract):
2998 * srecode/document.el
2999 (srecode-document-autocomment-return-last-alist)
3000 (srecode-document-autocomment-param-type-alist)
3001 (srecode-document-insert-function-comment)
3002 (srecode-document-insert-variable-one-line-comment)
3003 (srecode-document-function-name-comment):
3004 * srecode/dictionary.el (srecode-create-dictionary)
3005 (srecode-compound-toString):
3006 * srecode/compile.el (srecode-flush-active-templates):
3007 * srecode/args.el (srecode-semantic-handle-:blank):
3010 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
3012 * semantic/wisent/javat-wy.el
3013 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
3015 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
3017 * srecode/expandproto.el: Fix provide statement.
3019 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
3021 * ede/srecode.el: Fix provide statement.
3023 2009-09-30 Glenn Morris <rgm@gnu.org>
3025 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
3026 * ede/proj-aux.el (ede-aux-source):
3027 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
3029 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
3030 (semantic-mrub-switch-tags): Fix doc typos.
3032 * semantic/db-global.el (data-debug-new-buffer)
3033 (data-debug-insert-thing): Remove unneeded declarations (one broken).
3034 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
3036 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
3038 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
3039 use of CL function `remove-if-not'.
3041 2009-09-29 Glenn Morris <rgm@gnu.org>
3043 * semantic/symref/idutils.el:
3044 * semantic/symref/list.el: Relicense under GPLv3+.
3046 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
3048 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
3049 * semantic/tag-file.el (semanticdb-table-child-p):
3050 * srecode/compile.el (srecode-template-inserter-newline-child-p):
3051 Mark declarations not understood by check-declare.
3053 2009-09-28 Eric Ludlam <zappo@gnu.org>
3055 CEDET (development tools) package merged.
3060 * srecode/*.el: New files.
3062 2009-09-28 Eric Ludlam <zappo@gnu.org>
3071 * pulse.el: New files.
3077 Copyright (C) 2009-2014 Free Software Foundation, Inc.
3079 This file is part of GNU Emacs.
3081 GNU Emacs is free software: you can redistribute it and/or modify
3082 it under the terms of the GNU General Public License as published by
3083 the Free Software Foundation, either version 3 of the License, or
3084 (at your option) any later version.
3086 GNU Emacs is distributed in the hope that it will be useful,
3087 but WITHOUT ANY WARRANTY; without even the implied warranty of
3088 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3089 GNU General Public License for more details.
3091 You should have received a copy of the GNU General Public License
3092 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.