Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't check for existing watch when setting up watches | Sebastien Martini | 2012-06-07 | 1 | -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 Martini | 2012-04-14 | 1 | -0/+8 |
| | | | | Contributed by bdkearns https://github.com/bdkearns | ||||
* | Documented ExcludeFilter shortcomings. | Sebastien Martini | 2012-03-20 | 1 | -0/+4 |
| | |||||
* | auto_add=True automatically implies oring IN_CREATE with the | Sebastien Martini | 2012-03-11 | 1 | -2/+7 |
| | | | | | provided mask value. Misbehavior reported by Maxime Augier https://github.com/maugier. | ||||
* | Bumped version number, released Pyinotify 0.9.3.0.9.3 | Sebastien Martini | 2011-12-20 | 1 | -1/+1 |
| | |||||
* | Added new command line option --command. | Sebastien Martini | 2011-12-02 | 1 | -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 Martini | 2011-12-02 | 1 | -3/+3 |
| | |||||
* | Correctly handle IN_Q_OVERFLOW events. | Sebastien Martini | 2011-12-02 | 1 | -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 Martini | 2011-10-11 | 1 | -1/+1 |
| | |||||
* | Ignore dangling IN_IGNORED events sent after watches are removed. | Sebastien Martini | 2011-10-11 | 1 | -2/+3 |
| | |||||
* | Bumped version number (0.9.2).0.9.2 | Sebastien Martini | 2011-04-19 | 1 | -1/+1 |
| | |||||
* | Emit artificial IN_CREATE events on recursive files creations. | Sebastien Martini | 2011-04-05 | 1 | -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 (contributed | Sebastien Martini | 2011-03-22 | 1 | -1/+4 |
| | | | | by Olivier Cortès). | ||||
* | Few minors renaming. | Sebastien Martini | 2011-02-08 | 1 | -7/+12 |
| | |||||
* | Fix access to inotify's variables from ctypes. | Sebastien Martini | 2011-02-07 | 1 | -23/+33 |
| | |||||
* | Disable ctypes when inotify_syscalls is successfully imported. | Sebastien Martini | 2011-02-06 | 1 | -0/+3 |
| | |||||
* | Added C-coded inotify syscalls interface. | Sebastien Martini | 2011-01-28 | 1 | -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 Martini | 2011-01-22 | 1 | -16/+0 |
| | |||||
* | Fixed select's error handling (contributed by zjes). | Sebastien Martini | 2011-01-06 | 1 | -1/+1 |
| | |||||
* | Released Pyinotify 0.9.1.0.9.1 | Sebastien Martini | 2010-10-17 | 1 | -3/+3 |
| | |||||
* | Optionally no pid file is written (pid_file=False) when notifier.loop | Sebastien Martini | 2010-09-15 | 1 | -10/+18 |
| | | | | with daemonize=True is called. | ||||
* | Modified the umask's value set in forked processes, tightened all files | Sebastien Martini | 2010-09-15 | 1 | -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 file | Sebastien Martini | 2010-09-09 | 1 | -0/+12 |
| | | | | descriptor when needed (bug reported by jdw@research.att.com). | ||||
* | Remove watch descriptor from WatchManager's dictionary when a watch | Sebastien Martini | 2010-09-09 | 1 | -0/+3 |
| | | | | is successfully removed (bug reported by jdw@research.att.com). | ||||
* | Reverted exception name of libc loading error, back to | Sebastien Martini | 2010-07-30 | 1 | -5/+5 |
| | | | | UnsupportedLibcVersionError. | ||||
* | Modified loading mechanism of the libc (following issues reported | Sebastien Martini | 2010-07-27 | 1 | -8/+24 |
| | | | | by przemyslaw.wrzos@calyptech.com). | ||||
* | Modified logging formatter to output timestamps (idea submitted by | Sebastien Martini | 2010-07-27 | 1 | -1/+1 |
| | | | | hv@tbz-pariv.de). | ||||
* | Flush stdout stream immediately after events or stats are written | Sebastien Martini | 2010-07-27 | 1 | -2/+6 |
| | | | | (idea submitted by hv@tbz-pariv.de). | ||||
* | Added new option --raw-format (-f) to explicitly disable the | Sebastien Martini | 2010-07-27 | 1 | -72/+86 |
| | | | | | enhanced output format when Pyinotify is used from command line (idea submitted by hv@tbz-pariv.de). | ||||
* | Added new command line option --version (idea submitted by | Sebastien Martini | 2010-07-27 | 1 | -0/+5 |
| | | | | hv@tbz-pariv.de). | ||||
* | Check that loaded libc has needed inotify functions instead of | Sebastien Martini | 2010-07-27 | 1 | -19/+8 |
| | | | | | checking for glibc version number (reported by przemyslaw.wrzos@calyptech.com). | ||||
* | Pyinotify 0.9.00.9.0 | Sebastien Martini | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | Improved new coalescing option, use native __hash__ from string | Sebastien Martini | 2010-05-27 | 1 | -32/+18 |
| | | | | objects. | ||||
* | Added new option for coalescing events (disabled by default). See new example | Sebastien Martini | 2010-05-27 | 1 | -7/+61 |
| | | | | coalesce.py. | ||||
* | Reverts previous commit for the following reasons: | Sebastien Martini | 2010-05-19 | 1 | -5/+0 |
| | | | | | | | | | | | | | - Preserve backward compatibility; - Returning a dictionary with all the iterated directories for which ENOSPC was raised gives the information these directories existed and were iterated and something wrong happened, it is useful information; - It is definitively developer's responsibility to check a given subtree is not too deep or that max_user_watches is not large enough before calling add_watch(). This reverts commit be91bfbbe7a849952b2fe61a49205d66fb5c850c. | ||||
* | add_watch() returns immediately on first encountered ENOSPC error even | Sebastien Martini | 2010-05-19 | 1 | -0/+5 |
| | | | | if quiet=True (idea submitted by Matthew Webber Matthew.Webber@diamond.ac.uk). | ||||
* | Provide errno information from inotify's system calls when available | Sebastien Martini | 2010-05-18 | 1 | -7/+12 |
| | | | | (Python >=2.6) (reported by Matthew Webber Matthew.Webber@diamond.ac.uk). | ||||
* | Fixed previous fix f7510650b8e9950247d14841967eb64d0b2d0294. | Sebastien Martini | 2010-05-17 | 1 | -5/+7 |
| | |||||
* | Modified add_watch() to handle repeated calls on the same path. When | Sebastien Martini | 2010-05-14 | 1 | -13/+25 |
| | | | | | | | | | this method is called with an already watched path, it is ignored. When option rec=True is used, all the subtree is iterated and watches are only added on paths not already watched. That way existing watches are preserved while enabling new watches to be placed on new subdirectories. To update a watch use update_watch() instead. (reported by Matthew Webber Matthew.Webber@diamond.ac.uk). | ||||
* | Fixed auto_add handling in method update_watch (contributed by | Sebastien Martini | 2010-05-13 | 1 | -1/+1 |
| | | | | Matthew Webber Matthew.Webber@diamond.ac.uk). | ||||
* | Fixed dictionary item deletion on iteration (submitted by knurxs@gmx.de). | Sebastien Martini | 2010-04-04 | 1 | -2/+2 |
| | |||||
* | Fixed IN_MOVE_SELF renames of overlapping directories names | Sebastien Martini | 2010-03-01 | 1 | -3/+4 |
| | | | | (contributed by Facundo Batista facundo@canonical.com). | ||||
* | Callback function called inside Notifier.loop is now able to stop | Sebastien Martini | 2010-03-01 | 1 | -10/+17 |
| | | | | the loop if it returns True. | ||||
* | - Fixed documentation. | Sebastien Martini | 2010-02-23 | 1 | -4/+3 |
| | | | | - Fixed select error handling (reported by Michal gentoo@mgorny.alt.pl). | ||||
* | Refinement of previous commit implemented with help of patch of | Sebastien Martini | 2010-01-13 | 1 | -9/+7 |
| | | | | Guillermo Gonzalez <guillermo.gonzalez@canonical.com>. | ||||
* | Attempt to mitigate lookups on unexistant Watch objects triggered | Sebastien Martini | 2010-01-13 | 1 | -0/+9 |
| | | | | | in presently not well understood contexts. These faulty? events are currently skipped but should be dumped into debug traces. | ||||
* | Pyinotify 0.8.90.8.9 | Sebastien Martini | 2010-01-04 | 1 | -1/+1 |
| | |||||
* | Updated license to 'MIT License'. | Sebastien Martini | 2010-01-04 | 1 | -18/+18 |
| | |||||
* | - Removed custom glob functions, uses standard glob module directly. | Sebastien Martini | 2010-01-03 | 1 | -85/+23 |
| | | | | | | | | - Modified exclusion filter mechanism, patterns still can be loaded from files but the syntax has changed see exclude.lst for more details. This new method is safer since the external file is not executed anymore, it is only parsed looking for patterns loaded as strings. | ||||
* | - Improved daemon.py example | Sebastien Martini | 2010-01-01 | 1 | -10/+21 |
| | | | | | - By default assigns an instance of PrintAllEvents() to Notifier.default_proc_fun. |