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