18 Commits

Author SHA1 Message Date
theraven
9967d85d60 Fixes to be blocks runtime. Make sure that objects are not prematurely deallocated if referenced by multiple blocks. 2011-06-29 10:41:26 +00:00
theraven
e7767baf50 Don't send retain / release messages in GC mode when copying object pointers into blocks. 2011-05-29 13:50:46 +00:00
theraven
9dcc66f7f6 Make sure that associated objects and blocks use GC-scanned memory in GC mode.
Blocks do not yet support __weak bound variables.  This needs fixing before the release.
2011-05-23 16:24:45 +00:00
theraven
ff915fc373 Added a really ugly hack to work around the painfully broken register allocator in GCC that caused the compiler to crash when attempting to compile blocks_runtime.m. 2011-02-13 11:18:30 +00:00
theraven
caa4a7253c Some memory management fixes to the blocks runtime. 2011-02-12 22:39:01 +00:00
theraven
4e3cacf997 Comment out some unused variables. 2011-02-12 21:05:41 +00:00
theraven
a83428b883 Move toydispatch into libobjc2.
Some build system tidies.

Add -retain / release to Protocol.

Initial work on clang-specific makefile.
2010-10-26 15:44:43 +00:00
theraven
b5f4782dbf Tidy up the block code slightly. 2010-10-10 21:42:03 +00:00
theraven
786b34875e Removed line that should not have been committed. 2010-10-10 21:38:28 +00:00
theraven
5519421c57 Apparently the BLOCK_HAS_DESCRIPTOR flag now means something else... 2010-10-10 21:35:37 +00:00
theraven
ee32f78b0a Tweaked the GNUmakefile to (more or less) work with gcc.
Fixed block introspection for the new (Apple-compatible) ABI.
2010-10-01 13:11:48 +00:00
theraven
85c07b836e Fix some warnings with -Wextra. 2010-09-26 09:28:04 +00:00
theraven
8e95b6f637 Fix warnings with GCC. Patch by TOM, tweaked to not introduce errors with clang. 2010-09-25 10:52:01 +00:00
theraven
569a48650d Various tidies. 2010-09-09 10:43:42 +00:00
theraven
9c65b1c84c Added types support to blocks runtime, tidied up UNIX98 stuff. 2009-09-11 10:28:49 +00:00
theraven
bba507bf70 Removed incorrect comment from blocks runtime. Tweaked runtime.h to make it show the new functions even in GNU-compat mode and made sure the object-substitution hook is called even when object substitution can't be used, so GNUstep can use it for the 10.5 NSObject runtime functions. 2009-09-10 22:09:03 +00:00
theraven
252447c95f Updated block interface to more closely match Apple's one. Added support for introspectable blocks. 2009-09-10 01:24:25 +00:00
theraven
323e3dfaeb Added new runtime library, based on GCC 4.4 libobjc, libobjc_tr and Objective2.framework. 2009-09-08 16:18:59 +00:00