Commit graph

16200 commits

Author SHA1 Message Date
Joey Hess
011b8bc7ec pull in Win32-extras, to be able to get current process id in Windows
Fixed up a number of things that had worked around there not being a way to
get that.

Most notably, transfer info files on windows now include the process id,
since no locking is currently done. This means the file format varies
between windows and unix.
2013-12-11 00:15:10 -04:00
Joey Hess
c01af6285f typo 2013-12-10 23:55:15 -04:00
Joey Hess
ecd42aef8e different PID types for Unix and Windows
Windows has a larger (unsigned) PID space, so cannot use the unix CInt
there.

Note that TransferInfo does not yet ever get the TransferPid populated,
as there is missing locking.
2013-12-10 23:48:42 -04:00
Joey Hess
2fd63f3cfa port transferkeys to windows; make stopping in progress transfers work too (probably)
transferkeys had used special FDs for communication, but that would be
quite annoying to do in Windows.

Instead, use stdin and stdout. But, to avoid commands like rsync stomping
on them and messing up the communications channel, they're duplicated to a
different handle; stdin is replaced with a null handle, and stdout is
replaced with a copy of stderr. This should all work in windows too.

Stopping in progress transfers may work on windows.. if the types unify
anyway. ;) May need some more porting.
2013-12-10 23:19:18 -04:00
Joey Hess
0fbbe79d8f Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-10 18:30:18 -04:00
Joey Hess
f805ff8b2b devblog 2013-12-10 18:29:42 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkQafKy7hNSEolLs6TvbgUnkklTctUY9LI
7fcba8e61b Added a comment: Not a backup system... 2013-12-10 20:55:12 +00:00
Joey Hess
e6c4f550d8 repair: Remove damaged git-annex sync branches. 2013-12-10 16:17:49 -04:00
Joey Hess
b37323d857 update 2013-12-10 15:48:24 -04:00
Joey Hess
c0ce3269e9 accidentially committed wrong version of file 2013-12-10 15:45:22 -04:00
Joey Hess
bc0b8b6465 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-10 15:40:49 -04:00
Joey Hess
ce045a51af Improve repair of git-annex index file.
Fixes a test case I received where a corrupted repo was repaired, but the
git-annex branch was not. The root of the problem was that the
MissingObject returned by the repair code was not necessarily a complete
set of all objects that might have been deleted during the repair.

So, stop trying to return that at all, and instead make the index file
checking code explicitly verify that each object the index uses is present.
2013-12-10 15:40:01 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlqimC5gbxsILaBlnuVXYtfSMDIhiyvHfw
4af6fa8033 Added a comment 2013-12-10 19:34:07 +00:00
Joey Hess
714e031d19 todo 2013-12-10 14:34:35 -04:00
Joey Hess
4a769c6d8d clean 2013-12-10 14:33:36 -04:00
Joey Hess
c1c1171ee9 update warp to fixed version 2013-12-10 14:31:47 -04:00
Joey Hess
2779e7902a remove debug 2013-12-10 14:22:17 -04:00
Joey Hess
6c1a50b4ea fix EvilLinker to not stomp on environment 2013-12-10 14:21:22 -04:00
Joey Hess
012b31548b try setting even more variables, surely one must control the tmp dir 2013-12-10 14:09:11 -04:00
Joey Hess
147349057e argh 2013-12-10 14:07:18 -04:00
Joey Hess
880aeafed8 debug 2013-12-10 14:00:22 -04:00
Joey Hess
2b13776449 remove debug 2013-12-10 13:56:08 -04:00
Joey Hess
5315efa3d6 parse out additional env vars when running collect2 2013-12-10 13:51:52 -04:00
Joey Hess
ccb944c85a didn't work 2013-12-10 13:16:44 -04:00
Joey Hess
656ae5f823 try setting TMPDIR for collect2 to not use C:\Windows 2013-12-10 12:53:37 -04:00
Joey Hess
5f859e648c debug 2013-12-10 12:50:04 -04:00
Joey Hess
d764fcf842 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-10 12:44:32 -04:00
Joey Hess
902d14b2ee remove debug 2013-12-10 12:43:42 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmmA6YpvP2dFDs5rMlhBWEWWgo2IZjOQGo
7ce1f5780d 2013-12-10 16:05:38 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmmA6YpvP2dFDs5rMlhBWEWWgo2IZjOQGo
deab842a65 2013-12-10 16:03:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmmA6YpvP2dFDs5rMlhBWEWWgo2IZjOQGo
6504c2d934 more info 2013-12-10 16:02:02 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmmA6YpvP2dFDs5rMlhBWEWWgo2IZjOQGo
aaac314b82 2013-12-10 16:00:15 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnpmMRq6lo2NBrlmoxZQljaU_IaWsWB7qw
e35cfebb61 Added a comment: direct mode and vanishing files 2013-12-10 12:40:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8
5c06a9bc1f 2013-12-10 12:38:59 +00:00
Joey Hess
2c7c07286c update 2013-12-10 01:45:21 -04:00
Joey Hess
5b0cb642c9 warning 2013-12-10 01:35:27 -04:00
Joey Hess
7c5261efb1 import fixes 2013-12-10 01:26:52 -04:00
Joey Hess
89b5256f09 missing include 2013-12-10 01:21:39 -04:00
Joey Hess
063a183a61 windows disk free space checking 2013-12-10 01:18:04 -04:00
Joey Hess
8699a36438 update 2013-12-10 01:00:10 -04:00
Joey Hess
85e97e2976 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-10 00:47:24 -04:00
Joey Hess
540d4a05fe build installer 2013-12-10 00:45:21 -04:00
Joey Hess
855177f83b requesting admin didn't work (or only on vista) 2013-12-10 00:45:07 -04:00
Joey Hess
8ce7b9d222 typo 2013-12-10 00:37:58 -04:00
Joey Hess
cd765576d2 remove menu item on uninstall 2013-12-10 00:37:06 -04:00
Joey Hess
db8a980c70 request admin rights at install 2013-12-10 00:32:08 -04:00
Joey Hess
29f440289b start minimized 2013-12-10 00:26:14 -04:00
Joey Hess
7d9b3e9598 fixes 2013-12-10 00:17:20 -04:00
Joey Hess
1d0f77fca2 try to make a start menu shortcut 2013-12-10 00:13:15 -04:00
http://a-or-b.myopenid.com/
39c97d1f2a 2013-12-10 00:15:42 +00:00