1. 27 Oct, 2013 1 commit
  2. 26 Oct, 2013 2 commits
  3. 24 Oct, 2013 2 commits
    • Michael Albinus's avatar
      * automated/ert-tests.el (ert-test-skip-unless): New test case. · 4ddbf128
      Michael Albinus authored
      (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'.
      4ddbf128
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block · 369bbf71
      Dmitry Gutov authored
      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.
      369bbf71
  4. 23 Oct, 2013 2 commits
    • Stefan Monnier's avatar
      03d44565
    • Glenn Morris's avatar
      Make building in directories with whitespace possible · b8e3b0a9
      Glenn Morris authored
      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
      b8e3b0a9
  5. 22 Oct, 2013 1 commit
  6. 21 Oct, 2013 5 commits
  7. 18 Oct, 2013 2 commits
  8. 17 Oct, 2013 1 commit
  9. 15 Oct, 2013 2 commits
  10. 14 Oct, 2013 1 commit
  11. 13 Oct, 2013 1 commit
  12. 12 Oct, 2013 1 commit
  13. 11 Oct, 2013 2 commits
  14. 10 Oct, 2013 2 commits
  15. 09 Oct, 2013 1 commit
  16. 07 Oct, 2013 4 commits
  17. 06 Oct, 2013 3 commits
  18. 05 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      Get Ruby's SMIE code to pass the test suite. · 34d1a133
      Stefan Monnier authored
      * 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.
      34d1a133
  19. 04 Oct, 2013 1 commit
  20. 03 Oct, 2013 1 commit
    • Daiki Ueno's avatar
      Add support for package signature checking. · acbadd00
      Daiki Ueno authored
      * 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.
      acbadd00
  21. 01 Oct, 2013 1 commit
  22. 29 Sep, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Pass · 056453c6
      Dmitry Gutov authored
      `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
      056453c6
  23. 22 Sep, 2013 1 commit
    • Daniel Colascione's avatar
      Add set operations for bool-vector. · 3e0b94e7
      Daniel Colascione authored
      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.
      3e0b94e7
  24. 20 Sep, 2013 1 commit
    • Ryan's avatar
      * lisp/subr.el (internal--call-interactively): New const. · 31dca772
      Ryan authored
      (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
      31dca772