summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* debugging improvementsGravatar Joey Hess2012-07-20
| | | | | | add timestamps to debug messages Add lots of debug output in the assistant's threads.
* detect KDE automountingGravatar Joey Hess2012-07-20
| | | | | | | | Best dbus events I could find were setupDone from org.kde.Solid.Device. There may be some spurious events, but that's ok, the code will only check to see if new mounts are available. It does not try to auto-start this service if it's not running.
* Merge branch 'master' into assistantGravatar Joey Hess2012-07-20
|\
* | left unsafe imports here; added a comment with a rationalleGravatar Joey Hess2012-07-20
| |
* | use safe FFI imports for diskfreeGravatar Joey Hess2012-07-20
| | | | | | | | | | | | There's a minor performance overhead to doing this, but this way I don't have to worry about a situation where statfs might block for a long time. For example, when it's on a network filesystem.
* | use safe FFI importsGravatar Joey Hess2012-07-20
| | | | | | | | | | This avoids blocking all threads when calling waitchange_kqueue, which blocks.
* | tweakGravatar Joey Hess2012-07-20
| |
* | catch all errorsGravatar Joey Hess2012-07-20
| |
* | use dbus to activate GduVolumeMonitor if it's not already runningGravatar Joey Hess2012-07-20
| |
| * updateGravatar Joey Hess2012-07-19
| |
* | only use dbus when there's a client connected we know will send mount eventsGravatar Joey Hess2012-07-19
| |
| * fixedGravatar Joey Hess2012-07-19
| |
* | store whole MntentsGravatar Joey Hess2012-07-19
| | | | | | | | | | This way, if a mount point was already mounted, but something else gets mounted there, it'll be seen as a new mount.
* | Merge branch 'master' into assistantGravatar Joey Hess2012-07-19
|\ \
* | | cleanupGravatar Joey Hess2012-07-19
| | |
* | | now working on OSXGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | | | | | | | | While this seems to work fine when used in a simple program, when I load it in ghci, it segfaults about half the time. Don't know why, and seems ghci specific, but if I get reports of crashes, I'll need to look into that.
* | | fix build on OSXGravatar Joey Hess2012-07-19
| | |
* | | try to make Utility.Mounts portableGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | | This is an unholy mashup, but it just might work. It works on Linux, that's all I've tested. :)
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawnbBRfl5F8gKRr1ko8Ai6FbEZStXXNF1S42012-07-19
| | |
* | | updateGravatar Joey Hess2012-07-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-07-19
| | |
| | * Added a comment: dbus vs pollingGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2012-07-19
| |/
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-07-19
| |\
| * | blog for the dayGravatar Joey Hess2012-07-19
| | |
* | | MountWatcher threadGravatar Joey Hess2012-07-19
| | | | | | | | | | | | Currently only prints mount points when mounts happen.
* | | extacted Mounts.hsc from hsshellscriptGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Converted from using c2hs to using hsc2hs, just because other code in git-annex uses hsc2hs. Various cleanups. This code is LGPLed, so I had to include that licence.
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo2012-07-19
| | |
| | * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawnbBRfl5F8gKRr1ko8Ai6FbEZStXXNF1S42012-07-19
| |/
* | fooGravatar Joey Hess2012-07-19
| |
* | Merge branch 'master' into assistantGravatar Joey Hess2012-07-19
|\|
* | better readProcessGravatar Joey Hess2012-07-19
| |
* | add back debug loggingGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Make Utility.Process wrap the parts of System.Process that I use, and add debug logging to them. Also wrote some higher-level code that allows running an action with handles to a processes stdin or stdout (or both), and checking its exit status, all in a single function call. As a bonus, the debug logging now indicates whether the process is being run to read from it, feed it data, chat with it (writing and reading), or just call it for its side effect.
| * pull in transfer log code from assistant branchGravatar Joey Hess2012-07-18
| | | | | | | | New log file format.
* | fix parsing of startedTimeGravatar Joey Hess2012-07-18
| |
| * show allGravatar Joey Hess2012-07-18
| |
| * blog for the dayGravatar Joey Hess2012-07-18
| |
* | rewrote to not use forkProcessGravatar Joey Hess2012-07-18
| | | | | | | | That can make the threaded runtime stall.. But it can use threads now!
* | run file transfers in threads, not processesGravatar Joey Hess2012-07-18
| | | | | | | | | | | | This should fix OSX/BSD issues with not noticing transfer information files with kqueue. Now that threads are used, the thread can manage the transfer slot allocation and deallocation by itself; much cleaner.
* | add thread id field to transferinfoGravatar Joey Hess2012-07-18
| | | | | | | | | | Also converted its timestand to posix seconds, like is used in the other log files.
* | add missing importsGravatar Joey Hess2012-07-18
| |
* | Merge branch 'threaded' into assistantGravatar Joey Hess2012-07-18
|\ \
| * | switch from System.Cmd.Utils to System.ProcessGravatar Joey Hess2012-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test suite now passes with -threaded! I traced back all the hangs with -threaded to System.Cmd.Utils. It seems it's just crappy/unsafe/outdated, and should not be used. System.Process seems to be the cool new thing, so converted all the code to use it instead. In the process, --debug stopped printing commands it runs. I may try to bring that back later. Note that even SafeSystem was switched to use System.Process. Since that was a modified version of code from System.Cmd.Utils, it needed to be converted too. I also got rid of nearly all calls to forkProcess, and all calls to executeFile, which I'm also doubtful about working well with -threaded.
| * | Merge branch 'master' into threadedGravatar Joey Hess2012-07-18
| |\|
| * | more debuggingGravatar Joey Hess2012-07-18
| | |
| | * blog for the day and updatesGravatar Joey Hess2012-07-17
| | |
* | | cleanupGravatar Joey Hess2012-07-17
| | |
* | | bugfixGravatar Joey Hess2012-07-17
| | |
* | | kqueue: properly call delHook for file deletion, not delDirHookGravatar Joey Hess2012-07-17
| | |
* | | avoid parsing lock files as transfer filesGravatar Joey Hess2012-07-17
| | | | | | | | | | | | | | | This seems to happen with kqueue, not inotify. The newly added lck file triggers an add event and was then parsed as a transfer file.
* | | bugfixGravatar Joey Hess2012-07-17
| | |