Merge remote-tracking branch 'origin/8.1' into gobject-introspection
Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63 * commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits) ...
Filesystem.Monitor: Added report(). This provides an API to simplify targeting tracing of the Filesystem.Monitor operation. Fixes [PIKE-17].
Filesystem.Monitor.symlinks: Added some diagnostics.
Merge branch '8.1' into grubba/typechecker-mk3 * 8.1: (51 commits) Compiler [Types]: Got rid of my_describe_type(). Compiler [Types]: Fixed wide strings in nested types. Compiler [Types]: low_describe_type() now uses string_builder. string_builder_sprintf: Fixed '+' for floats. string_builder_sprintf: Added support for %T. Calendar.mkrules: Improved backward compat. Auth.OAuth.Client: Fixed AutoDoc markup issue. New modules for communicating with different (RESTful) web apis (including OAuth and OAuth2 client modules) . Documentation [%]: Added some clarifications and improved markup. Inotify: Minor code cleanup. Potential fix for [CID 1325796]. Inotify: Removed some debug output. Filesystem.Monitor [Inotify]: Improved support for blocking mode. Inotify: Don't reference count immediate circular references. Inotify: Removed some dead code. System.Inotify, Filesystem.Monitor: Updates to use new Inotify API. Inotify: Use fd_callback_boxes, internal event parsing. Search.Database.MySQL: Censor the SQL-url. Sql: Added censor_sql_url(). Search.Database.MySQL: Avoid long lived database connections. Inotify: Don't throw errors in rm_watch() on invalid watch descriptor. ...
Filesystem.Monitor.symlinks: Inherit DefaultMonitor. This means that the symlinks class (and debug class) now take advantage of accellerated monitors.
Merge branch '7.9' into gobject-introspection
Merge remote branch 'origin/7.9' into block_alloc
Filesystem.Monitor: use System.FSEvents or System.Inotify to provide low overhead change notification. NOTE: I originally envisioned something much more elegant, however when I started down that path, I quickly realized that I don't really understand how the Monitor really works. This code appears to work properly, however someone who understands it better should probably take a closer look. Feel free to use this as a guide for what needs to be done when solving the problem properly.
Added #pike directives.
Removed $Id$.
No more foreign_idents. More pain than they are worth.
Merge branch 'pike-modules/monitor/5.0' into 7.9 This is the Filesystem.Monitor stuff from Roxen CMS 5.0/5.1.
Backported lots of fixes from FeedImport 5.0. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.33 Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.4
status_change() needs one more argument to avoid excessive recursion. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.37 Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.9
Filesystem.Monitor.symlinks: Fixed initialization bug for symlinked directories [Bug 5108]. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.3
Filesystem.Monitor.symlinks: Fixed initialization bug for symlinked directories [Bug 5108]. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.8
Fixed issue with propagation of symlink ids for newly monitored directories. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.32 Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.2
Fixed issue with propagation of symlink ids for newly monitored directories. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.36 Rev: lib/modules/Filesystem.pmod/Monitor.pmod/debug.pike:1.3 Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.7
Backported support for symlinks from FeedImport 5.0. symlinks.pike is on level with revision 1.6 from FeedImport 5.0. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.1
Now has more similar interface with and without predef::readlink(). Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.6
Fixed race condition on symlinks on initialization. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.5
Implemented cleanup of the monitors added by symlinks when the corresponding symlink is removed. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.4
low_call_callback() no longer notifies on symlinks. low_call_callback() now notifies in a more deterministic order. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.3
Survive being loaded on WIN32. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.2
First attempt at supporting monitoring of symbolic links. Rev: lib/modules/Filesystem.pmod/Monitor.pmod/symlinks.pike:1.1