aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* maintain set of files pendingAddGravatar Joey Hess2012-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.
* typoGravatar Joey Hess2012-06-20
|
* typoGravatar Joey Hess2012-06-20
|
* Merge branch 'master' into watchGravatar Joey Hess2012-06-20
|\
| * avoid ByteString.Char8 where not neededGravatar Joey Hess2012-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 commentGravatar http://joeyh.name/2012-06-20
| |
| * fixedGravatar Joey Hess2012-06-20
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-06-20
| |\
| * | unused: Fix crash when file names contain invalid utf8.Gravatar Joey Hess2012-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 StringGravatar Joey Hess2012-06-20
| | | | | | | | | | | | My, GHC makes this hard.
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs2012-06-20
| | |
| | * Added a commentGravatar http://joeyh.name/2012-06-20
| | |
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs2012-06-20
| | |
| | * Added a commentGravatar http://joeyh.name/2012-06-20
| | |
| | * Added a commentGravatar http://joeyh.name/2012-06-20
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs2012-06-20
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawnXgp-iIaBK5pnk22xqMVERQb97VyXaejs2012-06-20
| |/
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-06-19
| |\
| * | blog for the dayGravatar Joey Hess2012-06-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-19
| |/
* | add closingTracked flagGravatar Joey Hess2012-06-19
| |
| * bugGravatar Joey Hess2012-06-19
| |
| * typoGravatar Joey Hess2012-06-19
| |
* | kqueue synthetic add events on startupGravatar Joey Hess2012-06-19
| |
* | kqueue recursive directory addingGravatar Joey Hess2012-06-19
| |
| * fixedGravatar Joey Hess2012-06-19
| |
* | inverted logicGravatar Joey Hess2012-06-19
| |
| * yeahGravatar Joey Hess2012-06-19
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-06-19
| |\
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawncBlzaDI248OZGjKQMXrLVQIx4XrZrzFo2012-06-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-19
| | |
* | | fix kevent symlink creationGravatar Joey Hess2012-06-19
| | |
* | | add eventsCoalesceGravatar Joey Hess2012-06-19
| | |
| * | updateGravatar Joey Hess2012-06-19
| | |
* | | fix prototypeGravatar Joey Hess2012-06-19
| | |
* | | fix schedulingGravatar Joey Hess2012-06-19
| | | | | | | | | | | | Handle kevent interruptions in the haskell code, so it can yield to other threads
| | * Added a commentGravatar http://www.davidhaslem.com/2012-06-19
| |/
* | make --force really bypass lsof checkGravatar Joey Hess2012-06-19
| |
* | kqueue build fixGravatar Joey Hess2012-06-19
| | | | | | | | new event dispatch seems a bit broken though
* | lifted out the kqueue and inotify to a generic DirWatcher interfaceGravatar Joey Hess2012-06-18
| | | | | | | | | | Kqueue code for dispatching events is not tested and probably doesn't build.
* | Merge remote-tracking branch 'origin/watch' into watchGravatar Joey Hess2012-06-18
|\ \ | | | | | | | | | | | | Conflicts: Assistant/Watcher.hs
* | | refactorGravatar Joey Hess2012-06-19
| | |
* | | robustness fixesGravatar Joey Hess2012-06-19
| | |
| * | fix buildGravatar Joey Hess2012-06-18
| | |
* | | fix buildGravatar Joey Hess2012-06-19
|/ /
* | update kqueue when new directories are addedGravatar Joey Hess2012-06-18
| |
* | kqueue: add directory content tracking, and change determinationGravatar Joey Hess2012-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 fdsGravatar Joey Hess2012-06-18
| |