jbettis
2ee54ee5a6
GSFFCallInvocation.m: If the returning context is expecting a void* but we have a different return type just cast it. This normally is because the method was not declared and has defaulted to returning id.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22781 72102866-910b-0410-8b05-ffd578937521
2006-04-12 19:43:49 +00:00
fedor
376e495dad
* Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
CaS
0708409c1b
Tidy up use of white space so we have it after if/for/while and not after (
...
or before ) or padding at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
ayers
3a3f23c0e7
* Source/GSFFCallInvocation.m
...
* Source/GSFFIInvocation.m (gs_protocol_selector): Skip '-'
for negative offsets to avoid issues with pre gcc 3.4 generated
signatures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19975 72102866-910b-0410-8b05-ffd578937521
2004-09-02 16:35:44 +00:00
ayers
b803fe27a6
* Headers/Foundation/NSMethodSignature.h:
...
(NSArgumentInfo): Document limitations of NSArgumentInfo's
offset and registier information. Match size for NO_GNUSTEP.
(NSMethodSignature): Match ivar name with runtime information.
* Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m
* Source/NSInvocation.m
(gs_method_for_receiver_and_selector)
([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
GSGetInstanceMethod and GSGetClassMethod.
* Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
* Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
* Source/NSObject.m ([+instanceMethodSignatureForSelector:])
([-methodSignatureForSelector:])
([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
* Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
* Source/NSProxy.m ([+methodSignatureForSelector])
([-methodSignatureForSelector]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:53:16 +00:00
ayers
eb84dff7b8
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
New Function.
(gs_skip_type_qualifier_and_layout_info): Ditto.
* Source/callframe.m (callframe_do_call): Use
GSSelectorTypesMatch instead of sel_types_match.
* Source/cifframe.m (cifframe_do_call): Ditto.
* Source/mframe.m (mframe_do_call): Ditto.
* Source/GSFFCallInvocation.m (GSInvocationCallback): Use
NSDebugFLog to NSWarnFLog.
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.
* Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
instead of sel_types_match. Test it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
ayers
0fe2082695
* Headers/Foundation/NSMethodSignature.h
...
* Source/NSMethodSignature.m
* Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m: Revert last mframe patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
ayers
dbe1800bbd
* Headers/Foundation/NSMethodSignature.h
...
(_internalMethodTypes): New instance variable.
* Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
the runtime signature separately from the mframe signature.
Document.
([-dealloc]): Free new instance variable.
([-methodInfo]): Use _internalMethodTypes to build argument
information.
* Source/GSFFCallInvocation.m (GSInvocationCallback)
* Source/GSFFIInvocation.m (GSInvocationCallback): Use the
selector registered in the runtime for the receiver instead of
the constructed selector from the stack to avoid mismatches in the
runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
wim
b08f66b87a
(GSInvocationCallback): Try to find type information
...
if not available, also changes wording of exception when no type information is found.
(Fixes #8654 )
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19190 72102866-910b-0410-8b05-ffd578937521
2004-04-26 07:51:35 +00:00
ayers
38143e6e56
Various GSObjCRuntime usage cleanups.
...
See ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17533 72102866-910b-0410-8b05-ffd578937521
2003-08-24 23:07:41 +00:00
ayers
73dc4cb9f6
Header reorganizsateion - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
02aace51b0
Tidyups etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17380 72102866-910b-0410-8b05-ffd578937521
2003-07-28 10:53:18 +00:00
CaS
2330b448e0
Minor fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17347 72102866-910b-0410-8b05-ffd578937521
2003-07-26 06:48:44 +00:00
CaS
db0baccb2e
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17163 72102866-910b-0410-8b05-ffd578937521
2003-07-07 05:11:16 +00:00
CaS
383e71072f
DO type info fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17102 72102866-910b-0410-8b05-ffd578937521
2003-07-04 15:11:15 +00:00
CaS
a9a9958dfd
Add a couple of warning logs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17097 72102866-910b-0410-8b05-ffd578937521
2003-07-04 10:52:56 +00:00
CaS
df90a32ded
Fix for fetching type information from remote system.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17095 72102866-910b-0410-8b05-ffd578937521
2003-07-04 09:33:53 +00:00
ayers
00981688aa
* Source/GSFFCallInvocation.m
...
(gs_method_for_receiver_and_selector): Replace usage of
class_get_instance/class_method with GSGetInstance/ClassMethod and
Method_t with GSMethod.
(gs_find_by_receiver_best_typed_sel): Ditto.
(GSInvocationCallback): Ditto.
([GSFFCallInvocation -invokeWithTarget:]): Ditto.
* Source/GSFFIInvocation.m
(gs_method_for_receiver_and_selector): Ditto.
(gs_find_by_receiver_best_typed_sel): Ditto.
(GSFFIInvocationCallback): Ditto.
([GSFFIInvocation -invokeWithTarget:]): Ditto.
* Source/NSConnection.m
([NSConnection -_service_typeForSelector:]): Ditto.
* Source/NSInvocation.m
([NSInvocation -invokeWithTarget:]): Ditto.
* Source/NSObject.m
([NSObject +instanceMethodSignatureForSelector:]): Ditto.
([NDObject -methodSignatureForSelector:]): Ditto.
([NSObject +descriptionForInstanceMethod:]): Ditto.
([NSOnject -descriptionForMethod:]: Ditto.
* Source/NSProxy.m
([NSProxy +methodSignatureForSelector:]): Ditto.
([NSProxy -methodSignatureForSelector:]): Ditto.
* Source/NSDistantObject.m
([NSObject -selectorTypeForProxy:]): Ditto.
([NSDistantObject +respondsToSelector:]): Ditto. Corrected
implementation to check class methods instead of instance methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17016 72102866-910b-0410-8b05-ffd578937521
2003-06-25 10:26:29 +00:00
fedor
0e59d4552d
Change syntax of includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
CaS
794ed2711b
Encoding/decoding fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16417 72102866-910b-0410-8b05-ffd578937521
2003-04-10 16:26:09 +00:00
CaS
b30484a6c0
Invocation fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15873 72102866-910b-0410-8b05-ffd578937521
2003-02-04 18:18:47 +00:00
CaS
d64578fc3e
Tidied for gcc-3.4
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15476 72102866-910b-0410-8b05-ffd578937521
2003-01-03 20:14:47 +00:00
fedor
b8e7170255
Merge from 1.4.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14208 72102866-910b-0410-8b05-ffd578937521
2002-07-29 19:37:40 +00:00
fedor
d88dda825c
Libffi support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13506 72102866-910b-0410-8b05-ffd578937521
2002-04-18 16:02:12 +00:00
CaS
c7b827b21e
Invocation related fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12566 72102866-910b-0410-8b05-ffd578937521
2002-02-20 05:08:46 +00:00
CaS
46a6237057
Performance tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12526 72102866-910b-0410-8b05-ffd578937521
2002-02-13 18:49:32 +00:00
CaS
1585a094a9
Use new GSI api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12359 72102866-910b-0410-8b05-ffd578937521
2002-02-01 10:41:00 +00:00
CaS
3e354cabb1
hashtable bugfix
...
GSI code version optional.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12358 72102866-910b-0410-8b05-ffd578937521
2002-02-01 10:19:56 +00:00
CaS
c6b18d0898
put extra info in array, and allow retain/release macros to refer to it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12324 72102866-910b-0410-8b05-ffd578937521
2002-01-31 07:20:16 +00:00
CaS
e01822a928
New improved GSI map macros and added support for GSM alphabet.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12210 72102866-910b-0410-8b05-ffd578937521
2002-01-24 17:03:04 +00:00
fedor
0963404d54
Correct test for class
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11966 72102866-910b-0410-8b05-ffd578937521
2002-01-03 17:03:55 +00:00
CaS
d7e28f6deb
Many minor fixes for autogsdoc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
2001-12-17 14:31:42 +00:00
CaS
28c46d40b7
Minor debug output improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11761 72102866-910b-0410-8b05-ffd578937521
2001-12-15 08:43:51 +00:00
CaS
fa8bf26a94
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11131 72102866-910b-0410-8b05-ffd578937521
2001-10-13 08:51:54 +00:00
CaS
93b4c211f7
Memory leak fixes for ffcall with exceptions being passed from server to
...
client.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10945 72102866-910b-0410-8b05-ffd578937521
2001-09-21 15:14:57 +00:00
fedor
93a7da31c4
Fix forwarding recursion bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10784 72102866-910b-0410-8b05-ffd578937521
2001-08-27 15:47:24 +00:00
CaS
7fe89e62d8
Thread-safe forwarding implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10666 72102866-910b-0410-8b05-ffd578937521
2001-08-07 10:13:37 +00:00
CaS
4edddb4c29
Guess at types when given untyped selector.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10613 72102866-910b-0410-8b05-ffd578937521
2001-07-31 09:28:25 +00:00
CaS
8a89977c96
Extensions for invoking super implementation of method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9952 72102866-910b-0410-8b05-ffd578937521
2001-05-15 17:11:10 +00:00
fedor
8e16ce2905
Generate exception for invalid selector
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9579 72102866-910b-0410-8b05-ffd578937521
2001-04-13 19:52:49 +00:00
CaS
f254add6cb
Memory leaks in DO fixed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9557 72102866-910b-0410-8b05-ffd578937521
2001-04-11 12:30:32 +00:00
CaS
e79412704b
User defaults fix ... use NSLanguages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9302 72102866-910b-0410-8b05-ffd578937521
2001-03-05 23:31:51 +00:00
fedor
3186a534a7
Use updated objc forwarding hook
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8470 72102866-910b-0410-8b05-ffd578937521
2001-01-03 17:09:40 +00:00
fedor
dea58a8568
Tidy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8414 72102866-910b-0410-8b05-ffd578937521
2000-12-22 21:46:47 +00:00
fedor
45119375d1
Fix NSInvocation decl
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8287 72102866-910b-0410-8b05-ffd578937521
2000-12-08 19:40:55 +00:00
fedor
948cbdcbb3
Add FFI interface to NSInvocation and NSConnection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8286 72102866-910b-0410-8b05-ffd578937521
2000-12-08 19:06:00 +00:00