]> code.delx.au - gnu-emacs/blob - lisp/cedet/ChangeLog
* lisp/cedet: Reduce reliance on EIEIO internals.
[gnu-emacs] / lisp / cedet / ChangeLog
1 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * srecode/srt-mode.el (srecode-macro-help): Use eieio-class-children.
4
5 * semantic/db.el (semanticdb-cache-get): Prefer eieio-object-class over
6 eieio--object-class.
7
8 * semantic/db-el.el (semanticdb-elisp-sym->tag): Prefer find-class over
9 class-v.
10
11 * ede/generic.el (ede-find-target): Prefer \` and \' to ^ and $.
12
13 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
14
15 * semantic.el (semantic-analyze-completion-at-point-function)
16 (semantic-analyze-notc-completion-at-point-function)
17 (semantic-analyze-nolongprefix-completion-at-point-function):
18 Do nothing if the current buffer is not using Semantic (bug#19077).
19
20 2014-12-08 Matt Curtis <matt.r.curtis@gmail.com> (tiny change)
21
22 * pulse.el (pulse-momentary-highlight-one-line): Respect the POINT
23 argument (bug#17260).
24
25 2014-11-09 Eric Ludlam <zappo@gnu.org>
26
27 * semantic.el (semantic-mode): Add/remove 3
28 completion-at-point-functions.
29 (semantic-completion-at-point-function): Remove.
30 (semantic-analyze-completion-at-point-function)
31 (semantic-analyze-notc-completion-at-point-function)
32 (semantic-analyze-nolongprefix-completion-at-point-function):
33 New completion at point functions.
34
35 * semantic/doc.el (semantic-doc-snarf-comment-for-tag): Fix case
36 when comment-end is empty string.
37
38 * semantic/debug.el
39 (semantic-debug-parser-debugger-source): New buffer local
40 variable.
41 (semantic-debug-interface): Add 'nil' initform to overlays.
42 (semantic-debug-mode): Remove read-only tags from buffers on exit.
43 (semantic-debug): Add autoload cookie. Force the language
44 specific debugger to load.
45
46 * semantic/db.el (generic::semanticdb-full-filename): New generic
47 method to allow this method to be used on buffer names via an
48 associated database.
49
50 * semantic/symref.el
51 (semantic-symref-cleanup-recent-buffers-fcn): When cleaning up
52 buffers, don't clean up buffers that are being used (i.e., in a
53 window) when the hook fires.
54 (semantic-symref-recently-opened-buffers): New tracking variable.
55 (semantic-symref-cleanup-recent-buffers-fcn): New hook fcn.
56 (semantic-symref-result-get-tags): Move logic into
57 `semantic-symref-hit-to-tag-via-buffer', and cleanup buffers via
58 the symref cleanup function in post-command-hook.
59 (semantic-symref-hit-to-tag-via-buffer): Logic that used to be
60 from above.
61 (semantic-symref-hit-to-tag-via-db): New.
62
63 * semantic/analyze.el:
64 (semantic-analyze-find-tag-sequence-default): If first entry in
65 sequence is the only one, apply tagclass filter.
66 (semantic-analyze-princ-sequence): Show slot even if empty.
67 (semantic-analyze-find-tag-sequence)
68 (semantic-analyze-find-tag-sequence-default): Add flags argument.
69 Add support for forcing the final entry of the sequence to be of
70 class variable.
71 (semantic-analyze-find-tag): Fix bug where input class filter was
72 ignored if there was a typecache match.
73 (semantic-analyze-current-context-default): For assignments, the
74 assignee now must be of class variable.
75
76 * semantic/analyze/complete.el
77 (semantic-analyze-possible-completions-default):
78 Add 'no-longprefix' flag. When used, the prefix and prefixtypes are
79 shortened to just the last symbol.
80
81 * semantic/bovine/c.el (semantic-c-do-lex-if): Catch errors from
82 'hideif', and push to the parser warning stack.
83 (semantic-lex-cpp-define): When a comment is at the end of a
84 macro, do not subtract an extra 1 from the found position.
85 Fixes bug with: #define foo (a)/**/ adding an extra ')' to the stream.
86
87 * semantic/bovine/scm.el (semantic-lex-scheme-symbol):
88 Allow symbols to be one char long.
89
90 * semantic/bovine/grammar.el
91 (bovine-grammar-calculate-source-on-path): New.
92 (bovine-grammar-setupcode-builder): Use it.
93
94 * ede.el (ede/detect): New require.
95 (ede-version): Bump version
96 (ede-initialize-state-current-buffer): Use new
97 `ede-detect-directory-for-project' to detect projects first
98 instead of depending on currente dir only.
99 (ede-delete-project-from-global-list): New.
100 (ede-flush-deleted-projects): Use above.
101 (ede-check-project-query-fcn): New variable
102 (ede-check-project-directory): Use above when querying the user.
103 Added to support unit testing of this security measure.
104 (ede-initialize-state-current-buffer):
105 Use `ede-directory-project-cons' instead of the -detect- fcn to take
106 advantage of the cache. Pass found project into
107 `ede-load-project-file'.
108 (ede-load-project-file): Add new input DETECTIN.
109 (ede-rescan-toplevel): Get the proj root a better way.
110 (ede-load-project-file): Return the loaded object. When asking
111 for existing project, ask for an exact match.
112 (ede-initialize-state-current-buffer): Simplify some conditional
113 logic.
114 (ede-load-project-file): Simplify conditional logic.
115 (ede-global-list-sanity-check): New Testing fcn.
116 (ede-parent-project): Replace old code with call to faster
117 `ede-find-subproject-for-directory'.
118 (ede-load-project-file):
119 Use `ede-directory-get-toplevel-open-project' instead of above
120 deleted. Rename "pfc" to "autoloader".
121 Use `ede-directory-project-cons' to detect a project. Delete no
122 project found case where we search up the tree.
123
124 * ede/auto.el (ede-project-autoload): Fix doc typo.
125 Add `:root-only' slot.
126 (ede-auto-load-project): Doc update: warn to not use.
127 (ede-dir-to-projectfile): Delete.
128 (ede-project-autoload-dirmatch): Add subdir-only slot.
129 Make configdatastash unbound by default.
130 (ede-do-dirmatch): If subdir-only is true, then don't allow exact
131 matches. Account for configdatastash as unbound. Assume value of
132 nil means no tool installed. Make sure loaded path matches from
133 beginning. Stash the regexp, not the raw string.
134 (ede-project-class-files): Note that makefile and automake are not
135 root only.
136 (ede-auto-detect-in-dir): New (for use with `ede/detect.el').
137 (ede-project-dirmatch-p): Delete.
138 (ede-project-root-directory): Remove body, return nil.
139 (ede-project-autoload): :proj-root-dirmatch can be null & doc fix.
140 (ede-auto-detect-in-dir): If there is no :proj-file, check for a
141 dirmatch.
142
143 * ede/generic.el (ede/config): Replace require of ede.
144 (ede-generic-new-autoloader): Generic projects are now safe by
145 default. Note this is NOT a root only project.
146 (project-rescan, ede-project-root, ede-generic-target-java)
147 (ede-java-classpath, ede-find-subproject-for-directory): New.
148 (ede-enable-generic-projects): Add new autoloaders for git, bzr,
149 hg, sv, CVS.
150 (ede-generic-vc-project)
151 (ede-generic-vc-project::ede-generic-setup-configuration): New.
152 (ede-generic-config): Remove slots: c-include-path,
153 c-preprocessor-table, c-preprocessor-files, classpath,
154 build-command, debug-command, run command. Inherit from
155 ede-extra-config-build, ede-extra-config-program.
156 Make run-command :value match :custom so only strings are accepted.
157 Add some more :group slot specifiers.
158 (ede-generic-project): Add mixins `ede-project-with-config-c' and
159 `ede-project-with-config-java'. Inherit from
160 `ede-project-with-config-build',
161 `ede-project-with-config-program'. Subclass
162 `ede-project-with-config'. Remove duplication from new baseclass.
163 (ede-generic-target): Inherit from `ede-target-with-config-build',
164 `ede-target-with-config-program'. Subclass `ede-target-with-config'.
165 (ede-generic-target-c-cpp): Add mixin `ede-target-with-config-c'.
166 (ede-generic-target-java): Add mixin `ede-target-with-config-java'.
167 (ede-preprocessor-map, ede-system-include-path)
168 (edejava-classpath): Delete, moved to config.el.
169 (project-compile-project, project-compile-target)
170 (project-debug-target, project-run-target): Delete.
171 (ede-generic-get-configuration, ede-generic-setup-configuration)
172 (ede-commit-project, project-rescan)
173 (ede-generic-project::ede-customize)
174 (ede-generic-target::ede-customize)
175 (ede-generic-config::eieio-done-customizing)
176 (ede-generic-config::ede-commit): Delete. Subsumed by new
177 baseclass.
178 (ede-preprocessor-map, ede-system-include-path)
179 (project-debug-target, project-run-target): Call new
180 `ede-config-get-configuration' instead of old version.
181 (ede-generic-load): Do not add to global list here.
182
183 * ede/files.el (ede-find-project-root)
184 (ede-files-find-existing)
185 (ede-directory-get-toplevel-open-project-new): Delete.
186 (ede-project-root-directory): Use `ede-project-root' first.
187 (ede-project-directory-remove-hash)
188 (ede--directory-project-from-hash)
189 (ede--directory-project-add-description-to-hash): Rename to make
190 internal symbols (via --). Expand input dir first.
191 (ede-directory-project-p): Doc fix (note obsoleted.)
192 (ede-toplevel-project-or-nil): Alias to `ede-toplevel-project'.
193 (ede-toplevel-project): Doc Fix. Delete commented out old code.
194 Simplify returning result from ede-detect-directory-for-project.
195 (ede-directory-get-open-project): Support when
196 inodes are disabled. If disabled to str compare on root project.
197 (ede-directory-get-toplevel-open-project): Enabled nested
198 projects. When doing directory name matching, save the 'short'
199 version of an answer (non-exact match) and eventually select the
200 shortest answer at the end. Expand the filename of tested
201 projects. Better support for when inodes are disabled.
202 Add 'exact' option so that it will return a project that is an exact
203 match.
204 (ede-find-subproject-for-directory): Small optimization to run
205 `file-truename' less often.
206 (ede-directory-project-p): Move content, then use
207 `ede-directory-project-cons'.
208 Use `ede-detect-directory-for-project', replacing old detection loop.
209 (ede-directory-project-cons): New, from above.
210 (ede-toplevel-project): Toss old scanning code.
211 Use `ede-detect-directory-for-project' instead.
212 (ede-directory-get-toplevel-open-project-new): New.
213
214 * ede/linux.el (ede-linux-project-root): Delete.
215 (ede-project-autoload): Remove dirmatch entry - it is no longer
216 needed.
217
218 * lisp/cedet/ede/proj.el (project-rescan): Replace direct
219 manipulation of `ede-projects' with equivalent and better
220 functions.
221 (ede-proj-load): Replace call to test if dir has project to
222 explicity ask filesystem if Project.ede is there.
223
224 * ede/config.el:
225 * ede/detect.el: New files.
226
227 * ede/project-am.el (project-run-target): Add "./" to program to
228 run for systems where '.' isn't in PATH.
229 (project-am-load): Remove old code regarding `ede-constructing'.
230 Just read in the makefiles.
231
232 * ede/linux.el (ede-linux-load): Do not add to global list here.
233 Don't check for existing anymore.
234 (project-rescan): New.
235 (ede-linux-project-list, ede-linux-file-existing): Delete.
236 (ede-linux-project-root): Delete body. Need symbol for autoloads
237 for now.
238 (ede-linux-project): No longer instance tracker.
239 (ede-project-autoload): Don't provide :proj-root
240
241 * ede/emacs.el (ede-emacs-load): Do not add project to global list
242 here. Don't look for existing first.
243 (ede-project-autoload): Remove dirmatch entry - it is no longer
244 needed. Don't provide proj-root anymore.
245 (ede-emacs-project-list, ede-emacs-file-existing): Delete.
246 (ede-emacs-project-root): Remove body (need symbol for loaddefs
247 still).
248 (ede-emacs-project): Do not instance track anymore.
249
250 * ede/cpp-root.el (initialize-instance): Remove commented code.
251 Add note about why we are adding the project to the master list.
252 Make sure if we are replacing a prev version, remove from global
253 list.
254 (ede-cpp-root-file-existing)
255 (ede-cpp-root-project-file-for-dir)
256 (ede-cpp-root-count, ede-cpp-root-project-root, ede-cpp-root-load)
257 (ede-project-autoload cpp-root): Delete.
258 (ede-project-root-directory): Return :directory instead of
259 calculating from :file.
260 (project-rescan): New.
261
262 * ede/base.el (ede-toplevel): Only use buffer cached value if
263 subproj not passed in.
264
265 * srecode/java.el (srecode-semantic-handle-:java): Fix case when
266 an EDE project didn't support java paths.
267
268 2014-11-09 David Engster <dengste@eml.cc>
269
270 * lisp/cedet/ede/proj-elisp.el
271 (ede-proj-target-elisp::ede-proj-tweak-autoconf): Kill buffer
272 after saving modified elisp-comp script, as to avoid "file has
273 changed on disk; really edit the buffer" questions when script
274 gets rewritten.
275
276 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
277
278 Simplify use of current-time and friends.
279 * srecode/args.el (srecode-semantic-handle-:time):
280 Don't call current-time twice to get the current time stamp,
281 as this can lead to inconsistent results.
282
283 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * semantic/complete.el: Require semantic/db-find.
286
287 2014-10-20 Glenn Morris <rgm@gnu.org>
288
289 * Merge in all changes up to 24.4 release.
290
291 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * semantic/wisent/comp.el (wisent-defcontext): Move declarations
294 outside of eval-when-compile. Use `declare'.
295 (wisent-with-context): Add `defvar' declarations in case this macro is
296 used in a file compiled with lexical-binding.
297 (wisent-semantic-action-expand-body): Avoid add-to-list on local var.
298
299 2014-09-22 David Engster <deng@randomsample.de>
300
301 * ede/emacs.el (ede-emacs-version): Do not call 'egrep' to
302 determine Emacs version (it was dead code anyway). Make sure that
303 configure.ac or configure.in exist. (Bug#18476)
304
305 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * semantic/ia.el (semantic-ia-complete-symbol-menu): Use posn-at-point
308 instead of senator-completion-menu-point-as-event; un-comment, tho keep
309 the "no smart completion" fallback commented since it still doesn't
310 work.
311
312 2014-05-01 Glenn Morris <rgm@gnu.org>
313
314 * ede.el (ede-project-directories, ede-check-project-directory):
315 * semantic/ia-sb.el (semantic-ia-sb-show-doc):
316 * semantic/tag.el (semantic-tag-in-buffer-p):
317 * semantic/bovine/c.el (semantic-tag-abstract-p):
318 Doc fixes (replace `iff').
319
320 2014-04-01 Glenn Morris <rgm@gnu.org>
321
322 * ede/emacs.el (ede-emacs-version): Update AC_INIT regexp. (Bug#17160)
323
324 2014-03-29 Glenn Morris <rgm@gnu.org>
325
326 * ede/dired.el (ede-dired-minor-mode): Add autoload cookie.
327 (generated-autoload-file, generated-autoload-load-name):
328 Set file-local values.
329 * ede.el: Load ede/loaddefs at compile time too.
330 (ede-dired-minor-mode): Remove hand-written autoload.
331
332 2014-03-04 Glenn Morris <rgm@gnu.org>
333
334 * semantic/util.el (semantic-complete-symbol):
335 Replace use of obsolete argument of display-completion-list.
336
337 2014-02-03 Glenn Morris <rgm@gnu.org>
338
339 * semantic/senator.el (senator-copy-tag-to-register):
340 Use register-read-with-preview, if available.
341
342 2014-01-13 Eric Ludlam <zappo@gnu.org>
343
344 * semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix typo
345 in a doc string.
346
347 * semantic/ia.el (semantic-ia-complete-symbol): Ignore case if
348 prefix is all lower case.
349 (semantic-ia-fast-jump): Push mark before jumping to an include file.
350
351 * semantic/complete.el (semantic-displayor-point-position):
352 Calculate if the toolbar is on the left when calculating point
353 position.
354
355 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
356
357 Spelling fixes.
358 * semantic/decorate/include.el (semantic-decoration-mouse-3):
359 Rename from semantic-decoratiton-mouse-3. All uses changed.
360
361 2013-12-28 Glenn Morris <rgm@gnu.org>
362
363 * ede/linux.el (project-linux-build-directory-default)
364 (project-linux-architecture-default): Fix custom types. Add version.
365
366 2013-12-12 David Engster <deng@randomsample.de>
367
368 * semantic/analyze.el (semantic-analyze-find-tag-sequence-default):
369 Always add scope to the local miniscope for each type. Otherwise,
370 structure tags are not analyzed correctly. Also, always search
371 the extended miniscope even when not dealing with types.
372
373 * semantic/ctxt.el (semantic-get-local-variables-default):
374 Also try to parse local variables for buffers which are currently
375 marked as unparseable. Otherwise, it is often impossible to
376 complete local variables.
377
378 * semantic/scope.el (semantic-analyze-scoped-types-default): If we
379 cannot find a type in the typecache, also look into the the types
380 we already found. This is necessary since in C++, a 'using
381 namespace' can be dependend on a previous one.
382 (semantic-completable-tags-from-type): When creating the list of
383 completable types, pull in types which are referenced through
384 'using' statements, and also preserve their filenames.
385
386 * semantic/bovine/c.el (semantic/analyze/refs): Require.
387 (semantic-analyze-tag-references): New override. Mainly copied
388 from the default implementation, but if nothing could be found (or
389 just the tag itself), drop all namespaces from the scope and
390 search again. This is necessary for implementations which are
391 defined outside of the namespace and only pull those in through
392 'using' statements.
393 (semantic-ctxt-scoped-types): Go through all tags around point and
394 search them for using statements. In the case for using
395 statements outside of function scope, append them in the correct
396 order instead of using 'cons'. This is important since using
397 statements may depend on previous ones.
398 (semantic-expand-c-tag-namelist): Do not try to parse struct
399 definitions as default values. The grammar parser seems to return
400 the point positions slightly differently (as a cons instead of a
401 list). Also, set parent for typedefs to 'nil'. It does not
402 really make sense to set a parent class for typedefs, and it can
403 also lead to endless loops when calculating scope.
404 (semantic-c-reconstitute-token): Change handling of function
405 pointers; instead of seeing them as variables, handle them as
406 functions with a 'function-pointer' attribute. Also, correctly
407 deal with function pointers as function arguments.
408 (semantic-c-reconstitute-function-arglist): New function to parse
409 function pointers inside an argument list.
410 (semantic-format-tag-name): Use 'function-pointer' attribute
411 instead of the old 'functionpointer-flag'.
412 (semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'.
413
414 * semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to
415 the list of files whose preprocessor symbols are included.
416 This pulls in things like __USE_POSIX and similar.
417
418 * semantic/format.el (semantic-format-tag-prototype-default):
419 Display default values if available.
420
421 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
422 (semantic-analyze-refs-proto): Add 'default-value' as ignorable in
423 call to `semantic-tag-similar-p'.
424
425 * semantic/db-mode.el (semanticdb-semantic-init-hook-fcn):
426 Always set buffer for `semanticdb-current-table'.
427
428 * semantic/db.el (semanticdb-table::semanticdb-refresh-table):
429 The previous change turned up a bug in this method. Since the current
430 table now correctly has a buffer set, the first clause in the
431 `cond' would be taken, but there was a `save-excursion' missing.
432
433 * semantic/lex-spp.el (semantic-c-end-of-macro): Declare.
434 (semantic-lex-spp-token-macro-to-macro-stream): Deal with macros
435 which open/close a scope. For this, leave an overlay if we
436 encounter a single open paren and return a semantic-list in the
437 lexer. When this list gets expanded, retrieve the old position
438 from the overlay. See the comments in the function for further
439 details.
440 (semantic-lex-spp-find-closing-macro): New function to find the
441 next macro which closes scope (i.e., has a closing paren).
442 (semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of
443 closing macro if necessary.
444 (semantic-lex-spp-paren-or-list): New lexer to specially deal with
445 parens in macro definitions.
446
447 * semantic/decorate/mode.el (semantic-decoration-mode): Do not
448 decorate available tags immediately but in an idle timer, since
449 EDE will usually not be activated yet, which will make it
450 impossible to find project includes.
451
452 * semantic/decorate/include.el
453 (semantic-decoration-on-includes-highlight-default):
454 Remove 'unloaded' from throttle when decorating includes, otherwise all
455 would be loaded. Rename 'table' to 'currenttable' to make things
456 clearer.
457
458 * ede/linux.el (cl): Require during compile.
459
460 2013-12-12 Lluís Vilanova <xscript@gmx.net>
461
462 * ede/linux.el (project-linux-build-directory-default)
463 (project-linux-architecture-default): Add customizable variables.
464 (ede-linux-project): Add additional slots to track Linux-specific
465 information (out-of-tree build directory and selected
466 architecture).
467 (ede-linux--get-build-directory, ede-linux--get-archs)
468 (ede-linux--detect-architecture, ede-linux--get-architecture)
469 (ede-linux--include-path): Add function to detect Linux-specific
470 information.
471 (ede-linux-load): Set new Linux-specific information when creating
472 a project.
473 (ede-expand-filename-impl): Use new and more accurate include
474 information.
475
476 2013-12-12 Eric Ludlam <zappo@gnu.org>
477
478 * semantic/scope.el (semantic-calculate-scope): Return a clone of
479 the scopecache, so that everyone is working with its own (shallow)
480 copy. Otherwise, if one caller is resetting the scope, it would
481 be reset for all others working with the scope cache as well.
482
483 2013-12-12 Alex Ott <alexott@gmail.com>
484
485 * ede/generic.el (project-run-target): Remove incorrect require.
486
487 * semantic/format.el (semantic-format-tag-prototype-default):
488 Use concat only for strings.
489
490 2013-11-30 Glenn Morris <rgm@gnu.org>
491
492 Stop keeping (most) generated cedet grammar files in the repository.
493 * semantic/bovine/grammar.el (bovine--make-parser-1):
494 New function, split from bovine-make-parsers.
495 (bovine-make-parsers): Use bovine--make-parser-1.
496 (bovine-batch-make-parser): New function.
497 * semantic/wisent/grammar.el (wisent--make-parser-1):
498 New function, split from wisent-make-parsers.
499 (wisent-make-parsers): Use wisent--make-parser-1.
500 (wisent-batch-make-parser): New function.
501 * semantic/db.el (semanticdb-save-all-db):
502 Avoid prompting in batch mode.
503 * semantic/grammar.el (semantic-grammar-footer-template):
504 Disable version-control and autoloads in the output.
505 (semantic-grammar-create-package):
506 Add option to return nil if output is up-to-date.
507 * semantic/bovine/c-by.el, semantic/bovine/make-by.el:
508 * semantic/bovine/scm-by.el, semantic/wisent/javat-wy.el:
509 * semantic/wisent/js-wy.el, semantic/wisent/python-wy.el:
510 * srecode/srt-wy.el: Remove generated files from repository.
511
512 2013-11-16 Barry O'Reilly <gundaetiapo@gmail.com>
513
514 * semantic/fw.el (semantic-exit-on-input)
515 (semantic-throw-on-input): Restore point before
516 accept-process-output because timers which redisplay can run.
517 (Bug#15045)
518
519 2013-11-03 Johan Bockgård <bojohan@gnu.org>
520
521 * semantic/lex.el (semantic-lex-start-block)
522 (semantic-lex-end-block): Move after definition of
523 semantic-lex-token macro.
524
525 2013-10-28 Barry O'Reilly <gundaetiapo@gmail.com>
526
527 * semantic/idle.el (semantic-idle-symbol-highlight)
528 (semantic-idle-symbol-highlight-face): Define face with defface
529 and obsolete the replaced one defined with defvar. (Bug#15745)
530 * pulse.el (pulse-momentary-highlight-overlay)
531 (pulse-momentary-highlight-region): Fix typo in doc
532
533 2013-10-30 Glenn Morris <rgm@gnu.org>
534
535 * semantic/grammar.el (semantic-grammar-mode-keywords-2)
536 (semantic-grammar-mode-keywords-3): Handle renamed font-lock vars.
537
538 2013-10-20 Johan Bockgård <bojohan@gnu.org>
539
540 * semantic/db-mode.el (global-semanticdb-minor-mode):
541 Remove hooks correctly.
542 (semanticdb-toggle-global-mode): Pass `toggle' to minor mode function.
543
544 2013-09-28 Leo Liu <sdl.web@gmail.com>
545
546 * semantic/texi.el (semantic-analyze-possible-completions):
547 Use ispell-lookup-words instead. (Bug#15460)
548
549 2013-09-20 Glenn Morris <rgm@gnu.org>
550
551 * semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
552 Move from here...
553 * semantic/fw.el: ...to here.
554
555 2013-09-18 Glenn Morris <rgm@gnu.org>
556
557 * semantic/find.el (semantic-brute-find-first-tag-by-name):
558 Replace obsolete function assoc-ignore-case with assoc-string.
559
560 * semantic/complete.el (tooltip-mode, tooltip-frame-parameters)
561 (tooltip-show): Declare.
562
563 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * semantic/symref/list.el (semantic-symref-results-mode):
566 Use define-derived-mode.
567 (semantic-symref-produce-list-on-results): Set up the results here
568 instead of in semantic-symref-results-mode. Move after
569 semantic-symref-current-results's defvar now that it refers to that var.
570 (semantic-symref-auto-expand-results)
571 (semantic-symref-results-summary-function)
572 (semantic-symref-results-mode-hook): Remove redundant :group arg.
573 (semantic-symref, semantic-symref-symbol, semantic-symref-regexp):
574 Initialize directly in the let.
575
576 2013-09-13 Glenn Morris <rgm@gnu.org>
577
578 * semantic/ia.el (semantic-ia-complete-symbol-menu):
579 Comment it out, since it cannot work. (Bug#14522)
580
581 2013-09-12 Glenn Morris <rgm@gnu.org>
582
583 * semantic/find.el (semantic-find-first-tag-by-name):
584 Replace obsolete function assoc-ignore-case with assoc-string.
585
586 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
589 (semantic-grammar-mode-syntax-table): Rename from
590 semantic-grammar-syntax-table.
591 (semantic-grammar-mode-map): Rename from semantic-grammar-map.
592 * data-debug.el (data-debug-mode-map): Rename from data-debug-map.
593 (data-debug-mode): Use define-derived-mode.
594
595 2013-09-05 Glenn Morris <rgm@gnu.org>
596
597 * semantic/fw.el (semantic-make-local-hook):
598 Simplify by dropping Emacs <= 20.
599
600 2013-07-29 David Engster <deng@randomsample.de>
601
602 * cedet.el (cedet-packages): Remove speedbar since its
603 development does no longer happens in CEDET upstream but in Emacs
604 proper. Also remove cedet-contrib and cogre since those are only
605 in upstream.
606
607 * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
608 has a parent, return a fully qualified name.
609
610 * semantic/decorate/mode.el
611 (semantic-decoration-on-includes-p-default)
612 (semantic-decoration-on-includes-highlight-default): Declare for
613 byte compiler.
614
615 * semantic/wisent/python.el (semantic/format): New require.
616
617 2013-07-27 Eric Ludlam <zappo@gnu.org>
618
619 * semantic/edit.el (semantic-edits-splice-remove):
620 Wrap debug message removing middle tag in semantic-edits-verbose-flag
621 check.
622
623 2013-07-27 David Engster <deng@randomsample.de>
624
625 * semantic/bovine/el.el (semantic/db-el): New require.
626
627 * semantic/db-el.el (semanticdb-normalize-one-tag): It might be
628 that a symbol comes from a file but cannot be found in its table.
629 This happens for instance when a symbol was dynamically created
630 through a macro like `defstruct'. In this case, return the
631 original tag.
632 (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
633 the argument list is not available until the file is loaded.
634
635 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header.
638
639 2013-06-19 Glenn Morris <rgm@gnu.org>
640
641 * semantic/idle.el (define-semantic-idle-service):
642 No need to use eval-and-compile, progn will do.
643
644 * semantic/decorate/mode.el (define-semantic-decoration-style):
645 Doc fix.
646 (define-semantic-decoration-style): 'function is not an accepted
647 value for autoload's "type" argument. Might as well use the default.
648
649 2013-06-18 Glenn Morris <rgm@gnu.org>
650
651 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
652 Remove unused free variable `symlist'.
653
654 2013-06-02 Eric Ludlam <zappo@gnu.org>
655
656 * semantic/edit.el (semantic-change-function):
657 Use `save-match-data' around running hooks.
658
659 * semantic/decorate/mode.el
660 (semantic-decorate-style-predicate-default)
661 (semantic-decorate-style-highlighter-default): New.
662 (semantic-decoration-mode): Do not require
663 `semantic/decorate/include' anymore.
664 (semantic-toggle-decoration-style): Error if an unknown decoration
665 style is toggled.
666 (define-semantic-decoration-style): Add new :load option.
667 When :load is specified, add autoload tokens for the definition
668 functions so that code is loaded when the mode is used.
669 (semantic-decoration-on-includes): New autoload definition for
670 highlighting includes.
671
672 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
673 characters to appear after the tested variable.
674
675 * semantic/ede-grammar.el (project-compile-target): Calculate full
676 src name via ede-expand-filename instead of the crutch of the
677 current buffer. Enables this target to compile in batch mode.
678
679 * semantic/idle.el
680 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of
681 remote symbol with `save-excursion'.
682 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of
683 using directory-files on each found mode pattern, collect all the
684 patterns for the current mode, and then for each file, see if it
685 matches any of them. If it does, parse the file. (Patch
686 inspiration from Tomasz Gajewski.)
687
688 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
689 (semantic-ctxt-current-symbol-default): New.
690
691 * semantic/bovine/el.el (semantic-default-elisp-setup):
692 Add autoload cookie. Explain existence.
693 (footer): Add local variable for loaddefs.
694
695 * semantic/db.el (semanticdb-file-table-object): Add new filter,
696 only checking for regular files too.
697
698 * semantic/wisent/python.el
699 (semantic-format-tag-abbreviate): New override. Cuts back on size
700 of code tags.
701
702 * srecode/compile.el (srecode-compile-templates): Fix warning
703 punctuation. Remove status messages to clean up testing output.
704
705 * ede/base.el (ede-project-placeholder-cache-file): Update doc to
706 mention 'nil' value.
707 (ede-save-cache): Disable cache save if file is nil.
708
709 * ede.el (ede-initialize-state-current-buffer): Flush deleted
710 projects.
711 (global-ede-mode): Always append our find-file-hook to the end.
712 (ede-flush-deleted-projects): New command.
713
714 * ede/cpp-root.el (ede-preprocessor-map): Protect against init
715 problems.
716
717 * ede/proj.el (ede-proj-target): Add a new "custom" option for
718 custom symbols representing a compiler or linker instead of
719 restricting things to only the predefined compilers and linkers.
720
721 2013-06-02 David Engster <dengste@eml.cc>
722
723 * semantic.el (semantic-mode-map): To avoid showing showing
724 Development menu twice, only disable menu item if menu-bar is
725 actually enabled, otherwise the popup 'global menu' might display
726 a disabled Development menu.
727
728 * srecode/srt-wy.el: Regenerate.
729
730 2013-06-02 Pete Beardmore <elbeardmorez@msn.com>
731
732 * semantic/complete.el
733 (semantic-displayor-show-request): Fix which slot in obj is set to
734 the max tags.
735
736 2013-06-01 Glenn Morris <rgm@gnu.org>
737
738 * semantic/grammar.el (semantic-grammar-complete):
739 Replace the obsolete function lisp-complete-symbol.
740
741 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.
742
743 * srecode/args.el, srecode/java.el: Require ede.
744
745 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.
746
747 2013-05-24 Glenn Morris <rgm@gnu.org>
748
749 * semantic/bovine/grammar.el (bovine-make-parsers):
750 Avoid free variable `copyright-end'.
751
752 * semantic/bovine/c-by.el (semantic-parse-region):
753 * semantic/wisent/javat-wy.el (semantic-parse-region):
754 * semantic/wisent/js-wy.el (semantic-parse-region):
755 * semantic/wisent/python-wy.el (semantic-parse-region): Declare.
756
757 2013-05-22 Glenn Morris <rgm@gnu.org>
758
759 * ede/speedbar.el (ede-file-find, ede-tag-find):
760 * semantic/sb.el (semantic-sb-token-jump):
761 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.
762
763 2013-05-15 Glenn Morris <rgm@gnu.org>
764
765 * semantic/symref/list.el (semantic-symref-auto-expand-results)
766 (semantic-symref-results-mode-hook)
767 (semantic-symref-results-summary-function): Fix :group.
768
769 2013-05-14 Glenn Morris <rgm@gnu.org>
770
771 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
772
773 2013-05-11 Glenn Morris <rgm@gnu.org>
774
775 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
776 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
777 * semantic/wisent/grammar.el, semantic/wisent/wisent.el:
778 * srecode/fields.el: Set generated-autoload-load-name (for cus-load).
779
780 * ede/locate.el (cedet-cscope-version-check)
781 (cedet-cscope-support-for-directory):
782 * semantic/grammar.el (semantic-grammar-wy--install-parser):
783 Fix declarations.
784
785 * ede/project-am.el (project-am-compile-project-command): Fix :type.
786
787 2013-05-09 Glenn Morris <rgm@gnu.org>
788
789 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
790 Fix value.
791
792 2013-04-27 David Engster <deng@randomsample.de>
793
794 * semantic/complete.el
795 (semantic-collector-calculate-completions-raw):
796 If `completionslist' is not set, refresh the cache if necessary and
797 use it for completions. This fixes the
798 `semantic-collector-buffer-deep' collector (bug#14265).
799
800 2013-03-26 Leo Liu <sdl.web@gmail.com>
801
802 * semantic/senator.el (senator-copy-tag-to-register):
803 Move register handling logic from register.el. (Bug#14052)
804
805 2013-03-21 Eric Ludlam <zappo@gnu.org>
806
807 * semantic.el (navigate-menu): Yank Tag :enable. Make sure
808 `senator-tag-ring' is bound.
809 (semantic-parse-region-default): Stop reversing the output of
810 parse-whole-stream.
811 (semantic-repeat-parse-whole-stream): Append returned tags
812 differently, so they come out in the right order.
813
814 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
815 (semantic-sb-fetch-tag-table): Filter tags being bucketed to
816 exclude tags belonging to above filtered classes.
817
818 * semantic/find.el (semantic-filter-tags-by-class): New function.
819
820 * semantic/tag-ls.el (semantic-tag-similar-p-default):
821 Add short-circuit in case tag1 and 2 are identical.
822
823 * semantic/analyze/fcn.el
824 (semantic-analyze-dereference-metatype-stack):
825 Use `semantic-tag-similar-p' instead of 'eq' when comparing two tags
826 during metatype evaluation in case they are the same, but not the
827 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change)
828
829 * semantic/db-find.el (semanticdb-partial-synchronize):
830 Fix require to semantic/db-typecache to be correct.
831 (semanticdb-find-tags-external-children-of-type): Make this a
832 brutish search by default.
833
834 * semantic/sort.el
835 (semantic-tag-external-member-children-default): When calling
836 `semanticdb-find-tags-external-children-of-type', pass in the
837 input tag as the place to start searching for externally defined
838 methods.
839
840 * semantic/db-file.el (semanticdb-default-save-directory):
841 Doc fix: Add ref to default value.
842
843 * semantic/complete.el (semantic-complete-post-command-hook):
844 When detecting if cursor is outside completion area, do so if cursor
845 moves before start of overlay, or the original starting location
846 of the overlay (i.e., if user deletes past beginning of the
847 overlay region).
848 (semantic-complete-inline-tag-engine): Initialize original start
849 of `semantic-complete-inline-overlay'.
850
851 * semantic/bovine/c.el (semantic-c-describe-environment):
852 Update some section titles. Test semanticdb table before printing it.
853 (semantic-c-reset-preprocessor-symbol-map): Update
854 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all
855 the files contributing to its value.
856 (semantic-c-describe-environment): If there is an EDE project but
857 no spp symbols from it, say so.
858
859 * srecode/args.el (srecode-semantic-handle-:project): New argument
860 handler. Provide variable values if not in an EDE project.
861
862 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
863 name.
864
865 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all
866 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.
867
868 * srecode/map.el (srecode-map-validate-file-for-mode):
869 Force semantic to load if it is not active in the template being added
870 to the map.
871
872 * srecode/srt.el: Add local variables for setting the autoload
873 file name.
874 (srecode-semantic-handle-:srt): New autoload cookie.
875
876 * ede.el (ede-apply-preprocessor-map): Apply map to
877 `semantic-lex-spp-project-macro-symbol-obarray' instead of the
878 system one. Add require for semantic.
879
880 * ede/proj-elisp.el (ede-update-version-in-source): In case a file
881 has both a version variable and a Version: comment, always use
882 `call-next-method'.
883
884 * ede/cpp-root.el (ede-set-project-variables): Delete.
885 `ede-preprocessor-map' does the job this function was attempting
886 to do with :spp-table.
887 (ede-preprocessor-map): Update file tests to provide better
888 messages. Do not try to get symbols from a file that is the file
889 in the current buffer.
890
891 * ede/base.el (ede-project-placeholder): Add more documentation to
892 :file slot.
893 (ede-load-cache): Use `insert-file-contents' instead of
894 `find-file-noselect' in order to avoid activating other tools.
895
896 2013-03-21 David Engster <deng@randomsample.de>
897
898 * semantic/bovine/c.el (semantic-get-local-variables): Also add a
899 new variable 'this' if we are in an inline member function.
900 For detecting this, we check overlays at point if there is a class
901 spanning the current function. Also, the variable 'this' has to
902 be a pointer.
903
904 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
905 when querying g++ for defines returns an error.
906
907 * srecode/srt-mode.el:
908 * srecode/compile.el:
909 * semantic/db-el.el:
910 * semantic/complete.el:
911 * ede.el:
912 * srecode/table.el:
913 * srecode/mode.el:
914 * srecode/insert.el:
915 * srecode/compile.el:
916 * semantic/decorate/include.el:
917 * semantic/db.el:
918 * ede/auto.el:
919 * srecode/dictionary.el:
920 * semantic/ede-grammar.el:
921 * semantic/db.el:
922 * semantic/db-find.el:
923 * semantic/db-file.el:
924 * semantic/complete.el:
925 * semantic/bovine/c.el:
926 * semantic/analyze.el:
927 * ede/util.el:
928 * ede/proj.el:
929 * ede/proj-elisp.el:
930 * ede/pconf.el:
931 * ede/locate.el:
932 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
933 to `eieio-object-name', `object-set-name-string' to
934 `eieio-object-set-name-string', `object-class' to
935 `eieio-object-class', `class-parent' to `eieio-class-parent',
936 `class-parents' to `eieio-class-parents', `class-children' to
937 `eieio-class-children', `object-name-string' to
938 `eieio-object-name-string', `object-class-fast' to
939 `eieio--object-class'. Also replace direct access with new
940 accessor functions.
941
942 2013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change)
943
944 * ede/cpp-root.el (ede-project-autoload, initialize-instance):
945 Fix EDE file symbol to match rename. Fix ede-cpp-root symbol to
946 include -project in name.
947
948 2013-03-21 Alex Ott <alexott@gmail.com>
949
950 * cedet-files.el (cedet-files-list-recursively): New.
951 Recursively find files whose names are matching to given regex.
952
953 * ede.el (ede-current-project): Rewrite to avoid imperative style.
954
955 * ede/files.el (ede-find-file): Simplify code.
956
957 * ede/base.el (ede-normalize-file/directory): Add function to
958 normalize :file or :directory slots if they are missing.
959
960 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command
961 slot.
962 (project-compile-project): Compiles project using value specified
963 in :compule-command slot or in compile-command local variable.
964 Value of slot or local variable could be string or function that
965 receives project and should return string that will be invoked as
966 command.
967 (project-compile-target): Invokes compilation of whole project.
968
969 * ede/files.el (ede-find-project-root): New function to
970 find root of project that contains specific file.
971 (ede-files-find-existing): New function which checks presence of
972 given directory in the list of registered projects.
973
974 2013-03-04 Paul Eggert <eggert@cs.ucla.edu>
975
976 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.
977
978 * semantic/wisent/javat-wy.el: Regenerate.
979
980 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
983 Simplify via CSE.
984
985 2012-11-16 David Engster <deng@randomsample.de>
986
987 * semantic/symref/list.el (semantic-symref-symbol):
988 Use `semantic-complete-read-tag-project' instead of
989 `semantic-complete-read-tag-buffer-deep', since the latter is not
990 working correctly.
991
992 * semantic/symref.el (semantic-symref-result-get-tags):
993 Use `find-buffer-visiting' to follow symbolic links.
994
995 * semantic/fw.el (semantic-find-file-noselect): Always set
996 `enable-local-variables' to `:safe' when loading files.
997
998 2012-11-16 Glenn Morris <rgm@gnu.org>
999
1000 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
1001 * semantic/util.el (semantic-describe-buffer):
1002 * semantic/bovine/c.el (semantic-c-parse-lexical-token)
1003 (semantic-default-c-setup):
1004 Use new names for hooks rather than obsolete aliases.
1005
1006 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1009 * semantic/grammar.el (semantic-grammar-mode):
1010 * semantic/util-modes.el (semantic-highlight-edits-mode)
1011 (semantic-show-parser-state-mode): Avoid obsolete name
1012 semantic-edits-new-change-hooks (bug#12869).
1013
1014 2012-11-13 Glenn Morris <rgm@gnu.org>
1015
1016 * srecode/srt-mode.el (srecode-template-mode):
1017 Don't change global values of comment-start, comment-end. (Bug#12781)
1018
1019 2012-10-25 David Engster <deng@randomsample.de>
1020
1021 * semantic/analyze.el (semantic-analyze-dereference-alias):
1022 New function to dereference aliases.
1023 (semantic-analyze-current-context-default): Use it.
1024
1025 * semantic/grammar.el (semantic-grammar-create-package):
1026 * srecode/compile.el (srecode-compile-templates): Throw a proper
1027 error if semantic-mode is not enabled (bug#9968).
1028
1029 Compiler warning fixes:
1030
1031 * semantic.el (semantic-elapsed-time): Make it a defsubst.
1032
1033 * srecode/dictionary.el (srecode-adebug-dictionary):
1034 Remove require for `semantic'.
1035
1036 * srecode/map.el:
1037 * srecode/insert.el: Declare functions from `data-debug'.
1038
1039 * semantic/grammar.el: Require `help-fns'. Declare functions from
1040 `eldoc', which is required in function body.
1041
1042 * srecode/java.el:
1043 * semantic/texi.el:
1044 * semantic/grammar-wy.el:
1045 * semantic/db-file.el:
1046 * semantic/db-el.el:
1047 * semantic/chart.el: Fix requires.
1048
1049 * ede/locate.el: Remove useless requires. Declare functions
1050 instead and require in functions when needed.
1051
1052 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * semantic/db-file.el (semanticdb-save-database-functions):
1055 * semantic/lex.el (semantic-lex-reset-functions):
1056 * semantic/edit.el (semantic-change-functions)
1057 (semantic-edits-new-change-functions)
1058 (semantic-edits-delete-change-functions)
1059 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.
1060
1061 2012-10-14 David Engster <deng@randomsample.de>
1062
1063 * semantic.el (semantic-error-if-unparsed): New function.
1064 Raise error if buffer was not parsed by Semantic (bug #12045).
1065 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
1066 only if buffer was parsed. Also, replace ':active' with ':enable'
1067 where necessary.
1068
1069 * semantic/wisent/python.el
1070 (semantic-python-get-system-include-path):
1071 Use `python-shell-internal-send-string' if available to query Python
1072 for system paths.
1073
1074 * semantic/senator.el (senator-next-tag, senator-previous-tag)
1075 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'.
1076
1077 * semantic/complete.el (semantic-complete-jump-local)
1078 (semantic-complete-jump, semantic-complete-jump-local-members)
1079 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
1080 (semantic-complete-inline-project): Fix autoload cookie.
1081
1082 * semantic/analyze/complete.el
1083 (semantic-analyze-possible-completions): Check if buffer was
1084 parsed. Only raise an error if function was called interactively,
1085 otherwise silently return nil.
1086
1087 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.
1088
1089 2012-10-08 David Engster <deng@randomsample.de>
1090
1091 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
1092 `emacs-lisp-mode-hook'. This was accidentally removed during the
1093 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).
1094
1095 2012-10-07 David Engster <deng@randomsample.de>
1096
1097 * semantic/wisent/python.el (semantic-ctxt-current-function)
1098 (semantic-ctxt-current-assignment): New overrides, simply
1099 returning nil. The defaults do not work correctly and can send
1100 the parser in an infinite loop (bug#12458).
1101
1102 * semantic/ede-grammar.el (project-compile-target): Fix grammar
1103 compilation after introduction of %provide statement.
1104
1105 * semantic.el (semantic-new-buffer-setup-functions): Remove setup
1106 function for `f90-mode', since the parser only exists upstream.
1107
1108 2012-10-06 Glenn Morris <rgm@gnu.org>
1109
1110 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
1111
1112 * semantic/complete.el (semantic-displayor-tooltip-mode)
1113 (semantic-displayor-tooltip-initial-max-tags)
1114 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
1115 * ede/linux.el (project-linux): Add missing group :version tag.
1116
1117 2012-10-06 Chong Yidong <cyd@gnu.org>
1118
1119 * semantic/bovine/grammar.el:
1120 * semantic/wisent/grammar.el: Move from admin/grammars.
1121 Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
1122
1123 2012-10-02 Chong Yidong <cyd@gnu.org>
1124
1125 * srecode.el, ede.el: Restore Version header.
1126
1127 2012-10-01 Chong Yidong <cyd@gnu.org>
1128
1129 * semantic/bovine/c-by.el: Regenerate.
1130 * semantic/bovine/make-by.el:
1131 * semantic/bovine/scm-by.el:
1132 * semantic/grammar-wy.el:
1133 * semantic/wisent/javat-wy.el:
1134 * semantic/wisent/js-wy.el:
1135 * srecode/srt-wy.el:
1136
1137 2012-10-01 Eric Ludlam <zappo@gnu.org>
1138
1139 * cedet.el (cedet-version, cedet-packages): Update.
1140
1141 * cedet-global.el (cedet-gnu-global-version-check): Support newer
1142 versions that have extra (parens) in the version string.
1143
1144 * cedet-idutils.el (cedet-idutils-version-check): Make sure a
1145 version number was found before calling inversion-check-version.
1146
1147 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
1148 while inserting the thing, then clear modified bit.
1149 (data-debug-map): Suppress the keymap.
1150 (data-debug-mode, data-debug-new-buffer): Make buffer read-only.
1151 (data-debug-contract-current-line): Inhibit read-only, then clear
1152 modified bit.
1153
1154 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
1155 to allow use in more kinds of buffers.
1156 (ede-project-forms-menu): Add `Default configuration' menu item.
1157 (ede-configuration-forms-menu): New, for use in above.
1158 (ede-project-configurations-set): New command used from menu.
1159 (ede-java-classpath): New conveninece for Java support.
1160 (ede-apply-object-keymap): Combine keybindings from the project
1161 and the target, not just whatever is local to the buffer.
1162 (ede-apply-target-options): Call fcn to apply project local
1163 variables.
1164 (ede-reset-all-buffers): Remove arg.
1165 (ede, ede-rescan-toplevel): Callers changed.
1166 (ede-new-target): Fix bug where you couldn't call this from Dired.
1167 (ede-add-file): Replace assignment of ede-object with generic call
1168 to re-init the buffer.
1169 (ede-find-target): If ede-object is set, run short-cut code
1170 instead of `or' shortcut.
1171 (ede-project-buffers): Return buffers belonging to input project,
1172 not any buffer belonging to any project.
1173 (ede-system-include-path, ede-apply-project-local-variables)
1174 (ede-set-project-local-variable): New functions.
1175 (ede-make-project-local-variable): Apply to toplevel if none
1176 specified.
1177 (ede-set): Make it interactive.
1178
1179 * ede/auto.el (ede-project-autoload): New class.
1180 (ede-do-dirmatch): New method.
1181 (ede-project-dirmatch-p): New function.
1182 (ede-project-root-directory): Call it.
1183 (ede-dir-to-projectfile): Don't call project file function if we
1184 didn't match the root.
1185 (ede-project-root-directory): Don't call a project's root function
1186 if the tool in question isn't installed.
1187 (ede-dir-to-projectfile): Don't call project file function if we
1188 didn't match the root.
1189
1190 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
1191 trailing `\' mid string, and replace with a space.
1192 (autoconf-parameter-count): New function.
1193 (autoconf-set-version): Use it.
1194
1195 * ede/base.el (ede-project): The :type of targets is now a list of
1196 target base classes.
1197
1198 * ede/emacs.el (ede-emacs-load): Fix typo.
1199
1200 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
1201 Protect against missing locator object.
1202 (ede-get-locator-object): Protect against missing project.
1203 (ede-flush-directory-hash): New command.
1204 (ede-get-locator-object): Protect against missing project.
1205
1206 * ede/generic.el (ede-generic-config): Add configurable
1207 `run-command' slot.
1208 (project-compile-project, project-compile-target)
1209 (project-debug-target, project-run-target): New methods.
1210 (ede-generic-get-configuration): Specify the class to load.
1211 (ede-generic-new-autoloader): Use ede-add-project-autoload.
1212 (ede-enable-generic-projects): Rename projects so as to never
1213 match the edeproject-* projects.
1214
1215 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
1216 searches. Protect against "SUBDIRS=$(subdirs)" infloop.
1217
1218 * ede/proj-elisp.el (ede-proj-tweak-autoconf)
1219 (ede-proj-flush-autoconf): Disable local variables when loading
1220 the autoconf lisp compile script.
1221
1222 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
1223 (-scheme, -makefile-misc, ede-proj-target-makefile-program)
1224 (-makefile-archive, -makefile-shared-object)
1225 (ede-proj-target-makefile-info, -grammar): New autoloads.
1226 (ede-proj-project): Inherit from eieio-persistent-read.
1227 Specify extension and header line.
1228 (ede-proj-load, ede-proj-save): Replace with impl using
1229 eieio-persistent-read.
1230
1231 * ede/project-am.el (project-add-file): Use ede-target-parent
1232 instead of loading the project file.
1233
1234 * semantic.el (semantic-version): Update.
1235 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
1236 (navigate-menu): Add menu item for Stickyfunc mode.
1237
1238 * semantic/analyze/debug.el
1239 (semantic-analyzer-debug-insert-include-summary):
1240 Before dereferencing tableinner, make sure it has a value.
1241
1242 * semantic/analyze/refs.el
1243 (semantic-analyze-tag-references-default): When doing a lookup,
1244 specify noerror.
1245 (semantic--analyze-refs-full-lookup): Add optional noerror input
1246 argument. Pass to to full-lookup-simple.
1247 (semantic-analyze-refs-impl, semantic-analyze-refs-proto):
1248 Ignore :typemodifiers during compare.
1249
1250 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
1251 to looking back for comment chars.
1252 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
1253 (semantic--tag-attribute-similar-p): New.
1254 (semantic-c-describe-environment): Handle list value of ede-object.
1255 (semantic-lex-c-preprocessor-symbol-map-builtin):
1256 Add __attribute_pure__.
1257
1258 * semantic/bovine/scm.el (semantic-format-tag-prototype):
1259 Add parent and color argument. Pass them through.
1260
1261 * semantic/complete.el (semantic-collector-calculate-completions):
1262 Search for more matches if new prefix is a substring of old one.
1263 (semantic-complete-inline-project): New function.
1264
1265 * semantic/db-el.el (object-print): New method.
1266
1267 * semantic/db-file.el (semanticdb-load-database): Specify class.
1268
1269 * semantic/db-typecache.el
1270 (semanticdb-abstract-table::semanticdb-typecache-find-method):
1271 Allow proxied tags to be resolved during the search.
1272 (semanticdb-typecache-complete-flush): Support missing or empty
1273 pointmax slot, to allow for more database types.
1274
1275 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
1276 (object-print): Allow child classes to overwrite the display of
1277 the (%d tags) extra string.
1278 (semanticdb-project-database): Specify :type for table.
1279 (semanticdb-create-table-for-file): Specify file-truename.
1280 (semanticdb-synchronize, semanticdb-partial-synchronize):
1281 Restore code that refreshes references to include files.
1282
1283 * semantic/decorate/include.el
1284 (semantic-decoration-on-fileless-includes): New face.
1285 (semantic-decoration-on-fileless-include-map)
1286 (semantic-decoration-on-fileless-include-menu): New variables.
1287 (semantic-decoration-on-includes-highlight-default):
1288 Support includes that have a table, but are not associated with a file.
1289 (semantic-decoration-fileless-include-describe)
1290 (semantic-decoration-fileless-include-menu): New functions.
1291 (semantic-decoration-all-include-summary): Add arrows to indicate
1292 the file associated with an include name.
1293
1294 * semantic/find.el
1295 (semantic-find-tags-by-scope-protection-default): Also filter on
1296 package protection of the slot.
1297
1298 * semantic/java.el (semantic-java-expand-tag): If some type has a
1299 fully qualified name, bust it up into one package and the type
1300 with a short name.
1301
1302 * semantic/lex.el (define-lex-block-analyzer): Protect against
1303 random extra close parenthesis.
1304
1305 * semantic/symref.el (semantic-symref-result-get-tags): Make sure
1306 the cursor is on the matched name.
1307
1308 * semantic/symref/list.el (semantic-symref-results-mode-map):
1309 Suppress keymap.
1310
1311 * semantic/tag-ls.el (semantic--tag-similar-names-p)
1312 (semantic--tag-attribute-similar-p)
1313 (semantic--tag-similar-types-p): New functions.
1314 (semantic-tag-similar-ignorable-attributes): New variable.
1315 (semantic-tag-protection-default): Add package concept to return
1316 value.
1317 (semantic-tag-package-protected-p): New function.
1318 (semantic-tag-full-package): New overload method.
1319 (semantic-tag-full-package-default): New default for above.
1320 (semantic-tag-full-name-default): Look for the full package name.
1321
1322 * semantic/tag.el (semantic-create-tag-proxy)
1323 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.
1324
1325 * semantic/util.el (semantic-describe-buffer):
1326 Add semantic-new-buffer-fcn-was-run.
1327
1328 * semantic/wisent/java-tags.el (semantic-get-local-variables):
1329 Add `this' to the local variable context.
1330 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New.
1331
1332 * semantic/wisent/python.el (semantic-python-expand-tag):
1333 New function.
1334
1335 * srecode/compile.el (srecode-compile-templates): Add "framework"
1336 special variable support.
1337 (srecode-compile-template-table): Support framework specifier.
1338
1339 * srecode/cpp.el (srecode-semantic-handle-:c)
1340 (srecode-semantic-handle-:cpp): New functions.
1341 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
1342 to c-mode function.
1343 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
1344
1345 * srecode/dictionary.el (initialize-instance): Remove bogus error
1346 condition.
1347 (srecode-create-section-dictionary): Remove unused function.
1348
1349 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as
1350 package variable. Add current_package variable.
1351
1352 * srecode/map.el (srecode-map-update-map): Specify the class.
1353
1354 * srecode/mode.el (srecode-minor-mode): Support the m3 menu.
1355
1356 * srecode/semantic.el (srecode-semantic-insert-tag):
1357 Support system includes.
1358
1359 * srecode/srt-mode.el (srecode-font-lock-keywords): Update.
1360
1361 * srecode/table.el (srecode-template-table): Add :framework slot.
1362 (srecode-dump): Dump it.
1363 (srecode-mode-table): Add new modetables slot.
1364 (srecode-get-mode-table): Find the mode, but also find all parent
1365 modes, and merge the tables together in :tables from :modetables.
1366 (srecode-make-mode-table): Init :modetables.
1367 (srecode-mode-table-find): Search in modetables.
1368 (srecode-mode-table-new): Merge the differet files into the
1369 modetables slot.
1370
1371 2012-10-01 David Engster <deng@randomsample.de>
1372
1373 * ede.el (ede-apply-preprocessor-map): Check that
1374 `semantic-lex-spp-macro-symbol-obarray' is non-nil.
1375 (global-ede-mode): Fix call to `ede-reset-all-buffers'.
1376
1377 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
1378 lexical-table even when the table doesn't need to be refreshed.
1379
1380 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.
1381
1382 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
1383 save-excursion.
1384
1385 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
1386 of phony rule.
1387
1388 * ede/proj-elisp.el (ede-proj-target-elisp):
1389 Remove ede-emacs-preload-compiler.
1390 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
1391 New methods.
1392 (ede-emacs-compiler): Add 'require' macro to variables and pattern
1393 rule. Add .elc object extension.
1394 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
1395 (ede-proj-makefile-insert-variables): Do not insert preload items.
1396 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.
1397
1398 * ede/util.el (ede-make-buffer-writable):
1399 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only
1400 instead of calling toggle-read-only.
1401
1402 * semantic.el (semantic-fetch-tags): Use progress reporter only
1403 when called interactively.
1404 (semantic-submode-list): Add debugging modes.
1405 (semantic-mode): Remove Semantic from after-change-functions.
1406 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
1407 set semantic-new-buffer-fcn-was-run to nil.
1408
1409 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
1410 (semantic-analyze-tag-prototype-p-default): Remove.
1411 (semantic-analyze-type, semantic-analyze-dereference-metatype-1):
1412 Use semantic-tag-prototype-p.
1413
1414 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
1415 Ensure semantic-mode is on before getting preprocessor symbols.
1416 (semantic-c-skip-conditional-section): Use c-scan-conditionals.
1417 (semantic-c-convert-spp-value-to-hideif-value)
1418 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
1419 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
1420 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
1421 regular expression parsing.
1422 (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
1423 (semantic-expand-c-tag): Check if tag is non-nil before adding it
1424 to return list.
1425 (semantic-expand-c-extern-C, semantic-expand-c-complex-type):
1426 New functions, copied from semantic-expand-c-tag.
1427 (semantic-find-tags-included): New override which also searches
1428 for include tags inside of namespaces.
1429 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
1430 (semanticdb-find-table-for-include): New override.
1431
1432 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook.
1433
1434 * semantic/complete.el (semantic-complete-post-command-hook):
1435 Exit completion when user has deleted all characters from the prefix.
1436 (semantic-displayor-focus-request): Return to previous window when
1437 focussing tags.
1438
1439 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
1440 (semanticdb-elisp-sym->tag): Use help-function-arglist instead.
1441
1442 * semantic/db-file.el (semanticdb-create-database):
1443 Use semantic-tag-version instead of just semantic-version as the
1444 initializer for the :semantic-tag-version slot.
1445
1446 * semantic/db-find.el (semanticdb-find-tags-by-class-method):
1447 Delegate `include' to semantic-find-tags-included, which by
1448 default will just call semantic-find-tags-by-class.
1449
1450 * semantic/db.el (semanticdb-refresh-table): Do not print warnings
1451 when calling semantic-find-file-noselect. This avoids the "file
1452 is write protected" messages when parsing system header files,
1453 which might easily be mistaken to mean the currently loaded file.
1454 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit
1455 message when running interactively.
1456
1457 * semantic/decorate/mode.el (semantic-decoration-mode):
1458 Activate decoration of includes by default.
1459
1460 * semantic/doc.el (semantic-doc-snarf-comment-for-tag):
1461 Remove comment delimiter at the end of the text.
1462
1463 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
1464 Change aux- and pre-load-packages.
1465 (ede-proj-makefile-dependencies): Update pattern rule so that
1466 resulting parsers are also byte-compiled.
1467 (semantic-ede-grammar-compiler-bovine)
1468 (semantic-ede-source-grammar-wisent): Remove .elc from gargage
1469 pattern, since this is already covered by the elisp compiler.
1470 (project-compile-target): Add compatibility code for Emacs 23,
1471 which does not have `byte-recompile-file'.
1472 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
1473 to raise max-specpdl-size and max-lisp-eval-depth.
1474
1475 * semantic/find.el (semantic-find-tags-included):
1476 Make overridable.
1477
1478 * semantic/fw.el (semantic-alias-obsolete)
1479 (semantic-varalias-obsolete): Use byte-compile-warn.
1480 (semantic-find-file-noselect): Disable font lock by calling
1481 global-font-lock-mode.
1482
1483 * semantic/grammar.el (semantic-grammar-create-package):
1484 Fix message.
1485 (semantic-grammar-batch-build-one-package): When generating
1486 parsers in batch-mode, ignore version control and make sure we do
1487 not use cached versions.
1488
1489 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.
1490
1491 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
1492 (semantic-lex-spp-token-macro-to-macro-stream): Use it.
1493 (semantic-lex-spp-lex-text-string): Instead of only setting the
1494 lexer, call the major mode's setup function.
1495
1496 * semantic/scope.el (semantic-analyze-scoped-types-default):
1497 Use semantic-tag-prototype-p.
1498 (semantic-analyze-scope-nested-tags-default): Make sure we don't
1499 return tags we already have in scopetypes.
1500
1501 * semantic/symref/filter.el
1502 (semantic-symref-test-count-hits-in-tag): Restore.
1503
1504 * semantic/wisent/comp.el (wisent-BITS-PER-WORD):
1505 Use most-positive-fixnum if available.
1506
1507 * semantic/wisent/javascript.el (semantic-tag-protection)
1508 (semantic-analyze-scope-calculate-access)
1509 (semantic-ctxt-current-symbol): New overrides.
1510
1511 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
1512 Rewrite to fix byte-compiler warning.
1513
1514 2012-10-01 Robert Jarzmik <robert.jarzmik@free.fr>
1515
1516 * ede/linux.el (project-linux): New group.
1517 (project-linux-compile-target-command)
1518 (project-linux-compile-project-command): New options.
1519 (project-compile-project, project-compiler-target): New methods.
1520
1521 * inversion.el (inversion-decoders): New regexps for SXEmacs.
1522 (inversion-package-version): More verbose error message.
1523 (inversion-<): Deal with new special cases.
1524 (inversion-require-emacs): New argument sxemacs-ver; use it.
1525
1526 2012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org>
1527
1528 * ede/emacs.el (ede-emacs-version): Detect SXEmacs.
1529
1530 2012-10-01 William Xu <william.xwl@gmail.com>
1531
1532 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
1533 there is an error.
1534 (semantic-gcc-setup): If the first attempt at calling cpp fails,
1535 try straight GCC.
1536
1537 2012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de>
1538
1539 * semantic/idle.el
1540 (semantic-idle-breadcrumbs--display-in-header-line):
1541 Escape %-characters to avoid erroneous expansion in header line.
1542 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise.
1543
1544 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
1545 (wisent-python-reconstitute-class-tag, semantic-python-special-p)
1546 (semantic-python-private-p, semantic-python-instance-variable-p)
1547 (semantic-python-docstring-p): New functions.
1548
1549 * srecode/find.el (srecode-user-template-p): New function.
1550 (srecode-all-template-hash): Accept new optional argument
1551 predicate; return only templates matching the predicate.
1552 (srecode-read-template-name): Only retrieve templates matching
1553 srecode-user-template-p.
1554
1555 * srecode/insert.el (srecode-insert-show-error-report)
1556 (srecode-insert-report-error): New functions.
1557 (srecode-insert-variable-secondname-handler)
1558 (srecode-insert-method, srecode-insert-ask-default)
1559 (srecode-insert-variable-secondname-handler)
1560 (srecode-insert-subtemplate, srecode-insert-method-helper)
1561 (srecode-insert-include-lookup): Use them.
1562
1563 2012-10-01 Thomas Bach <thbach@students.uni-mainz.de>
1564
1565 * semantic/wisent/python.el
1566 (semantic-python-get-system-include-path): Add Python3k support.
1567
1568 2012-10-01 Alexander Haeckel <_@_> (tiny change)
1569
1570 * srecode/getset.el (srecode-query-for-field): Return the first
1571 tag found by name from all children tags.
1572
1573 2012-10-01 Dale Sedivec <dale@codefu.org>
1574
1575 * semantic/wisent/python.el (wisent-python-string-start-re)
1576 (wisent-python-string-re, wisent-python-forward-string)
1577 (wisent-python-forward-line, wisent-python-lex-string):
1578 New variables.
1579 (wisent-python-forward-balanced-expression): New function.
1580
1581 2012-10-01 Pete Beardmore <elbeardmorez@msn.com>
1582
1583 * semantic/complete.el (semantic-collector-calculate-completions):
1584 Search for additional matches if new prefix is a substring of the
1585 old prefix.
1586 (semantic-displayor-next-action): Immediately show more
1587 completions after user presses TAB the first time.
1588 (semantic-displayor-tooltip-mode)
1589 (semantic-displayor-tooltip-initial-max-tags)
1590 (semantic-displayor-tooltip-max-tags): New defcustoms.
1591 (semantic-displayor-tooltip): Use new variables as initforms.
1592 Use new slot `mode' instead of `force-show'. Rename `max-tags' to
1593 `max-tags-initial'.
1594 (semantic-displayor-show-request): Display completions according
1595 to new modes, and make variable names clearer.
1596 (semantic-displayor-tooltip::semantic-displayor-scroll-request):
1597 Use new max-tags-initial slot.
1598
1599 * semantic/idle.el (semantic-idle-local-symbol-highlight):
1600 Make sure there actually is a tag at point.
1601 (semantic-idle-completion-list-default): Report errors as messages
1602 if semantic-idle-scheduler-verbose-flag is non-nil.
1603
1604 2012-10-01 Richard Kim <emacs18@gmail.com>
1605
1606 * semantic/db-global.el (semanticdb-enable-gnu-global-databases):
1607 Add optional NOERROR argument.
1608
1609 2012-10-01 Alex Ott <alexott@gmail.com>
1610
1611 * semantic/idle.el (semantic-idle-scheduler-enabled-p):
1612 Fix file-checking.
1613
1614 2012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1615
1616 * semantic/db-find.el (semanticdb-find-default-throttle):
1617 Make buffer-local.
1618 (semanticdb-strip-find-results): Check for existing :filename
1619 attribute, so that file information from GNU Global is not lost.
1620
1621 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1622
1623 * ede/base.el (ede-with-projectfile): Use backquote forms.
1624
1625 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1626
1627 inaccessable -> inaccessible spelling fix (Bug#10052)
1628 * semantic/wisent/comp.el (wisent-inaccessible-symbols):
1629 Rename from wisent-inaccessable-symbols, fixing a misspelling.
1630 Caller changed.
1631
1632 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
1633
1634 * ede/project-am.el: Fix typo.
1635
1636 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1637
1638 Rename configure.in to configure.ac (Bug#11603).
1639 * ede/autoconf-edit.el (autoconf-find-query-for-program)
1640 (autoconf-new-program):
1641 * ede/emacs.el (ede-emacs-version):
1642 * ede/proj.el (ede-proj-setup-buildenvironment):
1643 * ede/project-am.el (project-am-autoconf-file-options):
1644 Prefer configure.ac to configure.in.
1645
1646 2012-03-12 David Engster <deng@randomsample.de>
1647
1648 * semantic/db-find.el
1649 (semanticdb-find-translate-path-brutish-default): If we don't yet
1650 have a proper table for PATH, use `semanticdb-current-database'
1651 instead (bug #10343).
1652
1653 2012-03-11 David Engster <deng@randomsample.de>
1654
1655 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as
1656 child-mode of `javascript-mode' (bug #8445).
1657
1658 2012-02-28 Glenn Morris <rgm@gnu.org>
1659
1660 * semantic/db.el (semanticdb-search-results-table):
1661 Doc fix (standardize possessive apostrophe usage).
1662
1663 2012-02-09 Juanma Barranquero <lekktu@gmail.com>
1664
1665 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
1666 Add declarations.
1667
1668 2012-01-29 David Engster <deng@randomsample.de>
1669
1670 Fix require error when using srecode-insert (Bug#9967).
1671 * srecode/insert.el: Require srecode/filters.
1672 * srecode/filters.el: Drop two requires.
1673
1674 2012-01-09 Eric Ludlam <zappo@gnu.org>
1675
1676 * ede.el (ede-project-directories): New option.
1677 (ede-directory-safe-p): Check it.
1678 (ede-initialize-state-current-buffer, ede, ede-new)
1679 (ede-check-project-directory, ede-rescan-toplevel)
1680 (ede-load-project-file, ede-parent-project, ede-current-project)
1681 (ede-target-parent): Avoid loading in a project unless it is safe,
1682 since it may involve malicious code. This security flaw was
1683 pointed out by Hiroshi Oota.
1684
1685 * ede/auto.el (ede-project-autoload): Add safe-p slot.
1686 (ede-project-class-files): Projects using Project.ede are unsafe.
1687 (ede-auto-load-project): New method.
1688
1689 * ede/simple.el (ede-project-class-files): Mark as unsafe.
1690
1691 2011-12-19 Sam Steingold <sds@gnu.org>
1692
1693 * semantic/edit.el (semantic-edits-incremental-parser): Add the
1694 autoload cookie, necessary for JDEE.
1695
1696 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1697
1698 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.
1699
1700 2011-11-26 Chong Yidong <cyd@gnu.org>
1701
1702 * semantic/wisent/python-wy.el:
1703 * semantic/wisent/js-wy.el:
1704 * semantic/wisent/javat-wy.el:
1705 * semantic/bovine/c-by.el:
1706 * semantic/grammar-wy.el: Regenerate.
1707
1708 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1709
1710 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.
1711
1712 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * cedet-cscope.el (cedet-cscope-version-check):
1715 * cedet-global.el (cedet-global-min-version)
1716 (cedet-gnu-global-version-check):
1717 * cedet.el (cedet-version):
1718 * data-debug.el (data-debug-prev, data-debug-contract-current-line):
1719 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
1720 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
1721 (ede-add-project-to-global-list, ede-map-all-subprojects):
1722 * inversion.el (inversion-check-version):
1723 * mode-local.el (mode-local-map-file-buffers, define-child-mode)
1724 (define-overloadable-function):
1725 * pulse.el (pulse-flag, pulse):
1726 * semantic.el (semantic-elapsed-time, semantic-parse-region)
1727 (navigate-menu):
1728 * ede/proj-comp.el (ede-compilation-program):
1729 * semantic/debug.el (semantic-debug-parser-go)
1730 (semantic-debug-parser-fail, semantic-debug-parser-quit)
1731 (semantic-debug-parser-abort):
1732 * semantic/idle.el (semantic-idle-core-handler):
1733 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
1734 Fix typos.
1735
1736 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1737
1738 * semantic/lex.el (semantic-lex-tokens):
1739 * semantic/tag-ls.el (semantic-tag-protected-p):
1740 * srecode/mode.el (srecode-prefix-map): Fix typos.
1741
1742 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * ede/project-am.el (project-compile-target-command): Fix typo.
1745
1746 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * ede/auto.el (ede-project-autoload):
1749 * ede/proj-comp.el (ede-makefile-rule):
1750 * semantic/analyze.el (semantic-analyze-current-context):
1751 * semantic/ctxt.el (semantic-get-local-variables):
1752 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.
1753
1754 2011-11-03 David Engster <dengste@eml.cc>
1755
1756 * srecode.el:
1757 * srecode/texi.el:
1758 * srecode/template.el:
1759 * srecode/java.el:
1760 * srecode/insert.el:
1761 * srecode/document.el:
1762 * srecode/dictionary.el:
1763 * srecode/compile.el:
1764 * semantic/wisent/java-tags.el:
1765 * semantic/texi.el:
1766 * semantic/sort.el:
1767 * semantic/lex-spp.el:
1768 * semantic/idle.el:
1769 * semantic/html.el:
1770 * semantic/db-typecache.el:
1771 * semantic/analyze/complete.el:
1772 * ede/generic.el:
1773 * ede/custom.el:
1774 * ede/cpp-root.el:
1775 * ede/base.el: Fix filenames in comments and headers.
1776
1777 * semantic/db-find.el:
1778 * srecode/insert.el (srecode-insert-include-lookup):
1779 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
1780 comments and docstrings.
1781
1782 * semantic/ctxt.el (semantic-end-of-context-default):
1783 * semantic/find.el (semantic-find-tags-by-scope-protection):
1784 * semantic/java.el (semantic-documentation-for-tag): Fix typos in
1785 docstrings.
1786
1787 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
1788 (semanticdb-abstract-db-cache):
1789 * semantic/decorate/include.el
1790 (semantic-decoration-unknown-include-describe): Fix filenames in
1791 docstring.
1792
1793 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent)
1794 (semantic-ede-grammar-compiler-bovine): Fix requires that are
1795 added to the grammar-make-script.
1796
1797 2011-10-23 Chong Yidong <cyd@gnu.org>
1798
1799 * ede.el (ede-maybe-checkout): Function deleted;
1800 vc-toggle-read-only does not do version control now.
1801
1802 * ede/util.el (ede-make-buffer-writable): Don't use
1803 vc-toggle-read-only.
1804
1805 * ede/project-am.el (project-remove-file, project-add-file)
1806 (project-new-target): Don't call ede-maybe-checkout.
1807
1808 2011-10-19 Chong Yidong <cyd@gnu.org>
1809
1810 * ede.el (ede-minor-mode, global-ede-mode):
1811 * semantic.el (semantic-mode): Doc fix to reflect new
1812 define-minor-mode calling behavior.
1813
1814 2011-07-30 Chong Yidong <cyd@stupidchicken.com>
1815
1816 * semantic/grammar.el (semantic-grammar-insert-defanalyzers):
1817 Fix require.
1818
1819 2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1820
1821 * semantic/db.el (semanticdb-file-table-object): Don't bug out on
1822 unconfigured projects if `global-ede-mode' is on (bug#8092).
1823
1824 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1825
1826 * semantic.el (semantic-elapsed-time): Rewrite using
1827 time-subtract and float-time.
1828
1829 2011-05-11 Glenn Morris <rgm@gnu.org>
1830
1831 * semantic/wisent/javascript.el (semantic-get-local-variables):
1832 Use define-mode-local-override rather than its obsolete alias.
1833
1834 2011-05-10 Jim Meyering <meyering@redhat.com>
1835
1836 Fix doubled-word typos.
1837 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
1838 * semantic/complete.el (semantic-complete-read-tag-local-members):
1839 Likewise.
1840 * ede.el (ede-auto-add-method): then then -> then
1841
1842 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1845 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1846 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
1847 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
1848 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.
1849
1850 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1851
1852 * Version 23.3 released.
1853
1854 2011-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * semantic/wisent/comp.el (wisent-byte-compile-grammar):
1857 Macroexpand before passing to byte-compile-form.
1858
1859 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
1862 * semantic/symref/list.el (semantic-symref-results-mode):
1863 Use run-mode-hooks.
1864
1865 2010-11-12 Glenn Morris <rgm@gnu.org>
1866
1867 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
1868
1869 2010-11-10 Glenn Morris <rgm@gnu.org>
1870
1871 * semantic/bovine/c.el: Test system-type with memq.
1872
1873 2010-11-09 Glenn Morris <rgm@gnu.org>
1874
1875 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
1876 * semantic/grammar.el (semantic-grammar-epilogue):
1877 * ede/speedbar.el (ede-find-nearest-file-line):
1878 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
1879 * ede/autoconf-edit.el (autoconf-delete-parameter):
1880 Use point-at-bol and point-at-eol.
1881
1882 2010-11-07 Glenn Morris <rgm@gnu.org>
1883
1884 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
1885
1886 2010-11-01 Glenn Morris <rgm@gnu.org>
1887
1888 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
1889
1890 * semantic/symref/cscope.el (ede-toplevel):
1891 * semantic/symref.el (ede-toplevel):
1892 * semantic/tag-file.el (ede-toplevel):
1893 * ede.el (ede-toplevel): Fix declarations.
1894
1895 2010-10-31 Glenn Morris <rgm@gnu.org>
1896
1897 * ede/proj-elisp.el (project-compile-target): Fix previous change.
1898 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
1899
1900 2010-10-31 Julien Danjou <julien@danjou.info>
1901
1902 * ede/proj-elisp.el (project-compile-target):
1903 * semantic/ede-grammar.el (project-compile-target):
1904 Use `byte-recompile-file'.
1905
1906 2010-10-31 Glenn Morris <rgm@gnu.org>
1907
1908 * mode-local.el (mode-local-augment-function-help):
1909 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
1910 * semantic/symref/list.el (semantic-symref-results-dump)
1911 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
1912 of toggle-read-only.
1913
1914 2010-09-30 Chong Yidong <cyd@stupidchicken.com>
1915
1916 * semantic/bovine/el.el:
1917 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
1918 Fix require statements.
1919
1920 2010-09-29 Chong Yidong <cyd@stupidchicken.com>
1921
1922 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
1923
1924 * semantic/db-typecache.el (semanticdb-typecache-find-default):
1925 * semantic/imenu.el (semantic-create-imenu-index):
1926 * semantic/grammar.el (semantic--grammar-macro-function-tag):
1927 * semantic/fw.el (semanticdb-without-unloaded-file-searches):
1928 Fix require. Suggested by David Engster.
1929
1930 * semantic/bovine/c-by.el: Regenerate.
1931
1932 2010-09-29 Eric Ludlam <zappo@gnu.org>
1933
1934 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
1935 (semantic-lex-spp-enable-debug-symbol): New command.
1936 (semantic-lex-spp-value-valid-p)
1937 (semantic-lex-spp-validate-value): New functions.
1938 (semantic-lex-spp-symbol-set)
1939 (semantic-lex-spp-symbol-push): Add call to validate value.
1940 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
1941 invalid values during save, just save a nil.
1942
1943 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1944
1945 * ede/linux.el (ede-project-class-files):
1946 * ede/generic.el (ede-generic-new-autoloader):
1947 * ede/emacs.el (ede-project-class-files):
1948 * ede/simple.el (ede-project-class-files):
1949 * ede/cpp-root.el (ede-project-class-files): Fix require name.
1950
1951 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * semantic/lex.el (semantic-ignore-comments): Doc fix.
1954
1955 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
1956 Fix typo in error message.
1957 (semantic-symref-list-map-open-hits): Fix typo in docstring.
1958
1959 2010-09-21 Eric Ludlam <zappo@gnu.org>
1960
1961 Synch SRecode to CEDET 1.0.
1962
1963 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
1964 'never, disable all pulsing.
1965
1966 * cedet.el (cedet-version):
1967 * srecode.el (srecode-version): Bump version to 1.0.
1968
1969 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
1970 (semantic-insert-foreign-tag): Use it.
1971
1972 * srecode/mode.el (srecode-bind-insert):
1973 Call srecode-load-tables-for-mode.
1974 (srecode-minor-mode-templates-menu): Do not list templates that
1975 are not in the current project.
1976 (srecode-menu-bar): Add binding for srecode-macro-help.
1977
1978 * srecode/table.el (srecode-template-table): Add :project slot.
1979 (srecode-dump): Dump it.
1980
1981 * srecode/map.el (srecode-map-update-map): Make map loading more
1982 robust.
1983
1984 * srecode/insert.el (srecode-insert-fcn): Merge template
1985 dictionary before resolving arguments.
1986 (srecode-insert-method-helper): Add error checking to make sure
1987 that we only have dictionaries.
1988 (srecode-insert-method): Check template nesting depth when using
1989 point inserter override.
1990 (srecode-insert-method): Install override with depth limit.
1991
1992 * srecode/getset.el (srecode-insert-getset): Force tag table
1993 update. Don't query the class if it is empty.
1994
1995 * srecode/find.el (srecode-template-get-table)
1996 (srecode-template-get-table-for-binding)
1997 (srecode-all-template-hash): Skip if not in current project.
1998 (srecode-template-table-in-project-p): New method.
1999
2000 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
2001 (srecode-field-exit-ask): Use it.
2002
2003 * srecode/dictionary.el (srecode-dictionary-add-template-table):
2004 Do not add variables in tables not for the current project.
2005 (srecode-compound-toString): Handle cases where the default value
2006 is another compound value.
2007 (srecode-dictionary-lookup-name): New optional argument
2008 NON-RECURSIVE, which inhibits visiting dictionary parents.
2009 (srecode-dictionary-add-section-dictionary)
2010 (srecode-dictionary-merge): New optional argument FORCE adds
2011 values even if an identically named entry exists.
2012 (srecode-dictionary-add-entries): New method.
2013 (srecode-create-dictionaries-from-tags): New function.
2014
2015 * srecode/cpp.el (srecode-cpp): New defgroup.
2016 (srecode-cpp-namespaces): New option.
2017 (srecode-semantic-handle-:using-namespaces)
2018 (srecode-cpp-apply-templates): New functions.
2019 (srecode-semantic-apply-tag-to-dict): Handle template parameters
2020 by calling `srecode-cpp-apply-templates'.
2021
2022 * srecode/compile.el (srecode-compile-templates): Fix directory
2023 compare of built-in templates. Give built-ins lower piority.
2024 Support special variable "project".
2025 (srecode-compile-template-table): Set :project slot of new tables.
2026 (srecode-compile-one-template-tag):
2027 Use srecode-create-dictionaries-from-tags.
2028
2029 2010-09-21 Eric Ludlam <zappo@gnu.org>
2030
2031 Synch EDE to CEDET 1.0.
2032
2033 * cedet-idutils.el (cedet-idutils-make-command): New option.
2034 (cedet-idutils-mkid-call)
2035 (cedet-idutils-create/update-database): New functions.
2036
2037 * cedet-cscope.el (cedet-cscope-create)
2038 (cedet-cscope-create/update-database): New functions.
2039 (cedet-cscope-support-for-directory): Make interactive.
2040
2041 * cedet-global.el (cedet-global-gtags-command): New option.
2042 (cedet-gnu-global-gtags-call)
2043 (cedet-gnu-global-create/update-database): New functions.
2044
2045 * ede.el (ede-save-cache): Fix recentf-exclude expression.
2046 (ede-make-dist): Always use toplevel project.
2047 (ede-buffer-object): If we fail to find an object in the current
2048 project, loop upward looking for a match. If no target is found,
2049 use most local project.
2050 (ede-buffer-belongs-to-target-p)
2051 (ede-buffer-belongs-to-project-p): New functions.
2052 (ede-initialize-state-current-buffer): New function.
2053 (ede-target-forms-menu, ede-project-buffers): Use them.
2054 (ede-minor-mode, ede-reset-all-buffers): Use it.
2055 (project-interactive-select-target, project-add-file): Don't use
2056 ede-project-force-load.
2057 (ede-buffer-object): New arg PROJSYM.
2058 (ede-minor-mode): Remove ede-directory-project-p test.
2059 (ede-initialize-state-current-buffer): Don't test for
2060 ede-directory-project-p if there is a matching open project.
2061 (ede-customize-forms-menu): Prevent error if there is no project.
2062 (ede-load-project-file): Set ede-constructing to the thing being
2063 constructed, instead of t.
2064 (ede-project-force-load): Delete.
2065
2066 * ede/base.el:
2067 * ede/auto.el:
2068 * ede/custom.el: New files.
2069
2070 * ede/autoconf-edit.el (autoconf-find-last-macro)
2071 (autoconf-parameters-for-macro): Parse multiline parameters of
2072 macros. Optionally ignore case and at bol for macro.
2073 (autoconf-parameter-strip): Use greedy match for newlines.
2074 (autoconf-new-automake-string): Delete.
2075 (autoconf-new-program): Use SRecode to fill an empty file.
2076
2077 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
2078 New function.
2079
2080 * ede/files.el (ede-flush-project-hash): New command.
2081 (ede-convert-path): Add optional PROJECT arg.
2082 (ede-directory-project-p): Obey ".ede-ignore".
2083 (ede-expand-filename-local)
2084 (ede-expand-filename-impl-via-subproj): New methods.
2085 (ede-expand-filename-impl): Use them.
2086 (ede-project-root, ede-project-root-directory): Move to
2087 ede/auto.el.
2088
2089 * ede/locate.el (ede-locate-flush-hash)
2090 (ede-locate-create/update-root-database): New methods.
2091 (initialize-instance): Use ede-locate-flush-hash.
2092
2093 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
2094 the top project and not a metasubproject, set TOP to CURDIR.
2095 (ede-proj-makefile-insert-variables): Output a target's object
2096 list whether or not the vars are already in the Makefile.
2097 (ede-pmake-insert-variable-once): New macro.
2098
2099 * ede/project-am.el (project-am-with-makefile-current):
2100 Add recentf-exclude.
2101 (project-am-load-makefile): Obey an optional suggested name.
2102 (project-am-expand-subdirlist): New function.
2103 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
2104 and DIST_SUBDIRS.
2105 (project-am-meta-type-alist): A list to scan better Makefile.am.
2106 (project-am-scan-for-targets): Scan also over
2107 project-am-meta-type-alist.
2108 (ede-system-include-path): Simple implementation.
2109 (ede-find-target): Delete. EDE core takes care of this.
2110 (ede-buffer-mine): Create the searched filename as relative.
2111 (project-am-load): Simplify, using autoconf-edit.
2112 (project-am-extract-package-info): Fix separators.
2113
2114 * ede/proj.el (project-run-target): New method.
2115 (project-make-dist, project-compile-project):
2116 Use ede-proj-automake-p to determine which kind of compile to use.
2117 (project-rescan): Call ede-load-project-file.
2118 (ede-buffer-mine): Add more file names that belong to the project.
2119 (ede-proj-compilers): Improve error message.
2120
2121 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
2122 (ede-source-c++): Add more C++ extensions.
2123 (ede-proj-target-makefile-objectcode): Quote initforms.
2124 Support lex and yacc.
2125
2126 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
2127 (ede-proj-makefile-insert-variables): New, add LDDEPS.
2128 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
2129 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
2130 (ede-proj-target-makefile-program): Swap order of two slots so
2131 they show up in the same order as in the command line.
2132 (ede-proj-target-makefile-program): Add ldlibs-local slot.
2133
2134 * ede/proj-shared.el (ede-g++-libtool-shared-compiler):
2135 Fix inference rule to use cpp files.
2136 (ede-proj-target-makefile-shared-object): Quote initforms.
2137
2138 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
2139 * ede/proj-info.el (ede-proj-target-makefile-info):
2140 * ede/proj-aux.el (ede-proj-target-aux):
2141 * ede/proj-archive.el (ede-proj-target-makefile-archive):
2142 * ede/proj-elisp.el (ede-proj-target-elisp)
2143 (ede-proj-target-elisp-autoloads): Quote initforms.
2144
2145 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
2146
2147 * ede/shell.el (ede-shell-buffer): Fix buffer name.
2148
2149 * ede/pconf.el (ede-proj-configure-synchronize): If user events
2150 occur while waiting for the compile process to finish, pull them
2151 in and discard those events.
2152
2153 2010-09-19 Eric Ludlam <zappo@gnu.org>
2154
2155 Synch Semantic to CEDET 1.0.
2156
2157 * semantic.el (semantic-version): Update to 2.0.
2158 (semantic-mode-map): Add "," and "m" bindings.
2159 (navigate-menu): Update.
2160
2161 * semantic/symref.el (semantic-symref-calculate-rootdir):
2162 New function.
2163 (semantic-symref-detect-symref-tool): Use it.
2164
2165 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
2166 (semantic-symref-perform-search): Use it. Calculate root dir with
2167 semantic-symref-calculate-rootdir.
2168 (semantic-symref-derive-find-filepatterns): Improve error message.
2169
2170 * semantic/symref/list.el
2171 (semantic-symref-results-mode-map): New bindings.
2172 (semantic-symref-auto-expand-results): New option.
2173 (semantic-symref-results-dump): Obey auto-expand.
2174 (semantic-symref-list-expand-all, semantic-symref-regexp)
2175 (semantic-symref-list-contract-all)
2176 (semantic-symref-list-map-open-hits)
2177 (semantic-symref-list-update-open-hits)
2178 (semantic-symref-list-create-macro-on-open-hit)
2179 (semantic-symref-list-call-macro-on-open-hits): New functions.
2180 (semantic-symref-list-menu-entries)
2181 (semantic-symref-list-menu): New vars.
2182 (semantic-symref-list-map-open-hits): Move cursor to beginning of
2183 match before calling the mapped function.
2184
2185 * semantic/doc.el
2186 (semantic-documentation-comment-preceeding-tag): Do nothing if the
2187 mode doesn't provide comment-start-skip.
2188
2189 * semantic/scope.el
2190 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
2191 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
2192 looking for as part of the scoped tags list.
2193
2194 * semantic/html.el (semantic-default-html-setup):
2195 Add senator-step-at-tag-classes.
2196
2197 * semantic/decorate/include.el
2198 (semantic-decoration-on-unknown-includes): Change light bgcolor.
2199 (semantic-decoration-on-includes-highlight-default): Check that
2200 the include tag has a position.
2201
2202 * semantic/complete.el (semantic-collector-local-members)
2203 (semantic-complete-read-tag-local-members)
2204 (semantic-complete-jump-local-members): New class and functions.
2205 (semantic-complete-self-insert): Save excursion before completing.
2206
2207 * semantic/analyze/complete.el
2208 (semantic-analyze-possible-completions-default): If no completions
2209 are found, return the raw by-name-only completion list. Add FLAGS
2210 arguments. Add support for 'no-tc (type constraint) and
2211 'no-unique, or no stripping duplicates.
2212 (semantic-analyze-possible-completions-default): Add FLAGS arg.
2213
2214 * semantic/util-modes.el
2215 (semantic-stickyfunc-show-only-functions-p): New option.
2216 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
2217 the very first line in a buffer.
2218
2219 * semantic/util.el (semantic-hack-search)
2220 (semantic-recursive-find-nonterminal-by-name)
2221 (semantic-current-tag-interactive): Delete.
2222 (semantic-describe-buffer): Fix expand-nonterminal.
2223 Add lex-syntax-mods, type relation separator char, and command
2224 separation char.
2225 (semantic-sanity-check): Only message if called interactively.
2226
2227 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
2228 :filename property and the tag position.
2229
2230 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2231 Add recursion limit.
2232
2233 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
2234 Make this buffer local, not the obsoleted variable.
2235
2236 * semantic/idle.el: Add breadcrumbs support.
2237 (semantic-idle-summary-current-symbol-info-default)
2238 (semantic-idle-tag-highlight)
2239 (semantic-idle-completion-list-default):
2240 Use semanticdb-without-unloaded-file-searches for speed, and to
2241 conform to the controls that specify if the idle timer is supposed
2242 to be parsing unparsed includes.
2243 (semantic-idle-symbol-highlight-face)
2244 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
2245 Callers changed.
2246 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
2247 (semantic-idle-work-update-headers-flag): New var.
2248 (semantic-idle-work-for-one-buffer): Use it.
2249 (semantic-idle-local-symbol-highlight): Rename from
2250 semantic-idle-tag-highlight.
2251 (semantic-idle-truncate-long-summaries): New option.
2252
2253 * semantic/ia.el (semantic-ia-cache)
2254 (semantic-ia-get-completions): Delete. Callers changed.
2255 (semantic-ia-show-variants): New command.
2256 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
2257 (semantic-ia-show-summary): If there isn't anything to show, say so.
2258
2259 * semantic/grammar.el (semantic-grammar-create-package):
2260 Save the buffer even in batch mode.
2261
2262 * semantic/fw.el
2263 (semanticdb-without-unloaded-file-searches): New macro.
2264
2265 * semantic/dep.el (semantic-dependency-find-file-on-path):
2266 Fix case dereferencing ede-object when it is a list.
2267
2268 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
2269 (semanticdb-typecache-faux-namespace): New functions.
2270 (semanticdb-typecache-file-tags)
2271 (semanticdb-typecache-merge-streams): Use them.
2272 (semanticdb-typecache-file-tags): When deriving tags from a file,
2273 give the mode a chance to monkey with the tag copy.
2274 (semanticdb-typecache-find-default): Wrap find in save-excursion.
2275 (semanticdb-typecache-find-by-name-helper): Merge found names down.
2276
2277 * semantic/db-global.el
2278 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
2279 GNU Global is not available and we don't want to throw an error.
2280
2281 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
2282 When trying to normalize the tag to a buffer, don't error if
2283 set-buffer method doesn't exist.
2284
2285 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
2286
2287 * semantic/db.el (semanticdb-refresh-table): If forcing a
2288 refresh on a file not in a buffer, use semantic-find-file-noselect
2289 and delete the buffer after use.
2290 (semanticdb-current-database-list): When calculating root via
2291 hooks, force it through true-filename and skip the list of
2292 possible roots.
2293
2294 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
2295
2296 * semantic/analyze/debug.el
2297 (semantic-analyzer-debug-insert-tag): Reset standard output to
2298 current buffer.
2299 (semantic-analyzer-debug-global-symbol)
2300 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
2301 "symbol" in messages.
2302
2303 * semantic/analyze/refs.el (semantic-analyze-refs-impl)
2304 (semantic-analyze-refs-proto): When calculating value, make sure
2305 the found tag is 'similar' to the originating tag.
2306 (semantic--analyze-refs-find-tags-with-parent): Attempt to
2307 identify matches via imported symbols of parents.
2308 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
2309 search during the brute search.
2310
2311 * semantic/analyze.el
2312 (semantic-analyze-find-tag-sequence-default): Be robust to
2313 calculated scopes being nil.
2314
2315 * semantic/bovine/c.el (semantic-c-describe-environment):
2316 Add project macro symbol array.
2317 (semantic-c-parse-lexical-token): Add recursion limit.
2318 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
2319 New overrides.
2320 (semantic-expand-c-tag-namelist): Split a full type from a typedef
2321 out to its own tag.
2322 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
2323 inline type if it is an anonymous type.
2324 (semantic-c-reconstitute-token): Use the optional initializers as
2325 a clue that some function is probably a constructor.
2326 When defining the type of these constructors, split the parent name,
2327 and use only the class part, if applicable.
2328
2329 * semantic/bovine/c-by.el:
2330 * semantic/wisent/python-wy.el: Regenerate.
2331
2332 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
2333
2334 * semantic/db-file.el (object-write): Fix typo in docstring.
2335
2336 2010-06-03 Eric Ludlam <zappo@gnu.org>
2337
2338 * semantic/lex-spp.el
2339 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
2340 invalid values during save, just save a nil (Bug#6324).
2341
2342 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
2343
2344 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
2345 (bug#6231).
2346
2347 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 Use a mode-line spec rather than a static string in Semantic.
2350 * semantic/util-modes.el:
2351 (semantic-minor-modes-format): New var to replace...
2352 (semantic-minor-modes-status): Remove.
2353 (semantic-mode-line-update): Construct a mode-line spec rather than
2354 a static string so that mouse buttons can be used on individual minor
2355 modes and so that semantic-mode-line-update only needs to be called
2356 when global settings are changed.
2357 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
2358 Call semantic-mode-line-update.
2359 (semantic-toggle-minor-mode-globally): Don't assume mode is on
2360 minor-mode-alist, check semantic-minor-mode-alist as well.
2361 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
2362 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
2363 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
2364 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2365 * semantic/idle.el (semantic-idle-scheduler-mode)
2366 (define-semantic-idle-service, semantic-idle-summary-mode):
2367 * semantic/decorate/mode.el (semantic-decoration-mode):
2368 Don't call semantic-mode-line-update any more.
2369
2370 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 Use define-minor-mode in CEDET where applicable.
2373
2374 * srecode/mode.el (srecode-minor-mode, global-srecode-minor-mode):
2375 Use define-minor-mode.
2376
2377 * semantic/util-modes.el (semantic-add-minor-mode):
2378 Remove unused arg `keymap' and code redundant with define-minor-mode.
2379 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
2380 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
2381 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
2382 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
2383 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
2384 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
2385 Use define-minor-mode.
2386 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
2387 (semantic-show-unmatched-syntax-mode-setup)
2388 (semantic-show-parser-state-mode-setup)
2389 (semantic-highlight-func-mode-setup): Inline into sole caller.
2390
2391 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2392 (semantic-mru-bookmark-mode): Use define-minor-mode.
2393 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
2394
2395 * semantic/idle.el (define-semantic-idle-service):
2396 Use define-minor-mode and inline setup function into its sole caller.
2397 (semantic-idle-scheduler-mode-setup)
2398 (semantic-idle-summary-mode-setup): Inline into sole caller.
2399 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
2400 Use define-minor-mode.
2401
2402 * semantic/decorate/mode.el (global-semantic-decoration-mode)
2403 (semantic-decoration-mode): Use define-minor-mode.
2404 (semantic-decoration-mode-setup): Inline into sole caller.
2405
2406 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
2407 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
2408 (ede-dired-add-to-target): Use dolist.
2409
2410 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
2411
2412 * semantic.el (semantic-completion-at-point-function):
2413 New function.
2414 (semantic-mode): Use semantic-completion-at-point-function for
2415 completion-at-point-functions instead.
2416
2417 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
2418
2419 * semantic.el (semantic-mode): When enabled, add
2420 semantic-ia-complete-symbol to completion-at-point-functions.
2421
2422 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
2423 if Semantic is not active.
2424
2425 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
2426
2427 * ede/pmake.el (ede-proj-makefile-insert-variables):
2428 Don't destroy list before using it.
2429
2430 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
2431
2432 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
2433 (semantic-create-imenu-directory-index): Fix typos in docstrings.
2434 (semantic-imenu-goto-function): Reflow docstring.
2435
2436 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
2437
2438 * srecode/table.el (srecode-template-table): Fix docstring typo.
2439
2440 2010-03-24 Glenn Morris <rgm@gnu.org>
2441
2442 * semantic/bovine/c.el (semantic-c-describe-environment):
2443 Consistently check ede-object is bound throughout.
2444
2445 * ede/project-am.el (ede-shell-run-something): Declare.
2446
2447 2010-03-13 Eric M. Ludlam <zappo@gnu.org>
2448
2449 * semantic/imenu.el: New file, from the CEDET repository
2450 (Bug#5412).
2451
2452 2010-03-06 Glenn Morris <rgm@gnu.org>
2453
2454 * semantic/grammar.el (semantic-grammar-header-template):
2455 Update template copyright to GPLv3+.
2456
2457 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
2458
2459 * semantic/db-find.el
2460 (semanticdb-find-translate-path-brutish-default):
2461 * ede/make.el (ede-make-check-version):
2462 Use with-current-buffer instead of save-excursion.
2463
2464 2010-02-24 Eduard Wiebe <usenet@pusto.de>
2465
2466 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
2467 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
2468
2469 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
2470
2471 * data-debug.el (data-debug): Move to extensions group.
2472
2473 * ede.el (ede):
2474 * srecode.el (srecode):
2475 * semantic.el (semantic): Put in tools and extensions group.
2476
2477 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
2478
2479 * ede.el (ede-run-target, project-delete-target)
2480 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
2481 (ede-adebug-project, ede-adebug-project-parent)
2482 (ede-adebug-project-root): Fix typos in docstrings.
2483
2484 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * ede/locate.el (ede-locate-file-in-project)
2487 (ede-locate-file-in-project-impl): Fix typos in docstrings.
2488 (ede-enable-locate-on-project): Fix typos in error messages.
2489
2490 * semantic/util-modes.el (semantic-unmatched-syntax-face)
2491 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
2492 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
2493 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
2494 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
2495 Fix typos in menu help.
2496
2497 * semantic.el (semantic-require-version, semantic--buffer-cache)
2498 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
2499 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
2500 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
2501 (semantic-parse-stream, semantic-parse-region)
2502 (semantic-parse-region-default, semantic--set-buffer-cache)
2503 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
2504 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
2505 (semantic-default-submodes):
2506 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
2507 (semanticdb-create-ebrowse-database)
2508 (semanticdb-find-tags-for-completion-method)
2509 (semanticdb-find-tags-by-class-method)
2510 (semanticdb-deep-find-tags-by-name-method)
2511 (semanticdb-deep-find-tags-for-completion-method):
2512 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
2513 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
2514 (semanticdb-find-tags-for-completion-method)
2515 (semanticdb-find-tags-by-class-method)
2516 (semanticdb-deep-find-tags-for-completion-method):
2517 * semantic/db-find.el (semanticdb-find-translate-path)
2518 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
2519 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
2520 (semanticdb-find-tags-by-name-method)
2521 (semanticdb-find-tags-by-name-regexp-method)
2522 (semanticdb-find-tags-for-completion-method)
2523 (semanticdb-find-tags-by-class-method)
2524 (semanticdb-find-tags-external-children-of-type-method)
2525 (semanticdb-find-tags-subclasses-of-type-method)
2526 (semanticdb-deep-find-tags-by-name-method)
2527 (semanticdb-deep-find-tags-by-name-regexp-method)
2528 (semanticdb-deep-find-tags-for-completion-method):
2529 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
2530 (semanticdb-enable-gnu-global-in-buffer)
2531 (semanticdb-find-tags-for-completion-method)
2532 (semanticdb-deep-find-tags-by-name-method)
2533 (semanticdb-deep-find-tags-for-completion-method):
2534 * semantic/db-javascript.el (semanticdb-javascript-tags)
2535 (javascript-mode, semanticdb-find-translate-path)
2536 (semanticdb-find-tags-for-completion-method)
2537 (semanticdb-find-tags-by-class-method)
2538 (semanticdb-deep-find-tags-by-name-method)
2539 (semanticdb-deep-find-tags-for-completion-method)
2540 (semanticdb-find-tags-external-children-of-type-method):
2541 * semantic/idle.el (semantic-idle-work-core-handler)
2542 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
2543 (global-semantic-idle-scheduler-mode):
2544 * srecode/dictionary.el (srecode-field-value)
2545 (srecode-dictionary-add-section-dictionary):
2546 Fix typos in docstrings.
2547
2548 2010-01-17 Glenn Morris <rgm@gnu.org>
2549
2550 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
2551
2552 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * semantic.el (semantic-mode): Fix typos in docstrings.
2555
2556 2010-01-16 Mario Lang <mlang@delysid.org>
2557
2558 * ede/cpp-root.el (ede-cpp-root-project):
2559 * ede/files.el (ede-expand-filename):
2560 * ede/simple.el (ede-simple-project):
2561 * semantic/complete.el (semantic-complete-read-tag-engine)
2562 (semantic-complete-inline-tag-engine):
2563 * semantic/db-el.el (semanticdb-equivalent-mode):
2564 * semantic/db-global.el (semanticdb-equivalent-mode):
2565 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2566 * semantic/db.el (semanticdb-equivalent-mode):
2567 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
2568 * semantic/idle.el (semantic-idle-work-for-one-buffer):
2569 Remove duplicated words in doc-strings.
2570
2571 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2572
2573 * semantic/edit.el (semantic-reparse-needed-change-hook)
2574 (semantic-no-reparse-needed-change-hook):
2575 * srecode/insert.el (srecode-resolve-argument-list)
2576 (srecode-template-inserter-blank, srecode-template-inserter-variable)
2577 (srecode-template-inserter-ask, srecode-template-inserter-width)
2578 (srecode-template-inserter-section-start)
2579 (srecode-template-inserter-section-end, srecode-insert-method):
2580 Fix typos in docstrings.
2581
2582 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2583
2584 * data-debug.el (data-debug): Fix customization group reference.
2585
2586 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * semantic/analyze.el (semantic-analyze-push-error)
2589 (semantic-analyze-context, semantic-analyze-context-assignment)
2590 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
2591 * semantic/java.el (java-mode, semantic-tag-include-filename)
2592 (semantic-java-doc-keywords-map):
2593 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
2594 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
2595 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
2596 (semantic-c-classname, semantic-format-tag-uml-prototype)
2597 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
2598 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
2599 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
2600 (semantic-get-local-variables, semantic-end-of-command)
2601 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
2602 (lisp-mode):
2603 * semantic/bovine/make.el (makefile-mode):
2604 * semantic/wisent/python.el (wisent-python-string-re)
2605 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
2606 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
2607 (semantic-lex, semantic-get-local-variables, python-mode):
2608 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
2609 * srecode/extract.el (srecode-extract-state-set)
2610 (srecode-extract-method): Fix typos in docstrings.
2611
2612 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
2613
2614 * semantic.el (semantic-new-buffer-setup-functions):
2615 Add python parser.
2616
2617 2010-01-10 Richard Kim <emacs18@gmail.com>
2618
2619 * semantic/wisent/python-wy.el:
2620 * semantic/wisent/python.el: New files.
2621
2622 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * semantic/db-typecache.el (semanticdb-typecache-find-default):
2625 Fix typo in docstring.
2626
2627 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
2628
2629 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
2630 (semantic-mru-bookmark-mode): Doc fixes.
2631
2632 * semantic/db.el (semanticdb-cache-get): Use error instead
2633 of assert.
2634
2635 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
2636
2637 * semantic/ia.el (semantic-ia-complete-symbol):
2638 Make argument optional.
2639
2640 2009-12-05 Eric Ludlam <zappo@gnu.org>
2641
2642 * semantic/bovine/c.el (semantic-c-describe-environment):
2643 Describe project macro symbols.
2644
2645 * semantic/complete.el (semantic-complete-do-completion):
2646 Don't call semantic-collector-current-exact-match.
2647
2648 * ede.el (ede-apply-preprocessor-map): Accept lists of
2649 ede-objects as targets.
2650
2651 * ede/pmake.el (ede-proj-makefile-insert-variables):
2652 Output a target's object list even if compiler vars are already in the
2653 Makefile.
2654
2655 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
2656 list of headers producing necessary macros.
2657
2658 2009-11-24 Glenn Morris <rgm@gnu.org>
2659
2660 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2661 Move after definition of global-semantic-idle-tag-highlight-mode.
2662
2663 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2664
2665 * srecode/map.el (srecode-get-maps):
2666 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2667 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2668 * semantic/decorate/mode.el (semantic-decoration-mode)
2669 (semantic-toggle-decoration-style):
2670 * semantic/decorate/include.el
2671 (semantic-decoration-include-describe)
2672 (semantic-decoration-unknown-include-describe)
2673 (semantic-decoration-unparsed-include-describe)
2674 (semantic-decoration-all-include-summary):
2675 * semantic/bovine/c.el (semantic-c-debug-mode-init):
2676 * semantic/analyze/complete.el
2677 (semantic-analyze-possible-completions):
2678 * semantic/util-modes.el (semantic-highlight-edits-mode)
2679 (semantic-show-unmatched-syntax-mode)
2680 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2681 (semantic-highlight-func-mode):
2682 * semantic/util.el (semantic-describe-buffer):
2683 * semantic/symref.el (semantic-symref-find-references-by-name)
2684 (semantic-symref-find-tags-by-name)
2685 (semantic-symref-find-tags-by-regexp)
2686 (semantic-symref-find-tags-by-completion)
2687 (semantic-symref-find-file-references-by-name)
2688 (semantic-symref-find-text):
2689 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
2690 (senator-yank-tag):
2691 * semantic/scope.el (semantic-calculate-scope):
2692 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2693 * semantic/idle.el (semantic-idle-scheduler-mode)
2694 (define-semantic-idle-service):
2695 * semantic/complete.el (semantic-complete-analyze-inline)
2696 (semantic-complete-analyze-inline-idle):
2697 * semantic/analyze.el (semantic-analyze-current-context):
2698 * mode-local.el (describe-mode-local-bindings)
2699 (describe-mode-local-bindings-in-mode):
2700 * ede/make.el (ede-make-check-version):
2701 * ede/locate.el (ede-enable-locate-on-project):
2702 * cedet-idutils.el (cedet-idutils-expand-filename)
2703 (cedet-idutils-version-check):
2704 * cedet-global.el (cedet-gnu-global-expand-filename)
2705 (cedet-gnu-global-version-check):
2706 * cedet-cscope.el (cedet-cscope-expand-filename)
2707 (cedet-cscope-version-check): Use called-interactively-p instead
2708 of interactive-p.
2709
2710 * semantic/ia.el (semantic-ia-completion-format-tag-function):
2711 Use semantic-format-tag-prototype.
2712
2713 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2714
2715 * semantic/complete.el (semantic-complete-read-tag-engine)
2716 (semantic-complete-jump-local, semantic-complete-jump):
2717 Improve prompt string.
2718
2719 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2720
2721 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
2722
2723 * semantic/idle.el (define-semantic-idle-service)
2724 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2725
2726 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2727
2728 * cedet.el (cedet-menu-map): Re-order menu items.
2729
2730 * semantic.el: Enable idle-mode menu items only if
2731 global-semantic-idle-scheduler-mode is enabled.
2732 (semantic-default-submodes): Doc fix.
2733
2734 * semantic/idle.el (global-semantic-idle-scheduler-mode):
2735 When turning off, disable other idle modes.
2736
2737 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2738
2739 * semantic/idle.el (semantic-idle-summary-mode)
2740 (semantic-idle-summary-mode): Define using define-minor-mode
2741 instead of define-semantic-idle-service.
2742 (semantic-idle-summary-mode): New function.
2743 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2744 that mouse motion does not reset the echo area.
2745
2746 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2747
2748 * semantic/ctxt.el (semantic-get-local-variables):
2749 Disable the progress reporter entirely.
2750
2751 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * semantic/fw.el (semantic/loaddefs):
2754 * srecode.el (srecode/loaddefs):
2755 * ede.el (ede/loaddefs): Load rather than require.
2756 * ede/cpp-root.el:
2757 * ede/emacs.el:
2758 * ede/files.el:
2759 * ede/linux.el:
2760 * ede/locate.el:
2761 * ede/make.el:
2762 * ede/shell.el:
2763 * ede/speedbar.el:
2764 * ede/system.el:
2765 * ede/util.el:
2766 * semantic/analyze.el:
2767 * semantic/bovine.el:
2768 * semantic/complete.el:
2769 * semantic/ctxt.el:
2770 * semantic/db-file.el:
2771 * semantic/db-find.el:
2772 * semantic/db-global.el:
2773 * semantic/db-mode.el:
2774 * semantic/db-typecache.el:
2775 * semantic/db.el:
2776 * semantic/debug.el:
2777 * semantic/dep.el:
2778 * semantic/doc.el:
2779 * semantic/edit.el:
2780 * semantic/find.el:
2781 * semantic/format.el:
2782 * semantic/html.el:
2783 * semantic/ia-sb.el:
2784 * semantic/ia.el:
2785 * semantic/idle.el:
2786 * semantic/lex-spp.el:
2787 * semantic/lex.el:
2788 * semantic/mru-bookmark.el:
2789 * semantic/scope.el:
2790 * semantic/senator.el:
2791 * semantic/sort.el:
2792 * semantic/symref.el:
2793 * semantic/tag-file.el:
2794 * semantic/tag-ls.el:
2795 * semantic/tag-write.el:
2796 * semantic/tag.el:
2797 * semantic/util-modes.el:
2798 * semantic/analyze/complete.el:
2799 * semantic/analyze/refs.el:
2800 * semantic/bovine/c.el:
2801 * semantic/bovine/gcc.el:
2802 * semantic/bovine/make.el:
2803 * semantic/bovine/scm.el:
2804 * semantic/decorate/include.el:
2805 * semantic/decorate/mode.el:
2806 * semantic/symref/cscope.el:
2807 * semantic/symref/global.el:
2808 * semantic/symref/grep.el:
2809 * semantic/symref/idutils.el:
2810 * semantic/symref/list.el:
2811 * semantic/wisent/java-tags.el:
2812 * semantic/wisent/javascript.el:
2813 * srecode/compile.el:
2814 * srecode/cpp.el:
2815 * srecode/document.el:
2816 * srecode/el.el:
2817 * srecode/expandproto.el:
2818 * srecode/getset.el:
2819 * srecode/insert.el:
2820 * srecode/java.el:
2821 * srecode/map.el:
2822 * srecode/mode.el:
2823 * srecode/template.el:
2824 * srecode/texi.el: Remove the file-local setting of
2825 generated-autoload-feature.
2826
2827 2009-11-03 Glenn Morris <rgm@gnu.org>
2828
2829 * mode-local.el (with-mode-local): Doc fix.
2830
2831 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2832
2833 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2834 items.
2835
2836 * ede.el (ede-minor-mode):
2837 * semantic.el (semantic-mode): Toggle menu separators.
2838
2839 2009-10-31 Glenn Morris <rgm@gnu.org>
2840
2841 * semantic/tag.el (semantic--tag-link-list-to-buffer):
2842 Use mapc rather than mapcar because the return value is never used.
2843
2844 * srecode/template.el, semantic/wisent/javascript.el:
2845 * semantic/wisent/java-tags.el, semantic/texi.el:
2846 * semantic/html.el:
2847 Suppress harmless warnings about setting up semantic-imenu (not
2848 part of Emacs) variables.
2849
2850 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * srecode/srt-mode.el (semantic-analyze-possible-completions):
2853 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2854 * semantic/symref/grep.el (semantic-symref-perform-search):
2855 * semantic/bovine/gcc.el (semantic-gcc-query):
2856 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
2857 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2858 (semantic-analyzer-debug-global-symbol)
2859 (semantic-analyzer-debug-missing-innertype)
2860 (semantic-analyzer-debug-insert-include-summary):
2861 * semantic/util.el (semantic-file-tag-table)
2862 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2863 (semantic-recursive-find-nonterminal-by-name):
2864 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2865 * semantic/tag-file.el (semantic-prototype-file):
2866 * semantic/symref.el (semantic-symref-parse-tool-output):
2867 * semantic/sb.el (semantic-sb-fetch-tag-table):
2868 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2869 * semantic/idle.el (semantic-idle-work-for-one-buffer)
2870 (semantic-idle-summary-maybe-highlight):
2871 * semantic/ia-sb.el (semantic-ia-speedbar)
2872 (semantic-ia-sb-tag-info):
2873 * semantic/grammar.el (semantic-analyze-possible-completions):
2874 * semantic/find.el (semantic-brute-find-tag-by-position):
2875 * semantic/ede-grammar.el (project-compile-target)
2876 (ede-proj-makefile-insert-variables):
2877 * semantic/debug.el (semantic-debug-set-parser-location)
2878 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2879 (semantic-debug-mode, semantic-debug):
2880 * semantic/db.el (semanticdb-needs-refresh-p):
2881 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2882 * semantic/db-javascript.el (semanticdb-equivalent-mode):
2883 * semantic/db-find.el (semanticdb-find-log-new-search)
2884 (semanticdb-find-translate-path-includes--internal)
2885 (semanticdb-reset-log, semanticdb-find-log-activity):
2886 * semantic/db-file.el (object-write):
2887 * semantic/db-el.el (semanticdb-equivalent-mode):
2888 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2889 (semanticdb-create-ebrowse-database):
2890 * semantic/db-debug.el (semanticdb-table-sanity-check):
2891 * semantic/complete.el (semantic-displayor-focus-request)
2892 (semantic-collector-calculate-completions-raw)
2893 (semantic-complete-read-tag-analyzer):
2894 * semantic/analyze.el (semantic-analyze-pulse):
2895 * ede/util.el (ede-update-version-in-source):
2896 * ede/proj.el (project-delete-target):
2897 * ede/proj-elisp.el (ede-update-version-in-source)
2898 (ede-proj-flush-autoconf):
2899 * ede/pconf.el (ede-proj-configure-synchronize)
2900 (ede-proj-configure-synchronize):
2901 * ede/locate.el (ede-locate-file-in-project-impl):
2902 * ede/linux.el (ede-linux-version):
2903 * ede/emacs.el (ede-emacs-version):
2904 * ede/dired.el (ede-dired-add-to-target):
2905 * ede.el (ede-buffer-header-file, ede-find-target)
2906 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2907 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2908 * cedet-idutils.el (cedet-idutils-fnid-call)
2909 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2910 (cedet-idutils-version-check):
2911 * cedet-global.el (cedet-gnu-global-call)
2912 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2913 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2914 * cedet-cscope.el (cedet-cscope-call)
2915 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2916 Use with-current-buffer.
2917 * ede.el (ede-make-project-local-variable)
2918 (ede-set-project-variables, ede-set): Use dolist.
2919
2920 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * mode-local.el (make-obsolete-overload): Add `when' argument.
2923 (overload-docstring-extension): Use that info.
2924 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
2925 * semantic/idle.el (semantic-eldoc-current-symbol-info):
2926 * semantic/tag-ls.el (semantic-nonterminal-protection)
2927 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
2928 (semantic-nonterminal-full-name): Add the new `when' info.
2929 * semantic/decorate/mode.el (semantic/decorate): Require CL for
2930 `assert'.
2931
2932 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * semantic/fw.el (semantic-alias-obsolete)
2935 (semantic-varalias-obsolete): Make the `when' arg mandatory.
2936 (define-mode-overload-implementation):
2937 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
2938 * semantic/wisent.el (wisent-lex-make-token-table):
2939 * semantic/util.el (semantic-file-token-stream)
2940 (semantic-something-to-stream):
2941 * semantic/tag.el (semantic-tag-make-assoc-list)
2942 (semantic-expand-nonterminal):
2943 * semantic/tag-file.el (semantic-find-nonterminal)
2944 (semantic-find-dependency, semantic-find-nonterminal)
2945 (semantic-find-dependency):
2946 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
2947 (semantic-flex-text, semantic-flex-make-keyword-table)
2948 (semantic-flex-keyword-p, semantic-flex-keyword-put)
2949 (semantic-flex-keyword-get, semantic-flex-map-keywords)
2950 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
2951 * semantic/java.el (semantic-java-prototype-nonterminal):
2952 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
2953 (semantic-after-idle-scheduler-reparse-hooks):
2954 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
2955 * semantic/db-mode.el (semanticdb-mode-hooks):
2956 * semantic.el (semantic-toplevel-bovine-table)
2957 (semantic-toplevel-bovine-cache)
2958 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
2959 (semantic-init-mode-hooks, semantic-init-db-hooks)
2960 (semantic-bovination-working-type): Provide the `when' arg.
2961
2962 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
2963
2964 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
2965 * semantic/tag.el (semantic-token-type-parent): Add WHEN
2966 argument to make-obsolete.
2967
2968 * semantic/fw.el (semantic-alias-obsolete)
2969 (semantic-varalias-obsolete): Add optional WHEN argument.
2970
2971 2009-10-21 Eric Ludlam <zappo@gnu.org>
2972
2973 * semantic/bovine/c.el (semantic-c-debug-mode-init)
2974 (semantic-c-debug-mode-init-pch): New functions.
2975 (semantic-c-debug-mode-init-last-mode): New var.
2976 (semantic-c-parse-lexical-token): Use them.
2977
2978 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
2979 When extracting the argument list, limit only by point-max.
2980
2981 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
2982
2983 * srecode/srt.el:
2984 * srecode/compile.el:
2985 * semantic/mru-bookmark.el:
2986 * semantic/debug.el:
2987 * semantic/complete.el:
2988 * semantic/analyze.el: Require CL when compiling.
2989
2990 2009-10-17 Eric Ludlam <zappo@gnu.org>
2991
2992 * semantic/scope.el
2993 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
2994 tmpscope so that the regular scope will continue to work.
2995
2996 * semantic/idle.el (semantic-idle-tag-highlight):
2997 Use semantic-idle-summary-highlight-face as the highlighting.
2998
2999 * ede/project-am.el (project-run-target): New method.
3000 (project-run-target): New method.
3001
3002 * ede.el (ede-target): Add run target menu item.
3003 (ede-project, ede-minor-keymap): Add ede-run-target binding.
3004 (ede-run-target): New function.
3005 (ede-target::project-run-target): New method.
3006
3007 * ede/proj.el (project-run-target): New method.
3008
3009 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3010 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
3011 Add :rules.
3012 (ede-proj-target-makefile-shared-object): Only libtool compilers
3013 now available. Add linkers for libtool.
3014 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3015 (ede-proj-makefile-target-name): Always use .la extension.
3016
3017 * ede/proj-prog.el (project-run-target): New method.
3018
3019 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3020 (ede-g++-linker): Change Change link lines.
3021
3022 * ede/pmake.el (ede-pmake-insert-variable-shared):
3023 When searching for old variables, go to the end of the buffer and
3024 search backward from there.
3025 (ede-proj-makefile-automake-insert-subdirs)
3026 (ede-proj-makefile-automake-insert-extradist): New methods.
3027 (ede-proj-makefile-create): Use them.
3028
3029 * ede/pconf.el (ede-proj-configure-test-required-file):
3030 Force FILE to expand to the current target. Use file-exists-p to
3031 check that it exists.
3032
3033 * ede/linux.el (ede-linux-version): Don't call "head".
3034 (ede-linux-load): Wrap dir in file-name-as-directory.
3035 Set :version slot.
3036
3037 * ede/files.el (ede-get-locator-object): When enabling
3038 locate, do so on "top".
3039
3040 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3041 file-name-as-directory during compare.
3042 (ede-emacs-version): Return Emacs/XEmacs differentiator.
3043 Get version number from different places. Don't call egrep.
3044 (ede-emacs-load): Set :version slot. Call file-name-as-directory
3045 to set the directory.
3046
3047 * ede/shell.el: New file.
3048
3049 * inversion.el (inversion-decoders): Allow for stray . in
3050 alpha/beta variants.
3051
3052 2009-10-17 Glenn Morris <rgm@gnu.org>
3053
3054 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
3055 All errors should have messages.
3056
3057 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
3058
3059 * ede/proj-shared.el (ede-proj-makefile-target-name):
3060 Use .la for Automake.
3061
3062 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
3063
3064 * ede/pconf.el (ede-proj-configure-synchronize):
3065 Use "autoreconf -i". Suggested by Andreas Schwab.
3066
3067 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3068
3069 * ede/proj.el (project-make-dist, project-compile-project):
3070 Fix filename test.
3071 (ede-proj-dist-makefile): Use expand-file-name instead of concat
3072 to expand file names.
3073
3074 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3075
3076 * ede/proj-obj.el (ede-gcc-linker): New var.
3077 (ede-proj-target-makefile-objectcode): Use it.
3078
3079 * ede/source.el (ede-want-any-source-files-p)
3080 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
3081 Return search result. This error was introduced while merging.
3082
3083 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3084
3085 * semantic.el (semantic-new-buffer-setup-functions): New option.
3086 (semantic-new-buffer-fcn): Call parser setup functions here.
3087 (semantic-mode): Don't call parser setup functions here, it's done
3088 in semantic-new-buffer-fcn now.
3089 (semantic-mode): Parse all existing buffers when enabled.
3090
3091 * srecode/compile.el (srecode-compile-file):
3092 Call semantic-new-buffer-fcn if the buffer has not been parsed.
3093
3094 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3095
3096 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
3097
3098 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
3099 (proj-comp-insert-variable-once): New macro, renamed from
3100 ede-pmake-insert-variable-once in ede/pmake.edl.
3101 (ede-proj-makefile-insert-variables): Use it.
3102
3103 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3104
3105 * ede/makefile-edit.el (makefile-beginning-of-command)
3106 (makefile-end-of-command):
3107 * srecode/srt-mode.el (semantic-beginning-of-context)
3108 (semantic-end-of-context): Fix previous change. Doc fixes.
3109
3110 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3111
3112 * ede/makefile-edit.el (makefile-beginning-of-command)
3113 (makefile-end-of-command):
3114 * semantic/lex.el (semantic-lex-token):
3115 * semantic/analyze/fcn.el
3116 (semantic-analyze-dereference-metatype-1):
3117 * semantic/bovine/c.el (semantic-lex-cpp-define)
3118 (semantic-lex-cpp-undef):
3119 * semantic/wisent/wisent.el (wisent-skip-block):
3120 * srecode/srt-mode.el (semantic-beginning-of-context)
3121 (semantic-end-of-context): Fix typos in docstrings.
3122
3123 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
3124
3125 * ede.el (ede-project-placeholder-cache-file):
3126 * semantic/db-file.el (semanticdb-default-save-directory):
3127 * srecode/map.el (srecode-map-save-file):
3128 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
3129
3130 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
3131
3132 * srecode/insert.el: Require srecode/args.
3133
3134 * srecode/args.el: Require srecode/dictionary instead of
3135 srecode/insert.
3136
3137 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
3138
3139 * semantic.el (semantic-mode):
3140 Handle srecode-template-mode-hook as well.
3141 (semantic-mode): Use js-mode-hook for Javascript hook.
3142
3143 * srecode/template.el: Remove hook variable.
3144
3145 * ede/proj-comp.el: Require ede/pmake when compiling.
3146
3147 * ede.el (ede-target-forms-menu): Don't enable if no
3148 projects exist.
3149 (ede-project-placeholder-cache-file): Default to a file in
3150 user-emacs-directory.
3151
3152 * srecode/map.el (srecode-map-base-template-dir): Look for
3153 templates in data-directory.
3154 (srecode-map-save-file): Default to a file in user-emacs-directory.
3155
3156 * ede/srecode.el (ede-srecode-setup): Use default templates
3157 directory.
3158
3159 2009-09-30 Eric Ludlam <zappo@gnu.org>
3160
3161 * semantic/util-modes.el (semantic-highlight-func-mode):
3162 Doc fix.
3163
3164 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
3165 Only insert each variable once.
3166
3167 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
3168 (ede-pmake-insert-variable-shared): Use it.
3169
3170 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
3171 for lexical table iff table is nil.
3172
3173 2009-10-01 Glenn Morris <rgm@gnu.org>
3174
3175 * semantic/bovine/gcc.el
3176 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
3177 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
3178
3179 2009-10-03 Glenn Morris <rgm@gnu.org>
3180
3181 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
3182 declaration, currently false.
3183
3184 2009-10-01 Glenn Morris <rgm@gnu.org>
3185
3186 * cedet-files.el (cedet-directory-name-to-file-name):
3187 * cedet-idutils.el (cedet-idutils-search)
3188 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
3189 (cedet-idutils-version-check):
3190 * cedet.el (cedet-version):
3191 * data-debug.el (data-debug-insert-overlay-button)
3192 (data-debug-insert-overlay-list-button)
3193 (data-debug-insert-buffer-button)
3194 (data-debug-insert-buffer-list-button)
3195 (data-debug-insert-process-button, data-debug-insert-ring-button)
3196 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
3197 (data-debug-insert-stuff-vector-button)
3198 (data-debug-insert-symbol-button, data-debug-insert-string)
3199 (data-debug-insert-number, data-debug-insert-lambda-expression)
3200 (data-debug-insert-nil, data-debug-insert-simple-thing)
3201 (data-debug-insert-custom, data-debug-edebug-expr):
3202 * ede.el (ede-auto-add-method, ede-project-class-files)
3203 (global-ede-mode-map, ede-new, ede-debug-target)
3204 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
3205 * semantic.el (semantic-minimum-working-buffer-size)
3206 (semantic-fetch-tags, semantic-submode-list)
3207 (semantic-default-submodes):
3208 * ede/source.el (ede-source-match):
3209 * ede/project-am.el (project-am-type-alist, project-add-file)
3210 (project-am-package-info):
3211 * ede/proj.el (ede-proj-target, project-new-target):
3212 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
3213 * ede/proj-comp.el (ede-current-build-list):
3214 * ede/makefile-edit.el (makefile-move-to-macro):
3215 * ede/files.el (ede-toplevel-project-or-nil):
3216 * ede/cpp-root.el (initialize-instance):
3217 * ede/autoconf-edit.el (autoconf-find-last-macro)
3218 (autoconf-parameter-strip, autoconf-insert-new-macro):
3219 * semantic/wisent.el (wisent-lex-eoi):
3220 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
3221 (semantic-show-parser-state-mode):
3222 * semantic/texi.el (semantic-texi-environment-regexp):
3223 * semantic/tag.el (semantic-tag-new-variable)
3224 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
3225 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
3226 (semantic--tag-deep-copy-tag-list)
3227 (semantic-tag-components-with-overlays-default):
3228 * semantic/symref.el (semantic-symref-find-text):
3229 * semantic/senator.el (senator-yank-tag)
3230 (senator-transpose-tags-up):
3231 * semantic/scope.el (semantic-analyze-scoped-tags-default)
3232 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
3233 * semantic/sb.el (semantic-sb-autoexpand-length):
3234 * semantic/lex.el (semantic-lex-comment-regex)
3235 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
3236 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
3237 * semantic/lex-spp.el
3238 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
3239 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
3240 * semantic/idle.el
3241 (semantic-idle-summary-current-symbol-info-brutish)
3242 (semantic-idle-summary-current-symbol-info-default):
3243 * semantic/grammar.el (semantic-grammar-recreate-package)
3244 (semantic--grammar-macro-compl-dict):
3245 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
3246 * semantic/format.el (semantic-format-tag-custom-list)
3247 (semantic-format-tag-canonical-name-default):
3248 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
3249 (semantic-find-tags-for-completion)
3250 (semantic-find-tags-by-scope-protection-default)
3251 (semantic-deep-find-tags-for-completion):
3252 * semantic/edit.el
3253 (semantic-edits-incremental-reparse-failed-hook)
3254 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
3255 (semantic-edits-splice-remove, semantic-edits-splice-replace):
3256 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
3257 * semantic/dep.el (semantic-dependency-include-path):
3258 * semantic/db.el (semanticdb-default-find-index-class)
3259 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
3260 (semanticdb-project-roots):
3261 * semantic/db-find.el (semanticdb-implied-include-tags)
3262 (semanticdb-find-adebug-insert-scanned-tag-cons)
3263 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
3264 (semanticdb-brute-deep-find-tags-for-completion):
3265 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
3266 * semantic/ctxt.el (semantic-beginning-of-context-default)
3267 (semantic-end-of-context-default)
3268 (semantic-ctxt-current-function-default)
3269 (semantic-ctxt-scoped-types-default):
3270 * semantic/complete.el (semantic-complete-read-tag-engine)
3271 (semantic-complete-inline-tag-engine)
3272 (semantic-complete-inline-custom-type)
3273 (semantic-complete-read-tag-analyzer):
3274 * semantic/chart.el (semantic-chart-tags-by-class)
3275 (semantic-chart-database-size):
3276 * semantic/analyze.el (semantic-analyze-current-symbol)
3277 (semantic-analyze-current-context):
3278 * semantic/symref/list.el (semantic-symref)
3279 (semantic-symref-hide-buffer, semantic-symref-symbol):
3280 * semantic/symref/grep.el (semantic-symref-grep-use-template):
3281 * semantic/symref/filter.el (semantic-symref-hits-in-region):
3282 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
3283 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
3284 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
3285 (semantic-c-dereference-template):
3286 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
3287 (semantic--analyze-refs-full-lookup-with-parents)
3288 (semantic--analyze-refs-full-lookup-simple):
3289 * semantic/analyze/complete.el
3290 (semantic-analyze-possible-completions):
3291 * srecode/table.el (srecode-mode-table-new):
3292 * srecode/srt.el (srecode-read-variable-name):
3293 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
3294 * srecode/semantic.el (srecode-semantic-handle-:tag)
3295 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
3296 * srecode/map.el (srecode-current-map):
3297 * srecode/insert.el (srecode-insert)
3298 (srecode-insert-variable-secondname-handler, srecode-insert-method)
3299 (srecode-template-inserter-point-override)
3300 (srecode-insert-include-lookup):
3301 * srecode/getset.el (srecode-auto-choose-class):
3302 * srecode/extract.el (srecode-inserter-extract):
3303 * srecode/document.el
3304 (srecode-document-autocomment-return-last-alist)
3305 (srecode-document-autocomment-param-type-alist)
3306 (srecode-document-insert-function-comment)
3307 (srecode-document-insert-variable-one-line-comment)
3308 (srecode-document-function-name-comment):
3309 * srecode/dictionary.el (srecode-create-dictionary)
3310 (srecode-compound-toString):
3311 * srecode/compile.el (srecode-flush-active-templates):
3312 * srecode/args.el (srecode-semantic-handle-:blank):
3313 Doc/message fixes.
3314
3315 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
3316
3317 * semantic/wisent/javat-wy.el
3318 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
3319
3320 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
3321
3322 * srecode/expandproto.el: Fix provide statement.
3323
3324 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
3325
3326 * ede/srecode.el: Fix provide statement.
3327
3328 2009-09-30 Glenn Morris <rgm@gnu.org>
3329
3330 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
3331 * ede/proj-aux.el (ede-aux-source):
3332 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
3333 (ede-misc-source):
3334 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
3335 (semantic-mrub-switch-tags): Fix doc typos.
3336
3337 * semantic/db-global.el (data-debug-new-buffer)
3338 (data-debug-insert-thing): Remove unneeded declarations (one broken).
3339 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
3340
3341 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
3342
3343 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
3344 use of CL function `remove-if-not'.
3345
3346 2009-09-29 Glenn Morris <rgm@gnu.org>
3347
3348 * semantic/symref/idutils.el:
3349 * semantic/symref/list.el: Relicense under GPLv3+.
3350
3351 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
3352
3353 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
3354 * semantic/tag-file.el (semanticdb-table-child-p):
3355 * srecode/compile.el (srecode-template-inserter-newline-child-p):
3356 Mark declarations not understood by check-declare.
3357
3358 2009-09-28 Eric Ludlam <zappo@gnu.org>
3359
3360 CEDET (development tools) package merged.
3361
3362 * *.el:
3363 * ede/*.el:
3364 * semantic/*.el:
3365 * srecode/*.el: New files.
3366
3367 2009-09-28 Eric Ludlam <zappo@gnu.org>
3368
3369 * cedet-cscope.el:
3370 * cedet-files.el:
3371 * cedet-global.el:
3372 * cedet-idutils.el:
3373 * data-debug.el:
3374 * inversion.el:
3375 * mode-local.el:
3376 * pulse.el: New files.
3377
3378 ;; Local Variables:
3379 ;; coding: utf-8
3380 ;; End:
3381
3382 Copyright (C) 2009-2014 Free Software Foundation, Inc.
3383
3384 This file is part of GNU Emacs.
3385
3386 GNU Emacs is free software: you can redistribute it and/or modify
3387 it under the terms of the GNU General Public License as published by
3388 the Free Software Foundation, either version 3 of the License, or
3389 (at your option) any later version.
3390
3391 GNU Emacs is distributed in the hope that it will be useful,
3392 but WITHOUT ANY WARRANTY; without even the implied warranty of
3393 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3394 GNU General Public License for more details.
3395
3396 You should have received a copy of the GNU General Public License
3397 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.