16 Commits (8058495e3974c1b8339537aee8bf620e16759bf9)

Author SHA1 Message Date
theraven 8058495e39 Fix crash with gcc-compiled protocols. 16 years ago
theraven a2dbc582de Made objc_getProtocol() return a protocol from the protocol table, rather than creating a new one. 16 years ago
qmathe e92f753091 Restored objc_getProtocol() which seems to have been accidentally removed.
Fixed class_replaceMethod() to update the dispatch table.
16 years ago
theraven 4a9187b1cc Made allocateClassPair() set the name of the metaclass. 16 years ago
theraven 9f602c083c Fixed class_getInstanceSize(); 16 years ago
theraven bd8626e692 Fix warning in last commit. 16 years ago
theraven 752b7ec9d8 Another fix for allocating runtime classes. 16 years ago
theraven da9aafd3ed More fixes for bugs found by Mizuki. 16 years ago
theraven 2a5ba9f18a Fixed class_get_super_class() so that it actually works and simplified class_getSuperclass() to call it directly. This fixes numerous other corner cases, for example you can now throw a constant string as an exception and have it work correctly even if no constant string objects have been sent messages.
Hopefully this will fix a few other Heisenbugs and reduce the strength of the Mottola Effect.
16 years ago
theraven 51ab4a935a Fixed class_getSuperclass() implementation. 16 years ago
theraven 604efa7077 Add new classes to the class table when they are registered. 16 years ago
theraven 81de407358 Fixed method_getNumberOfArguments(), report by Mizuki. 16 years ago
theraven 028a312ecd Fixed bugs found by Mizuki. 16 years ago
qmathe 8b9c723905 Added object_setClass 16 years ago
theraven 4771cd4e43 Added selector lookup functions. Implementations by Eric Wasylishen. 16 years ago
theraven 323e3dfaeb Added new runtime library, based on GCC 4.4 libobjc, libobjc_tr and Objective2.framework. 17 years ago