2008-05-06 Miguel de Icaza <miguel@novell.com>
[mono.git] / libgc / ChangeLog
index 993f13e9b04a8b005cfaa7b9d37658976a04d3ee..9d5df58837d527c427a3389d8c612b171b79de08 100644 (file)
@@ -1,3 +1,261 @@
+2008-04-28  Kornél Pál  <kornelpal@gmail.com>
+
+       * include/gc.h: Add GC_DllMain.
+       * win32_threads.c: Rename DllMain to GC_DllMain.
+\r
+       Contributed under MIT/X11 license.\r
+
+2008-04-15  Jonathan Chambers  <joncham@gmail.com>
+       * include/private/gcconfig.h: Backport GC7 code to support Win64.
+       * win32_threads.c: Backport GC7 code to support Win64.
+
+2008-02-07  Massimiliano Mantione  <massi@ximian.com>
+       * include/gc.h: (GCEventType): Added start-stop the world events.
+       * pthread_stop_world.c: (GC_stop_world and GC_start_world): hooked
+       start-stop the world events.
+
+2007-11-05  Geoff Norton  <gnorton@novell.com>
+
+       * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.
+
+2007-11-05  Geoff Norton  <gnorton@novell.com>
+
+       * darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard
+       and pre-Leopard.
+
+2007-11-01  Geoff Norton  <gnorton@novell.com>
+
+       * darwin_stop_world.c:  Handle Leopards renaming of some structure
+       members.
+
+Mon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * include/private/gc_priv.h: increase the default MAX_HEAP_SECTS
+       value (bug#314759, bug#324318).
+
+Tue Sep 11 16:22:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * pthread_support.c: export GC_thread_tls.
+
+2007-08-22  Martin Baulig  <martin@ximian.com>
+
+       * pthread_stop_world.c
+       (GC_mono_debugger_add_all_threads): Removed.
+       (GC_mono_debugger_get_stack_ptr): New public function.
+
+Wed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * darwin_stop_world.c: use a larger array for GC_mach_threads
+       (it'll need to be enlarged dynamically, but it's with the world
+       stopped, bug #81974).
+
+2007-05-09  Jonathan Chambers  <joncham@gmail.com>
+
+       * win32_threads.c: If SuspendThread fails, don't abort. Instead
+       remove thread from GC, as this only seems to happen when thread is
+       terminating.
+
+2007-03-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * autogen.sh: Applied patch from Priit Laes <amd@store20.com>. Fix the running
+       of libtoolize.
+
+       * ltmain.sh config.sub config.guess: Removed, libtoolize creates them now.
+
+2007-03-13  Jonathan Chambers  <joncham@gmail.com>
+
+       * include/gc.h: Fix _WIN64 typedefs.
+       * libgc.vcproj: Fix Release target and begin Win64 port.
+       
+2007-02-01  Geoff Norton  <gnorton@customerdna.com>
+
+       * include/private/gc_pthread_redirects.h:
+       * include/private/gc_config_macros.h:
+       * include/private/gc_priv.h:
+       * configure.in:
+       * pthread_support.c
+       * specific.c:  Support for NetBSD-CURRENT.  Loosely based on NetBSD
+       pkgsrc patch.
+
+2006-12-22  Robert Jordan  <robertj@gmx.net>
+
+       * include/private/gcconfig.h, os_dep.c:
+       Add FreeBSD/amd64 support. Based on a FreeBSD Port Collection patch.
+       r=Paolo.
+
+2006-11-19  Allan Hsu <allan@counterpop.net>
+
+       * libgc/darwin_stop_world.c, libgc/include/private/gc_priv.h,
+       libgc/os_dep.c: Fixes to make the GC work on OSX/Intel with XCode
+       2.4 (10.4u SDK and newer).
+
+       This code should work with older versions of the SDK as well. 
+
+Tue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * darwin_stop_world.c: patch from Allan Hsu <allan@counterpop.net>
+       to avoid using memory just after freeing it.
+
+2006-08-31  Zoltan Varga  <vargaz@freemail.hu>
+
+       * libgc.vcproj: Define GC_INSIDE_DLL on VC build too.
+
+2006-08-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * Makefile.am (EXTRA_DIST): Fix make dist.
+
+       * libtool.m4: Removed, should not be in SVN.
+
+2006-07-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
+       of alpha support.
+
+2006-06-28  Martin Baulig  <martin@ximian.com>
+
+       * darwin_stop_world.c, pthread_support.c: Committing a patch from
+       Allan Hsu <allan@imeem.com> to fix memory leaks; see bug #78628.
+
+2006-06-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * solaris_threads.c: And another one.
+
+       * solaris_pthreads.c: Avoid another solaris/x86 #error.
+
+2006-04-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
+
+2006-05-24  Martin Baulig  <martin@ximian.com>
+
+       * doc/debugger-support.txt: Removed; this issue turned out to be
+       something completely different and the patch mentioned in this
+       file is already reverted.
+
+2006-05-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * os_dep.c (GC_unix_get_mem): Add an assert to bail out early if the runtime is
+       run on a machine with smaller page size than HBLKSIZE.
+
+2006-05-19  Martin Baulig  <martin@ximian.com>
+
+       * include/gc.h: Don't include "libgc-mono-debugger.h".
+
+       * pthread_support.c, pthread_stop_world.c: Include it here.
+
+2006-05-17  Martin Baulig  <martin@ximian.com>
+
+       * pthread-support.c, pthread-stop-world.c: Put the debugger stuff
+       inside a `#if LIBGC_MONO_DEBUGGER_SUPPORTED' conditional.
+
+2006-05-17  Martin Baulig  <martin@ximian.com>
+
+       Fix a weird race condition which prevented XSP from working inside
+       the debugger - see doc/debugger-issues.txt for details.
+
+       * include/gc.h: Moved the "libgc-mono-debugger.h" #include down
+       after the gc_pthread_redirects.h one.
+
+       * include/libgc-mono-debugger.h
+       (GCThreadFunctions): Added `thread_created' and `thread_exited'.
+       (GC_mono_debugger_add_all_threads): New function prototype.
+
+       * pthread_stop_world.c (gc_thread_vtable): Allow the vtable and
+       any function in it be NULL; use NULL as the default vtable.
+       (GC_mono_debugger_add_all_threads): New public function.
+
+       * pthread_support.c
+       (GC_delete_thread): Call `gc_thread_vtable->thread_exited()'.
+       (GC_thr_init): Call `gc_thread_vtable->thread_created()'.
+
+2006-04-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * include/private/gcconfig.h (LINUX and SPARC): Applied patch from 
+       David S. Miller <davem@davemloft.net>: Do not
+       use _etest and GC_SysVGetDataStart() to figure out DATASTART.
+       Instead use either SEARCH_FOR_DATA_START or __environ, based
+       upon GLIBC version.
+
+2006-03-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * configure.in: Applied patch from David S. Miller <davem@davemloft.net>: Fix support for sparc/linux.
+
+Mon Mar 20 18:56:21 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * include/gc.h: enable pthread redirection on darwin, too.
+       * include/gc_pthread_redirects.h: completed from Bryan Berg.
+
+Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
+       OSX/x86 support, mostly from Geoff Norton <gnorton@customerdna.com>.
+
+Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * pthread_support.c, *: back out Zoltan's patch since it's
+       incorrect.
+       The correct fix it to execute the cleanup from inside
+       the thread also when using the __thread var to access the
+       current GC_thread.
+
+2006-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * pthread_support.c (GC_thread_deregister_foreign): New public API
+       function to deregister a foreign thread from the GC.
+       (GC_destroy_thread_local): Clean up the TLS key too.
+       
+Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * *: update from upstream changes.
+
+2006-01-21  Martin Baulig  <martin@ximian.com>
+
+       * include/Makefile.am: Don't install libgc-mono-debugger.h.
+
+2006-01-21  Martin Baulig  <martin@ximian.com>
+
+       * include/libgc-mono-debugger.h: Call the conditional
+       `_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.
+
+2006-01-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * include/private/gcconfig.h: Undef _FILE_OFFSET_BITS on sparc.
+
+2006-01-03  Geoff Norton  <gnorton@customerdna.com>
+
+       * darwin_stop_world.c:  Merge a patch from Bruce Mitchener that fixes a small
+       leak on OS X.
+
+2005-12-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
+       doesn't seem to work.
+
+2005-12-06  Todd Berman  <tberman@off.net>
+
+       * pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
+       inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
+       Bryan Berg (bryan AT imeem DOT com).
+
+2005-10-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * pthread_support.c (GC_thread_deregister_foreign): Make this return
+       void instead of void*.
+
+2005-09-29  Raja R Harinath  <harinath@gmail.com>
+
+       * configure.host: Fix syntax error.
+
+2005-08-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * win32_threads.c: If GC_INSIDE_DLL is defined, define the DllMain function for automatic registration
+       of threads with the GC.
+
+       * configure.in: Add an option for turning GC_INSIDE_DLL on.     
+
+2005-08-25  Zoltan Varga  <vargaz@freemail.hu>
+
+       * solaris_threads.c (GC_thread_register_foreign): Add dummy implementation.
 
 Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
 
@@ -270,7 +528,7 @@ Wed May 19 18:42:23 CEST 2004 Paolo Molaro <lupus@ximian.com>
        * autogen.sh: Applied patch from Peter Teichman (peter@ximian.com). 
        Use 'glibtool' instead of 'libtool' on OSX. 
 
-2003-10-01  Pedro Martínez Juliá  <yoro@wanadoo.es>
+2003-10-01  Pedro Martínez Juliá  <yoro@wanadoo.es>
 
        * Makefile.am: Change lib_LTLIBRARIES to noinst_LTLIBRARIES because
        of libmonogc is included inside libmono and without this change it