Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | maintain set of files pendingAdd | Joey Hess | 2012-06-20 |
| | | | | | | | | Kqueue needs to remember which files failed to be added due to being open, and retry them. This commit gets the data in place for such a retry thread. Broke KeySource out into its own file, and added Eq and Ord instances so it can be stored in a Set. | ||
* | typo | Joey Hess | 2012-06-20 |
| | |||
* | typo | Joey Hess | 2012-06-20 |
| | |||
* | Merge branch 'master' into watch | Joey Hess | 2012-06-20 |
|\ | |||
| * | avoid ByteString.Char8 where not needed | Joey Hess | 2012-06-20 |
| | | | | | | | | | | Its truncation behavior is a red flag, so avoid using it in these places where only raw ByteStrings are used, without looking at the data inside. | ||
| * | Added a comment | http://joeyh.name/ | 2012-06-20 |
| | | |||
| * | fixed | Joey Hess | 2012-06-20 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-20 |
| |\ | |||
| * | | unused: Fix crash when file names contain invalid utf8. | Joey Hess | 2012-06-20 |
| | | | | | | | | | | | | | | | | | | Was decoding the git-cat-file of the symlink target as utf8, but that can't do, unix filenames are from the 70's and need this shiny disco fileSystemEncoding. | ||
| * | | [Word8] to filesystem encoded String | Joey Hess | 2012-06-20 |
| | | | | | | | | | | | | My, GHC makes this hard. | ||
| | * | Added a comment | https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs | 2012-06-20 |
| | | | |||
| | * | Added a comment | http://joeyh.name/ | 2012-06-20 |
| | | | |||
| | * | Added a comment | https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs | 2012-06-20 |
| | | | |||
| | * | Added a comment | http://joeyh.name/ | 2012-06-20 |
| | | | |||
| | * | Added a comment | http://joeyh.name/ | 2012-06-20 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs | 2012-06-20 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs | 2012-06-20 |
| |/ | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-19 |
| |\ | |||
| * | | blog for the day | Joey Hess | 2012-06-19 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-19 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-19 |
| |/ | |||
* | | add closingTracked flag | Joey Hess | 2012-06-19 |
| | | |||
| * | bug | Joey Hess | 2012-06-19 |
| | | |||
| * | typo | Joey Hess | 2012-06-19 |
| | | |||
* | | kqueue synthetic add events on startup | Joey Hess | 2012-06-19 |
| | | |||
* | | kqueue recursive directory adding | Joey Hess | 2012-06-19 |
| | | |||
| * | fixed | Joey Hess | 2012-06-19 |
| | | |||
* | | inverted logic | Joey Hess | 2012-06-19 |
| | | |||
| * | yeah | Joey Hess | 2012-06-19 |
| | | |||
| * | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2012-06-19 |
| |\ | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-19 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawncBlzaDI248OZGjKQMXrLVQIx4XrZrzFo | 2012-06-19 |
| | | | |||
| | * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus | 2012-06-19 |
| | | | |||
* | | | fix kevent symlink creation | Joey Hess | 2012-06-19 |
| | | | |||
* | | | add eventsCoalesce | Joey Hess | 2012-06-19 |
| | | | |||
| * | | update | Joey Hess | 2012-06-19 |
| | | | |||
* | | | fix prototype | Joey Hess | 2012-06-19 |
| | | | |||
* | | | fix scheduling | Joey Hess | 2012-06-19 |
| | | | | | | | | | | | | Handle kevent interruptions in the haskell code, so it can yield to other threads | ||
| | * | Added a comment | http://www.davidhaslem.com/ | 2012-06-19 |
| |/ | |||
* | | make --force really bypass lsof check | Joey Hess | 2012-06-19 |
| | | |||
* | | kqueue build fix | Joey Hess | 2012-06-19 |
| | | | | | | | | new event dispatch seems a bit broken though | ||
* | | lifted out the kqueue and inotify to a generic DirWatcher interface | Joey Hess | 2012-06-18 |
| | | | | | | | | | | Kqueue code for dispatching events is not tested and probably doesn't build. | ||
* | | Merge remote-tracking branch 'origin/watch' into watch | Joey Hess | 2012-06-18 |
|\ \ | | | | | | | | | | | | | Conflicts: Assistant/Watcher.hs | ||
* | | | refactor | Joey Hess | 2012-06-19 |
| | | | |||
* | | | robustness fixes | Joey Hess | 2012-06-19 |
| | | | |||
| * | | fix build | Joey Hess | 2012-06-18 |
| | | | |||
* | | | fix build | Joey Hess | 2012-06-19 |
|/ / | |||
* | | update kqueue when new directories are added | Joey Hess | 2012-06-18 |
| | | |||
* | | kqueue: add directory content tracking, and change determination | Joey Hess | 2012-06-18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This *may* now return Add or Delete Changes as appropriate. All I know for sure is that it compiles. I had hoped to avoid maintaining my own state about the content of the directory tree, and rely on git to check what was changed. But I can't; I need to know about new and deleted subdirectories to add them to the watch list, and git doesn't deal with (empty) directories. So, wrote all the code to scan directories, remember their past contents, compare with current contents, generate appropriate Change events, and update bookkeeping info appropriately. | ||
* | | close fds | Joey Hess | 2012-06-18 |
| | |