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