aboutsummaryrefslogtreecommitdiffstats
path: root/test/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/indent/ruby.rb: Move a now-successful example.Dmitry Gutov2013-11-041-0/+1
|
* * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)Dmitry Gutov2013-11-041-0/+6
| | | | | | | | (ruby-smie--backward-token): Tokenize heredocs as semicolons. * test/automated/ruby-mode-tests.el: Remove outdated comment. * test/indent/ruby.rb: Add a statement on the line after heredoc.
* * test/automated/Makefile.in (abs_srcdir): Remove.Glenn Morris2013-11-031-0/+6
| | | | | (emacs): Unset EMACSLOADPATH. (.el.elc, check): Use -L to append srcdir to load-path.
* test/automated: Use relative filename for emacs executableGlenn Morris2013-11-021-2/+5
| | | | | | | | | | * Makefile.in (check): Depend on all. * test/automated/Makefile.in (abs_top_builddir): Remove variable. (EMACS): Use a relative file name. (lisp-compile): Remove (assume it's up-to-date). (compile-main): Do not run lisp-compile. (check): Use --chdir.
* test/automated/Makefile.in remove stuff unnecessarily copied from lispGlenn Morris2013-11-021-4/+4
| | | | | | | | | * test/automated/Makefile.in (abs_top_srcdir): Remove variable. (emacs): Use abs_srcdir rather than abs_top_srcdir. (doit, compile, compile-always): Remove stuff copied from lisp/. (all, check, bootstrap-clean, distclean, maintainer-clean): Declare PHONY. Remove comments copied from lisp/.
* * test/automated/Makefile.in (abs_srcdir): New, set by configure.Glenn Morris2013-11-021-0/+1
|
* * automated/Makefile.in (test): Remove variable.Glenn Morris2013-11-021-2/+5
| | | | | | (compile-main, compile-clean, compile-always, bootstrap-clean) (check): Use srcdir rather than $test. Check cd return value. (compile-always): Depend on bootstrap-clean.
* Minor simplifications for test/automated/MakefileGlenn Morris2013-11-021-0/+8
| | | | | | | * test/automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp): Remove variables. (emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, abs_test. (lisp-compile): Use ../../lisp rather than $lisp.
* * automated/ert-tests.el (ert-test-stats-set-test-and-result):Michael Albinus2013-10-311-0/+5
| | | | Add a skipping test.
* * src/eval.c (run_hook_with_args): Use FUNCTIONP.Stefan Monnier2013-10-291-4/+10
| | | | | * test/indent/css-mode.css (.x2): Test alignement inside braces. * test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
* * test/indent/ruby.rb: New failing example.Dmitry Gutov2013-10-261-0/+2
|
* * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be moreDmitry Gutov2013-10-261-0/+5
| | | | | | | | | specific in what the first arg can be: a non-keyword word, string/regexp/percent literal opener, opening paren, or unary operator followed directly by word. * test/automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix the test, in respect to adding the space after the curly.
* * automated/ert-tests.el (ert-test-skip-unless): New test case.Michael Albinus2013-10-241-0/+19
| | | | | | | | | | | | | | | | | | (ert-test-deftest): Adapt test for changed macro expansion. (ert-test-run-tests-interactively): * automated/ert-x-tests.el (ert-test-run-tests-interactively-2): Add a skipping test. * automated/file-notify-tests.el (top): Do not require tramp-sh.el. (file-notify--test-local-enabled): Make it a function. Check also for `file-remote-p' of `temporary-file-directory'. (file-notify--test-remote-enabled-checked): New defvar. (file-notify--test-remote-enabled): Rewrite. Do not use Tramp internal functions. Cache result. (file-notify--deftest-remote, file-notify-test00-availability) (file-notify-test01-add-watch, file-notify-test02-events) (file-notify-test03-autorevert): Add checks with `skip_unless'. (file-notify-test-all): Do not check `file-notify--test-local-enabled'.
* * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly blockDmitry Gutov2013-10-241-0/+4
| | | | | | | with parameters" example. Simplify the "is it block or is it hash" check, but also make it more thorough. * test/indent/ruby.rb: Fix syntax error in the latest example.
* Make building in directories with whitespace possibleGlenn Morris2013-10-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make has trouble with targets containing whitespace, http://savannah.gnu.org/bugs/?712, so the general approach is to use relative paths where possible. It's generally only Emacs itself that needs absolute paths, eg in src/epaths.h. * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists. * Makefile.in (abs_srcdir): New, set by configure. (buildlisppath): Use abs_srcdir. (install-arch-indep, install-etcdoc, install-info, install-man) (install-etc): Quote entities that might contain whitespace. * admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el): Quote entities that might contain whitespace. * leim/Makefile.in (abs_srcdir): New, set by configure. (buildlisppath): Use abs_srcdir. (RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el) ($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare): Quote entities that might contain whitespace. * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Quote entities that might contain whitespace. * lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure. (emacs, compile, compile-always): Quote entities that might contain whitespace. (custom-deps, finder-data, autoloads): Use abs_lisp. ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name. * nextstep/Makefile.in (${ns_check_file} ${ns_appdir}): Quote entities that might contain whitespace. * nt/Makefile.in ($(DESTDIR)${archlibdir}): Quote entities that might contain whitespace. * src/Makefile.in (RUN_TEMACS): Make relative (again). ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el) (bootstrap-emacs$(EXEEXT)): Quote entities that might contain whitespace. * test/automated/Makefile.in (abs_top_srcdir, top_builddir): New, set by configure. (top_srcdir): Remove. (abs_test, abs_lispsrc): New. (lisp): No longer absolute. (emacs, lisp-compile, compile, compile-always): Quote entities that might contain whitespace. Fixes: debbugs:15675
* * test/indent/ruby.rb: Move two examples to "working" section, add oneDmitry Gutov2013-10-231-0/+5
| | | | more.
* * lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding forDmitry Gutov2013-10-211-0/+5
| | | | | | | | | | | | `smie-down-list'. (ruby-smie--args-separator-p): Check that there's no newline between method call and its arguments. (ruby-smie-rules): Handle new cases: curly block with and without parameters, hash surrounded with parens, block passed to paren-less method call. * test/indent/ruby.rb: New examples for indentation of blocks. Example of hash inside parens that inflooped before this commit.
* Don't run timers in input-pending-p. Its new check-timers paramBarry O'Reilly2013-10-181-0/+5
| | | | | | | | | | | | provides the prior behavior.. * src/keyboard.c (Finput_pending_p): Accept optional check-timers param. * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave as before. * test/automated/timer-tests.el: New file. Tests that (sit-for 0) allows another timer to run. Fixes: debbugs:15045
* Space after comma in ChangeLogs.Paul Eggert2013-10-141-4/+4
|
* * lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): HandleDmitry Gutov2013-10-141-0/+5
| | | | | | | methods ending with `?' and `!'. * test/indent/ruby.rb: More examples for bug#15594, both failing and now passing.
* ChangeLog fixes prompted by M-x authorsGlenn Morris2013-10-121-2/+2
|
* * test/indent/ruby.rb: Add two more cases.Dmitry Gutov2013-10-111-0/+4
|
* * test/automated/ruby-mode-tests.el (ruby-with-temp-buffer): Move beforeStefan Monnier2013-10-101-0/+7
| | | | | | first use. (ruby-should-indent): Use indent-according-to-mode. (ruby-deftest-move-to-block): Use `declare'.
* * lisp/menu-bar.el (tty-menu-navigation-map): Reduce redundancy.Stefan Monnier2013-10-091-0/+4
|
* * test/indent/ruby.rb: Fix a spurious change, add more failing examples.Dmitry Gutov2013-10-071-0/+4
|
* * test/automated/ruby-mode-tests.el: Add tests for `ruby-forward-sexp'Dmitry Gutov2013-10-061-0/+3
| | | | | | and `ruby-backward-sexp' that fail when `ruby-use-smie' is t. * test/indent/ruby.rb: Two more failing examples.
* * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'Dmitry Gutov2013-10-061-0/+4
| | | | | | keyword, too. * test/indent/ruby.rb: Fix a syntax error, add a few failing examples.
* Get Ruby's SMIE code to pass the test suite.Stefan Monnier2013-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-use-smie): Change default. (ruby-comment-column): Follow the global default, by default. (ruby-smie-grammar): Add assignment syntax. (ruby-smie--implicit-semi-p): No implicit semi-colon after an open-paren, a comma, or a \. (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs, and line continuations. (ruby-smie-rules): Adjust handling of open-paren, now that it's never followed by implicit semi-colons. Add rule for string concatenation and for indentation at BOB. (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use. * lisp/emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before calling next-sexp, since next-token may have skipped chars which next-sexp doesn't know should be skipped! * test/indent/ruby.rb: Port a few cases from automated/ruby-mode-tests.el. Adjust indentation of continued line to the new SMIE behavior.
* * lisp/textmodes/css-mode.el (css-smie-rules): Toplevel's a list.Stefan Monnier2013-10-041-0/+5
| | | | | | | * test/automated/completion-tests.el: * test/indent/css-mode.css: New files. Fixes: debbugs:15467
* Add support for package signature checking.Daiki Ueno2013-10-031-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (url-http-file-exists-p) (epg-make-context, epg-context-set-home-directory) (epg-verify-string, epg-context-result-for) (epg-signature-status, epg-signature-to-string) (epg-check-configuration, epg-configuration) (epg-import-keys-from-file): Declare. (package-check-signature): New user option. (package-unsigned-archives): New user option. (package-desc): Add `signed' field. (package-load-descriptor): Set `signed' field if .signed file exists. (package--archive-file-exists-p): New function. (package--check-signature): New function. (package-install-from-archive): Check package signature. (package--download-one-archive): Check archive signature. (package-delete): Remove .signed file. (package-import-keyring): New command. (package-refresh-contents): Import default keyring. (package-desc-status): Add "unsigned" status. (describe-package-1, package-menu--print-info) (package-menu-mark-delete, package-menu--find-upgrades) (package-menu--status-predicate): Support "unsigned" status. * test/automated/data/package/signed/archive-contents: * test/automated/data/package/signed/archive-contents.sig: * test/automated/data/package/signed/signed-good-1.0.el: * test/automated/data/package/signed/signed-good-1.0.el.sig: * test/automated/data/package/signed/signed-bad-1.0.el: * test/automated/data/package/signed/signed-bad-1.0.el.sig: * test/automated/data/package/key.pub: * test/automated/data/package/key.sec: New files. * test/automated/package-test.el (package-test-update-listing) (package-test-update-archives, package-test-describe-package): Adjust to package.el change. (package-test-signed): New test.
* * lisp/emacs-lisp/package.el (package-buffer-info, describe-package-1):Dmitry Gutov2013-10-011-0/+8
| | | | | | | | | | | Use :url instead of :homepage, as per http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html * test/automated/package-test.el: Update all cases to use :url instead of :homepage. * test/automated/package-x-test.el (package-x-test--single-archive-entry-1-3): Same.
* * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): PassDmitry Gutov2013-09-291-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `extras' slot from `package-desc' to `package-make-ac-desc'. * lisp/emacs-lisp/package.el (package-desc-from-define): Accept additional arguments as plist, convert it to an alist and store it in the `extras' slot. (package-generate-description-file): Convert extras alist back to plist and append to the `define-package' form arguments. (package--alist-to-plist): New function. (package--ac-desc): Add `extras' slot. (package--add-to-archive-contents): Check if the archive-contents vector is long enough, and if it is, pass its `extras' slot value to `package-desc-create'. (package-buffer-info): Call `lm-homepage', pass the returned value to `package-desc-from-define'. (describe-package-1): Render the homepage button. * test/automated/package-test.el (simple-single-desc-1-4): Remove, it was unused. (simple-single-desc): Expect :homepage property. (multi-file-desc): Same. (with-package-test): Do not save previous `default-directory' value, let-bind the var instead. (package-test-install-single): Expect :homepage property in the generated pkg file. (package-test-describe-package): Expect Homepage button. (package-test-describe-non-installed-package) (package-test-describe-non-installed-multi-file-package): Same. (package-test-describe-not-installed-package): Remove, it was a duplicate. * test/automated/package-x-test.el (package-x-test--single-archive-entry-1-3): Expect :homepage property. (package-x-test--single-archive-entry-1-4): Expect nil extras slot. * test/automated/data/package/archive-contents: Add :homepage properties to `simple-single' and `multi-file'. * test/automated/data/package/simple-single-1.3.el: Add URL header. Fixes: debbugs:13291
* Add set operations for bool-vector.Daniel Colascione2013-09-221-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00404.html * data.c (Qbool_vector_p): New symbol. (bool_vector_spare_mask,popcount_size_t_generic) (popcount_size_t_msc,popcount_size_t_gcc) (popcount_size_t) (bool_vector_binop_driver) (count_trailing_zero_bits,size_t_to_host_endian) (Fbool_vector_exclusive_or) (Fbool_vector_union) (Fbool_vector_intersection,Fbool_vector_set_difference) (Fbool_vector_subsetp,Fbool_vector_not) (Fbool_vector_count_matches) (Fbool_vector_count_matches_at): New functions. (syms_of_data): Intern new symbol, functions. * alloc.c (bool_vector_payload_bytes): New function. (Fmake_bool_vector): Instead of calling Fmake_vector, which performs redundant initialization and argument checking, just call allocate_vector ourselves. Make sure we clear any terminating padding to zero. (vector_nbytes,sweep_vectors): Use bool_vector_payload_bytes instead of open-coding the size calculation. (vroundup_ct): New macro. (vroundup): Assume argument >= 0; invoke vroundup_ct. * casetab.c (shuffle,set_identity): Change lint_assume to assume. * composite.c (composition_gstring_put_cache): Change lint_assume to assume. * conf_post.h (assume): New macro. (lint_assume): Remove. * dispnew.c (update_frame_1): Change lint_assume to assume. * ftfont.c (ftfont_shape_by_flt): Change lint_assume to assume. * image.c (gif_load): Change lint_assume to assume. * lisp.h (eassert_and_assume): New macro. (Qbool_vector_p): Declare. (CHECK_BOOL_VECTOR,ROUNDUP,BITS_PER_SIZE_T): New macros. (swap16,swap32,swap64): New inline functions. * macfont.c (macfont_shape): Change lint_assume to assume. * ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout. * xsettings.c (parse_settings): Use new swap16 and swap32 from lisp.h instead of file-specific macros.
* * lisp/subr.el (internal--call-interactively): New const.Ryan2013-09-201-0/+6
| | | | | | | | | (called-interactively-p): Use it. * test/automated/advice-tests.el (advice-test-called-interactively-p-around) (advice-test-called-interactively-p-filter-args) (advice-test-called-interactively-p-around): New tests. Fixes: debbugs:3984
* * test/automated/eshell.el (eshell-match-result):Glenn Morris2013-09-161-0/+3
| | | | Return a more informative failure than simply "false". Update callers.
* * test/automated/eshell.el (eshell-test/for-name-shadow-loop):Glenn Morris2013-09-161-0/+5
| | | | Test value before and after loop as well as during.
* * lisp/eshell/esh-cmd.el (eshell--local-vars): New variable. Glenn Morris2013-09-141-0/+6
| | | | | | | | | | | | (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars. * lisp/eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars. * test/automated/eshell.el (eshell-test/for-name-shadow-loop): New test. (eshell-test/for-loop, eshell-test/for-name-loop): Doc fix. Fixes: debbugs:15372
* * test/automated/eshell.el (eshell-test/for-loop, eshell-test/for-name-loop):Glenn Morris2013-09-131-0/+2
| | | | Ensure environment variables don't confuse us.
* * test/automated/eshell.el (eshell-test-command-result): New,Glenn Morris2013-09-131-0/+2
| | | | | again using a temp directory. Replace eshell-command-result with this throughout.
* * test/automated/eshell.el (with-temp-eshell): Use a temp directoryGlenn Morris2013-09-121-0/+5
| | | | | | for eshell-directory-name. It seems we don't have permission to write to HOME on hydra.
* ChangeLog typo fixGlenn Morris2013-09-121-1/+1
|
* * test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch modeGlenn Morris2013-09-121-0/+5
| | | | due to "has a running proces; kill it?" prompts.
* * lisp/eshell/*.el: Use lexical-binding.Stefan Monnier2013-09-121-10/+15
| | | | | | | * test/automated/eshell.el: Move from test/eshell.el. (eshell-test/for-loop, eshell-test/for-name-loop): New tests. Fixes: debbugs:15231
* Tweak to Makefile rules that list *.el filesGlenn Morris2013-08-311-0/+6
| | | | | | | | | * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): * test/automated/Makefile.in (setwins): Avoid leading space in $wins. Otherwise the sed command used by eg compile-main ends up containing "/*.el". Fixes: debbugs:15170
* * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,Paul Eggert2013-08-271-0/+5
| | | | for portability to hosts where /bin/sh has problems.
* Imported EIEIO test suite from CEDET upstreamDavid Engster2013-08-211-0/+6
| | | | | | * automated/eieio-tests.el, automated/eieio-test-persist.el: * automated/eieio-test-methodinvoke.el: EIEIO tests from CEDET upstream. Changed to use ERT.
* * package-test.el: Remove tar-package-building functions. Tar fileDaniel Hackney2013-08-131-0/+7
| | | | | used for testing is included in the repository. (package-test-install-texinfo, package-test-cleanup-built-files): Remove.
* * lisp/progmodes/python.el (python-imenu--build-tree)Fabián Ezequiel Gallina2013-08-131-0/+5
| | | | | | | (python-imenu--put-parent): Simplify and Fix (GH bug 146). * test/automated/python-tests.el (python-imenu-create-index-4) (python-imenu-create-flat-index-2): New tests.
* Extract truncate-string-to-width tests to a separate fileGlenn Morris2013-08-041-0/+5
| | | | | | | | | | * test/automated/mule-util.el: New file, with tests extracted from lisp/international/mule-util.el. Copyright years based on when the original test-suite comment was added to lisp/international/mule-util.el (in 2002). * lisp/international/mule-util.el: Extract comment test-suite out to separate file.
* * lisp/subr.el (macrop): New function.Stefan Monnier2013-08-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (text-clone--maintaining): New var. (text-clone--maintain): Rename from text-clone-maintain. Use it instead of inhibit-modification-hooks. * lisp/emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use a proxy, so as handle autoloads and redefinitions of the target. (advice--defalias-fset, advice-remove): Use advice--symbol-function. * lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates): Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'. (pcase--mutually-exclusive-p): New function. (pcase--split-consp): Use it. (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat mutually exclusive with the current predicate. * test/automated/advice-tests.el (advice-tests-nadvice): Test removal before definition. (advice-tests-macroaliases): New test. * lisp/emacs-lisp/edebug.el (edebug-lookup-function): Remove function. (edebug-macrop): Remove. Use `macrop' instead. * lisp/emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead. (ad-macro-p): * lisp/eshell/esh-cmd.el (eshell-macrop): * lisp/apropos.el (apropos-macrop): Remove. Use `macrop' instead.