* Makefile.am (MPH_UNIX_SOURCE): Add syslog.c.
[mono.git] / support / ChangeLog
index ee4196b63a2350945b2d2e1a981108e8aaafaeed..01a22bd1aa4f84fd21abd3a1d4d3c3ccce127bbc 100644 (file)
@@ -1,4 +1,181 @@
-2005-04-07  Zoltan Varga  <vargaz@freemail.hu>
+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
+         to provide transparency between Linux and FreeBSD EA's.
+       * map-icalls.h: Update as above
+
+2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * supportw.c: HeapDestroy.
+       * Makefile.am: don't build supportw on windows.
+
+2005-06-29  Ben Maurer  <bmaurer@ximian.com>
+
+       * Makefile.am: namespace our library.
+
+2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * supportw.c:
+       * supportw.h:
+       * Makefile.am: new library intended to provide often P/Invoked windows
+       API functions not present in io-layer.
+
+2005-06-29  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c: Handle Syslog-related changes (SyslogFacility isn't a 
+         [Flags] enum); make-map.exe changes.
+
+2005-06-28  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c, map.h: Handle Syslog-related changes (SyslogLevel isn't a [Flags]
+         enum; change in order between LOG_USER and LOG_USRE).
+
+2005-06-27  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.c, map.h: Add corrected spelling of LOG_USER.
+
+2005-06-13  Miguel de Icaza  <miguel@novell.com>
+
+       *  sys-statvfs.c (copy_statfs): f_flags is the field name on BSD,
+       not f_flag. 
+
+2005-06-08  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * Makefile.am: Create an unversioned library.  We won't make any gaurantees
+         about ABI stability until Mono 1.2 (if then).
+
+2005-06-07  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * sys-mman.c: Check for presence of mremap and remap_file_pages.
+
+2005-06-05  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map-icalls.h, map.h: Change header comment so it matches what 
+         `make refresh` generates.
+       * map.c: Add <sys/xattr.h> header.
+
+2005-05-31  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
+         munlock, mremap, mincore, remap_file_pages.
+       * map-icalls.h: Update to latest shared interface.
+       * map.c, map.h: Add {To,From} pairs for MmapFlags, MmapProt, MsyncFlags,
+         MlockallFlags, MremapFlags.
+       * mph.h: Add mph_return_*_if_ssize_t_overflow macros.
+
+2005-05-31  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.
+
+2005-05-31  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.
+
+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