53 Commits

Author SHA1 Message Date
caea8e91b8 Removed testing in Travis from old Mono versions 2015-10-24 01:32:32 +01:00
e13c8ed9c9 Corrected copy&paste :p 2015-10-24 01:19:05 +01:00
8da2da5e8d Merge branch 'master' of github.com:claunia/Claunia.IO 2015-10-24 01:17:24 +01:00
442b112984 Added Travis job 2015-10-24 01:16:56 +01:00
ad0411a12a Corrected Markdown 2015-05-08 00:54:42 +01:00
3e24f338d8 Copy README and LICENSE to output folder 2015-05-08 00:52:34 +01:00
3e62e3ffd4 Added README 2015-05-08 00:51:49 +01:00
347e9e5f28 Changed everything to use base API type definitions, with
"using" as alias to .NET types.
2015-05-07 06:13:58 +01:00
6268db9279 Separate 32-bit from 64-bit calls. 2015-05-07 05:59:59 +01:00
9d2a1da76f Correct order of XML documentation lines. 2015-05-07 05:34:43 +01:00
6b4da34ab3 Changed everything to use base API type definitions, with
"using" as alias to .NET types.
2015-05-07 05:31:02 +01:00
0c42860fab Comment testing values not persistent across reboots. 2015-05-07 05:28:45 +01:00
bd1d5c87b8 Implemented Kernel32's GetFileInformationByHandle() and
GetFileInformationByHandleEx().
2015-05-07 04:33:28 +01:00
b57ec1a810 Added Kernel32's GetVolumeInformation. 2015-05-07 02:34:04 +01:00
075f5df111 * Claunia.IO/Claunia.IO.csproj:
* Claunia.IO/Interop/Windows/Interop.Windows.Backup.cs:
	  Added backup functions that allow to access ADSs and EAs on
	  any Windows NT version.

	* Claunia.IO/Interop/Windows/Interop.Windows.EAs.cs:
	* Claunia.IO/Interop/Windows/Interop.Windows.Files.cs:
	  Code enhancement.
2015-05-04 04:04:45 +01:00
b0aaf2f397 Added Windows Server 2003 onward functions to search for
alternate data streams.
2015-05-04 03:38:11 +01:00
609fe1b34c Added kernel32's CreateFile(). 2015-05-04 03:25:19 +01:00
b0a21e76fe Implemented NtCreateFile() calling to get file handles and
NtClose() to dispose of them.
2015-05-04 02:22:07 +01:00
19904146db * Claunia.IO/Claunia.IO.csproj:
* Claunia.IO/Interop/Windows/Interop.Windows.EAs.cs:
	  Implement callings for Extended Attributes on NT.

	* Claunia.IO/Interop/Windows/Interop.Windows.Errors.cs:
	* Claunia.IO/Interop/Windows/Interop.Windows.Libraries.cs:
	  Typo.
2015-05-04 01:34:43 +01:00
7e9d65832c Added Windows NT libraries and errors. 2015-05-04 00:05:25 +01:00
f7e1cb986f Correct extern declarations. 2015-05-03 23:05:38 +01:00
58e2321196 Implemented FreeBSD's extattr(2). 2015-05-03 23:04:20 +01:00
0af974f80f Implement FreeBSD's statfs(2). 2015-05-03 20:18:06 +01:00
ddde639ae2 Implement FreeBSD's stat(2). 2015-05-03 20:05:27 +01:00
5824798a9a Manpages are in octal, corrected typo. 2015-05-03 19:40:19 +01:00
25e5188a0b Implement FreeBSD's uname(3) 2015-05-03 19:06:33 +01:00
da6bc35df4 Add FreeBSD libc and errno. 2015-05-03 19:05:14 +01:00
04ef05fa65 Implemented Linux's stat(2). 2015-05-03 18:25:17 +01:00
ce14589a5d Add statfs(2) f_flags enumeration. 2015-05-03 18:06:05 +01:00
9812a0e6bd Implement Linux statfs(2). 2015-05-03 17:44:42 +01:00
a816622ce7 Implement Linux's listxattr(2), getxattr(2), setxattr(2),
removexattr(2)
2015-04-26 05:01:05 +01:00
77e0e8b3f3 Correct documentation. 2015-04-26 04:13:40 +01:00
5b541afd45 Un-hardcode library name. 2015-04-26 04:07:31 +01:00
d5311b8a51 Correct typos. 2015-04-26 04:06:32 +01:00
eee5668424 Implement statfs(2) and statfs64(2). 2015-04-26 04:05:39 +01:00
28e99266cc Corrected typo. 2015-04-25 22:51:59 +01:00
8a781b72f6 Added overlaying system calls. 2015-04-25 22:51:34 +01:00
717cb052a4 Added return values to documentation. 2015-04-25 22:50:30 +01:00
a5d85b676f Implemented Mac OS X getxattr(2), setxattr(2), removexattr(2)
and listxattr(2).
2015-04-25 22:48:29 +01:00
2922ef832d Implemented Mac OS X setattrlist(2). 2015-04-25 22:27:33 +01:00
3e0f058e89 * Claunia.IO/Interop/Apple/Interop.Apple.getattrlist.cs:
Documents which platform function are we calling.

	* Claunia.IO/Interop/Apple/Interop.Apple.stat.cs:
	  Documented stat and stat64

	* Claunia.IO/Interop/Apple/Interop.Apple.uname.cs:
	* Claunia.IO/Interop/Linux/Interop.Linux.uname.cs:
	  Documented uname
2015-04-25 22:25:56 +01:00
8c1718a094 Defined Mac OS X's getattrlist(2). 2015-04-25 22:16:18 +01:00
90d6b3560a Added Linux libc, errno and uname. 2015-02-12 06:50:46 +00:00
4466982328 * Claunia.IO/Claunia.IO.csproj:
* Claunia.IO/Tests/Interop.Apple.cs:
	* Claunia.IO/Interop/Apple/Interop.Apple.uname.cs:
	  Added code for uname() in OS X

	* Claunia.IO/Tests/Interop.DetectOS.cs:
	  Only compile tests in DEBUG
2015-02-12 06:28:54 +00:00
1cff36aec7 Added code to detect real OS platform. 2015-02-12 06:21:02 +00:00
80f9722efd * Claunia.IO/Interop/Apple/Interop.Apple.Errors.cs:
Added all errors defined by BSD layer of OS X.

	* Claunia.IO/Tests/Interop.Apple.cs:
	  Added tests for Apple's stat() and stat64()

	* Claunia.IO/packages.config:
	  Added NUnit to do tests.

	* Claunia.IO/Claunia.IO.csproj:
	  Added tests

	* Claunia.IO/Interop/Apple/Interop.Apple.stat.cs:
	  Mono calls stat with 32-bit inode, modify structure and add
	  stat64() call.

	* Claunia.IO/Interop/Apple/Interop.Apple.types.cs:
	  Pack structure, dunno if needed
2015-02-12 04:23:38 +00:00
5f990fb624 Interoped OS X stat(2) 2015-02-12 02:02:28 +00:00
26ad4f3184 * Claunia.IO/AppleEnums.cs:
* Claunia.IO/AppleStructs.cs:
	* Claunia.IO/Claunia.IO.csproj:
	  Added FinderInfo and FinderFlags for Apple systems.

	* Claunia.IO/FileInfo.cs:
	* Claunia.IO/DirectoryInfo.cs:
	* Claunia.IO/FileSystemInfo.cs:
	  Added FileSystemInfo class
2015-02-11 20:55:35 +00:00
f4c5a87922 Remove sporious Using statements, and formatted. 2015-02-08 03:43:27 +00:00
59063bab6b * Claunia.IO/DirectoryInfo.cs:
Created DirectoryInfo class that cheats to inherint
	  System.IO.DirectoryInfo

	* Claunia.IO/FileInfo.cs:
	  Created FileInfo class that cheats to inherint
	  System.IO.FileInfo

	* Claunia.IO/Claunia.IO.csproj:
	  Removed skeleton empty class and added DirectoryInfo and
	  FileInfo classes.
2015-02-08 03:39:34 +00:00