2005-04-12 Dick Porter <dick@ximian.com>
[mono.git] / mono / io-layer / ChangeLog
index cafd039fcfcd081178ad325d2c4b37fdba357902..e2efd70f9266e38db7898b4de34a5962b2ebc13c 100644 (file)
@@ -1,3 +1,129 @@
+2005-04-12  Dick Porter  <dick@ximian.com>
+       
+       The daemon-less io-layer.  Extensive lowlevel changes in
+       handles.c, requiring some corresponding changes in other files
+       calling these functions.  Private_foo structures have been
+       eliminated.
+
+       File descriptor handling differences account for most of the
+       changes in io.c and sockets.c.
+
+       Other highlights:
+       
+       * mutexes.c: Named mutexes are now a distinct type.
+       * atomic.h: Fix a PPC uninitialised variable warning.
+       * wait.c: Check conditions before waiting on a condition variable.
+       * processes.c: Handle process fork and wait without a daemon
+       (though this has the limitation of only being able to wait for
+       child processes.)
+
+2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * io-private.h:
+       * threads.c:
+       * threads.h:
+       * io.c:
+       * sockets.c:
+       * sockets.h: removed dead code that deals with async IO.
+
+2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * atomic.c (InterlockedIncrement): Fix fallback implementation of
+       InterlockedIncrement and InterlockedDecrement. Fixes #74228.
+
+2005-03-29  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * io-layer.h: Add required header files for compiling with VS.NET.
+
+2005-03-17 Miguel de Icaza <miguel@novell.com>
+
+       * io.c: don't fail on NFS when there are no more locks available.
+
+2005-03-09  Dick Porter  <dick@ximian.com>
+
+       * error.c (_wapi_get_win32_file_error): ENFILE and EMFILE should
+       map to ERROR_TOO_MANY_OPEN_FILES, not ERROR_NO_MORE_FILES.  Fixes
+       bug 72671.
+
+2005-03-09  Dick Porter  <dick@ximian.com>
+
+       * daemon.c (process_process_fork): Initialise the handle data
+       before using it in the error case.  This is probably the error
+       we're working around in the previous change.  Spotted by Taru Jain
+       <tjain@novell.com> and Hemanth Yamijala <YHemanth@novell.com>.
+
+2005-03-07  Dick Porter  <dick@ximian.com>
+
+       * daemon.c: It looks like g_shell_parse_argv() can return
+       argv[0]=NULL somehow, yet still not give an error.  Make sure we
+       don't pass NULL to strrchr(), working around a segfault that
+       showed up on ZLM testing.
+
+2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * sockets.c: translate EINPROGRESS to EWOULDBLOCK in connect. This is
+       the expected error code showed by the test case in bug #73053.
+
+2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * io.c: another leftover.
+
+Fri Feb 18 17:37:29 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * io.c: fixed logic in checking errno in rev 40815.
+
+Fri Feb 18 16:00:29 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c: we don't depend on the GC checking tls
+       slots anymore.
+       * processes.c: remove unused ref to GC headers.
+
+Thu Feb 17 19:57:11 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * io.c: remove _wapi_thread_cur_apc_pending () checks
+       when the siscall should return immediatly and handle
+       the case when a syscall is interrupted without
+       erroring out, but returning a 0 read/write if possible.
+       Still the cases of read from file need to be handled.
+
+Tue Feb 8 18:28:11 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c: make people test with 1 MB stack per thread.
+
+2005-01-17  Dick Porter  <dick@ximian.com>
+
+       * timefuncs.h: Make WapiFileTime endian-aware, as it's often
+       cast to and from 64bit ints.  Fixes bug 71213.
+
+2005-01-11  Dick Porter  <dick@ximian.com>
+
+       * error.c (errno_to_WSA): Add EADDRNOTAVAIL error code
+       translation.
+
+Mon Jan 10 16:15:19 EST 2005 Neale Ferguson <nealeferguson@earthlink.net>
+
+       * atomic.h: Fix functions on s390.
+
+Mon Jan 10 20:30:19 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * atomic.h: fix some functions on ppc (tests/interlocked.cs).
+
+2005-01-10  Dick Porter  <dick@ximian.com>
+
+       * misc.c (_wapi_calc_timeout): Guard against overflow when
+       calculating timeouts.  This makes waiting with a large
+       (Int32.MaxValue) timeout not return immediately.
+
+2004-12-23  Ben Maurer  <bmaurer@ximian.com>
+
+       * io.c (io_ops): make this `const' so it is shareable (well, only
+       really shareable if it is statically linked...)
+
+Mon Dec 20 11:58:33 CET 2004 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c, threads.h: add accessor to get the pthread_key_t for
+       a tls id.
+
 2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * io.c: check for the existence of 'dest' and set ERROR_ALREADY_EXISTS