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