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