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