net-utils system-type trivia.
[bpt/emacs.git] / lisp / cedet / ChangeLog
CommitLineData
9b026d9f
GM
12010-11-09 Glenn Morris <rgm@gnu.org>
2
3 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
4 * semantic/grammar.el (semantic-grammar-epilogue):
5 * ede/speedbar.el (ede-find-nearest-file-line):
6 * ede/pmake.el (ede-proj-makefile-insert-dist-rules):
7 * ede/autoconf-edit.el (autoconf-delete-parameter):
8 Use point-at-bol and point-at-eol.
9
e180ab9f
GM
102010-11-07 Glenn Morris <rgm@gnu.org>
11
12 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.
13
9a1a272a
GM
142010-11-01 Glenn Morris <rgm@gnu.org>
15
ca7c89d8
GM
16 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use.
17
9a1a272a
GM
18 * semantic/symref/cscope.el (ede-toplevel):
19 * semantic/symref.el (ede-toplevel):
20 * semantic/tag-file.el (ede-toplevel):
21 * ede.el (ede-toplevel): Fix declarations.
22
fd8d481e
GM
232010-10-31 Glenn Morris <rgm@gnu.org>
24
39a766fb 25 * ede/proj-elisp.el (project-compile-target): Fix previous change.
fd8d481e
GM
26 * semantic/ede-grammar.el (project-compile-target): Fix previous change.
27
282010-10-31 Julien Danjou <julien@danjou.info>
29
30 * ede/proj-elisp.el (project-compile-target):
31 * semantic/ede-grammar.el (project-compile-target):
32 Use `byte-recompile-file'.
33
2699a554 342010-10-31 Glenn Morris <rgm@gnu.org>
d2ce10d2
GM
35
36 * mode-local.el (mode-local-augment-function-help):
37 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
38 * semantic/symref/list.el (semantic-symref-results-dump)
39 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
40 of toggle-read-only.
41
5d2e9377
CY
422010-09-30 Chong Yidong <cyd@stupidchicken.com>
43
44 * semantic/bovine/el.el:
45 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
46 Fix require statements.
47
ac73b1fa
CY
482010-09-29 Chong Yidong <cyd@stupidchicken.com>
49
50 * semantic/tag.el (semantic-tag-version): Bump to 2.0.
51
52 * semantic/db-typecache.el (semanticdb-typecache-find-default):
53 * semantic/imenu.el (semantic-create-imenu-index):
54 * semantic/grammar.el (semantic--grammar-macro-function-tag):
55 * semantic/fw.el (semanticdb-without-unloaded-file-searches): Fix
56 require. Suggested by David Engster.
57
58 * semantic/bovine/c-by.el: Regenerate.
59
602010-09-29 Eric Ludlam <zappo@gnu.org>
61
62 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
63 (semantic-lex-spp-enable-debug-symbol): New command
64 (semantic-lex-spp-value-valid-p)
65 (semantic-lex-spp-validate-value): New functions
66 (semantic-lex-spp-symbol-set)
67 (semantic-lex-spp-symbol-push): Add call to validate value.
68 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
69 invalid values during save, just save a nil.
70
b93e37e5
CY
712010-09-25 Chong Yidong <cyd@stupidchicken.com>
72
73 * ede/linux.el (ede-project-class-files):
74 * ede/generic.el (ede-generic-new-autoloader):
75 * ede/emacs.el (ede-project-class-files):
76 * ede/simple.el (ede-project-class-files):
77 * ede/cpp-root.el (ede-project-class-files): Fix require name.
78
40b1a3a9
JB
792010-09-25 Juanma Barranquero <lekktu@gmail.com>
80
81 * semantic/lex.el (semantic-ignore-comments): Doc fix.
82
83 * semantic/symref/list.el (semantic-symref-list-rename-open-hits):
84 Fix typo in error message.
85 (semantic-symref-list-map-open-hits): Fix typo in docstring.
86
b9749554
EL
872010-09-21 Eric Ludlam <zappo@gnu.org>
88
89 Synch SRecode to CEDET 1.0.
90
91 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
92 'never, disable all pulsing.
93
94 * cedet.el (cedet-version):
95 * srecode.el (srecode-version): Bump version to 1.0.
96
97 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
98 (semantic-insert-foreign-tag): Use it.
99
100 * srecode/mode.el (srecode-bind-insert): Call
101 srecode-load-tables-for-mode.
102 (srecode-minor-mode-templates-menu): Do not list templates that
103 are not in the current project.
104 (srecode-menu-bar): Add binding for srecode-macro-help.
105
106 * srecode/table.el (srecode-template-table): Add :project slot.
107 (srecode-dump): Dump it.
108
109 * srecode/map.el (srecode-map-update-map): Make map loading more
110 robust.
111
112 * srecode/insert.el (srecode-insert-fcn): Merge template
113 dictionary before resolving arguments.
114 (srecode-insert-method-helper): Add error checking to make sure
115 that we only have dictionaries.
116 (srecode-insert-method): Check template nesting depth when using
117 point inserter override.
118 (srecode-insert-method): Install override with depth limit.
119
120 * srecode/getset.el (srecode-insert-getset): Force tag table
121 update. Don't query the class if it is empty.
122
123 * srecode/find.el (srecode-template-get-table)
124 (srecode-template-get-table-for-binding)
125 (srecode-all-template-hash): Skip if not in current project.
126 (srecode-template-table-in-project-p): New method.
127
128 * srecode/fields.el (srecode-fields-exit-confirmation): New option.
129 (srecode-field-exit-ask): Use it.
130
131 * srecode/dictionary.el (srecode-dictionary-add-template-table):
132 Do not add variables in tables not for the current project.
133 (srecode-compound-toString): Handle cases where the default value
134 is another compound value.
135 (srecode-dictionary-lookup-name): New optional argument
136 NON-RECURSIVE, which inhibits visiting dictionary parents.
137 (srecode-dictionary-add-section-dictionary)
138 (srecode-dictionary-merge): New optional argument FORCE adds
139 values even if an identically named entry exists.
140 (srecode-dictionary-add-entries): New method.
141 (srecode-create-dictionaries-from-tags): New function.
142
143 * srecode/cpp.el (srecode-cpp): New defgroup.
144 (srecode-cpp-namespaces): New option.
145 (srecode-semantic-handle-:using-namespaces)
146 (srecode-cpp-apply-templates): New functions.
147 (srecode-semantic-apply-tag-to-dict): Handle template parameters
148 by calling `srecode-cpp-apply-templates'.
149
150 * srecode/compile.el (srecode-compile-templates): Fix directory
151 compare of built-in templates. Give built-ins lower piority.
152 Support special variable "project".
153 (srecode-compile-template-table): Set :project slot of new tables.
154 (srecode-compile-one-template-tag): Use
155 srecode-create-dictionaries-from-tags.
156
cb85c0d8
EL
1572010-09-21 Eric Ludlam <zappo@gnu.org>
158
159 Synch EDE to CEDET 1.0.
160
161 * cedet-idutils.el (cedet-idutils-make-command): New option.
162 (cedet-idutils-mkid-call):
163 (cedet-idutils-create/update-database): New functions.
164
165 * cedet-cscope.el (cedet-cscope-create):
166 (cedet-cscope-create/update-database): New functions.
167 (cedet-cscope-support-for-directory): Make interactive.
168
169 * cedet-global.el (cedet-global-gtags-command): New option.
170 (cedet-gnu-global-gtags-call)
171 (cedet-gnu-global-create/update-database): New functions.
172
173 * ede.el (ede-save-cache): Fix recentf-exclude expression.
174 (ede-make-dist): Always use toplevel project.
175 (ede-buffer-object): If we fail to find an object in the current
176 project, loop upward looking for a match. If no target is found,
177 use most local project.
178 (ede-buffer-belongs-to-target-p)
179 (ede-buffer-belongs-to-project-p): New functions.
180 (ede-initialize-state-current-buffer): New function.
181 (ede-target-forms-menu, ede-project-buffers): Use them.
182 (ede-minor-mode, ede-reset-all-buffers): Use it.
183 (project-interactive-select-target, project-add-file): Don't use
184 ede-project-force-load.
185 (ede-buffer-object): New arg PROJSYM.
186 (ede-minor-mode): Remove ede-directory-project-p test.
187 (ede-initialize-state-current-buffer): Don't test for
188 ede-directory-project-p if there is a matching open project.
189 (ede-customize-forms-menu): Prevent error if there is no project.
190 (ede-load-project-file): Set ede-constructing to the thing being
191 constructed, instead of t.
192 (ede-project-force-load): Deleted.
193
194 * ede/base.el:
195 * ede/auto.el:
196 * ede/custom.el: New files.
197
198 * ede/autoconf-edit.el (autoconf-find-last-macro)
199 (autoconf-parameters-for-macro): Parse multiline parameters of
200 macros. Optionally ignore case and at bol for macro.
201 (autoconf-parameter-strip): Use greedy match for newlines.
202 (autoconf-new-automake-string): Deleted.
203 (autoconf-new-program): Use SRecode to fill an empty file.
204
205 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): New
206 function.
207
208 * ede/files.el (ede-flush-project-hash): New command.
209 (ede-convert-path): Add optional PROJECT arg.
210 (ede-directory-project-p): Obey ".ede-ignore".
211 (ede-expand-filename-local)
212 (ede-expand-filename-impl-via-subproj): New methods.
213 (ede-expand-filename-impl): Use them.
214 (ede-project-root, ede-project-root-directory): Move to
215 ede/auto.el.
216
217 * ede/locate.el (ede-locate-flush-hash):
218 (ede-locate-create/update-root-database): New methods.
219 (initialize-instance): Use ede-locate-flush-hash.
220
221 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is
222 the top project and not a metasubproject, set TOP to CURDIR.
223 (ede-proj-makefile-insert-variables): Output a target's object
224 list whether or not the vars are already in the Makefile.
225 (ede-pmake-insert-variable-once): New macro.
226
227 * ede/project-am.el (project-am-with-makefile-current): Add
228 recentf-exclude.
229 (project-am-load-makefile): Obey an optional suggested name.
230 (project-am-expand-subdirlist): New function.
231 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS
232 and DIST_SUBDIRS.
233 (project-am-meta-type-alist): A list to scan better Makefile.am
234 (project-am-scan-for-targets): Scan also over
235 project-am-meta-type-alist.
236 (ede-system-include-path): Simple implementation.
237 (ede-find-target): Deleted. EDE core takes care of this.
238 (ede-buffer-mine): Create the searched filename as relative.
239 (project-am-load): Simplify, using autoconf-edit.
240 (project-am-extract-package-info): Fix separators.
241
242 * ede/proj.el (project-run-target): New method.
243 (project-make-dist, project-compile-project): Use
244 ede-proj-automake-p to determine which kind of compile to use.
245 (project-rescan): Call ede-load-project-file.
246 (ede-buffer-mine): Add more file names that belong to the project.
247 (ede-proj-compilers): Improve error message.
248
249 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
250 (ede-source-c++): Add more C++ extensions.
251 (ede-proj-target-makefile-objectcode): Quote initforms. Support
252 lex and yacc.
253
254 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Removed.
255 (ede-proj-makefile-insert-variables): New, add LDDEPS.
256 (ede-proj-makefile-insert-automake-post-variables): Add LDADD
257 variable. Use ldlibs-local slot. Add a -l to ldlibs strings.
258 (ede-proj-target-makefile-program): Swap order of two slots so
259 they show up in the same order as in the command line.
260 (ede-proj-target-makefile-program): Add ldlibs-local slot.
261
262 * ede/proj-shared.el (ede-g++-libtool-shared-compiler): Fix
263 inference rule to use cpp files.
264 (ede-proj-target-makefile-shared-object): Quote initforms.
265
266 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
267 * ede/proj-info.el (ede-proj-target-makefile-info):
268 * ede/proj-aux.el (ede-proj-target-aux):
269 * ede/proj-archive.el (ede-proj-target-makefile-archive):
270 * ede/proj-elisp.el (ede-proj-target-elisp)
271 (ede-proj-target-elisp-autoloads): Quote initforms.
272
273 * ede/srecode.el (ede-srecode-setup): Load autoconf templates.
274
275 * ede/shell.el (ede-shell-buffer): Fix buffer name.
276
277 * ede/pconf.el (ede-proj-configure-synchronize): If user events
278 occur while waiting for the compile process to finish, pull them
279 in and discard those events.
280
dd9af436
CY
2812010-09-19 Eric Ludlam <zappo@gnu.org>
282
283 Synch Semantic to CEDET 1.0.
284
285 * semantic.el (semantic-version): Update to 2.0.
286 (semantic-mode-map): Add "," and "m" bindings.
287 (navigate-menu): Update.
288
289 * semantic/symref.el (semantic-symref-calculate-rootdir):
290 New function.
291 (semantic-symref-detect-symref-tool): Use it.
292
293 * semantic/symref/grep.el (semantic-symref-grep-shell): New var.
294 (semantic-symref-perform-search): Use it. Calculate root dir with
295 semantic-symref-calculate-rootdir.
296 (semantic-symref-derive-find-filepatterns): Improve error message.
297
298 * semantic/symref/list.el
299 (semantic-symref-results-mode-map): New bindings.
300 (semantic-symref-auto-expand-results): New option.
301 (semantic-symref-results-dump): Obey auto-expand.
302 (semantic-symref-list-expand-all, semantic-symref-regexp)
303 (semantic-symref-list-contract-all)
304 (semantic-symref-list-map-open-hits)
305 (semantic-symref-list-update-open-hits)
306 (semantic-symref-list-create-macro-on-open-hit)
307 (semantic-symref-list-call-macro-on-open-hits): New functions.
308 (semantic-symref-list-menu-entries)
309 (semantic-symref-list-menu): New vars.
310 (semantic-symref-list-map-open-hits): Move cursor to beginning of
311 match before calling the mapped function.
312
313 * semantic/doc.el
314 (semantic-documentation-comment-preceeding-tag): Do nothing if the
315 mode doesn't provide comment-start-skip.
316
317 * semantic/scope.el
318 (semantic-analyze-scope-nested-tags-default): Strip duplicates.
319 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are
320 looking for as part of the scoped tags list.
321
322 * semantic/html.el (semantic-default-html-setup): Add
323 senator-step-at-tag-classes.
324
325 * semantic/decorate/include.el
326 (semantic-decoration-on-unknown-includes): Change light bgcolor.
327 (semantic-decoration-on-includes-highlight-default): Check that
328 the include tag has a postion.
329
330 * semantic/complete.el (semantic-collector-local-members):
331 (semantic-complete-read-tag-local-members)
332 (semantic-complete-jump-local-members): New class and functions.
333 (semantic-complete-self-insert): Save excursion before completing.
334
335 * semantic/analyze/complete.el
336 (semantic-analyze-possible-completions-default): If no completions
337 are found, return the raw by-name-only completion list. Add FLAGS
338 arguments. Add support for 'no-tc (type constraint) and
339 'no-unique, or no stripping duplicates.
340 (semantic-analyze-possible-completions-default): Add FLAGS arg.
341
342 * semantic/util-modes.el
343 (semantic-stickyfunc-show-only-functions-p): New option.
344 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
345 the very first line in a buffer.
346
347 * semantic/util.el (semantic-hack-search)
348 (semantic-recursive-find-nonterminal-by-name)
349 (semantic-current-tag-interactive): Deleted.
350 (semantic-describe-buffer): Fix expand-nonterminal. Add
351 lex-syntax-mods, type relation separator char, and command
352 separation char.
353 (semantic-sanity-check): Only message if called interactively.
354
355 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
356 :filename property and the tag position.
357
358 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
359 Add recursion limit.
360
361 * semantic/imenu.el (semantic-imenu-bucketize-type-members):
362 Make this buffer local, not the obsoleted variable.
363
364 * semantic/idle.el: Add breadcrumbs support.
365 (semantic-idle-summary-current-symbol-info-default)
366 (semantic-idle-tag-highlight)
367 (semantic-idle-completion-list-default): Use
368 semanticdb-without-unloaded-file-searches for speed, and to
369 conform to the controls that specify if the idle timer is supposed
370 to be parsing unparsed includes.
371 (semantic-idle-symbol-highlight-face)
372 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
373 Callers changed.
374 (semantic-idle-work-parse-neighboring-files-flag): Default to nil.
375 (semantic-idle-work-update-headers-flag): New var.
376 (semantic-idle-work-for-one-buffer): Use it.
377 (semantic-idle-local-symbol-highlight): Rename from
378 semantic-idle-tag-highlight.
379 (semantic-idle-truncate-long-summaries): New option.
380
381 * semantic/ia.el (semantic-ia-cache)
382 (semantic-ia-get-completions): Deleted. Callers changed.
383 (semantic-ia-show-variants): New command.
384 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
385 (semantic-ia-show-summary): If there isn't anything to show, say so.
386
387 * semantic/grammar.el (semantic-grammar-create-package):
388 Save the buffer even in batch mode.
389
390 * semantic/fw.el
391 (semanticdb-without-unloaded-file-searches): New macro.
392
393 * semantic/dep.el (semantic-dependency-find-file-on-path):
394 Fix case dereferencing ede-object when it is a list.
395
396 * semantic/db-typecache.el (semanticdb-expand-nested-tag)
397 (semanticdb-typecache-faux-namespace): New functions.
398 (semanticdb-typecache-file-tags)
399 (semanticdb-typecache-merge-streams): Use them.
400 (semanticdb-typecache-file-tags): When deriving tags from a file,
401 give the mode a chance to monkey with the tag copy.
402 (semanticdb-typecache-find-default): Wrap find in save-excursion.
403 (semanticdb-typecache-find-by-name-helper): Merge found names down.
404
405 * semantic/db-global.el
406 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if
407 GNU Global is not available and we don't want to throw an error.
408
409 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
410 When trying to normalize the tag to a buffer, don't error if
411 set-buffer method doesn't exist.
412
413 * semantic/db-file.el (semanticdb-save-db): Simplify msg.
414
415 * semantic/db.el (semanticdb-refresh-table): If forcing a
416 refresh on a file not in a buffer, use semantic-find-file-noselect
417 and delete the buffer after use.
418 (semanticdb-current-database-list): When calculating root via
419 hooks, force it through true-filename and skip the list of
420 possible roots.
421
422 * semantic/ctxt.el (semantic-ctxt-imported-packages): New.
423
424 * semantic/analyze/debug.el
425 (semantic-analyzer-debug-insert-tag): Reset standard output to
426 current buffer.
427 (semantic-analyzer-debug-global-symbol)
428 (semantic-analyzer-debug-missing-innertype): Change "prefix" to
429 "symbol" in messages.
430
431 * semantic/analyze/refs.el: (semantic-analyze-refs-impl)
432 (semantic-analyze-refs-proto): When calculating value, make sure
433 the found tag is 'similar' to the originating tag.
434 (semantic--analyze-refs-find-tags-with-parent): Attempt to
435 identify matches via imported symbols of parents.
436 (semantic--analyze-refs-full-lookup-with-parents): Do a deep
437 search during the brute search.
438
439 * semantic/analyze.el
440 (semantic-analyze-find-tag-sequence-default): Be robust to
441 calculated scopes being nil.
442
443 * semantic/bovine/c.el (semantic-c-describe-environment): Add
444 project macro symbol array.
445 (semantic-c-parse-lexical-token): Add recursion limit.
446 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag):
447 New overrides.
448 (semantic-expand-c-tag-namelist): Split a full type from a typedef
449 out to its own tag.
450 (semantic-expand-c-tag-namelist): Do not split out a typedef'd
451 inline type if it is an anonymous type.
452 (semantic-c-reconstitute-token): Use the optional initializers as
453 a clue that some function is probably a constructor. When
454 defining the type of these constructors, split the parent name,
455 and use only the class part, if applicable.
456
457 * semantic/bovine/c-by.el:
458 * semantic/wisent/python-wy.el: Regenerate.
459
4602010-07-20 Juanma Barranquero <lekktu@gmail.com>
461
462 * semantic/db-file.el (object-write): Fix typo in docstring.
463
4642010-06-03 Eric Ludlam <zappo@gnu.org>
465
466 * semantic/lex-spp.el
467 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
468 invalid values during save, just save a nil (Bug#6324).
469
4702010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
471
472 * ede/cpp-root.el (ede-set-project-variables): Fix feature name
473 (bug#6231).
474
266a86bd
CY
4752010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 Use a mode-line spec rather than a static string in Semantic.
478 * semantic/util-modes.el:
479 (semantic-minor-modes-format): New var to replace...
480 (semantic-minor-modes-status): Remove.
481 (semantic-mode-line-update): Construct a mode-line spec rather than
482 a static string so that mouse buttons can be used on individual minor
483 modes and so that semantic-mode-line-update only needs to be called
484 when global settings are changed.
485 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
486 Call semantic-mode-line-update.
487 (semantic-toggle-minor-mode-globally): Don't assume mode is on
488 minor-mode-alist, check semantic-minor-mode-alist as well.
489 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
490 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
491 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
492 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
493 * semantic/idle.el (semantic-idle-scheduler-mode)
494 (define-semantic-idle-service, semantic-idle-summary-mode):
495 * semantic/decorate/mode.el (semantic-decoration-mode):
496 Don't call semantic-mode-line-update any more.
497
4982010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 Use define-minor-mode in CEDET where applicable.
501
502 * srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
503 Use define-minor-mode.
504
505 * semantic/util-modes.el (semantic-add-minor-mode):
506 Remove unused arg `keymap' and code redundant with define-minor-mode.
507 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
508 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
509 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
510 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
511 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
512 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
513 Use define-minor-mode.
514 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
515 (semantic-show-unmatched-syntax-mode-setup)
516 (semantic-show-parser-state-mode-setup)
517 (semantic-highlight-func-mode-setup): Inline into sole caller.
518
519 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
520 (semantic-mru-bookmark-mode): Use define-minor-mode.
521 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
522
523 * semantic/idle.el (define-semantic-idle-service):
524 Use define-minor-mode and inline setup function into its sole caller.
525 (semantic-idle-scheduler-mode-setup)
526 (semantic-idle-summary-mode-setup): Inline into sole caller.
527 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
528 Use define-minor-mode.
529
530 * semantic/decorate/mode.el (global-semantic-decoration-mode)
531 (semantic-decoration-mode): Use define-minor-mode.
532 (semantic-decoration-mode-setup): Inline into sole caller.
533
534 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
535 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
536 (ede-dired-add-to-target): Use dolist.
537
266a86bd
CY
5382010-04-29 Chong Yidong <cyd@stupidchicken.com>
539
540 * semantic.el (semantic-completion-at-point-function):
541 New function.
542 (semantic-mode): Use semantic-completion-at-point-function for
543 completion-at-point-functions instead.
544
5452010-04-28 Chong Yidong <cyd@stupidchicken.com>
546
547 * semantic.el (semantic-mode): When enabled, add
548 semantic-ia-complete-symbol to completion-at-point-functions.
549
550 * semantic/ia.el (semantic-ia-complete-symbol): Return nil
551 if Semantic is not active.
552
5532010-04-19 Chong Yidong <cyd@stupidchicken.com>
554
555 * ede/pmake.el (ede-proj-makefile-insert-variables):
556 Don't destroy list before using it.
557
dd9af436
CY
5582010-04-02 Juanma Barranquero <lekktu@gmail.com>
559
560 * semantic/imenu.el (semantic-imenu-bucketize-type-members)
561 (semantic-create-imenu-directory-index): Fix typos in docstrings.
562 (semantic-imenu-goto-function): Reflow docstring.
563
5642010-03-24 Juanma Barranquero <lekktu@gmail.com>
565
566 * srecode/table.el (srecode-template-table): Fix docstring typo.
567
266a86bd
CY
5682010-03-24 Glenn Morris <rgm@gnu.org>
569
570 * semantic/bovine/c.el (semantic-c-describe-environment):
571 Consistently check ede-object is bound throughout.
572
573 * ede/project-am.el (ede-shell-run-something): Declare.
574
dd9af436
CY
5752010-03-13 Eric M. Ludlam <zappo@gnu.org>
576
577 * semantic/imenu.el: New file, from the CEDET repository
578 (Bug#5412).
579
5802010-03-06 Glenn Morris <rgm@gnu.org>
581
582 * semantic/grammar.el (semantic-grammar-header-template):
583 Update template copyright to GPLv3+.
584
5852010-02-28 Chong Yidong <cyd@stupidchicken.com>
586
587 * semantic/db-find.el
588 (semanticdb-find-translate-path-brutish-default):
589 * ede/make.el (ede-make-check-version): Use
590 with-current-buffer instead of save-excursion.
591
76e3243a
JB
5922010-02-24 Eduard Wiebe <usenet@pusto.de>
593
594 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag):
595 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640).
596
dd9af436
CY
5972010-02-16 Chong Yidong <cyd@stupidchicken.com>
598
599 * data-debug.el (data-debug): Move to extensions group.
600
601 * ede.el (ede):
602 * srecode.el (srecode):
603 * semantic.el (semantic): Put in tools and extensions group.
604
6052010-02-14 Juanma Barranquero <lekktu@gmail.com>
606
607 * ede.el (ede-run-target, project-delete-target)
608 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
609 (ede-adebug-project, ede-adebug-project-parent)
610 (ede-adebug-project-root): Fix typos in docstrings.
611
6122010-01-18 Juanma Barranquero <lekktu@gmail.com>
613
614 * ede/locate.el (ede-locate-file-in-project)
615 (ede-locate-file-in-project-impl): Fix typos in docstrings.
616 (ede-enable-locate-on-project): Fix typos in error messages.
617
618 * semantic/util-modes.el (semantic-unmatched-syntax-face)
619 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
620 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
621 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
622 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
623 Fix typos in menu help.
624
625 * semantic.el (semantic-require-version, semantic--buffer-cache)
626 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
627 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
628 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
629 (semantic-parse-stream, semantic-parse-region)
630 (semantic-parse-region-default, semantic--set-buffer-cache)
631 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
632 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
633 (semantic-default-submodes):
634 * semantic/db-ebrowse.el (semanticdb-table-ebrowse)
635 (semanticdb-create-ebrowse-database)
636 (semanticdb-find-tags-for-completion-method)
637 (semanticdb-find-tags-by-class-method)
638 (semanticdb-deep-find-tags-by-name-method)
639 (semanticdb-deep-find-tags-for-completion-method):
640 * semantic/db-el.el (semanticdb-elisp-mapatom-collector)
641 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
642 (semanticdb-find-tags-for-completion-method)
643 (semanticdb-find-tags-by-class-method)
644 (semanticdb-deep-find-tags-for-completion-method):
645 * semantic/db-find.el (semanticdb-find-translate-path)
646 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
647 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
648 (semanticdb-find-tags-by-name-method)
649 (semanticdb-find-tags-by-name-regexp-method)
650 (semanticdb-find-tags-for-completion-method)
651 (semanticdb-find-tags-by-class-method)
652 (semanticdb-find-tags-external-children-of-type-method)
653 (semanticdb-find-tags-subclasses-of-type-method)
654 (semanticdb-deep-find-tags-by-name-method)
655 (semanticdb-deep-find-tags-by-name-regexp-method)
656 (semanticdb-deep-find-tags-for-completion-method):
657 * semantic/db-global.el (semanticdb-enable-gnu-global-hook)
658 (semanticdb-enable-gnu-global-in-buffer)
659 (semanticdb-find-tags-for-completion-method)
660 (semanticdb-deep-find-tags-by-name-method)
661 (semanticdb-deep-find-tags-for-completion-method):
662 * semantic/db-javascript.el (semanticdb-javascript-tags)
663 (javascript-mode, semanticdb-find-translate-path)
664 (semanticdb-find-tags-for-completion-method)
665 (semanticdb-find-tags-by-class-method)
666 (semanticdb-deep-find-tags-by-name-method)
667 (semanticdb-deep-find-tags-for-completion-method)
668 (semanticdb-find-tags-external-children-of-type-method):
669 * semantic/idle.el (semantic-idle-work-core-handler)
670 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
671 (global-semantic-idle-scheduler-mode):
672 * srecode/dictionary.el (srecode-field-value)
673 (srecode-dictionary-add-section-dictionary):
674 Fix typos in docstrings.
675
6762010-01-17 Glenn Morris <rgm@gnu.org>
677
678 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
679
6802010-01-17 Juanma Barranquero <lekktu@gmail.com>
681
682 * semantic.el (semantic-mode): Fix typos in docstrings.
683
6842010-01-16 Mario Lang <mlang@delysid.org>
685
686 * ede/cpp-root.el (ede-cpp-root-project):
687 * ede/files.el (ede-expand-filename):
688 * ede/simple.el (ede-simple-project):
689 * semantic/complete.el (semantic-complete-read-tag-engine)
690 (semantic-complete-inline-tag-engine):
691 * semantic/db-el.el (semanticdb-equivalent-mode):
692 * semantic/db-global.el (semanticdb-equivalent-mode):
693 * semantic/db-javascript.el (semanticdb-equivalent-mode):
694 * semantic/db.el (semanticdb-equivalent-mode):
695 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
696 * semantic/idle.el (semantic-idle-work-for-one-buffer):
697 Remove duplicated words in doc-strings.
698
6992010-01-14 Juanma Barranquero <lekktu@gmail.com>
700
701 * semantic/edit.el (semantic-reparse-needed-change-hook)
702 (semantic-no-reparse-needed-change-hook):
703 * srecode/insert.el (srecode-resolve-argument-list)
704 (srecode-template-inserter-blank, srecode-template-inserter-variable)
705 (srecode-template-inserter-ask, srecode-template-inserter-width)
706 (srecode-template-inserter-section-start)
707 (srecode-template-inserter-section-end, srecode-insert-method):
708
7092010-01-12 Juanma Barranquero <lekktu@gmail.com>
710
711 * data-debug.el (data-debug): Fix customization group reference.
712
7132010-01-12 Juanma Barranquero <lekktu@gmail.com>
714
715 * semantic/analyze.el (semantic-analyze-push-error)
716 (semantic-analyze-context, semantic-analyze-context-assignment)
717 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
718 * semantic/java.el (java-mode, semantic-tag-include-filename)
719 (semantic-java-doc-keywords-map):
720 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
721 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
722 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
723 (semantic-c-classname, semantic-format-tag-uml-prototype)
724 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
725 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
726 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
727 (semantic-get-local-variables, semantic-end-of-command)
728 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
729 (lisp-mode):
730 * semantic/bovine/make.el (makefile-mode):
731 * semantic/wisent/python.el (wisent-python-string-re)
732 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
733 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
734 (semantic-lex, semantic-get-local-variables, python-mode):
735 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
736 * srecode/extract.el (srecode-extract-state-set)
737 (srecode-extract-method): Fix typos in docstrings.
738
7392010-01-10 Chong Yidong <cyd@stupidchicken.com>
740
741 * semantic.el (semantic-new-buffer-setup-functions):
742 Add python parser.
743
7442010-01-10 Richard Kim <emacs18@gmail.com>
745
746 * semantic/wisent/python-wy.el:
747 * semantic/wisent/python.el: New files.
748
7492010-01-02 Juanma Barranquero <lekktu@gmail.com>
750
751 * semantic/db-typecache.el (semanticdb-typecache-find-default):
752 Fix typo in docstring.
753
7542009-12-14 Chong Yidong <cyd@stupidchicken.com>
755
756 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
757 (semantic-mru-bookmark-mode): Doc fixes.
758
759 * semantic/db.el (semanticdb-cache-get): Use error instead
760 of assert.
761
7622009-12-05 Chong Yidong <cyd@stupidchicken.com>
763
764 * semantic/ia.el (semantic-ia-complete-symbol):
765 Make argument optional.
766
7672009-12-05 Eric Ludlam <zappo@gnu.org>
768
769 * semantic/bovine/c.el (semantic-c-describe-environment):
770 Describe project macro symbols.
771
772 * semantic/complete.el (semantic-complete-do-completion):
773 Don't call semantic-collector-current-exact-match.
774
775 * ede.el (ede-apply-preprocessor-map): Accept lists of
776 ede-objects as targets.
777
778 * ede/pmake.el (ede-proj-makefile-insert-variables): Output
779 a target's object list even if compiler vars are already in the
780 Makefile.
781
782 * ede/emacs.el (ede-preprocessor-map): Add config.h to the
783 list of headers producing necessary macros.
784
7852009-11-24 Glenn Morris <rgm@gnu.org>
786
787 * semantic/idle.el (global-semantic-idle-scheduler-mode):
788 Move after definition of global-semantic-idle-tag-highlight-mode.
789
7902009-11-22 Chong Yidong <cyd@stupidchicken.com>
791
792 * srecode/map.el (srecode-get-maps):
793 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
794 * semantic/wisent/comp.el (wisent-toggle-verbose-flag):
795 * semantic/decorate/mode.el (semantic-decoration-mode)
796 (semantic-toggle-decoration-style):
797 * semantic/decorate/include.el
798 (semantic-decoration-include-describe)
799 (semantic-decoration-unknown-include-describe)
800 (semantic-decoration-unparsed-include-describe)
801 (semantic-decoration-all-include-summary):
802 * semantic/bovine/c.el (semantic-c-debug-mode-init):
803 * semantic/analyze/complete.el
804 (semantic-analyze-possible-completions):
805 * semantic/util-modes.el (semantic-highlight-edits-mode)
806 (semantic-show-unmatched-syntax-mode)
807 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
808 (semantic-highlight-func-mode):
809 * semantic/util.el (semantic-describe-buffer):
810 * semantic/symref.el (semantic-symref-find-references-by-name)
811 (semantic-symref-find-tags-by-name)
812 (semantic-symref-find-tags-by-regexp)
813 (semantic-symref-find-tags-by-completion)
814 (semantic-symref-find-file-references-by-name)
815 (semantic-symref-find-text):
816 * semantic/senator.el (senator-copy-tag, senator-kill-tag)
817 (senator-yank-tag):
818 * semantic/scope.el (semantic-calculate-scope):
819 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
820 * semantic/idle.el (semantic-idle-scheduler-mode)
821 (define-semantic-idle-service):
822 * semantic/complete.el (semantic-complete-analyze-inline)
823 (semantic-complete-analyze-inline-idle):
824 * semantic/analyze.el (semantic-analyze-current-context):
825 * mode-local.el (describe-mode-local-bindings)
826 (describe-mode-local-bindings-in-mode):
827 * ede/make.el (ede-make-check-version):
828 * ede/locate.el (ede-enable-locate-on-project):
829 * cedet-idutils.el (cedet-idutils-expand-filename)
830 (cedet-idutils-version-check):
831 * cedet-global.el (cedet-gnu-global-expand-filename)
832 (cedet-gnu-global-version-check):
833 * cedet-cscope.el (cedet-cscope-expand-filename)
834 (cedet-cscope-version-check): Use called-interactively-p instead
835 of interactive-p.
836
837 * semantic/ia.el (semantic-ia-completion-format-tag-function):
838 Use semantic-format-tag-prototype.
839
8402009-11-21 Chong Yidong <cyd@stupidchicken.com>
841
842 * semantic/complete.el (semantic-complete-read-tag-engine)
843 (semantic-complete-jump-local, semantic-complete-jump):
844 Improve prompt string.
845
8462009-11-20 Chong Yidong <cyd@stupidchicken.com>
847
848 * semantic/complete.el (semantic-complete-inline-map): Doc fix.
849
850 * semantic/idle.el (define-semantic-idle-service)
851 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
852
8532009-11-20 Chong Yidong <cyd@stupidchicken.com>
854
855 * cedet.el (cedet-menu-map): Re-order menu items.
856
857 * semantic.el: Enable idle-mode menu items only if
858 global-semantic-idle-scheduler-mode is enabled.
859 (semantic-default-submodes): Doc fix.
860
861 * semantic/idle.el (global-semantic-idle-scheduler-mode):
862 When turning off, disable other idle modes.
863
8642009-11-15 Chong Yidong <cyd@stupidchicken.com>
865
866 * semantic/idle.el (semantic-idle-summary-mode)
867 (semantic-idle-summary-mode): Define using define-minor-mode
868 instead of define-semantic-idle-service.
869 (semantic-idle-summary-mode): New function.
870 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
871 that mouse motion does not reset the echo area.
872
8732009-11-08 Chong Yidong <cyd@stupidchicken.com>
874
875 * semantic/ctxt.el (semantic-get-local-variables): Disable
876 the progress reporter entirely.
877
8782009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * semantic/fw.el (semantic/loaddefs):
881 * srecode.el (srecode/loaddefs):
882 * ede.el (ede/loaddefs): Load rather than require.
883 * ede/cpp-root.el:
884 * ede/emacs.el:
885 * ede/files.el:
886 * ede/linux.el:
887 * ede/locate.el:
888 * ede/make.el:
889 * ede/shell.el:
890 * ede/speedbar.el:
891 * ede/system.el:
892 * ede/util.el:
893 * semantic/analyze.el:
894 * semantic/bovine.el:
895 * semantic/complete.el:
896 * semantic/ctxt.el:
897 * semantic/db-file.el:
898 * semantic/db-find.el:
899 * semantic/db-global.el:
900 * semantic/db-mode.el:
901 * semantic/db-typecache.el:
902 * semantic/db.el:
903 * semantic/debug.el:
904 * semantic/dep.el:
905 * semantic/doc.el:
906 * semantic/edit.el:
907 * semantic/find.el:
908 * semantic/format.el:
909 * semantic/html.el:
910 * semantic/ia-sb.el:
911 * semantic/ia.el:
912 * semantic/idle.el:
913 * semantic/lex-spp.el:
914 * semantic/lex.el:
915 * semantic/mru-bookmark.el:
916 * semantic/scope.el:
917 * semantic/senator.el:
918 * semantic/sort.el:
919 * semantic/symref.el:
920 * semantic/tag-file.el:
921 * semantic/tag-ls.el:
922 * semantic/tag-write.el:
923 * semantic/tag.el:
924 * semantic/util-modes.el:
925 * semantic/analyze/complete.el:
926 * semantic/analyze/refs.el:
927 * semantic/bovine/c.el:
928 * semantic/bovine/gcc.el:
929 * semantic/bovine/make.el:
930 * semantic/bovine/scm.el:
931 * semantic/decorate/include.el:
932 * semantic/decorate/mode.el:
933 * semantic/symref/cscope.el:
934 * semantic/symref/global.el:
935 * semantic/symref/grep.el:
936 * semantic/symref/idutils.el:
937 * semantic/symref/list.el:
938 * semantic/wisent/java-tags.el:
939 * semantic/wisent/javascript.el:
940 * srecode/compile.el:
941 * srecode/cpp.el:
942 * srecode/document.el:
943 * srecode/el.el:
944 * srecode/expandproto.el:
945 * srecode/getset.el:
946 * srecode/insert.el:
947 * srecode/java.el:
948 * srecode/map.el:
949 * srecode/mode.el:
950 * srecode/template.el:
951 * srecode/texi.el: Remove the file-local setting of
952 generated-autoload-feature.
953
9542009-11-03 Glenn Morris <rgm@gnu.org>
955
956 * mode-local.el (with-mode-local): Doc fix.
957
9582009-10-31 Chong Yidong <cyd@stupidchicken.com>
959
960 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu
961 items.
962
963 * ede.el (ede-minor-mode):
964 * semantic.el (semantic-mode): Toggle menu separators.
965
9662009-10-31 Glenn Morris <rgm@gnu.org>
967
968 * semantic/tag.el (semantic--tag-link-list-to-buffer):
969 Use mapc rather than mapcar because the return value is never used.
970
266a86bd
CY
971 * srecode/template.el, semantic/wisent/javascript.el:
972 * semantic/wisent/java-tags.el, semantic/texi.el:
dd9af436
CY
973 * semantic/html.el:
974 Suppress harmless warnings about setting up semantic-imenu (not
975 part of Emacs) variables.
976
9772009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * srecode/srt-mode.el (semantic-analyze-possible-completions):
980 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
981 * semantic/symref/grep.el (semantic-symref-perform-search):
982 * semantic/bovine/gcc.el (semantic-gcc-query):
983 * semantic/bovine/c.el (semantic-c-parse-lexical-token):
984 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
985 (semantic-analyzer-debug-global-symbol)
986 (semantic-analyzer-debug-missing-innertype)
987 (semantic-analyzer-debug-insert-include-summary):
988 * semantic/util.el (semantic-file-tag-table):
989 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
990 (semantic-recursive-find-nonterminal-by-name):
991 * semantic/tag-ls.el (semantic-tag-calculate-parent-default):
992 * semantic/tag-file.el (semantic-prototype-file):
993 * semantic/symref.el (semantic-symref-parse-tool-output):
994 * semantic/sb.el (semantic-sb-fetch-tag-table):
995 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
996 * semantic/idle.el (semantic-idle-work-for-one-buffer):
997 (semantic-idle-summary-maybe-highlight):
998 * semantic/ia-sb.el (semantic-ia-speedbar)
999 (semantic-ia-sb-tag-info):
1000 * semantic/grammar.el (semantic-analyze-possible-completions):
1001 * semantic/find.el (semantic-brute-find-tag-by-position):
1002 * semantic/ede-grammar.el (project-compile-target):
1003 (ede-proj-makefile-insert-variables):
1004 * semantic/debug.el (semantic-debug-set-parser-location):
1005 (semantic-debug-set-source-location, semantic-debug-interface-layout)
1006 (semantic-debug-mode, semantic-debug):
1007 * semantic/db.el (semanticdb-needs-refresh-p):
1008 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
1009 * semantic/db-javascript.el (semanticdb-equivalent-mode):
1010 * semantic/db-find.el (semanticdb-find-log-new-search)
1011 (semanticdb-find-translate-path-includes--internal)
1012 (semanticdb-reset-log, semanticdb-find-log-activity):
1013 * semantic/db-file.el (object-write):
1014 * semantic/db-el.el (semanticdb-equivalent-mode):
1015 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
1016 (semanticdb-create-ebrowse-database):
1017 * semantic/db-debug.el (semanticdb-table-sanity-check):
1018 * semantic/complete.el (semantic-displayor-focus-request)
1019 (semantic-collector-calculate-completions-raw)
1020 (semantic-complete-read-tag-analyzer):
1021 * semantic/analyze.el (semantic-analyze-pulse):
1022 * ede/util.el (ede-update-version-in-source):
1023 * ede/proj.el (project-delete-target):
1024 * ede/proj-elisp.el (ede-update-version-in-source)
1025 (ede-proj-flush-autoconf):
1026 * ede/pconf.el (ede-proj-configure-synchronize)
1027 (ede-proj-configure-synchronize):
1028 * ede/locate.el (ede-locate-file-in-project-impl):
1029 * ede/linux.el (ede-linux-version):
1030 * ede/emacs.el (ede-emacs-version):
1031 * ede/dired.el (ede-dired-add-to-target):
1032 * ede.el (ede-buffer-header-file, ede-find-target)
1033 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
1034 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
1035 * cedet-idutils.el (cedet-idutils-fnid-call):
1036 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
1037 (cedet-idutils-version-check):
1038 * cedet-global.el (cedet-gnu-global-call):
1039 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
1040 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
1041 * cedet-cscope.el (cedet-cscope-call)
1042 (cedet-cscope-expand-filename, cedet-cscope-version-check):
1043 Use with-current-buffer.
1044 * ede.el (ede-make-project-local-variable)
1045 (ede-set-project-variables, ede-set): Use dolist.
1046
10472009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * mode-local.el (make-obsolete-overload): Add `when' argument.
1050 (overload-docstring-extension): Use that info.
1051 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
1052 * semantic/idle.el (semantic-eldoc-current-symbol-info):
1053 * semantic/tag-ls.el (semantic-nonterminal-protection)
1054 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
1055 (semantic-nonterminal-full-name): Add the new `when' info.
1056 * semantic/decorate/mode.el (semantic/decorate): Require CL for
1057 `assert'.
1058
10592009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * semantic/fw.el (semantic-alias-obsolete)
1062 (semantic-varalias-obsolete): Make the `when' arg mandatory.
1063 (define-mode-overload-implementation):
1064 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
1065 * semantic/wisent.el (wisent-lex-make-token-table):
1066 * semantic/util.el (semantic-file-token-stream)
1067 (semantic-something-to-stream):
1068 * semantic/tag.el (semantic-tag-make-assoc-list)
1069 (semantic-expand-nonterminal):
1070 * semantic/tag-file.el (semantic-find-nonterminal)
1071 (semantic-find-dependency, semantic-find-nonterminal)
1072 (semantic-find-dependency):
1073 * semantic/lex.el (semantic-flex-start, semantic-flex-end)
1074 (semantic-flex-text, semantic-flex-make-keyword-table)
1075 (semantic-flex-keyword-p, semantic-flex-keyword-put)
1076 (semantic-flex-keyword-get, semantic-flex-map-keywords)
1077 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
1078 * semantic/java.el (semantic-java-prototype-nonterminal):
1079 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
1080 (semantic-after-idle-scheduler-reparse-hooks):
1081 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
1082 * semantic/db-mode.el (semanticdb-mode-hooks):
1083 * semantic.el (semantic-toplevel-bovine-table)
1084 (semantic-toplevel-bovine-cache)
1085 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
1086 (semantic-init-mode-hooks, semantic-init-db-hooks)
1087 (semantic-bovination-working-type): Provide the `when' arg.
1088
10892009-10-24 Chong Yidong <cyd@stupidchicken.com>
1090
1091 * semantic/util.el (semantic-recursive-find-nonterminal-by-name):
1092 * semantic/tag.el (semantic-token-type-parent): Add WHEN
1093 argument to make-obsolete.
1094
1095 * semantic/fw.el (semantic-alias-obsolete)
1096 (semantic-varalias-obsolete): Add optional WHEN argument.
1097
10982009-10-21 Eric Ludlam <zappo@gnu.org>
1099
1100 * semantic/bovine/c.el (semantic-c-debug-mode-init)
1101 (semantic-c-debug-mode-init-pch): New functions.
1102 (semantic-c-debug-mode-init-last-mode): New var.
1103 (semantic-c-parse-lexical-token): Use them.
1104
1105 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
1106 When extracting the argument list, limit only by point-max.
1107
11082009-10-17 Chong Yidong <cyd@stupidchicken.com>
1109
1110 * srecode/srt.el:
1111 * srecode/compile.el:
1112 * semantic/mru-bookmark.el:
1113 * semantic/debug.el:
1114 * semantic/complete.el:
1115 * semantic/analyze.el: Require CL when compiling.
1116
11172009-10-17 Eric Ludlam <zappo@gnu.org>
1118
1119 * semantic/scope.el
1120 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
1121 tmpscope so that the regular scope will continue to work.
1122
1123 * semantic/idle.el (semantic-idle-tag-highlight):
1124 Use semantic-idle-summary-highlight-face as the highlighting.
1125
dd9af436
CY
1126 * ede/project-am.el (project-run-target): New method.
1127 (project-run-target): New method.
1128
1129 * ede.el (ede-target): Add run target menu item.
1130 (ede-project, ede-minor-keymap): Add ede-run-target binding.
1131 (ede-run-target): New function.
1132 (ede-target::project-run-target): New method.
1133
1134 * ede/proj.el (project-run-target): New method.
1135
1136 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
1137 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
1138 Add :rules.
1139 (ede-proj-target-makefile-shared-object): Only libtool compilers
1140 now available. Add linkers for libtool.
1141 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
1142 (ede-proj-makefile-target-name): Always use .la extension.
1143
1144 * ede/proj-prog.el (project-run-target): New method.
1145
1146 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
1147 (ede-g++-linker): Change Change link lines.
1148
1149 * ede/pmake.el (ede-pmake-insert-variable-shared):
1150 When searching for old variables, go to the end of the buffer and
1151 search backward from there.
1152 (ede-proj-makefile-automake-insert-subdirs)
1153 (ede-proj-makefile-automake-insert-extradist): New methods.
1154 (ede-proj-makefile-create): Use them.
1155
1156 * ede/pconf.el (ede-proj-configure-test-required-file):
1157 Force FILE to expand to the current target. Use file-exists-p to
1158 check that it exists.
1159
1160 * ede/linux.el (ede-linux-version): Don't call "head".
1161 (ede-linux-load): Wrap dir in file-name-as-directory.
1162 Set :version slot.
1163
1164 * ede/files.el (ede-get-locator-object): When enabling
1165 locate, do so on "top".
1166
1167 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
1168 file-name-as-directory during compare.
1169 (ede-emacs-version): Return Emacs/XEmacs differentiator.
1170 Get version number from different places. Don't call egrep.
1171 (ede-emacs-load): Set :version slot. Call file-name-as-directory
1172 to set the directory.
1173
1174 * ede/shell.el: New file.
1175
1176 * inversion.el (inversion-decoders): Allow for stray . in
1177 alpha/beta variants.
1178
11792009-10-17 Glenn Morris <rgm@gnu.org>
1180
1181 * semantic/grammar.el (semantic-grammar--lex-delim-spec):
1182 All errors should have messages.
1183
11842009-10-10 Sascha Wilde <wilde@sha-bang.de>
1185
1186 * ede/proj-shared.el (ede-proj-makefile-target-name):
1187 Use .la for Automake.
1188
11892009-10-09 Chong Yidong <cyd@stupidchicken.com>
1190
1191 * ede/pconf.el (ede-proj-configure-synchronize):
1192 Use "autoreconf -i". Suggested by Andreas Schwab.
1193
11942009-10-08 Chong Yidong <cyd@stupidchicken.com>
1195
1196 * ede/proj.el (project-make-dist, project-compile-project):
1197 Fix filename test.
1198 (ede-proj-dist-makefile): Use expand-file-name instead of concat
1199 to expand file names.
1200
12012009-10-08 Chong Yidong <cyd@stupidchicken.com>
1202
1203 * ede/proj-obj.el (ede-gcc-linker): New var.
1204 (ede-proj-target-makefile-objectcode): Use it.
1205
1206 * ede/source.el (ede-want-any-source-files-p)
1207 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
1208 Return search result. This error was introduced while merging.
1209
12102009-10-04 Chong Yidong <cyd@stupidchicken.com>
1211
1212 * semantic.el (semantic-new-buffer-setup-functions): New option.
1213 (semantic-new-buffer-fcn): Call parser setup functions here.
1214 (semantic-mode): Don't call parser setup functions here, it's done
1215 in semantic-new-buffer-fcn now.
1216 (semantic-mode): Parse all existing buffers when enabled.
1217
1218 * srecode/compile.el (srecode-compile-file):
1219 Call semantic-new-buffer-fcn if the buffer has not been parsed.
1220
12212009-10-04 Chong Yidong <cyd@stupidchicken.com>
1222
1223 * ede/pmake.el (ede-pmake-insert-variable-once): Delete.
1224
1225 * ede/proj-comp.el: Don't require ede/pmake at toplevel.
1226 (proj-comp-insert-variable-once): New macro, renamed from
1227 ede-pmake-insert-variable-once in ede/pmake.edl.
1228 (ede-proj-makefile-insert-variables): Use it.
1229
12302009-10-04 Juanma Barranquero <lekktu@gmail.com>
1231
1232 * ede/makefile-edit.el (makefile-beginning-of-command)
1233 (makefile-end-of-command):
1234 * srecode/srt-mode.el (semantic-beginning-of-context)
1235 (semantic-end-of-context): Fix previous change. Doc fixes.
1236
12372009-10-04 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * ede/makefile-edit.el (makefile-beginning-of-command)
1240 (makefile-end-of-command):
1241 * semantic/lex.el (semantic-lex-token):
1242 * semantic/analyze/fcn.el
1243 (semantic-analyze-dereference-metatype-1):
1244 * semantic/bovine/c.el (semantic-lex-cpp-define)
1245 (semantic-lex-cpp-undef):
1246 * semantic/wisent/wisent.el (wisent-skip-block):
1247 * srecode/srt-mode.el (semantic-beginning-of-context)
1248 (semantic-end-of-context): Fix typos in docstrings.
1249
12502009-10-04 Chong Yidong <cyd@stupidchicken.com>
1251
1252 * ede.el (ede-project-placeholder-cache-file):
1253 * semantic/db-file.el (semanticdb-default-save-directory):
1254 * srecode/map.el (srecode-map-save-file):
1255 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
1256
12572009-10-03 Chong Yidong <cyd@stupidchicken.com>
1258
1259 * srecode/insert.el: Require srecode/args.
1260
1261 * srecode/args.el: Require srecode/dictionary instead of
1262 srecode/insert.
1263
1264 * srecode/srt-mode.el (srecode-template-mode): Doc fix.
1265
1266 * files.el (auto-mode-alist): Add .srt and Project.ede.
1267
1268 * semantic.el (semantic-mode):
1269 Handle srecode-template-mode-hook as well.
1270 (semantic-mode): Use js-mode-hook for Javascript hook.
1271
1272 * srecode/template.el: Remove hook variable.
1273
1274 * ede/proj-comp.el: Require ede/pmake when compiling.
1275
1276 * ede.el (ede-target-forms-menu): Don't enable if no
1277 projects exist.
1278 (ede-project-placeholder-cache-file): Default to a file in
1279 user-emacs-directory.
1280
1281 * srecode/map.el (srecode-map-base-template-dir): Look for
1282 templates in data-directory.
1283 (srecode-map-save-file): Default to a file in user-emacs-directory.
1284
1285 * ede/srecode.el (ede-srecode-setup): Use default templates
1286 directory.
1287
12882009-09-30 Eric Ludlam <zappo@gnu.org>
1289
1290 * semantic/util-modes.el (semantic-highlight-func-mode):
1291 Doc fix.
1292
1293 * ede/proj-comp.el (ede-proj-makefile-insert-variables):
1294 Only insert each variable once.
1295
1296 * ede/pmake.el (ede-pmake-insert-variable-once): New macro.
1297 (ede-pmake-insert-variable-shared): Use it.
1298
1299 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table
1300 for lexical table iff table is nil.
1301
13022009-10-01 Glenn Morris <rgm@gnu.org>
1303
1304 * semantic/bovine/gcc.el
1305 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
1306 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
1307
13082009-10-03 Glenn Morris <rgm@gnu.org>
1309
1310 * semantic/db-find.el (data-debug-insert-tag-list): Comment out
1311 declaration, currently false.
1312
13132009-10-01 Glenn Morris <rgm@gnu.org>
1314
1315 * cedet-files.el (cedet-directory-name-to-file-name):
1316 * cedet-idutils.el (cedet-idutils-search)
1317 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
1318 (cedet-idutils-version-check):
1319 * cedet.el (cedet-version):
1320 * data-debug.el (data-debug-insert-overlay-button)
1321 (data-debug-insert-overlay-list-button)
1322 (data-debug-insert-buffer-button)
1323 (data-debug-insert-buffer-list-button)
1324 (data-debug-insert-process-button, data-debug-insert-ring-button)
1325 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
1326 (data-debug-insert-stuff-vector-button)
1327 (data-debug-insert-symbol-button, data-debug-insert-string)
1328 (data-debug-insert-number, data-debug-insert-lambda-expression)
1329 (data-debug-insert-nil, data-debug-insert-simple-thing)
1330 (data-debug-insert-custom, data-debug-edebug-expr):
1331 * ede.el (ede-auto-add-method, ede-project-class-files)
1332 (global-ede-mode-map, ede-new, ede-debug-target)
1333 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
1334 * semantic.el (semantic-minimum-working-buffer-size)
1335 (semantic-fetch-tags, semantic-submode-list)
1336 (semantic-default-submodes):
1337 * ede/source.el (ede-source-match):
1338 * ede/project-am.el (project-am-type-alist, project-add-file)
1339 (project-am-package-info):
1340 * ede/proj.el (ede-proj-target, project-new-target):
1341 * ede/proj-elisp.el (ede-proj-tweak-autoconf):
1342 * ede/proj-comp.el (ede-current-build-list):
1343 * ede/makefile-edit.el (makefile-move-to-macro):
1344 * ede/files.el (ede-toplevel-project-or-nil):
1345 * ede/cpp-root.el (initialize-instance):
1346 * ede/autoconf-edit.el (autoconf-find-last-macro)
1347 (autoconf-parameter-strip, autoconf-insert-new-macro):
1348 * semantic/wisent.el (wisent-lex-eoi):
1349 * semantic/util-modes.el (global-semantic-show-parser-state-mode)
1350 (semantic-show-parser-state-mode):
1351 * semantic/texi.el (semantic-texi-environment-regexp):
1352 * semantic/tag.el (semantic-tag-new-variable)
1353 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
1354 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
1355 (semantic--tag-deep-copy-tag-list)
1356 (semantic-tag-components-with-overlays-default):
1357 * semantic/symref.el (semantic-symref-find-text):
1358 * semantic/senator.el (senator-yank-tag)
1359 (senator-transpose-tags-up):
1360 * semantic/scope.el (semantic-analyze-scoped-tags-default)
1361 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
1362 * semantic/sb.el (semantic-sb-autoexpand-length):
1363 * semantic/lex.el (semantic-lex-comment-regex)
1364 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
1365 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
1366 * semantic/lex-spp.el
1367 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
1368 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
1369 * semantic/idle.el
1370 (semantic-idle-summary-current-symbol-info-brutish)
1371 (semantic-idle-summary-current-symbol-info-default):
1372 * semantic/grammar.el (semantic-grammar-recreate-package)
1373 (semantic--grammar-macro-compl-dict):
1374 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
1375 * semantic/format.el (semantic-format-tag-custom-list)
1376 (semantic-format-tag-canonical-name-default):
1377 * semantic/find.el (semantic-find-tag-by-overlay-in-region)
1378 (semantic-find-tags-for-completion)
1379 (semantic-find-tags-by-scope-protection-default)
1380 (semantic-deep-find-tags-for-completion):
1381 * semantic/edit.el
1382 (semantic-edits-incremental-reparse-failed-hook)
1383 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
1384 (semantic-edits-splice-remove, semantic-edits-splice-replace):
1385 * semantic/doc.el (semantic-documentation-comment-preceeding-tag):
1386 * semantic/dep.el (semantic-dependency-include-path):
1387 * semantic/db.el (semanticdb-default-find-index-class)
1388 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
1389 (semanticdb-project-roots):
1390 * semantic/db-find.el (semanticdb-implied-include-tags)
1391 (semanticdb-find-adebug-insert-scanned-tag-cons)
1392 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
1393 (semanticdb-brute-deep-find-tags-for-completion):
1394 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
1395 * semantic/ctxt.el (semantic-beginning-of-context-default)
1396 (semantic-end-of-context-default)
1397 (semantic-ctxt-current-function-default)
1398 (semantic-ctxt-scoped-types-default):
1399 * semantic/complete.el (semantic-complete-read-tag-engine)
1400 (semantic-complete-inline-tag-engine)
1401 (semantic-complete-inline-custom-type)
1402 (semantic-complete-read-tag-analyzer):
1403 * semantic/chart.el (semantic-chart-tags-by-class)
1404 (semantic-chart-database-size):
1405 * semantic/analyze.el (semantic-analyze-current-symbol)
1406 (semantic-analyze-current-context):
1407 * semantic/symref/list.el (semantic-symref)
1408 (semantic-symref-hide-buffer, semantic-symref-symbol):
1409 * semantic/symref/grep.el (semantic-symref-grep-use-template):
1410 * semantic/symref/filter.el (semantic-symref-hits-in-region):
1411 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
1412 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
1413 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
1414 (semantic-c-dereference-template):
1415 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
1416 (semantic--analyze-refs-full-lookup-with-parents)
1417 (semantic--analyze-refs-full-lookup-simple):
1418 * semantic/analyze/complete.el
1419 (semantic-analyze-possible-completions):
1420 * srecode/table.el (srecode-mode-table-new):
1421 * srecode/srt.el (srecode-read-variable-name):
1422 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
1423 * srecode/semantic.el (srecode-semantic-handle-:tag)
1424 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
1425 * srecode/map.el (srecode-current-map):
1426 * srecode/insert.el (srecode-insert)
1427 (srecode-insert-variable-secondname-handler, srecode-insert-method)
1428 (srecode-template-inserter-point-override)
1429 (srecode-insert-include-lookup):
1430 * srecode/getset.el (srecode-auto-choose-class):
1431 * srecode/extract.el (srecode-inserter-extract):
1432 * srecode/document.el
1433 (srecode-document-autocomment-return-last-alist)
1434 (srecode-document-autocomment-param-type-alist)
1435 (srecode-document-insert-function-comment)
1436 (srecode-document-insert-variable-one-line-comment)
1437 (srecode-document-function-name-comment):
1438 * srecode/dictionary.el (srecode-create-dictionary)
1439 (srecode-compound-toString):
1440 * srecode/compile.el (srecode-flush-active-templates):
1441 * srecode/args.el (srecode-semantic-handle-:blank):
1442 Doc/message fixes.
1443
14442009-10-01 Juanma Barranquero <lekktu@gmail.com>
1445
1446 * semantic/wisent/javat-wy.el
1447 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
1448
14492009-09-30 Juanma Barranquero <lekktu@gmail.com>
1450
1451 * srecode/expandproto.el: Fix provide statement.
1452
dd9af436
CY
14532009-09-30 Sascha Wilde <wilde@sha-bang.de>
1454
1455 * ede/srecode.el: Fix provide statement.
1456
14572009-09-30 Glenn Morris <rgm@gnu.org>
1458
1459 * ede/proj.el (ede-proj-target-makefile-miscelaneous):
1460 * ede/proj-aux.el (ede-aux-source):
1461 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
1462 (ede-misc-source):
1463 * semantic/mru-bookmark.el (semantic-mrub-completing-read)
1464 (semantic-mrub-switch-tags): Fix doc typos.
1465
1466 * semantic/db-global.el (data-debug-new-buffer)
1467 (data-debug-insert-thing): Remove unneeded declarations (one broken).
1468 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
1469
1470 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
1471
1472 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
1473 use of CL function `remove-if-not'.
1474
14752009-09-29 Glenn Morris <rgm@gnu.org>
1476
1477 * semantic/symref/idutils.el:
1478 * semantic/symref/list.el: Relicense under GPLv3+.
1479
1480 * ede/srecode.el (srecode-resolve-arguments): Fix declaration.
1481
1482 * semantic/complete.el (semantic-displayor-focus-abstract-child-p):
1483 * semantic/tag-file.el (semanticdb-table-child-p):
1484 * srecode/compile.el (srecode-template-inserter-newline-child-p):
1485 Mark declarations not understood by check-declare.
1486
14872009-09-28 Eric Ludlam <zappo@gnu.org>
1488
1489 CEDET (development tools) package merged.
1490
1491 * *.el:
1492 * ede/*.el:
1493 * semantic/*.el:
1494 * srecode/*.el: New files.
1495
14962009-09-28 Eric Ludlam <zappo@gnu.org>
1497
dd9af436
CY
1498 * cedet-cscope.el:
1499 * cedet-files.el:
1500 * cedet-global.el:
1501 * cedet-idutils.el:
1502 * data-debug.el:
1503 * inversion.el:
1504 * mode-local.el:
1505 * pulse.el: New files.