1 2005-05-18 Jonathan Pryor <jonpryor@vt.edu>
3 * Stdlib.cs: Correct Mono_Posix_Stdlib_InvokeSignalHandler export.
5 2005-05-18 Jonathan Pryor <jonpryor@vt.edu>
7 * make-map.cs: Process the Mono.Posix namespace as well as Mono.Unix; add
8 mapping for Boolean => int for native type conversion.
10 2005-05-18 Jonathan Pryor <jonpryor@vt.edu>
12 * make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
13 methods across all types and generates a C header file declaration for
14 those methods. This allows us to ensure consistency between
15 Mono.Posix.dll and MonoPosixHelper.so. Rename WrapperFileGenerator to
16 ConvertFileGenerator (it generates UnixConvert).
17 * MapAttribute.cs, IncludeAttribute.cs: Make these internal -- there's no
18 reason for external users to even know these exist.
19 * StdioFileStream.cs: Move GC.SuppressFinalize call to be last Dispose()
20 call. This follows current design guidelines, and allows an exception to
21 be thrown from Dispose() without un-registering the finalizer.
22 * Syscall.cs: Change method declarations to match MonoPosixHelper, etc.
23 - posix_fallocate(P) takes a size_t
24 - mis-spelled settimeofday(2), sethostname(2)
25 - exec(2) can be public; it's safe to call
26 - change lseek(2) so int's are passed to MonoPosixHelper.so, not shorts
27 - We can't allow two incompatible prototypes to exist (since C allows
28 only one prototype, and we're cross-checking prototypes now). Change
29 utime(2) so only one prototype is needed.
30 * UnixMarshal.cs: ErrorMarshal.ErrorTranslator and ErrorMarshal.Translate
31 shouldn't be public; make them internal.
32 * UnixStream.cs: Remove `unsafe` code block when a "safe" alternative works;
33 Close() should also call GC.SuppressFinalize.
35 2005-05-12 Jonathan Pryor <jonpryor@vt.edu>
37 * Syscall.cs: The Statvfs structure should contain a MountFlags enumeration,
38 not a ulong (we can "safely" do this since POSIX defines some values for
39 f_flag, so we should be kind and expose them).
40 * UnixConvert.cs: Add MountFlags conversion functions.
42 2005-05-02 Joe Shaw <joeshaw@novell.com>
44 * UnixListener.cs (Init): Remove the call to Cleanup() and the
45 method itself, which was not supposed to be here. We try to
46 connect to the socket if it exists instead of deleting it
49 2005-04-30 Ben Maurer <bmaurer@ximian.com>
51 * Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
52 isn't supported in the runtime -- it throws an assert -- so better
53 not to use it at all for now.
55 2005-04-29 Jonathan Pryor <jonpryor@vt.edu>
57 * UnixConvert.cs: Fix time_t -> DateTime conversions. time_t should be
58 assumed to be in the local time zone, so don't mess with UTC shifts.
59 This allows Mono.Unix to produce sane output (e.g. identical to ls(1) or
60 stat(1), instead of several hours different).
62 2005-04-29 Jonathan Pryor <jonpryor@vt.edu>
64 * Stdlib.cs: Make FilePosition slightly more useful by providing a
65 ToString() override which dumps the fpos_t structure contents into a
66 hex string. Add Equals(), GetHashCode(), operator==, and operator!=
67 so FilePosition behaves like a value type.
69 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
72 * UnixListener.cs: TcpListener/TcpClient clones from Jow Shaw.
74 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76 * Mono.Posix.dll.sources: added UnixListener and UnixClient from Joe
79 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81 * UnixEndPoint.cs: fix from Mono.Posix.
83 2005-04-20 Jonathan Pryor <jonpryor@vt.edu>
85 * Syscall.cs: Make all fork(2) and exec(2) functions `private`. It
86 currently isn't safe to call these under *any* circumstances. See also
87 68141, and this pertinent quote from Butenhof's
88 "Programming with POSIX Threads", p197, s6.1:
90 "When a threaded process calls fork to create a child process,
91 Pthreads specifies that only the thread calling fork exists in the
92 child. ... Pthreads does not 'terminate' the other threads in a forked
93 process...They simply cease to exist. ... This is not a problem if
94 the child process is about to call exec to run a new program, but if
95 you use fork to clone a threaded program, beware that you may lose
96 access to memory, especially heap memory stored only as
97 thread-specific data values."
99 Since P/Invoke currently requires using thread local storage, once you
100 fork(2) you won't be able to invoke exec(2) from managed code (since that
101 would require a P/Invoke transition to call exec(2), which would require
102 TLS, which doesn't exist in the new process).
104 This can only be fixed by removing the TLS dependency on P/Invoke, which
105 isn't a priority (and may not be possible).
107 The workaround is to create a C function which does your fork(2)/exec(2)
108 (and any other functions such as daemon(3)) on your behalf, and P/Invoke
109 to call this C function.
111 2005-04-18 Jonathan Pryor <jonpryor@vt.edu>
113 * Syscall.cs: Update comment specifying which functions belong in Syscall.
114 * UnixConvert.cs: Add XattrFlags conversion functions.
115 * UnixMarshal.cs: Remove warning about self-assignment.
117 2005-04-16 Daniel Drake <dsd@gentoo.org>
119 * Syscall.cs: Add bindings for extended attribute manipulation
121 2005-04-05 Miguel de Icaza <miguel@novell.com>
123 * Syscall.cs: Set entry point for sys_syslog to be syslog.
124 Include the syslog.h header in the generated map so that we
125 actually do the mapping.
127 2005-03-28 Jonathan Pryor <jonpryor@vt.edu>
129 * UnixConvert.cs: Add ToFopenMode() methods, which convert FileMode/FileAccess
130 into an fopen(3) mode string. ToOpenFlags() should throw
131 ArgumentOutOfRangeException for argument violations.
132 * StdioFileStream.cs: Add constructor overloads accepting filename and
133 FileMode/FileAccess overloads; Compatibility fixes with regression tests;
134 remove IDisposable implementation since System.IO.Stream already
135 implements it (which calls Close() for us).
137 2005-03-17 Jonathan Pryor <jonpryor@vt.edu>
139 * Stdlib.cs: Move Errno-related functionality into Stdlib from Syscall,
140 since (1) errno is part of C89, and (2) StdioFileStream will need it, and
141 StdioFileStream shouldn't use Syscall. Add [UnmanagedFunctionPointer]
142 attribute to SignalHandler for .NET 2.0 (since signal handlers use C
143 calling convention, not Stdcall).
144 * Syscall.cs: Move Errno-related functionality into Stdlib.
145 * UnixMarshal.cs: Use ERANGE not EPERM when figuring out appropriate
146 translator, since ERANGE is part of C99 and EPERM isn't. Use Stdlib
147 instead of Syscall for Errno-related functionality.
149 2005-02-02 Jonathan Pryor <jonpryor@vt.edu>
151 * UnixFile.cs: Cope with changes in UnixStream.
152 * UnixStream.cs: Change FileDescriptor property to Handle for consistency.
153 * StdioFileStream.cs: Change FileStream property to Handle for consistency.
155 2005-02-02 Jonathan Pryor <jonpryor@vt.edu>
157 * Syscall.cs: Remove public sys_ methods. Some were public by mistake, and
158 others so that users could manually marshal strings if desired. Manually
159 marshaling strings shouldn't be necessary, though, so remove them too.
161 2005-02-02 Jonathan Pryor <jonpryor@vt.edu>
163 * StdioFileStream.cs: Fix Length property to actually return the size of the
164 file, not the # of bytes from the current position to EOF. Oops.
166 2005-01-31 Jonathan Pryor <jonpryor@vt.edu>
168 * Stdlib.cs: Import "msvcrt", not "libc". These members are part of the
169 ANSI C standard, and thus should be present on Windows via msvcrt.dll
170 (except snprintf, until they catch up to C99). Change the calling
171 convention of all functions to Cdecl, as the .NET default is Stdcall.
172 Changing the calling convention isn't needed in Syscall, as it can only be
173 run on Unix platforms anyway, where the default is Cdecl.
174 * Syscall.cs: Add LIBC member that points to the real "libc"; we can't use
175 the imported definition from Stdlib as "msvcrt" doesn't exist on Unix.
177 2005-01-29 Jonathan Pryor <jonpryor@vt.edu>
179 * Stdlib.cs: sys_* functions shouldn't be public.
181 2005-01-13 Jonathan Pryor <jonpryor@vt.edu>
183 * make-map.cs: libMonoPosixHelper exports Mono_Posix prefixes, not Mono_Unix
184 prefixes, so change the type and namespace to generate compatible code.
185 * Syscall.cs: Change OpenFlags values so they match the Linux values.
187 2005-01-13 Jonathan Pryor <jonpryor@vt.edu>
189 * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
190 * StdioFileStream.cs: Add FilePosition property (not that I expect anyone to
191 use it) and Rewind() method.
193 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
195 * StdioFileStream.cs: Added; System.IO.Stream wrapper for C FILE struct.
196 * Stdlib.cs: Correct visibility of ftell().
198 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
200 * Stdlib.cs: Re-order declarations to match the order used in the
201 C99 Standard Annex B; Complete <stdio.h> exports (except for those not
202 worth supporting); Add non-"unsafe" versions of fread(3), fwrite(3) and
203 add some rudimentary buffer-overflow checking; Add <stdlib.h> exports such
204 as getenv(3), exit(3), rand(3), EXIT_SUCCESS, RAND_MAX, etc.
206 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
208 * Syscall.cs: Update endfsent() and setfsent() declarations, as these must
209 now be implemented in MonoPosixHelper.
211 2005-01-01 Jonathan Pryor <jonpryor@vt.edu>
213 * Stdlib.cs, Syscall.cs: Minimize duplicate declarations of
214 "MonoPosixHelper" for use in DllImport statements.
216 2005-01-01 Jonathan Pryor <jonpryor@vt.edu>
218 * Stdlib.cs: Don't use C# v2 features; fixes build under CSC.EXE.
220 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
222 * Stdlib.cs: On miguel's suggestion, rename Sighandler_t to SignalHandler.
224 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
226 * Stdlib.cs: Implement all C89 <stdio.h> functions except for the scanf(3)
227 family. These are too dangerous to expose.
229 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
231 * CdeclFunctions.cs: Remove warning about unused variable.
232 * Stdlib.cs: Make signal(2) sane and (hopefully) complete.
233 * Syscall.cs: Fix cuserid Obsolete message to reference correct class name.
234 * UnixProcess.cs: Remove warning about unused variable.
235 * UnixMarshal.cs: Remove warnings about unused variables.
237 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
239 * UnixPath.cs: Add ReadSymbolicLink(), which takes an intelligent approach
240 to reading symlinks (since their contents may be any size, we grow the
241 buffer dynamically to fit them all, instead of assuming a maximum size).
242 * UnixSymbolicLinkInfo.cs: Remove MaxContentsSize.
244 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
246 * UnixPath.cs: Add check for when symlink points to a full path name.
248 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
250 * Syscall.cs: Fix Object.Equals implementations.
251 * UnixPath.cs: New & improved, with Testing! GetRealPath() is changed so
252 that it doesn't walk the entire path looking for symlinks, it just reads
253 the leaf. GetCompletRealPath() walks the entire path resolving symlinks.
254 GetCanonicalPath() added, which "cleans up" a path (removing extraneous
255 "." and ".." entries).
256 * UnixSymbolicLinkInfo.cs: Rename ContentsLength -> MaxContentsSize.
258 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
260 * UnixFileSystemInfo.cs: Add a link(2) wrapper, CreateLink(). Strictly
261 speaking it's only "safe" to do this on files, but an exception will be
262 returned if the user tries to hard link directories (because of EPERM),
263 unless the user is root, in which case it should be allowed anyway...
265 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
267 * CdeclFunctions.cs: Correct the comments for AMD64
268 * UnixDirectoryInfo.cs: override Name; add Parent & Root properties;
269 Correct Path usage (s/Path/FullPath/g).
270 * UnixDriveInfo.cs: Added. Based on .NET 2.0 System.IO.DriveInfo docs,
271 provides statvfs(2) and getfsfile(3) information about a mounted volume.
272 GetDrives() wraps getfsent(3), thus parsing /etc/fstab.
273 * UnixFile.cs: Use UnixConver.ToOpenFlags, deleting the local version.
274 * UnixFileInfo.cs: Use UnixConver.ToOpenFlags, deleting the local version;
275 override Name; add DirectoryName and Directory properties;
276 * UnixFileSystemInfo.cs: Make more .NET-like, using FullPath and
277 OriginalPath protected members, abstract Name property; Add
278 CreateSymbolicLink; Remove ReadLink (it's now
279 UnixSymbolicLinkInfo.Contents); Use lstat(2) for Create(string), so we
280 properly detect Symbolic Links.
281 * UnixPath.cs: Added; Path manipulation utility functions.
282 * UnixSymbolicLinkInfo.cs:
284 - override new abstract member Name;
285 - rename ReadLink to ContentsPath (and Contents) properties
286 (why "Contents"? Because readlink(2) says "readlink places the
287 contents of the symbolic link in the buffer...")
288 - Add CreateSymbolicLinkTo(), which creates a symlink to the specified
291 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
293 * Stdlib.cs: Add syslog(3) to XPrintfFunctions; Add additional printf(3)
294 and fprintf(3) overload which properly escape the format string
295 (by using "%s" as the format for the user-supplied message).
296 * Syscall.cs: Add #regions for enummerations, structures, classes; Wrap
297 syslog(3) and related enumerations; fix operator!= on Dirent, Group;
298 wrap {f}statvfs(2); wrap <fstab.h> entries (getfsent(3), etc.).
299 * UnixConvert.cs: Add Syslog-releated enumeration translation functions;
300 Move ToOpenFlags here from UnixFile and UnixFileInfo.
301 * UnixMarshal.cs: Missing P/Invoke methods throw
302 EntryPointNotFoundException, not MissingMethodException; add
303 EscapeFormatString, which escapes printf-style format strings so that they
304 can be safely handed off to native code (avoiding stack overflow, etc);
305 make CreateExceptionForError internal.
307 2004-12-15 Jonathan Pryor <jonpryor@vt.edu>
309 * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
310 These will be useful in implementing System.IO.Stream subclass for
311 reading/writing to a FILE*. Fix a typo in the realloc(3) DllImport.
312 * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
313 * CdeclFunction.cs: Document calling convention problems on AMD64.
315 2004-11-18 Jonathan Pryor <jonpryor@vt.edu>
317 * CdeclFunction.cs: Added.
318 * Stdlib.cs: Re-add printf(3) and fprintf(3). They may not be portable (the
319 jury is still out on that; the AMD64 SysV ABI looks like it should be
320 portable to AMD64 to my eyes), but they will work on *some* platforms, so
321 we should permit it. The new implementation takes a page out of
322 cocoa-sharp: use System.Reflection.Emit to generate a P/Invoke method at
323 runtime to invoke printf(3) or fprintf(3). This way, we can export a
324 params signature to C# code, permitting natural usage such as:
325 Stdlib.printf ("Hello, %s world! (%i)\n", "silly", 42);
326 * Syscall.cs: Mark which headers are complete, which functions still need
327 wrapping (for headers which have anything done to them), add #region
328 blocks for each header;
329 export mkfifo(3), fexecve(), getppid(2), setlogin(); fix sleep(3) export.
330 * UnixEnvironment.cs: Export a friendly getppid(2) wrapper.
331 GetParentProcessId isn't in UnixProcess as there's no way (that I know of)
332 to get the Parent's Parent, so it can't be a class member, and exposing it
333 as a static member of UnixProcess doesn't make sense to me, as it isn't
334 general. Added GetUserShells().
335 * UnixProcess.cs: Change constructor to internal, so it can be used from
338 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
340 * Stdlib.cs: Remove printf(3) and fprintf(3). These are vararg/CDECL
341 functions, and it's not portable to call them in this manner.
342 (It's not portable because some architectures, such as AMD64, use a
343 "cookie" as part of the vararg calling sequence to help reduce buffer
344 overflow exploits. Trying to call vararg functions as if they were an
345 overloaded function will not properly set this hardware cookie, resulting
346 in a hardware exception. Talk to lupus for more information.)
348 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
350 * Syscall.cs, UnixConvert.cs: Remove mount- and umount-related
351 functionality. Mount/umount is inherently non-portable (see the C code
352 for mount/umount), and trying to provide a consistent interface is
353 impossible. If you need mount/umount support, use the command-line
354 programs mount(1) and umount(1).
356 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
358 + Lots o' Renames, as the namespace changed.
359 * PosixConvert.cs: Moved to UnixConvert.cs:
360 * PosixDirectory.cs: Moved to UnixDirectory.cs:
361 * PosixEnvironment.cs: Moved to UnixEnvironment.cs:
362 * PosixDirectoryInfo.cs: Moved to UnixDirectoryInfo.cs:
363 * PosixFile.cs: Moved to UnixFile.cs:
364 * PosixFileInfo.cs: Moved to UnixFileInfo.cs:
365 * PosixFileSystemInfo.cs: Moved to UnixFileSystemInfo.cs:
366 * PosixGroup.cs: Moved to UnixGroup.cs:
367 * PosixGroupInfo.cs: Moved to UnixGroupInfo.cs:
368 * PosixIOException.cs: Moved to UnixIOException.cs:
369 * PosixMarshal.cs: Moved to UnixMarshal.cs:
370 * PosixProcess.cs: Moved to UnixProcess.cs:
371 * PosixStream.cs: Moved to UnixStream.cs:
372 * PosixSymbolicLinkInfo.cs: Moved to UnixSymbolicLinkInfo.cs:
373 * PosixUser.cs: Moved to UnixUser.cs:
374 * PosixUserInfo.cs: Moved to UnixUserInfo.cs:
375 * Catalog.cs, IncludeAttribute.cs, MapAttribute.cs, PeerCred.cs, Stdlib.cs,
376 Syscall.cs, UnixConvert.cs, UnixDirectory.cs, UnixDirectoryInfo.cs,
377 UnixEndPoint.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileInfo.cs,
378 UnixFileSystemInfo.cs, UnixGroup.cs, UnixGroupInfo.cs, UnixIOException.cs,
379 UnixMarshal.cs, UnixProcess.cs, UnixStream.cs, UnixSymbolicLinkInfo.cs,
380 UnixUser.cs, UnixUserInfo.cs: Deal with renamed classes/members.
382 2004-11-15 Jonathan Pryor <jonpryor@vt.edu>
384 * PosixUserInfo.cs: Make the PosixUserInfo(Passwd) constructor public;
385 override Object.GetHashCode and Object.Equals.
386 * PosixGroupInfo.cs: Make the PosixGroupInfo(Group) constructor public;
387 override Object.GetHashCode and Object.Equals.
388 * PosixIOException.cs: Use PosixMarshal.GetErrorDescription instead of
389 calling Syscall.strerror_r directly
390 * PosixMarshal.cs: Add GetErrorDescription. Strerror_r() isn't portable, so
391 GetErrorDescription() first tries strerror_r(), and if it fails falls back
394 - Seal the Dirent class. It has no virtual members, so there's no point
395 in it being non-sealed. Override Object.GetHashCode and Object.Equals.
396 - Seal the Group class. It has no virtual members, so there's no point
397 in it being non-sealed. Override Object.GetHashCode and Object.Equals.
398 Provide operator== and operator!=.
399 - Seal the Passwd class. It has no virtual members, so there's no point
400 in it being non-sealed. Override Object.GetHashCode and Object.Equals.
401 Provide operator== and operator!=.
402 - Remove strerror_r() convenience overload. This is now
403 PosixMarshal.GetErrorDescription().
405 2004-11-12 Jonathan Pryor <jonpryor@vt.edu>
407 * Syscall.cs: Export time-related functions (gettimeofday, settimeofday,
408 utime, utimes), mknod.
410 2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
412 * PosixEnvironment.cs : csc build fix. see bug #69195.
413 * PosixStream.cs : csc build fix. see bug #69196.
415 2004-11-05 Jonathan Pryor <jonpryor@vt.edu>
417 * PosixConvert.cs: New file; conversion functions for Mono.Posix types.
418 * PosixDirectory.cs: New file; Friendly wrapper over directory information.
419 * PosixDirectoryInfo.cs: New file; Friendly wrapper over directory information.
420 * PosixEnvironment.cs: New file; Friendly wrapper over environment information.
421 * PosixFile.cs: New file; Friendly wrapper over file information.
422 * PosixFileInfo.cs: New file; Friendly wrapper over file information.
423 * PosixFileSystemInfo.cs: New file; Friendly wrapper over `stat'.
424 * PosixGroup.cs: New file; User Group-related functionality
425 * PosixGroupInfo.cs: New file; User Group-related functionality
426 * PosixIOException.cs: New file; Exception for POSIX-generated exceptions.
427 * PosixMarshal.cs: New file; utility functions for marshaling, etc.
428 * PosixProcess.cs: New file; Friendly wrapper over process information.
429 * PosixStream.cs: New file; Friendly wrapper over file descriptors.
430 * PosixSymbolicLinkInfo.cs: New file; Friendly wrapper over symbolic links.
431 * PosixUser.cs: New file; Friendly wrapper over user information.
432 * PosixUserInfo.cs: New file; Friendly wrapper over user information.
433 * Stdlib.cs: New file; C standard library exports.
434 * Syscall.cs: Effective re-write.
435 - Organize exports by header file
436 - add additional enumerations (Error for the E* error values, etc.)
437 - always explicitly specify enumeration underlying type
438 - Use a new wrapping infrastructure so that ABI-stable types are exported
439 - For example, size_t is exported as ulong, not IntPtr.
440 - Wrap more functions, and wrap them better (such as getpwnam).
441 - This release is NOT backward compatible. Many names are the same, and
442 hopefully they're still compatible, but no effort was made to maintain
443 compatibility. For example, FileMode was removed and replaced with
444 FilePermissions, to avoid a name conflict with System.IO.FileMode.
445 - Change umount() to use MonoPosixHelper: portability fix for Mac OS X.
446 * make-map.cs: Another effective re-write, to clean up the code, produce
447 better output, and produce more output. For example, most of
448 PosixConvert can be auto-generated, so it is (modulo version delays and
449 bootstrap issues). `map.c' is now conditional on all macros, and has
450 error checking for invalid/unsupported values.
452 2004-09-18 Jackson Harper <jackson@ximian.com>
454 * Syscall.cs: Add support for poll ().
456 2004-09-18 Jackson Harper <jackson@ximian.com>
458 * make-map.cs: Use field value not name for #defines.
460 2004-09-14 Loren Bandiera <lorenb@mmgsecurity.com>
462 * Syscall.cs: Added method for getpwnam which uses Passwd
464 * macros.c: Helper function for getpwnam
465 (In committing, Josh Tauberer also added getpwuid.)
467 2004-07-09 Dick Porter <dick@ximian.com>
469 * PeerCred.cs: Get the unix socket peer credentials.
471 2004-05-26 Miguel de Icaza <miguel@ximian.com>
473 * Syscall.cs: Do not let the runtime handle strings, as we do not
474 own those strings, we must transform the char * into a string
477 2004-05-03 Miguel de Icaza <miguel@ximian.com>
479 * Syscall.cs: Add symlink
481 2004-04-19 Miguel de Icaza <miguel@ximian.com>
483 * Syscall.cs: Use hex values for FileMode, since C# does not have
484 an octal integer mode.
486 2004-03-30 Joshua Tauberer <tauberer@for.net>
488 * Added readlink, strerror, opendir, readdir, closedir
489 * Added Mono.Posix.Stat.UnixToDateTime(long unixtime) --> DateTime
491 2004-03-11 Joshua Tauberer <tauberer@for.net>
493 * Syscall.cs: Removed argument to getgid that shouldn't be there.
494 Added getusername, getgroupname which wrap getpwuid, getgrgid
495 without dealing with pointers to structures.
496 Removed duplicate FileMode enum nested in Syscall class.
497 Added stat and lstat, which use StatMode enumeration
498 (like FileMode but nicer and complete) and Stat struct.
499 * macros.c: Helper functions for getpwuid, getgrgid, stat, lstat.
501 2004-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
503 * Syscall.cs: moved the assembly attribute to a proper place
505 * make-map.cs: use reflection to invoke the properties, as it
506 fails under MS runtime.
509 2004-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
511 * Syscall.cs: moved assembly attribute and added unsafe block to fix
512 the build on windows.
514 2003-11-11 Wojciech Polak <polak@gnu.org
516 * Syscall.cs: Applied patch from Wojciech Polak <polak@gnu.org> to
519 2003-05-16 Dick Porter <dick@ximian.com>
521 * UnixEndPoint.cs: New property to get and set the filename, like
522 the IPEndPoint has for the IP address. Also implement ToString().
524 Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <lupus@ximian.com>
526 * Syscall.cs: remove the unsafe mess.
528 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
531 * UnixEndPoint.cs: first file.