+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,
+ stdio.c, stdlib.c, string.c, sys-mman.c, sys-sendfile.c, sys-stat.c,
+ sys-statvfs.c, sys-time.c, sys-xattr.c syslog.c, time.c, unistd.c,
+ utime.c: Remove structure definitions, and use the
+ create-native-map generated definitions within map.h. Update function
+ prototypes to match current map.h declarations.
+ * map.c, map.h: Flush (current create-native-map output).
+ * mph.h: Don't include "map-icalls.h"; "icalls" are now in map.h.
+ * create-native-map.exe: Added; cached version of create-native-map.exe
+ used to update map.c, map.h. (create-native-map.exe source within
+ mono-tools/create-native-map.)
+ * Makefile.am: Added update-create-native-map target to update
+ create-native-map.exe using pkg-config & the create-native-map.pc package.
+ Use create-native-map.exe to generate map.* files instead of make-map.exe.
+ * sys-statvfs.c: Add Mono_Posix_ToStatvfs, Mono_Posix_FromStatvfs exports.
+
+2006-09-15 Jonathan Pryor <jonpryor@vt.edu>
+
+ * Makefile.am: Remove CRYPT_LIBS use; we no longer rely on libcrypt.
+ * stdlib.c: Remove setkey(3) wrapper.
+ * unistd.c: Remove encrypt(3) wrapper.
+
+2006-08-13 Miguel de Icaza <miguel@novell.com>
+
+ * serial.c (get_bytes_in_buffer): Change the signature, we do not
+ return any meaningful error other than -1.
+
+2006-06-28 Zoltan Varga <vargaz@gmail.com>
+
+ * mph.h (MPH_INTERNAL): Only use this if HAVE_VISIBILITY_HIDDEN is
+ defined since it is not supported on some archs with gcc.
+
+2006-04-28 Wade Berrier <wberrier@novell.com>
+
+ * serial.c: Add sys/filio.h for solaris for FIONREAD
+
+2006-04-20 Geoff Norton <gnorton@customerdna.com>
+
+ * serial.c: Change TIOCINQ to FIONREAD to
+ fix the build on the *BSDs.
+
+2006-04-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * serial.c: Added poll_serial () function, to poll
+ outside the read_serial () functions; and get_bytes_in_buffer (), to
+ get bytes in serialport buffers . Update some functions/enums
+ used by System.IO.Port.SerialPort too (Changes aproved by Miguel:
+ we will add tests in the managed side).
+
+2006-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * serial.c: Add get_signal_code, get_signal, and set_signal
+ functions to access serial signals. Also add a MonoSerialSignal
+ enum, which is a copy of System.IO.Ports.SerialSignal.
+
+Thu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+ * serial.c: removed useless serial.h file (it was also
+ breaking the build).
+
+2006-03-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * serial.c: Fix a pair of wrong or incomplete assignations
+ in set_attributes.
+
+2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * serial.h: New file with serial port constants.
+ * serial.c: Use the constants in serial.h instead of magic numbers.
+
+2006-01-03 Jonathan Pryor <jonpryor@vt.edu>
+
+ * sys-time.c: lutimes(2) only exists on some BSDs. There's a configure
+ check for it now -- use it.
+
+2005-12-28 Jonathan Pryor <jonpryor@vt.edu>
+
+ * map-icalls.h: Flush (add utimes_bad, lutimes, futimes).
+ * sys-time.c: Add lutimes(2) and futimes(2) wrapper.
+
+2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
+
+ * map.c: Include <sys/mman.h>. Fixes #77091. Thanks to Ben Gamari.
+
+2005-12-01 Jonathan Pryor <jonpryor@vt.edu>
+
+ * Makefile.am: Use $(CRYPT_LIB), not -lcrypt, as not all platforms
+ support -lcrypt.
+ * stdlib.c: Wrap Mono_Posix_Syscall_setkey() within HAVE_SETKEY, not
+ PLATFORM_WIN32
+
+2005-12-01 Daniel Drake <dsd@gentoo.org>
+
+ * Makefile.am: Link against libcrypt, needed for setkey(3) as referenced
+ in stdlib.c. Problem caught by Michael Hill.
+
+2005-11-07 Jonathan Pryor <jonpryor@vt.edu>
+
+ * map-icalls.h: Oddly, this file didn't get the new functions added in
+ 2005-10-14 -- ToConfstrName, FromConfstrName, etc. Add them.
+ * map.c, map.h: Remove invalid enumeration value SyslogFacility.LOG_USRE.
+
+2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
+
+ * signal.c: Don't build Syscall wrappers on Win32.
+
+2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
+
+ * Makefile.am (MPH_UNIX_SOURCE): Add syslog.c.
+ * dirent.c, grp.c, pwd.c, signal.c, stdio.c, stdlib.c: Wrap functions which
+ return `void' so that they instead: (1) return `int', (2) clear errno
+ before calling the real function, and (3) return -1 if errno changed.
+ This must be done in native code because calling
+ Stdlib.SetLastError/Syscall.xxx
+ from managed code won't work reliably (since errno may change between the
+ SetLastError call and the actual Syscall invocation).
+ * unistd.c: Same as above, and allow fpathconf(3), pathconf(3), sysconf(3),
+ and confstr(3) callers to explicitly choose their own errno value.
+ * map.c, map.h: Handle enumeration name change in Mono.Unix.Native
+ (e.g. ConfStr --> ConfstrName, etc.). This is so that they follow the
+ established naming conventions.
+ * map-icalls.h: Add new icalls.
+ * syslog.c: Added; wraps <syslog.h> functions.
+
+2005-10-06 Jonathan Pryor <jonpryor@vt.edu>
+
+ * Makefile.am (MPH_C_SOURCE): Add string.c.
+ * string.c: Added; exports strlen(3) wrapper.
+ * map-icalls.h: Prototype for strlen(3) wrapper.
+
+2005-09-29 Miguel de Icaza <miguel@novell.com>
+
+ * support-heap.c: Add meat to the Heap routines.
+
+2005-09-20 Jonathan Pryor <jonpryor@vt.edu>
+
+ * Makefile.am (refresh): Use the make-map.exe in Mono.Unix.Native.
+ * map-icalls.h, map.c, map.h: Update to catch new enums AccessModes, Errno,
+ and MmapProts. Huge re-ordering because of namespace change in managed
+ code (not relevant to C API), and make-map.exe now outputs types/members
+ in alphabetical order (to avoid major code churn in the future).
+
+2005-07-12 Daniel Drake <dsd@gentoo.org>
+
+ * sys-xattr.c: Use <attr/attr.h> if <sys/xattr.h> does not exist (e.g. for
+ glibc 2.2)
+ * Makefile.am: Link to libattr if libc does not provide the xattr
+ syscalls.
+
+Thu Jul 7 12:35:20 EDT 2005 Paolo Molaro <lupus@ximian.com>
+
+ *supportw.c, Makefile.am: remove calls and link to libmono/libwapi.
+
2005-07-01 Daniel Drake <dsd@gentoo.org>
* sys-xattr.c: Support FreeBSD's extattr implementation. Slight API rework