ChangeLog 116 KB
Newer Older
1 2 3 4
2014-10-20  Glenn Morris  <rgm@gnu.org>

	* Version 24.4 released.

5 6 7 8 9 10
2014-09-18  David Engster  <deng@randomsample.de>

	* ede/emacs.el (ede-emacs-version): Do not call 'egrep' to
	determine Emacs version (it was dead code anyway).  Make sure that
	configure.ac or configure.in exist.  (Bug#18476)

Glenn Morris's avatar
Glenn Morris committed
11 12 13 14 15 16 17 18
2014-05-01  Glenn Morris  <rgm@gnu.org>

	* ede.el (ede-project-directories, ede-check-project-directory):
	* semantic/ia-sb.el (semantic-ia-sb-show-doc):
	* semantic/tag.el (semantic-tag-in-buffer-p):
	* semantic/bovine/c.el (semantic-tag-abstract-p):
	Doc fixes (replace `iff').

19 20 21 22
2014-04-01  Glenn Morris  <rgm@gnu.org>

	* ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.  (Bug#17160)

23 24 25 26 27
2014-03-04  Glenn Morris  <rgm@gnu.org>

	* semantic/util.el (semantic-complete-symbol):
	Replace use of obsolete argument of display-completion-list.

28 29 30 31 32
2014-02-03  Glenn Morris  <rgm@gnu.org>

	* semantic/senator.el (senator-copy-tag-to-register):
	Use register-read-with-preview, if available.

33 34
2014-01-13  Eric Ludlam  <zappo@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
35
	* semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix typo
36
	in a doc string.
Glenn Morris's avatar
Glenn Morris committed
37

38 39
	* semantic/ia.el (semantic-ia-complete-symbol): Ignore case if
	prefix is all lower case.
Glenn Morris's avatar
Glenn Morris committed
40 41
	(semantic-ia-fast-jump): Push mark before jumping to an include file.

42 43 44 45
	* semantic/complete.el (semantic-displayor-point-position):
	Calculate if the toolbar is on the left when calculating point
	position.

Paul Eggert's avatar
Paul Eggert committed
46 47 48 49 50 51
2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>

	Spelling fixes.
	* semantic/decorate/include.el (semantic-decoration-mouse-3):
	Rename from semantic-decoratiton-mouse-3.  All uses changed.

Glenn Morris's avatar
Glenn Morris committed
52 53 54
2013-12-28  Glenn Morris  <rgm@gnu.org>

	* ede/linux.el (project-linux-build-directory-default)
55
	(project-linux-architecture-default): Fix custom types.  Add version.
Glenn Morris's avatar
Glenn Morris committed
56

David Engster's avatar
David Engster committed
57 58
2013-12-12  David Engster  <deng@randomsample.de>

Glenn Morris's avatar
Glenn Morris committed
59 60 61 62
	* semantic/analyze.el (semantic-analyze-find-tag-sequence-default):
	Always add scope to the local miniscope for each type.  Otherwise,
	structure tags are not analyzed correctly.  Also, always search
	the extended miniscope even when not dealing with types.
David Engster's avatar
David Engster committed
63 64 65 66 67 68 69 70 71 72 73 74 75 76

	* semantic/ctxt.el (semantic-get-local-variables-default): Also
	try to parse local variables for buffers which are currently
	marked as unparseable.  Otherwise, it is often impossible to
	complete local variables.

	* semantic/scope.el (semantic-analyze-scoped-types-default): If we
	cannot find a type in the typecache, also look into the the types
	we already found.  This is necessary since in C++, a 'using
	namespace' can be dependend on a previous one.
	(semantic-completable-tags-from-type): When creating the list of
	completable types, pull in types which are referenced through
	'using' statements, and also preserve their filenames.

Glenn Morris's avatar
Glenn Morris committed
77
	* semantic/bovine/c.el (semantic/analyze/refs): Require.
David Engster's avatar
David Engster committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 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
	(semantic-analyze-tag-references): New override.  Mainly copied
	from the default implementation, but if nothing could be found (or
	just the tag itself), drop all namespaces from the scope and
	search again.  This is necessary for implementations which are
	defined outside of the namespace and only pull those in through
	'using' statements.
	(semantic-ctxt-scoped-types): Go through all tags around point and
	search them for using statements.  In the case for using
	statements outside of function scope, append them in the correct
	order instead of using 'cons'.  This is important since using
	statements may depend on previous ones.
	(semantic-expand-c-tag-namelist): Do not try to parse struct
	definitions as default values.  The grammar parser seems to return
	the point positions slightly differently (as a cons instead of a
	list).  Also, set parent for typedefs to 'nil'.  It does not
	really make sense to set a parent class for typedefs, and it can
	also lead to endless loops when calculating scope.
	(semantic-c-reconstitute-token): Change handling of function
	pointers; instead of seeing them as variables, handle them as
	functions with a 'function-pointer' attribute.  Also, correctly
	deal with function pointers as function arguments.
	(semantic-c-reconstitute-function-arglist): New function to parse
	function pointers inside an argument list.
	(semantic-format-tag-name): Use 'function-pointer' attribute
	instead of the old 'functionpointer-flag'.
	(semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'.

	* semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to
	the list of files whose preprocessor symbols are included.  This
	pulls in things like __USE_POSIX and similar.

	* semantic/format.el (semantic-format-tag-prototype-default):
	Display default values if available.

	* semantic/analyze/refs.el (semantic-analyze-refs-impl)
	(semantic-analyze-refs-proto): Add 'default-value' as ignorable in
	call to `semantic-tag-similar-p'.

	* semantic/db-mode.el (semanticdb-semantic-init-hook-fcn): Always
	set buffer for `semanticdb-current-table'.

	* semantic/db.el (semanticdb-table::semanticdb-refresh-table): The
	previous change turned up a bug in this method.  Since the current
	table now correctly has a buffer set, the first clause in the
	`cond' would be taken, but there was a `save-excursion' missing.

	* semantic/lex-spp.el (semantic-c-end-of-macro): Declare.
	(semantic-lex-spp-token-macro-to-macro-stream): Deal with macros
	which open/close a scope.  For this, leave an overlay if we
	encounter a single open paren and return a semantic-list in the
	lexer.  When this list gets expanded, retrieve the old position
	from the overlay.  See the comments in the function for further
	details.
	(semantic-lex-spp-find-closing-macro): New function to find the
	next macro which closes scope (i.e., has a closing paren).
	(semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of
	closing macro if necessary.
	(semantic-lex-spp-paren-or-list): New lexer to specially deal with
	parens in macro definitions.

	* semantic/decorate/mode.el (semantic-decoration-mode): Do not
	decorate available tags immediately but in an idle timer, since
	EDE will usually not be activated yet, which will make it
	impossible to find project includes.

	* semantic/decorate/include.el
	(semantic-decoration-on-includes-highlight-default): Remove
	'unloaded' from throttle when decorating includes, otherwise all
	would be loaded.  Rename 'table' to 'currenttable' to make things
	clearer.

	* ede/linux.el (cl): Require during compile.

2013-12-12  Lluís Vilanova  <xscript@gmx.net>

	* ede/linux.el (project-linux-build-directory-default)
	(project-linux-architecture-default): Add customizable variables.
	(ede-linux-project): Add additional slots to track Linux-specific
	information (out-of-tree build directory and selected
	architecture).
	(ede-linux--get-build-directory, ede-linux--get-archs)
	(ede-linux--detect-architecture, ede-linux--get-architecture)
	(ede-linux--include-path): Added function to detect Linux-specific
	information.
	(ede-linux-load): Set new Linux-specific information when creating
	a project.
	(ede-expand-filename-impl): Use new and more accurate include
	information.

2013-12-12  Eric Ludlam  <zappo@gnu.org>

	* semantic/scope.el (semantic-calculate-scope): Return a clone of
	the scopecache, so that everyone is working with its own (shallow)
	copy.  Otherwise, if one caller is resetting the scope, it would
	be reset for all others working with the scope cache as well.

2013-12-12  Alex Ott  <alexott@gmail.com>

	* ede/generic.el (project-run-target): Remove incorrect require.

	* semantic/format.el (semantic-format-tag-prototype-default): Use
	concat only for strings.

181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
2013-11-30  Glenn Morris  <rgm@gnu.org>

	Stop keeping (most) generated cedet grammar files in the repository.
	* semantic/bovine/grammar.el (bovine--make-parser-1):
	New function, split from bovine-make-parsers.
	(bovine-make-parsers): Use bovine--make-parser-1.
	(bovine-batch-make-parser): New function.
	* semantic/wisent/grammar.el (wisent--make-parser-1):
	New function, split from wisent-make-parsers.
	(wisent-make-parsers): Use wisent--make-parser-1.
	(wisent-batch-make-parser): New function.
	* semantic/db.el (semanticdb-save-all-db):
	Avoid prompting in batch mode.
	* semantic/grammar.el (semantic-grammar-footer-template):
	Disable version-control and autoloads in the output.
	(semantic-grammar-create-package):
	Add option to return nil if output is up-to-date.
	* semantic/bovine/c-by.el, semantic/bovine/make-by.el:
	* semantic/bovine/scm-by.el, semantic/wisent/javat-wy.el:
	* semantic/wisent/js-wy.el, semantic/wisent/python-wy.el:
	* srecode/srt-wy.el: Remove generated files from repository.

Barry O'Reilly's avatar
Barry O'Reilly committed
203
2013-11-16  Barry O'Reilly  <gundaetiapo@gmail.com>
204 205 206 207 208 209

	* semantic/fw.el (semantic-exit-on-input)
	(semantic-throw-on-input): Restore point before
	accept-process-output because timers which redisplay can run.
	(Bug#15045)

210 211 212 213 214 215
2013-11-03  Johan Bockgård  <bojohan@gnu.org>

	* semantic/lex.el (semantic-lex-start-block)
	(semantic-lex-end-block): Move after definition of
	semantic-lex-token macro.

216 217 218 219 220 221 222 223
2013-10-28  Barry O'Reilly  <gundaetiapo@gmail.com>

	* semantic/idle.el (semantic-idle-symbol-highlight)
	(semantic-idle-symbol-highlight-face): Define face with defface
	and obsolete the replaced one defined with defvar.  (Bug#15745)
	* pulse.el (pulse-momentary-highlight-overlay)
	(pulse-momentary-highlight-region): Fix typo in doc

224 225 226 227 228
2013-10-30  Glenn Morris  <rgm@gnu.org>

	* semantic/grammar.el (semantic-grammar-mode-keywords-2)
	(semantic-grammar-mode-keywords-3): Handle renamed font-lock vars.

229 230
2013-10-20  Johan Bockgård  <bojohan@gnu.org>

231 232 233
	* semantic/db-mode.el (global-semanticdb-minor-mode):
	Remove hooks correctly.
	(semanticdb-toggle-global-mode): Pass `toggle' to minor mode function.
234

235 236
2013-09-28  Leo Liu  <sdl.web@gmail.com>

237 238
	* semantic/texi.el (semantic-analyze-possible-completions):
	Use ispell-lookup-words instead.  (Bug#15460)
239

240 241 242 243 244 245
2013-09-20  Glenn Morris  <rgm@gnu.org>

	* semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p):
	Move from here...
	* semantic/fw.el: ...to here.

246 247
2013-09-18  Glenn Morris  <rgm@gnu.org>

248 249 250
	* semantic/find.el (semantic-brute-find-first-tag-by-name):
	Replace obsolete function assoc-ignore-case with assoc-string.

251 252 253
	* semantic/complete.el (tooltip-mode, tooltip-frame-parameters)
	(tooltip-show): Declare.

254 255 256 257 258 259 260 261 262 263 264 265 266
2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* semantic/symref/list.el (semantic-symref-results-mode):
	Use define-derived-mode.
	(semantic-symref-produce-list-on-results): Set up the results here
	instead of in semantic-symref-results-mode.  Move after
	semantic-symref-current-results's defvar now that it refers to that var.
	(semantic-symref-auto-expand-results)
	(semantic-symref-results-summary-function)
	(semantic-symref-results-mode-hook): Remove redundant :group arg.
	(semantic-symref, semantic-symref-symbol, semantic-symref-regexp):
	Initialize directly in the let.

267 268 269 270 271
2013-09-13  Glenn Morris  <rgm@gnu.org>

	* semantic/ia.el (semantic-ia-complete-symbol-menu):
	Comment it out, since it cannot work.  (Bug#14522)

272 273 274 275 276
2013-09-12  Glenn Morris  <rgm@gnu.org>

	* semantic/find.el (semantic-find-first-tag-by-name):
	Replace obsolete function assoc-ignore-case with assoc-string.

277 278 279 280 281 282 283 284 285
2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
	(semantic-grammar-mode-syntax-table): Rename from
	semantic-grammar-syntax-table.
	(semantic-grammar-mode-map): Rename from semantic-grammar-map.
	* data-debug.el (data-debug-mode-map): Rename from data-debug-map.
	(data-debug-mode): Use define-derived-mode.

286 287 288 289 290
2013-09-05  Glenn Morris  <rgm@gnu.org>

	* semantic/fw.el (semantic-make-local-hook):
	Simplify by dropping Emacs <= 20.

Glenn Morris's avatar
Glenn Morris committed
291
2013-07-29  David Engster  <deng@randomsample.de>
292

Glenn Morris's avatar
Glenn Morris committed
293
	* cedet.el (cedet-packages): Remove speedbar since its
294 295 296 297 298 299 300 301 302
	development does no longer happens in CEDET upstream but in Emacs
	proper.  Also remove cedet-contrib and cogre since those are only
	in upstream.

	* semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE
	has a parent, return a fully qualified name.

	* semantic/decorate/mode.el
	(semantic-decoration-on-includes-p-default)
303
	(semantic-decoration-on-includes-highlight-default): Declare for
304 305 306 307
	byte compiler.

	* semantic/wisent/python.el (semantic/format): New require.

Glenn Morris's avatar
Glenn Morris committed
308
2013-07-27  Eric Ludlam  <zappo@gnu.org>
309

Glenn Morris's avatar
Glenn Morris committed
310
	* semantic/edit.el (semantic-edits-splice-remove):
311
	Wrap debug message removing middle tag in semantic-edits-verbose-flag
312 313
	check.

Glenn Morris's avatar
Glenn Morris committed
314
2013-07-27  David Engster  <deng@randomsample.de>
315 316 317 318 319 320 321 322 323 324 325

	* semantic/bovine/el.el (semantic/db-el): New require.

	* semantic/db-el.el (semanticdb-normalize-one-tag): It might be
	that a symbol comes from a file but cannot be found in its table.
	This happens for instance when a symbol was dynamically created
	through a macro like `defstruct'.  In this case, return the
	original tag.
	(semanticdb-elisp-sym->tag): Deal with autoloaded functions, where
	the argument list is not available until the file is loaded.

326 327 328 329
2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* data-debug.el, cedet-idutils.el: Neuter the "Version:" header.

Glenn Morris's avatar
Glenn Morris committed
330
2013-06-19  Glenn Morris  <rgm@gnu.org>
331 332 333

	* semantic/idle.el (define-semantic-idle-service):
	No need to use eval-and-compile, progn will do.
334 335 336 337 338 339

	* semantic/decorate/mode.el (define-semantic-decoration-style):
	Doc fix.
	(define-semantic-decoration-style): 'function is not an accepted
	value for autoload's "type" argument.  Might as well use the default.

340 341 342 343 344
2013-06-18  Glenn Morris  <rgm@gnu.org>

	* semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
	Remove unused free variable `symlist'.

Juanma Barranquero's avatar
Juanma Barranquero committed
345
2013-06-02  Eric Ludlam  <zappo@gnu.org>
346

347 348
	* semantic/edit.el (semantic-change-function):
	Use `save-match-data' around running hooks.
349 350 351 352 353 354 355 356

	* semantic/decorate/mode.el
	(semantic-decorate-style-predicate-default)
	(semantic-decorate-style-highlighter-default): New.
	(semantic-decoration-mode): Do not require
	`semantic/decorate/include' anymore.
	(semantic-toggle-decoration-style): Error if an unknown decoration
	style is toggled.
357 358
	(define-semantic-decoration-style): Add new :load option.
	When :load is specified, add autoload tokens for the definition
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
	functions so that code is loaded when the mode is used.
	(semantic-decoration-on-includes): New autoload definition for
	highlighting includes.

	* semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc
	characters to appear after the tested variable.

	* semantic/ede-grammar.el (project-compile-target): Calculate full
	src name via ede-expand-filename instead of the crutch of the
	current buffer.  Enables this target to compile in batch mode.

	* semantic/idle.el
	(semantic-idle-symbol-maybe-highlight): Wrap highlighting of
	remote symbol with `save-excursion'.
	(semantic-idle-scheduler-work-parse-neighboring-files): Instead of
	using directory-files on each found mode pattern, collect all the
	patterns for the current mode, and then for each file, see if it
	matches any of them.  If it does, parse the file.  (Patch
	inspiration from Tomasz Gajewski.)

	* semantic/ctxt.el (semantic-ctxt-end-of-symbol): New.
	(semantic-ctxt-current-symbol-default): New.

382 383
	* semantic/bovine/el.el (semantic-default-elisp-setup):
	Add autoload cookie.  Explain existence.
384 385 386 387 388 389 390 391 392 393
	(footer): Add local variable for loaddefs.

	* semantic/db.el (semanticdb-file-table-object): Add new filter,
	only checking for regular files too.

	* semantic/wisent/python.el
	(semantic-format-tag-abbreviate): New override.  Cuts back on size
	of code tags.

	* srecode/compile.el (srecode-compile-templates): Fix warning
Juanma Barranquero's avatar
Juanma Barranquero committed
394
	punctuation.  Remove status messages to clean up testing output.
395 396 397 398 399 400 401 402 403 404 405 406 407

	* ede/base.el (ede-project-placeholder-cache-file): Update doc to
	mention 'nil' value.
	(ede-save-cache): Disable cache save if file is nil.

	* ede.el (ede-initialize-state-current-buffer): Flush deleted
	projects.
	(global-ede-mode): Always append our find-file-hook to the end.
	(ede-flush-deleted-projects): New command.

	* ede/cpp-root.el (ede-preprocessor-map): Protect against init
	problems.

408
	* ede/proj.el (ede-proj-target): Add a new "custom" option for
409 410 411
	custom symbols representing a compiler or linker instead of
	restricting things to only the predefined compilers and linkers.

Juanma Barranquero's avatar
Juanma Barranquero committed
412
2013-06-02  David Engster  <dengste@eml.cc>
413 414 415 416 417 418

	* semantic.el (semantic-mode-map): To avoid showing showing
	Development menu twice, only disable menu item if menu-bar is
	actually enabled, otherwise the popup 'global menu' might display
	a disabled Development menu.

419 420
	* srecode/srt-wy.el: Regenerate.

421 422 423 424 425 426
2013-06-02  Pete Beardmore  <elbeardmorez@msn.com>

	* semantic/complete.el
	(semantic-displayor-show-request): Fix which slot in obj is set to
	the max tags.

427 428
2013-06-01  Glenn Morris  <rgm@gnu.org>

429 430 431
	* semantic/grammar.el (semantic-grammar-complete):
	Replace the obsolete function lisp-complete-symbol.

432 433 434 435
	* semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload.

	* srecode/args.el, srecode/java.el: Require ede.

436 437
	* semantic/lex.el (semantic-lex-make-type-table): Fix transposed args.

438 439 440 441 442 443 444 445 446 447
2013-05-24  Glenn Morris  <rgm@gnu.org>

	* semantic/bovine/grammar.el (bovine-make-parsers):
	Avoid free variable `copyright-end'.

	* semantic/bovine/c-by.el (semantic-parse-region):
	* semantic/wisent/javat-wy.el (semantic-parse-region):
	* semantic/wisent/js-wy.el (semantic-parse-region):
	* semantic/wisent/python-wy.el (semantic-parse-region): Declare.

Glenn Morris's avatar
Glenn Morris committed
448 449 450 451 452 453
2013-05-22  Glenn Morris  <rgm@gnu.org>

	* ede/speedbar.el (ede-file-find, ede-tag-find):
	* semantic/sb.el (semantic-sb-token-jump):
	Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias.

Glenn Morris's avatar
Glenn Morris committed
454 455 456 457 458 459
2013-05-15  Glenn Morris  <rgm@gnu.org>

	* semantic/symref/list.el (semantic-symref-auto-expand-results)
	(semantic-symref-results-mode-hook)
	(semantic-symref-results-summary-function): Fix :group.

460 461 462 463
2013-05-14  Glenn Morris  <rgm@gnu.org>

	* ede/simple.el, semantic/java.el: Set generated-autoload-load-name.

Glenn Morris's avatar
Glenn Morris committed
464 465
2013-05-11  Glenn Morris  <rgm@gnu.org>

466 467 468 469 470
	* ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
	* semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
	* semantic/wisent/grammar.el, semantic/wisent/wisent.el:
	* srecode/fields.el: Set generated-autoload-load-name (for cus-load).

Glenn Morris's avatar
Glenn Morris committed
471 472 473 474 475
	* ede/locate.el (cedet-cscope-version-check)
	(cedet-cscope-support-for-directory):
	* semantic/grammar.el (semantic-grammar-wy--install-parser):
	Fix declarations.

Glenn Morris's avatar
Glenn Morris committed
476 477
	* ede/project-am.el (project-am-compile-project-command): Fix :type.

478 479 480 481 482
2013-05-09  Glenn Morris  <rgm@gnu.org>

	* semantic/db-find.el (semanticdb-find-throttle-custom-list):
	Fix value.

483 484 485
2013-04-27  David Engster  <deng@randomsample.de>

	* semantic/complete.el
486 487
	(semantic-collector-calculate-completions-raw):
	If `completionslist' is not set, refresh the cache if necessary and
488 489 490
	use it for completions.  This fixes the
	`semantic-collector-buffer-deep' collector (bug#14265).

491 492
2013-03-26  Leo Liu  <sdl.web@gmail.com>

493 494
	* semantic/senator.el (senator-copy-tag-to-register):
	Move register handling logic from register.el.  (Bug#14052)
495

496 497
2013-03-21  Eric Ludlam  <zappo@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
498
	* semantic.el (navigate-menu): Yank Tag :enable.  Make sure
499 500 501 502 503 504 505 506 507 508 509 510
	`senator-tag-ring' is bound.
	(semantic-parse-region-default): Stop reversing the output of
	parse-whole-stream.
	(semantic-repeat-parse-whole-stream): Append returned tags
	differently, so they come out in the right order.

	* semantic/sb.el (semantic-sb-filter-tags-of-class): New option.
	(semantic-sb-fetch-tag-table): Filter tags being bucketed to
	exclude tags belonging to above filtered classes.

	* semantic/find.el (semantic-filter-tags-by-class): New function.

511 512
	* semantic/tag-ls.el (semantic-tag-similar-p-default):
	Add short-circuit in case tag1 and 2 are identical.
513 514

	* semantic/analyze/fcn.el
515 516
	(semantic-analyze-dereference-metatype-stack):
	Use `semantic-tag-similar-p' instead of 'eq' when comparing two tags
517
	during metatype evaluation in case they are the same, but not the
Juanma Barranquero's avatar
Juanma Barranquero committed
518
	same node.  (Tweaked patch from Tomasz Gajewski) (Tiny change)
519

520 521
	* semantic/db-find.el (semanticdb-partial-synchronize):
	Fix require to semantic/db-typecache to be correct.
522 523 524 525 526 527 528 529 530
	(semanticdb-find-tags-external-children-of-type): Make this a
	brutish search by default.

	* semantic/sort.el
	(semantic-tag-external-member-children-default): When calling
	`semanticdb-find-tags-external-children-of-type', pass in the
	input tag as the place to start searching for externally defined
	methods.

531 532
	* semantic/db-file.el (semanticdb-default-save-directory):
	Doc fix: Add ref to default value.
533

534 535
	* semantic/complete.el (semantic-complete-post-command-hook):
	When detecting if cursor is outside completion area, do so if cursor
536 537 538 539 540 541
	moves before start of overlay, or the original starting location
	of the overlay (i.e., if user deletes past beginning of the
	overlay region).
	(semantic-complete-inline-tag-engine): Initialize original start
	of `semantic-complete-inline-overlay'.

542 543
	* semantic/bovine/c.el (semantic-c-describe-environment):
	Update some section titles.  Test semanticdb table before printing it.
544 545 546 547 548 549 550
	(semantic-c-reset-preprocessor-symbol-map): Update
	`semantic-lex-spp-macro-symbol-obarray' outside the loop over all
	the files contributing to its value.
	(semantic-c-describe-environment): If there is an EDE project but
	no spp symbols from it, say so.

	* srecode/args.el (srecode-semantic-handle-:project): New argument
Juanma Barranquero's avatar
Juanma Barranquero committed
551
	handler.  Provide variable values if not in an EDE project.
552 553 554 555 556 557 558

	* srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode
	name.

	* srecode/cpp.el (srecode-semantic-handle-:c): Replace all
	characters in FILENAME_SYMBOL that aren't valid CPP symbol chars.

559 560
	* srecode/map.el (srecode-map-validate-file-for-mode):
	Force semantic to load if it is not active in the template being added
561 562 563 564
	to the map.

	* srecode/srt.el: Add local variables for setting the autoload
	file name.
Juanma Barranquero's avatar
Juanma Barranquero committed
565
	(srecode-semantic-handle-:srt): New autoload cookie.
566 567 568

	* ede.el (ede-apply-preprocessor-map): Apply map to
	`semantic-lex-spp-project-macro-symbol-obarray' instead of the
Juanma Barranquero's avatar
Juanma Barranquero committed
569
	system one.  Add require for semantic.
570 571 572 573 574

	* ede/proj-elisp.el (ede-update-version-in-source): In case a file
	has both a version variable and a Version: comment, always use
	`call-next-method'.

575
	* ede/cpp-root.el (ede-set-project-variables): Delete.
576 577 578 579 580 581 582 583 584 585 586 587 588 589
	`ede-preprocessor-map' does the job this function was attempting
	to do with :spp-table.
	(ede-preprocessor-map): Update file tests to provide better
	messages.  Do not try to get symbols from a file that is the file
	in the current buffer.

	* ede/base.el (ede-project-placeholder): Add more documentation to
	:file slot.
	(ede-load-cache): Use `insert-file-contents' instead of
	`find-file-noselect' in order to avoid activating other tools.

2013-03-21  David Engster  <deng@randomsample.de>

	* semantic/bovine/c.el (semantic-get-local-variables): Also add a
590 591
	new variable 'this' if we are in an inline member function.
	For detecting this, we check overlays at point if there is a class
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629
	spanning the current function.  Also, the variable 'this' has to
	be a pointer.

	* semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully
	when querying g++ for defines returns an error.

	* srecode/srt-mode.el:
	* srecode/compile.el:
	* semantic/db-el.el:
	* semantic/complete.el:
	* ede.el:
	* srecode/table.el:
	* srecode/mode.el:
	* srecode/insert.el:
	* srecode/compile.el:
	* semantic/decorate/include.el:
	* semantic/db.el:
	* ede/auto.el:
	* srecode/dictionary.el:
	* semantic/ede-grammar.el:
	* semantic/db.el:
	* semantic/db-find.el:
	* semantic/db-file.el:
	* semantic/complete.el:
	* semantic/bovine/c.el:
	* semantic/analyze.el:
	* ede/util.el:
	* ede/proj.el:
	* ede/proj-elisp.el:
	* ede/pconf.el:
	* ede/locate.el:
	* ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name'
	to `eieio-object-name', `object-set-name-string' to
	`eieio-object-set-name-string', `object-class' to
	`eieio-object-class', `class-parent' to `eieio-class-parent',
	`class-parents' to `eieio-class-parents', `class-children' to
	`eieio-class-children', `object-name-string' to
	`eieio-object-name-string', `object-class-fast' to
Juanma Barranquero's avatar
Juanma Barranquero committed
630
	`eieio--object-class'.  Also replace direct access with new
631 632
	accessor functions.

Juanma Barranquero's avatar
Juanma Barranquero committed
633
2013-03-21  Tomasz Gajewski  <tomga@wp.pl>  (tiny change)
634

635 636
	* ede/cpp-root.el (ede-project-autoload, initialize-instance):
	Fix EDE file symbol to match rename.  Fix ede-cpp-root symbol to
637 638
	include -project in name.

Juanma Barranquero's avatar
Juanma Barranquero committed
639
2013-03-21  Alex Ott  <alexott@gmail.com>
640

641 642
	* cedet-files.el (cedet-files-list-recursively): New.
	Recursively find files whose names are matching to given regex.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657

	* ede.el (ede-current-project): Rewrite to avoid imperative style.

	* ede/files.el (ede-find-file): Simplify code.

	* ede/base.el (ede-normalize-file/directory): Add function to
	normalize :file or :directory slots if they are missing.

	* ede/cpp-root.el (ede-cpp-root-project): Add compile-command
	slot.
	(project-compile-project): Compiles project using value specified
	in :compule-command slot or in compile-command local variable.
	Value of slot or local variable could be string or function that
	receives project and should return string that will be invoked as
	command.
Juanma Barranquero's avatar
Juanma Barranquero committed
658
	(project-compile-target): Invokes compilation of whole project.
659 660 661 662 663 664

	* ede/files.el (ede-find-project-root): New function to
	find root of project that contains specific file.
	(ede-files-find-existing): New function which checks presence of
	given directory in the list of registered projects.

665 666
2013-03-04  Paul Eggert  <eggert@cs.ucla.edu>

667 668
	* semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art.

669 670
	* semantic/wisent/javat-wy.el: Regenerate.

671 672 673 674 675
2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

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

676
2012-11-16  David Engster  <deng@randomsample.de>
677

678 679
	* semantic/symref/list.el (semantic-symref-symbol):
	Use `semantic-complete-read-tag-project' instead of
680 681 682
	`semantic-complete-read-tag-buffer-deep', since the latter is not
	working correctly.

683 684
	* semantic/symref.el (semantic-symref-result-get-tags):
	Use `find-buffer-visiting' to follow symbolic links.
685 686 687 688

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

689
2012-11-16  Glenn Morris  <rgm@gnu.org>
690 691 692 693 694 695 696

	* 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.

697
2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
698 699 700 701 702 703 704

	* 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).

705
2012-11-13  Glenn Morris  <rgm@gnu.org>
706 707 708 709

	* 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
710 711
2012-10-25  David Engster  <deng@randomsample.de>

712 713
	* semantic/analyze.el (semantic-analyze-dereference-alias):
	New function to dereference aliases.
David Engster's avatar
David Engster committed
714 715 716 717 718 719 720 721 722 723
	(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.

724 725
	* srecode/dictionary.el (srecode-adebug-dictionary):
	Remove require for `semantic'.
David Engster's avatar
David Engster committed
726 727 728 729 730 731 732 733 734 735 736 737 738 739

	* 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.

Juanma Barranquero's avatar
Juanma Barranquero committed
740
	* ede/locate.el: Remove useless requires.  Declare functions
David Engster's avatar
David Engster committed
741 742
	instead and require in functions when needed.

Stefan Monnier's avatar
Stefan Monnier committed
743 744 745 746 747 748 749 750 751
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.

752 753
2012-10-14  David Engster  <deng@randomsample.de>

Stefan Monnier's avatar
Stefan Monnier committed
754 755
	* semantic.el (semantic-error-if-unparsed): New function.
	Raise error if buffer was not parsed by Semantic (bug #12045).
756 757 758 759 760
	(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
761 762
	(semantic-python-get-system-include-path):
	Use `python-shell-internal-send-string' if available to query Python
763 764
	for system paths.

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

David Engster's avatar
David Engster committed
768 769
	* semantic/complete.el (semantic-complete-jump-local)
	(semantic-complete-jump, semantic-complete-jump-local-members)
770 771 772 773 774 775 776 777 778 779
	(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
780
2012-10-08  David Engster  <deng@randomsample.de>
781 782 783 784 785

	* 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).

786 787 788 789 790
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
791
	the parser in an infinite loop (bug#12458).
792 793 794 795

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

796 797 798
	* 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
799 800 801 802 803 804 805 806 807
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.

808 809 810
2012-10-06  Chong Yidong  <cyd@gnu.org>

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

814 815 816 817
2012-10-02  Chong Yidong  <cyd@gnu.org>

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

Chong Yidong's avatar
Chong Yidong committed
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
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.
Juanma Barranquero's avatar
Juanma Barranquero committed
848 849 850
	(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.
Chong Yidong's avatar
Chong Yidong committed
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
	(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.
Juanma Barranquero's avatar
Juanma Barranquero committed
917
	(ede-proj-project): Inherit from eieio-persistent-read.
Stefan Monnier's avatar
Stefan Monnier committed
918
	Specify extension and header line.
Juanma Barranquero's avatar
Juanma Barranquero committed
919
	(ede-proj-load, ede-proj-save): Replace with impl using
Chong Yidong's avatar
Chong Yidong committed
920 921 922 923 924 925 926 927 928 929
	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
930 931
	(semantic-analyzer-debug-insert-include-summary):
	Before dereferencing tableinner, make sure it has a value.
Chong Yidong's avatar
Chong Yidong committed
932 933 934 935 936 937

	* 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
938 939
	(semantic-analyze-refs-impl, semantic-analyze-refs-proto):
	Ignore :typemodifiers during compare.
Chong Yidong's avatar
Chong Yidong committed
940 941 942 943 944 945

	* 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
946 947
	(semantic-lex-c-preprocessor-symbol-map-builtin):
	Add __attribute_pure__.
Chong Yidong's avatar
Chong Yidong committed
948

Stefan Monnier's avatar
Stefan Monnier committed
949 950
	* semantic/bovine/scm.el (semantic-format-tag-prototype):
	Add parent and color argument.  Pass them through.
Chong Yidong's avatar
Chong Yidong committed
951 952 953 954 955 956 957 958 959 960 961 962

	* 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.
Juanma Barranquero's avatar
Juanma Barranquero committed
963
	(semanticdb-typecache-complete-flush): Support missing or empty
Chong Yidong's avatar
Chong Yidong committed
964 965 966 967 968 969 970
	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
971 972
	(semanticdb-synchronize, semanticdb-partial-synchronize):
	Restore code that refreshes references to include files.
Chong Yidong's avatar
Chong Yidong committed
973 974 975 976 977

	* 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
978 979
	(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
980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
	(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
1016 1017
	* semantic/util.el (semantic-describe-buffer):
	Add semantic-new-buffer-fcn-was-run.
Chong Yidong's avatar
Chong Yidong committed
1018

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

Stefan Monnier's avatar
Stefan Monnier committed
1023 1024
	* semantic/wisent/python.el (semantic-python-expand-tag):
	New function.
Chong Yidong's avatar
Chong Yidong committed
1025 1026 1027

	* srecode/compile.el (srecode-compile-templates): Add "framework"
	special variable support.
Juanma Barranquero's avatar
Juanma Barranquero committed
1028
	(srecode-compile-template-table): Support framework specifier.
Chong Yidong's avatar
Chong Yidong committed
1029 1030 1031 1032 1033

	* 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
1034
	(srecode-c-apply-templates): Rename from srecode-cpp-apply-templates.
Chong Yidong's avatar
Chong Yidong committed
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046

	* 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
1047 1048
	* srecode/semantic.el (srecode-semantic-insert-tag):
	Support system includes.
Chong Yidong's avatar
Chong Yidong committed
1049 1050 1051 1052

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

	* srecode/table.el (srecode-template-table): Add :framework slot.
Juanma Barranquero's avatar
Juanma Barranquero committed
1053
	(srecode-dump): Dump it.
Chong Yidong's avatar
Chong Yidong committed
1054 1055 1056
	(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.
Juanma Barranquero's avatar
Juanma Barranquero committed
1057
	(srecode-make-mode-table): Init :modetables.
Chong Yidong's avatar
Chong Yidong committed
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078
	(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
1079 1080
	* ede/proj-elisp.el (ede-proj-target-elisp):
	Remove ede-emacs-preload-compiler.
Chong Yidong's avatar
Chong Yidong committed
1081 1082 1083 1084 1085 1086 1087 1088
	(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.

Juanma Barranquero's avatar
Juanma Barranquero committed
1089
	* ede/util.el (ede-make-buffer-writable):
Chong Yidong's avatar
Chong Yidong committed
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110
	* 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.
Juanma Barranquero's avatar
Juanma Barranquero committed
1111
	(semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for
Chong Yidong's avatar
Chong Yidong committed
1112
	regular expression parsing.
Juanma Barranquero's avatar
Juanma Barranquero committed
1113
	(semantic-cpp-lexer): Add semantic-lex-c-ifdef.
Chong Yidong's avatar
Chong Yidong committed
1114
	(semantic-expand-c-tag): Check if tag is non-nil before adding it
Juanma Barranquero's avatar
Juanma Barranquero committed
1115
	to return list.
Stefan Monnier's avatar
Stefan Monnier committed
1116 1117
	(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
1118 1119 1120 1121 1122 1123 1124
	(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
1125 1126
	* 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
1127 1128 1129 1130 1131 1132
	(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
1133 1134
	* 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
1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147
	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
1148 1149
	* semantic/decorate/mode.el (semantic-decoration-mode):
	Activate decoration of includes by default.
Chong Yidong's avatar
Chong Yidong committed
1150

Stefan Monnier's avatar
Stefan Monnier committed
1151 1152
	* 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
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165

	* 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
1166 1167
	* semantic/find.el (semantic-find-tags-included):
	Make overridable.
Chong Yidong's avatar
Chong Yidong committed
1168 1169 1170 1171 1172 1173

	* 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
1174 1175
	* semantic/grammar.el (semantic-grammar-create-package):
	Fix message.
Chong Yidong's avatar
Chong Yidong committed
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186
	(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
1187 1188
	* semantic/scope.el (semantic-analyze-scoped-types-default):
	Use semantic-tag-prototype-p.
Chong Yidong's avatar
Chong Yidong committed
1189 1190 1191 1192 1193 1194
	(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
1195 1196
	* semantic/wisent/comp.el (wisent-BITS-PER-WORD):
	Use most-positive-fixnum if available.
Chong Yidong's avatar
Chong Yidong committed
1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212

	* 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.
Juanma Barranquero's avatar
Juanma Barranquero committed
1213 1214 1215
	(inversion-package-version): More verbose error message.
	(inversion-<): Deal with new special cases.
	(inversion-require-emacs): New argument sxemacs-ver; use it.
Chong Yidong's avatar
Chong Yidong committed
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227

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.

Glenn Morris's avatar
Glenn Morris committed
1228
2012-10-01  Jan Moringen  <jan.moringen@uni-bielefeld.de>
Chong Yidong's avatar
Chong Yidong committed
1229 1230

	* semantic/idle.el
Stefan Monnier's avatar
Stefan Monnier committed
1231 1232
	(semantic-idle-breadcrumbs--display-in-header-line):
	Escape %-characters to avoid erroneous expansion in header line.
Chong Yidong's avatar
Chong Yidong committed
1233 1234 1235 1236 1237 1238 1239