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