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