295 Commits (e0d80861b5c393380d8e384a2f7ee8ee20ddeb7c)
 

Author SHA1 Message Date
theraven e0d80861b5 Added some documentation. 15 years ago
theraven dda2e03871 Whitespace cleanup. 15 years ago
theraven 8c966c461b Return the forwarding IMP from get_imp if required. 15 years ago
theraven 61a9379c9c Encodings of structures in ivars include the encoding of the field names (this is actually really nice: we could - in theory - expose structure field members via KVC, as an extension). This case was not correctly handled by libobjc2. 15 years ago
theraven 63c2c0ce73 Added NULL checks to class_respondsToSelector() 15 years ago
theraven e76143d006 And, for symmetry, remove an UNLOCK() that wasn't needed... 15 years ago
theraven af90153d7f And fix the same bug in the other place. 15 years ago
theraven b9f9ce3bba Fix missing UNLOCK() in hash table. 15 years ago
theraven 8db63b976f Initial work on developer mode (allows classes to be replaced at run time with new versions, by cooperating IDEs). This support is part of ongoing work to provide fix-and-continue functionality with Clang / Cling and LanguageKit. 15 years ago
theraven 39c9d21867 Remove use of macro that doesn't exist anymore... 15 years ago
theraven bde6bf0e14 Fix truncated comment in header and 'worse than useless' macro.
Both issues pointed out by Jens Ayton.
15 years ago
theraven ff3f7be5fc Added 1.1 announcement. Committed some work-in-progress clang-specific build stuff (don't use this, it doesn't work correctly yet). 15 years ago
theraven 4ab4b4033b Bumped version to 1.1 15 years ago
theraven 661d406a8c Added property structure copy functions. 15 years ago
ericwa a7ea477400 libobjc2: put libobjc compatibility functions in runtime.h marked __attribute__((deprecated)) 15 years ago
theraven 14ccd9b0d3 Don't rely on constructor attribute - depending on undefined orderings is bad. 15 years ago
theraven e70d00a76d Restore accidentally deleted toydispatch.h. 15 years ago
theraven a83428b883 Move toydispatch into libobjc2.
Some build system tidies.

Add -retain / release to Protocol.

Initial work on clang-specific makefile.
15 years ago
theraven b5f4782dbf Tidy up the block code slightly. 15 years ago
theraven 786b34875e Removed line that should not have been committed. 15 years ago
theraven 5519421c57 Apparently the BLOCK_HAS_DESCRIPTOR flag now means something else... 15 years ago
theraven 37606d1936 Improvements to the Makefile. Patch by Pete French. 15 years ago
theraven 2e2856ce73 Build a static library from the Makefile.
Patch by Pete French.
15 years ago
theraven 299e6806b5 Fix build with the Makefile. 15 years ago
qmathe 9dbf872f33 Fixed crash when resolving user-allocated classes (e.g. KVO) revealed by r31482.
objc_resolve_class() does ((Class)objc_getClass((char*)cls->isa->isa))->isa;
but cls->isa->isa was a metaclass object and not a C string if the class was 
user-created. objc_allocateClassPair() has been changed to set the 
meta-metaclass as a C string and not an object, so that objc_getClass() does 
not return Nil.
15 years ago
theraven f66a69561a Fix metametaclass setup. 15 years ago
theraven 76bb7762ff Properly resolve the metaclass's isa pointer. 15 years ago
qmathe c4cc8f4734 Added another @synchronized() test that results in a segfault 15 years ago
qmathe 10cb4f9b5c Corrected doc in few places to refer to @synchronized() and not @synchronize() 15 years ago
theraven 775021effa Don't leak dtables. 15 years ago
theraven 7be9f34619 Fixed @synchronize() with a class that has had an instance used for @synchronize(). 15 years ago
qmathe e1a756110f Tweaked libobjc2 test suite to compile once again on Mac OS X (all tests pass) 15 years ago
theraven 0328c5cca9 Added tarball location to libobjc2 ANNOUNCE. 15 years ago
theraven 17bc6363b2 And another draft... 15 years ago
theraven dbc96b92f3 Second draft ANNOUNCE. 15 years ago
qmathe a0e000b483 Added basic synchronized and exception tests that fail for me whether I use Clang or GCC to compile the test suite 15 years ago
theraven 60b4be0f4e First draft of 1.0 release announcement. 15 years ago
theraven ee32f78b0a Tweaked the GNUmakefile to (more or less) work with gcc.
Fixed block introspection for the new (Apple-compatible) ABI.
16 years ago
theraven 71b4b0df3b Fix off-by-one error in encoding parsing. 16 years ago
theraven 911b9142cd Added missing header (unwind.h, from libunwind) 16 years ago
ericwa 39b0655877 libobjc2: another makefile hack to get mingw to declare strdup 16 years ago
ericwa 56341816a5 libobjc2: Makefile hack to get the __sync_* GCC builtins to work on Windows 16 years ago
ericwa 5238f95a77 libobjc2/Test: use # instead of __STRING in test macro 16 years ago
theraven b6abe490ab Remove some obsolete comments. 16 years ago
ericwa d56930241e Stylistic fixes 16 years ago
theraven 85c07b836e Fix some warnings with -Wextra. 16 years ago
ericwa 83028de810 libobjc2: improve the test program a bit 16 years ago
ericwa 879f5aa300 libobjc2: add Xcode project for RuntimeTest 16 years ago
ericwa 64362dd3ad libobjc2: add a Test subdirectory with a preliminary test of the runtime API 16 years ago
ericwa ed1c9d41eb libobjc2: Add a pile of NULL checks. In general, any public function should be able to handle NULL for any object/class/selector/pointer to opaque structure without blowing up. 16 years ago