Commit Graph

762 Commits

Author SHA1 Message Date
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
rfm
6fef97e445 add assembler flags needed for cmake 2013-07-10 16:03:27 +00:00
theraven
4387d80fb1 Only use .type on ELF targets. 2013-07-09 15:56:21 +00:00
theraven
16bfdc8ee6 Align ivars to 16 byte boundaries when they are larger than a pointer. This is
currently overly defensive.

Add a test case for this realignment.
2013-07-08 11:02:52 +00:00
ericwa
317e951b0c libobjc2: some changes needed to build on OS X. CDECL macro to prefix symbol names in assembly code with an underscore, macros to omit the .type and .section derictives which are unsupported on OS X, and also a linker flag to make weak symbols work 2013-07-08 09:07:37 +00:00
theraven
71b6439091 Fix the build without gnustep-config by not relying on a variable that seems to
only be set on Ubuntu...
2013-07-02 09:29:18 +00:00
theraven
7fde81e9b2 Fix include to work with make. 2013-06-30 08:35:24 +00:00
theraven
f50bc6cf33 Added support for tracing message sends to the runtime.
Currently x86-64 only.
2013-06-29 11:05:31 +00:00
theraven
3e2176a824 Update ANNOUNCE to clean slate for next release. 2013-06-28 12:42:54 +00:00
theraven
2f720fb30e Respect CMAKE_INSTALL_LIBDIR when determining library install paths.
Patch by Lubos Dolezel!
2013-06-27 11:30:41 +00:00
theraven
60a3605c6c Added a test that the C++ runtime is really useable (i.e. exports the symbols that we need). 2013-06-21 13:10:12 +00:00
theraven
3b9bbf296d Fixed property introspection test for the more-expressive strings that clang
now produces.

This test is now expected to fail with slightly older clang.
2013-06-21 11:48:24 +00:00
theraven
1a76a2a021 Handle the case where the alignment of a new ivar is 0.
Reported by: Lubos Dolezel
2013-06-21 11:47:55 +00:00
theraven
0ed2182b83 Add explicit cast for pthread lock initialiser. 2013-05-28 10:00:11 +00:00
theraven
8baefbe5c8 Expose asprintf() with glibc. 2013-05-28 09:57:00 +00:00
theraven
55f40d8b58 Force finding of the shared lib version of the C++ runtime lib. 2013-05-28 09:51:49 +00:00
theraven
c37fdd98ad Add CMake options for disabling ObjC++ entirely and for forcing the build of a separate libobjcxx.so. 2013-05-23 14:48:27 +00:00
theraven
95204ad094 Fixed svn URL for 1.7 release announcement. 2013-05-16 12:22:27 +00:00
theraven
03a0eda156 Added 1.7 release announcement. 2013-05-16 12:20:55 +00:00
theraven
6011966f4f Add deprecation warning to the Makefile build. 2013-05-16 12:17:37 +00:00
theraven
9d91efe015 Added a note about compiler selection to INSTALL. 2013-05-16 12:11:08 +00:00
theraven
3b44e6f97a Fix the build with LLVM 3.3 and enable building the optimisation passes by
default of LLVM 3.3 is found.
2013-05-16 12:04:18 +00:00
theraven
383ccff079 More INSTALL cleanups. 2013-04-24 09:57:41 +00:00
theraven
7589cedb98 Added note about packaging to INSTALL file. 2013-04-24 09:23:17 +00:00
theraven
c346ff1088 More header cleanups in the tests. 2013-04-23 08:49:27 +00:00
theraven
074fd1da56 Add path to Test.h to help Make builds. 2013-04-23 08:45:22 +00:00
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.
2013-04-15 15:46:39 +00:00
theraven
ed84a2b0a2 Updated release announcement. 2013-04-15 08:06:34 +00:00
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...
2013-04-14 13:23:16 +00:00
theraven
8ebd47dbae Remove the extra check from the ARM message send function. 2013-04-14 13:22:30 +00:00
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.
2013-04-12 10:35:51 +00:00
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
2013-04-04 09:35:21 +00:00
theraven
5ededfe863 Allow the user to specify the library path. 2013-03-25 16:05:26 +00:00
theraven
193629d8a2 Fix a bug with blocks in ARC mode being incorrectly released. 2013-03-12 08:51:59 +00:00
theraven
93e297fd87 Unconditionally make message.h a system header to work around an old-clang bug. 2013-03-11 09:15:54 +00:00
rfm
c3aa9b62e6 fix function to get type qualifiers 2013-03-09 17:01:29 +00:00
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!
2013-03-09 10:07:28 +00:00
thebeing
26b04515a9 Link libdispatch if it is available, since the toydispatch stuff will pull it in. 2013-03-08 13:22:08 +00:00
theraven
608b330bae Disable RTTI when building LLVM passes.
Patch by Jean-Charles Bertin!
2013-03-01 14:41:30 +00:00
theraven
cbd227ad1e Bump up XOPEN source version so snprintf() is visible on FreeBSD 2013-03-01 11:32:56 +00:00
theraven
a27e31e07a Fix optimisations with LLVM trunk. 2013-03-01 11:30:17 +00:00
theraven
4b76f0134d Default to only building LLVM optimisations if the version of LLVM is tested. 2013-03-01 11:24:54 +00:00
theraven
dbe4ed41fa Updated release announcement. 2013-03-01 11:11:35 +00:00
theraven
3a0ecad453 Add header changes too... 2013-02-28 17:45:05 +00:00