Richard Frith-MacDonald
7a55300d6b
cleanup for next reelease
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32385 72102866-910b-0410-8b05-ffd578937521
2011-02-27 09:08:59 +00:00
Richard Frith-MacDonald
38670c0a08
OSX compatibility changes and other minor tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32279 72102866-910b-0410-8b05-ffd578937521
2011-02-22 07:05:36 +00:00
Richard Frith-MacDonald
0592b48e55
Raise when attempting to use unimplemented classes. Check for null pointers
...
in more runtime functions (probably still many cases where we crash if null
pointers are passed to the API and Apple behave more tolrantly).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32124 72102866-910b-0410-8b05-ffd578937521
2011-02-13 06:31:05 +00:00
Richard Frith-MacDonald
ef81066edc
Fix to get compile working again on slightly older systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31548 72102866-910b-0410-8b05-ffd578937521
2010-10-22 07:25:57 +00:00
Gregory John Casamento
7795322965
Correct license text in sync.m and also correct the test to see if the ObjC compiler is working.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31519 72102866-910b-0410-8b05-ffd578937521
2010-10-16 20:43:33 +00:00
Wolfgang Lux
2a5d060cfa
Fix two unchecked pointer dereferences in the libobjc2 compatibility
...
code, which could cause crashes when attempting to invoke a selector
which is not implemented by the target.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31384 72102866-910b-0410-8b05-ffd578937521
2010-09-20 18:13:48 +00:00
Richard Frith-MacDonald
d317aab108
fix occasional crash with proxies
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31291 72102866-910b-0410-8b05-ffd578937521
2010-09-10 10:40:07 +00:00
Eric Wasylishen
d7a7393a0b
Minor build fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31271 72102866-910b-0410-8b05-ffd578937521
2010-09-09 17:02:19 +00:00
Eric Wasylishen
59ba8facf0
Change sel_getUid to call sel_registerName, in line with OS X behaviour since 10.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31270 72102866-910b-0410-8b05-ffd578937521
2010-09-09 16:43:29 +00:00
David Chisnall
db04df357a
Add implementation of sel_registerTypedName_np() to ObjectiveC2 (libobjc2 nonportable function for registering / getting typed selectors).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31266 72102866-910b-0410-8b05-ffd578937521
2010-09-09 15:17:40 +00:00
Eric Wasylishen
345563c947
* Source/ObjectiveC2/runtime.h:
...
* Source/ObjectiveC2/runtime.m:
Implement protocol_copyMethodDescriptionList, protocol_copyProtocolList,
protocol_getMethodDescription, as well as a dummy version of
objc_copyProtocolList.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
Implement a convenience method, GSProtocolGetMethodDescriptionRecursive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31254 72102866-910b-0410-8b05-ffd578937521
2010-09-08 20:30:19 +00:00
David Chisnall
daecca9270
Import feature test function from libobjc2 into ObjectiveC2 framework. Returns 0 for all of the new features. May return the wrong value for exception support, if the runtime is really ancient and does not support exceptions. Returns 1 for features that the framework adds.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31252 72102866-910b-0410-8b05-ffd578937521
2010-09-08 14:10:01 +00:00
Jonathan Gillaspie
300d429113
* ObjectiveC2/sync.m -- Removed WEAK declaration
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31201 72102866-910b-0410-8b05-ffd578937521
2010-08-25 17:38:13 +00:00
Richard Frith-MacDonald
20220c48f5
fixes for bug #29338
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31188 72102866-910b-0410-8b05-ffd578937521
2010-08-20 11:07:33 +00:00
Richard Frith-MacDonald
50662ad093
avoid some compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31107 72102866-910b-0410-8b05-ffd578937521
2010-08-10 10:38:50 +00:00
Niels Grewe
c86696f8f7
Add sel_getType_np() function to the ObjectiveC2 compatibility framework.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31001 72102866-910b-0410-8b05-ffd578937521
2010-07-19 09:11:07 +00:00
Niels Grewe
c7ef614806
Protect runtime.h from multiple inclusion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30898 72102866-910b-0410-8b05-ffd578937521
2010-06-30 04:44:03 +00:00
Richard Frith-MacDonald
f3fce06388
Use inttypes.h rather than stdint.h ... supported on more platforms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30888 72102866-910b-0410-8b05-ffd578937521
2010-06-29 08:23:52 +00:00
David Chisnall
16c3a7e11d
Fixed #includes in NSBlocks.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30803 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:32:45 +00:00
David Chisnall
1a37e4936f
Added missing source file - I guess that explains why it wasn't included in the make file...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30802 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:27:40 +00:00
David Chisnall
4c218bd770
Actually build blocks support...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30801 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:16:16 +00:00
Richard Frith-MacDonald
23b7ff95cd
Simplify source by usuing autoconf
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30692 72102866-910b-0410-8b05-ffd578937521
2010-06-12 07:19:26 +00:00
Riccardo Mottola
c646d76a81
attempt of fixing test again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30659 72102866-910b-0410-8b05-ffd578937521
2010-06-10 23:33:56 +00:00
Richard Frith-MacDonald
dd5d5ebb4a
Apply Yavor's fix for bug #30094
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30634 72102866-910b-0410-8b05-ffd578937521
2010-06-09 13:26:22 +00:00
Richard Frith-MacDonald
23fb22bf40
Fix invocation breakage.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30606 72102866-910b-0410-8b05-ffd578937521
2010-06-07 14:43:08 +00:00
David Chisnall
e7f3e84b89
... and check superclasses when checking protocol conformance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30589 72102866-910b-0410-8b05-ffd578937521
2010-06-06 21:08:14 +00:00
David Chisnall
521538ed20
Imported (working) versions of {class,protocol}_conformsToProtocol() from libobjc2.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30587 72102866-910b-0410-8b05-ffd578937521
2010-06-06 14:07:11 +00:00
Richard Frith-MacDonald
20e7daac62
quick fix t get trunk compiling again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30444 72102866-910b-0410-8b05-ffd578937521
2010-05-22 04:41:32 +00:00
Riccardo Mottola
2a3ef7b2d9
correctly import config.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30443 72102866-910b-0410-8b05-ffd578937521
2010-05-21 21:34:32 +00:00
Riccardo Mottola
67dcff87fa
Guarded stdint.h inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30438 72102866-910b-0410-8b05-ffd578937521
2010-05-21 11:05:33 +00:00
David Chisnall
f10a31e6f3
Back-ported fix in Method lookup from libobjc2 to ObjectiveC2. Should fix the DO-related issues (failure to connect to gdnc and so on).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30409 72102866-910b-0410-8b05-ffd578937521
2010-05-17 13:36:00 +00:00
Richard Frith-MacDonald
00164a28ed
Workaround for buggy runtime functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30154 72102866-910b-0410-8b05-ffd578937521
2010-04-14 11:52:21 +00:00
Doug Simons
929cc7b2d9
Avoid crash on Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30040 72102866-910b-0410-8b05-ffd578937521
2010-03-25 23:28:52 +00:00
Riccardo Mottola
462f5721ab
change defines for GNU/HURD
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30039 72102866-910b-0410-8b05-ffd578937521
2010-03-25 22:53:21 +00:00
Richard Frith-MacDonald
176a96d55f
tweaks for mingw defines
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30003 72102866-910b-0410-8b05-ffd578937521
2010-03-19 12:26:42 +00:00
Richard Frith-MacDonald
f784646663
generalize define from __MINGW32__ to __MINGW__
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30001 72102866-910b-0410-8b05-ffd578937521
2010-03-19 12:10:11 +00:00
Richard Frith-MacDonald
fd040a69b3
fix for bug #29203
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29996 72102866-910b-0410-8b05-ffd578937521
2010-03-18 05:04:44 +00:00
Richard Frith-MacDonald
8632d7f34a
improve setting of warning flags
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29899 72102866-910b-0410-8b05-ffd578937521
2010-03-11 08:08:08 +00:00
Riccardo Mottola
d3f8674ce0
use proper _XOPEN_SOURCE instead of __USE_UNIX98 to enable needed thread features on glibc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29892 72102866-910b-0410-8b05-ffd578937521
2010-03-09 23:57:24 +00:00
Richard Frith-MacDonald
82a47f512d
OSX compatibility tweaks for class_getName()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29881 72102866-910b-0410-8b05-ffd578937521
2010-03-08 17:25:47 +00:00
Richard Frith-MacDonald
45568ac01f
fix error looking up protcol
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29845 72102866-910b-0410-8b05-ffd578937521
2010-03-05 08:11:38 +00:00
Richard Frith-MacDonald
acf69942e9
use objc_getProtocol
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29841 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:44:39 +00:00
Richard Frith-MacDonald
946ea79113
fix missing line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29835 72102866-910b-0410-8b05-ffd578937521
2010-03-04 10:31:12 +00:00
Richard Frith-MacDonald
a0cb694b69
fix errors in last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29831 72102866-910b-0410-8b05-ffd578937521
2010-03-04 09:20:22 +00:00
Richard Frith-MacDonald
102df587f7
more changes for new runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29828 72102866-910b-0410-8b05-ffd578937521
2010-03-04 08:15:08 +00:00
Richard Frith-MacDonald
09666b5d16
add -Wdeclaration-after-statement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29822 72102866-910b-0410-8b05-ffd578937521
2010-03-03 09:56:34 +00:00
Richard Frith-MacDonald
542a7c3d80
Improve new runtime api support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29820 72102866-910b-0410-8b05-ffd578937521
2010-03-03 09:34:06 +00:00
Richard Frith-MacDonald
470d0b18f2
Use osx style ivar lookup correctly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29808 72102866-910b-0410-8b05-ffd578937521
2010-02-28 17:28:42 +00:00
Richard Frith-MacDonald
05b7bfa194
fix ivar lookup function to look in superclass
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29804 72102866-910b-0410-8b05-ffd578937521
2010-02-28 17:16:21 +00:00
Richard Frith-MacDonald
299c3aefeb
cleanup compatibility header installation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29793 72102866-910b-0410-8b05-ffd578937521
2010-02-28 09:10:16 +00:00