* Mono.Posix.dll.sources: Rename Mono.Posix to Mono.Unix.
[mono.git] / mcs / class / Mono.Posix / Mono.Unix / ChangeLog
1 2004-11-16  Jonathan Pryor <jonpryor@vt.edu>
2
3         + Lots o' Renames, as the namespace changed.
4         * PosixConvert.cs: Moved to UnixConvert.cs:
5         * PosixDirectory.cs: Moved to UnixDirectory.cs:
6         * PosixEnvironment.cs: Moved to UnixEnvironment.cs:
7         * PosixDirectoryInfo.cs: Moved to UnixDirectoryInfo.cs:
8         * PosixFile.cs: Moved to UnixFile.cs:
9         * PosixFileInfo.cs: Moved to UnixFileInfo.cs:
10         * PosixFileSystemInfo.cs: Moved to UnixFileSystemInfo.cs:
11         * PosixGroup.cs: Moved to UnixGroup.cs:
12         * PosixGroupInfo.cs: Moved to UnixGroupInfo.cs:
13         * PosixIOException.cs: Moved to UnixIOException.cs:
14         * PosixMarshal.cs: Moved to UnixMarshal.cs:
15         * PosixProcess.cs: Moved to UnixProcess.cs:
16         * PosixStream.cs: Moved to UnixStream.cs:
17         * PosixSymbolicLinkInfo.cs: Moved to UnixSymbolicLinkInfo.cs:
18         * PosixUser.cs: Moved to UnixUser.cs:
19         * PosixUserInfo.cs: Moved to UnixUserInfo.cs:
20         * Catalog.cs, IncludeAttribute.cs, MapAttribute.cs, PeerCred.cs, Stdlib.cs,
21           Syscall.cs, UnixConvert.cs, UnixDirectory.cs, UnixDirectoryInfo.cs,
22           UnixEndPoint.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileInfo.cs,
23           UnixFileSystemInfo.cs, UnixGroup.cs, UnixGroupInfo.cs, UnixIOException.cs,
24           UnixMarshal.cs, UnixProcess.cs, UnixStream.cs, UnixSymbolicLinkInfo.cs,
25           UnixUser.cs, UnixUserInfo.cs: Deal with renamed classes/members.
26
27 2004-11-15  Jonathan Pryor <jonpryor@vt.edu>
28
29         * PosixUserInfo.cs: Make the PosixUserInfo(Passwd) constructor public;
30           override Object.GetHashCode and Object.Equals.
31         * PosixGroupInfo.cs: Make the PosixGroupInfo(Group) constructor public;
32           override Object.GetHashCode and Object.Equals.
33         * PosixIOException.cs: Use PosixMarshal.GetErrorDescription instead of
34           calling Syscall.strerror_r directly
35         * PosixMarshal.cs: Add GetErrorDescription.  Strerror_r() isn't portable, so
36           GetErrorDescription() first tries strerror_r(), and if it fails falls back
37           to strerror(3).
38         * Syscall.cs: 
39           - Seal the Dirent class.  It has no virtual members, so there's no point 
40       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
41           - Seal the Group class.  It has no virtual members, so there's no point 
42       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
43             Provide operator== and operator!=.
44           - Seal the Passwd class.  It has no virtual members, so there's no point 
45       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
46             Provide operator== and operator!=.
47           - Remove strerror_r() convenience overload.  This is now
48             PosixMarshal.GetErrorDescription().
49
50 2004-11-12  Jonathan Pryor <jonpryor@vt.edu>
51
52         * Syscall.cs: Export time-related functions (gettimeofday, settimeofday,
53           utime, utimes), mknod.
54
55 2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>
56
57         * PosixEnvironment.cs : csc build fix. see bug #69195.
58         * PosixStream.cs : csc build fix. see bug #69196.
59
60 2004-11-05  Jonathan Pryor  <jonpryor@vt.edu>
61
62         * PosixConvert.cs: New file; conversion functions for Mono.Posix types.
63         * PosixDirectory.cs: New file; Friendly wrapper over directory information.
64         * PosixDirectoryInfo.cs: New file; Friendly wrapper over directory information.
65         * PosixEnvironment.cs: New file; Friendly wrapper over environment information.
66         * PosixFile.cs: New file; Friendly wrapper over file information.
67         * PosixFileInfo.cs: New file; Friendly wrapper over file information.
68         * PosixFileSystemInfo.cs: New file; Friendly wrapper over `stat'.
69         * PosixGroup.cs: New file; User Group-related functionality
70         * PosixGroupInfo.cs: New file; User Group-related functionality
71         * PosixIOException.cs: New file; Exception for POSIX-generated exceptions.
72         * PosixMarshal.cs: New file; utility functions for marshaling, etc.
73         * PosixProcess.cs: New file; Friendly wrapper over process information.
74         * PosixStream.cs: New file; Friendly wrapper over file descriptors.
75         * PosixSymbolicLinkInfo.cs: New file; Friendly wrapper over symbolic links.
76         * PosixUser.cs: New file; Friendly wrapper over user information.
77         * PosixUserInfo.cs: New file; Friendly wrapper over user information.
78         * Stdlib.cs: New file; C standard library exports.
79         * Syscall.cs: Effective re-write.  
80           - Organize exports by header file
81           - add additional enumerations (Error for the E* error values, etc.)
82           - always explicitly specify enumeration underlying type
83           - Use a new wrapping infrastructure so that ABI-stable types are exported
84                 - For example, size_t is exported as ulong, not IntPtr.
85           - Wrap more functions, and wrap them better (such as getpwnam).
86           - This release is NOT backward compatible.  Many names are the same, and
87             hopefully they're still compatible, but no effort was made to maintain
88             compatibility.  For example, FileMode was removed and replaced with
89             FilePermissions, to avoid a name conflict with System.IO.FileMode.
90                 - Change umount() to use MonoPosixHelper: portability fix for Mac OS X.
91         * make-map.cs: Another effective re-write, to clean up the code, produce
92           better output, and produce more output.  For example, most of
93           PosixConvert can be auto-generated, so it is (modulo version delays and
94           bootstrap issues).  `map.c' is now conditional on all macros, and has
95           error checking for invalid/unsupported values.
96
97 2004-09-18  Jackson Harper  <jackson@ximian.com>
98
99         * Syscall.cs: Add support for poll ().
100
101 2004-09-18  Jackson Harper  <jackson@ximian.com>
102
103         * make-map.cs: Use field value not name for #defines.
104                 
105 2004-09-14  Loren Bandiera <lorenb@mmgsecurity.com>
106
107         * Syscall.cs: Added method for getpwnam which uses Passwd
108         struct.
109         * macros.c: Helper function for getpwnam
110         (In committing, Josh Tauberer also added getpwuid.)
111
112 2004-07-09  Dick Porter  <dick@ximian.com>
113
114         * PeerCred.cs: Get the unix socket peer credentials.
115
116 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
117
118         * Syscall.cs: Do not let the runtime handle strings, as we do not
119         own those strings, we must transform the char * into a string
120         ourselves. 
121
122 2004-05-03  Miguel de Icaza  <miguel@ximian.com>
123
124         * Syscall.cs: Add symlink
125
126 2004-04-19  Miguel de Icaza  <miguel@ximian.com>
127
128         * Syscall.cs: Use hex values for FileMode, since C# does not have
129         an octal integer mode.
130
131 2004-03-30  Joshua Tauberer <tauberer@for.net>
132
133         * Added readlink, strerror, opendir, readdir, closedir
134         * Added Mono.Posix.Stat.UnixToDateTime(long unixtime) --> DateTime
135
136 2004-03-11  Joshua Tauberer <tauberer@for.net>
137
138         * Syscall.cs: Removed argument to getgid that shouldn't be there.
139                 Added getusername, getgroupname which wrap getpwuid, getgrgid
140                 without dealing with pointers to structures.
141                 Removed duplicate FileMode enum nested in Syscall class.
142                 Added stat and lstat, which use StatMode enumeration
143                 (like FileMode but nicer and complete) and Stat struct.
144         * macros.c: Helper functions for getpwuid, getgrgid, stat, lstat.
145
146 2004-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * Syscall.cs: moved the assembly attribute to a proper place
149         and added 'signal.h'
150         * make-map.cs: use reflection to invoke the properties, as it
151         fails under MS runtime.
152         
153
154 2004-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
155
156         * Syscall.cs: moved assembly attribute and added unsafe block to fix
157         the build on windows.
158
159 2003-11-11  Wojciech Polak <polak@gnu.org
160
161         * Syscall.cs: Applied patch from Wojciech Polak <polak@gnu.org> to
162         support IsAtty.
163
164 2003-05-16  Dick Porter  <dick@ximian.com>
165
166         * UnixEndPoint.cs: New property to get and set the filename, like
167         the IPEndPoint has for the IP address.  Also implement ToString().
168
169 Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <lupus@ximian.com>
170
171         * Syscall.cs: remove the unsafe mess.
172
173 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
174
175         * Check in.
176         * UnixEndPoint.cs: first file.
177