Commit graph

10775 commits

Author SHA1 Message Date
Joey Hess
1093302eba read inode cache file strictly to avoid failure to drop on windows
Seems that Windows doesn't allow deleting a file that the same process has open.
Here the inode cache file was read and a the value from it gets used later.
But due to laziness, the old file is still open when it gets deleted. Adding
strictness avoids this problem. Of course, the file is small, so it's no
problem to read it all strictly, so this is probably an improvement even
outside of Windows.
2013-05-13 19:29:52 -05:00
Joey Hess
73d2f8b280 deal with git using / internally, even on DOS 2013-05-12 17:29:49 -05:00
Joey Hess
a2f83b28f3 fix path separator 2013-05-12 17:18:34 -05:00
Joey Hess
06551ad86b set raw mode for git check-attr 2013-05-12 16:37:06 -05:00
Joey Hess
7a92a0f908 work around MissingH's absNormPath not working on Windows 2013-05-12 16:36:44 -05:00
Joey Hess
2f3ce4c02f fix 2013-05-12 15:43:59 -05:00
Joey Hess
94c9c983e6 check addition env vars so it works on Windows outside of Cygwin 2013-05-12 15:38:15 -05:00
Joey Hess
73da744680 make work on windows 2013-05-12 15:38:00 -05:00
Joey Hess
838b984797 deal with dos path separators 2013-05-12 15:37:32 -05:00
Joey Hess
167bee746c fixes for windows 2013-05-12 13:58:46 -05:00
Joey Hess
4fe293bddf fix windows build 2013-05-12 12:24:46 -05:00
Joey Hess
abe8d549df fix permission damage (thanks, Windows) 2013-05-11 23:54:25 -04:00
Joey Hess
5e1458152f refactoring 2013-05-11 23:11:56 -04:00
Joey Hess
1e2ddcb68a use setCurrentDirectory
On POSIX, this just calls changeWorkingDirectory.
2013-05-11 19:14:30 -04:00
Joey Hess
18bdff3fae clean up from windows porting 2013-05-11 18:23:41 -04:00
Joey Hess
d6bf05a66d fixes for Unix build 2013-05-11 17:27:21 -04:00
Joey Hess
924ed999c5 add unix-compat to deps 2013-05-11 17:21:12 -04:00
Joey Hess
dc22549ab3 git annex init works on Windows!
git hash-object and cat-file both only use \n at ends of line, even on Windows.
2013-05-11 16:02:35 -05:00
Joey Hess
93e3c8a09a no need to stub moveFile, it works 2013-05-11 16:02:22 -05:00
Joey Hess
c45a723876 catFile expects no \r, even on Windows 2013-05-11 15:32:34 -05:00
Joey Hess
3c7e30a295 git-annex now builds on Windows (doesn't work) 2013-05-11 15:03:00 -05:00
Joey Hess
3a7eb68c1a use unix-compat, removed a lot of stubs in Utility.FileMode 2013-05-11 11:16:47 -05:00
Joey Hess
763cbda14f fixup #if 0 stubs to use #ifndef mingw32_HOST_OS
That's needed in files used to build the configure program.
For the other files, I'm keeping my __WINDOWS__ define, as I find that much easier to type.
I may search and replace it to use the mingw32_HOST_OS thing later.
2013-05-10 16:57:21 -05:00
Joey Hess
6c74a42cc6 stub out POSIX stuff 2013-05-10 16:29:59 -05:00
Joey Hess
e5f1ca7b4b avoid build depending on unix in windows 2013-05-10 15:37:38 -05:00
Joey Hess
07b0bf4cee only update version in cabal file on release builds
This was being very annoying in windows.
2013-05-10 15:36:31 -05:00
Joey Hess
524ffd1e68 fix changelog version parse to work on windows
The CHANGELOG file, as a symlink, cannot be read on windows. So read
debian/changelog. Also, newline compat.
2013-05-10 15:26:53 -05:00
Joey Hess
258af9c6da explicity use sh -c when running shell commands
This is necessary to work in Windows. (And will only work when building in Cygwin.)
2013-05-10 15:21:32 -05:00
Joey Hess
a05b4619bb stub out posix stuff for Windows
This is enough to let the configure program build.
2013-05-10 15:08:53 -05:00
85.255.197.126
767a39bd42 poll vote (/sdcard/annex) 2013-05-10 15:43:14 +00:00
http://edheil.wordpress.com/
0cae52901b Added a comment 2013-05-10 12:52:49 +00:00
https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7
af7a6497e7 Added a comment 2013-05-10 04:23:28 +00:00
http://edheil.wordpress.com/
a7e62f906c Added a comment 2013-05-10 04:11:53 +00:00
http://edheil.wordpress.com/
7d92f88fb6 Added a comment 2013-05-10 04:11:23 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnkBYpLu_NOj7Uq0-acvLgWhxF8AUEIJbo
1200a8cf7f Added a comment 2013-05-10 04:01:38 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnkBYpLu_NOj7Uq0-acvLgWhxF8AUEIJbo
f9f931ab00 Added a comment 2013-05-10 03:50:26 +00:00
https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7
5eefce6c89 Added a comment 2013-05-10 03:21:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnkBYpLu_NOj7Uq0-acvLgWhxF8AUEIJbo
de2b537c3d 2013-05-10 00:12:44 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmSbJHbvlxbCjtPXk_Io3qP3MFqJr3pUgQ
0ce3662b76 Added a comment: New permission type 2013-05-09 22:01:38 +00:00
tomas
c1cc9ca391 2013-05-09 20:31:23 +00:00
tomas
1f08a92368 2013-05-09 20:26:45 +00:00
Joey Hess
f7ee986575 Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-09 16:23:18 -04:00
Joey Hess
04c1540c93 blog for the day 2013-05-09 16:21:25 -04:00
Joey Hess
f2118ab6be bugfix 2013-05-09 16:09:43 -04:00
Joey Hess
420d73bd0d Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-09 15:24:09 -04:00
Joey Hess
7c2a90b0e8 fix for Android 2013-05-09 15:23:40 -04:00
Joey Hess
69393ec58b remove stubs 2013-05-09 14:59:29 -04:00
Joey Hess
311036a92f update 2013-05-09 14:44:58 -04:00
Joey Hess
09e4ab1a83 update 2013-05-09 14:10:13 -04:00
Joey Hess
fa1f3cdb9e typo 2013-05-09 14:07:53 -04:00