[corlib] Improve CancellationTokenSource test
[mono.git] / mono / io-layer / ChangeLog
index 6697cc5741a9155e4122836978c55c9d78b23694..4b576f7cbe06db7e4da494351519d33c121be8a0 100644 (file)
@@ -1,5 +1,281 @@
+2010-07-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * wthreads.c (CreateThread): Avoid an assert if the stack size specified by the
+       caller is smaller than the system minimum.
+
+2010-06-29  Geoff Norton  <gnorton@novell.com>
+
+       * atomics.h: Implement armv6+ variants of our atomics.
+
+2010-06-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * Makefile: Don't build an sgen aware version, it is no longer needed.
+
+       * wait.c handles.c wthreads.c: Call the mono_gc_ wrapper functions of some pthread
+       apis. This breaks the compile time dependency between io-layer and the GC.
+
+2010-06-23  Miguel de Icaza  <miguel@novell.com>
+
+       * Makefile.am: Add support for building a sgen-aware versions of
+       the library: libwapisgen.la libmonoruntimesgen-static it shares
+       all the components of the default, but use a differen set of
+       CFLAGS to enable SGEN instead.
+
+2010-06-01  Geoff Norton  <gnorton@novell.com>
+
+       * sockets.c: Don't call poll directly, use mono_poll.
+
+2010-04-29  Geoff Norton  <gnorton@novell.com>
+
+       * mono-spinlock.h: Remove
+       * wthreads.c: Don't spinlock here, use a mutex instead
+
+2010-04-26  Geoff Norton  <gnorton@novell.com>
+
+       * processes.c: Fix this for 64-bit darwin.
+
+2010-04-20  Jonathan Pryor  <jpryor@novell.com>
+
+       * collection.c: Cleanup platform checks around
+         pthread_attr_setstacksize(), and instead always use
+         MAX(65536, PTHREAD_STACK_MIN) as the stack size.
+       * mono-mutex.c: Remove near duplicate pthread_mutex_timedlock()
+         declarations, and merge via a CONST_NEEDED intermediate #define.
+
+2010-04-19  Jonathan Pryor  <jpryor@novell.com>
+
+       * collection.c, mono-mutex.c: Add Android support.
+
+2010-04-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * collection.c (_wapi_collection_init): Set stack size on openbsd similarly to
+       the other BSDs.
+
+2010-04-10  Andreas Färber  <andreas.faerber@web.de>
+
+       * processes.c (EnumProcesses, load_modules): Add implementations
+       for Haiku. Fixes build on Haiku.
+       (OpenProcess, EnumProcessModules, get_process_name_from_proc):
+       Tweak implementations for Haiku.
+       * process-private.h: Fix _WAPI_PROCESS_UNHANDLED_PID_MASK for
+       32-bit pids (Haiku).
+       * ChangeLog: Fix UTF-8 encoding
+
+       Code is contributed under MIT/X11 license.
+
+2010-04-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
+
+2009-04-06 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * wthreads.c (TlsSetValue): Don't take locks here. We trust pthread_setspecific
+       return value to tell if we tried to store to an invalid slot.
+
+2010-04-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
+
+2010-04-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
+
+2010-04-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Applied some openbsd changes from Robert Nagy <robert@openbsd.org>.
+
+2010-03-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * sockets.c: Apply some openbsd changes from openbsd ports.
+
+2010-03-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * shared.c: Disable shared supported by default, it can be enabled by setting
+       the MONO_ENABLE_SHM env variable.
+
+2009-03-22 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * threads.h: Add wapi_self_interrupt.
+
+       * wthreads.c: Add wapi_self_interrupt which puts the current
+       thread in interrupted state.
+
+       * wthreads.c (wapi_thread_clear_wait_handle): Previous handle
+       can possibly be NULL if an async interrupt cleared it.
+
+       This is safe because it is only async cleared if running inside a
+       handler block.
+
+2010-03-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * processes.c: made ShellExecuteEx actually work when the file name to
+       execute is quoted. Display a message intead of blindly ignoring the
+       result of g_shell_parse_argv(). Fixes bug #385497.
+
+2010-03-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * shared.c (shm_semaphores_init): Applied patch from Cal Page
+       (age.cal@gmail.com). Fix support for USE_SHM.
+
+2010-02-25  Geoff Norton  <gnorton@novell.com>
+
+       * wait.c: If any of our handles are shared, we need to do
+       a polling wait so we're notified of the signal change.
+
+Wed Feb 24 16:01:37 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am: don't install the headers anymore, they are private.
+
+2010-02-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * versioninfo.c (VerLanguageName): Remove code duplication a bit.
+
+2009-12-02  Miguel de Icaza  <miguel@novell.com>
+
+       * processes.c (EnumProcesses): Add support for OSX, patch from Tom
+       Philpot <tom.philpot@logos.com>
+
+2009-11-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * io.cs: In CopyFile check if the destination already exists before
+       trying to open it, and if it is the same as the source, report an error,
+       just as .net does. We do the check here to take advantage of the IOMAP
+       capability.
+       Fixes #510230.
+
+2009-11-13 Jonathan Chambers <joncham@gmail.com>
+
+       * mono-mutex.h: Implementation for Windows platform.
+       
+       Code contributed under MIT/X11 license.
+
+2009-11-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Include mono-path.h.
+
+2009-11-12  Geoff Norton  <gnorton@novell.com>
+
+       * processes.c: match_procname_to_modulename should resolve
+       symlinks when checking if two process modules match.
+
+2009-11-04 Jonathan Chambers <joncham@gmail.com>
+
+       * mono-mutex.h: Add skeleton implementation for Windows platform.
+       
+       Code contributed under MIT/X11 license.
+
+2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * sockets.[ch]: fix function definition.
+
+2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * sockets.[ch]: added TransmitFile implementation.
+
+2009-10-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c: Implement get_process_name_from_proc () on solaris.
+
+2009-09-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c (load_modules): Applied patch from Thomas Philpot
+       (tom.philpot@logos.com). Fixes #533893.
+
+2009-09-15  Jeffrey Stedfast  <fejj@novell.com>
+
+       * io.c (CreateFile): In the directory fallback case, use
+       _wapi_open() again so that IOMAP magic happens.
+       (CopyFile): Need to consistently use _wapi_open() here too.
+       (ReplaceFile): Use _wapi_open() here too and get rid of the
+       fallback code that tried re-opening the file w/o O_TRUNC since
+       there's no reason to do that.
+
+2009-09-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * handles.c (_wapi_handle_real_new): Call _wapi_process_reap () when running
+       out of shared handes. Fixes #536776.
+
+       * processes.c (CreateProcess): Return false and set the error to
+       ERROR_OUTOFMEMORY when a process handle cannot be created.
+       (ShellExecuteEx): Propagate an ERROR_OUTOFMEMORY error code. Fixes part of
+       #536776.
+
+2009-09-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * processes.c (EnumProcessModules): Applied patch from Romain Tartière
+       (romain@blogreen.org). Fix this on freebsd/OSX. Fixes #533893.
+
+2009-08-18  Christian Hergert  <chris@dronelabs.com>
+
+       * wthreads.c: Roll back change for thread-id as it "embraces
+       and extends" the api by passing word-size for thread id on
+       s390 and amd64.
+
+2009-08-18  Christian Hergert  <chris@dronelabs.com>
+
+       * security.c:
+       * processes.c:
+       * wthreads.c: Be explicit when we are changing word sizes.
+
+2009-08-18  Christian Hergert  <chris@dronelabs.com>
+
+       * processes.c: Fix method declaration warnings.
+       * sockets.c: getsockopt() wants socklen_t for size.
+
+2009-08-04  Miguel de Icaza  <miguel@novell.com>
+
+       * posix.c (_wapi_stdhandle_create): Split this into a new file to
+       more easily support non-Posix platforms.
+
+2009-07-20  Geoff Norton  <gnorton@novell.com>
+
+       * thread-private.h: Use the new mono-semaphore.h.
+
+2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * sockets.c: add the error number to the message so we can figure out
+       when this happens.
+
+2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * wait.c: add missing 'break'.
+
+2009-06-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * atomic.h: Fix ilp32 support on ppc.
+
+2009-05-28  Mark Probst  <mark.probst@gmail.com>
+
+       * collection.c (_wapi_collection_init): If pthread_create() fails,
+       try again with larger and then with no stack size set.  Fixes
+       #470336.
+
+2009-05-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * shared.c (_wapi_shm_file): Avoid creating a .wapi directory here, create
+       it in _wapi_shm_file_open (), since platforms using posix shm don't need it.
+
+2009-05-22  Miguel de Icaza  <miguel@novell.com>
+
+       * wapi_glob.c: Do not need sys/param.h anymore, we now use the
+       POSIX PATH_MAX instead of BSD's MAXPATHLEN
+
+       * handles.c: Do not pull a reference to sockets if they are
+       disabled.
+
+       * sockets.c: Allow for ports to define their own ioctlsocket. 
+
+       * wthreads.c: Remove obsolete code that I recently introudced (the
+       hook for mono_register_thread_attr.
+
+2009-05-22  Miguel de Icaza  <miguel@novell.com>
+
+       * versioninfo.c: One missing signature, fixed.
+
 2009-05-21  Miguel de Icaza  <miguel@novell.com>
 
+       * daemon.c: Remove more DEBUG ifdef mess.
+
        * shared.c (_wapi_shm_attach): Implemention for DISABLE_SHARED_HANDLES 
 
 2009-05-20  Miguel de Icaza  <miguel@novell.com>