mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
* configure.ac (--with-file-notification): Add kqueue.
(top): Remove special test for "${HAVE_NS}" and
${with_file_notification}, this is handled inside gfilenotify
tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
instead of library specific variables. Add error message for
gfile on Nextstep.
* doc/lispref/os.texi (File Notifications): Add kqueue as backend.
Fix some glitches in the example.
* etc/NEWS: Mention kqueue.
* lisp/filenotify.el (file-notify--library)
(file-notify-descriptors, file-notify-callback)
(file-notify-add-watch, file-notify-rm-watch)
(file-notify-valid-p): Add kqueue support.
(file-notify--rm-descriptor): Remove WHAT arg.
* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
* src/inotify.c (inotifyevent_to_event): Extract file name from
watch_object if the event doesn't provide it.
(Finotify_add_watch): Add file name to watch_object.
* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
* src/kqueue.c: New file.
* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
* test/automated/file-notify-tests.el
(file-notify--test-expected-events): Remove.
(file-notify--test-cleanup): Do not set that variable.
(file-notify--test-timeout) Use different timeouts for
different libraries.
(file-notify--test-library): New defun.
(file-notify--test-event-test): Make stronger checks.
(file-notify--test-with-events): EVENTS can also be a list of
lists. Flush outstanding events before running the body.
Make timeout heuristically depend on the number of events.
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test04-file-validity, file-notify-test05-dir-validity):
Rewrite in order to call file monitors but directory monitors.
(file-notify-test02-events, file-notify-test04-file-validity): Do
not skip cygwin tests. Add additional test for file creation.
Adapt expected result for different backends.
(file-notify-test03-autorevert): Some of the tests don't work for
w32notify.
(file-notify-test06-many-events): New test.
|
||
|---|---|---|
| .. | ||
| data | ||
| abbrev-tests.el | ||
| add-log-tests.el | ||
| advice-tests.el | ||
| auth-source-tests.el | ||
| auto-revert-tests.el | ||
| buffer-tests.el | ||
| bytecomp-tests.el | ||
| calc-tests.el | ||
| character-fold-tests.el | ||
| cl-generic-tests.el | ||
| cl-lib-tests.el | ||
| cmds-tests.el | ||
| coding-tests.el | ||
| comint-testsuite.el | ||
| compile-tests.el | ||
| completion-tests.el | ||
| core-elisp-tests.el | ||
| data-tests.el | ||
| dbus-tests.el | ||
| decoder-tests.el | ||
| descr-text-test.el | ||
| eieio-test-methodinvoke.el | ||
| eieio-test-persist.el | ||
| eieio-tests.el | ||
| electric-tests.el | ||
| elisp-mode-tests.el | ||
| epg-tests.el | ||
| ert-tests.el | ||
| ert-x-tests.el | ||
| eshell.el | ||
| f90.el | ||
| faces-tests.el | ||
| file-notify-tests.el | ||
| files.el | ||
| finalizer-tests.el | ||
| flymake-tests.el | ||
| fns-tests.el | ||
| font-parse-tests.el | ||
| generator-tests.el | ||
| gnus-tests.el | ||
| help-fns.el | ||
| icalendar-tests.el | ||
| imenu-test.el | ||
| info-xref.el | ||
| inotify-test.el | ||
| isearch-tests.el | ||
| json-tests.el | ||
| keymap-tests.el | ||
| let-alist.el | ||
| lexbind-tests.el | ||
| libxml-tests.el | ||
| Makefile.in | ||
| man-tests.el | ||
| map-tests.el | ||
| message-mode-tests.el | ||
| mule-util.el | ||
| newsticker-tests.el | ||
| obarray-tests.el | ||
| occur-tests.el | ||
| package-test.el | ||
| pcase-tests.el | ||
| print-tests.el | ||
| process-tests.el | ||
| python-tests.el | ||
| reftex-tests.el | ||
| regexp-tests.el | ||
| replace-tests.el | ||
| ruby-mode-tests.el | ||
| sasl-scram-rfc-tests.el | ||
| seq-tests.el | ||
| sgml-mode-tests.el | ||
| simple-test.el | ||
| sort-tests.el | ||
| subr-tests.el | ||
| subr-x-tests.el | ||
| subword-tests.el | ||
| syntax-tests.el | ||
| tabulated-list-test.el | ||
| textprop-tests.el | ||
| thingatpt.el | ||
| thunk-tests.el | ||
| tildify-tests.el | ||
| timer-tests.el | ||
| tramp-tests.el | ||
| undo-tests.el | ||
| url-expand-tests.el | ||
| url-future-tests.el | ||
| url-parse-tests.el | ||
| url-util-tests.el | ||
| vc-bzr.el | ||
| vc-hg.el | ||
| vc-tests.el | ||
| xml-parse-tests.el | ||
| zlib-tests.el | ||