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