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