2005-05-20 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / support / ChangeLog
index c07fba50ea4e96ac7accb5c2d952f58a971ad5ae..2659ff82018eca34c2066749cc9dfe05a78ab1ce 100644 (file)
@@ -1,3 +1,120 @@
+2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Makefile.am (MPH_C_SOURCE): Add map-icalls.h. Fixes #75012.
+
+2005-05-18  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map-icalls.h: Added; auto-generated file which contains Mono_Posix_*
+         declarations for DllImport functions in Mono.Posix.dll.  This ensure
+         consistency between Mono.Posix.dll and MonoPosixHelper.so.
+       * mph.h: Add include for map-icalls.h, to ensure that all MonoPosixHelper
+         exports have correct prototypes.
+       * dirent.c, grp.c, macros.c, pwd.c, signal.c, stdio.c, sys-stat.c, 
+         sys-time.c, utime.c: Correct prototypes to match map-icalls.h.  Alas, this
+         "loses" information -- FILE* becomes void*, etc. -- but no semantics or
+         ABI should be changed (except for Mono_Posix_Syscall_utime).  Some
+         structure names also changed to match the generated names; since the
+         structures are private, this shouldn't break anything.
+       * errno.c: Remove Mono_Posix_Syscall_SetLastError so we don't get a warning
+         about a missing prototype.  This was never in a stable release.
+       * old-map.c: Include mph.h for prototype checking.
+       * unistd.c: SeekFlags conversion is now done in managed code so that a short
+         isn't passed as a parameter; Correct prototypes to match map-icalls.h.
+       * sys-xattr.c: fix lsetxattr/fsetxattr confusion; Correct prototypes to 
+         match map-icalls.h.
+       * sys-sendfile.c: Move mph.h include so that HAVE_SYS_SENDFILE_H is used.
+       * sys-wait.c: Include mph.h so that prototypes are checked.
+
+2005-05-16  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
+       * map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
+         does something useful.
+
+2005-05-12  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c, map.h: Add FromMountFlags, ToMountFlags.  (MountFlags is used in
+         `struct statvfs', which is POSIX).
+       * sys-statvfs.c: Use ToMountFlags to convert the OS flags value into the
+         managed equivalent.
+
+2005-05-03  Geoff Norton  <gnorton@customerdna.com>
+
+       * sys-xattr.c:  Mac OS/X Tiger supports xattr but has a different API for supporting
+       resource forks.  Allow mono to build on Tiger.
+
+2005-04-30  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
+         "dump" of a fpos_t.  This is used for Mono.Unix.FilePosition.ToString().
+
+2005-04-19  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c, map.h: Added XattrFlags values, functions.
+       * sys-xattr.c: Added; <sys/xattr.h> wrapper functions.  Thanks to Daniel
+         Drake for writing these.
+       * Makefile.am: Add sys-xattr.c to the build.
+
+2005-04-07  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
+         (otherwise assume existence of XPG variant).  This allows proper
+         compilation under Red Hat 9.
+       * fstab.c: protect against users calling setfsent(), setfsent(), ...  
+         endfsent(), which would otherwise leak a FILE handle.
+
+2005-04-05  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mph.h: Apply patch from the freebsd ports collection.
+
+2005-02-10  Zoltan Varga  <vargaz@freemail.hu>
+
+       * zlib_macros.c (create_z_stream): Explicitly check for older versions
+       of zlib.
+
+2005-02-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.
+
+2005-02-07  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * grp.c: Oops.  Didn't see other Solaris fix in #72292.
+
+2005-02-07  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
+         have a stale value, leading to spurious errors later.  Fixes #72292.
+
+2005-02-03  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
+         on Windows as well as Unix.
+
+2005-02-03  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall, 
+         since it's part of ANSI C (and errno will be used from StdioFileStream).  
+         Add Mono_Posix_Stdlib_SetLastError.  Don't remove the Syscall version, as 
+         we don't want to break Mono 1.1.4/svn users the day after release. :-)
+
+2005-01-25  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * macros.c: Use gint64, not long, to match C# declaration.  Fixes 71152.
+
+2005-01-23  Geoff Norton  <gnorton@customerdna.com>
+
+       * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX
+
+2005-01-13  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.h: Correct Mono_Posix_OpenFlags values (they should now match 
+         x86 linux); remove unused enumerations (MountFlags, etc.).
+
+2005-01-13  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * fstab.c: Fix HPUX support.  HPUX includes both <fstab.h> and
+         <checkpoint.h>, so we need to give preference to <checkpoint.h>.
+
 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
 
        * fstab.c: Add support for HPUX, which uses <checklist.h>.