Commit graph

69 commits

Author SHA1 Message Date
rfm
f375250f01 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
rfm
f2e81c9391 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
rfm
337be3cce0 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
rfm
039b272d3f 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
gcasa
a512ed3b02 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
wlux
fdd4894770 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
rfm
b6cb12d345 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
ericwa
2e8bd670a8 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
ericwa
62f9e3c053 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
theraven
5ad0e5323c 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
ericwa
c4159475b4 * 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
theraven
f9d2cebe57 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
jonathanosx
f5a7ed4073 * 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
rfm
37e8986b2c 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
rfm
e1a528b485 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
thebeing
381f43eb72 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
thebeing
56a362254b 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
rfm
ea9e668cb0 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
theraven
8221389f04 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
theraven
35b35e01f3 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
theraven
c51972cb5f 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
rfm
b300053863 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
rmottola
29be186908 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
rfm
d584fb8e06 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
rfm
122c4b087a 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
theraven
7a176201c6 ... 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
theraven
1b1baeac00 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
rfm
79083336bb 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
rmottola
6b85a09384 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
rmottola
8a0eba3629 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
theraven
8085cfb1c6 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
rfm
1904a2cbe5 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
dpsimons
06128fc67c 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
rmottola
b81a5fcc0b 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
rfm
eec308a99d 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
rfm
1a5d643771 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
rfm
50317ec849 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
rfm
720d08e996 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
rmottola
a7ea17e6b8 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
rfm
05b4129355 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
rfm
0d5498e121 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
rfm
b4c1a94377 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
rfm
8344b0e616 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
rfm
b75949a336 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
rfm
cdc8b38bb9 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
rfm
9500a92a7e 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
rfm
4ef9ec8b86 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
rfm
db7e1148aa 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
rfm
dc7c82dbee 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
rfm
c01d7213e5 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