Commit graph

5642 commits

Author SHA1 Message Date
Adrian Robert
a53f5dcad3 updated Documentation/HtmlNav docs to share more style with gnustep.org, and added extra file to use there; fixed unclosed gsdoc tag in Headers/Foundation/NSMethodSignature.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19925 72102866-910b-0410-8b05-ffd578937521
2004-08-26 02:05:12 +00:00
Adrian Robert
c66672ee1f fixed unclosed <p> in first comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19924 72102866-910b-0410-8b05-ffd578937521
2004-08-26 02:04:02 +00:00
Adrian Robert
c56244ec2f changed html file to be installed on workstation to use exact images and subset of stylesheet from website; added a new file docs-web.html to be installed on website in place of the local version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19922 72102866-910b-0410-8b05-ffd578937521
2004-08-26 01:57:27 +00:00
Richard Frith-Macdonald
ec2968164d Improve charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19921 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:28:27 +00:00
Richard Frith-Macdonald
6ea8d6b00d Add a missing charset
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19920 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:23:15 +00:00
Fred Kiefer
a49139e03c Small cross compilcation change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19918 72102866-910b-0410-8b05-ffd578937521
2004-08-24 22:21:00 +00:00
David Ayers
5d6f918817 * Source/NSScanner.m: Define _GNU_SOURCE before including
other headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19915 72102866-910b-0410-8b05-ffd578937521
2004-08-24 16:18:48 +00:00
Richard Frith-Macdonald
5e309b7ebe Support persistent connections by reusing the underlying file handle
if the remote server is http1.1 or greater and has not explicitly
closed the connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19912 72102866-910b-0410-8b05-ffd578937521
2004-08-24 11:49:44 +00:00
Richard Frith-Macdonald
9ecde501c6 Certificate usage support for https
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19911 72102866-910b-0410-8b05-ffd578937521
2004-08-24 09:16:58 +00:00
Richard Frith-Macdonald
ec6bac6449 Fix leak of handled when using DO between threads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19910 72102866-910b-0410-8b05-ffd578937521
2004-08-24 08:08:14 +00:00
Richard Frith-Macdonald
e22620003a Implement (and document) a MacOS-X compatibility behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19909 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:20:40 +00:00
Richard Frith-Macdonald
8cecc97b87 Improve date handling in text representation of property list.
Make XML format consistent with MacOS-X


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19908 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:02:58 +00:00
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