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
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
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
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
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
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
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
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
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
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
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
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
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
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
Richard Frith-Macdonald
fe0bcb1de3
Bugfix generating unicode escapes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19677 72102866-910b-0410-8b05-ffd578937521
2004-07-03 17:48:35 +00:00
Richard Frith-Macdonald
bab5235a5d
Document the fact that -propertyList returns mutable containers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19674 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:08:24 +00:00
Richard Frith-Macdonald
a3d7978be3
Make decoded property list containers mutable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19672 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:02:49 +00:00
Richard Frith-Macdonald
943b965ef9
A lot of property list tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19669 72102866-910b-0410-8b05-ffd578937521
2004-07-02 10:37:54 +00:00
David Ayers
1e7e1572e2
* 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
Fred Kiefer
8116e182ce
Applied NSTimeZone stucture packing patch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
2004-07-01 23:24:35 +00:00
David Ayers
8712b7b537
* 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
Richard Frith-Macdonald
a0b07ade13
Added a couple of MacOS-X compatibility methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
Alexander Malmberg
587254b3f9
(read_only): Remove.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19625 72102866-910b-0410-8b05-ffd578937521
2004-06-26 15:17:16 +00:00
Richard Frith-Macdonald
d586b6f549
Add some optional sanity check code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19616 72102866-910b-0410-8b05-ffd578937521
2004-06-25 09:06:02 +00:00
Richard Frith-Macdonald
97b8ebd06a
Fix bug removing from index set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +00:00
Richard Frith-Macdonald
0dee75786f
Remove debug statement accidentally left in
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19610 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:27:10 +00:00
Richard Frith-Macdonald
f138ea1d07
SAX2 fixes and a minor path fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19609 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:26:01 +00:00
Richard Frith-Macdonald
8db8f2791e
Remove some redundant code for clarity, Implement missing method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19607 72102866-910b-0410-8b05-ffd578937521
2004-06-24 04:17:56 +00:00
Adrian Robert
bda35fceb3
added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
Adrian Robert
ca454833b6
added NSIndexSet.h to list of files to generate gsdoc for
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19587 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:35:33 +00:00
Richard Frith-Macdonald
95b359969c
Rewrite description code to support unicode and some additional formats
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19570 72102866-910b-0410-8b05-ffd578937521
2004-06-21 10:56:32 +00:00