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