for TARGET_J2EE only:
[mono.git] / support / ChangeLog
index 36e411cc475cc0ccd19ebe2b0344355b00a63f4a..5c0aca4ea97b187078174a070a8eb4e942298a9b 100644 (file)
@@ -1,3 +1,183 @@
+2007-12-17  Jonathan Pryor  <jpryor@novell.com>
+
+       * map.h: Flush; add Mono_Posix_Syscall__Utsname, Mono_Posix_Syscall_uname()
+         declarations.
+       * Makefile.am: Add sys-utsname.c to the build.
+       * sys-utsname.c: Added; binding for uname(2).
+       * mph.h: Change definition of _mph_copy_structure_strings() so that the
+         offset array specifies whether the string is a pointer (char*) or inline
+         array (char[]) within the structure.  Necessary because most bound
+         structure string members are pointers, but `struct utsname' uses arrays.
+       * fstab.c, pwd.c: Update offset array generation due to above.
+       * x-struct-str.c: Update _mph_copy_structure_strings() as above.
+
+2007-11-01  Geoff Norton  <gnorton@novell.com>
+
+       * stdio.c:  Handle Leopards lack of L_cuserid.
+
+2007-10-25  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * stdio.c: Provide errno as a parameter and set errno before calling
+         perror(3), as errno is cleared during P/Invoke.
+       * map.h: Updated prototype for Mono_Posix_Stdlib_perror().
+
+2007-09-08  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * dirent.c: NAME_MAX isn't defined on Solaris; fix the build.
+
+2007-09-04  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * dirent.c: Fix `struct dirent' overflow on Solaris.  See #82678.
+
+2007-09-03  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * dirent.c: Fix logic to determine if readdir_r() succeeded.  
+         Thanks to Albert Lee for the patch; see #82678.
+
+2007-08-14  Wade Berrier  <wberrier@novell.com>
+
+       * serial.c: include sys/time.h for mac osx 10.3 for timeval
+
+2007-08-12  Lukasz Byczynski <lukaszb@forcom.com.pl>
+
+       * serial.c:
+       
+       - all changes are based on Windows .Net SerialPort behavior and
+       this
+       document: http://www.easysw.com/~mike/serial/serial.html
+       - removed wrong default values from open_serial
+       - added timeout detection in write_serial
+       - added proper parameters setting in set_attributes
+
+2007-06-29  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * dirent.c, grp.c, pwd.c, stdio.c, syslog.c, unistd.c: Following in the
+         logic of the 2007-06-27 logic...  Only return failure if an actual
+         DOCUMENTED error occurred.  For many of these functions, there are no
+         docuemented errors, so they "can't fail," even if errno were set.
+         All praise the POSIX standard?
+
+2007-06-28  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c, map.h: Refresh -- to add Utimbuf copy conversion functions.
+         - Includes latest-and-greatest create-native-map output.
+         - Mono's Reflection output has changed as well --
+           FieldInfo.GetValue().ToString("x") is now "correct" for the underlying
+           type, so `short' enums are 0x0000, etc.
+         - Member sorting is now case-insensitive.
+
+2007-06-27  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * grp.c, pwd.c: Only return failure if a documented errno is encountered.
+         This fixes UnixUserInfo.GetLocalUsers() and UnixGroupInfo.GetLocalGroups()
+         on systems missing the file /etc/default/nss (which generates ENOENT,
+         which isn't documented, so therefore it's not a "real" error).
+       * mph.h: Add mph_return_if_val_in_list5().
+
+2007-03-28  Wade Berrier  <miguel@novell.com>
+
+       * supportw.c (SendMessageA/GetWindowLongA): Return values to fix some 
+       warnings, even though these aren't called (Patch from suse rpms)
+
+2007-01-23  Miguel de Icaza  <miguel@novell.com>
+
+       * serial.c (poll_serial): Fix for #79073, based on the patch by
+       Leszek Ciesielski, without introducing a GNU libc-ism.
+       (write_serial): Handle EINTR here as well.
+
+2006-11-30  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: _cnm_return_val_if_overflow() should be a no-op unless DEBUG is
+         defined.  "Fixes" false positives pending further investigation.
+
+2006-11-18  Miguel de Icaza  <miguel@novell.com>
+
+       * serial.c (poll_serial): Do not report an error for EINTR. 
+
+2006-11-18  Jelle Hissink  <Jelle.Hissink@C-it.nl>
+
+       * serial.c (poll_serial): Add timeout parameter to poll.
+
+       Fixes #79722 and #79735
+
+2006-11-17  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Flush (fix FromFilePermissions for SuppressFlags-marked values).
+
+2006-11-15  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Flush (removes warnings due to _cnm_return_val_if_overflow()).
+
+2006-11-14  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Flush (fixes FilePermissions conversion, allowing Syscall.stat() to
+         work as expected).
+
+2006-11-13  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * mph.h: Add macro for XATTR_AUTO, so that XattrFlags mapping works (as
+         XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it
+         has the value 0, a default value which is supported by most OS's).
+
+2006-11-08  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.
+       * map.c: Revert addition of L_SET et al; this breaks the Win32 build.
+       * mph.h: Add macros for L_SET, L_INCR, and L_XTND for non-Win32 platforms.
+
+2006-11-07  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * Makefile.am: Add implementation macros for L_SET, L_INCR, and L_XTND.
+       * map.c: Make sure that L_SET, L_INCR, and L_XTND are defined.  Lets
+         Mono_Posix_FromSeekFlags() work on Solaris, fixing Gnome Bugzilla 370081.
+
+2006-11-01  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * stdio.c: Some BSDs define clearerr(3) as a macro, so we need to cast
+         `stream' to a `FILE*' to avoid derefing a `void*'.
+       * sys-statvfs.c: Build fix to support OS X 10.3.9 & systems w/o statvfs(2).
+
+2006-11-01  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * mph.h: Add fallback typedefs for blkcnt_t, blksize_t, suseconds_t so that
+         map.c can rely on their presence.  (Some versions of OS X don't provide
+         these typedefs.)
+
+2006-10-27  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Improve handling of [Flags] enumerations which mix bitfields and
+         non-bitfield values (i.e. FilePermissions and S_IFREG, which isn't a bit
+         field, along with a few other FilePermissions values).  Fixes #79161.
+
+2006-10-26  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Enclose structure conversion functions with HAVE_<<STRUCT NAME>>,
+         so that Unix-specific structures don't break the Win32 build.
+
+2006-10-26  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * create-native-map.exe: Remove.  Just grab a new copy whenever we need to
+         refresh map.[ch].
+       * Makefile.am: Remove `update-create-native-map' target, and just have the
+         `refresh' target grab the latest create-native-map.exe program.
+       * map.c: Flush (remove fallback to <inttypes.h> constants).
+
+2006-10-26  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * create-native-map.exe: Update; Adds support for integral limit fallback.
+       * map.c: Flush (adds integral limits fallback, so that if G_MININT8 doesn't
+         exist we can fallback sanely instead of breaking the build).
+
+2006-10-26  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * Makefile.am: Add "mph.h" to the generated code for map.c, so that
+         EOVERFLOW is defined on Win32.
+       * map.c: Flush (adds #include "mph.h").
+
+2006-10-25  Wade berrier  <wberrier@novell.com>
+
+       * Makefile.am: remove map-icalls.h so make dist succeeds
+
 2006-10-24  Jonathan Pryor  <jonpryor@vt.edu>
 
        * dirent.c, errno.c, fcntl.c, fstab.c, grp.c, macros.c, pwd.c, signal.c,