(matlab--scan-block-backward-up-until): New
matlab.el:
(matlab-find-unreachable-code): Delete
(matlab-file-basic-font-lock-keywords): No more unreachable code.
(matlab-forward-sexp): Remove INCLUDEELSE input.
Remove usage from everywhere else.
(matlab-beginning-of-enclosing-defun): DELETE.
(matlab-beginning-of-defun, matlab-end-of-defun):
Use new block scanner for impl.
(matlab-calculate-indentation-1): Use new block scanner
for finding defun.
(matlab-hideshow-*): Deleted - it was never finished.
matlab-semantic.el:
Update to new matlab-forward-sexp inputs.
(semantic-matlab-dependency-system-include-path):
Fix logic computing the include path to use root dir, but not
put things on the path that don't exist.
semanticdb-matlab.el:
require matlab-shell.
(semanticdb-matlab-cache-files):
Stop using old style classes fcn.
(matlab-set-keymap-parent): New shim fcn.
(matlab-find-executible-directory): New fcn.
matlab-shell.el:
Use matlab-compat.el.
Always require comint, as this file won't load unless someone
is trying to create a shell.
(matlab-shell-font-lock-keywords): Refresh
to highlight startup text again.
(matlab-mode-determine-matlabroot): New.
(matlab-mode-install-path): Use above.
(matlab-mode-determine-mfile-path): Delete.
(matlab-shell-mode-map): Create during declaration,
including the menus.
(matlab-shell-mode): Don't make menu (see above)
(matlab-shell): Don't make keymap (see above)
semantic-matlab.el:
(semantic-matlab-root-directory): delete
(semantic-matlab-root-directory): Use
matlab-mode-determine-matlabroot instead of above.
New fcns needed by matlab-shell.el
(matlab-semantic-get-local-functions-for-script):
New. Returns fcns from a buffer. Works if semantic isn't enabled.
(matlab-semantic-tag-text): get text part of input TAG.
(semantic-default-matlab-setup): Add 'type tag class to list
of misc things, since we support them now.
matlab-shell.el:
(matlab-shell-extract-region-to-tmp-file): Use new fcns above.
Fix compiler warnings.
(semantic-matlab-parse-oldstyle-class)
(semantic-matlab-find-oldstyle-classes): Comment out.
Need to delete later.
(semantic-matlab-parse-region): Stop using above.
Move large chunks of matlab.el to matlab-complete.el,
matlab-shell.el, and matlab-topic.el.
Update existing .el files to require new files as needed.
Update Makefiles to no longer have Makefile check.
matlab.el: Settings updates:
(matlab-mode-version): Update to 4.0 (based on expectations of this change.)
(matlab-functions-have-end): set to t. Fix doc.
(matlab-functions-have-end-p): If guess, then guess, otherwise
base it on matlab-functions-have-end.
(matlab-fill-code): set to nil.
(matlab-keyword-list, matlab-block-end-pre-if): remove endfunction
(matlab-calculate-indentation): remove matlab-ltype-endfunction-comm.
matlab.el: code moving
(matlab-frame-init): moved earlier near keymaps.
(semantic-matlab-find-oldstyle-classes): New functions.
(semantic-matlab-parse-region): Cache files. Use new functions for
parsing classes.
(semantic-matlab-type-hint-string): New variable.
(semantic-matlab-parse-assignments): New function.
(semantic-get-local-variables): New override.
(semantic-ia-insert-tag): Deal with method completions.
(semantic-ctxt-current-symbol)
(semantic-ctxt-current-symbol-and-bounds): New overrides.
(semantic-idle-summary-format-matlab-mode): New function, also
displays doc-string.
(semantic-ia-insert-tag): Use it.
(semantic-default-matlab-setup): Bind `semantic-idle-summary-function'.
(semantic-matlab-function-tags): Better parsing of doc strings.
Return flag for builtin functions.
(semantic-matlab-sort-raw-tags): Include new :builtin attribute.
(semanticdb-matlab): Conditional load.
(semeantic-matlb-root-directory): New variable
(semantic-matlab-match-function-re): Support _
(semantic-matlab-function-tags): Support loading doc strings.
(semantic-matlab-sort-raw-tags): Support doc strings.
(semantic-matlab-dependency-system-include-path)
(semantic-matlab-display-docstring): New variables
(semantic-ia-insert-tag): New overload function.