summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Pyinotify 0.9.00.9.0Sebastien Martini2010-06-043-4/+4
|
* Improved new coalescing option, use native __hash__ from stringSebastien Martini2010-05-272-64/+36
| | | | objects.
* Fixed typo.Sebastien Martini2010-05-271-1/+1
|
* Added new option for coalescing events (disabled by default). See new exampleSebastien Martini2010-05-273-14/+157
| | | | coalesce.py.
* Reverts previous commit for the following reasons:Sebastien Martini2010-05-192-12/+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 evenSebastien Martini2010-05-192-0/+12
| | | | if quiet=True (idea submitted by Matthew Webber Matthew.Webber@diamond.ac.uk).
* Provide errno information from inotify's system calls when availableSebastien Martini2010-05-182-14/+30
| | | | (Python >=2.6) (reported by Matthew Webber Matthew.Webber@diamond.ac.uk).
* Fixed previous fix f7510650b8e9950247d14841967eb64d0b2d0294.Sebastien Martini2010-05-172-10/+14
|
* Updated examples.Sebastien Martini2010-05-162-1/+8
|
* Updated ACKS and removed useless TODO.Sebastien Martini2010-05-152-1/+5
|
* Modified add_watch() to handle repeated calls on the same path. WhenSebastien Martini2010-05-142-28/+50
| | | | | | | | | 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).
* Updated examples.Sebastien Martini2010-05-133-7/+7
|
* Fixed auto_add handling in method update_watch (contributed bySebastien Martini2010-05-131-1/+1
| | | | Matthew Webber Matthew.Webber@diamond.ac.uk).
* Fixed auto_add handling in method update_watch (contributed bySebastien Martini2010-05-131-1/+1
| | | | Matthew Webber Matthew.Webber@diamond.ac.uk).
* Fixed dictionary item deletion on iteration (submitted by knurxs@gmx.de).Sebastien Martini2010-04-041-2/+2
|
* Fixed IN_MOVE_SELF renames of overlapping directories namesSebastien Martini2010-03-012-6/+8
| | | | (contributed by Facundo Batista facundo@canonical.com).
* Callback function called inside Notifier.loop is now able to stopSebastien Martini2010-03-012-20/+34
| | | | the loop if it returns True.
* - Fixed documentation.Sebastien Martini2010-02-232-7/+5
| | | | - Fixed select error handling (reported by Michal gentoo@mgorny.alt.pl).
* Refinement of previous commit implemented with help of patch ofSebastien Martini2010-01-132-18/+14
| | | | Guillermo Gonzalez <guillermo.gonzalez@canonical.com>.
* Attempt to mitigate lookups on unexistant Watch objects triggeredSebastien Martini2010-01-132-0/+18
| | | | | in presently not well understood contexts. These faulty? events are currently skipped but should be dumped into debug traces.
* Cosmetic changes.Sebastien Martini2010-01-133-3/+4
|
* Pyinotify 0.8.90.8.9Sebastien Martini2010-01-043-4/+4
|
* Updated license to 'MIT License'.Sebastien Martini2010-01-044-376/+57
|
* - Removed custom glob functions, uses standard glob module directly.Sebastien Martini2010-01-035-202/+80
| | | | | | | | - 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.
* Updated examples from tutorial.Sebastien Martini2010-01-023-23/+16
|
* Updated daemon.pySebastien Martini2010-01-011-6/+12
|
* Updated ACKS.Sebastien Martini2010-01-011-1/+4
|
* - Improved daemon.py exampleSebastien Martini2010-01-014-24/+73
| | | | | - By default assigns an instance of PrintAllEvents() to Notifier.default_proc_fun.
* Updated README.Sebastien Martini2009-12-262-5/+5
|
* Unified setup.py install for python2 and python3.Sebastien Martini2009-12-262-51/+12
|
* Updated doc and acks.Sebastien Martini2009-11-252-4/+5
|
* Modified exclusion filter code (contributed with Matteo LanzaSebastien Martini2009-11-172-55/+95
| | | | | | | | | | | | matteo.lanza@gmail.com): - exclude_filter is now checked against auto-added directories (created or moved). - exclude_filter is now transmitted from parent directory to auto-added directories (created or moved). - Monitored transient files are cannot be excluded through exclude_filter. Removed "magic" keyworded arguments from Watch's constructor.
* Fixed default pid file basename (contributed by Matteo LanzaSebastien Martini2009-11-162-2/+2
| | | | matteo.lanza@gmail.com).
* Added acknowledgements file ACKS.Sebastien Martini2009-11-121-0/+26
|
* Improved handling of not guaranteed event attributes.Sebastien Martini2009-11-112-2/+10
|
* Updated examples.Sebastien Martini2009-11-115-40/+42
|
* Updated comments.Sebastien Martini2009-11-072-20/+24
|
* Removed example async_moved_from.py (this not really an example).Sebastien Martini2009-11-061-40/+0
|
* Modified Pyinotify's hierarchy in order to support differents versionSebastien Martini2009-11-0623-5/+107
| | | | for Python2 and for Python3.
* Moved pyinotify3k.py to python3/pyinotify.py.Sebastien Martini2009-11-041-15/+7
|
* Initial (and experimental) commit of pyinotify3k.py:Sebastien Martini2009-11-041-0/+2061
| | | | | | | | | | | | | | - Port of pyinotify.py to Python 3.0 - Seems to be difficult (impossible?) to maintain only one code for Python < 3.0 and Python >= 3.0 - Maintaining two versions will be painful, thus this commit should be seen more as an experiment than as something definitive and that would be updated at the same pace than pyinotify.py. Actually even the naming 'pyinotify3k' is meant to be temporary. I lack of experience with Python 3.0 so I can't figure out right now what is the right thing to do or not to do. - Anyway test it, report bugs, contribute improvements, especially if you have good understanding of Python 3.0 (and above).
* Updated TODO file.Sebastien Martini2009-11-041-3/+2
|
* - Fixed issue in stats display.Sebastien Martini2009-11-042-21/+24
| | | | - Made small modifications for Python 3.0.
* Added README file.Sebastien Martini2009-11-031-0/+31
|
* Pyinotify 0.8.80.8.8Sebastien Martini2009-11-022-3/+3
|
* Fixed path renaming when a subtree is moved (contributed withSebastien Martini2009-10-301-1/+4
| | | | | Linda Octalina linda_octa@yahoo.com and John Feuerstein john@feurix.com).
* Automatically watch a non watched tree moved to a watched directorySebastien Martini2009-10-291-1/+7
| | | | | with flag auto_add activated (contributed by John Feuerstein john@feurix.com).
* Rename all watched sub directories paths of a given parentSebastien Martini2009-10-291-2/+19
| | | | | directory when this parent directory is moved and is assigned a new pathname (contributed by john@feurix.com).
* Updated comments.Sebastien Martini2009-10-251-6/+11
|
* Updated examples (mostly comments).Sebastien Martini2009-10-258-20/+15
|