12015-02-22 Paul Eggert <eggert@cs.ucla.edu> 2 3 Spelling fixes 4 * semantic/doc.el (semantic-documentation-comment-preceding-tag): 5 Rename from semantic-documentation-comment-preceeding-tag. All 6 uses changed. Leave an obsolete alias behind. 7 82015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> 9 10 * semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste error 11 (semanticdb-project-database => sym). Avoid eieio--class-public-a 12 when possible. 13 142015-02-04 Stefan Monnier <monnier@iro.umontreal.ca> 15 16 Use cl-generic instead of EIEIO's defgeneric/defmethod. 17 * **/*.el: Mechanically replace all calls to defmethod/defgeneric by 18 calls to cl-defmethod/cl-defgeneric. 19 * srecode/table.el: 20 * srecode/fields.el: 21 * srecode/dictionary.el: 22 * srecode/compile.el: 23 * semantic/debug.el: 24 * semantic/db-ref.el: 25 * ede/base.el: 26 * ede/auto.el: 27 * ede.el: Require `cl-generic'. 28 292015-01-07 Stefan Monnier <monnier@iro.umontreal.ca> 30 31 Don't use <class> as a variable and don't assume that <class>-list-p is 32 automatically defined. 33 34 * ede/speedbar.el (ede-speedbar-compile-line) 35 (ede-speedbar-get-top-project-for-line): 36 * ede.el (ede-buffer-belongs-to-target-p) 37 (ede-buffer-belongs-to-project-p, ede-build-forms-menu) 38 (ede-add-project-to-global-list): 39 * semantic/db-typecache.el (semanticdb-get-typecache): 40 * semantic/db-file.el (semanticdb-load-database): 41 * semantic/db-el.el (semanticdb-elisp-sym->tag): 42 * semantic/db-ebrowse.el (semanticdb-ebrowse-load-helper): 43 * ede/project-am.el (project-am-preferred-target-type): 44 * ede/proj.el (ede-proj-load): 45 * ede/custom.el (ede-customize-current-target, ede-customize-target): 46 * semantic/ede-grammar.el ("semantic grammar"): 47 * semantic/scope.el (semantic-scope-reset-cache) 48 (semantic-calculate-scope): 49 * srecode/map.el (srecode-map-update-map): 50 * srecode/insert.el (srecode-insert-show-error-report) 51 (srecode-insert-method, srecode-insert-include-lookup) 52 (srecode-insert-method): 53 * srecode/fields.el (srecode-active-template-region): 54 * srecode/compile.el (srecode-flush-active-templates) 55 (srecode-compile-inserter): Don't use <class> as a variable. 56 Use `oref-default' for class slots. 57 58 * semantic/grammar.el (semantic-grammar-eldoc-last-data): New var. 59 (semantic-grammar-eldoc-get-macro-docstring): Use it instead of 60 eldoc-last-data. 61 * semantic/fw.el (semantic-exit-on-input): Use `declare'. 62 (semantic-throw-on-input): Use `with-current-buffer'. 63 * semantic/db.el (semanticdb-abstract-table-list): Define if not 64 pre-defined. 65 * semantic/db-find.el (semanticdb-find-tags-collector): 66 Use save-current-buffer. 67 (semanticdb-find-tags-collector): Don't use <class> as a variable. 68 * semantic/complete.el (semantic-complete-active-default) 69 (semantic-complete-current-matched-tag): Declare. 70 (semantic-complete-inline-custom-type): Don't use <class> as a variable. 71 * semantic/bovine/make.el (semantic-analyze-possible-completions): 72 Use with-current-buffer. 73 * semantic.el (semantic-parser-warnings): Declare. 74 * ede/base.el (ede-target-list): Define if not pre-defined. 75 (ede-with-projectfile): Prefer find-file-noselect over 76 save-window-excursion. 77 782014-12-22 Stefan Monnier <monnier@iro.umontreal.ca> 79 80 * srecode/srt-mode.el (srecode-macro-help): Use eieio-class-children. 81 82 * semantic/db.el (semanticdb-cache-get): Prefer eieio-object-class over 83 eieio--object-class. 84 85 * semantic/db-el.el (semanticdb-elisp-sym->tag): Prefer find-class over 86 class-v. 87 88 * ede/generic.el (ede-find-target): Prefer \` and \' to ^ and $. 89 902014-12-14 Dmitry Gutov <dgutov@yandex.ru> 91 92 * semantic.el (semantic-analyze-completion-at-point-function) 93 (semantic-analyze-notc-completion-at-point-function) 94 (semantic-analyze-nolongprefix-completion-at-point-function): 95 Do nothing if the current buffer is not using Semantic (bug#19077). 96 972014-12-14 Paul Eggert <eggert@cs.ucla.edu> 98 99 * semantic/lex-spp.el (semantic-lex-spp-analyzer-do-replace): 100 Rename from semantic-lex-spp-anlyzer-do-replace. 101 1022014-12-08 Matt Curtis <matt.r.curtis@gmail.com> (tiny change) 103 104 * pulse.el (pulse-momentary-highlight-one-line): Respect the POINT 105 argument (bug#17260). 106 1072014-11-09 Eric Ludlam <zappo@gnu.org> 108 109 * semantic.el (semantic-mode): Add/remove 3 110 completion-at-point-functions. 111 (semantic-completion-at-point-function): Remove. 112 (semantic-analyze-completion-at-point-function) 113 (semantic-analyze-notc-completion-at-point-function) 114 (semantic-analyze-nolongprefix-completion-at-point-function): 115 New completion at point functions. 116 117 * semantic/doc.el (semantic-doc-snarf-comment-for-tag): Fix case 118 when comment-end is empty string. 119 120 * semantic/debug.el 121 (semantic-debug-parser-debugger-source): New buffer local 122 variable. 123 (semantic-debug-interface): Add 'nil' initform to overlays. 124 (semantic-debug-mode): Remove read-only tags from buffers on exit. 125 (semantic-debug): Add autoload cookie. Force the language 126 specific debugger to load. 127 128 * semantic/db.el (generic::semanticdb-full-filename): New generic 129 method to allow this method to be used on buffer names via an 130 associated database. 131 132 * semantic/symref.el 133 (semantic-symref-cleanup-recent-buffers-fcn): When cleaning up 134 buffers, don't clean up buffers that are being used (i.e., in a 135 window) when the hook fires. 136 (semantic-symref-recently-opened-buffers): New tracking variable. 137 (semantic-symref-cleanup-recent-buffers-fcn): New hook fcn. 138 (semantic-symref-result-get-tags): Move logic into 139 `semantic-symref-hit-to-tag-via-buffer', and cleanup buffers via 140 the symref cleanup function in post-command-hook. 141 (semantic-symref-hit-to-tag-via-buffer): Logic that used to be 142 from above. 143 (semantic-symref-hit-to-tag-via-db): New. 144 145 * semantic/analyze.el: 146 (semantic-analyze-find-tag-sequence-default): If first entry in 147 sequence is the only one, apply tagclass filter. 148 (semantic-analyze-princ-sequence): Show slot even if empty. 149 (semantic-analyze-find-tag-sequence) 150 (semantic-analyze-find-tag-sequence-default): Add flags argument. 151 Add support for forcing the final entry of the sequence to be of 152 class variable. 153 (semantic-analyze-find-tag): Fix bug where input class filter was 154 ignored if there was a typecache match. 155 (semantic-analyze-current-context-default): For assignments, the 156 assignee now must be of class variable. 157 158 * semantic/analyze/complete.el 159 (semantic-analyze-possible-completions-default): 160 Add 'no-longprefix' flag. When used, the prefix and prefixtypes are 161 shortened to just the last symbol. 162 163 * semantic/bovine/c.el (semantic-c-do-lex-if): Catch errors from 164 'hideif', and push to the parser warning stack. 165 (semantic-lex-cpp-define): When a comment is at the end of a 166 macro, do not subtract an extra 1 from the found position. 167 Fixes bug with: #define foo (a)/**/ adding an extra ')' to the stream. 168 169 * semantic/bovine/scm.el (semantic-lex-scheme-symbol): 170 Allow symbols to be one char long. 171 172 * semantic/bovine/grammar.el 173 (bovine-grammar-calculate-source-on-path): New. 174 (bovine-grammar-setupcode-builder): Use it. 175 176 * ede.el (ede/detect): New require. 177 (ede-version): Bump version 178 (ede-initialize-state-current-buffer): Use new 179 `ede-detect-directory-for-project' to detect projects first 180 instead of depending on currente dir only. 181 (ede-delete-project-from-global-list): New. 182 (ede-flush-deleted-projects): Use above. 183 (ede-check-project-query-fcn): New variable 184 (ede-check-project-directory): Use above when querying the user. 185 Added to support unit testing of this security measure. 186 (ede-initialize-state-current-buffer): 187 Use `ede-directory-project-cons' instead of the -detect- fcn to take 188 advantage of the cache. Pass found project into 189 `ede-load-project-file'. 190 (ede-load-project-file): Add new input DETECTIN. 191 (ede-rescan-toplevel): Get the proj root a better way. 192 (ede-load-project-file): Return the loaded object. When asking 193 for existing project, ask for an exact match. 194 (ede-initialize-state-current-buffer): Simplify some conditional 195 logic. 196 (ede-load-project-file): Simplify conditional logic. 197 (ede-global-list-sanity-check): New Testing fcn. 198 (ede-parent-project): Replace old code with call to faster 199 `ede-find-subproject-for-directory'. 200 (ede-load-project-file): 201 Use `ede-directory-get-toplevel-open-project' instead of above 202 deleted. Rename "pfc" to "autoloader". 203 Use `ede-directory-project-cons' to detect a project. Delete no 204 project found case where we search up the tree. 205 206 * ede/auto.el (ede-project-autoload): Fix doc typo. 207 Add `:root-only' slot. 208 (ede-auto-load-project): Doc update: warn to not use. 209 (ede-dir-to-projectfile): Delete. 210 (ede-project-autoload-dirmatch): Add subdir-only slot. 211 Make configdatastash unbound by default. 212 (ede-do-dirmatch): If subdir-only is true, then don't allow exact 213 matches. Account for configdatastash as unbound. Assume value of 214 nil means no tool installed. Make sure loaded path matches from 215 beginning. Stash the regexp, not the raw string. 216 (ede-project-class-files): Note that makefile and automake are not 217 root only. 218 (ede-auto-detect-in-dir): New (for use with `ede/detect.el'). 219 (ede-project-dirmatch-p): Delete. 220 (ede-project-root-directory): Remove body, return nil. 221 (ede-project-autoload): :proj-root-dirmatch can be null & doc fix. 222 (ede-auto-detect-in-dir): If there is no :proj-file, check for a 223 dirmatch. 224 225 * ede/generic.el (ede/config): Replace require of ede. 226 (ede-generic-new-autoloader): Generic projects are now safe by 227 default. Note this is NOT a root only project. 228 (project-rescan, ede-project-root, ede-generic-target-java) 229 (ede-java-classpath, ede-find-subproject-for-directory): New. 230 (ede-enable-generic-projects): Add new autoloaders for git, bzr, 231 hg, sv, CVS. 232 (ede-generic-vc-project) 233 (ede-generic-vc-project::ede-generic-setup-configuration): New. 234 (ede-generic-config): Remove slots: c-include-path, 235 c-preprocessor-table, c-preprocessor-files, classpath, 236 build-command, debug-command, run command. Inherit from 237 ede-extra-config-build, ede-extra-config-program. 238 Make run-command :value match :custom so only strings are accepted. 239 Add some more :group slot specifiers. 240 (ede-generic-project): Add mixins `ede-project-with-config-c' and 241 `ede-project-with-config-java'. Inherit from 242 `ede-project-with-config-build', 243 `ede-project-with-config-program'. Subclass 244 `ede-project-with-config'. Remove duplication from new baseclass. 245 (ede-generic-target): Inherit from `ede-target-with-config-build', 246 `ede-target-with-config-program'. Subclass `ede-target-with-config'. 247 (ede-generic-target-c-cpp): Add mixin `ede-target-with-config-c'. 248 (ede-generic-target-java): Add mixin `ede-target-with-config-java'. 249 (ede-preprocessor-map, ede-system-include-path) 250 (edejava-classpath): Delete, moved to config.el. 251 (project-compile-project, project-compile-target) 252 (project-debug-target, project-run-target): Delete. 253 (ede-generic-get-configuration, ede-generic-setup-configuration) 254 (ede-commit-project, project-rescan) 255 (ede-generic-project::ede-customize) 256 (ede-generic-target::ede-customize) 257 (ede-generic-config::eieio-done-customizing) 258 (ede-generic-config::ede-commit): Delete. Subsumed by new 259 baseclass. 260 (ede-preprocessor-map, ede-system-include-path) 261 (project-debug-target, project-run-target): Call new 262 `ede-config-get-configuration' instead of old version. 263 (ede-generic-load): Do not add to global list here. 264 265 * ede/files.el (ede-find-project-root) 266 (ede-files-find-existing) 267 (ede-directory-get-toplevel-open-project-new): Delete. 268 (ede-project-root-directory): Use `ede-project-root' first. 269 (ede-project-directory-remove-hash) 270 (ede--directory-project-from-hash) 271 (ede--directory-project-add-description-to-hash): Rename to make 272 internal symbols (via --). Expand input dir first. 273 (ede-directory-project-p): Doc fix (note obsoleted.) 274 (ede-toplevel-project-or-nil): Alias to `ede-toplevel-project'. 275 (ede-toplevel-project): Doc Fix. Delete commented out old code. 276 Simplify returning result from ede-detect-directory-for-project. 277 (ede-directory-get-open-project): Support when 278 inodes are disabled. If disabled to str compare on root project. 279 (ede-directory-get-toplevel-open-project): Enabled nested 280 projects. When doing directory name matching, save the 'short' 281 version of an answer (non-exact match) and eventually select the 282 shortest answer at the end. Expand the filename of tested 283 projects. Better support for when inodes are disabled. 284 Add 'exact' option so that it will return a project that is an exact 285 match. 286 (ede-find-subproject-for-directory): Small optimization to run 287 `file-truename' less often. 288 (ede-directory-project-p): Move content, then use 289 `ede-directory-project-cons'. 290 Use `ede-detect-directory-for-project', replacing old detection loop. 291 (ede-directory-project-cons): New, from above. 292 (ede-toplevel-project): Toss old scanning code. 293 Use `ede-detect-directory-for-project' instead. 294 (ede-directory-get-toplevel-open-project-new): New. 295 296 * ede/linux.el (ede-linux-project-root): Delete. 297 (ede-project-autoload): Remove dirmatch entry - it is no longer 298 needed. 299 300 * ede/proj.el (project-rescan): Replace direct 301 manipulation of `ede-projects' with equivalent and better 302 functions. 303 (ede-proj-load): Replace call to test if dir has project to 304 explicity ask filesystem if Project.ede is there. 305 306 * ede/config.el: 307 * ede/detect.el: New files. 308 309 * ede/project-am.el (project-run-target): Add "./" to program to 310 run for systems where '.' isn't in PATH. 311 (project-am-load): Remove old code regarding `ede-constructing'. 312 Just read in the makefiles. 313 314 * ede/linux.el (ede-linux-load): Do not add to global list here. 315 Don't check for existing anymore. 316 (project-rescan): New. 317 (ede-linux-project-list, ede-linux-file-existing): Delete. 318 (ede-linux-project-root): Delete body. Need symbol for autoloads 319 for now. 320 (ede-linux-project): No longer instance tracker. 321 (ede-project-autoload): Don't provide :proj-root 322 323 * ede/emacs.el (ede-emacs-load): Do not add project to global list 324 here. Don't look for existing first. 325 (ede-project-autoload): Remove dirmatch entry - it is no longer 326 needed. Don't provide proj-root anymore. 327 (ede-emacs-project-list, ede-emacs-file-existing): Delete. 328 (ede-emacs-project-root): Remove body (need symbol for loaddefs 329 still). 330 (ede-emacs-project): Do not instance track anymore. 331 332 * ede/cpp-root.el (initialize-instance): Remove commented code. 333 Add note about why we are adding the project to the master list. 334 Make sure if we are replacing a prev version, remove from global 335 list. 336 (ede-cpp-root-file-existing) 337 (ede-cpp-root-project-file-for-dir) 338 (ede-cpp-root-count, ede-cpp-root-project-root, ede-cpp-root-load) 339 (ede-project-autoload cpp-root): Delete. 340 (ede-project-root-directory): Return :directory instead of 341 calculating from :file. 342 (project-rescan): New. 343 344 * ede/base.el (ede-toplevel): Only use buffer cached value if 345 subproj not passed in. 346 347 * srecode/java.el (srecode-semantic-handle-:java): Fix case when 348 an EDE project didn't support java paths. 349 3502014-11-09 David Engster <dengste@eml.cc> 351 352 * ede/proj-elisp.el (ede-proj-target-elisp::ede-proj-tweak-autoconf): 353 Kill buffer after saving modified elisp-comp script, so as to avoid 354 "file has changed on disk; really edit the buffer" questions when 355 script gets rewritten. 356 3572014-10-29 Paul Eggert <eggert@cs.ucla.edu> 358 359 Simplify use of current-time and friends. 360 * srecode/args.el (srecode-semantic-handle-:time): 361 Don't call current-time twice to get the current time stamp, 362 as this can lead to inconsistent results. 363 3642014-10-24 Stefan Monnier <monnier@iro.umontreal.ca> 365 366 * semantic/complete.el: Require semantic/db-find. 367 3682014-10-20 Glenn Morris <rgm@gnu.org> 369 370 * Merge in all changes up to 24.4 release. 371 3722014-10-15 Stefan Monnier <monnier@iro.umontreal.ca> 373 374 * semantic/wisent/comp.el (wisent-defcontext): Move declarations 375 outside of eval-when-compile. Use `declare'. 376 (wisent-with-context): Add `defvar' declarations in case this macro is 377 used in a file compiled with lexical-binding. 378 (wisent-semantic-action-expand-body): Avoid add-to-list on local var. 379 3802014-09-22 David Engster <deng@randomsample.de> 381 382 * ede/emacs.el (ede-emacs-version): Do not call 'egrep' to 383 determine Emacs version (it was dead code anyway). Make sure that 384 configure.ac or configure.in exist. (Bug#18476) 385 3862014-06-19 Stefan Monnier <monnier@iro.umontreal.ca> 387 388 * semantic/ia.el (semantic-ia-complete-symbol-menu): Use posn-at-point 389 instead of senator-completion-menu-point-as-event; un-comment, tho keep 390 the "no smart completion" fallback commented since it still doesn't 391 work. 392 3932014-05-01 Glenn Morris <rgm@gnu.org> 394 395 * ede.el (ede-project-directories, ede-check-project-directory): 396 * semantic/ia-sb.el (semantic-ia-sb-show-doc): 397 * semantic/tag.el (semantic-tag-in-buffer-p): 398 * semantic/bovine/c.el (semantic-tag-abstract-p): 399 Doc fixes (replace `iff'). 400 4012014-04-01 Glenn Morris <rgm@gnu.org> 402 403 * ede/emacs.el (ede-emacs-version): Update AC_INIT regexp. (Bug#17160) 404 4052014-03-29 Glenn Morris <rgm@gnu.org> 406 407 * ede/dired.el (ede-dired-minor-mode): Add autoload cookie. 408 (generated-autoload-file, generated-autoload-load-name): 409 Set file-local values. 410 * ede.el: Load ede/loaddefs at compile time too. 411 (ede-dired-minor-mode): Remove hand-written autoload. 412 4132014-03-04 Glenn Morris <rgm@gnu.org> 414 415 * semantic/util.el (semantic-complete-symbol): 416 Replace use of obsolete argument of display-completion-list. 417 4182014-02-03 Glenn Morris <rgm@gnu.org> 419 420 * semantic/senator.el (senator-copy-tag-to-register): 421 Use register-read-with-preview, if available. 422 4232014-01-13 Eric Ludlam <zappo@gnu.org> 424 425 * semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix typo 426 in a doc string. 427 428 * semantic/ia.el (semantic-ia-complete-symbol): Ignore case if 429 prefix is all lower case. 430 (semantic-ia-fast-jump): Push mark before jumping to an include file. 431 432 * semantic/complete.el (semantic-displayor-point-position): 433 Calculate if the toolbar is on the left when calculating point 434 position. 435 4362014-01-08 Paul Eggert <eggert@cs.ucla.edu> 437 438 Spelling fixes. 439 * semantic/decorate/include.el (semantic-decoration-mouse-3): 440 Rename from semantic-decoratiton-mouse-3. All uses changed. 441 4422013-12-28 Glenn Morris <rgm@gnu.org> 443 444 * ede/linux.el (project-linux-build-directory-default) 445 (project-linux-architecture-default): Fix custom types. Add version. 446 4472013-12-12 David Engster <deng@randomsample.de> 448 449 * semantic/analyze.el (semantic-analyze-find-tag-sequence-default): 450 Always add scope to the local miniscope for each type. Otherwise, 451 structure tags are not analyzed correctly. Also, always search 452 the extended miniscope even when not dealing with types. 453 454 * semantic/ctxt.el (semantic-get-local-variables-default): 455 Also try to parse local variables for buffers which are currently 456 marked as unparsable. Otherwise, it is often impossible to 457 complete local variables. 458 459 * semantic/scope.el (semantic-analyze-scoped-types-default): If we 460 cannot find a type in the typecache, also look into the types 461 we already found. This is necessary since in C++, a 'using 462 namespace' can be dependend on a previous one. 463 (semantic-completable-tags-from-type): When creating the list of 464 completable types, pull in types which are referenced through 465 'using' statements, and also preserve their filenames. 466 467 * semantic/bovine/c.el (semantic/analyze/refs): Require. 468 (semantic-analyze-tag-references): New override. Mainly copied 469 from the default implementation, but if nothing could be found (or 470 just the tag itself), drop all namespaces from the scope and 471 search again. This is necessary for implementations which are 472 defined outside of the namespace and only pull those in through 473 'using' statements. 474 (semantic-ctxt-scoped-types): Go through all tags around point and 475 search them for using statements. In the case for using 476 statements outside of function scope, append them in the correct 477 order instead of using 'cons'. This is important since using 478 statements may depend on previous ones. 479 (semantic-expand-c-tag-namelist): Do not try to parse struct 480 definitions as default values. The grammar parser seems to return 481 the point positions slightly differently (as a cons instead of a 482 list). Also, set parent for typedefs to 'nil'. It does not 483 really make sense to set a parent class for typedefs, and it can 484 also lead to endless loops when calculating scope. 485 (semantic-c-reconstitute-token): Change handling of function 486 pointers; instead of seeing them as variables, handle them as 487 functions with a 'function-pointer' attribute. Also, correctly 488 deal with function pointers as function arguments. 489 (semantic-c-reconstitute-function-arglist): New function to parse 490 function pointers inside an argument list. 491 (semantic-format-tag-name): Use 'function-pointer' attribute 492 instead of the old 'functionpointer-flag'. 493 (semantic-cpp-lexer): Use new `semantic-lex-spp-paren-or-list'. 494 495 * semantic/bovine/gcc.el (semantic-gcc-setup): Add 'features.h' to 496 the list of files whose preprocessor symbols are included. 497 This pulls in things like __USE_POSIX and similar. 498 499 * semantic/format.el (semantic-format-tag-prototype-default): 500 Display default values if available. 501 502 * semantic/analyze/refs.el (semantic-analyze-refs-impl) 503 (semantic-analyze-refs-proto): Add 'default-value' as ignorable in 504 call to `semantic-tag-similar-p'. 505 506 * semantic/db-mode.el (semanticdb-semantic-init-hook-fcn): 507 Always set buffer for `semanticdb-current-table'. 508 509 * semantic/db.el (semanticdb-table::semanticdb-refresh-table): 510 The previous change turned up a bug in this method. Since the current 511 table now correctly has a buffer set, the first clause in the 512 `cond' would be taken, but there was a `save-excursion' missing. 513 514 * semantic/lex-spp.el (semantic-c-end-of-macro): Declare. 515 (semantic-lex-spp-token-macro-to-macro-stream): Deal with macros 516 which open/close a scope. For this, leave an overlay if we 517 encounter a single open paren and return a semantic-list in the 518 lexer. When this list gets expanded, retrieve the old position 519 from the overlay. See the comments in the function for further 520 details. 521 (semantic-lex-spp-find-closing-macro): New function to find the 522 next macro which closes scope (i.e., has a closing paren). 523 (semantic-lex-spp-replace-or-symbol-or-keyword): Go to end of 524 closing macro if necessary. 525 (semantic-lex-spp-paren-or-list): New lexer to specially deal with 526 parens in macro definitions. 527 528 * semantic/decorate/mode.el (semantic-decoration-mode): Do not 529 decorate available tags immediately but in an idle timer, since 530 EDE will usually not be activated yet, which will make it 531 impossible to find project includes. 532 533 * semantic/decorate/include.el 534 (semantic-decoration-on-includes-highlight-default): 535 Remove 'unloaded' from throttle when decorating includes, otherwise all 536 would be loaded. Rename 'table' to 'currenttable' to make things 537 clearer. 538 539 * ede/linux.el (cl): Require during compile. 540 5412013-12-12 Lluís Vilanova <xscript@gmx.net> 542 543 * ede/linux.el (project-linux-build-directory-default) 544 (project-linux-architecture-default): Add customizable variables. 545 (ede-linux-project): Add additional slots to track Linux-specific 546 information (out-of-tree build directory and selected 547 architecture). 548 (ede-linux--get-build-directory, ede-linux--get-archs) 549 (ede-linux--detect-architecture, ede-linux--get-architecture) 550 (ede-linux--include-path): Add function to detect Linux-specific 551 information. 552 (ede-linux-load): Set new Linux-specific information when creating 553 a project. 554 (ede-expand-filename-impl): Use new and more accurate include 555 information. 556 5572013-12-12 Eric Ludlam <zappo@gnu.org> 558 559 * semantic/scope.el (semantic-calculate-scope): Return a clone of 560 the scopecache, so that everyone is working with its own (shallow) 561 copy. Otherwise, if one caller is resetting the scope, it would 562 be reset for all others working with the scope cache as well. 563 5642013-12-12 Alex Ott <alexott@gmail.com> 565 566 * ede/generic.el (project-run-target): Remove incorrect require. 567 568 * semantic/format.el (semantic-format-tag-prototype-default): 569 Use concat only for strings. 570 5712013-11-30 Glenn Morris <rgm@gnu.org> 572 573 Stop keeping (most) generated cedet grammar files in the repository. 574 * semantic/bovine/grammar.el (bovine--make-parser-1): 575 New function, split from bovine-make-parsers. 576 (bovine-make-parsers): Use bovine--make-parser-1. 577 (bovine-batch-make-parser): New function. 578 * semantic/wisent/grammar.el (wisent--make-parser-1): 579 New function, split from wisent-make-parsers. 580 (wisent-make-parsers): Use wisent--make-parser-1. 581 (wisent-batch-make-parser): New function. 582 * semantic/db.el (semanticdb-save-all-db): 583 Avoid prompting in batch mode. 584 * semantic/grammar.el (semantic-grammar-footer-template): 585 Disable version-control and autoloads in the output. 586 (semantic-grammar-create-package): 587 Add option to return nil if output is up-to-date. 588 * semantic/bovine/c-by.el, semantic/bovine/make-by.el: 589 * semantic/bovine/scm-by.el, semantic/wisent/javat-wy.el: 590 * semantic/wisent/js-wy.el, semantic/wisent/python-wy.el: 591 * srecode/srt-wy.el: Remove generated files from repository. 592 5932013-11-16 Barry O'Reilly <gundaetiapo@gmail.com> 594 595 * semantic/fw.el (semantic-exit-on-input) 596 (semantic-throw-on-input): Restore point before 597 accept-process-output because timers which redisplay can run. 598 (Bug#15045) 599 6002013-11-03 Johan Bockgård <bojohan@gnu.org> 601 602 * semantic/lex.el (semantic-lex-start-block) 603 (semantic-lex-end-block): Move after definition of 604 semantic-lex-token macro. 605 6062013-10-28 Barry O'Reilly <gundaetiapo@gmail.com> 607 608 * semantic/idle.el (semantic-idle-symbol-highlight) 609 (semantic-idle-symbol-highlight-face): Define face with defface 610 and obsolete the replaced one defined with defvar. (Bug#15745) 611 * pulse.el (pulse-momentary-highlight-overlay) 612 (pulse-momentary-highlight-region): Fix typo in doc 613 6142013-10-30 Glenn Morris <rgm@gnu.org> 615 616 * semantic/grammar.el (semantic-grammar-mode-keywords-2) 617 (semantic-grammar-mode-keywords-3): Handle renamed font-lock vars. 618 6192013-10-20 Johan Bockgård <bojohan@gnu.org> 620 621 * semantic/db-mode.el (global-semanticdb-minor-mode): 622 Remove hooks correctly. 623 (semanticdb-toggle-global-mode): Pass `toggle' to minor mode function. 624 6252013-09-28 Leo Liu <sdl.web@gmail.com> 626 627 * semantic/texi.el (semantic-analyze-possible-completions): 628 Use ispell-lookup-words instead. (Bug#15460) 629 6302013-09-20 Glenn Morris <rgm@gnu.org> 631 632 * semantic.el (semantic-new-buffer-fcn-was-run, semantic-active-p): 633 Move from here... 634 * semantic/fw.el: ...to here. 635 6362013-09-18 Glenn Morris <rgm@gnu.org> 637 638 * semantic/find.el (semantic-brute-find-first-tag-by-name): 639 Replace obsolete function assoc-ignore-case with assoc-string. 640 641 * semantic/complete.el (tooltip-mode, tooltip-frame-parameters) 642 (tooltip-show): Declare. 643 6442013-09-17 Stefan Monnier <monnier@iro.umontreal.ca> 645 646 * semantic/symref/list.el (semantic-symref-results-mode): 647 Use define-derived-mode. 648 (semantic-symref-produce-list-on-results): Set up the results here 649 instead of in semantic-symref-results-mode. Move after 650 semantic-symref-current-results's defvar now that it refers to that var. 651 (semantic-symref-auto-expand-results) 652 (semantic-symref-results-summary-function) 653 (semantic-symref-results-mode-hook): Remove redundant :group arg. 654 (semantic-symref, semantic-symref-symbol, semantic-symref-regexp): 655 Initialize directly in the let. 656 6572013-09-13 Glenn Morris <rgm@gnu.org> 658 659 * semantic/ia.el (semantic-ia-complete-symbol-menu): 660 Comment it out, since it cannot work. (Bug#14522) 661 6622013-09-12 Glenn Morris <rgm@gnu.org> 663 664 * semantic/find.el (semantic-find-first-tag-by-name): 665 Replace obsolete function assoc-ignore-case with assoc-string. 666 6672013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> 668 669 * semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode. 670 (semantic-grammar-mode-syntax-table): Rename from 671 semantic-grammar-syntax-table. 672 (semantic-grammar-mode-map): Rename from semantic-grammar-map. 673 * data-debug.el (data-debug-mode-map): Rename from data-debug-map. 674 (data-debug-mode): Use define-derived-mode. 675 6762013-09-05 Glenn Morris <rgm@gnu.org> 677 678 * semantic/fw.el (semantic-make-local-hook): 679 Simplify by dropping Emacs <= 20. 680 6812013-07-29 David Engster <deng@randomsample.de> 682 683 * cedet.el (cedet-packages): Remove speedbar since its 684 development does no longer happens in CEDET upstream but in Emacs 685 proper. Also remove cedet-contrib and cogre since those are only 686 in upstream. 687 688 * semantic/analyze/fcn.el (semantic-analyze-type-to-name): If TYPE 689 has a parent, return a fully qualified name. 690 691 * semantic/decorate/mode.el 692 (semantic-decoration-on-includes-p-default) 693 (semantic-decoration-on-includes-highlight-default): Declare for 694 byte compiler. 695 696 * semantic/wisent/python.el (semantic/format): New require. 697 6982013-07-27 Eric Ludlam <zappo@gnu.org> 699 700 * semantic/edit.el (semantic-edits-splice-remove): 701 Wrap debug message removing middle tag in semantic-edits-verbose-flag 702 check. 703 7042013-07-27 David Engster <deng@randomsample.de> 705 706 * semantic/bovine/el.el (semantic/db-el): New require. 707 708 * semantic/db-el.el (semanticdb-normalize-one-tag): It might be 709 that a symbol comes from a file but cannot be found in its table. 710 This happens for instance when a symbol was dynamically created 711 through a macro like `defstruct'. In this case, return the 712 original tag. 713 (semanticdb-elisp-sym->tag): Deal with autoloaded functions, where 714 the argument list is not available until the file is loaded. 715 7162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca> 717 718 * data-debug.el, cedet-idutils.el: Neuter the "Version:" header. 719 7202013-06-19 Glenn Morris <rgm@gnu.org> 721 722 * semantic/idle.el (define-semantic-idle-service): 723 No need to use eval-and-compile, progn will do. 724 725 * semantic/decorate/mode.el (define-semantic-decoration-style): 726 Doc fix. 727 (define-semantic-decoration-style): 'function is not an accepted 728 value for autoload's "type" argument. Might as well use the default. 729 7302013-06-18 Glenn Morris <rgm@gnu.org> 731 732 * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default): 733 Remove unused free variable `symlist'. 734 7352013-06-02 Eric Ludlam <zappo@gnu.org> 736 737 * semantic/edit.el (semantic-change-function): 738 Use `save-match-data' around running hooks. 739 740 * semantic/decorate/mode.el 741 (semantic-decorate-style-predicate-default) 742 (semantic-decorate-style-highlighter-default): New. 743 (semantic-decoration-mode): Do not require 744 `semantic/decorate/include' anymore. 745 (semantic-toggle-decoration-style): Error if an unknown decoration 746 style is toggled. 747 (define-semantic-decoration-style): Add new :load option. 748 When :load is specified, add autoload tokens for the definition 749 functions so that code is loaded when the mode is used. 750 (semantic-decoration-on-includes): New autoload definition for 751 highlighting includes. 752 753 * semantic/bovine/c.el (semantic-lex-c-ifdef): Allow some misc 754 characters to appear after the tested variable. 755 756 * semantic/ede-grammar.el (project-compile-target): Calculate full 757 src name via ede-expand-filename instead of the crutch of the 758 current buffer. Enables this target to compile in batch mode. 759 760 * semantic/idle.el 761 (semantic-idle-symbol-maybe-highlight): Wrap highlighting of 762 remote symbol with `save-excursion'. 763 (semantic-idle-scheduler-work-parse-neighboring-files): Instead of 764 using directory-files on each found mode pattern, collect all the 765 patterns for the current mode, and then for each file, see if it 766 matches any of them. If it does, parse the file. (Patch 767 inspiration from Tomasz Gajewski.) 768 769 * semantic/ctxt.el (semantic-ctxt-end-of-symbol): New. 770 (semantic-ctxt-current-symbol-default): New. 771 772 * semantic/bovine/el.el (semantic-default-elisp-setup): 773 Add autoload cookie. Explain existence. 774 (footer): Add local variable for loaddefs. 775 776 * semantic/db.el (semanticdb-file-table-object): Add new filter, 777 only checking for regular files too. 778 779 * semantic/wisent/python.el 780 (semantic-format-tag-abbreviate): New override. Cuts back on size 781 of code tags. 782 783 * srecode/compile.el (srecode-compile-templates): Fix warning 784 punctuation. Remove status messages to clean up testing output. 785 786 * ede/base.el (ede-project-placeholder-cache-file): Update doc to 787 mention 'nil' value. 788 (ede-save-cache): Disable cache save if file is nil. 789 790 * ede.el (ede-initialize-state-current-buffer): Flush deleted 791 projects. 792 (global-ede-mode): Always append our find-file-hook to the end. 793 (ede-flush-deleted-projects): New command. 794 795 * ede/cpp-root.el (ede-preprocessor-map): Protect against init 796 problems. 797 798 * ede/proj.el (ede-proj-target): Add a new "custom" option for 799 custom symbols representing a compiler or linker instead of 800 restricting things to only the predefined compilers and linkers. 801 8022013-06-02 David Engster <dengste@eml.cc> 803 804 * semantic.el (semantic-mode-map): To avoid showing showing 805 Development menu twice, only disable menu item if menu-bar is 806 actually enabled, otherwise the popup 'global menu' might display 807 a disabled Development menu. 808 809 * srecode/srt-wy.el: Regenerate. 810 8112013-06-02 Pete Beardmore <elbeardmorez@msn.com> 812 813 * semantic/complete.el 814 (semantic-displayor-show-request): Fix which slot in obj is set to 815 the max tags. 816 8172013-06-01 Glenn Morris <rgm@gnu.org> 818 819 * semantic/grammar.el (semantic-grammar-complete): 820 Replace the obsolete function lisp-complete-symbol. 821 822 * semantic/analyze/fcn.el (semantic-tag-similar-p): Autoload. 823 824 * srecode/args.el, srecode/java.el: Require ede. 825 826 * semantic/lex.el (semantic-lex-make-type-table): Fix transposed args. 827 8282013-05-24 Glenn Morris <rgm@gnu.org> 829 830 * semantic/bovine/grammar.el (bovine-make-parsers): 831 Avoid free variable `copyright-end'. 832 833 * semantic/bovine/c-by.el (semantic-parse-region): 834 * semantic/wisent/javat-wy.el (semantic-parse-region): 835 * semantic/wisent/js-wy.el (semantic-parse-region): 836 * semantic/wisent/python-wy.el (semantic-parse-region): Declare. 837 8382013-05-22 Glenn Morris <rgm@gnu.org> 839 840 * ede/speedbar.el (ede-file-find, ede-tag-find): 841 * semantic/sb.el (semantic-sb-token-jump): 842 Use dframe-maybee-jump-to-attached-frame rather than speedbar- alias. 843 8442013-05-15 Glenn Morris <rgm@gnu.org> 845 846 * semantic/symref/list.el (semantic-symref-auto-expand-results) 847 (semantic-symref-results-mode-hook) 848 (semantic-symref-results-summary-function): Fix :group. 849 8502013-05-14 Glenn Morris <rgm@gnu.org> 851 852 * ede/simple.el, semantic/java.el: Set generated-autoload-load-name. 853 8542013-05-11 Glenn Morris <rgm@gnu.org> 855 856 * ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el: 857 * semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el: 858 * semantic/wisent/grammar.el, semantic/wisent/wisent.el: 859 * srecode/fields.el: Set generated-autoload-load-name (for cus-load). 860 861 * ede/locate.el (cedet-cscope-version-check) 862 (cedet-cscope-support-for-directory): 863 * semantic/grammar.el (semantic-grammar-wy--install-parser): 864 Fix declarations. 865 866 * ede/project-am.el (project-am-compile-project-command): Fix :type. 867 8682013-05-09 Glenn Morris <rgm@gnu.org> 869 870 * semantic/db-find.el (semanticdb-find-throttle-custom-list): 871 Fix value. 872 8732013-04-27 David Engster <deng@randomsample.de> 874 875 * semantic/complete.el 876 (semantic-collector-calculate-completions-raw): 877 If `completionslist' is not set, refresh the cache if necessary and 878 use it for completions. This fixes the 879 `semantic-collector-buffer-deep' collector (bug#14265). 880 8812013-03-26 Leo Liu <sdl.web@gmail.com> 882 883 * semantic/senator.el (senator-copy-tag-to-register): 884 Move register handling logic from register.el. (Bug#14052) 885 8862013-03-21 Eric Ludlam <zappo@gnu.org> 887 888 * semantic.el (navigate-menu): Yank Tag :enable. Make sure 889 `senator-tag-ring' is bound. 890 (semantic-parse-region-default): Stop reversing the output of 891 parse-whole-stream. 892 (semantic-repeat-parse-whole-stream): Append returned tags 893 differently, so they come out in the right order. 894 895 * semantic/sb.el (semantic-sb-filter-tags-of-class): New option. 896 (semantic-sb-fetch-tag-table): Filter tags being bucketed to 897 exclude tags belonging to above filtered classes. 898 899 * semantic/find.el (semantic-filter-tags-by-class): New function. 900 901 * semantic/tag-ls.el (semantic-tag-similar-p-default): 902 Add short-circuit in case tag1 and 2 are identical. 903 904 * semantic/analyze/fcn.el 905 (semantic-analyze-dereference-metatype-stack): 906 Use `semantic-tag-similar-p' instead of 'eq' when comparing two tags 907 during metatype evaluation in case they are the same, but not the 908 same node. (Tweaked patch from Tomasz Gajewski) (Tiny change) 909 910 * semantic/db-find.el (semanticdb-partial-synchronize): 911 Fix require to semantic/db-typecache to be correct. 912 (semanticdb-find-tags-external-children-of-type): Make this a 913 brutish search by default. 914 915 * semantic/sort.el 916 (semantic-tag-external-member-children-default): When calling 917 `semanticdb-find-tags-external-children-of-type', pass in the 918 input tag as the place to start searching for externally defined 919 methods. 920 921 * semantic/db-file.el (semanticdb-default-save-directory): 922 Doc fix: Add ref to default value. 923 924 * semantic/complete.el (semantic-complete-post-command-hook): 925 When detecting if cursor is outside completion area, do so if cursor 926 moves before start of overlay, or the original starting location 927 of the overlay (i.e., if user deletes past beginning of the 928 overlay region). 929 (semantic-complete-inline-tag-engine): Initialize original start 930 of `semantic-complete-inline-overlay'. 931 932 * semantic/bovine/c.el (semantic-c-describe-environment): 933 Update some section titles. Test semanticdb table before printing it. 934 (semantic-c-reset-preprocessor-symbol-map): Update 935 `semantic-lex-spp-macro-symbol-obarray' outside the loop over all 936 the files contributing to its value. 937 (semantic-c-describe-environment): If there is an EDE project but 938 no spp symbols from it, say so. 939 940 * srecode/args.el (srecode-semantic-handle-:project): New argument 941 handler. Provide variable values if not in an EDE project. 942 943 * srecode/srt-mode.el (srecode-template-mode): Fix typo on srecode 944 name. 945 946 * srecode/cpp.el (srecode-semantic-handle-:c): Replace all 947 characters in FILENAME_SYMBOL that aren't valid CPP symbol chars. 948 949 * srecode/map.el (srecode-map-validate-file-for-mode): 950 Force semantic to load if it is not active in the template being added 951 to the map. 952 953 * srecode/srt.el: Add local variables for setting the autoload 954 file name. 955 (srecode-semantic-handle-:srt): New autoload cookie. 956 957 * ede.el (ede-apply-preprocessor-map): Apply map to 958 `semantic-lex-spp-project-macro-symbol-obarray' instead of the 959 system one. Add require for semantic. 960 961 * ede/proj-elisp.el (ede-update-version-in-source): In case a file 962 has both a version variable and a Version: comment, always use 963 `call-next-method'. 964 965 * ede/cpp-root.el (ede-set-project-variables): Delete. 966 `ede-preprocessor-map' does the job this function was attempting 967 to do with :spp-table. 968 (ede-preprocessor-map): Update file tests to provide better 969 messages. Do not try to get symbols from a file that is the file 970 in the current buffer. 971 972 * ede/base.el (ede-project-placeholder): Add more documentation to 973 :file slot. 974 (ede-load-cache): Use `insert-file-contents' instead of 975 `find-file-noselect' in order to avoid activating other tools. 976 9772013-03-21 David Engster <deng@randomsample.de> 978 979 * semantic/bovine/c.el (semantic-get-local-variables): Also add a 980 new variable 'this' if we are in an inline member function. 981 For detecting this, we check overlays at point if there is a class 982 spanning the current function. Also, the variable 'this' has to 983 be a pointer. 984 985 * semantic/bovine/gcc.el (semantic-gcc-setup): Fail gracefully 986 when querying g++ for defines returns an error. 987 988 * srecode/srt-mode.el: 989 * srecode/compile.el: 990 * semantic/db-el.el: 991 * semantic/complete.el: 992 * ede.el: 993 * srecode/table.el: 994 * srecode/mode.el: 995 * srecode/insert.el: 996 * srecode/compile.el: 997 * semantic/decorate/include.el: 998 * semantic/db.el: 999 * ede/auto.el: 1000 * srecode/dictionary.el: 1001 * semantic/ede-grammar.el: 1002 * semantic/db.el: 1003 * semantic/db-find.el: 1004 * semantic/db-file.el: 1005 * semantic/complete.el: 1006 * semantic/bovine/c.el: 1007 * semantic/analyze.el: 1008 * ede/util.el: 1009 * ede/proj.el: 1010 * ede/proj-elisp.el: 1011 * ede/pconf.el: 1012 * ede/locate.el: 1013 * ede.el: Adapt to EIEIO namespace cleanup: Rename `object-name' 1014 to `eieio-object-name', `object-set-name-string' to 1015 `eieio-object-set-name-string', `object-class' to 1016 `eieio-object-class', `class-parent' to `eieio-class-parent', 1017 `class-parents' to `eieio-class-parents', `class-children' to 1018 `eieio-class-children', `object-name-string' to 1019 `eieio-object-name-string', `object-class-fast' to 1020 `eieio--object-class'. Also replace direct access with new 1021 accessor functions. 1022 10232013-03-21 Tomasz Gajewski <tomga@wp.pl> (tiny change) 1024 1025 * ede/cpp-root.el (ede-project-autoload, initialize-instance): 1026 Fix EDE file symbol to match rename. Fix ede-cpp-root symbol to 1027 include -project in name. 1028 10292013-03-21 Alex Ott <alexott@gmail.com> 1030 1031 * cedet-files.el (cedet-files-list-recursively): New. 1032 Recursively find files whose names are matching to given regex. 1033 1034 * ede.el (ede-current-project): Rewrite to avoid imperative style. 1035 1036 * ede/files.el (ede-find-file): Simplify code. 1037 1038 * ede/base.el (ede-normalize-file/directory): Add function to 1039 normalize :file or :directory slots if they are missing. 1040 1041 * ede/cpp-root.el (ede-cpp-root-project): Add compile-command 1042 slot. 1043 (project-compile-project): Compiles project using value specified 1044 in :compule-command slot or in compile-command local variable. 1045 Value of slot or local variable could be string or function that 1046 receives project and should return string that will be invoked as 1047 command. 1048 (project-compile-target): Invokes compilation of whole project. 1049 1050 * ede/files.el (ede-find-project-root): New function to 1051 find root of project that contains specific file. 1052 (ede-files-find-existing): New function which checks presence of 1053 given directory in the list of registered projects. 1054 10552013-03-04 Paul Eggert <eggert@cs.ucla.edu> 1056 1057 * semantic/wisent/wisent.el (wisent): Stick to ASCII in the ASCII art. 1058 1059 * semantic/wisent/javat-wy.el: Regenerate. 1060 10612012-11-19 Stefan Monnier <monnier@iro.umontreal.ca> 1062 1063 * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update): 1064 Simplify via CSE. 1065 10662012-11-16 David Engster <deng@randomsample.de> 1067 1068 * semantic/symref/list.el (semantic-symref-symbol): 1069 Use `semantic-complete-read-tag-project' instead of 1070 `semantic-complete-read-tag-buffer-deep', since the latter is not 1071 working correctly. 1072 1073 * semantic/symref.el (semantic-symref-result-get-tags): 1074 Use `find-buffer-visiting' to follow symbolic links. 1075 1076 * semantic/fw.el (semantic-find-file-noselect): Always set 1077 `enable-local-variables' to `:safe' when loading files. 1078 10792012-11-16 Glenn Morris <rgm@gnu.org> 1080 1081 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): 1082 * semantic/util.el (semantic-describe-buffer): 1083 * semantic/bovine/c.el (semantic-c-parse-lexical-token) 1084 (semantic-default-c-setup): 1085 Use new names for hooks rather than obsolete aliases. 1086 10872012-11-13 Stefan Monnier <monnier@iro.umontreal.ca> 1088 1089 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): 1090 * semantic/grammar.el (semantic-grammar-mode): 1091 * semantic/util-modes.el (semantic-highlight-edits-mode) 1092 (semantic-show-parser-state-mode): Avoid obsolete name 1093 semantic-edits-new-change-hooks (bug#12869). 1094 10952012-11-13 Glenn Morris <rgm@gnu.org> 1096 1097 * srecode/srt-mode.el (srecode-template-mode): 1098 Don't change global values of comment-start, comment-end. (Bug#12781) 1099 11002012-10-25 David Engster <deng@randomsample.de> 1101 1102 * semantic/analyze.el (semantic-analyze-dereference-alias): 1103 New function to dereference aliases. 1104 (semantic-analyze-current-context-default): Use it. 1105 1106 * semantic/grammar.el (semantic-grammar-create-package): 1107 * srecode/compile.el (srecode-compile-templates): Throw a proper 1108 error if semantic-mode is not enabled (bug#9968). 1109 1110 Compiler warning fixes: 1111 1112 * semantic.el (semantic-elapsed-time): Make it a defsubst. 1113 1114 * srecode/dictionary.el (srecode-adebug-dictionary): 1115 Remove require for `semantic'. 1116 1117 * srecode/map.el: 1118 * srecode/insert.el: Declare functions from `data-debug'. 1119 1120 * semantic/grammar.el: Require `help-fns'. Declare functions from 1121 `eldoc', which is required in function body. 1122 1123 * srecode/java.el: 1124 * semantic/texi.el: 1125 * semantic/grammar-wy.el: 1126 * semantic/db-file.el: 1127 * semantic/db-el.el: 1128 * semantic/chart.el: Fix requires. 1129 1130 * ede/locate.el: Remove useless requires. Declare functions 1131 instead and require in functions when needed. 1132 11332012-10-23 Stefan Monnier <monnier@iro.umontreal.ca> 1134 1135 * semantic/db-file.el (semanticdb-save-database-functions): 1136 * semantic/lex.el (semantic-lex-reset-functions): 1137 * semantic/edit.el (semantic-change-functions) 1138 (semantic-edits-new-change-functions) 1139 (semantic-edits-delete-change-functions) 1140 (semantic-edits-reparse-change-functions): Don't use "-hooks" suffix. 1141 11422012-10-14 David Engster <deng@randomsample.de> 1143 1144 * semantic.el (semantic-error-if-unparsed): New function. 1145 Raise error if buffer was not parsed by Semantic (bug #12045). 1146 (navigate-menu, edit-menu, cedet-menu-map): Enable Semantic items 1147 only if buffer was parsed. Also, replace ':active' with ':enable' 1148 where necessary. 1149 1150 * semantic/wisent/python.el 1151 (semantic-python-get-system-include-path): 1152 Use `python-shell-internal-send-string' if available to query Python 1153 for system paths. 1154 1155 * semantic/senator.el (senator-next-tag, senator-previous-tag) 1156 (senator-go-to-up-reference): Use `semantic-error-if-unparsed'. 1157 1158 * semantic/complete.el (semantic-complete-jump-local) 1159 (semantic-complete-jump, semantic-complete-jump-local-members) 1160 (semantic-complete-self-insert): Use `semantic-error-if-unparsed'. 1161 (semantic-complete-inline-project): Fix autoload cookie. 1162 1163 * semantic/analyze/complete.el 1164 (semantic-analyze-possible-completions): Check if buffer was 1165 parsed. Only raise an error if function was called interactively, 1166 otherwise silently return nil. 1167 1168 * cedet.el (cedet-menu-map): Fix copy&paste typo in menu creation. 1169 11702012-10-08 David Engster <deng@randomsample.de> 1171 1172 * semantic/bovine/el.el: Add `semantic-default-elisp-setup' to 1173 `emacs-lisp-mode-hook'. This was accidentally removed during the 1174 CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org). 1175 11762012-10-07 David Engster <deng@randomsample.de> 1177 1178 * semantic/wisent/python.el (semantic-ctxt-current-function) 1179 (semantic-ctxt-current-assignment): New overrides, simply 1180 returning nil. The defaults do not work correctly and can send 1181 the parser in an infinite loop (bug#12458). 1182 1183 * semantic/ede-grammar.el (project-compile-target): Fix grammar 1184 compilation after introduction of %provide statement. 1185 1186 * semantic.el (semantic-new-buffer-setup-functions): Remove setup 1187 function for `f90-mode', since the parser only exists upstream. 1188 11892012-10-06 Glenn Morris <rgm@gnu.org> 1190 1191 * semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix. 1192 1193 * semantic/complete.el (semantic-displayor-tooltip-mode) 1194 (semantic-displayor-tooltip-initial-max-tags) 1195 (semantic-displayor-tooltip-max-tags): Add missing custom :version tags. 1196 * ede/linux.el (project-linux): Add missing group :version tag. 1197 11982012-10-06 Chong Yidong <cyd@gnu.org> 1199 1200 * semantic/bovine/grammar.el: 1201 * semantic/wisent/grammar.el: Move from admin/grammars. 1202 Add autoloads for bovine-grammar-mode and wisent-grammar-mode. 1203 12042012-10-02 Chong Yidong <cyd@gnu.org> 1205 1206 * srecode.el, ede.el: Restore Version header. 1207 12082012-10-01 Chong Yidong <cyd@gnu.org> 1209 1210 * semantic/bovine/c-by.el: Regenerate. 1211 * semantic/bovine/make-by.el: 1212 * semantic/bovine/scm-by.el: 1213 * semantic/grammar-wy.el: 1214 * semantic/wisent/javat-wy.el: 1215 * semantic/wisent/js-wy.el: 1216 * srecode/srt-wy.el: 1217 12182012-10-01 Eric Ludlam <zappo@gnu.org> 1219 1220 * cedet.el (cedet-version, cedet-packages): Update. 1221 1222 * cedet-global.el (cedet-gnu-global-version-check): Support newer 1223 versions that have extra (parens) in the version string. 1224 1225 * cedet-idutils.el (cedet-idutils-version-check): Make sure a 1226 version number was found before calling inversion-check-version. 1227 1228 * data-debug.el (data-debug-insert-thing): Bind inhibit-read-only 1229 while inserting the thing, then clear modified bit. 1230 (data-debug-map): Suppress the keymap. 1231 (data-debug-mode, data-debug-new-buffer): Make buffer read-only. 1232 (data-debug-contract-current-line): Inhibit read-only, then clear 1233 modified bit. 1234 1235 * ede.el (ede-buffer-belongs-to-project-p): Use ede-object-project 1236 to allow use in more kinds of buffers. 1237 (ede-project-forms-menu): Add `Default configuration' menu item. 1238 (ede-configuration-forms-menu): New, for use in above. 1239 (ede-project-configurations-set): New command used from menu. 1240 (ede-java-classpath): New conveninece for Java support. 1241 (ede-apply-object-keymap): Combine keybindings from the project 1242 and the target, not just whatever is local to the buffer. 1243 (ede-apply-target-options): Call fcn to apply project local 1244 variables. 1245 (ede-reset-all-buffers): Remove arg. 1246 (ede, ede-rescan-toplevel): Callers changed. 1247 (ede-new-target): Fix bug where you couldn't call this from Dired. 1248 (ede-add-file): Replace assignment of ede-object with generic call 1249 to re-init the buffer. 1250 (ede-find-target): If ede-object is set, run short-cut code 1251 instead of `or' shortcut. 1252 (ede-project-buffers): Return buffers belonging to input project, 1253 not any buffer belonging to any project. 1254 (ede-system-include-path, ede-apply-project-local-variables) 1255 (ede-set-project-local-variable): New functions. 1256 (ede-make-project-local-variable): Apply to toplevel if none 1257 specified. 1258 (ede-set): Make it interactive. 1259 1260 * ede/auto.el (ede-project-autoload): New class. 1261 (ede-do-dirmatch): New method. 1262 (ede-project-dirmatch-p): New function. 1263 (ede-project-root-directory): Call it. 1264 (ede-dir-to-projectfile): Don't call project file function if we 1265 didn't match the root. 1266 (ede-project-root-directory): Don't call a project's root function 1267 if the tool in question isn't installed. 1268 (ede-dir-to-projectfile): Don't call project file function if we 1269 didn't match the root. 1270 1271 * ede/autoconf-edit.el (autoconf-parameter-strip): Remove any 1272 trailing `\' mid string, and replace with a space. 1273 (autoconf-parameter-count): New function. 1274 (autoconf-set-version): Use it. 1275 1276 * ede/base.el (ede-project): The :type of targets is now a list of 1277 target base classes. 1278 1279 * ede/emacs.el (ede-emacs-load): Fix typo. 1280 1281 * ede/files.el (ede-flush-project-hash, ede-flush-directory-hash): 1282 Protect against missing locator object. 1283 (ede-get-locator-object): Protect against missing project. 1284 (ede-flush-directory-hash): New command. 1285 (ede-get-locator-object): Protect against missing project. 1286 1287 * ede/generic.el (ede-generic-config): Add configurable 1288 `run-command' slot. 1289 (project-compile-project, project-compile-target) 1290 (project-debug-target, project-run-target): New methods. 1291 (ede-generic-get-configuration): Specify the class to load. 1292 (ede-generic-new-autoloader): Use ede-add-project-autoload. 1293 (ede-enable-generic-projects): Rename projects so as to never 1294 match the edeproject-* projects. 1295 1296 * ede/makefile-edit.el (makefile-macro-file-list): Case sensitive 1297 searches. Protect against "SUBDIRS=$(subdirs)" infloop. 1298 1299 * ede/proj-elisp.el (ede-proj-tweak-autoconf) 1300 (ede-proj-flush-autoconf): Disable local variables when loading 1301 the autoconf lisp compile script. 1302 1303 * ede/proj.el (ede-proj-target-aux, -elisp, -elisp-autoloads) 1304 (-scheme, -makefile-misc, ede-proj-target-makefile-program) 1305 (-makefile-archive, -makefile-shared-object) 1306 (ede-proj-target-makefile-info, -grammar): New autoloads. 1307 (ede-proj-project): Inherit from eieio-persistent-read. 1308 Specify extension and header line. 1309 (ede-proj-load, ede-proj-save): Replace with impl using 1310 eieio-persistent-read. 1311 1312 * ede/project-am.el (project-add-file): Use ede-target-parent 1313 instead of loading the project file. 1314 1315 * semantic.el (semantic-version): Update. 1316 (semantic-new-buffer-setup-functions): Add f90-mode, texinfo-mode. 1317 (navigate-menu): Add menu item for Stickyfunc mode. 1318 1319 * semantic/analyze/debug.el 1320 (semantic-analyzer-debug-insert-include-summary): 1321 Before dereferencing tableinner, make sure it has a value. 1322 1323 * semantic/analyze/refs.el 1324 (semantic-analyze-tag-references-default): When doing a lookup, 1325 specify noerror. 1326 (semantic--analyze-refs-full-lookup): Add optional noerror input 1327 argument. Pass to full-lookup-simple. 1328 (semantic-analyze-refs-impl, semantic-analyze-refs-proto): 1329 Ignore :typemodifiers during compare. 1330 1331 * semantic/bovine/c.el (semantic-lex-cpp-define): Specify limits 1332 to looking back for comment chars. 1333 (semantic--tag-similar-names-p, semantic--tag-similar-names-p-default) 1334 (semantic--tag-attribute-similar-p): New. 1335 (semantic-c-describe-environment): Handle list value of ede-object. 1336 (semantic-lex-c-preprocessor-symbol-map-builtin): 1337 Add __attribute_pure__. 1338 1339 * semantic/bovine/scm.el (semantic-format-tag-prototype): 1340 Add parent and color argument. Pass them through. 1341 1342 * semantic/complete.el (semantic-collector-calculate-completions): 1343 Search for more matches if new prefix is a substring of old one. 1344 (semantic-complete-inline-project): New function. 1345 1346 * semantic/db-el.el (object-print): New method. 1347 1348 * semantic/db-file.el (semanticdb-load-database): Specify class. 1349 1350 * semantic/db-typecache.el 1351 (semanticdb-abstract-table::semanticdb-typecache-find-method): 1352 Allow proxied tags to be resolved during the search. 1353 (semanticdb-typecache-complete-flush): Support missing or empty 1354 pointmax slot, to allow for more database types. 1355 1356 * semantic/db.el (semanticdb-abstract-table): Add db-refs slot. 1357 (object-print): Allow child classes to overwrite the display of 1358 the (%d tags) extra string. 1359 (semanticdb-project-database): Specify :type for table. 1360 (semanticdb-create-table-for-file): Specify file-truename. 1361 (semanticdb-synchronize, semanticdb-partial-synchronize): 1362 Restore code that refreshes references to include files. 1363 1364 * semantic/decorate/include.el 1365 (semantic-decoration-on-fileless-includes): New face. 1366 (semantic-decoration-on-fileless-include-map) 1367 (semantic-decoration-on-fileless-include-menu): New variables. 1368 (semantic-decoration-on-includes-highlight-default): 1369 Support includes that have a table, but are not associated with a file. 1370 (semantic-decoration-fileless-include-describe) 1371 (semantic-decoration-fileless-include-menu): New functions. 1372 (semantic-decoration-all-include-summary): Add arrows to indicate 1373 the file associated with an include name. 1374 1375 * semantic/find.el 1376 (semantic-find-tags-by-scope-protection-default): Also filter on 1377 package protection of the slot. 1378 1379 * semantic/java.el (semantic-java-expand-tag): If some type has a 1380 fully qualified name, bust it up into one package and the type 1381 with a short name. 1382 1383 * semantic/lex.el (define-lex-block-analyzer): Protect against 1384 random extra close parenthesis. 1385 1386 * semantic/symref.el (semantic-symref-result-get-tags): Make sure 1387 the cursor is on the matched name. 1388 1389 * semantic/symref/list.el (semantic-symref-results-mode-map): 1390 Suppress keymap. 1391 1392 * semantic/tag-ls.el (semantic--tag-similar-names-p) 1393 (semantic--tag-attribute-similar-p) 1394 (semantic--tag-similar-types-p): New functions. 1395 (semantic-tag-similar-ignorable-attributes): New variable. 1396 (semantic-tag-protection-default): Add package concept to return 1397 value. 1398 (semantic-tag-package-protected-p): New function. 1399 (semantic-tag-full-package): New overload method. 1400 (semantic-tag-full-package-default): New default for above. 1401 (semantic-tag-full-name-default): Look for the full package name. 1402 1403 * semantic/tag.el (semantic-create-tag-proxy) 1404 (semantic-tag-set-proxy, semantic-tag-resolve-proxy): New. 1405 1406 * semantic/util.el (semantic-describe-buffer): 1407 Add semantic-new-buffer-fcn-was-run. 1408 1409 * semantic/wisent/java-tags.el (semantic-get-local-variables): 1410 Add `this' to the local variable context. 1411 (semantic-analyze-split-name, semantic-analyze-unsplit-name): New. 1412 1413 * semantic/wisent/python.el (semantic-python-expand-tag): 1414 New function. 1415 1416 * srecode/compile.el (srecode-compile-templates): Add "framework" 1417 special variable support. 1418 (srecode-compile-template-table): Support framework specifier. 1419 1420 * srecode/cpp.el (srecode-semantic-handle-:c) 1421 (srecode-semantic-handle-:cpp): New functions. 1422 (srecode-semantic-apply-tag-to-dict): Move from cpp-mode function 1423 to c-mode function. 1424 (srecode-c-apply-templates): Rename from srecode-cpp-apply-templates. 1425 1426 * srecode/dictionary.el (initialize-instance): Remove bogus error 1427 condition. 1428 (srecode-create-section-dictionary): Remove unused function. 1429 1430 * srecode/java.el (srecode-semantic-handle-:java): Fix filename as 1431 package variable. Add current_package variable. 1432 1433 * srecode/map.el (srecode-map-update-map): Specify the class. 1434 1435 * srecode/mode.el (srecode-minor-mode): Support the m3 menu. 1436 1437 * srecode/semantic.el (srecode-semantic-insert-tag): 1438 Support system includes. 1439 1440 * srecode/srt-mode.el (srecode-font-lock-keywords): Update. 1441 1442 * srecode/table.el (srecode-template-table): Add :framework slot. 1443 (srecode-dump): Dump it. 1444 (srecode-mode-table): Add new modetables slot. 1445 (srecode-get-mode-table): Find the mode, but also find all parent 1446 modes, and merge the tables together in :tables from :modetables. 1447 (srecode-make-mode-table): Init :modetables. 1448 (srecode-mode-table-find): Search in modetables. 1449 (srecode-mode-table-new): Merge the differet files into the 1450 modetables slot. 1451 14522012-10-01 David Engster <deng@randomsample.de> 1453 1454 * ede.el (ede-apply-preprocessor-map): Check that 1455 `semantic-lex-spp-macro-symbol-obarray' is non-nil. 1456 (global-ede-mode): Fix call to `ede-reset-all-buffers'. 1457 1458 * ede/cpp-root.el (ede-preprocessor-map): Make sure we add the 1459 lexical-table even when the table doesn't need to be refreshed. 1460 1461 * ede/dired.el (ede-dired-minor-mode): Use called-interactively-p. 1462 1463 * ede/pmake.el (ede-pmake-insert-variable-once): Wrap in 1464 save-excursion. 1465 1466 * ede/proj-comp.el (ede-proj-makefile-insert-rules): Fix insertion 1467 of phony rule. 1468 1469 * ede/proj-elisp.el (ede-proj-target-elisp): 1470 Remove ede-emacs-preload-compiler. 1471 (ede-proj-makefile-insert-rules, ede-proj-makefile-dependencies): 1472 New methods. 1473 (ede-emacs-compiler): Add 'require' macro to variables and pattern 1474 rule. Add .elc object extension. 1475 (ede-proj-elisp-packages-to-loadpath): Allow longer relative names. 1476 (ede-proj-makefile-insert-variables): Do not insert preload items. 1477 (ede-proj-target-elisp-autoloads): Don't depend on cedet-autogen. 1478 1479 * ede/util.el (ede-make-buffer-writable): 1480 * semantic/debug.el (semantic-debug-mode): Set buffer-read-only 1481 instead of calling toggle-read-only. 1482 1483 * semantic.el (semantic-fetch-tags): Use progress reporter only 1484 when called interactively. 1485 (semantic-submode-list): Add debugging modes. 1486 (semantic-mode): Remove Semantic from after-change-functions. 1487 Delete the cache, call semantic--tag-unlink-cache-from-buffer, and 1488 set semantic-new-buffer-fcn-was-run to nil. 1489 1490 * semantic/analyze/fcn.el (semantic-analyze-tag-prototype-p) 1491 (semantic-analyze-tag-prototype-p-default): Remove. 1492 (semantic-analyze-type, semantic-analyze-dereference-metatype-1): 1493 Use semantic-tag-prototype-p. 1494 1495 * semantic/bovine/c.el (semantic-c-reset-preprocessor-symbol-map): 1496 Ensure semantic-mode is on before getting preprocessor symbols. 1497 (semantic-c-skip-conditional-section): Use c-scan-conditionals. 1498 (semantic-c-convert-spp-value-to-hideif-value) 1499 (semantic-c-evaluate-symbol-for-hideif, semantic-c-hideif-lookup) 1500 (semantic-c-hideif-defined): Revive hideif code from CEDET trunk. 1501 (semantic-lex-c-if, semantic-c-do-lex-ifdef): Revert changes for 1502 regular expression parsing. 1503 (semantic-cpp-lexer): Add semantic-lex-c-ifdef. 1504 (semantic-expand-c-tag): Check if tag is non-nil before adding it 1505 to return list. 1506 (semantic-expand-c-extern-C, semantic-expand-c-complex-type): 1507 New functions, copied from semantic-expand-c-tag. 1508 (semantic-find-tags-included): New override which also searches 1509 for include tags inside of namespaces. 1510 (semantic-c-dereference-typedef): Use semantic-tag-prototype-p. 1511 (semanticdb-find-table-for-include): New override. 1512 1513 * semantic/bovine/el.el: Remove emacs-lisp-mode-hook. 1514 1515 * semantic/complete.el (semantic-complete-post-command-hook): 1516 Exit completion when user has deleted all characters from the prefix. 1517 (semantic-displayor-focus-request): Return to previous window when 1518 focussing tags. 1519 1520 * semantic/db-el.el (semanticdb-normalize-one-tag): Make obsolete. 1521 (semanticdb-elisp-sym->tag): Use help-function-arglist instead. 1522 1523 * semantic/db-file.el (semanticdb-create-database): 1524 Use semantic-tag-version instead of just semantic-version as the 1525 initializer for the :semantic-tag-version slot. 1526 1527 * semantic/db-find.el (semanticdb-find-tags-by-class-method): 1528 Delegate `include' to semantic-find-tags-included, which by 1529 default will just call semantic-find-tags-by-class. 1530 1531 * semantic/db.el (semanticdb-refresh-table): Do not print warnings 1532 when calling semantic-find-file-noselect. This avoids the "file 1533 is write protected" messages when parsing system header files, 1534 which might easily be mistaken to mean the currently loaded file. 1535 (semanticdb-save-current-db, semanticdb-save-all-db): Only emit 1536 message when running interactively. 1537 1538 * semantic/decorate/mode.el (semantic-decoration-mode): 1539 Activate decoration of includes by default. 1540 1541 * semantic/doc.el (semantic-doc-snarf-comment-for-tag): 1542 Remove comment delimiter at the end of the text. 1543 1544 * semantic/ede-grammar.el (semantic-ede-proj-target-grammar): 1545 Change aux- and pre-load-packages. 1546 (ede-proj-makefile-dependencies): Update pattern rule so that 1547 resulting parsers are also byte-compiled. 1548 (semantic-ede-grammar-compiler-bovine) 1549 (semantic-ede-source-grammar-wisent): Remove .elc from gargage 1550 pattern, since this is already covered by the elisp compiler. 1551 (project-compile-target): Add compatibility code for Emacs 23, 1552 which does not have `byte-recompile-file'. 1553 (ede-proj-makefile-insert-rules): Add target specific EMACSFLAGS 1554 to raise max-specpdl-size and max-lisp-eval-depth. 1555 1556 * semantic/find.el (semantic-find-tags-included): 1557 Make overridable. 1558 1559 * semantic/fw.el (semantic-alias-obsolete) 1560 (semantic-varalias-obsolete): Use byte-compile-warn. 1561 (semantic-find-file-noselect): Disable font lock by calling 1562 global-font-lock-mode. 1563 1564 * semantic/grammar.el (semantic-grammar-create-package): 1565 Fix message. 1566 (semantic-grammar-batch-build-one-package): When generating 1567 parsers in batch-mode, ignore version control and make sure we do 1568 not use cached versions. 1569 1570 * semantic/ia.el (semantic-ia-complete-symbol-menu): Bring back. 1571 1572 * semantic/lex-spp.el (semantic-lex-spp-symbol-merge): New fun. 1573 (semantic-lex-spp-token-macro-to-macro-stream): Use it. 1574 (semantic-lex-spp-lex-text-string): Instead of only setting the 1575 lexer, call the major mode's setup function. 1576 1577 * semantic/scope.el (semantic-analyze-scoped-types-default): 1578 Use semantic-tag-prototype-p. 1579 (semantic-analyze-scope-nested-tags-default): Make sure we don't 1580 return tags we already have in scopetypes. 1581 1582 * semantic/symref/filter.el 1583 (semantic-symref-test-count-hits-in-tag): Restore. 1584 1585 * semantic/wisent/comp.el (wisent-BITS-PER-WORD): 1586 Use most-positive-fixnum if available. 1587 1588 * semantic/wisent/javascript.el (semantic-tag-protection) 1589 (semantic-analyze-scope-calculate-access) 1590 (semantic-ctxt-current-symbol): New overrides. 1591 1592 * semantic/wisent/python.el (wisent-python-lex-beginning-of-line): 1593 Rewrite to fix byte-compiler warning. 1594 15952012-10-01 Robert Jarzmik <robert.jarzmik@free.fr> 1596 1597 * ede/linux.el (project-linux): New group. 1598 (project-linux-compile-target-command) 1599 (project-linux-compile-project-command): New options. 1600 (project-compile-project, project-compiler-target): New methods. 1601 1602 * inversion.el (inversion-decoders): New regexps for SXEmacs. 1603 (inversion-package-version): More verbose error message. 1604 (inversion-<): Deal with new special cases. 1605 (inversion-require-emacs): New argument sxemacs-ver; use it. 1606 16072012-10-01 Nelson Ferreira <nelson.ferreira@ieee.org> 1608 1609 * ede/emacs.el (ede-emacs-version): Detect SXEmacs. 1610 16112012-10-01 William Xu <william.xwl@gmail.com> 1612 1613 * semantic/bovine/gcc.el (semantic-gcc-query): Returns status when 1614 there is an error. 1615 (semantic-gcc-setup): If the first attempt at calling cpp fails, 1616 try straight GCC. 1617 16182012-10-01 Jan Moringen <jan.moringen@uni-bielefeld.de> 1619 1620 * semantic/idle.el 1621 (semantic-idle-breadcrumbs--display-in-header-line): 1622 Escape %-characters to avoid erroneous expansion in header line. 1623 (semantic-idle-breadcrumbs--display-in-mode-line): Likewise. 1624 1625 * semantic/wisent/python.el (wisent-python-reconstitute-function-tag) 1626 (wisent-python-reconstitute-class-tag, semantic-python-special-p) 1627 (semantic-python-private-p, semantic-python-instance-variable-p) 1628 (semantic-python-docstring-p): New functions. 1629 1630 * srecode/find.el (srecode-user-template-p): New function. 1631 (srecode-all-template-hash): Accept new optional argument 1632 predicate; return only templates matching the predicate. 1633 (srecode-read-template-name): Only retrieve templates matching 1634 srecode-user-template-p. 1635 1636 * srecode/insert.el (srecode-insert-show-error-report) 1637 (srecode-insert-report-error): New functions. 1638 (srecode-insert-variable-secondname-handler) 1639 (srecode-insert-method, srecode-insert-ask-default) 1640 (srecode-insert-variable-secondname-handler) 1641 (srecode-insert-subtemplate, srecode-insert-method-helper) 1642 (srecode-insert-include-lookup): Use them. 1643 16442012-10-01 Thomas Bach <thbach@students.uni-mainz.de> 1645 1646 * semantic/wisent/python.el 1647 (semantic-python-get-system-include-path): Add Python3k support. 1648 16492012-10-01 Alexander Haeckel <_@_> (tiny change) 1650 1651 * srecode/getset.el (srecode-query-for-field): Return the first 1652 tag found by name from all children tags. 1653 16542012-10-01 Dale Sedivec <dale@codefu.org> 1655 1656 * semantic/wisent/python.el (wisent-python-string-start-re) 1657 (wisent-python-string-re, wisent-python-forward-string) 1658 (wisent-python-forward-line, wisent-python-lex-string): 1659 New variables. 1660 (wisent-python-forward-balanced-expression): New function. 1661 16622012-10-01 Pete Beardmore <elbeardmorez@msn.com> 1663 1664 * semantic/complete.el (semantic-collector-calculate-completions): 1665 Search for additional matches if new prefix is a substring of the 1666 old prefix. 1667 (semantic-displayor-next-action): Immediately show more 1668 completions after user presses TAB the first time. 1669 (semantic-displayor-tooltip-mode) 1670 (semantic-displayor-tooltip-initial-max-tags) 1671 (semantic-displayor-tooltip-max-tags): New defcustoms. 1672 (semantic-displayor-tooltip): Use new variables as initforms. 1673 Use new slot `mode' instead of `force-show'. Rename `max-tags' to 1674 `max-tags-initial'. 1675 (semantic-displayor-show-request): Display completions according 1676 to new modes, and make variable names clearer. 1677 (semantic-displayor-tooltip::semantic-displayor-scroll-request): 1678 Use new max-tags-initial slot. 1679 1680 * semantic/idle.el (semantic-idle-local-symbol-highlight): 1681 Make sure there actually is a tag at point. 1682 (semantic-idle-completion-list-default): Report errors as messages 1683 if semantic-idle-scheduler-verbose-flag is non-nil. 1684 16852012-10-01 Richard Kim <emacs18@gmail.com> 1686 1687 * semantic/db-global.el (semanticdb-enable-gnu-global-databases): 1688 Add optional NOERROR argument. 1689 16902012-10-01 Alex Ott <alexott@gmail.com> 1691 1692 * semantic/idle.el (semantic-idle-scheduler-enabled-p): 1693 Fix file-checking. 1694 16952012-10-01 Darren Hoo <darren.hoo@gmail.com> (tiny change) 1696 1697 * semantic/db-find.el (semanticdb-find-default-throttle): 1698 Make buffer-local. 1699 (semanticdb-strip-find-results): Check for existing :filename 1700 attribute, so that file information from GNU Global is not lost. 1701 17022012-08-07 Andreas Schwab <schwab@linux-m68k.org> 1703 1704 * ede/base.el (ede-with-projectfile): Use backquote forms. 1705 17062012-07-29 Paul Eggert <eggert@cs.ucla.edu> 1707 1708 inaccessable -> inaccessible spelling fix (Bug#10052) 1709 * semantic/wisent/comp.el (wisent-inaccessible-symbols): 1710 Rename from wisent-inaccessable-symbols, fixing a misspelling. 1711 Caller changed. 1712 17132012-07-09 Andreas Schwab <schwab@linux-m68k.org> 1714 1715 * ede/project-am.el: Fix typo. 1716 17172012-07-09 Paul Eggert <eggert@cs.ucla.edu> 1718 1719 Rename configure.in to configure.ac (Bug#11603). 1720 * ede/autoconf-edit.el (autoconf-find-query-for-program) 1721 (autoconf-new-program): 1722 * ede/emacs.el (ede-emacs-version): 1723 * ede/proj.el (ede-proj-setup-buildenvironment): 1724 * ede/project-am.el (project-am-autoconf-file-options): 1725 Prefer configure.ac to configure.in. 1726 17272012-03-12 David Engster <deng@randomsample.de> 1728 1729 * semantic/db-find.el 1730 (semanticdb-find-translate-path-brutish-default): If we don't yet 1731 have a proper table for PATH, use `semanticdb-current-database' 1732 instead (bug #10343). 1733 17342012-03-11 David Engster <deng@randomsample.de> 1735 1736 * semantic/wisent/javascript.el (js-mode): Define `js-mode' as 1737 child-mode of `javascript-mode' (bug #8445). 1738 17392012-02-28 Glenn Morris <rgm@gnu.org> 1740 1741 * semantic/db.el (semanticdb-search-results-table): 1742 Doc fix (standardize possessive apostrophe usage). 1743 17442012-02-09 Juanma Barranquero <lekktu@gmail.com> 1745 1746 * ede/auto.el (ede-directory-safe-p, ede-add-project-to-global-list): 1747 Add declarations. 1748 17492012-01-29 David Engster <deng@randomsample.de> 1750 1751 Fix require error when using srecode-insert (Bug#9967). 1752 * srecode/insert.el: Require srecode/filters. 1753 * srecode/filters.el: Drop two requires. 1754 17552012-01-09 Eric Ludlam <zappo@gnu.org> 1756 1757 * ede.el (ede-project-directories): New option. 1758 (ede-directory-safe-p): Check it. 1759 (ede-initialize-state-current-buffer, ede, ede-new) 1760 (ede-check-project-directory, ede-rescan-toplevel) 1761 (ede-load-project-file, ede-parent-project, ede-current-project) 1762 (ede-target-parent): Avoid loading in a project unless it is safe, 1763 since it may involve malicious code. This security flaw was 1764 pointed out by Hiroshi Oota. 1765 1766 * ede/auto.el (ede-project-autoload): Add safe-p slot. 1767 (ede-project-class-files): Projects using Project.ede are unsafe. 1768 (ede-auto-load-project): New method. 1769 1770 * ede/simple.el (ede-project-class-files): Mark as unsafe. 1771 17722011-12-19 Sam Steingold <sds@gnu.org> 1773 1774 * semantic/edit.el (semantic-edits-incremental-parser): Add the 1775 autoload cookie, necessary for JDEE. 1776 17772011-12-06 Juanma Barranquero <lekktu@gmail.com> 1778 1779 * semantic/bovine/c.el (semantic-tag-abstract-p): Fix typo. 1780 17812011-11-26 Chong Yidong <cyd@gnu.org> 1782 1783 * semantic/wisent/python-wy.el: 1784 * semantic/wisent/js-wy.el: 1785 * semantic/wisent/javat-wy.el: 1786 * semantic/bovine/c-by.el: 1787 * semantic/grammar-wy.el: Regenerate. 1788 17892011-11-24 Juanma Barranquero <lekktu@gmail.com> 1790 1791 * semantic/lex-spp.el (semantic-lex-spp-first-token-arg-list): Fix typo. 1792 17932011-11-20 Juanma Barranquero <lekktu@gmail.com> 1794 1795 * cedet-cscope.el (cedet-cscope-version-check): 1796 * cedet-global.el (cedet-global-min-version) 1797 (cedet-gnu-global-version-check): 1798 * cedet.el (cedet-version): 1799 * data-debug.el (data-debug-prev, data-debug-contract-current-line): 1800 * ede.el (ede-buffer-belongs-to-project-p, ede-auto-add-to-target) 1801 (ede-new, ede-invoke-method, project-edit-file-target, project-rescan) 1802 (ede-add-project-to-global-list, ede-map-all-subprojects): 1803 * inversion.el (inversion-check-version): 1804 * mode-local.el (mode-local-map-file-buffers, define-child-mode) 1805 (define-overloadable-function): 1806 * pulse.el (pulse-flag, pulse): 1807 * semantic.el (semantic-elapsed-time, semantic-parse-region) 1808 (navigate-menu): 1809 * ede/proj-comp.el (ede-compilation-program): 1810 * semantic/debug.el (semantic-debug-parser-go) 1811 (semantic-debug-parser-fail, semantic-debug-parser-quit) 1812 (semantic-debug-parser-abort): 1813 * semantic/idle.el (semantic-idle-core-handler): 1814 * semantic/bovine/debug.el (semantic-bovine-debug-error-frame): 1815 Fix typos. 1816 18172011-11-16 Juanma Barranquero <lekktu@gmail.com> 1818 1819 * semantic/lex.el (semantic-lex-tokens): 1820 * semantic/tag-ls.el (semantic-tag-protected-p): 1821 * srecode/mode.el (srecode-prefix-map): Fix typos. 1822 18232011-11-15 Juanma Barranquero <lekktu@gmail.com> 1824 1825 * ede/project-am.el (project-compile-target-command): Fix typo. 1826 18272011-11-14 Juanma Barranquero <lekktu@gmail.com> 1828 1829 * ede/auto.el (ede-project-autoload): 1830 * ede/proj-comp.el (ede-makefile-rule): 1831 * semantic/analyze.el (semantic-analyze-current-context): 1832 * semantic/ctxt.el (semantic-get-local-variables): 1833 * semantic/tag-ls.el (semantic-tag-calculate-parent): Fix typos. 1834 18352011-11-03 David Engster <dengste@eml.cc> 1836 1837 * srecode.el: 1838 * srecode/texi.el: 1839 * srecode/template.el: 1840 * srecode/java.el: 1841 * srecode/insert.el: 1842 * srecode/document.el: 1843 * srecode/dictionary.el: 1844 * srecode/compile.el: 1845 * semantic/wisent/java-tags.el: 1846 * semantic/texi.el: 1847 * semantic/sort.el: 1848 * semantic/lex-spp.el: 1849 * semantic/idle.el: 1850 * semantic/html.el: 1851 * semantic/db-typecache.el: 1852 * semantic/analyze/complete.el: 1853 * ede/generic.el: 1854 * ede/custom.el: 1855 * ede/cpp-root.el: 1856 * ede/base.el: Fix filenames in comments and headers. 1857 1858 * semantic/db-find.el: 1859 * srecode/insert.el (srecode-insert-include-lookup): 1860 * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in 1861 comments and docstrings. 1862 1863 * semantic/ctxt.el (semantic-end-of-context-default): 1864 * semantic/find.el (semantic-find-tags-by-scope-protection): 1865 * semantic/java.el (semantic-documentation-for-tag): Fix typos in 1866 docstrings. 1867 1868 * semantic/db.el (semanticdb-table, semanticdb-abstract-cache) 1869 (semanticdb-abstract-db-cache): 1870 * semantic/decorate/include.el 1871 (semantic-decoration-unknown-include-describe): Fix filenames in 1872 docstring. 1873 1874 * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent) 1875 (semantic-ede-grammar-compiler-bovine): Fix requires that are 1876 added to the grammar-make-script. 1877 18782011-10-23 Chong Yidong <cyd@gnu.org> 1879 1880 * ede.el (ede-maybe-checkout): Function deleted; 1881 vc-toggle-read-only does not do version control now. 1882 1883 * ede/util.el (ede-make-buffer-writable): Don't use 1884 vc-toggle-read-only. 1885 1886 * ede/project-am.el (project-remove-file, project-add-file) 1887 (project-new-target): Don't call ede-maybe-checkout. 1888 18892011-10-19 Chong Yidong <cyd@gnu.org> 1890 1891 * ede.el (ede-minor-mode, global-ede-mode): 1892 * semantic.el (semantic-mode): Doc fix to reflect new 1893 define-minor-mode calling behavior. 1894 18952011-07-30 Chong Yidong <cyd@stupidchicken.com> 1896 1897 * semantic/grammar.el (semantic-grammar-insert-defanalyzers): 1898 Fix require. 1899 19002011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change) 1901 1902 * semantic/db.el (semanticdb-file-table-object): Don't bug out on 1903 unconfigured projects if `global-ede-mode' is on (bug#8092). 1904 19052011-07-01 Paul Eggert <eggert@cs.ucla.edu> 1906 1907 * semantic.el (semantic-elapsed-time): Rewrite using 1908 time-subtract and float-time. 1909 19102011-05-11 Glenn Morris <rgm@gnu.org> 1911 1912 * semantic/wisent/javascript.el (semantic-get-local-variables): 1913 Use define-mode-local-override rather than its obsolete alias. 1914 19152011-05-10 Jim Meyering <meyering@redhat.com> 1916 1917 Fix doubled-word typos. 1918 * ede/pmake.el (ede-proj-makefile-garbage-patterns): the the -> the 1919 * semantic/complete.el (semantic-complete-read-tag-local-members): 1920 Likewise. 1921 * ede.el (ede-auto-add-method): then then -> then 1922 19232011-04-23 Juanma Barranquero <lekktu@gmail.com> 1924 1925 * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf): 1926 * ede/proj-comp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf): 1927 * ede/proj-elisp.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf) 1928 (ede-proj-tweak-autoconf, ede-proj-flush-autoconf): 1929 * ede/proj-scheme.el (ede-proj-tweak-autoconf): Fix typos in docstrings. 1930 19312011-03-07 Chong Yidong <cyd@stupidchicken.com> 1932 1933 * Version 23.3 released. 1934 19352011-02-21 Stefan Monnier <monnier@iro.umontreal.ca> 1936 1937 * semantic/wisent/comp.el (wisent-byte-compile-grammar): 1938 Macroexpand before passing to byte-compile-form. 1939 19402011-01-13 Stefan Monnier <monnier@iro.umontreal.ca> 1941 1942 * srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode. 1943 * semantic/symref/list.el (semantic-symref-results-mode): 1944 Use run-mode-hooks. 1945 19462010-11-12 Glenn Morris <rgm@gnu.org> 1947 1948 * semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. 1949 19502010-11-10 Glenn Morris <rgm@gnu.org> 1951 1952 * semantic/bovine/c.el: Test system-type with memq. 1953 19542010-11-09 Glenn Morris <rgm@gnu.org> 1955 1956 * semantic/lex.el (semantic-lex-ignore-comments, semantic-flex): 1957 * semantic/grammar.el (semantic-grammar-epilogue): 1958 * ede/speedbar.el (ede-find-nearest-file-line): 1959 * ede/pmake.el (ede-proj-makefile-insert-dist-rules): 1960 * ede/autoconf-edit.el (autoconf-delete-parameter): 1961 Use point-at-bol and point-at-eol. 1962 19632010-11-07 Glenn Morris <rgm@gnu.org> 1964 1965 * ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol. 1966 19672010-11-01 Glenn Morris <rgm@gnu.org> 1968 1969 * semantic/bovine/c.el (semantic-analyze-split-name): Move before use. 1970 1971 * semantic/symref/cscope.el (ede-toplevel): 1972 * semantic/symref.el (ede-toplevel): 1973 * semantic/tag-file.el (ede-toplevel): 1974 * ede.el (ede-toplevel): Fix declarations. 1975 19762010-10-31 Glenn Morris <rgm@gnu.org> 1977 1978 * ede/proj-elisp.el (project-compile-target): Fix previous change. 1979 * semantic/ede-grammar.el (project-compile-target): Fix previous change. 1980 19812010-10-31 Julien Danjou <julien@danjou.info> 1982 1983 * ede/proj-elisp.el (project-compile-target): 1984 * semantic/ede-grammar.el (project-compile-target): 1985 Use `byte-recompile-file'. 1986 19872010-10-31 Glenn Morris <rgm@gnu.org> 1988 1989 * mode-local.el (mode-local-augment-function-help): 1990 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons): 1991 * semantic/symref/list.el (semantic-symref-results-dump) 1992 (semantic-symref-rb-toggle-expand-tag): Replace inappropriate uses 1993 of toggle-read-only. 1994 19952010-09-30 Chong Yidong <cyd@stupidchicken.com> 1996 1997 * semantic/bovine/el.el: 1998 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode): 1999 Fix require statements. 2000 20012010-09-29 Chong Yidong <cyd@stupidchicken.com> 2002 2003 * semantic/tag.el (semantic-tag-version): Bump to 2.0. 2004 2005 * semantic/db-typecache.el (semanticdb-typecache-find-default): 2006 * semantic/imenu.el (semantic-create-imenu-index): 2007 * semantic/grammar.el (semantic--grammar-macro-function-tag): 2008 * semantic/fw.el (semanticdb-without-unloaded-file-searches): 2009 Fix require. Suggested by David Engster. 2010 2011 * semantic/bovine/c-by.el: Regenerate. 2012 20132010-09-29 Eric Ludlam <zappo@gnu.org> 2014 2015 * semantic/lex-spp.el (semantic-lex-spp-debug-symbol): New var. 2016 (semantic-lex-spp-enable-debug-symbol): New command. 2017 (semantic-lex-spp-value-valid-p) 2018 (semantic-lex-spp-validate-value): New functions. 2019 (semantic-lex-spp-symbol-set) 2020 (semantic-lex-spp-symbol-push): Add call to validate value. 2021 (semantic-lex-spp-table-write-slot-value): Instead of erroring on 2022 invalid values during save, just save a nil. 2023 20242010-09-25 Chong Yidong <cyd@stupidchicken.com> 2025 2026 * ede/linux.el (ede-project-class-files): 2027 * ede/generic.el (ede-generic-new-autoloader): 2028 * ede/emacs.el (ede-project-class-files): 2029 * ede/simple.el (ede-project-class-files): 2030 * ede/cpp-root.el (ede-project-class-files): Fix require name. 2031 20322010-09-25 Juanma Barranquero <lekktu@gmail.com> 2033 2034 * semantic/lex.el (semantic-ignore-comments): Doc fix. 2035 2036 * semantic/symref/list.el (semantic-symref-list-rename-open-hits): 2037 Fix typo in error message. 2038 (semantic-symref-list-map-open-hits): Fix typo in docstring. 2039 20402010-09-21 Eric Ludlam <zappo@gnu.org> 2041 2042 Synch SRecode to CEDET 1.0. 2043 2044 * pulse.el (pulse-momentary-highlight-overlay): If pulse-flag is 2045 'never, disable all pulsing. 2046 2047 * cedet.el (cedet-version): 2048 * srecode.el (srecode-version): Bump version to 1.0. 2049 2050 * srecode/texi.el (srecode-texi-insert-tag-as-doc): New function. 2051 (semantic-insert-foreign-tag): Use it. 2052 2053 * srecode/mode.el (srecode-bind-insert): 2054 Call srecode-load-tables-for-mode. 2055 (srecode-minor-mode-templates-menu): Do not list templates that 2056 are not in the current project. 2057 (srecode-menu-bar): Add binding for srecode-macro-help. 2058 2059 * srecode/table.el (srecode-template-table): Add :project slot. 2060 (srecode-dump): Dump it. 2061 2062 * srecode/map.el (srecode-map-update-map): Make map loading more 2063 robust. 2064 2065 * srecode/insert.el (srecode-insert-fcn): Merge template 2066 dictionary before resolving arguments. 2067 (srecode-insert-method-helper): Add error checking to make sure 2068 that we only have dictionaries. 2069 (srecode-insert-method): Check template nesting depth when using 2070 point inserter override. 2071 (srecode-insert-method): Install override with depth limit. 2072 2073 * srecode/getset.el (srecode-insert-getset): Force tag table 2074 update. Don't query the class if it is empty. 2075 2076 * srecode/find.el (srecode-template-get-table) 2077 (srecode-template-get-table-for-binding) 2078 (srecode-all-template-hash): Skip if not in current project. 2079 (srecode-template-table-in-project-p): New method. 2080 2081 * srecode/fields.el (srecode-fields-exit-confirmation): New option. 2082 (srecode-field-exit-ask): Use it. 2083 2084 * srecode/dictionary.el (srecode-dictionary-add-template-table): 2085 Do not add variables in tables not for the current project. 2086 (srecode-compound-toString): Handle cases where the default value 2087 is another compound value. 2088 (srecode-dictionary-lookup-name): New optional argument 2089 NON-RECURSIVE, which inhibits visiting dictionary parents. 2090 (srecode-dictionary-add-section-dictionary) 2091 (srecode-dictionary-merge): New optional argument FORCE adds 2092 values even if an identically named entry exists. 2093 (srecode-dictionary-add-entries): New method. 2094 (srecode-create-dictionaries-from-tags): New function. 2095 2096 * srecode/cpp.el (srecode-cpp): New defgroup. 2097 (srecode-cpp-namespaces): New option. 2098 (srecode-semantic-handle-:using-namespaces) 2099 (srecode-cpp-apply-templates): New functions. 2100 (srecode-semantic-apply-tag-to-dict): Handle template parameters 2101 by calling `srecode-cpp-apply-templates'. 2102 2103 * srecode/compile.el (srecode-compile-templates): Fix directory 2104 compare of built-in templates. Give built-ins lower piority. 2105 Support special variable "project". 2106 (srecode-compile-template-table): Set :project slot of new tables. 2107 (srecode-compile-one-template-tag): 2108 Use srecode-create-dictionaries-from-tags. 2109 21102010-09-21 Eric Ludlam <zappo@gnu.org> 2111 2112 Synch EDE to CEDET 1.0. 2113 2114 * cedet-idutils.el (cedet-idutils-make-command): New option. 2115 (cedet-idutils-mkid-call) 2116 (cedet-idutils-create/update-database): New functions. 2117 2118 * cedet-cscope.el (cedet-cscope-create) 2119 (cedet-cscope-create/update-database): New functions. 2120 (cedet-cscope-support-for-directory): Make interactive. 2121 2122 * cedet-global.el (cedet-global-gtags-command): New option. 2123 (cedet-gnu-global-gtags-call) 2124 (cedet-gnu-global-create/update-database): New functions. 2125 2126 * ede.el (ede-save-cache): Fix recentf-exclude expression. 2127 (ede-make-dist): Always use toplevel project. 2128 (ede-buffer-object): If we fail to find an object in the current 2129 project, loop upward looking for a match. If no target is found, 2130 use most local project. 2131 (ede-buffer-belongs-to-target-p) 2132 (ede-buffer-belongs-to-project-p): New functions. 2133 (ede-initialize-state-current-buffer): New function. 2134 (ede-target-forms-menu, ede-project-buffers): Use them. 2135 (ede-minor-mode, ede-reset-all-buffers): Use it. 2136 (project-interactive-select-target, project-add-file): Don't use 2137 ede-project-force-load. 2138 (ede-buffer-object): New arg PROJSYM. 2139 (ede-minor-mode): Remove ede-directory-project-p test. 2140 (ede-initialize-state-current-buffer): Don't test for 2141 ede-directory-project-p if there is a matching open project. 2142 (ede-customize-forms-menu): Prevent error if there is no project. 2143 (ede-load-project-file): Set ede-constructing to the thing being 2144 constructed, instead of t. 2145 (ede-project-force-load): Delete. 2146 2147 * ede/base.el: 2148 * ede/auto.el: 2149 * ede/custom.el: New files. 2150 2151 * ede/autoconf-edit.el (autoconf-find-last-macro) 2152 (autoconf-parameters-for-macro): Parse multiline parameters of 2153 macros. Optionally ignore case and at bol for macro. 2154 (autoconf-parameter-strip): Use greedy match for newlines. 2155 (autoconf-new-automake-string): Delete. 2156 (autoconf-new-program): Use SRecode to fill an empty file. 2157 2158 * ede/cpp-root.el (ede-create-lots-of-projects-under-dir): 2159 New function. 2160 2161 * ede/files.el (ede-flush-project-hash): New command. 2162 (ede-convert-path): Add optional PROJECT arg. 2163 (ede-directory-project-p): Obey ".ede-ignore". 2164 (ede-expand-filename-local) 2165 (ede-expand-filename-impl-via-subproj): New methods. 2166 (ede-expand-filename-impl): Use them. 2167 (ede-project-root, ede-project-root-directory): Move to 2168 ede/auto.el. 2169 2170 * ede/locate.el (ede-locate-flush-hash) 2171 (ede-locate-create/update-root-database): New methods. 2172 (initialize-instance): Use ede-locate-flush-hash. 2173 2174 * ede/pmake.el (ede-proj-makefile-insert-variables): If this is 2175 the top project and not a metasubproject, set TOP to CURDIR. 2176 (ede-proj-makefile-insert-variables): Output a target's object 2177 list whether or not the vars are already in the Makefile. 2178 (ede-pmake-insert-variable-once): New macro. 2179 2180 * ede/project-am.el (project-am-with-makefile-current): 2181 Add recentf-exclude. 2182 (project-am-load-makefile): Obey an optional suggested name. 2183 (project-am-expand-subdirlist): New function. 2184 (project-am-makefile::project-rescan): Use it. Combine SUBDIRS 2185 and DIST_SUBDIRS. 2186 (project-am-meta-type-alist): A list to scan better Makefile.am. 2187 (project-am-scan-for-targets): Scan also over 2188 project-am-meta-type-alist. 2189 (ede-system-include-path): Simple implementation. 2190 (ede-find-target): Delete. EDE core takes care of this. 2191 (ede-buffer-mine): Create the searched filename as relative. 2192 (project-am-load): Simplify, using autoconf-edit. 2193 (project-am-extract-package-info): Fix separators. 2194 2195 * ede/proj.el (project-run-target): New method. 2196 (project-make-dist, project-compile-project): 2197 Use ede-proj-automake-p to determine which kind of compile to use. 2198 (project-rescan): Call ede-load-project-file. 2199 (ede-buffer-mine): Add more file names that belong to the project. 2200 (ede-proj-compilers): Improve error message. 2201 2202 * ede/proj-obj.el (ede-ld-linker): Use the LDDEPS variable. 2203 (ede-source-c++): Add more C++ extensions. 2204 (ede-proj-target-makefile-objectcode): Quote initforms. 2205 Support lex and yacc. 2206 2207 * ede/proj-prog.el (ede-proj-makefile-insert-rules): Remove. 2208 (ede-proj-makefile-insert-variables): New, add LDDEPS. 2209 (ede-proj-makefile-insert-automake-post-variables): Add LDADD 2210 variable. Use ldlibs-local slot. Add a -l to ldlibs strings. 2211 (ede-proj-target-makefile-program): Swap order of two slots so 2212 they show up in the same order as in the command line. 2213 (ede-proj-target-makefile-program): Add ldlibs-local slot. 2214 2215 * ede/proj-shared.el (ede-g++-libtool-shared-compiler): 2216 Fix inference rule to use cpp files. 2217 (ede-proj-target-makefile-shared-object): Quote initforms. 2218 2219 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous): 2220 * ede/proj-info.el (ede-proj-target-makefile-info): 2221 * ede/proj-aux.el (ede-proj-target-aux): 2222 * ede/proj-archive.el (ede-proj-target-makefile-archive): 2223 * ede/proj-elisp.el (ede-proj-target-elisp) 2224 (ede-proj-target-elisp-autoloads): Quote initforms. 2225 2226 * ede/srecode.el (ede-srecode-setup): Load autoconf templates. 2227 2228 * ede/shell.el (ede-shell-buffer): Fix buffer name. 2229 2230 * ede/pconf.el (ede-proj-configure-synchronize): If user events 2231 occur while waiting for the compile process to finish, pull them 2232 in and discard those events. 2233 22342010-09-19 Eric Ludlam <zappo@gnu.org> 2235 2236 Synch Semantic to CEDET 1.0. 2237 2238 * semantic.el (semantic-version): Update to 2.0. 2239 (semantic-mode-map): Add "," and "m" bindings. 2240 (navigate-menu): Update. 2241 2242 * semantic/symref.el (semantic-symref-calculate-rootdir): 2243 New function. 2244 (semantic-symref-detect-symref-tool): Use it. 2245 2246 * semantic/symref/grep.el (semantic-symref-grep-shell): New var. 2247 (semantic-symref-perform-search): Use it. Calculate root dir with 2248 semantic-symref-calculate-rootdir. 2249 (semantic-symref-derive-find-filepatterns): Improve error message. 2250 2251 * semantic/symref/list.el 2252 (semantic-symref-results-mode-map): New bindings. 2253 (semantic-symref-auto-expand-results): New option. 2254 (semantic-symref-results-dump): Obey auto-expand. 2255 (semantic-symref-list-expand-all, semantic-symref-regexp) 2256 (semantic-symref-list-contract-all) 2257 (semantic-symref-list-map-open-hits) 2258 (semantic-symref-list-update-open-hits) 2259 (semantic-symref-list-create-macro-on-open-hit) 2260 (semantic-symref-list-call-macro-on-open-hits): New functions. 2261 (semantic-symref-list-menu-entries) 2262 (semantic-symref-list-menu): New vars. 2263 (semantic-symref-list-map-open-hits): Move cursor to beginning of 2264 match before calling the mapped function. 2265 2266 * semantic/doc.el 2267 (semantic-documentation-comment-preceeding-tag): Do nothing if the 2268 mode doesn't provide comment-start-skip. 2269 2270 * semantic/scope.el 2271 (semantic-analyze-scope-nested-tags-default): Strip duplicates. 2272 (semantic-analyze-scoped-inherited-tag-map): Take the tag we are 2273 looking for as part of the scoped tags list. 2274 2275 * semantic/html.el (semantic-default-html-setup): 2276 Add senator-step-at-tag-classes. 2277 2278 * semantic/decorate/include.el 2279 (semantic-decoration-on-unknown-includes): Change light bgcolor. 2280 (semantic-decoration-on-includes-highlight-default): Check that 2281 the include tag has a position. 2282 2283 * semantic/complete.el (semantic-collector-local-members) 2284 (semantic-complete-read-tag-local-members) 2285 (semantic-complete-jump-local-members): New class and functions. 2286 (semantic-complete-self-insert): Save excursion before completing. 2287 2288 * semantic/analyze/complete.el 2289 (semantic-analyze-possible-completions-default): If no completions 2290 are found, return the raw by-name-only completion list. Add FLAGS 2291 arguments. Add support for 'no-tc (type constraint) and 2292 'no-unique, or no stripping duplicates. 2293 (semantic-analyze-possible-completions-default): Add FLAGS arg. 2294 2295 * semantic/util-modes.el 2296 (semantic-stickyfunc-show-only-functions-p): New option. 2297 (semantic-stickyfunc-fetch-stickyline): Don't show stickytext for 2298 the very first line in a buffer. 2299 2300 * semantic/util.el (semantic-hack-search) 2301 (semantic-recursive-find-nonterminal-by-name) 2302 (semantic-current-tag-interactive): Delete. 2303 (semantic-describe-buffer): Fix expand-nonterminal. 2304 Add lex-syntax-mods, type relation separator char, and command 2305 separation char. 2306 (semantic-sanity-check): Only message if called interactively. 2307 2308 * semantic/tag.el (semantic-tag-deep-copy-one-tag): Copy the 2309 :filename property and the tag position. 2310 2311 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): 2312 Add recursion limit. 2313 2314 * semantic/imenu.el (semantic-imenu-bucketize-type-members): 2315 Make this buffer local, not the obsoleted variable. 2316 2317 * semantic/idle.el: Add breadcrumbs support. 2318 (semantic-idle-summary-current-symbol-info-default) 2319 (semantic-idle-tag-highlight) 2320 (semantic-idle-completion-list-default): 2321 Use semanticdb-without-unloaded-file-searches for speed, and to 2322 conform to the controls that specify if the idle timer is supposed 2323 to be parsing unparsed includes. 2324 (semantic-idle-symbol-highlight-face) 2325 (semantic-idle-symbol-maybe-highlight): Rename from *-summary-*. 2326 Callers changed. 2327 (semantic-idle-work-parse-neighboring-files-flag): Default to nil. 2328 (semantic-idle-work-update-headers-flag): New var. 2329 (semantic-idle-work-for-one-buffer): Use it. 2330 (semantic-idle-local-symbol-highlight): Rename from 2331 semantic-idle-tag-highlight. 2332 (semantic-idle-truncate-long-summaries): New option. 2333 2334 * semantic/ia.el (semantic-ia-cache) 2335 (semantic-ia-get-completions): Delete. Callers changed. 2336 (semantic-ia-show-variants): New command. 2337 (semantic-ia-show-doc): If doc is empty, don't make a temp buffer. 2338 (semantic-ia-show-summary): If there isn't anything to show, say so. 2339 2340 * semantic/grammar.el (semantic-grammar-create-package): 2341 Save the buffer even in batch mode. 2342 2343 * semantic/fw.el 2344 (semanticdb-without-unloaded-file-searches): New macro. 2345 2346 * semantic/dep.el (semantic-dependency-find-file-on-path): 2347 Fix case dereferencing ede-object when it is a list. 2348 2349 * semantic/db-typecache.el (semanticdb-expand-nested-tag) 2350 (semanticdb-typecache-faux-namespace): New functions. 2351 (semanticdb-typecache-file-tags) 2352 (semanticdb-typecache-merge-streams): Use them. 2353 (semanticdb-typecache-file-tags): When deriving tags from a file, 2354 give the mode a chance to monkey with the tag copy. 2355 (semanticdb-typecache-find-default): Wrap find in save-excursion. 2356 (semanticdb-typecache-find-by-name-helper): Merge found names down. 2357 2358 * semantic/db-global.el 2359 (semanticdb-enable-gnu-global-in-buffer): Don't show messages if 2360 GNU Global is not available and we don't want to throw an error. 2361 2362 * semantic/db-find.el (semanticdb-find-result-nth-in-buffer): 2363 When trying to normalize the tag to a buffer, don't error if 2364 set-buffer method doesn't exist. 2365 2366 * semantic/db-file.el (semanticdb-save-db): Simplify msg. 2367 2368 * semantic/db.el (semanticdb-refresh-table): If forcing a 2369 refresh on a file not in a buffer, use semantic-find-file-noselect 2370 and delete the buffer after use. 2371 (semanticdb-current-database-list): When calculating root via 2372 hooks, force it through true-filename and skip the list of 2373 possible roots. 2374 2375 * semantic/ctxt.el (semantic-ctxt-imported-packages): New. 2376 2377 * semantic/analyze/debug.el 2378 (semantic-analyzer-debug-insert-tag): Reset standard output to 2379 current buffer. 2380 (semantic-analyzer-debug-global-symbol) 2381 (semantic-analyzer-debug-missing-innertype): Change "prefix" to 2382 "symbol" in messages. 2383 2384 * semantic/analyze/refs.el (semantic-analyze-refs-impl) 2385 (semantic-analyze-refs-proto): When calculating value, make sure 2386 the found tag is 'similar' to the originating tag. 2387 (semantic--analyze-refs-find-tags-with-parent): Attempt to 2388 identify matches via imported symbols of parents. 2389 (semantic--analyze-refs-full-lookup-with-parents): Do a deep 2390 search during the brute search. 2391 2392 * semantic/analyze.el 2393 (semantic-analyze-find-tag-sequence-default): Be robust to 2394 calculated scopes being nil. 2395 2396 * semantic/bovine/c.el (semantic-c-describe-environment): 2397 Add project macro symbol array. 2398 (semantic-c-parse-lexical-token): Add recursion limit. 2399 (semantic-ctxt-imported-packages, semanticdb-expand-nested-tag): 2400 New overrides. 2401 (semantic-expand-c-tag-namelist): Split a full type from a typedef 2402 out to its own tag. 2403 (semantic-expand-c-tag-namelist): Do not split out a typedef'd 2404 inline type if it is an anonymous type. 2405 (semantic-c-reconstitute-token): Use the optional initializers as 2406 a clue that some function is probably a constructor. 2407 When defining the type of these constructors, split the parent name, 2408 and use only the class part, if applicable. 2409 2410 * semantic/bovine/c-by.el: 2411 * semantic/wisent/python-wy.el: Regenerate. 2412 24132010-07-20 Juanma Barranquero <lekktu@gmail.com> 2414 2415 * semantic/db-file.el (object-write): Fix typo in docstring. 2416 24172010-06-03 Eric Ludlam <zappo@gnu.org> 2418 2419 * semantic/lex-spp.el 2420 (semantic-lex-spp-table-write-slot-value): Instead of erroring on 2421 invalid values during save, just save a nil (Bug#6324). 2422 24232010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change) 2424 2425 * ede/cpp-root.el (ede-set-project-variables): Fix feature name 2426 (bug#6231). 2427 24282010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> 2429 2430 Use a mode-line spec rather than a static string in Semantic. 2431 * semantic/util-modes.el: 2432 (semantic-minor-modes-format): New var to replace... 2433 (semantic-minor-modes-status): Remove. 2434 (semantic-mode-line-update): Construct a mode-line spec rather than 2435 a static string so that mouse buttons can be used on individual minor 2436 modes and so that semantic-mode-line-update only needs to be called 2437 when global settings are changed. 2438 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): 2439 Call semantic-mode-line-update. 2440 (semantic-toggle-minor-mode-globally): Don't assume mode is on 2441 minor-mode-alist, check semantic-minor-mode-alist as well. 2442 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) 2443 (semantic-show-parser-state-marker, semantic-show-parser-state-mode) 2444 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): 2445 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): 2446 * semantic/idle.el (semantic-idle-scheduler-mode) 2447 (define-semantic-idle-service, semantic-idle-summary-mode): 2448 * semantic/decorate/mode.el (semantic-decoration-mode): 2449 Don't call semantic-mode-line-update any more. 2450 24512010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> 2452 2453 Use define-minor-mode in CEDET where applicable. 2454 2455 * srecode/mode.el (srecode-minor-mode, global-srecode-minor-mode): 2456 Use define-minor-mode. 2457 2458 * semantic/util-modes.el (semantic-add-minor-mode): 2459 Remove unused arg `keymap' and code redundant with define-minor-mode. 2460 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. 2461 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) 2462 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) 2463 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) 2464 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) 2465 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): 2466 Use define-minor-mode. 2467 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) 2468 (semantic-show-unmatched-syntax-mode-setup) 2469 (semantic-show-parser-state-mode-setup) 2470 (semantic-highlight-func-mode-setup): Inline into sole caller. 2471 2472 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) 2473 (semantic-mru-bookmark-mode): Use define-minor-mode. 2474 (semantic-mru-bookmark-mode-setup): Inline into sole caller. 2475 2476 * semantic/idle.el (define-semantic-idle-service): 2477 Use define-minor-mode and inline setup function into its sole caller. 2478 (semantic-idle-scheduler-mode-setup) 2479 (semantic-idle-summary-mode-setup): Inline into sole caller. 2480 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): 2481 Use define-minor-mode. 2482 2483 * semantic/decorate/mode.el (global-semantic-decoration-mode) 2484 (semantic-decoration-mode): Use define-minor-mode. 2485 (semantic-decoration-mode-setup): Inline into sole caller. 2486 2487 * ede/dired.el (ede-dired-minor-mode): Initialize in declaration. 2488 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. 2489 (ede-dired-add-to-target): Use dolist. 2490 24912010-04-29 Chong Yidong <cyd@stupidchicken.com> 2492 2493 * semantic.el (semantic-completion-at-point-function): 2494 New function. 2495 (semantic-mode): Use semantic-completion-at-point-function for 2496 completion-at-point-functions instead. 2497 24982010-04-28 Chong Yidong <cyd@stupidchicken.com> 2499 2500 * semantic.el (semantic-mode): When enabled, add 2501 semantic-ia-complete-symbol to completion-at-point-functions. 2502 2503 * semantic/ia.el (semantic-ia-complete-symbol): Return nil 2504 if Semantic is not active. 2505 25062010-04-19 Chong Yidong <cyd@stupidchicken.com> 2507 2508 * ede/pmake.el (ede-proj-makefile-insert-variables): 2509 Don't destroy list before using it. 2510 25112010-04-02 Juanma Barranquero <lekktu@gmail.com> 2512 2513 * semantic/imenu.el (semantic-imenu-bucketize-type-members) 2514 (semantic-create-imenu-directory-index): Fix typos in docstrings. 2515 (semantic-imenu-goto-function): Reflow docstring. 2516 25172010-03-24 Juanma Barranquero <lekktu@gmail.com> 2518 2519 * srecode/table.el (srecode-template-table): Fix docstring typo. 2520 25212010-03-24 Glenn Morris <rgm@gnu.org> 2522 2523 * semantic/bovine/c.el (semantic-c-describe-environment): 2524 Consistently check ede-object is bound throughout. 2525 2526 * ede/project-am.el (ede-shell-run-something): Declare. 2527 25282010-03-13 Eric M. Ludlam <zappo@gnu.org> 2529 2530 * semantic/imenu.el: New file, from the CEDET repository 2531 (Bug#5412). 2532 25332010-03-06 Glenn Morris <rgm@gnu.org> 2534 2535 * semantic/grammar.el (semantic-grammar-header-template): 2536 Update template copyright to GPLv3+. 2537 25382010-02-28 Chong Yidong <cyd@stupidchicken.com> 2539 2540 * semantic/db-find.el 2541 (semanticdb-find-translate-path-brutish-default): 2542 * ede/make.el (ede-make-check-version): 2543 Use with-current-buffer instead of save-excursion. 2544 25452010-02-24 Eduard Wiebe <usenet@pusto.de> 2546 2547 * semantic/wisent/javascript.el (wisent-javascript-jv-expand-tag): 2548 Avoid c(ad)ddr and use c(ad)r of cddr (Bug#5640). 2549 25502010-02-16 Chong Yidong <cyd@stupidchicken.com> 2551 2552 * data-debug.el (data-debug): Move to extensions group. 2553 2554 * ede.el (ede): 2555 * srecode.el (srecode): 2556 * semantic.el (semantic): Put in tools and extensions group. 2557 25582010-02-14 Juanma Barranquero <lekktu@gmail.com> 2559 2560 * ede.el (ede-run-target, project-delete-target) 2561 (project-dist-files, ede-name, ede-documentation, ede-parent-project) 2562 (ede-adebug-project, ede-adebug-project-parent) 2563 (ede-adebug-project-root): Fix typos in docstrings. 2564 25652010-01-18 Juanma Barranquero <lekktu@gmail.com> 2566 2567 * ede/locate.el (ede-locate-file-in-project) 2568 (ede-locate-file-in-project-impl): Fix typos in docstrings. 2569 (ede-enable-locate-on-project): Fix typos in error messages. 2570 2571 * semantic/util-modes.el (semantic-unmatched-syntax-face) 2572 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format) 2573 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup) 2574 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings. 2575 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu): 2576 Fix typos in menu help. 2577 2578 * semantic.el (semantic-require-version, semantic--buffer-cache) 2579 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook) 2580 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run) 2581 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time) 2582 (semantic-parse-stream, semantic-parse-region) 2583 (semantic-parse-region-default, semantic--set-buffer-cache) 2584 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe) 2585 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded) 2586 (semantic-default-submodes): 2587 * semantic/db-ebrowse.el (semanticdb-table-ebrowse) 2588 (semanticdb-create-ebrowse-database) 2589 (semanticdb-find-tags-for-completion-method) 2590 (semanticdb-find-tags-by-class-method) 2591 (semanticdb-deep-find-tags-by-name-method) 2592 (semanticdb-deep-find-tags-for-completion-method): 2593 * semantic/db-el.el (semanticdb-elisp-mapatom-collector) 2594 (semanticdb-find-tags-by-name-method, emacs-lisp-mode) 2595 (semanticdb-find-tags-for-completion-method) 2596 (semanticdb-find-tags-by-class-method) 2597 (semanticdb-deep-find-tags-for-completion-method): 2598 * semantic/db-find.el (semanticdb-find-translate-path) 2599 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p) 2600 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector) 2601 (semanticdb-find-tags-by-name-method) 2602 (semanticdb-find-tags-by-name-regexp-method) 2603 (semanticdb-find-tags-for-completion-method) 2604 (semanticdb-find-tags-by-class-method) 2605 (semanticdb-find-tags-external-children-of-type-method) 2606 (semanticdb-find-tags-subclasses-of-type-method) 2607 (semanticdb-deep-find-tags-by-name-method) 2608 (semanticdb-deep-find-tags-by-name-regexp-method) 2609 (semanticdb-deep-find-tags-for-completion-method): 2610 * semantic/db-global.el (semanticdb-enable-gnu-global-hook) 2611 (semanticdb-enable-gnu-global-in-buffer) 2612 (semanticdb-find-tags-for-completion-method) 2613 (semanticdb-deep-find-tags-by-name-method) 2614 (semanticdb-deep-find-tags-for-completion-method): 2615 * semantic/db-javascript.el (semanticdb-javascript-tags) 2616 (javascript-mode, semanticdb-find-translate-path) 2617 (semanticdb-find-tags-for-completion-method) 2618 (semanticdb-find-tags-by-class-method) 2619 (semanticdb-deep-find-tags-by-name-method) 2620 (semanticdb-deep-find-tags-for-completion-method) 2621 (semanticdb-find-tags-external-children-of-type-method): 2622 * semantic/idle.el (semantic-idle-work-core-handler) 2623 (define-semantic-idle-service, semantic-idle-summary-useful-context-p) 2624 (global-semantic-idle-scheduler-mode): 2625 * srecode/dictionary.el (srecode-field-value) 2626 (srecode-dictionary-add-section-dictionary): 2627 Fix typos in docstrings. 2628 26292010-01-17 Glenn Morris <rgm@gnu.org> 2630 2631 * semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix. 2632 26332010-01-17 Juanma Barranquero <lekktu@gmail.com> 2634 2635 * semantic.el (semantic-mode): Fix typos in docstrings. 2636 26372010-01-16 Mario Lang <mlang@delysid.org> 2638 2639 * ede/cpp-root.el (ede-cpp-root-project): 2640 * ede/files.el (ede-expand-filename): 2641 * ede/simple.el (ede-simple-project): 2642 * semantic/complete.el (semantic-complete-read-tag-engine) 2643 (semantic-complete-inline-tag-engine): 2644 * semantic/db-el.el (semanticdb-equivalent-mode): 2645 * semantic/db-global.el (semanticdb-equivalent-mode): 2646 * semantic/db-javascript.el (semanticdb-equivalent-mode): 2647 * semantic/db.el (semanticdb-equivalent-mode): 2648 * semantic/decorate/include.el (semantic-decoration-unknown-include-describe): 2649 * semantic/idle.el (semantic-idle-work-for-one-buffer): 2650 Remove duplicated words in doc-strings. 2651 26522010-01-14 Juanma Barranquero <lekktu@gmail.com> 2653 2654 * semantic/edit.el (semantic-reparse-needed-change-hook) 2655 (semantic-no-reparse-needed-change-hook): 2656 * srecode/insert.el (srecode-resolve-argument-list) 2657 (srecode-template-inserter-blank, srecode-template-inserter-variable) 2658 (srecode-template-inserter-ask, srecode-template-inserter-width) 2659 (srecode-template-inserter-section-start) 2660 (srecode-template-inserter-section-end, srecode-insert-method): 2661 Fix typos in docstrings. 2662 26632010-01-12 Juanma Barranquero <lekktu@gmail.com> 2664 2665 * data-debug.el (data-debug): Fix customization group reference. 2666 26672010-01-12 Juanma Barranquero <lekktu@gmail.com> 2668 2669 * semantic/analyze.el (semantic-analyze-push-error) 2670 (semantic-analyze-context, semantic-analyze-context-assignment) 2671 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag): 2672 * semantic/java.el (java-mode, semantic-tag-include-filename) 2673 (semantic-java-doc-keywords-map): 2674 * semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast) 2675 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region) 2676 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch) 2677 (semantic-c-classname, semantic-format-tag-uml-prototype) 2678 (semantic-c-dereference-namespace, semantic-analyze-type-constants): 2679 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string) 2680 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context) 2681 (semantic-get-local-variables, semantic-end-of-command) 2682 (semantic-beginning-of-command, semantic-ctxt-current-class-list) 2683 (lisp-mode): 2684 * semantic/bovine/make.el (makefile-mode): 2685 * semantic/wisent/python.el (wisent-python-string-re) 2686 (wisent-python-implicit-line-joining-p, wisent-python-forward-string) 2687 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line) 2688 (semantic-lex, semantic-get-local-variables, python-mode): 2689 * semantic/wisent/python-wy.el (wisent-python-wy--keyword-table): 2690 * srecode/extract.el (srecode-extract-state-set) 2691 (srecode-extract-method): Fix typos in docstrings. 2692 26932010-01-10 Chong Yidong <cyd@stupidchicken.com> 2694 2695 * semantic.el (semantic-new-buffer-setup-functions): 2696 Add python parser. 2697 26982010-01-10 Richard Kim <emacs18@gmail.com> 2699 2700 * semantic/wisent/python-wy.el: 2701 * semantic/wisent/python.el: New files. 2702 27032010-01-02 Juanma Barranquero <lekktu@gmail.com> 2704 2705 * semantic/db-typecache.el (semanticdb-typecache-find-default): 2706 Fix typo in docstring. 2707 27082009-12-14 Chong Yidong <cyd@stupidchicken.com> 2709 2710 * semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) 2711 (semantic-mru-bookmark-mode): Doc fixes. 2712 2713 * semantic/db.el (semanticdb-cache-get): Use error instead 2714 of assert. 2715 27162009-12-05 Chong Yidong <cyd@stupidchicken.com> 2717 2718 * semantic/ia.el (semantic-ia-complete-symbol): 2719 Make argument optional. 2720 27212009-12-05 Eric Ludlam <zappo@gnu.org> 2722 2723 * semantic/bovine/c.el (semantic-c-describe-environment): 2724 Describe project macro symbols. 2725 2726 * semantic/complete.el (semantic-complete-do-completion): 2727 Don't call semantic-collector-current-exact-match. 2728 2729 * ede.el (ede-apply-preprocessor-map): Accept lists of 2730 ede-objects as targets. 2731 2732 * ede/pmake.el (ede-proj-makefile-insert-variables): 2733 Output a target's object list even if compiler vars are already in the 2734 Makefile. 2735 2736 * ede/emacs.el (ede-preprocessor-map): Add config.h to the 2737 list of headers producing necessary macros. 2738 27392009-11-24 Glenn Morris <rgm@gnu.org> 2740 2741 * semantic/idle.el (global-semantic-idle-scheduler-mode): 2742 Move after definition of global-semantic-idle-tag-highlight-mode. 2743 27442009-11-22 Chong Yidong <cyd@stupidchicken.com> 2745 2746 * srecode/map.el (srecode-get-maps): 2747 * semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag): 2748 * semantic/wisent/comp.el (wisent-toggle-verbose-flag): 2749 * semantic/decorate/mode.el (semantic-decoration-mode) 2750 (semantic-toggle-decoration-style): 2751 * semantic/decorate/include.el 2752 (semantic-decoration-include-describe) 2753 (semantic-decoration-unknown-include-describe) 2754 (semantic-decoration-unparsed-include-describe) 2755 (semantic-decoration-all-include-summary): 2756 * semantic/bovine/c.el (semantic-c-debug-mode-init): 2757 * semantic/analyze/complete.el 2758 (semantic-analyze-possible-completions): 2759 * semantic/util-modes.el (semantic-highlight-edits-mode) 2760 (semantic-show-unmatched-syntax-mode) 2761 (semantic-show-parser-state-mode, semantic-stickyfunc-mode) 2762 (semantic-highlight-func-mode): 2763 * semantic/util.el (semantic-describe-buffer): 2764 * semantic/symref.el (semantic-symref-find-references-by-name) 2765 (semantic-symref-find-tags-by-name) 2766 (semantic-symref-find-tags-by-regexp) 2767 (semantic-symref-find-tags-by-completion) 2768 (semantic-symref-find-file-references-by-name) 2769 (semantic-symref-find-text): 2770 * semantic/senator.el (senator-copy-tag, senator-kill-tag) 2771 (senator-yank-tag): 2772 * semantic/scope.el (semantic-calculate-scope): 2773 * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): 2774 * semantic/idle.el (semantic-idle-scheduler-mode) 2775 (define-semantic-idle-service): 2776 * semantic/complete.el (semantic-complete-analyze-inline) 2777 (semantic-complete-analyze-inline-idle): 2778 * semantic/analyze.el (semantic-analyze-current-context): 2779 * mode-local.el (describe-mode-local-bindings) 2780 (describe-mode-local-bindings-in-mode): 2781 * ede/make.el (ede-make-check-version): 2782 * ede/locate.el (ede-enable-locate-on-project): 2783 * cedet-idutils.el (cedet-idutils-expand-filename) 2784 (cedet-idutils-version-check): 2785 * cedet-global.el (cedet-gnu-global-expand-filename) 2786 (cedet-gnu-global-version-check): 2787 * cedet-cscope.el (cedet-cscope-expand-filename) 2788 (cedet-cscope-version-check): Use called-interactively-p instead 2789 of interactive-p. 2790 2791 * semantic/ia.el (semantic-ia-completion-format-tag-function): 2792 Use semantic-format-tag-prototype. 2793 27942009-11-21 Chong Yidong <cyd@stupidchicken.com> 2795 2796 * semantic/complete.el (semantic-complete-read-tag-engine) 2797 (semantic-complete-jump-local, semantic-complete-jump): 2798 Improve prompt string. 2799 28002009-11-20 Chong Yidong <cyd@stupidchicken.com> 2801 2802 * semantic/complete.el (semantic-complete-inline-map): Doc fix. 2803 2804 * semantic/idle.el (define-semantic-idle-service) 2805 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix. 2806 28072009-11-20 Chong Yidong <cyd@stupidchicken.com> 2808 2809 * cedet.el (cedet-menu-map): Re-order menu items. 2810 2811 * semantic.el: Enable idle-mode menu items only if 2812 global-semantic-idle-scheduler-mode is enabled. 2813 (semantic-default-submodes): Doc fix. 2814 2815 * semantic/idle.el (global-semantic-idle-scheduler-mode): 2816 When turning off, disable other idle modes. 2817 28182009-11-15 Chong Yidong <cyd@stupidchicken.com> 2819 2820 * semantic/idle.el (semantic-idle-summary-mode) 2821 (semantic-idle-summary-mode): Define using define-minor-mode 2822 instead of define-semantic-idle-service. 2823 (semantic-idle-summary-mode): New function. 2824 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure 2825 that mouse motion does not reset the echo area. 2826 28272009-11-08 Chong Yidong <cyd@stupidchicken.com> 2828 2829 * semantic/ctxt.el (semantic-get-local-variables): 2830 Disable the progress reporter entirely. 2831 28322009-11-03 Stefan Monnier <monnier@iro.umontreal.ca> 2833 2834 * semantic/fw.el (semantic/loaddefs): 2835 * srecode.el (srecode/loaddefs): 2836 * ede.el (ede/loaddefs): Load rather than require. 2837 * ede/cpp-root.el: 2838 * ede/emacs.el: 2839 * ede/files.el: 2840 * ede/linux.el: 2841 * ede/locate.el: 2842 * ede/make.el: 2843 * ede/shell.el: 2844 * ede/speedbar.el: 2845 * ede/system.el: 2846 * ede/util.el: 2847 * semantic/analyze.el: 2848 * semantic/bovine.el: 2849 * semantic/complete.el: 2850 * semantic/ctxt.el: 2851 * semantic/db-file.el: 2852 * semantic/db-find.el: 2853 * semantic/db-global.el: 2854 * semantic/db-mode.el: 2855 * semantic/db-typecache.el: 2856 * semantic/db.el: 2857 * semantic/debug.el: 2858 * semantic/dep.el: 2859 * semantic/doc.el: 2860 * semantic/edit.el: 2861 * semantic/find.el: 2862 * semantic/format.el: 2863 * semantic/html.el: 2864 * semantic/ia-sb.el: 2865 * semantic/ia.el: 2866 * semantic/idle.el: 2867 * semantic/lex-spp.el: 2868 * semantic/lex.el: 2869 * semantic/mru-bookmark.el: 2870 * semantic/scope.el: 2871 * semantic/senator.el: 2872 * semantic/sort.el: 2873 * semantic/symref.el: 2874 * semantic/tag-file.el: 2875 * semantic/tag-ls.el: 2876 * semantic/tag-write.el: 2877 * semantic/tag.el: 2878 * semantic/util-modes.el: 2879 * semantic/analyze/complete.el: 2880 * semantic/analyze/refs.el: 2881 * semantic/bovine/c.el: 2882 * semantic/bovine/gcc.el: 2883 * semantic/bovine/make.el: 2884 * semantic/bovine/scm.el: 2885 * semantic/decorate/include.el: 2886 * semantic/decorate/mode.el: 2887 * semantic/symref/cscope.el: 2888 * semantic/symref/global.el: 2889 * semantic/symref/grep.el: 2890 * semantic/symref/idutils.el: 2891 * semantic/symref/list.el: 2892 * semantic/wisent/java-tags.el: 2893 * semantic/wisent/javascript.el: 2894 * srecode/compile.el: 2895 * srecode/cpp.el: 2896 * srecode/document.el: 2897 * srecode/el.el: 2898 * srecode/expandproto.el: 2899 * srecode/getset.el: 2900 * srecode/insert.el: 2901 * srecode/java.el: 2902 * srecode/map.el: 2903 * srecode/mode.el: 2904 * srecode/template.el: 2905 * srecode/texi.el: Remove the file-local setting of 2906 generated-autoload-feature. 2907 29082009-11-03 Glenn Morris <rgm@gnu.org> 2909 2910 * mode-local.el (with-mode-local): Doc fix. 2911 29122009-10-31 Chong Yidong <cyd@stupidchicken.com> 2913 2914 * cedet.el (cedet-menu-map): Remove Semantic and EDE menu 2915 items. 2916 2917 * ede.el (ede-minor-mode): 2918 * semantic.el (semantic-mode): Toggle menu separators. 2919 29202009-10-31 Glenn Morris <rgm@gnu.org> 2921 2922 * semantic/tag.el (semantic--tag-link-list-to-buffer): 2923 Use mapc rather than mapcar because the return value is never used. 2924 2925 * srecode/template.el, semantic/wisent/javascript.el: 2926 * semantic/wisent/java-tags.el, semantic/texi.el: 2927 * semantic/html.el: 2928 Suppress harmless warnings about setting up semantic-imenu (not 2929 part of Emacs) variables. 2930 29312009-10-30 Stefan Monnier <monnier@iro.umontreal.ca> 2932 2933 * srecode/srt-mode.el (semantic-analyze-possible-completions): 2934 * semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag): 2935 * semantic/symref/grep.el (semantic-symref-perform-search): 2936 * semantic/bovine/gcc.el (semantic-gcc-query): 2937 * semantic/bovine/c.el (semantic-c-parse-lexical-token): 2938 * semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons) 2939 (semantic-analyzer-debug-global-symbol) 2940 (semantic-analyzer-debug-missing-innertype) 2941 (semantic-analyzer-debug-insert-include-summary): 2942 * semantic/util.el (semantic-file-tag-table) 2943 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table) 2944 (semantic-recursive-find-nonterminal-by-name): 2945 * semantic/tag-ls.el (semantic-tag-calculate-parent-default): 2946 * semantic/tag-file.el (semantic-prototype-file): 2947 * semantic/symref.el (semantic-symref-parse-tool-output): 2948 * semantic/sb.el (semantic-sb-fetch-tag-table): 2949 * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): 2950 * semantic/idle.el (semantic-idle-work-for-one-buffer) 2951 (semantic-idle-summary-maybe-highlight): 2952 * semantic/ia-sb.el (semantic-ia-speedbar) 2953 (semantic-ia-sb-tag-info): 2954 * semantic/grammar.el (semantic-analyze-possible-completions): 2955 * semantic/find.el (semantic-brute-find-tag-by-position): 2956 * semantic/ede-grammar.el (project-compile-target) 2957 (ede-proj-makefile-insert-variables): 2958 * semantic/debug.el (semantic-debug-set-parser-location) 2959 (semantic-debug-set-source-location, semantic-debug-interface-layout) 2960 (semantic-debug-mode, semantic-debug): 2961 * semantic/db.el (semanticdb-needs-refresh-p): 2962 * semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer): 2963 * semantic/db-javascript.el (semanticdb-equivalent-mode): 2964 * semantic/db-find.el (semanticdb-find-log-new-search) 2965 (semanticdb-find-translate-path-includes--internal) 2966 (semanticdb-reset-log, semanticdb-find-log-activity): 2967 * semantic/db-file.el (object-write): 2968 * semantic/db-el.el (semanticdb-equivalent-mode): 2969 * semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p) 2970 (semanticdb-create-ebrowse-database): 2971 * semantic/db-debug.el (semanticdb-table-sanity-check): 2972 * semantic/complete.el (semantic-displayor-focus-request) 2973 (semantic-collector-calculate-completions-raw) 2974 (semantic-complete-read-tag-analyzer): 2975 * semantic/analyze.el (semantic-analyze-pulse): 2976 * ede/util.el (ede-update-version-in-source): 2977 * ede/proj.el (project-delete-target): 2978 * ede/proj-elisp.el (ede-update-version-in-source) 2979 (ede-proj-flush-autoconf): 2980 * ede/pconf.el (ede-proj-configure-synchronize) 2981 (ede-proj-configure-synchronize): 2982 * ede/locate.el (ede-locate-file-in-project-impl): 2983 * ede/linux.el (ede-linux-version): 2984 * ede/emacs.el (ede-emacs-version): 2985 * ede/dired.el (ede-dired-add-to-target): 2986 * ede.el (ede-buffer-header-file, ede-find-target) 2987 (ede-buffer-documentation-files, ede-project-buffers, ede-set) 2988 (ede-target-buffers, ede-buffers, ede-make-project-local-variable): 2989 * cedet-idutils.el (cedet-idutils-fnid-call) 2990 (cedet-idutils-lid-call, cedet-idutils-expand-filename) 2991 (cedet-idutils-version-check): 2992 * cedet-global.el (cedet-gnu-global-call) 2993 (cedet-gnu-global-expand-filename, cedet-gnu-global-root) 2994 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits): 2995 * cedet-cscope.el (cedet-cscope-call) 2996 (cedet-cscope-expand-filename, cedet-cscope-version-check): 2997 Use with-current-buffer. 2998 * ede.el (ede-make-project-local-variable) 2999 (ede-set-project-variables, ede-set): Use dolist. 3000 30012009-10-28 Stefan Monnier <monnier@iro.umontreal.ca> 3002 3003 * mode-local.el (make-obsolete-overload): Add `when' argument. 3004 (overload-docstring-extension): Use that info. 3005 * semantic/fw.el (semantic-alias-obsolete): Pass the `when' info. 3006 * semantic/idle.el (semantic-eldoc-current-symbol-info): 3007 * semantic/tag-ls.el (semantic-nonterminal-protection) 3008 (semantic-nonterminal-abstract, semantic-nonterminal-leaf) 3009 (semantic-nonterminal-full-name): Add the new `when' info. 3010 * semantic/decorate/mode.el (semantic/decorate): Require CL for 3011 `assert'. 3012 30132009-10-25 Stefan Monnier <monnier@iro.umontreal.ca> 3014 3015 * semantic/fw.el (semantic-alias-obsolete) 3016 (semantic-varalias-obsolete): Make the `when' arg mandatory. 3017 (define-mode-overload-implementation): 3018 * semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks): 3019 * semantic/wisent.el (wisent-lex-make-token-table): 3020 * semantic/util.el (semantic-file-token-stream) 3021 (semantic-something-to-stream): 3022 * semantic/tag.el (semantic-tag-make-assoc-list) 3023 (semantic-expand-nonterminal): 3024 * semantic/tag-file.el (semantic-find-nonterminal) 3025 (semantic-find-dependency, semantic-find-nonterminal) 3026 (semantic-find-dependency): 3027 * semantic/lex.el (semantic-flex-start, semantic-flex-end) 3028 (semantic-flex-text, semantic-flex-make-keyword-table) 3029 (semantic-flex-keyword-p, semantic-flex-keyword-put) 3030 (semantic-flex-keyword-get, semantic-flex-map-keywords) 3031 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list): 3032 * semantic/java.el (semantic-java-prototype-nonterminal): 3033 * semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks) 3034 (semantic-after-idle-scheduler-reparse-hooks): 3035 * semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks): 3036 * semantic/db-mode.el (semanticdb-mode-hooks): 3037 * semantic.el (semantic-toplevel-bovine-table) 3038 (semantic-toplevel-bovine-cache) 3039 (semantic-before-toplevel-bovination-hook, semantic-init-hooks) 3040 (semantic-init-mode-hooks, semantic-init-db-hooks) 3041 (semantic-bovination-working-type): Provide the `when' arg. 3042 30432009-10-24 Chong Yidong <cyd@stupidchicken.com> 3044 3045 * semantic/util.el (semantic-recursive-find-nonterminal-by-name): 3046 * semantic/tag.el (semantic-token-type-parent): Add WHEN 3047 argument to make-obsolete. 3048 3049 * semantic/fw.el (semantic-alias-obsolete) 3050 (semantic-varalias-obsolete): Add optional WHEN argument. 3051 30522009-10-21 Eric Ludlam <zappo@gnu.org> 3053 3054 * semantic/bovine/c.el (semantic-c-debug-mode-init) 3055 (semantic-c-debug-mode-init-pch): New functions. 3056 (semantic-c-debug-mode-init-last-mode): New var. 3057 (semantic-c-parse-lexical-token): Use them. 3058 3059 * semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace): 3060 When extracting the argument list, limit only by point-max. 3061 30622009-10-17 Chong Yidong <cyd@stupidchicken.com> 3063 3064 * srecode/srt.el: 3065 * srecode/compile.el: 3066 * semantic/mru-bookmark.el: 3067 * semantic/debug.el: 3068 * semantic/complete.el: 3069 * semantic/analyze.el: Require CL when compiling. 3070 30712009-10-17 Eric Ludlam <zappo@gnu.org> 3072 3073 * semantic/scope.el 3074 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of 3075 tmpscope so that the regular scope will continue to work. 3076 3077 * semantic/idle.el (semantic-idle-tag-highlight): 3078 Use semantic-idle-summary-highlight-face as the highlighting. 3079 3080 * ede/project-am.el (project-run-target): New method. 3081 (project-run-target): New method. 3082 3083 * ede.el (ede-target): Add run target menu item. 3084 (ede-project, ede-minor-keymap): Add ede-run-target binding. 3085 (ede-run-target): New function. 3086 (ede-target::project-run-target): New method. 3087 3088 * ede/proj.el (project-run-target): New method. 3089 3090 * ede/proj-shared.el (ede-gcc-libtool-shared-compiler) 3091 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS. 3092 Add :rules. 3093 (ede-proj-target-makefile-shared-object): Only libtool compilers 3094 now available. Add linkers for libtool. 3095 (ede-cc-linker-libtool, ede-g++-linker-libtool): New. 3096 (ede-proj-makefile-target-name): Always use .la extension. 3097 3098 * ede/proj-prog.el (project-run-target): New method. 3099 3100 * ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker. 3101 (ede-g++-linker): Change Change link lines. 3102 3103 * ede/pmake.el (ede-pmake-insert-variable-shared): 3104 When searching for old variables, go to the end of the buffer and 3105 search backward from there. 3106 (ede-proj-makefile-automake-insert-subdirs) 3107 (ede-proj-makefile-automake-insert-extradist): New methods. 3108 (ede-proj-makefile-create): Use them. 3109 3110 * ede/pconf.el (ede-proj-configure-test-required-file): 3111 Force FILE to expand to the current target. Use file-exists-p to 3112 check that it exists. 3113 3114 * ede/linux.el (ede-linux-version): Don't call "head". 3115 (ede-linux-load): Wrap dir in file-name-as-directory. 3116 Set :version slot. 3117 3118 * ede/files.el (ede-get-locator-object): When enabling 3119 locate, do so on "top". 3120 3121 * ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in 3122 file-name-as-directory during compare. 3123 (ede-emacs-version): Return Emacs/XEmacs differentiator. 3124 Get version number from different places. Don't call egrep. 3125 (ede-emacs-load): Set :version slot. Call file-name-as-directory 3126 to set the directory. 3127 3128 * ede/shell.el: New file. 3129 3130 * inversion.el (inversion-decoders): Allow for stray . in 3131 alpha/beta variants. 3132 31332009-10-17 Glenn Morris <rgm@gnu.org> 3134 3135 * semantic/grammar.el (semantic-grammar--lex-delim-spec): 3136 All errors should have messages. 3137 31382009-10-10 Sascha Wilde <wilde@sha-bang.de> 3139 3140 * ede/proj-shared.el (ede-proj-makefile-target-name): 3141 Use .la for Automake. 3142 31432009-10-09 Chong Yidong <cyd@stupidchicken.com> 3144 3145 * ede/pconf.el (ede-proj-configure-synchronize): 3146 Use "autoreconf -i". Suggested by Andreas Schwab. 3147 31482009-10-08 Chong Yidong <cyd@stupidchicken.com> 3149 3150 * ede/proj.el (project-make-dist, project-compile-project): 3151 Fix filename test. 3152 (ede-proj-dist-makefile): Use expand-file-name instead of concat 3153 to expand file names. 3154 31552009-10-08 Chong Yidong <cyd@stupidchicken.com> 3156 3157 * ede/proj-obj.el (ede-gcc-linker): New var. 3158 (ede-proj-target-makefile-objectcode): Use it. 3159 3160 * ede/source.el (ede-want-any-source-files-p) 3161 (ede-want-any-auxiliary-files-p, ede-want-any-files-p): 3162 Return search result. This error was introduced while merging. 3163 31642009-10-04 Chong Yidong <cyd@stupidchicken.com> 3165 3166 * semantic.el (semantic-new-buffer-setup-functions): New option. 3167 (semantic-new-buffer-fcn): Call parser setup functions here. 3168 (semantic-mode): Don't call parser setup functions here, it's done 3169 in semantic-new-buffer-fcn now. 3170 (semantic-mode): Parse all existing buffers when enabled. 3171 3172 * srecode/compile.el (srecode-compile-file): 3173 Call semantic-new-buffer-fcn if the buffer has not been parsed. 3174 31752009-10-04 Chong Yidong <cyd@stupidchicken.com> 3176 3177 * ede/pmake.el (ede-pmake-insert-variable-once): Delete. 3178 3179 * ede/proj-comp.el: Don't require ede/pmake at toplevel. 3180 (proj-comp-insert-variable-once): New macro, renamed from 3181 ede-pmake-insert-variable-once in ede/pmake.edl. 3182 (ede-proj-makefile-insert-variables): Use it. 3183 31842009-10-04 Juanma Barranquero <lekktu@gmail.com> 3185 3186 * ede/makefile-edit.el (makefile-beginning-of-command) 3187 (makefile-end-of-command): 3188 * srecode/srt-mode.el (semantic-beginning-of-context) 3189 (semantic-end-of-context): Fix previous change. Doc fixes. 3190 31912009-10-04 Juanma Barranquero <lekktu@gmail.com> 3192 3193 * ede/makefile-edit.el (makefile-beginning-of-command) 3194 (makefile-end-of-command): 3195 * semantic/lex.el (semantic-lex-token): 3196 * semantic/analyze/fcn.el 3197 (semantic-analyze-dereference-metatype-1): 3198 * semantic/bovine/c.el (semantic-lex-cpp-define) 3199 (semantic-lex-cpp-undef): 3200 * semantic/wisent/wisent.el (wisent-skip-block): 3201 * srecode/srt-mode.el (semantic-beginning-of-context) 3202 (semantic-end-of-context): Fix typos in docstrings. 3203 32042009-10-04 Chong Yidong <cyd@stupidchicken.com> 3205 3206 * ede.el (ede-project-placeholder-cache-file): 3207 * semantic/db-file.el (semanticdb-default-save-directory): 3208 * srecode/map.el (srecode-map-save-file): 3209 Use locate-user-emacs-file. Suggested by Juanma Barranquero. 3210 32112009-10-03 Chong Yidong <cyd@stupidchicken.com> 3212 3213 * srecode/insert.el: Require srecode/args. 3214 3215 * srecode/args.el: Require srecode/dictionary instead of 3216 srecode/insert. 3217 3218 * srecode/srt-mode.el (srecode-template-mode): Doc fix. 3219 3220 * semantic.el (semantic-mode): 3221 Handle srecode-template-mode-hook as well. 3222 (semantic-mode): Use js-mode-hook for Javascript hook. 3223 3224 * srecode/template.el: Remove hook variable. 3225 3226 * ede/proj-comp.el: Require ede/pmake when compiling. 3227 3228 * ede.el (ede-target-forms-menu): Don't enable if no 3229 projects exist. 3230 (ede-project-placeholder-cache-file): Default to a file in 3231 user-emacs-directory. 3232 3233 * srecode/map.el (srecode-map-base-template-dir): Look for 3234 templates in data-directory. 3235 (srecode-map-save-file): Default to a file in user-emacs-directory. 3236 3237 * ede/srecode.el (ede-srecode-setup): Use default templates 3238 directory. 3239 32402009-09-30 Eric Ludlam <zappo@gnu.org> 3241 3242 * semantic/util-modes.el (semantic-highlight-func-mode): 3243 Doc fix. 3244 3245 * ede/proj-comp.el (ede-proj-makefile-insert-variables): 3246 Only insert each variable once. 3247 3248 * ede/pmake.el (ede-pmake-insert-variable-once): New macro. 3249 (ede-pmake-insert-variable-shared): Use it. 3250 3251 * ede/cpp-root.el (ede-preprocessor-map): Do not deref table 3252 for lexical table iff table is nil. 3253 32542009-10-01 Glenn Morris <rgm@gnu.org> 3255 3256 * semantic/bovine/gcc.el 3257 (semantic-c-reset-preprocessor-symbol-map): Fix declaration. 3258 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. 3259 32602009-10-03 Glenn Morris <rgm@gnu.org> 3261 3262 * semantic/db-find.el (data-debug-insert-tag-list): Comment out 3263 declaration, currently false. 3264 32652009-10-01 Glenn Morris <rgm@gnu.org> 3266 3267 * cedet-files.el (cedet-directory-name-to-file-name): 3268 * cedet-idutils.el (cedet-idutils-search) 3269 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) 3270 (cedet-idutils-version-check): 3271 * cedet.el (cedet-version): 3272 * data-debug.el (data-debug-insert-overlay-button) 3273 (data-debug-insert-overlay-list-button) 3274 (data-debug-insert-buffer-button) 3275 (data-debug-insert-buffer-list-button) 3276 (data-debug-insert-process-button, data-debug-insert-ring-button) 3277 (data-debug-insert-widget, data-debug-insert-stuff-list-button) 3278 (data-debug-insert-stuff-vector-button) 3279 (data-debug-insert-symbol-button, data-debug-insert-string) 3280 (data-debug-insert-number, data-debug-insert-lambda-expression) 3281 (data-debug-insert-nil, data-debug-insert-simple-thing) 3282 (data-debug-insert-custom, data-debug-edebug-expr): 3283 * ede.el (ede-auto-add-method, ede-project-class-files) 3284 (global-ede-mode-map, ede-new, ede-debug-target) 3285 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set): 3286 * semantic.el (semantic-minimum-working-buffer-size) 3287 (semantic-fetch-tags, semantic-submode-list) 3288 (semantic-default-submodes): 3289 * ede/source.el (ede-source-match): 3290 * ede/project-am.el (project-am-type-alist, project-add-file) 3291 (project-am-package-info): 3292 * ede/proj.el (ede-proj-target, project-new-target): 3293 * ede/proj-elisp.el (ede-proj-tweak-autoconf): 3294 * ede/proj-comp.el (ede-current-build-list): 3295 * ede/makefile-edit.el (makefile-move-to-macro): 3296 * ede/files.el (ede-toplevel-project-or-nil): 3297 * ede/cpp-root.el (initialize-instance): 3298 * ede/autoconf-edit.el (autoconf-find-last-macro) 3299 (autoconf-parameter-strip, autoconf-insert-new-macro): 3300 * semantic/wisent.el (wisent-lex-eoi): 3301 * semantic/util-modes.el (global-semantic-show-parser-state-mode) 3302 (semantic-show-parser-state-mode): 3303 * semantic/texi.el (semantic-texi-environment-regexp): 3304 * semantic/tag.el (semantic-tag-new-variable) 3305 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy) 3306 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value) 3307 (semantic--tag-deep-copy-tag-list) 3308 (semantic-tag-components-with-overlays-default): 3309 * semantic/symref.el (semantic-symref-find-text): 3310 * semantic/senator.el (senator-yank-tag) 3311 (senator-transpose-tags-up): 3312 * semantic/scope.el (semantic-analyze-scoped-tags-default) 3313 (semantic-analyze-scoped-inherited-tags, semantic-scope-find): 3314 * semantic/sb.el (semantic-sb-autoexpand-length): 3315 * semantic/lex.el (semantic-lex-comment-regex) 3316 (semantic-lex-maximum-depth, define-lex, semantic-lex-token) 3317 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer): 3318 * semantic/lex-spp.el 3319 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack) 3320 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt): 3321 * semantic/idle.el 3322 (semantic-idle-summary-current-symbol-info-brutish) 3323 (semantic-idle-summary-current-symbol-info-default): 3324 * semantic/grammar.el (semantic-grammar-recreate-package) 3325 (semantic--grammar-macro-compl-dict): 3326 * semantic/grammar-wy.el (semantic-grammar-wy--parse-table): 3327 * semantic/format.el (semantic-format-tag-custom-list) 3328 (semantic-format-tag-canonical-name-default): 3329 * semantic/find.el (semantic-find-tag-by-overlay-in-region) 3330 (semantic-find-tags-for-completion) 3331 (semantic-find-tags-by-scope-protection-default) 3332 (semantic-deep-find-tags-for-completion): 3333 * semantic/edit.el 3334 (semantic-edits-incremental-reparse-failed-hook) 3335 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region) 3336 (semantic-edits-splice-remove, semantic-edits-splice-replace): 3337 * semantic/doc.el (semantic-documentation-comment-preceeding-tag): 3338 * semantic/dep.el (semantic-dependency-include-path): 3339 * semantic/db.el (semanticdb-default-find-index-class) 3340 (semanticdb-match-any-mode, semanticdb-with-match-any-mode) 3341 (semanticdb-project-roots): 3342 * semantic/db-find.el (semanticdb-implied-include-tags) 3343 (semanticdb-find-adebug-insert-scanned-tag-cons) 3344 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc) 3345 (semanticdb-brute-deep-find-tags-for-completion): 3346 * semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table): 3347 * semantic/ctxt.el (semantic-beginning-of-context-default) 3348 (semantic-end-of-context-default) 3349 (semantic-ctxt-current-function-default) 3350 (semantic-ctxt-scoped-types-default): 3351 * semantic/complete.el (semantic-complete-read-tag-engine) 3352 (semantic-complete-inline-tag-engine) 3353 (semantic-complete-inline-custom-type) 3354 (semantic-complete-read-tag-analyzer): 3355 * semantic/chart.el (semantic-chart-tags-by-class) 3356 (semantic-chart-database-size): 3357 * semantic/analyze.el (semantic-analyze-current-symbol) 3358 (semantic-analyze-current-context): 3359 * semantic/symref/list.el (semantic-symref) 3360 (semantic-symref-hide-buffer, semantic-symref-symbol): 3361 * semantic/symref/grep.el (semantic-symref-grep-use-template): 3362 * semantic/symref/filter.el (semantic-symref-hits-in-region): 3363 * semantic/bovine/el.el (semantic-elisp-form-to-doc-string): 3364 * semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map) 3365 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1) 3366 (semantic-c-dereference-template): 3367 * semantic/analyze/refs.el (semantic--analyze-refs-full-lookup) 3368 (semantic--analyze-refs-full-lookup-with-parents) 3369 (semantic--analyze-refs-full-lookup-simple): 3370 * semantic/analyze/complete.el 3371 (semantic-analyze-possible-completions): 3372 * srecode/table.el (srecode-mode-table-new): 3373 * srecode/srt.el (srecode-read-variable-name): 3374 * srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p): 3375 * srecode/semantic.el (srecode-semantic-handle-:tag) 3376 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag): 3377 * srecode/map.el (srecode-current-map): 3378 * srecode/insert.el (srecode-insert) 3379 (srecode-insert-variable-secondname-handler, srecode-insert-method) 3380 (srecode-template-inserter-point-override) 3381 (srecode-insert-include-lookup): 3382 * srecode/getset.el (srecode-auto-choose-class): 3383 * srecode/extract.el (srecode-inserter-extract): 3384 * srecode/document.el 3385 (srecode-document-autocomment-return-last-alist) 3386 (srecode-document-autocomment-param-type-alist) 3387 (srecode-document-insert-function-comment) 3388 (srecode-document-insert-variable-one-line-comment) 3389 (srecode-document-function-name-comment): 3390 * srecode/dictionary.el (srecode-create-dictionary) 3391 (srecode-compound-toString): 3392 * srecode/compile.el (srecode-flush-active-templates): 3393 * srecode/args.el (srecode-semantic-handle-:blank): 3394 Doc/message fixes. 3395 33962009-10-01 Juanma Barranquero <lekktu@gmail.com> 3397 3398 * semantic/wisent/javat-wy.el 3399 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@. 3400 34012009-09-30 Juanma Barranquero <lekktu@gmail.com> 3402 3403 * srecode/expandproto.el: Fix provide statement. 3404 34052009-09-30 Sascha Wilde <wilde@sha-bang.de> 3406 3407 * ede/srecode.el: Fix provide statement. 3408 34092009-09-30 Glenn Morris <rgm@gnu.org> 3410 3411 * ede/proj.el (ede-proj-target-makefile-miscelaneous): 3412 * ede/proj-aux.el (ede-aux-source): 3413 * ede/proj-misc.el (ede-proj-target-makefile-miscelaneous) 3414 (ede-misc-source): 3415 * semantic/mru-bookmark.el (semantic-mrub-completing-read) 3416 (semantic-mrub-switch-tags): Fix doc typos. 3417 3418 * semantic/db-global.el (data-debug-new-buffer) 3419 (data-debug-insert-thing): Remove unneeded declarations (one broken). 3420 (semanticdb-enable-gnu-global-databases): Fix prompt typo. 3421 3422 * semantic/analyze/fcn.el (semantic-scope-find): Fix declaration. 3423 3424 * semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime 3425 use of CL function `remove-if-not'. 3426 34272009-09-29 Glenn Morris <rgm@gnu.org> 3428 3429 * semantic/symref/idutils.el: 3430 * semantic/symref/list.el: Relicense under GPLv3+. 3431 3432 * ede/srecode.el (srecode-resolve-arguments): Fix declaration. 3433 3434 * semantic/complete.el (semantic-displayor-focus-abstract-child-p): 3435 * semantic/tag-file.el (semanticdb-table-child-p): 3436 * srecode/compile.el (srecode-template-inserter-newline-child-p): 3437 Mark declarations not understood by check-declare. 3438 34392009-09-28 Eric Ludlam <zappo@gnu.org> 3440 3441 CEDET (development tools) package merged. 3442 3443 * *.el: 3444 * ede/*.el: 3445 * semantic/*.el: 3446 * srecode/*.el: New files. 3447 34482009-09-28 Eric Ludlam <zappo@gnu.org> 3449 3450 * cedet-cscope.el: 3451 * cedet-files.el: 3452 * cedet-global.el: 3453 * cedet-idutils.el: 3454 * data-debug.el: 3455 * inversion.el: 3456 * mode-local.el: 3457 * pulse.el: New files. 3458 3459;; Local Variables: 3460;; coding: utf-8 3461;; End: 3462 3463 Copyright (C) 2009-2021 Free Software Foundation, Inc. 3464 3465 This file is part of GNU Emacs. 3466 3467 GNU Emacs is free software: you can redistribute it and/or modify 3468 it under the terms of the GNU General Public License as published by 3469 the Free Software Foundation, either version 3 of the License, or 3470 (at your option) any later version. 3471 3472 GNU Emacs is distributed in the hope that it will be useful, 3473 but WITHOUT ANY WARRANTY; without even the implied warranty of 3474 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3475 GNU General Public License for more details. 3476 3477 You should have received a copy of the GNU General Public License 3478 along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. 3479