1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
emacs/src
Michael Albinus 0247489fed Rework file notifications, kqueue has problems with directory monitors
* lisp/filenotify.el (file-notify-add-watch): Call the native
add-watch function on the file, not on the dir.

* src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
about already deleted entries.

* test/automated/auto-revert-tests.el
(auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
since this deletes the target file first.

* test/automated/file-notify-tests.el (file-notify--test-event-test):
Make stronger checks.
(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-test06-many-events): Ler rename work in both directions.
2015-11-25 15:07:12 +01:00
..
bitmaps
.dbxinit
.gdbinit .gdbinit followup to changes in !USE_LSB_TAG 2015-06-29 18:57:25 +03:00
alloc.c Spelling fixes 2015-11-10 10:23:00 -08:00
atimer.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
atimer.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bidi.c Fix display of characters adjacent to ZWJ and ZWNJ 2015-10-06 19:08:21 +03:00
blockinput.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
buffer.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
buffer.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
bytecode.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
callint.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
callproc.c New lispref section “Security Considerations” 2015-10-21 20:26:49 -07:00
casefiddle.c Support rectangular regions for more commands 2015-11-14 01:28:03 +02:00
casetab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ccl.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
ccl.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ChangeLog.1 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.2 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.3 Spelling fixes 2015-10-21 20:26:49 -07:00
ChangeLog.4 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.5 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.6 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.7 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.8 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.9 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.10 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.11 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.12 Spelling fixes 2015-06-30 19:47:29 -07:00
ChangeLog.13 Don't call do_pending_window_change in signal handlers (Bug#21380) 2015-08-31 11:09:22 +02:00
character.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
character.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
charset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
charset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
chartab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
cmds.c ; Merge branch 'fix/no-undo-boundary-on-secondary-buffer-change' 2015-11-12 22:01:22 +00:00
coding.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
coding.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
commands.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
composite.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
composite.h Compute C decls for DEFSYMs automatically 2015-01-05 10:14:58 -08:00
conf_post.h Fix --enable-gcc-warnings problem with older GCC 2015-10-10 11:57:36 -07:00
COPYING
cygw32.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cygw32.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
data.c Move INTEGER_TO_CONS body out of .h file 2015-11-10 12:52:26 -08:00
dbusbind.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
decompress.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
deps.mk Replace AC_SUBST_FILE in configure with include in Makefiles. 2015-05-15 20:51:45 -04:00
dired.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
dispextern.h Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
dispnew.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
disptab.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
doc.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
doprnt.c Avoid non-ASCII decoding errors in C src files 2015-09-25 20:29:27 +03:00
dosfns.c Compute C decls for DEFSYMs automatically 2015-01-05 10:14:58 -08:00
dosfns.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
editfns.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
emacs-icon.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs.c Add kqueue support 2015-11-25 15:07:10 +01:00
emacsgtkfixed.c Revert changes installed by xwidgets merge 2015-02-01 11:45:15 -08:00
emacsgtkfixed.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
epaths.in Update copyright year to 2015 2015-01-01 14:26:41 -08:00
eval.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
fileio.c Don't require default-directory to end with a slash 2015-10-29 03:01:45 +02:00
filelock.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
firstfile.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
floatfns.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
fns.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
font.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
font.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
frame.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
frame.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fringe.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftcrfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftfont.c Spruce up ftfont.c memory allocation 2015-11-13 12:04:15 -08:00
ftfont.h Add cairo drawing. 2015-02-11 16:14:35 +01:00
ftxfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
getpagesize.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gfilenotify.c Fix a stupid error in gfilenotify.c. 2015-11-03 18:17:53 +01:00
gmalloc.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gnutls.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
gnutls.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
gtkutil.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
gtkutil.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
image.c Use color cache for creating bitmap 2015-11-12 03:58:08 -05:00
indent.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
indent.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
inotify.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
insdel.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keyboard.c Work on kqueue 2015-11-25 15:07:10 +01:00
keyboard.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keymap.c Fix assertion violation in define-key 2015-11-09 20:31:45 +02:00
keymap.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
kqueue.c Rework file notifications, kqueue has problems with directory monitors 2015-11-25 15:07:12 +01:00
lastfile.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lisp.h Add kqueue support 2015-11-25 15:07:10 +01:00
lread.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
macfont.h Use Core Text types/functions/variables/enumerators directly 2015-08-29 17:03:55 +09:00
macfont.m * src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars. 2015-10-05 09:16:21 +09:00
macros.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
macros.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
macuvs.h
Makefile.in Add kqueue support 2015-11-25 15:07:10 +01:00
marker.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
menu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
menu.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
minibuf.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
msdos.c Use bool, not int, to track face changes 2015-01-28 11:15:23 -08:00
msdos.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
nsfns.m Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame. 2015-10-28 12:06:39 +01:00
nsfont.m Fix quoting in ‘message_with_string’ 2015-08-26 13:12:26 -07:00
nsgui.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
nsimage.m Render fringe bitmaps correctly on NextStep (bug#21301). 2015-11-04 06:50:19 +01:00
nsmenu.m Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame. 2015-10-28 12:06:39 +01:00
nsselect.m Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
nsterm.h Spelling fixes 2015-11-10 10:23:00 -08:00
nsterm.m Avoid creating notification objects when possible 2015-11-10 15:53:20 -05:00
print.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
process.c * src/process.c (Fget_buffer_process): Improve docstring 2015-10-28 11:07:41 +00:00
process.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
profiler.c Fix some int overflows in profiler.c 2015-07-31 10:13:36 -07:00
puresize.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ralloc.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
README Prefer straight quoting in some text files 2015-09-11 11:05:12 -07:00
regex.c Fix some minor quoting issues with grave accent 2015-08-09 16:23:06 -07:00
regex.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
region-cache.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
region-cache.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
scroll.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
search.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sheap.c Further include-file cleanup 2015-10-21 18:08:36 -04:00
sound.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
syntax.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
syntax.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
sysdep.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sysselect.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syssignal.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
sysstdio.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
systime.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
systty.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syswait.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
term.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
termcap.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
termchar.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
termhooks.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
terminal.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
terminfo.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
termopts.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
textprop.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
tparam.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
tparam.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
undo.c * src/undo.c (run_undoable_change): Now static. 2015-11-13 08:44:34 -08:00
unexaix.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unexcoff.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unexcw.c Further include-file cleanup 2015-10-21 18:08:36 -04:00
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614). 2015-11-08 10:01:00 -08:00
unexhp9k800.c Consistently use min and max macros from lisp.h. 2014-10-03 08:35:10 +04:00
unexmacosx.c Avoid grave accent quoting in stderr diagnostics 2015-05-31 23:53:45 -07:00
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vm-limit.c Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
w16select.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
w32.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32.h Make file-accessible-directory-p reliable on MS-Windows 2015-08-31 17:48:26 +03:00
w32common.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
w32console.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32fns.c Remove support for ':timeout' from w32 tray notifications 2015-11-13 15:33:29 +02:00
w32font.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32font.h Teach MS-Windows font back-end return per-glyph ascent/descent 2015-05-26 18:29:40 +03:00
w32gui.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
w32heap.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32heap.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
w32inevt.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32inevt.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
w32menu.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32notify.c * src/w32notify.c (Fw32notify_add_watch): Fix version check. 2015-10-25 00:00:26 +02:00
w32proc.c Fix a typo in a macro name 2015-10-30 23:17:48 +02:00
w32reg.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32select.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32select.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
w32term.c Handle negative coordinates in ‘x_calc_absolute_position’ 2015-10-29 08:46:43 +01:00
w32term.h Avoid compiler warning in image.c on MS-Windows 2015-05-23 22:19:08 +03:00
w32uniscribe.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
w32xfns.c Include file cleanup for w32 files in src directory 2015-10-22 19:52:18 +03:00
widget.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
widget.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
widgetprv.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
window.c Spelling fixes 2015-11-10 10:23:00 -08:00
window.h Ensure redisplay after evaluation 2015-11-06 21:21:52 +02:00
xdisp.c Speed up lookup in redisplay--variables 2015-11-07 15:32:45 +02:00
xfaces.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xfns.c Port recent XCB changes to 64-bit ‘long int’ 2015-11-13 09:30:00 -08:00
xfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xftfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xmenu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xml.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xrdb.c Prefer xpalloc to doubling buffers by hand 2015-11-07 23:52:57 -08:00
xselect.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
xsettings.c Fix DPI calculation when Xft/DPI is default 2015-08-09 23:23:38 -07:00
xsettings.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
xsmfns.c Use INT_ADD_WRAPV etc. to check integer overflow 2015-11-08 22:48:28 -08:00
xterm.c Port recent XCB changes to 64-bit ‘long int’ 2015-11-13 09:30:00 -08:00
xterm.h Detect XCB and save a connection handle 2015-11-12 03:58:09 -05:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2015 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.