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