Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compiler independent buffer alignment | Bert Münnich | 2017-05-17 | 1 | -3/+7 |
| | |||||
* | Read all available inotify events | Bert Münnich | 2017-05-17 | 1 | -27/+32 |
| | | | | Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd. | ||||
* | Simplify inotify cleanup | Bert Münnich | 2017-05-17 | 1 | -2/+2 |
| | |||||
* | Revised error reporting in autoreload_inotify | Bert Münnich | 2017-05-17 | 1 | -20/+11 |
| | | | | | No repeated error messages after failed initialization. No error messages on failed inotify_rm_watch(). | ||||
* | Fix code-style in autoreload_inotify.c | Bert Münnich | 2017-05-17 | 1 | -38/+23 |
| | |||||
* | Revised autoreload interface | Bert Münnich | 2017-05-17 | 1 | -57/+53 |
| | | | | | | | | | | | | Make the header only contain the public interface and nothing from the implementation. All functions get a handle to their self object, like the img_ and tns_ and win_ functions. All necessary data (file path) is also passed as an argument, so that no extern redeclarations are needed. Make arl_setup_dir() private, it's not called outside the module. Make arl_handle() return true if the file has changed, so that the reloading of the file can be done by the caller. | ||||
* | Add autoreload support by inotify (and dummy backend nop) | Max Voit | 2017-05-17 | 1 | -0/+154 |