| 1 | 2008-03-31 ookoi <ookoi@mars> |
|---|
| 2 | |
|---|
| 3 | * ChangeLog is now maintained directly with git: |
|---|
| 4 | See http://git.dbzteam.org/?p=pyinotify.git;a=log;h=HEAD |
|---|
| 5 | |
|---|
| 6 | 2008-03-24 ookoi <ookoi@sundae> |
|---|
| 7 | |
|---|
| 8 | * Simulate IN_CREATE events on mkdir -p /d1/d2/[...]. |
|---|
| 9 | Contributed by Thomas Kiley (tkiley@cs.uml.edu). |
|---|
| 10 | |
|---|
| 11 | * Notifier.loop() accepts a read_freq parameter. |
|---|
| 12 | |
|---|
| 13 | * Can detach and daemonize Notifier instances. |
|---|
| 14 | |
|---|
| 15 | * Delegates initialization to my_init(*kargs) when a subclass |
|---|
| 16 | of ProcessEvent is instanciated. |
|---|
| 17 | |
|---|
| 18 | * Provides processing class and new option -s for displaying |
|---|
| 19 | statistics about received events. |
|---|
| 20 | |
|---|
| 21 | * Implements simplified watch of transient files. |
|---|
| 22 | |
|---|
| 23 | * select.Poll timeout's value changed to None when called from |
|---|
| 24 | Notifier and set to 10s when called from ThreadedNotifier. |
|---|
| 25 | |
|---|
| 26 | * Removed useless locking stuff from Watch. |
|---|
| 27 | |
|---|
| 28 | * Removed all trailing whitespaces. |
|---|
| 29 | |
|---|
| 30 | * Notifier provides a loop() method. |
|---|
| 31 | |
|---|
| 32 | * ProcessEvent instances can be chained. |
|---|
| 33 | |
|---|
| 34 | * Events names are directly accessible at pyinotify's scope. |
|---|
| 35 | |
|---|
| 36 | * Optionnaly load psyco. |
|---|
| 37 | |
|---|
| 38 | * New attribute 'pathname' in Event class. |
|---|
| 39 | |
|---|
| 40 | * print statements removed. Use logging module for debug messages |
|---|
| 41 | and errors. |
|---|
| 42 | |
|---|
| 43 | * Implemented better representation __repr__ for classes Event and |
|---|
| 44 | Watch. |
|---|
| 45 | |
|---|
| 46 | * Merged all .py files into pyinotify.py |
|---|
| 47 | |
|---|
| 48 | * Namespace limited to pyinotify. |
|---|
| 49 | |
|---|
| 50 | * Use ctypes instead of C code. |
|---|
| 51 | |
|---|
| 52 | 2007-07-10 ookoi <ookoi@sundae> |
|---|
| 53 | |
|---|
| 54 | * License of pyinotify 0.7.1 updated: GPLv2 or later. pyinotify-dev |
|---|
| 55 | still remains GPLv2 only. |
|---|
| 56 | |
|---|
| 57 | * version 0.7.1 released. |
|---|
| 58 | |
|---|
| 59 | 2007-06-26 ookoi <ookoi@sundae> |
|---|
| 60 | |
|---|
| 61 | * src/pyinotify/pyinotify.py: reworking of EventsCodes (contributed |
|---|
| 62 | by Darryl Dixon - darryl.dixon@winterhouseconsulting.com). |
|---|
| 63 | |
|---|
| 64 | * src/pyinotify/pyinotify.py: new -e command line option (contributed |
|---|
| 65 | by Darryl Dixon - darryl.dixon@winterhouseconsulting.com). |
|---|
| 66 | |
|---|
| 67 | 2007-06-17 ookoi <ookoi@mars> |
|---|
| 68 | |
|---|
| 69 | * src/pyinotify/inotify_syscalls.h: support hppa and mc68000. |
|---|
| 70 | (submitted by Mikhail Gusarov - dottedmag@dottedmag.net). |
|---|
| 71 | |
|---|
| 72 | 2007-02-17 ookoi <ookoi@mars> |
|---|
| 73 | |
|---|
| 74 | * version 0.7.0 released. |
|---|
| 75 | |
|---|
| 76 | * src/example/close.py: fix import statement. |
|---|
| 77 | |
|---|
| 78 | * src/pyinotify/pyinotify.py: raise OSError when inotify_init() |
|---|
| 79 | fails (idea contributed by Mattias Wadman - mattias.wadman@gmail.com). |
|---|
| 80 | |
|---|
| 81 | * src/pyinotify/pyinotify.py: checks exception on polling |
|---|
| 82 | (contributed by Mattias Wadman - mattias.wadman@gmail.com). |
|---|
| 83 | |
|---|
| 84 | * src/pyinotify/pyinotify.py: add_watch: by default do not make |
|---|
| 85 | globbing (contributed by Mattias Wadman - mattias.wadman@gmail.com). |
|---|
| 86 | |
|---|
| 87 | * src/pyinotify/pyinotify.py: print errors only when verbose mode |
|---|
| 88 | is set. |
|---|
| 89 | |
|---|
| 90 | * src/pyinotify/iglob.py: fix compatibility with Python 2.3 |
|---|
| 91 | (contributed by Robin Wittler - r.wittler@buetow.org). |
|---|
| 92 | |
|---|
| 93 | 2006-11-03 ookoi <ookoi@mars> |
|---|
| 94 | |
|---|
| 95 | * version 0.6.3 released. |
|---|
| 96 | |
|---|
| 97 | 2006-10-25 ookoi <ookoi@mars> |
|---|
| 98 | |
|---|
| 99 | * src/pyinotify/pyinotify.py: fix mkdir -p foo/bar/bar.txt with |
|---|
| 100 | auto_add (fix contributed by Will Muldrew - will.muldrew@gmail.com). |
|---|
| 101 | |
|---|
| 102 | |
|---|
| 103 | 2006-09-04 ookoi <ookoi@mars> |
|---|
| 104 | |
|---|
| 105 | * version 0.6.2 released. |
|---|
| 106 | |
|---|
| 107 | * src/pyinotify/iglob.py: added. |
|---|
| 108 | |
|---|
| 109 | * src/pyinotify/pyinotify.py: add_watch supports unix pathname pattern |
|---|
| 110 | expansion (see http://www.python.org/doc/lib/module-glob.html). |
|---|
| 111 | |
|---|
| 112 | 2006-07-20 ookoi <ookoi@mars> |
|---|
| 113 | |
|---|
| 114 | * version 0.6.1 released. |
|---|
| 115 | |
|---|
| 116 | * src/examples/pyinotifyfs/*: added. |
|---|
| 117 | |
|---|
| 118 | 2006-04-30 ookoi <ookoi@mars> |
|---|
| 119 | |
|---|
| 120 | * version 0.6.0 released. |
|---|
| 121 | |
|---|
| 122 | * src/pyinotify/pyinotify.py: replace select by poll. |
|---|
| 123 | |
|---|
| 124 | * src/pyinotify/pyinotify.py: get event queue size (call ioctl). |
|---|
| 125 | |
|---|
| 126 | 2006-04-24 ookoi <ookoi@chocopops> |
|---|
| 127 | |
|---|
| 128 | * src/tests/colorize.py: added. |
|---|
| 129 | |
|---|
| 130 | * src/tests/coverage.py: added. |
|---|
| 131 | |
|---|
| 132 | * src/tests/testcoverage.py: added. |
|---|
| 133 | |
|---|
| 134 | 2006-04-09 ookoi <ookoi@chocopops> |
|---|
| 135 | |
|---|
| 136 | * src/pyinotify/pyinotify.py: function _print_err added. |
|---|
| 137 | |
|---|
| 138 | * src/pyinotify/pyinotify.py: new command lines option -a. |
|---|
| 139 | |
|---|
| 140 | * src/examples/rec.py: deprecated. |
|---|
| 141 | |
|---|
| 142 | * src/pyinotify/pyinotify.py: add_watch, update_watch, support |
|---|
| 143 | option auto_add. |
|---|
| 144 | |
|---|
| 145 | * src/pyinotify/pyinotify.py: DEBUG renamed to VERBOSE. |
|---|
| 146 | |
|---|
| 147 | 2006-04-06 ookoi <ookoi@chocopops> |
|---|
| 148 | |
|---|
| 149 | * src/tests/TestThreadedNotifier.py: updated. |
|---|
| 150 | |
|---|
| 151 | * src/tests/TestThreadedINotify.py: renamed to TestThreadedNotifier.py |
|---|
| 152 | |
|---|
| 153 | 2006-04-05 ookoi <ookoi@chocopops> |
|---|
| 154 | |
|---|
| 155 | * src/pyinotify/pyinotify.py: new command lines options (-v, -r). |
|---|
| 156 | |
|---|
| 157 | * src/pyinotify/pyinotify.py: Watch, WatchManager added. |
|---|
| 158 | |
|---|
| 159 | * src/pyinotify/pyinotify.py: NotifierError, Notifier, |
|---|
| 160 | ThreadedNotifier added. |
|---|
| 161 | |
|---|
| 162 | * src/pyinotify/pyinotify.py: _ProcessEvent, _SysProcessEvent added, |
|---|
| 163 | ProcessEvent modified. |
|---|
| 164 | |
|---|
| 165 | |
|---|
| 166 | * src/pyinotify/pyinotify.py: ProcessEventException renamed to |
|---|
| 167 | ProcessEventError. |
|---|
| 168 | |
|---|
| 169 | * src/pyinotify/pyinotify.py: _Event, _RawEvent added, Event modified. |
|---|
| 170 | |
|---|
| 171 | * src/pyinotify/pyinotify.py: Queue renamed to _Queue. |
|---|
| 172 | |
|---|
| 173 | * src/pyinotify/pyinotify.py: support IN_ONLYDIR, IN_DONT_FOLLOW, |
|---|
| 174 | IN_MASK_ADD. |
|---|
| 175 | |
|---|
| 176 | * src/pyinotify/pyinotify.py: SimpleINotify, ThreadedINotify, |
|---|
| 177 | INotifyException removed. |
|---|
| 178 | |
|---|
| 179 | * src/pyinotify/pyinotify.py: major rewrite. |
|---|
| 180 | |
|---|
| 181 | 2006-03-30 ookoi <ookoi@X2> |
|---|
| 182 | |
|---|
| 183 | * src/pyinotify/pyinotify.py: support for EventsCodes.IN_MOVE_SELF |
|---|
| 184 | flag added. |
|---|
| 185 | |
|---|
| 186 | 2006-03-29 ookoi <ookoi@X2> |
|---|
| 187 | |
|---|
| 188 | * version 0.5.2 released. |
|---|
| 189 | |
|---|
| 190 | * src/pyinotify/inotify_syscalls.h: defines for mips, sh64, |
|---|
| 191 | frv and parisc added. |
|---|
| 192 | |
|---|
| 193 | 2006-03-27 ookoi <ookoi@X2> |
|---|
| 194 | |
|---|
| 195 | * version 0.5.1 released. |
|---|
| 196 | |
|---|
| 197 | 2006-03-16 ookoi <ookoi@X2> |
|---|
| 198 | |
|---|
| 199 | * src/pyinotify/inotify.py: olds inotify's paths supported. |
|---|
| 200 | |
|---|
| 201 | * src/pyinotify/pyinotify.py: event_check accepts a timeout |
|---|
| 202 | parameter (submitted by Hans Ulrich Niedermann - |
|---|
| 203 | debian@n-dimensional.de). |
|---|
| 204 | |
|---|
| 205 | 2006-03-02 ookoi <ookoi@X2> |
|---|
| 206 | |
|---|
| 207 | * version 0.5.0 released. |
|---|
| 208 | |
|---|
| 209 | 2006-02-22 ookoi <ookoi@X2> |
|---|
| 210 | |
|---|
| 211 | * src/pyinotify-demo.py: re-merged with src/pyinotify/pyinotify.py |
|---|
| 212 | |
|---|
| 213 | * src/pyinotify/__init__.py: now empty. |
|---|
| 214 | |
|---|
| 215 | 2006-02-16 ookoi <ookoi@X2> |
|---|
| 216 | |
|---|
| 217 | * src/pyinotify/inotify.py: documented. |
|---|
| 218 | |
|---|
| 219 | 2006-02-13 ookoi <ookoi@X2> |
|---|
| 220 | |
|---|
| 221 | * src/tests/testThreadedINotify.py: renamed to TestThreadedINotify.py. |
|---|
| 222 | |
|---|
| 223 | * src/tests/TestProcINotify.py: added. |
|---|
| 224 | |
|---|
| 225 | * src/pyinotify/inotify.py: added. |
|---|
| 226 | |
|---|
| 227 | * src/pyinotify/inotify_wrap.c: renamed to inotify.c. |
|---|
| 228 | |
|---|
| 229 | 2006-02-09 ookoi <ookoi@X2> |
|---|
| 230 | |
|---|
| 231 | * version 0.4.5 released. |
|---|
| 232 | |
|---|
| 233 | * src/pyinotify/pyinotify.py: separated in |
|---|
| 234 | src/pyinotify/pyinotify.py and src/pyinotify-demo.py. |
|---|
| 235 | (proposed by Hans Ulrich Niedermann - debian@n-dimensional.de) |
|---|
| 236 | |
|---|
| 237 | * Makefile: new clean rule. (Hans Ulrich Niedermann - |
|---|
| 238 | debian@n-dimensional.de) |
|---|
| 239 | |
|---|
| 240 | * src/inotify* src/pyinotify.py: moved to src/pyinotify/ |
|---|
| 241 | (proposed by Hans Ulrich Niedermann - debian@n-dimensional.de) |
|---|
| 242 | |
|---|
| 243 | 2006-02-09 ookoi <ookoi@X2> |
|---|
| 244 | |
|---|
| 245 | * version 0.4.4 released. |
|---|
| 246 | |
|---|
| 247 | * setup.py: install_lib cmd removes old components. |
|---|
| 248 | |
|---|
| 249 | 2006-02-08 ookoi <ookoi@X2> |
|---|
| 250 | |
|---|
| 251 | * version 0.4.3 released. |
|---|
| 252 | |
|---|
| 253 | * src/tests/testThreadedINotify.py: can directly import pyinotify. |
|---|
| 254 | |
|---|
| 255 | * src/examples/*.py: can directly import pyinotify. |
|---|
| 256 | |
|---|
| 257 | 2006-02-06 ookoi <ookoi@X2> |
|---|
| 258 | |
|---|
| 259 | * version 0.4.2 released. |
|---|
| 260 | |
|---|
| 261 | * setup.py: installs files in a subdir. |
|---|
| 262 | |
|---|
| 263 | * src/pyinotify.py: defines __all__ |
|---|
| 264 | |
|---|
| 265 | 2006-02-06 ookoi <ookoi@X2> |
|---|
| 266 | |
|---|
| 267 | * version 0.4.1 released. |
|---|
| 268 | |
|---|
| 269 | * examples/, tests/: moved in src/ |
|---|
| 270 | |
|---|
| 271 | 2006-02-05 ookoi <ookoi@X2> |
|---|
| 272 | |
|---|
| 273 | * version 0.4.0 released. |
|---|
| 274 | |
|---|
| 275 | 2006-02-03 ookoi <ookoi@X2> |
|---|
| 276 | |
|---|
| 277 | * tests/simple.py, tests/generate.sh, tests/threaded.py: removed. |
|---|
| 278 | |
|---|
| 279 | * tests/testThreadedINotify.py: added. |
|---|
| 280 | |
|---|
| 281 | 2006-02-02 ookoi <ookoi@X2> |
|---|
| 282 | |
|---|
| 283 | * src/pyinotify.py: update_watch, rm_watch only accept wd or list |
|---|
| 284 | of wd. |
|---|
| 285 | |
|---|
| 286 | * src/pyinotify.py: add_watch, update_watch, rm_watch return dict. |
|---|
| 287 | |
|---|
| 288 | 2006-01-12 ookoi <ookoi@X2> |
|---|
| 289 | |
|---|
| 290 | * version 0.3.3 released. |
|---|
| 291 | |
|---|
| 292 | 2006-01-09 ookoi <ookoi@X2> |
|---|
| 293 | |
|---|
| 294 | * src/pyinotify.py: fix add watch on symbolic link with rec=True. |
|---|
| 295 | |
|---|
| 296 | 2006-01-04 ookoi <ookoi@X2> |
|---|
| 297 | |
|---|
| 298 | * version 0.3.2 released. |
|---|
| 299 | |
|---|
| 300 | * examples/rec.py, examples/threaded_rec.py: added. |
|---|
| 301 | |
|---|
| 302 | 2005-12-30 ookoi <ookoi@X2> |
|---|
| 303 | |
|---|
| 304 | * version 0.3.1 released. |
|---|
| 305 | |
|---|
| 306 | * src/pyinotify.py: class attribute 'length' removed from Event. |
|---|
| 307 | |
|---|
| 308 | 2005-12-28 ookoi <ookoi@X2> |
|---|
| 309 | |
|---|
| 310 | * version 0.3.0 released. |
|---|
| 311 | |
|---|
| 312 | * src/inotify_wrap.c: doesn't wrap original exception. (thanks to |
|---|
| 313 | Frédéric PICA) |
|---|
| 314 | |
|---|
| 315 | * src/pyinotify.py: update_watch(), rm_watch(), add_watch() updated |
|---|
| 316 | in SimpleINotify, rm_watch() returns list of wd removed. |
|---|
| 317 | |
|---|
| 318 | * src/pyinotify.py: get_wd(), get_path() added in SimpleINotify. |
|---|
| 319 | |
|---|
| 320 | 2005-12-26 ookoi <ookoi@X2> |
|---|
| 321 | |
|---|
| 322 | * version 0.2.7 released |
|---|
| 323 | |
|---|
| 324 | * src/pyinotify.py: removes trailing null characters in Event.name |
|---|
| 325 | (thanks to Frédéric PICA) |
|---|
| 326 | |
|---|
| 327 | 2005-12-26 ookoi <ookoi@X2> |
|---|
| 328 | |
|---|
| 329 | * version 0.2.6 released. |
|---|
| 330 | |
|---|
| 331 | * setup.py: supports commands build, clean, sdist and install. |
|---|
| 332 | |
|---|
| 333 | * autoconf, automake stuffs removed. |
|---|
| 334 | |
|---|
| 335 | 2005-12-26 ookoi <ookoi@X2> |
|---|
| 336 | |
|---|
| 337 | * version 0.2.5 released. |
|---|
| 338 | |
|---|
| 339 | * src/pyinotify.py: not directly check events against IN_ISDIR, |
|---|
| 340 | member isdir added in Event. (thanks to Radoslaw Stachowiak) |
|---|
| 341 | |
|---|
| 342 | * src/inotify_wrap.c, src/inotify_syscalls.c: added. |
|---|
| 343 | |
|---|
| 344 | * src/: swig stuff removed. |
|---|
| 345 | |
|---|
| 346 | 2005-12-24 ookoi <ookoi@X2> |
|---|
| 347 | |
|---|
| 348 | * version 0.2.4 released. |
|---|
| 349 | |
|---|
| 350 | * pyinotify.py: _wd, _mask, _cookie, _length, _path, _name, |
|---|
| 351 | members of class Event, renamed in wd, mask, cookie, length, |
|---|
| 352 | path, name. |
|---|
| 353 | |
|---|
| 354 | 2005-12-24 ookoi <ookoi@X2> |
|---|
| 355 | |
|---|
| 356 | * config/, tests/, examples/: autopath.py added. |
|---|
| 357 | |
|---|
| 358 | * src/*_tests.py: moved in tests/. |
|---|
| 359 | |
|---|
| 360 | * tests/: added. |
|---|
| 361 | |
|---|
| 362 | * src/*_example.py: moved in examples/. |
|---|
| 363 | |
|---|
| 364 | * examples/: added. |
|---|
| 365 | |
|---|
| 366 | 2005-12-21 ookoi <ookoi@X2> |
|---|
| 367 | |
|---|
| 368 | * version 0.2.3 released. |
|---|
| 369 | |
|---|
| 370 | * close_example.py: added. |
|---|
| 371 | |
|---|
| 372 | * pyinotify.py: support processing methods like process_IN_CLOSE. |
|---|
| 373 | |
|---|
| 374 | 2005-12-20 ookoi <ookoi@X2> |
|---|
| 375 | |
|---|
| 376 | * version 0.2.2 released. |
|---|
| 377 | |
|---|
| 378 | * pyinotify.py: EventsCodes.IN_CLOSE removed. |
|---|
| 379 | |
|---|
| 380 | * pyinotify.py, simple_tests.py, threaded_tests.py: |
|---|
| 381 | EventsCodes.IN_ALL_EVENTS renammed to EventsCodes.ALL_EVENTS. |
|---|
| 382 | |
|---|
| 383 | 2005-12-20 ookoi <ookoi@X2> |
|---|
| 384 | |
|---|
| 385 | * version 0.2.1 released. |
|---|
| 386 | |
|---|
| 387 | * pyinotify.py, simple_tests.py, threaded_tests.py: all occurrences |
|---|
| 388 | of 0xffffffff replaced by EventsCodes.IN_ALL_EVENTS. (thanks to |
|---|
| 389 | Mohamed Lrhazi) |
|---|
| 390 | |
|---|
| 391 | * pyinotify.py: EventsCodes.IN_ALL_EVENTS added. |
|---|
| 392 | |
|---|
| 393 | 2005-12-16 ookoi <ookoi@X2> |
|---|
| 394 | |
|---|
| 395 | * version 0.2.0 released. |
|---|
| 396 | |
|---|
| 397 | * simple_example.py, threaded_example.py, process_example.py: added. |
|---|
| 398 | |
|---|
| 399 | * example.py: removed. |
|---|
| 400 | |
|---|
| 401 | * simple_tests.py, threaded_tests.py: added. |
|---|
| 402 | |
|---|
| 403 | * tests.py: removed. |
|---|
| 404 | |
|---|
| 405 | * pyinotify.py: INotify replaced by SimpleINotify and |
|---|
| 406 | ThreadedINotify (thanks to Mark Williamson - |
|---|
| 407 | mark.williamson@cl.cam.ac.uk for the idea). |
|---|
| 408 | |
|---|
| 409 | * pyinotify.py: removes Queue's size limitation. |
|---|