theraven
43ee8b9819
Add initial support for imp_implementationWithBlock() and friends. Currently
...
only works on x86 and x86-64 and doesn't work with sret functions.
14 years ago
theraven
db1c9052de
Remove the GNUmakefile. It can't be used for bootstrapping and maintaining two parallel build systems is just asking for trouble.
14 years ago
theraven
26d86e101c
Inherit +initialize methods.
15 years ago
theraven
daf9976eab
Fix type encoding of blocks.
15 years ago
theraven
6d50cdee99
Return the correct small int class in 32-bit mode
15 years ago
theraven
ee3961f38e
Register LLVM passes with the new API.
15 years ago
theraven
b68a5dda6d
Get the libobjc2 optimisations building again with LLVM trunk.
15 years ago
theraven
3e4b528ea4
Don't link libobjcxx to libobjc (for some reason, doing so causes it to be loaded twice).
15 years ago
theraven
be3f8ddf0f
Fix bug spotted by Justin Hibbits.
15 years ago
theraven
4e3e71c750
Tweak 64-bit support for small objects.
15 years ago
theraven
a7d4cfd640
Make the version of libobjc generated by the makefile the one Etoile expects
15 years ago
theraven
bb283464cd
It's a good idea, it turns out, if it's possible to propagate exceptions through the code responsible for... propagating exceptions.
15 years ago
theraven
c6a409bb3a
Some fixes to the Makefile
15 years ago
theraven
e35b0a09e1
windows.h defines its own BOOL, just to be special. Redefine this as WINBOOL to work around the incompatibility with ObjC.
...
Patch by Mathieu Suen!
15 years ago
theraven
f133fa7eb8
Better ObjC++ support in runtime.h
15 years ago
theraven
99761c2877
More fixes to Makefile.clang.
...
Patch by Charlie Sharpsteen!
15 years ago
theraven
1d16930450
Fix missing semicolon.
...
Make Makefile.clang work
Patch by Charlie Sharpsteen.
15 years ago
theraven
38568fca57
Remove some dead code. Fix a bug when cloning objects with no associated references.
15 years ago
theraven
5d3c047fa2
Finished implementing JavaScript-style prototypes.
15 years ago
theraven
b54719abf1
Basic support for prototype-style object orientation (you can now add methods to an individual object).
15 years ago
theraven
55d86bba6c
Blocks cleanups.
15 years ago
theraven
6a27408e9e
Fix malloc() / free() imbalance.
15 years ago
theraven
908374672d
Make OBJC_SMALL_OBJECT_SHIFT / OBJC_SMALL_OBJECT_MASK constants.
15 years ago
theraven
8e34dccda9
Deprecate access to the isa pointer. This will become a hard error in future.
15 years ago
theraven
22e5aaf7b0
Add OBJC_SMALL_OBJECT_SHIFT macro.
15 years ago
theraven
f3d2b7034c
Small object + ARC tweaks.
15 years ago
theraven
2288ff54e3
Don't try to enable GC in ARC mode.
15 years ago
theraven
8af52846b7
Small object (hidden in a pointer) support.
15 years ago
theraven
f6d9318619
s/fifth/sixth
15 years ago
theraven
1fd4fe5854
Bump subminor version number
15 years ago
theraven
fceec26cb7
Fix bug assigning weak references.
15 years ago
theraven
0c6c31acec
Fix file locations for 1.5 release.
15 years ago
theraven
ae7cefe382
Disable GC by default (lots of people moan that it doesn't compile)
...
Update ANNOUNCE.
15 years ago
theraven
ffc661fe5c
Export capabilities for associated references and GC.
15 years ago
theraven
2d493697a6
Work around PyObjC's stupid abuse of the message-send-to-super mechanism.
15 years ago
theraven
3219a530d6
Don't call byref keep / dispose when they don't exist.
15 years ago
theraven
dfbf18cc67
Fixed <= bug in weak references. We're storing the EXTRA retain count, not the refcount.
15 years ago
theraven
61a7c53a08
Handle NULL arguments to block copy / release.
15 years ago
theraven
83db079968
Fix bug in fast path for class_getInstanceMethod()
15 years ago
theraven
65d6a8dfb5
When changing the size of structures, it's a good idea to make sure that you change everything that depends on those sizes too...
15 years ago
theraven
4e7b476aa6
Change [1] to [] for variable length structure elements (C99 - silences array out of bounds errors).
...
Added fields to the end of the class structure for strong / weak ivar bitmaps (not yet generated by any compiler).
Fixed definition of __sync_swap() so that it works on GCC again.
15 years ago
theraven
219f921bc3
Fix some bugs in class_getInstanceMethod()
15 years ago
theraven
e69ed0696d
Better recovery when things are done in the wrong order.
15 years ago
theraven
3754c9fdbe
Accidentally deleted class declaration for Protocol2. Add it back.
15 years ago
theraven
5448596ace
Update Makefile.
15 years ago
theraven
3a27521f57
Add flag for identifying modules that use ARC.
15 years ago
theraven
e0ae8ce474
Another 64-bit issue.
15 years ago
theraven
33864e9676
Fix int -> size_t, causing breakage on 64-bit big-endian platforms.
15 years ago
theraven
52fb301a45
Move return statement into the conditional, where it belongs.
15 years ago
theraven
e8583bf4ae
Updated README to give some more information about ARC.
15 years ago