Commit Graph

805 Commits

Author SHA1 Message Date
Lubos Dolezel
69e34ea0d9 Modifications for Darling build 2015-10-06 22:23:10 +02:00
davidchisnall
b55071b370 Merge pull request #6 from ngrewe/property_encoding
Be more lenient when accepting property encodings produced by clang
2015-09-08 11:21:05 +01:00
Niels Grewe
c5ae4432e0 Be more lenient when accepting property encodings produced by clang. Cf. gnustep/libobjc2#5. 2015-09-08 12:12:03 +02:00
davidchisnall
27933a9be7 Merge pull request #4 from ngrewe/nil_exception
Fix throwing nil exceptions.
2015-09-07 12:41:50 +01:00
Niels Grewe
1ac152032a Merge branch 'master' into nil_exception
Conflicts:
	Test/CMakeLists.txt
2015-09-07 13:04:53 +02:00
Niels Grewe
e121b34a9f Check other exception handlers that should/shouldn't catch nil. 2015-09-07 13:03:00 +02:00
davidchisnall
3443925636 Merge pull request #3 from ngrewe/master
Fix returning argument types from methods.
2015-09-07 11:51:51 +01:00
Niels Grewe
dbf392ce99 Move indexing fix into findParameterStart() 2015-09-07 12:49:58 +02:00
Niels Grewe
b2e7c50704 Fix throwing nil exceptions. 2015-09-07 12:01:39 +02:00
Niels Grewe
cbacd87632 Add missing changes 2015-09-06 22:20:08 +02:00
Niels Grewe
44627f69e7 Also fix method_getArgumentType(). Add test case. 2015-09-06 21:39:24 +02:00
Niels Grewe
abb0d1e931 Fix returning argument types from methods. 2015-09-06 20:13:05 +02:00
David Chisnall
b0fba94d8b Added 1.8.1 release announcement to master branch. 2015-08-07 12:34:47 +01:00
David Chisnall
27d4bd055a Merge fixes from my temporary fork. 2015-08-07 09:24:26 +01:00
David Chisnall
bdfcc0fc79 Fix copy and paste error in release announcement. 2015-07-12 12:17:46 +01:00
David Chisnall
181c0a4d7c Copied 1.8 release announcement for archiving. 2015-07-12 12:14:24 +01:00
David Chisnall
e232cdb0bd Updated URLs in the ANNOUNCE. 2015-07-12 12:13:12 +01:00
David Chisnall
857edd9ef7 Fix the README name for CPack. 2015-06-30 14:16:20 +01:00
David Chisnall
913e271963 Fix some omissions in the last commit. 2015-06-16 14:43:19 +01:00
David Chisnall
7e312ef680 The README file is mostly markdown. Make it properly markdown and give it an extension to match. 2015-06-16 14:41:53 +01:00
David Chisnall
a74542ae4f Add a test that hidden classes are correctly deallocated and don’t leave the runtime in an undefined state. 2015-03-23 14:10:43 +00:00
David Chisnall
d6ca506d6a Make sure that we remove hidden classes from the subclass list, as well as adding them. Also make sure that subclass list manipulation is protected by the runtime lock. 2015-03-23 14:10:07 +00:00
David Chisnall
71c1437ac2 If we find LLVM, but fail to find the relevant cmake modules, give a helpful error and then continue without building the optimisations, instead of just dying. 2015-03-23 14:09:15 +00:00
David Chisnall
4951043022 Add .gitignore. 2015-03-23 14:08:40 +00:00
rfm
7f007e354e fix bug in small object test on 64bit systems 2014-07-04 11:07:30 +00:00
ivucica
4742f71d29 Added #define __has_builtin into block_to_imp.c. 2014-06-03 13:59:36 +00:00
theraven
dc241dc1bf Make sure that we flush the instruction cache when creating a new IMP at run
time.
2014-03-19 07:26:52 +00:00
theraven
05243617bf Correctly handle forced unwinding on ARM.
Parch by Mathias Bauer!
2014-03-19 07:10:59 +00:00
theraven
a8fe7efdae Make sure we continue unwinding correctly on ARM.
Patch by Logan Chien!
2014-03-19 07:09:52 +00:00
theraven
bd0728f393 Fix a bug in weak reference handling, where weak refers were being removed from
the table incorrectly, causing objects inserted at offsets due to hash
collisions to fail to be moved up and then fail to be found later.

Test by Eric Wasylishen!
2014-03-04 09:59:24 +00:00
theraven
58919f07d4 Fix ARM exception building.
Patch by Patryk Laurent!
2014-02-27 11:03:25 +00:00
theraven
2c81ee0428 Allow ARC to correctly handle references to self from blocks within -dealloc. 2014-02-27 11:00:44 +00:00
theraven
6394126bfe Some cleanups in block to IMP conversion.
On FreeBSD (and other platforms that choose to implement the , allocate the
memory via the anonymous shared memory mechanism, removing the need for the
temporary file.  On other POSIX platforms, correctly use mkstemp().
2014-01-20 17:28:15 +00:00
theraven
76a88312dd Work around GNUstep's inability to initialise NSAutoreleasePool without
performing recursive autoreleases (introduced in r37479).
Fixes crashing of C++ static constructors.
2014-01-15 17:26:00 +00:00
theraven
42948106cd Fix the mask for the top part of the dtable on MIPS. 2013-12-23 14:03:12 +00:00
theraven
a78a7f3e6b Fix protocol_copyProtocolList() to return the correct count value. 2013-12-20 12:34:11 +00:00
theraven
39b6c20d5e Fix missing unlock.
Submitted by:	Nick Tuckett
2013-12-13 14:05:39 +00:00
theraven
2d0ae6b79b Add test for associated objects. 2013-12-13 13:40:45 +00:00
theraven
9bb46919f6 Fixes to ARM objc_msgSend().
Submitted by:	David Hunt
2013-12-13 09:16:02 +00:00
theraven
55bbcd8748 Only emit section directives on ELF platforms. 2013-12-13 09:13:27 +00:00
rfm
eee9f69ca1 protocol_copyProtocolList() return the allocated/populated result 2013-11-22 15:39:49 +00:00
theraven
c819b379da Fix the build with GC enabled, export the GC symbols in all build configurations. 2013-08-14 09:01:48 +00:00
theraven
3f94730ba8 Define ENOTSUP in the case where it actually is used if it isn't defined. 2013-07-24 18:23:05 +00:00
theraven
e6d4229169 Don't forget to expand the tracing dtable... 2013-07-24 10:50:43 +00:00
theraven
edeb64095d Disable the failing test until it can be fixed properly. 2013-07-22 10:51:56 +00:00
theraven
da6d7f6060 Remove ivar offset fudging code, as it appears to break a lot of things. 2013-07-21 18:03:03 +00:00
theraven
d315fd40f5 Correctly handle buffered protocols.
Reported by: Krystof Vasa
2013-07-18 09:17:11 +00:00
theraven
d838f7ad28 Don't crash when trying to synchronize on nil (but don't do anything sensible either). 2013-07-18 09:14:02 +00:00
theraven
8979f19f1d Fix some bugs in protocol property introspection and remove a redundant #define.
Reported by Krystof Vasa!
2013-07-17 14:03:59 +00:00
theraven
68a4607f16 Define ENOTSUP if it isn't defined already. 2013-07-11 15:38:02 +00:00