Commit graph

5730 commits

Author SHA1 Message Date
Richard Frith-Macdonald
71f88092d1 Add content location methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
Richard Frith-Macdonald
9d463e9e59 Modest string handling optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19901 72102866-910b-0410-8b05-ffd578937521
2004-08-22 10:18:52 +00:00
David Ayers
8cd30609bf * 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
Richard Frith-Macdonald
b75f25ec18 Minor fix documenting variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19895 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:00:05 +00:00
David Ayers
d1f347deb1 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
(GSFindInstanceVariable, GSGetVariable, GSSetVariable)
        (GSGetValue, GSSetValue, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Add deprecation markers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19894 72102866-910b-0410-8b05-ffd578937521
2004-08-20 15:58:30 +00:00
Richard Frith-Macdonald
826b0fcea8 Understand deprecation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19893 72102866-910b-0410-8b05-ffd578937521
2004-08-20 14:23:32 +00:00
Richard Frith-Macdonald
fb10e0272a Minor bugfix ... destroy comments we don't want after skipping a unit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19892 72102866-910b-0410-8b05-ffd578937521
2004-08-20 13:05:34 +00:00
David Ayers
af75d36e34 * Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
Ignore structure names.
        * Testing/nsmethodsignature.m: Added test for nested
        structures.  Reactivated test for signatures from older gcc
        versions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
David Ayers
977af9c25e * 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
Richard Frith-Macdonald
c55cfbd9c6 Fix minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19885 72102866-910b-0410-8b05-ffd578937521
2004-08-19 14:50:44 +00:00
David Ayers
0012ff61d2 * Testing/nsmethodsignature.m: Add more testing utilities.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19883 72102866-910b-0410-8b05-ffd578937521
2004-08-18 13:18:13 +00:00
Richard Frith-Macdonald
284ce516b8 A couple of methods added for consistency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
David Ayers
b6706ad3bc * Testing/GNUmakefile: Reactivate nsinvocation test.
* Testing/nsmethodsignature.m
	(large/smallStruct_id:uchar:ushort:uint...): Correct name.
	(void_float:double:): New test.
	(void_double:float:): New test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19877 72102866-910b-0410-8b05-ffd578937521
2004-08-17 20:57:39 +00:00
Richard Frith-Macdonald
83d6c451f2 Fix to compile under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19876 72102866-910b-0410-8b05-ffd578937521
2004-08-17 06:33:07 +00:00
Richard Frith-Macdonald
885883dcbe Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
Richard Frith-Macdonald
6d82d060ec Use message ports if the runtime setting is for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19842 72102866-910b-0410-8b05-ffd578937521
2004-08-08 14:50:43 +00:00
Alexander Malmberg
d4564c1581 Add default for switching between NSSocketPort and NSMessagePort as the default NSPort class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19832 72102866-910b-0410-8b05-ffd578937521
2004-08-07 00:44:15 +00:00
Richard Frith-Macdonald
303acd3d68 When parsing documents with non-standard charset, set the charset actually
used in the content type so that we can unparse the data properly too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19831 72102866-910b-0410-8b05-ffd578937521
2004-08-06 13:26:25 +00:00
Alexander Malmberg
b31c59f874 Fix forwarding of methods not in the proxies protocl if a protocol is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19826 72102866-910b-0410-8b05-ffd578937521
2004-08-05 00:03:30 +00:00
David Ayers
95ce8fe2b2 * Testing/nsmethodsignature.m: New test.
* Testing/GNUmakefile: Add new test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19825 72102866-910b-0410-8b05-ffd578937521
2004-08-04 15:06:43 +00:00
Adrian Robert
a22567ad5d Headers/Foundation/*.h: cleanups and fixes to previous documentation suggested by Alexander Malmberg; Tools/AGSHtml.m: change default content font to 'serif'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19819 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:16:01 +00:00
Adrian Robert
edd70b6c70 simpler font default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19818 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:12:19 +00:00
Adrian Robert
966b2cb0c9 some cleanups and clarifications to documentation just added, suggested by Alexander Malmberg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19817 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:10:58 +00:00
Alexander Malmberg
1e37b28748 Fix handling of plists and strings files in non-ascii encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19805 72102866-910b-0410-8b05-ffd578937521
2004-07-30 21:36:36 +00:00
Adrian Robert
416df43db1 completed gsdoc of functions, types, constants, and variables in source; added Relax-NG version of gsdoc DTD
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19799 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:36:35 +00:00
Adrian Robert
a215f315c3 adding Relax-NG version of GSDoc schema
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19798 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:31:30 +00:00
Adrian Robert
0d31eca394 documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
Adrian Robert
b8a296b3df got rid of accidentally-repeated section
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19796 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:27:39 +00:00
Adrian Robert
c46e386016 NSZone is a struct not a class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19795 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:27:02 +00:00
Adrian Robert
5b3216e811 some updates to discussion of gsdoc markup in source code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19794 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:25:36 +00:00
David Ayers
d6c274320f * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
        (GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
        (GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
        (GSCGetInstanceVariableDefinition)
        (GSObjCGetInstanceVariableDefinition)
        (GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
        (GSObjCVersion, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
        (search_for_method_in_class, GSObjCAddMethods): Replace class
        and this with cls or sel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
Richard Frith-Macdonald
c5849bb8dd Fix for inefficiency/leak in emptyPool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19789 72102866-910b-0410-8b05-ffd578937521
2004-07-29 10:54:55 +00:00
Wim (Willem Rein) Oudshoorn
84780b84a2 ([GSFileHandle -gcFinalize]): if __MINGW__ also
close ordinary file descriptor, not only the socket.
([GSFileHandle -closeFile]): in __MINGW__ defined block:
changed test of !isStandardFile to isSocket, and make sure that the
ordinary file descriptor is also closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19784 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:36:09 +00:00
Wim (Willem Rein) Oudshoorn
6dacaa30eb updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19783 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:35:44 +00:00
Richard Frith-Macdonald
af7d306481 Tweak old style property list output format. tab, cr, nl characters in a
quoteed string should not need escaping, thoiugh escaped versions need to
be understood on input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19768 72102866-910b-0410-8b05-ffd578937521
2004-07-22 14:27:39 +00:00
David Ayers
9bcaae0c5c * Source/Additions/GSObjCRuntime.m
(gs_revert_selector_names_in_list): New function.
	(GSRemoveMethodList): Also revert selectors for first list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
Adrian Robert
15b47ef442 (Tools/autogsdoc.m) add 'Protocols' index to upper-left panel in HTML frames docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19753 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:56:12 +00:00
Adrian Robert
48e193e01f changed title to include GNUstep, not just objc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19752 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:53:42 +00:00
Adrian Robert
234b72504a include links to PDF documentation generated from texinfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19751 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:53:16 +00:00
Adrian Robert
34e0cb6514 add 'Protocol' to list of indices listed in upper left panel in HTML frames docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19750 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:52:40 +00:00
Richard Frith-Macdonald
d08e9b2f90 Minor locale patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19746 72102866-910b-0410-8b05-ffd578937521
2004-07-18 10:48:19 +00:00
Richard Frith-Macdonald
20f3612fce Regenerated NSTimeZones.tar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19739 72102866-910b-0410-8b05-ffd578937521
2004-07-15 09:09:33 +00:00
Adam Fedor
2feb195024 Use generic -with-ffi-{include,library} for finding ffi libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19735 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:09:21 +00:00
Alexander Malmberg
b7d1039ea8 Use memmove instead of memcpy for potentially overlapping moves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19730 72102866-910b-0410-8b05-ffd578937521
2004-07-13 14:11:27 +00:00
Richard Frith-Macdonald
de8c918e37 Use uppercase 'U' in unicode escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19709 72102866-910b-0410-8b05-ffd578937521
2004-07-10 19:38:41 +00:00
Adam Fedor
668efd29c8 Remove solaris warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19703 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:19:56 +00:00
Richard Frith-Macdonald
86694004a9 Fix printf format bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19698 72102866-910b-0410-8b05-ffd578937521
2004-07-09 11:58:44 +00:00
Richard Frith-Macdonald
ae3f5259a3 Use latin1 as default encoding.
Be strict about converting ascii to unicode ... check that it really is ascii.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19685 72102866-910b-0410-8b05-ffd578937521
2004-07-05 15:42:32 +00:00
Adrian Robert
948b5dfb97 added several new texi files that I forgot to commit before with new manual update: AdvancedMessaging, BaseLibrary, Compliance, ExceptionHandling, GSDoc; removed outdated files that I forgot to remove: AdvancedTopics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19679 72102866-910b-0410-8b05-ffd578937521
2004-07-04 14:24:17 +00:00
Richard Frith-Macdonald
49d11595cd Add a couple of MacOS-X methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00