theraven
7589cedb98
Added note about packaging to INSTALL file.
13 years ago
theraven
c346ff1088
More header cleanups in the tests.
13 years ago
theraven
074fd1da56
Add path to Test.h to help Make builds.
13 years ago
theraven
8d954d1cb8
When linking libdispatch, register to create / destroy autorelease pools at the
...
correct time. This fixes the intermittent problems when using libdispatch from
LanguageKit, among other things.
13 years ago
theraven
ed84a2b0a2
Updated release announcement.
13 years ago
theraven
518e059538
Add MIPS support for assembly paths.
...
Note: Only n64 is tested. o32 and n32 will probably work, but use at your own tisk...
13 years ago
theraven
8ebd47dbae
Remove the extra check from the ARM message send function.
13 years ago
theraven
d80689e3e4
Remove the test for whether the uninstalled dtable is present from
...
objc_msgSend(). If the class does have the uninstalled dtable, then every
method will be the nil slot and so, after navigating the dtable we will
discover that it is nil and go into the slow path. The cost of this change is
a slight slowdown in the first message sent to every class. The benefit is
that every subsequent message send needs one fewer memory access and one fewer
conditional jump.
13 years ago
ivucica
a6b6a9779c
Fixed INIT_LOCK() on Android by casting to pthread_mutex_t.
...
Based on David's suggestion: http://lists.gnu.org/archive/html/gnustep-dev/2013-03/msg00082.htm
13 years ago
theraven
5ededfe863
Allow the user to specify the library path.
13 years ago
theraven
193629d8a2
Fix a bug with blocks in ARC mode being incorrectly released.
13 years ago
theraven
93e297fd87
Unconditionally make message.h a system header to work around an old-clang bug.
13 years ago
rfm
c3aa9b62e6
fix function to get type qualifiers
13 years ago
theraven
32c79b2329
Add _Unwind_Action to unwind-arm.h. This wasn't originally needed, but is now
...
because it is explicitly referenced by the function that is shared between the
two ObjC personality functions.
Patch by Emmanuel Maillard!
13 years ago
thebeing
26b04515a9
Link libdispatch if it is available, since the toydispatch stuff will pull it in.
13 years ago
theraven
608b330bae
Disable RTTI when building LLVM passes.
...
Patch by Jean-Charles Bertin!
13 years ago
theraven
cbd227ad1e
Bump up XOPEN source version so snprintf() is visible on FreeBSD
13 years ago
theraven
a27e31e07a
Fix optimisations with LLVM trunk.
13 years ago
theraven
4b76f0134d
Default to only building LLVM optimisations if the version of LLVM is tested.
13 years ago
theraven
dbe4ed41fa
Updated release announcement.
13 years ago
theraven
3a0ecad453
Add header changes too...
13 years ago
theraven
57a9acb13c
Some test case cleanups.
13 years ago
theraven
aad22cb092
Fix method_setImplementation bug.
13 years ago
theraven
58a574b34f
Fixed a great many property introspection bugs and added test case.
...
Test case by Jean-Charles Bertin!
13 years ago
theraven
8cce906a41
Hopefully fix the build on crazy libc implementations.
13 years ago
theraven
c73b7a2f0b
Mark all libobjc2 headers as system headers when not compiling the runtime
...
itself. This makes clang hide warnings.
13 years ago
theraven
7218882f7e
Apparently clang 3.2 had the same bug as 3.1...
13 years ago
theraven
3fbdbe4d02
Work around a bug in clang 3.1 that declares objc_msgSend_stret as a builtin
...
with the wrong signature.
13 years ago
theraven
197dbaba7c
Add building / installation instructions for libobjc2.
13 years ago
theraven
9e93a413d1
Print some memory usage statistics on exit if LIBOBJC_MEMORY_PROFILE is
...
defined.
13 years ago
theraven
0e90d9645d
Tweak the ManyManySelectors test case so that it doesn't hit a pathological
...
case in the selector hashing function and use insane amounts of memory.
13 years ago
theraven
1b7a492ab2
Fix a small memory leak of selector names when registering selectors with the
...
same name but different types.
13 years ago
theraven
d7df8c415b
Move the selector table to being protected by a mutex for reads so that we can
...
recover memory from the smaller ones. Selector lookups are not on the critical
path for message sends, so the cost of the extra memory is likely to be larger
than the cost of acquiring a lock in sel_getName().
13 years ago
theraven
eb234ea26a
Fix the case where the number of selectors grows to more than 2^16 and we need
...
to fall back to 3-level dtables.
Added a test case that registers far more selectors than a sane program
contains and tries to use them.
13 years ago
theraven
1a386c9efd
Fix the GOT-relative addressing in 32-bit message sends.
...
Thanks to Banlu for helping track this down.
13 years ago
theraven
8ee95e805a
Install the message.h header.
13 years ago
theraven
ffa7dbad8d
Cleaner version of the last fix.
13 years ago
theraven
fb2e6756f6
Fix (and add test case for) a bug where objc_allocateClassPair() failed if the
...
superclass had not yet been loaded.
13 years ago
theraven
ae3b44ac78
Fix clang's stupid warning to work around a bug in OS X headers...
13 years ago
theraven
63bdbc9440
Add another missing file...
13 years ago
theraven
0b883f2cc2
Add missing test.
13 years ago
theraven
ca25388b37
Fix a lock-order reversal where one thread calls some dtable-manipulating
...
function while another is initializing.
13 years ago
theraven
65e3dc736c
Added test of forwarding mechanisms.
13 years ago
theraven
b757ea9ffb
Tidied up tests, made them work with make as well as ninja generators for
...
CMake.
13 years ago
theraven
6317b79a10
Implemented the new exception ABI, and a load of tests for it. This is used by
...
clang trunk if -fobjc-runtime-1.7 is specified and provides significantly
better interoperability with foreign exceptions.
Note: Most of the exception tests will not pass with gcc or clang < 3.3. They
test things that are impossible to implement quite correctly with the
GCC-compatible exception ABI.
Also updated the release notes to reflect recent improvements.
13 years ago
qmathe
7e5d437065
Restored r35794 changes (that were removed in r35893) but applied them to the
...
GNUMakefile rather than the Makefile.
This fixes segfaults in programs compiled with Clang using -fobjc-nonfragile-abi
on Linux x86-32, for a GNUmakefile-based build with GNUstep Make active.
13 years ago
theraven
0dcb0885bf
Update opts to work with LLVM trunk (3.3).
13 years ago
theraven
aeb0c913b9
Enabled property attribute test, fixed failure.
13 years ago
theraven
ef5f8b744d
Added more test cases.
13 years ago
theraven
bcf6e32311
Make it possible to disable building the tests.
13 years ago