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