ChangeLog 91.3 KB
Newer Older
1 2
2013-03-04  Paul Eggert  <eggert@cs.ucla.edu>

3 4
	* semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.

5 6
	* semantic/wisent/javat-wy.el: Regenerate.

7 8 9 10 11
2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update):
	Simplify via CSE.

12
2012-11-16  David Engster  <deng@randomsample.de>
13

14 15
	* semantic/symref/list.el (semantic-symref-symbol):
	Use `semantic-complete-read-tag-project' instead of
16 17 18
	`semantic-complete-read-tag-buffer-deep', since the latter is not
	working correctly.

19 20
	* semantic/symref.el (semantic-symref-result-get-tags):
	Use `find-buffer-visiting' to follow symbolic links.
21 22 23 24

	* semantic/fw.el (semantic-find-file-noselect): Always set
	`enable-local-variables' to `:safe' when loading files.

25
2012-11-16  Glenn Morris  <rgm@gnu.org>
26 27 28 29 30 31 32

	* semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
	* semantic/util.el (semantic-describe-buffer):
	* semantic/bovine/c.el (semantic-c-parse-lexical-token)
	(semantic-default-c-setup):
	Use new names for hooks rather than obsolete aliases.

33
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
34 35 36 37 38 39 40

	* semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
	* semantic/grammar.el (semantic-grammar-mode):
	* semantic/util-modes.el (semantic-highlight-edits-mode)
	(semantic-show-parser-state-mode): Avoid obsolete name
	semantic-edits-new-change-hooks (bug#12869).

41
2012-11-13  Glenn Morris  <rgm@gnu.org>
42 43 44 45

	* srecode/srt-mode.el (srecode-template-mode):
	Don't change global values of comment-start, comment-end.  (Bug#12781)

David Engster's avatar
David Engster committed
46 47
2012-10-25  David Engster  <deng@randomsample.de>

48 49
	* semantic/analyze.el (semantic-analyze-dereference-alias):
	New function to dereference aliases.
David Engster's avatar
David Engster committed
50 51 52 53 54 55 56 57 58 59
	(semantic-analyze-current-context-default): Use it.

	* semantic/grammar.el (semantic-grammar-create-package):
	* srecode/compile.el (srecode-compile-templates): Throw a proper
	error if semantic-mode is not enabled (bug#9968).

	Compiler warning fixes:

	* semantic.el (semantic-elapsed-time): Make it a defsubst.

60 61
	* srecode/dictionary.el (srecode-adebug-dictionary):
	Remove require for `semantic'.
David Engster's avatar
David Engster committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78

	* srecode/map.el:
	* srecode/insert.el: Declare functions from `data-debug'.

	* semantic/grammar.el: Require `help-fns'.  Declare functions from
	`eldoc', which is required in function body.

	* srecode/java.el:
	* semantic/texi.el:
	* semantic/grammar-wy.el:
	* semantic/db-file.el:
	* semantic/db-el.el:
	* semantic/chart.el: Fix requires.

	* ede/locate.el: Remove useless requires. Declare functions
	instead and require in functions when needed.

Stefan Monnier's avatar
Stefan Monnier committed
79 80 81 82 83 84 85 86 87
2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* semantic/db-file.el (semanticdb-save-database-functions):
	* semantic/lex.el (semantic-lex-reset-functions):
	* semantic/edit.el (semantic-change-functions)
	(semantic-edits-new-change-functions)
	(semantic-edits-delete-change-functions)
	(semantic-edits-reparse-change-functions): Don't use "-hooks" suffix.

88 89
2012-10-14  David Engster  <deng@randomsample.de>

Stefan Monnier's avatar
Stefan Monnier committed
90 91
	* semantic.el (semantic-error-if-unparsed): New function.
	Raise error if buffer was not parsed by Semantic (bug #12045).
92 93 94 95 96
	(navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items
	only if buffer was parsed.  Also, replace ':active' with ':enable'
	where necessary.

	* semantic/wisent/python.el
Stefan Monnier's avatar
Stefan Monnier committed
97 98
	(semantic-python-get-system-include-path):
	Use `python-shell-internal-send-string' if available to query Python
99 100
	for system paths.

David Engster's avatar
David Engster committed
101
	* semantic/senator.el (senator-next-tag, senator-previous-tag)
102 103
	(senator-go-to-up-reference): Use `semantic-error-if-unparsed'.

David Engster's avatar
David Engster committed
104 105
	* semantic/complete.el (semantic-complete-jump-local)
	(semantic-complete-jump, semantic-complete-jump-local-members)
106 107 108 109 110 111 112 113 114 115
	(semantic-complete-self-insert): Use `semantic-error-if-unparsed'.
	(semantic-complete-inline-project): Fix autoload cookie.

	* semantic/analyze/complete.el
	(semantic-analyze-possible-completions): Check if buffer was
	parsed.  Only raise an error if function was called interactively,
	otherwise silently return nil.

	* cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation.

David Engster's avatar
David Engster committed
116
2012-10-08  David Engster  <deng@randomsample.de>
117 118 119 120 121

	* semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
	`emacs-lisp-mode-hook'.  This was accidentally removed during the
	CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).

122 123 124 125 126
2012-10-07  David Engster  <deng@randomsample.de>

	* semantic/wisent/python.el (semantic-ctxt-current-function)
	(semantic-ctxt-current-assignment): New overrides, simply
	returning nil.  The defaults do not work correctly and can send
Glenn Morris's avatar
Glenn Morris committed
127
	the parser in an infinite loop (bug#12458).
128 129 130 131

	* semantic/ede-grammar.el (project-compile-target): Fix grammar
	compilation after introduction of %provide statement.

132 133 134
	* semantic.el (semantic-new-buffer-setup-functions): Remove setup
	function for `f90-mode', since the parser only exists upstream.

Glenn Morris's avatar
Glenn Morris committed
135 136 137 138 139 140 141 142 143
2012-10-06  Glenn Morris  <rgm@gnu.org>

	* semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.

	* semantic/complete.el (semantic-displayor-tooltip-mode)
	(semantic-displayor-tooltip-initial-max-tags)
	(semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
	* ede/linux.el (project-linux): Add missing group :version tag.

144 145 146
2012-10-06  Chong Yidong  <cyd@gnu.org>

	* semantic/bovine/grammar.el:
Stefan Monnier's avatar
Stefan Monnier committed
147 148
	* semantic/wisent/grammar.el: Move from admin/grammars.
	Add autoloads for bovine-grammar-mode and wisent-grammar-mode.
149

150 151 152 153
2012-10-02  Chong Yidong  <cyd@gnu.org>

	* srecode.el, ede.el: Restore Version header.

Chong Yidong's avatar
Chong Yidong committed
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
2012-10-01  Chong Yidong  <cyd@gnu.org>

	* semantic/bovine/c-by.el: Regenerate.
	* semantic/bovine/make-by.el:
	* semantic/bovine/scm-by.el:
	* semantic/grammar-wy.el:
	* semantic/wisent/javat-wy.el:
	* semantic/wisent/js-wy.el:
	* srecode/srt-wy.el:

2012-10-01  Eric Ludlam  <zappo@gnu.org>

	* cedet.el (cedet-version, cedet-packages): Update.

	* cedet-global.el (cedet-gnu-global-version-check): Support newer
	versions that have extra (parens) in the version string.

	* cedet-idutils.el (cedet-idutils-version-check): Make sure a
	version number was found before calling inversion-check-version.

	* data-debug.el (data-debug-insert-thing): Bind inhibit-read-only
	while inserting the thing, then clear modified bit.
	(data-debug-map): Suppress the keymap.
	(data-debug-mode, data-debug-new-buffer): Make buffer read-only.
	(data-debug-contract-current-line): Inhibit read-only, then clear
	modified bit.

	* ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project
	to allow use in more kinds of buffers.
	(ede-project-forms-menu): Add `Default configuration' menu item.
        (ede-configuration-forms-menu): New, for use in above.
        (ede-project-configurations-set): New command used from menu.
        (ede-java-classpath): New conveninece for Java support.
	(ede-apply-object-keymap): Combine keybindings from the project
	and the target, not just whatever is local to the buffer.
	(ede-apply-target-options): Call fcn to apply project local
	variables.
	(ede-reset-all-buffers): Remove arg.
	(ede, ede-rescan-toplevel): Callers changed.
	(ede-new-target): Fix bug where you couldn't call this from Dired.
	(ede-add-file): Replace assignment of ede-object with generic call
	to re-init the buffer.
	(ede-find-target): If ede-object is set, run short-cut code
	instead of `or' shortcut.
	(ede-project-buffers): Return buffers belonging to input project,
	not any buffer belonging to any project.
	(ede-system-include-path, ede-apply-project-local-variables)
	(ede-set-project-local-variable): New functions.
	(ede-make-project-local-variable): Apply to toplevel if none
	specified.
	(ede-set): Make it interactive.

	* ede/auto.el (ede-project-autoload): New class.
	(ede-do-dirmatch): New method.
	(ede-project-dirmatch-p): New function.
	(ede-project-root-directory): Call it.
	(ede-dir-to-projectfile): Don't call project file function if we
	didn't match the root.
	(ede-project-root-directory): Don't call a project's root function
	if the tool in question isn't installed.
	(ede-dir-to-projectfile): Don't call project file function if we
	didn't match the root.

	* ede/autoconf-edit.el (autoconf-parameter-strip): Remove any
	trailing `\' mid string, and replace with a space.
	(autoconf-parameter-count): New function.
	(autoconf-set-version): Use it.

	* ede/base.el (ede-project): The :type of targets is now a list of
	target base classes.

	* ede/emacs.el (ede-emacs-load): Fix typo.

	* ede/files.el (ede-flush-project-hash, ede-flush-directory-hash):
	Protect against missing locator object.
	(ede-get-locator-object): Protect against missing project.
	(ede-flush-directory-hash): New command.
	(ede-get-locator-object): Protect against missing project.

	* ede/generic.el (ede-generic-config): Add configurable
	`run-command' slot.
	(project-compile-project, project-compile-target)
	(project-debug-target, project-run-target): New methods.
	(ede-generic-get-configuration): Specify the class to load.
	(ede-generic-new-autoloader): Use ede-add-project-autoload.
	(ede-enable-generic-projects): Rename projects so as to never
	match the edeproject-* projects.

	* ede/makefile-edit.el (makefile-macro-file-list): Case sensitive
	searches.  Protect against "SUBDIRS=$(subdirs)" infloop.

	* ede/proj-elisp.el (ede-proj-tweak-autoconf)
	(ede-proj-flush-autoconf): Disable local variables when loading
	the autoconf lisp compile script.

	* ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads)
	(-scheme, -makefile-misc, ede-proj-target-makefile-program)
	(-makefile-archive, -makefile-shared-object)
	(ede-proj-target-makefile-info, -grammar): New autoloads.
Stefan Monnier's avatar
Stefan Monnier committed
253 254
        (ede-proj-project): Inherit from eieio-persistent-read.
	Specify extension and header line.
Chong Yidong's avatar
Chong Yidong committed
255 256 257 258 259 260 261 262 263 264 265
        (ede-proj-load, ede-proj-save): Replace with impl using
	eieio-persistent-read.

	* ede/project-am.el (project-add-file): Use ede-target-parent
	instead of loading the project file.

	* semantic.el (semantic-version): Update.
	(semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode.
	(navigate-menu): Add menu item for Stickyfunc mode.

	* semantic/analyze/debug.el
Stefan Monnier's avatar
Stefan Monnier committed
266 267
	(semantic-analyzer-debug-insert-include-summary):
	Before dereferencing tableinner, make sure it has a value.
Chong Yidong's avatar
Chong Yidong committed
268 269 270 271 272 273

	* semantic/analyze/refs.el
	(semantic-analyze-tag-references-default): When doing a lookup,
	specify noerror.
	(semantic--analyze-refs-full-lookup): Add optional noerror input
	argument.  Pass to to full-lookup-simple.
Stefan Monnier's avatar
Stefan Monnier committed
274 275
	(semantic-analyze-refs-impl, semantic-analyze-refs-proto):
	Ignore :typemodifiers during compare.
Chong Yidong's avatar
Chong Yidong committed
276 277 278 279 280 281

	* semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits
	to looking back for comment chars.
	(semantic--tag-similar-names-p, semantic--tag-similar-names-p-default)
	(semantic--tag-attribute-similar-p): New.
	(semantic-c-describe-environment): Handle list value of ede-object.
Stefan Monnier's avatar
Stefan Monnier committed
282 283
	(semantic-lex-c-preprocessor-symbol-map-builtin):
	Add __attribute_pure__.
Chong Yidong's avatar
Chong Yidong committed
284

Stefan Monnier's avatar
Stefan Monnier committed
285 286
	* semantic/bovine/scm.el (semantic-format-tag-prototype):
	Add parent and color argument.  Pass them through.
Chong Yidong's avatar
Chong Yidong committed
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306

	* semantic/complete.el (semantic-collector-calculate-completions):
	Search for more matches if new prefix is a substring of old one.
	(semantic-complete-inline-project): New function.

	* semantic/db-el.el (object-print): New method.

	* semantic/db-file.el (semanticdb-load-database): Specify class.

	* semantic/db-typecache.el
	(semanticdb-abstract-table::semanticdb-typecache-find-method):
	Allow proxied tags to be resolved during the search.
        (semanticdb-typecache-complete-flush): Support missing or empty
	pointmax slot, to allow for more database types.

	* semantic/db.el (semanticdb-abstract-table): Add db-refs slot.
	(object-print): Allow child classes to overwrite the display of
	the (%d tags) extra string.
	(semanticdb-project-database): Specify :type for table.
	(semanticdb-create-table-for-file): Specify file-truename.
Stefan Monnier's avatar
Stefan Monnier committed
307 308
	(semanticdb-synchronize, semanticdb-partial-synchronize):
	Restore code that refreshes references to include files.
Chong Yidong's avatar
Chong Yidong committed
309 310 311 312 313

	* semantic/decorate/include.el
	(semantic-decoration-on-fileless-includes): New face.
	(semantic-decoration-on-fileless-include-map)
	(semantic-decoration-on-fileless-include-menu): New variables.
Stefan Monnier's avatar
Stefan Monnier committed
314 315
	(semantic-decoration-on-includes-highlight-default):
	Support includes that have a table, but are not associated with a file.
Chong Yidong's avatar
Chong Yidong committed
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
	(semantic-decoration-fileless-include-describe)
	(semantic-decoration-fileless-include-menu): New functions.
	(semantic-decoration-all-include-summary): Add arrows to indicate
	the file associated with an include name.

	* semantic/find.el
	(semantic-find-tags-by-scope-protection-default): Also filter on
	package protection of the slot.

	* semantic/java.el (semantic-java-expand-tag): If some type has a
	fully qualified name, bust it up into one package and the type
	with a short name.

	* semantic/lex.el (define-lex-block-analyzer): Protect against
	random extra close parenthesis.

	* semantic/symref.el (semantic-symref-result-get-tags): Make sure
	the cursor is on the matched name.

	* semantic/symref/list.el (semantic-symref-results-mode-map):
	Suppress keymap.

	* semantic/tag-ls.el (semantic--tag-similar-names-p)
	(semantic--tag-attribute-similar-p)
	(semantic--tag-similar-types-p): New functions.
	(semantic-tag-similar-ignorable-attributes): New variable.
	(semantic-tag-protection-default): Add package concept to return
	value.
	(semantic-tag-package-protected-p): New function.
	(semantic-tag-full-package): New overload method.
	(semantic-tag-full-package-default): New default for above.
	(semantic-tag-full-name-default): Look for the full package name.

	* semantic/tag.el (semantic-create-tag-proxy)
	(semantic-tag-set-proxy, semantic-tag-resolve-proxy): New.

Stefan Monnier's avatar
Stefan Monnier committed
352 353
	* semantic/util.el (semantic-describe-buffer):
	Add semantic-new-buffer-fcn-was-run.
Chong Yidong's avatar
Chong Yidong committed
354

Stefan Monnier's avatar
Stefan Monnier committed
355 356
	* semantic/wisent/java-tags.el (semantic-get-local-variables):
	Add `this' to the local variable context.
Chong Yidong's avatar
Chong Yidong committed
357 358
	(semantic-analyze-split-name, semantic-analyze-unsplit-name): New.

Stefan Monnier's avatar
Stefan Monnier committed
359 360
	* semantic/wisent/python.el (semantic-python-expand-tag):
	New function.
Chong Yidong's avatar
Chong Yidong committed
361 362 363 364 365 366 367 368 369

	* srecode/compile.el (srecode-compile-templates): Add "framework"
	special variable support.
        (srecode-compile-template-table): Support framework specifier.

	* srecode/cpp.el (srecode-semantic-handle-:c)
	(srecode-semantic-handle-:cpp): New functions.
	(srecode-semantic-apply-tag-to-dict): Move from cpp-mode function
	to c-mode function.
Stefan Monnier's avatar
Stefan Monnier committed
370
	(srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
Chong Yidong's avatar
Chong Yidong committed
371 372 373 374 375 376 377 378 379 380 381 382

	* srecode/dictionary.el (initialize-instance): Remove bogus error
	condition.
	(srecode-create-section-dictionary): Remove unused function.

	* srecode/java.el (srecode-semantic-handle-:java): Fix filename as
	package variable.  Add current_package variable.

	* srecode/map.el (srecode-map-update-map): Specify the class.

	* srecode/mode.el (srecode-minor-mode): Support the m3 menu.

Stefan Monnier's avatar
Stefan Monnier committed
383 384
	* srecode/semantic.el (srecode-semantic-insert-tag):
	Support system includes.
Chong Yidong's avatar
Chong Yidong committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414

	* srecode/srt-mode.el (srecode-font-lock-keywords): Update.

	* srecode/table.el (srecode-template-table): Add :framework slot.
        (srecode-dump): Dump it.
	(srecode-mode-table): Add new modetables slot.
	(srecode-get-mode-table): Find the mode, but also find all parent
	modes, and merge the tables together in :tables from :modetables.
	(srecode-make-mode-table): Init :modetables
	(srecode-mode-table-find): Search in modetables.
	(srecode-mode-table-new): Merge the differet files into the
	modetables slot.

2012-10-01  David Engster  <deng@randomsample.de>

	* ede.el (ede-apply-preprocessor-map): Check that
	`semantic-lex-spp-macro-symbol-obarray' is non-nil.
	(global-ede-mode): Fix call to `ede-reset-all-buffers'.

	* ede/cpp-root.el (ede-preprocessor-map): Make sure we add the
	lexical-table even when the table doesn't need to be refreshed.

	* ede/dired.el (ede-dired-minor-mode): Use called-interactively-p.

	* ede/pmake.el (ede-pmake-insert-variable-once): Wrap in
	save-excursion.

	* ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion
	of phony rule.

Stefan Monnier's avatar
Stefan Monnier committed
415 416
	* ede/proj-elisp.el (ede-proj-target-elisp):
	Remove ede-emacs-preload-compiler.
Chong Yidong's avatar
Chong Yidong committed
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
	(ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies):
	New methods.
	(ede-emacs-compiler): Add 'require' macro to variables and pattern
	rule.  Add .elc object extension.
	(ede-proj-elisp-packages-to-loadpath): Allow longer relative names.
	(ede-proj-makefile-insert-variables): Do not insert preload items.
	(ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen.

        * ede/util.el (ede-make-buffer-writable):
	* semantic/debug.el (semantic-debug-mode): Set buffer-read-only
	instead of calling toggle-read-only.

	* semantic.el (semantic-fetch-tags): Use progress reporter only
	when called interactively.
	(semantic-submode-list): Add debugging modes.
	(semantic-mode): Remove Semantic from after-change-functions.
	Delete the cache, call semantic--tag-unlink-cache-from-buffer, and
	set semantic-new-buffer-fcn-was-run to nil.

	* semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p)
	(semantic-analyze-tag-prototype-p-default): Remove.
	(semantic-analyze-type, semantic-analyze-dereference-metatype-1):
	Use semantic-tag-prototype-p.

	* semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map):
	Ensure semantic-mode is on before getting preprocessor symbols.
	(semantic-c-skip-conditional-section): Use c-scan-conditionals.
	(semantic-c-convert-spp-value-to-hideif-value)
	(semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup)
	(semantic-c-hideif-defined): Revive hideif code from CEDET trunk.
        (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
	regular expression parsing.
        (semantic-cpp-lexer): Add semantic-lex-c-ifdef.
	(semantic-expand-c-tag): Check if tag is non-nil before adding it
	to return list
Stefan Monnier's avatar
Stefan Monnier committed
452 453
	(semantic-expand-c-extern-C, semantic-expand-c-complex-type):
	New functions, copied from semantic-expand-c-tag.
Chong Yidong's avatar
Chong Yidong committed
454 455 456 457 458 459 460
	(semantic-find-tags-included): New override which also searches
	for include tags inside of namespaces.
	(semantic-c-dereference-typedef): Use semantic-tag-prototype-p.
	(semanticdb-find-table-for-include): New override.

	* semantic/bovine/el.el: Remove emacs-lisp-mode-hook.

Stefan Monnier's avatar
Stefan Monnier committed
461 462
	* semantic/complete.el (semantic-complete-post-command-hook):
	Exit completion when user has deleted all characters from the prefix.
Chong Yidong's avatar
Chong Yidong committed
463 464 465 466 467 468
	(semantic-displayor-focus-request): Return to previous window when
	focussing tags.

	* semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete.
	(semanticdb-elisp-sym->tag): Use help-function-arglist instead.

Stefan Monnier's avatar
Stefan Monnier committed
469 470
	* semantic/db-file.el (semanticdb-create-database):
	Use semantic-tag-version instead of just semantic-version as the
Chong Yidong's avatar
Chong Yidong committed
471 472 473 474 475 476 477 478 479 480 481 482 483
	initializer for the :semantic-tag-version slot.

	* semantic/db-find.el (semanticdb-find-tags-by-class-method):
	Delegate `include' to semantic-find-tags-included, which by
	default will just call semantic-find-tags-by-class.

	* semantic/db.el (semanticdb-refresh-table): Do not print warnings
	when calling semantic-find-file-noselect.  This avoids the "file
	is write protected" messages when parsing system header files,
	which might easily be mistaken to mean the currently loaded file.
	(semanticdb-save-current-db, semanticdb-save-all-db): Only emit
	message when running interactively.

Stefan Monnier's avatar
Stefan Monnier committed
484 485
	* semantic/decorate/mode.el (semantic-decoration-mode):
	Activate decoration of includes by default.
Chong Yidong's avatar
Chong Yidong committed
486

Stefan Monnier's avatar
Stefan Monnier committed
487 488
	* semantic/doc.el (semantic-doc-snarf-comment-for-tag):
	Remove comment delimiter at the end of the text.
Chong Yidong's avatar
Chong Yidong committed
489 490 491 492 493 494 495 496 497 498 499 500 501

	* semantic/ede-grammar.el (semantic-ede-proj-target-grammar):
	Change aux- and pre-load-packages.
	(ede-proj-makefile-dependencies): Update pattern rule so that
	resulting parsers are also byte-compiled.
	(semantic-ede-grammar-compiler-bovine)
	(semantic-ede-source-grammar-wisent): Remove .elc from gargage
	pattern, since this is already covered by the elisp compiler.
	(project-compile-target): Add compatibility code for Emacs 23,
	which does not have `byte-recompile-file'.
	(ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS
	to raise max-specpdl-size and max-lisp-eval-depth.

Stefan Monnier's avatar
Stefan Monnier committed
502 503
	* semantic/find.el (semantic-find-tags-included):
	Make overridable.
Chong Yidong's avatar
Chong Yidong committed
504 505 506 507 508 509

	* semantic/fw.el (semantic-alias-obsolete)
	(semantic-varalias-obsolete): Use byte-compile-warn.
	(semantic-find-file-noselect): Disable font lock by calling
	global-font-lock-mode.

Stefan Monnier's avatar
Stefan Monnier committed
510 511
	* semantic/grammar.el (semantic-grammar-create-package):
	Fix message.
Chong Yidong's avatar
Chong Yidong committed
512 513 514 515 516 517 518 519 520 521 522
	(semantic-grammar-batch-build-one-package): When generating
	parsers in batch-mode, ignore version control and make sure we do
	not use cached versions.

	* semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back.

	* semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun.
	(semantic-lex-spp-token-macro-to-macro-stream): Use it.
	(semantic-lex-spp-lex-text-string): Instead of only setting the
	lexer, call the major mode's setup function.

Stefan Monnier's avatar
Stefan Monnier committed
523 524
	* semantic/scope.el (semantic-analyze-scoped-types-default):
	Use semantic-tag-prototype-p.
Chong Yidong's avatar
Chong Yidong committed
525 526 527 528 529 530
	(semantic-analyze-scope-nested-tags-default): Make sure we don't
	return tags we already have in scopetypes.

	* semantic/symref/filter.el
	(semantic-symref-test-count-hits-in-tag): Restore.

Stefan Monnier's avatar
Stefan Monnier committed
531 532
	* semantic/wisent/comp.el (wisent-BITS-PER-WORD):
	Use most-positive-fixnum if available.
Chong Yidong's avatar
Chong Yidong committed
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566

	* semantic/wisent/javascript.el (semantic-tag-protection)
	(semantic-analyze-scope-calculate-access)
	(semantic-ctxt-current-symbol): New overrides.

	* semantic/wisent/python.el (wisent-python-lex-beginning-of-line):
	Rewrite to fix byte-compiler warning.

2012-10-01  Robert Jarzmik  <robert.jarzmik@free.fr>

	* ede/linux.el (project-linux): New group.
	(project-linux-compile-target-command)
	(project-linux-compile-project-command): New options.
	(project-compile-project, project-compiler-target): New methods.

	* inversion.el (inversion-decoders): New regexps for SXEmacs.
        (inversion-package-version): More verbose error message.
        (inversion-<): Deal with new special cases.
        (inversion-require-emacs): New argument sxemacs-ver; use it.

2012-10-01  Nelson Ferreira  <nelson.ferreira@ieee.org>

	* ede/emacs.el (ede-emacs-version): Detect SXEmacs.

2012-10-01  William Xu  <william.xwl@gmail.com>

	* semantic/bovine/gcc.el (semantic-gcc-query): Returns status when
	there is an error.
	(semantic-gcc-setup): If the first attempt at calling cpp fails,
	try straight GCC.

2012-10-01 Jan Moringen  <jan.moringen@uni-bielefeld.de>

	* semantic/idle.el
Stefan Monnier's avatar
Stefan Monnier committed
567 568
	(semantic-idle-breadcrumbs--display-in-header-line):
	Escape %-characters to avoid erroneous expansion in header line.
Chong Yidong's avatar
Chong Yidong committed
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
	(semantic-idle-breadcrumbs--display-in-mode-line): Likewise.

	* semantic/wisent/python.el (wisent-python-reconstitute-function-tag)
	(wisent-python-reconstitute-class-tag, semantic-python-special-p)
	(semantic-python-private-p, semantic-python-instance-variable-p)
	(semantic-python-docstring-p): New functions.

	* srecode/find.el (srecode-user-template-p): New function.
	(srecode-all-template-hash): Accept new optional argument
	predicate; return only templates matching the predicate.
	(srecode-read-template-name): Only retrieve templates matching
	srecode-user-template-p.

	* srecode/insert.el (srecode-insert-show-error-report)
	(srecode-insert-report-error): New functions.
	(srecode-insert-variable-secondname-handler)
	(srecode-insert-method, srecode-insert-ask-default)
	(srecode-insert-variable-secondname-handler)
	(srecode-insert-subtemplate, srecode-insert-method-helper)
	(srecode-insert-include-lookup): Use them.

2012-10-01  Thomas Bach  <thbach@students.uni-mainz.de>

	* semantic/wisent/python.el
	(semantic-python-get-system-include-path): Add Python3k support.

2012-10-01  Alexander Haeckel  <_@_>  (tiny change)

	* srecode/getset.el (srecode-query-for-field): Return the first
	tag found by name from all children tags.

2012-10-01  Dale Sedivec  <dale@codefu.org>

	* semantic/wisent/python.el (wisent-python-string-start-re)
	(wisent-python-string-re, wisent-python-forward-string)
Stefan Monnier's avatar
Stefan Monnier committed
604 605
	(wisent-python-forward-line,wisent-python-lex-string):
	New variables.
Chong Yidong's avatar
Chong Yidong committed
606 607 608 609 610 611 612 613 614 615 616 617
	(wisent-python-forward-balanced-expression): New function.

2012-10-01  Pete Beardmore  <elbeardmorez@msn.com>

	* semantic/complete.el (semantic-collector-calculate-completions):
	Search for additional matches if new prefix is a substring of the
	old prefix.
	(semantic-displayor-next-action): Immediately show more
	completions after user presses TAB the first time.
	(semantic-displayor-tooltip-mode)
	(semantic-displayor-tooltip-initial-max-tags)
	(semantic-displayor-tooltip-max-tags): New defcustoms.
Stefan Monnier's avatar
Stefan Monnier committed
618 619
	(semantic-displayor-tooltip): Use new variables as initforms.
	Use new slot `mode' instead of `force-show'.  Rename `max-tags' to
Chong Yidong's avatar
Chong Yidong committed
620 621 622 623 624 625
	`max-tags-initial'.
	(semantic-displayor-show-request): Display completions according
	to new modes, and make variable names clearer.
	(semantic-displayor-tooltip::semantic-displayor-scroll-request):
	Use new max-tags-initial slot.

Stefan Monnier's avatar
Stefan Monnier committed
626 627
	* semantic/idle.el (semantic-idle-local-symbol-highlight):
	Make sure there actually is a tag at point.
Chong Yidong's avatar
Chong Yidong committed
628 629 630 631 632 633 634 635 636 637
	(semantic-idle-completion-list-default): Report errors as messages
	if semantic-idle-scheduler-verbose-flag is non-nil.

2012-10-01  Richard Kim  <emacs18@gmail.com>

	* semantic/db-global.el (semanticdb-enable-gnu-global-databases):
	Add optional NOERROR argument.

2012-10-01  Alex Ott  <alexott@gmail.com>

Stefan Monnier's avatar
Stefan Monnier committed
638 639
	* semantic/idle.el (semantic-idle-scheduler-enabled-p):
	Fix file-checking.
Chong Yidong's avatar
Chong Yidong committed
640 641 642

2012-10-01  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)

Stefan Monnier's avatar
Stefan Monnier committed
643 644
	* semantic/db-find.el (semanticdb-find-default-throttle):
	Make buffer-local.
Chong Yidong's avatar
Chong Yidong committed
645 646 647
	(semanticdb-strip-find-results): Check for existing :filename
	attribute, so that file information from GNU Global is not lost.

648 649 650 651
2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>

	* ede/base.el (ede-with-projectfile): Use backquote forms.

652 653 654 655 656 657 658
2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>

	inaccessable -> inaccessible spelling fix (Bug#10052)
	* semantic/wisent/comp.el (wisent-inaccessible-symbols):
	Rename from wisent-inaccessable-symbols, fixing a misspelling.
	Caller changed.

659 660 661 662
2012-07-09  Andreas Schwab  <schwab@linux-m68k.org>

	* ede/project-am.el: Fix typo.

663 664 665 666 667 668 669 670 671 672
2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>

	Rename configure.in to configure.ac (Bug#11603).
	* ede/autoconf-edit.el (autoconf-find-query-for-program)
	(autoconf-new-program):
	* ede/emacs.el (ede-emacs-version):
	* ede/proj.el (ede-proj-setup-buildenvironment):
	* ede/project-am.el (project-am-autoconf-file-options):
	Prefer configure.ac to configure.in.

David Engster's avatar
David Engster committed
673 674 675 676 677 678 679
2012-03-12  David Engster  <deng@randomsample.de>

	* semantic/db-find.el
	(semanticdb-find-translate-path-brutish-default): If we don't yet
	have a proper table for PATH, use `semanticdb-current-database'
	instead (bug #10343).

680 681 682 683 684
2012-03-11  David Engster  <deng@randomsample.de>

	* semantic/wisent/javascript.el (js-mode): Define `js-mode' as
	child-mode of `javascript-mode' (bug #8445).

685 686 687 688 689
2012-02-28  Glenn Morris  <rgm@gnu.org>

	* semantic/db.el (semanticdb-search-results-table):
	Doc fix (standardize possessive apostrophe usage).

690 691 692 693 694
2012-02-09  Juanma Barranquero  <lekktu@gmail.com>

	* ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list):
	Add declarations.

695 696 697 698 699 700
2012-01-29  David Engster  <deng@randomsample.de>

	Fix require error when using srecode-insert (Bug#9967).
	* srecode/insert.el: Require srecode/filters.
	* srecode/filters.el: Drop two requires.

701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717
2012-01-09  Eric Ludlam  <zappo@gnu.org>

	* ede.el (ede-project-directories): New option.
	(ede-directory-safe-p): Check it.
	(ede-initialize-state-current-buffer, ede, ede-new)
	(ede-check-project-directory, ede-rescan-toplevel)
	(ede-load-project-file, ede-parent-project, ede-current-project):
	(ede-target-parent): Avoid loading in a project unless it is safe,
	since it may involve malicious code.  This security flaw was
	pointed out by Hiroshi Oota.

	* ede/auto.el (ede-project-autoload): Add safe-p slot.
	(ede-project-class-files): Projects using Project.ede are unsafe.
	(ede-auto-load-project): New method.

	* ede/simple.el (ede-project-class-files): Mark as unsafe.

718 719 720 721 722
2011-12-19  Sam Steingold  <sds@gnu.org>

	* semantic/edit.el (semantic-edits-incremental-parser): Add the
	autoload cookie, necessary for JDEE.

Juanma Barranquero's avatar
Juanma Barranquero committed
723 724 725 726
2011-12-06  Juanma Barranquero  <lekktu@gmail.com>

	* semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo.

727 728 729 730 731 732 733 734
2011-11-26  Chong Yidong  <cyd@gnu.org>

	* semantic/wisent/python-wy.el:
	* semantic/wisent/js-wy.el:
	* semantic/wisent/javat-wy.el:
	* semantic/bovine/c-by.el:
	* semantic/grammar-wy.el: Regenerate.

Juanma Barranquero's avatar
Juanma Barranquero committed
735 736 737 738
2011-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo.

Juanma Barranquero's avatar
Juanma Barranquero committed
739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762
2011-11-20  Juanma Barranquero  <lekktu@gmail.com>

	* cedet-cscope.el (cedet-cscope-version-check):
	* cedet-global.el (cedet-global-min-version)
	(cedet-gnu-global-version-check):
	* cedet.el (cedet-version):
	* data-debug.el (data-debug-prev, data-debug-contract-current-line):
	* ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target)
	(ede-new, ede-invoke-method, project-edit-file-target, project-rescan)
	(ede-add-project-to-global-list, ede-map-all-subprojects):
	* inversion.el (inversion-check-version):
	* mode-local.el (mode-local-map-file-buffers, define-child-mode)
	(define-overloadable-function):
	* pulse.el (pulse-flag, pulse):
	* semantic.el (semantic-elapsed-time, semantic-parse-region)
	(navigate-menu):
	* ede/proj-comp.el (ede-compilation-program):
	* semantic/debug.el (semantic-debug-parser-go)
	(semantic-debug-parser-fail, semantic-debug-parser-quit)
	(semantic-debug-parser-abort):
	* semantic/idle.el (semantic-idle-core-handler):
	* semantic/bovine/debug.el (semantic-bovine-debug-error-frame):
	Fix typos.

Juanma Barranquero's avatar
Juanma Barranquero committed
763 764 765 766 767 768
2011-11-16  Juanma Barranquero  <lekktu@gmail.com>

	* semantic/lex.el (semantic-lex-tokens):
	* semantic/tag-ls.el (semantic-tag-protected-p):
	* srecode/mode.el (srecode-prefix-map): Fix typos.

Juanma Barranquero's avatar
Juanma Barranquero committed
769 770 771 772
2011-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* ede/project-am.el (project-compile-target-command): Fix typo.

Juanma Barranquero's avatar
Juanma Barranquero committed
773 774 775 776 777 778 779 780
2011-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* ede/auto.el (ede-project-autoload):
	* ede/proj-comp.el (ede-makefile-rule):
	* semantic/analyze.el (semantic-analyze-current-context):
	* semantic/ctxt.el (semantic-get-local-variables):
	* semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos.

David Engster's avatar
David Engster committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
2011-11-03  David Engster  <dengste@eml.cc>

	* srecode.el:
	* srecode/texi.el:
	* srecode/template.el:
	* srecode/java.el:
	* srecode/insert.el:
	* srecode/document.el:
	* srecode/dictionary.el:
	* srecode/compile.el:
	* semantic/wisent/java-tags.el:
	* semantic/texi.el:
	* semantic/sort.el:
	* semantic/lex-spp.el:
	* semantic/idle.el:
	* semantic/html.el:
	* semantic/db-typecache.el:
	* semantic/analyze/complete.el:
	* ede/generic.el:
	* ede/custom.el:
	* ede/cpp-root.el:
	* ede/base.el: Fix filenames in comments and headers.

	* semantic/db-find.el:
	* srecode/insert.el (srecode-insert-include-lookup):
	* ede/proj-comp.el (ede-compilation-program): Fix it's -> its in
	comments and docstrings.

	* semantic/ctxt.el (semantic-end-of-context-default):
	* semantic/find.el (semantic-find-tags-by-scope-protection):
	* semantic/java.el (semantic-documentation-for-tag): Fix typos in
	docstrings.

	* semantic/db.el (semanticdb-table, semanticdb-abstract-cache)
	(semanticdb-abstract-db-cache):
	* semantic/decorate/include.el
	(semantic-decoration-unknown-include-describe): Fix filenames in
	docstring.

	* semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent):
	(semantic-ede-grammar-compiler-bovine): Fix requires that are
	added to the grammar-make-script.

824 825 826 827 828 829 830 831 832 833 834
2011-10-23  Chong Yidong  <cyd@gnu.org>

	* ede.el (ede-maybe-checkout): Function deleted;
	vc-toggle-read-only does not do version control now.

	* ede/util.el (ede-make-buffer-writable): Don't use
	vc-toggle-read-only.

	* ede/project-am.el (project-remove-file, project-add-file)
	(project-new-target): Don't call ede-maybe-checkout.

Chong Yidong's avatar
Chong Yidong committed
835 836 837 838 839 840
2011-10-19  Chong Yidong  <cyd@gnu.org>

	* ede.el (ede-minor-mode,global-ede-mode):
	* semantic.el (semantic-mode): Doc fix to reflect new
	define-minor-mode calling behavior.

841 842
2011-07-30  Chong Yidong  <cyd@stupidchicken.com>

843 844
	* semantic/grammar.el (semantic-grammar-insert-defanalyzers):
	Fix require.
845

846 847 848 849 850
2011-07-04  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)

	* semantic/db.el (semanticdb-file-table-object): Don't bug out on
	unconfigured projects if `global-ede-mode' is on (bug#8092).

851 852 853 854 855
2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>

	* semantic.el (semantic-elapsed-time): Rewrite using
	time-subtract and float-time.

Glenn Morris's avatar
Glenn Morris committed
856 857 858 859 860
2011-05-11  Glenn Morris  <rgm@gnu.org>

	* semantic/wisent/javascript.el (semantic-get-local-variables):
	Use define-mode-local-override rather than its obsolete alias.

861 862 863 864 865 866 867 868
2011-05-10  Jim Meyering  <meyering@redhat.com>

	Fix doubled-word typos.
	* ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the
	* semantic/complete.el (semantic-complete-read-tag-local-members):
	Likewise.
	* ede.el (ede-auto-add-method): then then -> then

869
2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
Juanma Barranquero's avatar
Juanma Barranquero committed
870 871 872 873 874 875 876

	* ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
	* ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
	* ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf)
	(ede-proj-tweak-autoconf, ede-proj-flush-autoconf):
	* ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings.

877 878 879 880
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.3 released.

881 882 883 884 885
2011-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* semantic/wisent/comp.el (wisent-byte-compile-grammar):
	Macroexpand before passing to byte-compile-form.

886 887 888 889 890 891
2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode.
	* semantic/symref/list.el (semantic-symref-results-mode):
	Use run-mode-hooks.

892 893 894 895
2010-11-12  Glenn Morris  <rgm@gnu.org>

	* semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.

Glenn Morris's avatar
Glenn Morris committed
896 897 898 899
2010-11-10  Glenn Morris  <rgm@gnu.org>

	* semantic/bovine/c.el: Test system-type with memq.

900 901 902 903 904 905 906 907 908
2010-11-09  Glenn Morris  <rgm@gnu.org>

	* semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
	* semantic/grammar.el (semantic-grammar-epilogue):
	* ede/speedbar.el (ede-find-nearest-file-line):
	* ede/pmake.el (ede-proj-makefile-insert-dist-rules):
	* ede/autoconf-edit.el (autoconf-delete-parameter):
	Use point-at-bol and point-at-eol.

909 910 911 912
2010-11-07  Glenn Morris  <rgm@gnu.org>

	* ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.

Glenn Morris's avatar
Glenn Morris committed
913 914
2010-11-01  Glenn Morris  <rgm@gnu.org>

915 916
	* semantic/bovine/c.el (semantic-analyze-split-name): Move before use.

Glenn Morris's avatar
Glenn Morris committed
917 918 919 920 921
	* semantic/symref/cscope.el (ede-toplevel):
	* semantic/symref.el (ede-toplevel):
	* semantic/tag-file.el (ede-toplevel):
	* ede.el (ede-toplevel): Fix declarations.

922 923
2010-10-31  Glenn Morris  <rgm@gnu.org>

924
	* ede/proj-elisp.el (project-compile-target): Fix previous change.
925 926 927 928 929 930 931 932
	* semantic/ede-grammar.el (project-compile-target): Fix previous change.

2010-10-31  Julien Danjou  <julien@danjou.info>

	* ede/proj-elisp.el (project-compile-target):
	* semantic/ede-grammar.el (project-compile-target):
	Use `byte-recompile-file'.

933
2010-10-31  Glenn Morris  <rgm@gnu.org>
934 935 936 937 938 939 940

	* mode-local.el (mode-local-augment-function-help):
	* semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
	* semantic/symref/list.el (semantic-symref-results-dump)
	(semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses
	of toggle-read-only.

941 942 943 944 945 946
2010-09-30  Chong Yidong  <cyd@stupidchicken.com>

	* semantic/bovine/el.el:
	* semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode):
	Fix require statements.

Chong Yidong's avatar
Chong Yidong committed
947 948 949 950 951 952 953
2010-09-29  Chong Yidong  <cyd@stupidchicken.com>

	* semantic/tag.el (semantic-tag-version): Bump to 2.0.

	* semantic/db-typecache.el (semanticdb-typecache-find-default):
	* semantic/imenu.el (semantic-create-imenu-index):
	* semantic/grammar.el (semantic--grammar-macro-function-tag):
954 955
	* semantic/fw.el (semanticdb-without-unloaded-file-searches):
	Fix require.  Suggested by David Engster.
Chong Yidong's avatar
Chong Yidong committed
956 957 958 959 960 961 962 963 964 965 966 967 968 969

	* semantic/bovine/c-by.el: Regenerate.

2010-09-29  Eric Ludlam  <zappo@gnu.org>

	* semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var.
	(semantic-lex-spp-enable-debug-symbol): New command
	(semantic-lex-spp-value-valid-p)
	(semantic-lex-spp-validate-value): New functions
	(semantic-lex-spp-symbol-set)
	(semantic-lex-spp-symbol-push): Add call to validate value.
	(semantic-lex-spp-table-write-slot-value): Instead of erroring on
	invalid values during save, just save a nil.

970 971 972 973 974 975 976 977
2010-09-25  Chong Yidong  <cyd@stupidchicken.com>

	* ede/linux.el (ede-project-class-files):
	* ede/generic.el (ede-generic-new-autoloader):
	* ede/emacs.el (ede-project-class-files):
	* ede/simple.el (ede-project-class-files):
	* ede/cpp-root.el (ede-project-class-files): Fix require name.

Juanma Barranquero's avatar
Juanma Barranquero committed
978 979 980 981 982 983 984 985
2010-09-25  Juanma Barranquero  <lekktu@gmail.com>

	* semantic/lex.el (semantic-ignore-comments): Doc fix.

	* semantic/symref/list.el (semantic-symref-list-rename-open-hits):
	Fix typo in error message.
	(semantic-symref-list-map-open-hits): Fix typo in docstring.

Eric M. Ludlam's avatar
Eric M. Ludlam committed
986 987 988 989 990 991 992 993 994 995 996 997 998
2010-09-21  Eric Ludlam  <zappo@gnu.org>

	Synch SRecode to CEDET 1.0.

	* pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is
	'never, disable all pulsing.

	* cedet.el (cedet-version):
	* srecode.el (srecode-version): Bump version to 1.0.

	* srecode/texi.el (srecode-texi-insert-tag-as-doc): New function.
	(semantic-insert-foreign-tag): Use it.

999 1000
	* srecode/mode.el (srecode-bind-insert):
	Call srecode-load-tables-for-mode.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
	(srecode-minor-mode-templates-menu): Do not list templates that
	are not in the current project.
	(srecode-menu-bar): Add binding for srecode-macro-help.

	* srecode/table.el (srecode-template-table): Add :project slot.
	(srecode-dump): Dump it.

	* srecode/map.el (srecode-map-update-map): Make map loading more
	robust.

	* srecode/insert.el (srecode-insert-fcn): Merge template
	dictionary before resolving arguments.
	(srecode-insert-method-helper): Add error checking to make sure
	that we only have dictionaries.
	(srecode-insert-method): Check template nesting depth when using
	point inserter override.
	(srecode-insert-method): Install override with depth limit.

	* srecode/getset.el (srecode-insert-getset): Force tag table
	update.  Don't query the class if it is empty.

	* srecode/find.el (srecode-template-get-table)
	(srecode-template-get-table-for-binding)
	(srecode-all-template-hash): Skip if not in current project.
	(srecode-template-table-in-project-p): New method.

	* srecode/fields.el (srecode-fields-exit-confirmation): New option.
	(srecode-field-exit-ask): Use it.

	* srecode/dictionary.el (srecode-dictionary-add-template-table):
	Do not add variables in tables not for the current project.
	(srecode-compound-toString): Handle cases where the default value
	is another compound value.
	(srecode-dictionary-lookup-name): New optional argument
	NON-RECURSIVE, which inhibits visiting dictionary parents.
	(srecode-dictionary-add-section-dictionary)
	(srecode-dictionary-merge): New optional argument FORCE adds
	values even if an identically named entry exists.
	(srecode-dictionary-add-entries): New method.
	(srecode-create-dictionaries-from-tags): New function.

	* srecode/cpp.el (srecode-cpp): New defgroup.
	(srecode-cpp-namespaces): New option.
	(srecode-semantic-handle-:using-namespaces)
	(srecode-cpp-apply-templates): New functions.
	(srecode-semantic-apply-tag-to-dict): Handle template parameters
	by calling `srecode-cpp-apply-templates'.

	* srecode/compile.el (srecode-compile-templates): Fix directory
	compare of built-in templates.  Give built-ins lower piority.
	Support special variable "project".
	(srecode-compile-template-table): Set :project slot of new tables.
1053 1054
	(srecode-compile-one-template-tag):
	Use srecode-create-dictionaries-from-tags.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1055

Eric M. Ludlam's avatar
Eric M. Ludlam committed
1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
2010-09-21  Eric Ludlam  <zappo@gnu.org>

	Synch EDE to CEDET 1.0.

	* cedet-idutils.el (cedet-idutils-make-command): New option.
	(cedet-idutils-mkid-call):
	(cedet-idutils-create/update-database): New functions.

	* cedet-cscope.el (cedet-cscope-create):
	(cedet-cscope-create/update-database): New functions.
	(cedet-cscope-support-for-directory): Make interactive.

	* cedet-global.el (cedet-global-gtags-command): New option.
	(cedet-gnu-global-gtags-call)
	(cedet-gnu-global-create/update-database): New functions.

	* ede.el (ede-save-cache): Fix recentf-exclude expression.
	(ede-make-dist): Always use toplevel project.
	(ede-buffer-object): If we fail to find an object in the current
	project, loop upward looking for a match.  If no target is found,
	use most local project.
	(ede-buffer-belongs-to-target-p)
	(ede-buffer-belongs-to-project-p): New functions.
	(ede-initialize-state-current-buffer): New function.
	(ede-target-forms-menu, ede-project-buffers): Use them.
	(ede-minor-mode, ede-reset-all-buffers): Use it.
	(project-interactive-select-target, project-add-file): Don't use
	ede-project-force-load.
	(ede-buffer-object): New arg PROJSYM.
	(ede-minor-mode): Remove ede-directory-project-p test.
	(ede-initialize-state-current-buffer): Don't test for
	ede-directory-project-p if there is a matching open project.
	(ede-customize-forms-menu): Prevent error if there is no project.
	(ede-load-project-file): Set ede-constructing to the thing being
	constructed, instead of t.
Stefan Monnier's avatar
Stefan Monnier committed
1091
	(ede-project-force-load): Delete.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1092 1093 1094 1095 1096 1097 1098 1099 1100

	* ede/base.el:
	* ede/auto.el:
	* ede/custom.el: New files.

	* ede/autoconf-edit.el (autoconf-find-last-macro)
	(autoconf-parameters-for-macro): Parse multiline parameters of
	macros.  Optionally ignore case and at bol for macro.
	(autoconf-parameter-strip): Use greedy match for newlines.
Stefan Monnier's avatar
Stefan Monnier committed
1101
	(autoconf-new-automake-string): Delete.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1102 1103
	(autoconf-new-program): Use SRecode to fill an empty file.

1104 1105
	* ede/cpp-root.el (ede-create-lots-of-projects-under-dir):
	New function.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125

	* ede/files.el (ede-flush-project-hash): New command.
	(ede-convert-path): Add optional PROJECT arg.
	(ede-directory-project-p): Obey ".ede-ignore".
	(ede-expand-filename-local)
	(ede-expand-filename-impl-via-subproj): New methods.
	(ede-expand-filename-impl): Use them.
	(ede-project-root, ede-project-root-directory): Move to
	ede/auto.el.

	* ede/locate.el (ede-locate-flush-hash):
	(ede-locate-create/update-root-database): New methods.
	(initialize-instance): Use ede-locate-flush-hash.

	* ede/pmake.el (ede-proj-makefile-insert-variables): If this is
	the top project and not a metasubproject, set TOP to CURDIR.
	(ede-proj-makefile-insert-variables): Output a target's object
	list whether or not the vars are already in the Makefile.
	(ede-pmake-insert-variable-once): New macro.

1126 1127
	* ede/project-am.el (project-am-with-makefile-current):
	Add recentf-exclude.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1128 1129 1130 1131 1132 1133 1134 1135
	(project-am-load-makefile): Obey an optional suggested name.
	(project-am-expand-subdirlist): New function.
	(project-am-makefile::project-rescan): Use it.  Combine SUBDIRS
	and DIST_SUBDIRS.
	(project-am-meta-type-alist): A list to scan better Makefile.am
	(project-am-scan-for-targets): Scan also over
	project-am-meta-type-alist.
	(ede-system-include-path): Simple implementation.
Stefan Monnier's avatar
Stefan Monnier committed
1136
	(ede-find-target): Delete.  EDE core takes care of this.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1137 1138 1139 1140 1141
	(ede-buffer-mine): Create the searched filename as relative.
	(project-am-load): Simplify, using autoconf-edit.
	(project-am-extract-package-info): Fix separators.

	* ede/proj.el (project-run-target): New method.
1142 1143
	(project-make-dist, project-compile-project):
	Use ede-proj-automake-p to determine which kind of compile to use.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1144 1145 1146 1147 1148 1149
	(project-rescan): Call ede-load-project-file.
	(ede-buffer-mine): Add more file names that belong to the project.
	(ede-proj-compilers): Improve error message.

	* ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable.
	(ede-source-c++): Add more C++ extensions.
1150 1151
	(ede-proj-target-makefile-objectcode): Quote initforms.
	Support lex and yacc.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1152

Stefan Monnier's avatar
Stefan Monnier committed
1153
	* ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1154 1155 1156 1157 1158 1159 1160
	(ede-proj-makefile-insert-variables): New, add LDDEPS.
	(ede-proj-makefile-insert-automake-post-variables): Add LDADD
	variable.  Use ldlibs-local slot.  Add a -l to ldlibs strings.
	(ede-proj-target-makefile-program): Swap order of two slots so
	they show up in the same order as in the command line.
	(ede-proj-target-makefile-program): Add ldlibs-local slot.

1161 1162
	* ede/proj-shared.el (ede-g++-libtool-shared-compiler):
	Fix inference rule to use cpp files.
Eric M. Ludlam's avatar
Eric M. Ludlam committed
1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179
	(ede-proj-target-makefile-shared-object): Quote initforms.

	* ede/proj-misc.el (ede-proj-target-makefile-miscelaneous):
	* ede/proj-info.el (ede-proj-target-makefile-info):
	* ede/proj-aux.el (ede-proj-target-aux):
	* ede/proj-archive.el (ede-proj-target-makefile-archive):
	* ede/proj-elisp.el (ede-proj-target-elisp)
	(ede-proj-target-elisp-autoloads): Quote initforms.

	* ede/srecode.el (ede-srecode-setup): Load autoconf templates.

	* ede/shell.el (ede-shell-buffer): Fix buffer name.

	* ede/pconf.el (ede-proj-configure-synchronize): If user events
	occur while waiting for the compile process to finish, pull them
	in and discard those events.

Chong Yidong's avatar
Chong Yidong committed
1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220
2010-09-19  Eric Ludlam  <zappo@gnu.org>

	Synch Semantic to CEDET 1.0.

	* semantic.el (semantic-version): Update to 2.0.
	(semantic-mode-map): Add "," and "m" bindings.
	(navigate-menu): Update.

	* semantic/symref.el (semantic-symref-calculate-rootdir):
	New function.
	(semantic-symref-detect-symref-tool): Use it.

	* semantic/symref/grep.el (semantic-symref-grep-shell): New var.
	(semantic-symref-perform-search): Use it.  Calculate root dir with
	semantic-symref-calculate-rootdir.
	(semantic-symref-derive-find-filepatterns): Improve error message.

	* semantic/symref/list.el
	(semantic-symref-results-mode-map): New bindings.
	(semantic-symref-auto-expand-results): New option.
	(semantic-symref-results-dump): Obey auto-expand.
	(semantic-symref-list-expand-all, semantic-symref-regexp)
	(semantic-symref-list-contract-all)
	(semantic-symref-list-map-open-hits)
	(semantic-symref-list-update-open-hits)
	(semantic-symref-list-create-macro-on-open-hit)
	(semantic-symref-list-call-macro-on-open-hits): New functions.
	(semantic-symref-list-menu-entries)
	(semantic-symref-list-menu): New vars.
	(semantic-symref-list-map-open-hits): Move cursor to beginning of
	match before calling the mapped function.

	* semantic/doc.el
	(semantic-documentation-comment-preceeding-tag): Do nothing if the
	mode doesn't provide comment-start-skip.

	* semantic/scope.el
	(semantic-analyze-scope-nested-tags-default): Strip duplicates.
	(semantic-analyze-scoped-inherited-tag-map): Take the tag we are
	looking for as part of the scoped tags list.

1221 1222
	* semantic/html.el (semantic-default-html-setup):
	Add senator-step-at-tag-classes.
Chong Yidong's avatar
Chong Yidong committed
1223 1224 1225 1226

	* semantic/decorate/include.el
	(semantic-decoration-on-unknown-includes): Change light bgcolor.
	(semantic-decoration-on-includes-highlight-default): Check that
Juanma Barranquero's avatar
Juanma Barranquero committed
1227
	the include tag has a position.
Chong Yidong's avatar
Chong Yidong committed
1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247

	* semantic/complete.el (semantic-collector-local-members):
	(semantic-complete-read-tag-local-members)
	(semantic-complete-jump-local-members): New class and functions.
	(semantic-complete-self-insert): Save excursion before completing.

	* semantic/analyze/complete.el
	(semantic-analyze-possible-completions-default): If no completions
	are found, return the raw by-name-only completion list.  Add FLAGS
	arguments.  Add support for 'no-tc (type constraint) and
	'no-unique, or no stripping duplicates.
	(semantic-analyze-possible-completions-default): Add FLAGS arg.

	* semantic/util-modes.el
	(semantic-stickyfunc-show-only-functions-p): New option.
	(semantic-stickyfunc-fetch-stickyline): Don't show stickytext for
	the very first line in a buffer.

	* semantic/util.el (semantic-hack-search)
	(semantic-recursive-find-nonterminal-by-name)
Stefan Monnier's avatar
Stefan Monnier committed
1248
	(semantic-current-tag-interactive): Delete.
1249 1250
	(semantic-describe-buffer): Fix expand-nonterminal.
	Add lex-syntax-mods, type relation separator char, and command
Chong Yidong's avatar
Chong Yidong committed
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
	separation char.
	(semantic-sanity-check): Only message if called interactively.

	* semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the
	:filename property and the tag position.

	* semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
	Add recursion limit.

	* semantic/imenu.el (semantic-imenu-bucketize-type-members):
	Make this buffer local, not the obsoleted variable.

	* semantic/idle.el: Add breadcrumbs support.
	(semantic-idle-summary-current-symbol-info-default)
	(semantic-idle-tag-highlight)
1266 1267
	(semantic-idle-completion-list-default):
	Use semanticdb-without-unloaded-file-searches for speed, and to
Chong Yidong's avatar
Chong Yidong committed
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280
	conform to the controls that specify if the idle timer is supposed
	to be parsing unparsed includes.
	(semantic-idle-symbol-highlight-face)
	(semantic-idle-symbol-maybe-highlight): Rename from *-summary-*.
	Callers changed.
	(semantic-idle-work-parse-neighboring-files-flag): Default to nil.
	(semantic-idle-work-update-headers-flag): New var.
	(semantic-idle-work-for-one-buffer): Use it.
	(semantic-idle-local-symbol-highlight): Rename from
	semantic-idle-tag-highlight.
	(semantic-idle-truncate-long-summaries): New option.

	* semantic/ia.el (semantic-ia-cache)
Stefan Monnier's avatar
Stefan Monnier committed
1281
	(semantic-ia-get-completions): Delete.  Callers changed.
Chong Yidong's avatar
Chong Yidong committed
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329
	(semantic-ia-show-variants): New command.
	(semantic-ia-show-doc): If doc is empty, don't make a temp buffer.
	(semantic-ia-show-summary): If there isn't anything to show, say so.

	* semantic/grammar.el (semantic-grammar-create-package):
	Save the buffer even in batch mode.

	* semantic/fw.el
	(semanticdb-without-unloaded-file-searches): New macro.

	* semantic/dep.el (semantic-dependency-find-file-on-path):
	Fix case dereferencing ede-object when it is a list.

	* semantic/db-typecache.el (semanticdb-expand-nested-tag)
	(semanticdb-typecache-faux-namespace): New functions.
	(semanticdb-typecache-file-tags)
	(semanticdb-typecache-merge-streams): Use them.
	(semanticdb-typecache-file-tags): When deriving tags from a file,
	give the mode a chance to monkey with the tag copy.
	(semanticdb-typecache-find-default): Wrap find in save-excursion.
	(semanticdb-typecache-find-by-name-helper): Merge found names down.

	* semantic/db-global.el
	(semanticdb-enable-gnu-global-in-buffer): Don't show messages if
	GNU Global is not available and we don't want to throw an error.

	* semantic/db-find.el (semanticdb-find-result-nth-in-buffer):
	When trying to normalize the tag to a buffer, don't error if
	set-buffer method doesn't exist.

	* semantic/db-file.el (semanticdb-save-db): Simplify msg.

	* semantic/db.el (semanticdb-refresh-table): If forcing a
	refresh on a file not in a buffer, use semantic-find-file-noselect
	and delete the buffer after use.
	(semanticdb-current-database-list): When calculating root via
	hooks, force it through true-filename and skip the list of
	possible roots.

	* semantic/ctxt.el (semantic-ctxt-imported-packages): New.

	* semantic/analyze/debug.el
	(semantic-analyzer-debug-insert-tag): Reset standard output to
	current buffer.
	(semantic-analyzer-debug-global-symbol)
	(semantic-analyzer-debug-missing-innertype): Change "prefix" to
	"symbol" in messages.

Juanma Barranquero's avatar
Juanma Barranquero committed
1330
	* semantic/analyze/refs.el (semantic-analyze-refs-impl)
Chong Yidong's avatar
Chong Yidong committed
1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
	(semantic-analyze-refs-proto): When calculating value, make sure
	the found tag is 'similar' to the originating tag.
	(semantic--analyze-refs-find-tags-with-parent): Attempt to
	identify matches via imported symbols of parents.
	(semantic--analyze-refs-full-lookup-with-parents): Do a deep
	search during the brute search.

	* semantic/analyze.el
	(semantic-analyze-find-tag-sequence-default): Be robust to
	calculated scopes being nil.

1342 1343
	* semantic/bovine/c.el (semantic-c-describe-environment):
	Add project macro symbol array.
Chong Yidong's avatar
Chong Yidong committed