summaryrefslogtreecommitdiff
path: root/python3
Commit message (Collapse)AuthorAgeFilesLines
* Sync whitespace / comments between Python 2 and 3 versionsDaniel Hahler2015-06-041-4/+7
|
* Bump version0.9.6Sebastien Martini2015-06-041-1/+1
|
* Fix doc indentSebastien Martini2015-06-041-4/+4
|
* Improve documentationSebastien Martini2015-06-041-7/+10
| | | | Close #101
* Only close a valid file descriptorSebastien Martini2015-06-041-2/+5
| | | | | | Idea contributed by @blueyed Close #93
* Access /proc/sys instead of using sysctl to access inotify's attributesSebastien Martini2015-06-041-61/+21
| | | | Close #84 #99
* Release Pyinotify 0.9.50.9.5Sebastien Martini2015-01-091-2/+2
|
* Implement stop method in AsyncioNotifierSebastien Martini2014-12-221-0/+4
|
* Remove extra lines, fix indentsSebastien Martini2014-12-221-6/+3
|
* Merge pull request #88 from apenwarr/masterSébastien Martini2014-12-221-0/+5
|\ | | | | Allow TornadoAsyncNotifier.stop() to clean up all hanging refs.
| * Allow TornadoAsyncNotifier.stop() to clean up all hanging refs.Avery Pennarun2014-11-261-0/+5
| | | | | | | | | | Without this, the TornadoAsyncNotifier and thus WatchManager instances are never freed, because tornado is still holding a refernce to the handler.
* | doc updatedano2014-10-161-0/+2
| |
* | Add asyncio exampledano2014-10-161-0/+20
| |
* | Add asyncio Notifier adapterdano2014-10-161-0/+31
|/
* Fix ExcludeFilter docstring examples.Sebastien Martini2014-08-161-4/+4
| | | | Closes #81
* Stub support for Pyinotify on FreeBSD.Sebastien Martini2014-07-061-1/+6
| | | | | | | I don't have any FreeBSD system, so test it and report any issue with this code. Closes #64
* Add WatchManager attribute to ignore events.Sebastien Martini2014-07-061-0/+13
| | | | | | | | | | A new boolean attribute ignore_events (False by default) can be set to True in order to ignore reported events. Note that Watch descriptors are still valid and events are still received but there are ignored and not processed. Processing is resumed by re-assigning False to this attribute. Closes #44
* Fix /proc inotify interfaces.Sebastien Martini2014-07-061-12/+20
| | | | | | | | | | There was a bug preventing the variables to be assigned a new value. The operations accessing (get and set) these interfaces now return an OSError exception on failure. Closes #73
* Handle OSError exception in process_IN_CREATE.Sebastien Martini2014-07-051-17/+22
| | | | close #76
* add glob option to command lineDaniel Black2013-12-231-1/+4
|
* Released Pyinotify 0.9.40.9.4Sebastien Martini2012-11-151-1/+1
|
* Typos.Sebastien Martini2012-10-041-2/+1
|
* Improved Tornado's notifier.Sebastien Martini2012-10-041-5/+17
|
* Ported TornadoAsyncNotifier to Python3.Sebastien Martini2012-10-041-0/+27
| | | | | Assuming Tornado works the same way under Python3... I must say I don't use Tornado myself I didn't test it.
* Add support for IN_EXCL_UNLINK flag (Python 3 branch).Sebastien Martini2012-08-301-0/+5
|
* Don't check for existing watch when setting up watchesSebastien Martini2012-06-071-5/+0
| | | | | | | | | | This check had prohibitive cost and was useless to some extent because adding a watch for an already watched path will result in assigning the same watch descriptor therefore only updating it. There won't be any dangling watch descriptor left into the watch manager dictionary. Issue reported by Jan Knudsen https://github.com/Shne
* Fixed runtime warnings in inotify ctypes' wrapper.Sebastien Martini2012-04-141-0/+8
| | | | Contributed by bdkearns https://github.com/bdkearns
* Documented ExcludeFilter shortcomings.Sebastien Martini2012-03-201-0/+4
|
* auto_add=True automatically implies oring IN_CREATE with theSebastien Martini2012-03-111-2/+7
| | | | | provided mask value. Misbehavior reported by Maxime Augier https://github.com/maugier.
* Bumped version number, released Pyinotify 0.9.3.0.9.3Sebastien Martini2011-12-201-1/+1
|
* Added new command line option --command.Sebastien Martini2011-12-021-0/+10
| | | | | | This new command permits to run a shell command on each event. Idea and initial patch contributed by Domen Kožar @iElectric domen@dev.si.
* Improve comment.Sebastien Martini2011-12-021-3/+3
|
* Correctly handle IN_Q_OVERFLOW events.Sebastien Martini2011-12-021-4/+4
| | | | | | | This commit should fix a regression introduced with commit d334049eed6b1136a9d224a3ca17aa66fea5215a. Issue reported by Tomi Belan @TomiBelan.
* Fixed error message (reported by Jordan Pittier).Sebastien Martini2011-10-111-1/+1
|
* Ignore dangling IN_IGNORED events sent after watches are removed.Sebastien Martini2011-10-111-2/+3
|
* Bumped version number (0.9.2).0.9.2Sebastien Martini2011-04-191-1/+1
|
* Emit artificial IN_CREATE events on recursive files creations.Sebastien Martini2011-04-051-13/+19
| | | | | | | | | This commit should help mitigating long standing issue "Missing IN_CREATE events" https://github.com/seb-m/pyinotify/issues#issue/2 Note that symlinks are handled as files and that no similar treatment is applied to IN_MOVE_TO events, because even if moved files are new watched items, there aren't newly created per se by the filesystem.
* Use __slots__ in Watch class to reduce memory footprint (contributedSebastien Martini2011-03-221-1/+4
| | | | by Olivier Cortès).
* Few minors renaming.Sebastien Martini2011-02-081-7/+12
|
* Fix access to inotify's variables from ctypes.Sebastien Martini2011-02-071-23/+33
|
* Disable ctypes when inotify_syscalls is successfully imported.Sebastien Martini2011-02-061-0/+3
|
* Added C-coded inotify syscalls interface.Sebastien Martini2011-01-281-81/+186
| | | | | | | | | | | | | | - If compile_ext_mod is set to True in setup.py, this extension is explicitly compiled. - If compile_ext_mod is set to False in setup.py (default), this extension is compiled only if no inotify support has been found from ctypes. - Replaced exception type UnsupportedLibcVersionError by InotifyBindingNotFoundError. WatchManager.__init__() may raise this exception on error. - SysCtlINotify (class providing access to inotify /proc variables) is not instanciated (therefore not available) when the C extension is used. It is only available from ctypes.
* Removed useless code spotted by pyflakes.Sebastien Martini2011-01-221-16/+0
|
* Fixed select's error handling (contributed by zjes).Sebastien Martini2011-01-061-1/+1
|
* Released Pyinotify 0.9.1.0.9.1Sebastien Martini2010-10-171-3/+3
|
* Optionally no pid file is written (pid_file=False) when notifier.loopSebastien Martini2010-09-151-10/+18
| | | | with daemonize=True is called.
* Modified the umask's value set in forked processes, tightened all filesSebastien Martini2010-09-151-37/+25
| | | | | creations rights and removed the daemonize option used for killing processes (security issue reported by Adrian thiefmaster@gamesurge.net).
* Added new method WatchManager.close() to close inotify's fileSebastien Martini2010-09-091-0/+12
| | | | descriptor when needed (bug reported by jdw@research.att.com).
* Remove watch descriptor from WatchManager's dictionary when a watchSebastien Martini2010-09-091-0/+3
| | | | is successfully removed (bug reported by jdw@research.att.com).
* Reverted exception name of libc loading error, back toSebastien Martini2010-07-301-5/+5
| | | | UnsupportedLibcVersionError.