https://www.google.com/accounts/o8/id?id=AItOawlUbH3eytydcwlWqv8oauE2Jg4NwcV9uA0
7c1f16b31a
Added a comment: Special
2012-07-20 23:45:15 +00:00
Joey Hess
b8cf9f2a7e
oops, I made it support KDE too
2012-07-20 19:38:31 -04:00
Joey Hess
163dd88ee2
blog for the day
2012-07-20 19:33:31 -04:00
Joey Hess
b48d7747a3
debugging improvements
...
add timestamps to debug messages
Add lots of debug output in the assistant's threads.
2012-07-20 19:29:59 -04:00
Joey Hess
9c7475eb46
update
2012-07-20 18:17:44 -04:00
Joey Hess
42e73537d1
detect KDE automounting
...
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.
2012-07-20 18:14:57 -04:00
Joey Hess
8b458fe564
link
2012-07-20 16:37:30 -04:00
Joey Hess
c42bf7e32e
add
2012-07-20 16:31:06 -04:00
Joey Hess
aa72a6e51e
fixed
2012-07-20 15:09:00 -04:00
Joey Hess
133b4581d1
Merge branch 'master' into assistant
2012-07-20 15:08:15 -04:00
Joey Hess
f6d4786b86
left unsafe imports here; added a comment with a rationalle
2012-07-20 15:07:48 -04:00
Joey Hess
9d26b532ab
use safe FFI imports for diskfree
...
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.
2012-07-20 15:03:58 -04:00
Joey Hess
da4c506d61
use safe FFI imports
...
This avoids blocking all threads when calling waitchange_kqueue,
which blocks.
2012-07-20 15:03:24 -04:00
http://joeyh.name/
aa1c64cb4b
Added a comment
2012-07-20 18:17:04 +00:00
Joey Hess
833bd24a33
tweak
2012-07-20 12:01:28 -04:00
http://mildred.fr/
4726639f68
added pcre-devel dependency
2012-07-20 11:05:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
55c512ff2c
2012-07-20 07:39:14 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
e99f700c90
2012-07-20 07:38:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
3e3b34ad10
2012-07-20 07:31:14 +00:00
Joey Hess
2fce3940b5
catch all errors
2012-07-20 02:16:09 -04:00
Joey Hess
d9f26115c3
use dbus to activate GduVolumeMonitor if it's not already running
2012-07-20 01:59:21 -04:00
Joey Hess
e8ccf0bd11
update
2012-07-19 23:46:24 -04:00
Joey Hess
6b4fe507f6
only use dbus when there's a client connected we know will send mount events
2012-07-19 23:34:33 -04:00
Joey Hess
bd7b5cd415
fixed
2012-07-19 21:31:04 -04:00
Joey Hess
0496a3971d
store whole Mntents
...
This way, if a mount point was already mounted, but something else
gets mounted there, it'll be seen as a new mount.
2012-07-19 21:25:26 -04:00
Joey Hess
7298507cf2
Merge branch 'master' into assistant
2012-07-19 21:22:34 -04:00
Joey Hess
ac044de486
cleanup
2012-07-19 21:20:38 -04:00
Joey Hess
4bcc92abd7
now working on OSX
...
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.
2012-07-19 21:19:29 -04:00
Joey Hess
f768cddf3a
fix build on OSX
2012-07-19 20:44:58 -04:00
Joey Hess
107a7b9388
try to make Utility.Mounts portable
...
This is an unholy mashup, but it just might work. It works on Linux,
that's all I've tested. :)
2012-07-19 20:38:58 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnbBRfl5F8gKRr1ko8Ai6FbEZStXXNF1S4
55da0fbf62
Added a comment
2012-07-19 22:41:54 +00:00
Joey Hess
d5051ec088
update
2012-07-19 16:29:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
896a8fa803
2012-07-19 18:53:23 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
f65f62c1e5
Added a comment: dbus vs polling
2012-07-19 17:38:40 +00:00
Joey Hess
5868aada92
Merge branch 'master' of ssh://git-annex.branchable.com
2012-07-19 13:19:32 -04:00
Joey Hess
c99710a310
blog for the day
2012-07-19 13:19:11 -04:00
Joey Hess
f20a40f9d4
MountWatcher thread
...
Currently only prints mount points when mounts happen.
2012-07-19 13:04:33 -04:00
Joey Hess
e2c86a4b58
extacted Mounts.hsc from hsshellscript
...
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.
2012-07-19 12:53:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo
c6e6521209
Added a comment
2012-07-19 14:41:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnbBRfl5F8gKRr1ko8Ai6FbEZStXXNF1S4
2771187f01
2012-07-19 13:56:03 +00:00
Joey Hess
1e0b7dda8c
foo
2012-07-19 01:02:22 -04:00
Joey Hess
2fdca82a64
Merge branch 'master' into assistant
2012-07-19 00:58:53 -04:00
Joey Hess
9fc94d780b
better readProcess
2012-07-19 00:57:40 -04:00
Joey Hess
1db7d27a45
add back debug logging
...
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.
2012-07-19 00:46:52 -04:00
Joey Hess
21d35f88d8
pull in transfer log code from assistant branch
...
New log file format.
2012-07-18 21:45:41 -04:00
Joey Hess
549f861999
fix parsing of startedTime
2012-07-18 20:48:08 -04:00
Joey Hess
6d70002233
show all
2012-07-18 19:52:07 -04:00
Joey Hess
61695f9f41
blog for the day
2012-07-18 19:42:29 -04:00
Joey Hess
2edb5d145c
rewrote to not use forkProcess
...
That can make the threaded runtime stall.. But it can use threads now!
2012-07-18 19:25:46 -04:00
Joey Hess
cf47bb3f50
run file transfers in threads, not processes
...
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.
2012-07-18 19:15:34 -04:00