1. 11 Jul, 2013 8 commits
    • Glenn Morris's avatar
      ChangeLog fixes · 6e0e82a0
      Glenn Morris authored
    • Glenn Morris's avatar
      Stop reimplementing a bunch of cl- functions in ert · a19b3c2d
      Glenn Morris authored
      * lisp/emacs-lisp/ert.el: Require cl-lib at runtime too.
      (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
      (ert--intersection, ert--set-difference, ert--set-difference-eq)
      (ert--union, ert--gensym-counter, ert--gensym-counter)
      (ert--coerce-to-vector, ert--remove*, ert--string-position)
      (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
      (ert-make-test-unbound, ert--expand-should-1)
      (ert--expand-should, ert--should-error-handle-error)
      (should-error, ert--explain-equal-rec)
      (ert--plist-difference-explanation, ert-select-tests)
      (ert--make-stats, ert--remove-from-list, ert--string-first-line):
      Use cl-lib functions rather than reimplementations.
      * test/automated/ert-tests.el: Require cl-lib at runtime too.
      (ert-test-special-operator-p): Use cl-gensym rather than ert-- version.
      (ert-test-remprop, ert-test-remove-if-not, ert-test-remove*)
      (ert-test-set-functions, ert-test-gensym)
      (ert-test-coerce-to-vector, ert-test-string-position)
      (ert-test-mismatch): Remove tests.
      * test/automated/cl-lib.el: New, split from ert-tests.el.
    • Glenn Morris's avatar
      Quieten ruby-mode-tests.el compilation · d2e1542a
      Glenn Morris authored
      * test/automated/ruby-mode-tests.el (ruby-deftest-move-to-block):
      Goto point-min.
      (works-on-do, zero-is-noop, ok-with-three, ok-with-minus-two)
      Replace goto-line with forward-line/goto-char.
      (ruby-move-to-block-does-not-fold-case): Remove unneeded end-of-buffer.
    • Glenn Morris's avatar
      Silence package-test.el compilation · 03d01981
      Glenn Morris authored
      * test/automated/package-test.el (makeinfo-buffer): Autoload.
      (compilation-in-progress, tar-parse-info, tar-header-name): Declare.
      (package-test-install-texinfo): Don't require makeinfo.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Silence icalendar-tests.el compilation · a550ba33
      Glenn Morris authored
      * test/automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
      Use with-current-buffer.
    • Glenn Morris's avatar
  2. 09 Jul, 2013 5 commits
  3. 08 Jul, 2013 1 commit
  4. 05 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * automated/file-notify-tests.el · 84b6d3df
      Michael Albinus authored
      (file-notify-test-remote-temporary-file-directory): Use
      `null-device' on w32.
      (file-notify--test-tmpfile, file-notify--test-tmpfile1)
      (file-notify--test-results, file-notify--test-event)
      (file-notify--deftest-remote, file-notify--event-test)
      (file-notify--test-make-temp-name): Renamed, in order to mark them
      (tramp-message-show-message, tramp-read-passwd): Tweak them for
      better fitting in noninteractive tests.
      (file-notify-test00-availability): Renamed from `file-notify-test0'.
      (file-notify-test01-add-watch): Renamed from `file-notify-test1'.
      Use `temporary-file-directory '.
      (file-notify-test01-add-watch-remote): New test.
      (file-notify-test02-events): Renamed from `file-notify-test2'.
      (file-notify-test02-events-remote): Renamed from `file-notify-test3'.
      (file-notify-test03-autorevert): Renamed from
      `file-notify-test4'.  Use timeouts.
      (file-notify-test03-autorevert-remote): Renamed from
  5. 04 Jul, 2013 1 commit
  6. 28 Jun, 2013 1 commit
    • Kenichi Handa's avatar
      decoder-tests.el (decoder-tests-gen-file): New arg FILE. · 3e3da660
      Kenichi Handa authored
      (decoder-tests-ao-gen-file): Renamed from decoder-tests-filename.
      Callers changed.
      (decoder-tests-filename): New function.
      (decoder-tests-prefer-utf-8-write): New function.
      (ert-test-decoder-prefer-utf-8): New test.
  7. 27 Jun, 2013 6 commits
  8. 26 Jun, 2013 1 commit
  9. 25 Jun, 2013 1 commit
  10. 24 Jun, 2013 1 commit
  11. 21 Jun, 2013 1 commit
    • Eduard Wiebe's avatar
      Extend flymake's warning predicate to be a function. Test suite for flymake. · c5b0993e
      Eduard Wiebe authored
      * lisp/progmodes/flymake.el (flymake-warning-predicate): New.
      (flymake-parse-line): Use it.
      (flymake-warning-re): Make obsolete alias to
      * doc/misc/flymake.texi (Parsing the output, Customizable variables):
      Add reference to `flymake-warning-predicate'.
      * test/automated/flymake-tests.el:
      * test/automated/flymake/warnpred/Makefile
      * test/automated/flymake/warnpred/test.c
      * test/automated/flymake/warnpred/test.pl: New files.
      Fixes: debbugs:14217
  12. 19 Jun, 2013 1 commit
  13. 12 Jun, 2013 2 commits
  14. 31 May, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New · 19bb8e62
      Dmitry Gutov authored
      function, checks if expression expansion is allowed in given parse
      (ruby-syntax-propertize-expansion): Use it.
      (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
      around the body.
      * test/automated/ruby-mode-tests.el: New tests, for percent literals
      and expression expansion.
  15. 29 May, 2013 1 commit
  16. 26 May, 2013 1 commit
  17. 25 May, 2013 1 commit
  18. 23 May, 2013 1 commit
  19. 19 May, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to · 1a0a0a8a
      Dmitry Gutov authored
      start at point, so that expansion starting right after opening
      slash in a regexp is recognized.
      (ruby-syntax-before-regexp-re): New defvar, extracted from
      ruby-syntax-propertize-function.  Since the value of this regexp
      is looked up at runtime now, we should be able to turn
      `ruby-syntax-methods-before-regexp' into a defcustom later.
      (ruby-syntax-propertize-function): Split regexp matching into two
      parts, for opening and closing slashes.  That allows us to skip
      over string interpolations and support multiline regexps.
      Don't call `ruby-syntax-propertize-expansions', instead use another rule
      for them, which calls `ruby-syntax-propertize-expansion'.
      (ruby-syntax-propertize-expansions): Move `remove-text-properties'
      call to `ruby-syntax-propertize-function'.
      (ruby-syntax-propertize-expansion): Extracted from
      `ruby-syntax-propertize-expansions'.  Handles one expansion.
      (ruby-syntax-propertize-heredoc): Explicitly call
      (ruby-syntax-propertize-percent-literal): Leave point right after
      the percent symbol, so that the expression expansion rule can
      propertize the contents.
      * test/automated/ruby-mode-tests.el (ruby-heredoc-highlights-interpolations)
      (ruby-interpolation-inside-percent-literal): New tests.
      * test/indent/ruby.rb: Add multiline regexp example.
  20. 08 May, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/ruby-mode.el: First cut at SMIE support. · a9e4425b
      Stefan Monnier authored
      (ruby-use-smie): New var.
      (ruby-smie-grammar): New constant.
      (ruby-smie--bosp, ruby-smie--implicit-semi-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-smie-rules): New functions.
      (ruby-mode-variables): Setup SMIE if applicable.
      * test/indent/ruby.rb: Fix indentation after =; add more cases.
  21. 05 May, 2013 1 commit
  22. 19 Apr, 2013 2 commits