arobert
24c11fe90e
declare constant strings as constant, and move values from source files into externs.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
ayers
fa4594e1f0
Fix comments wrt runtime qualifier.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
ayers
61bc272015
* Source/Additions/GSObjCRuntime.m
...
(GSAppendMethodToList): Copy type information for the NeXT runtime.
(GSRemoveMethodFromList): Add comment about potential minor leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
CaS
52ef6a0c5b
MacOS0X compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20073 72102866-910b-0410-8b05-ffd578937521
2004-09-16 14:33:54 +00:00
CaS
e594a48208
Fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20065 72102866-910b-0410-8b05-ffd578937521
2004-09-14 15:55:18 +00:00
CaS
737f6b7e57
Tolerate null pointer arguments for returning information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20063 72102866-910b-0410-8b05-ffd578937521
2004-09-14 03:34:37 +00:00
ayers
42d4e11439
* Source/NSArray.m: Consistently terminate macros with semicolons.
...
(arrayByAddingObjectsFromArray)
(removeObjectsFromIndices:numIndices:): Insure all
declarations precede statements.
* Source/NSDictionary.m: Consistently terminate macros with
semicolons.
* Source/NSSet.m (initWithCoder:): Insure all declarations
precede statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20043 72102866-910b-0410-8b05-ffd578937521
2004-09-10 15:10:54 +00:00
CaS
d6ca992407
Implement missing init method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20041 72102866-910b-0410-8b05-ffd578937521
2004-09-09 10:39:01 +00:00
CaS
8b9685f81f
Improve error logging a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20030 72102866-910b-0410-8b05-ffd578937521
2004-09-08 09:13:50 +00:00
CaS
c9eaf52038
Log exceptions when timer fires
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20025 72102866-910b-0410-8b05-ffd578937521
2004-09-07 16:54:16 +00:00
CaS
ddd167a6b1
Fix variuus minor bugs reported by Andre Levy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20020 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:27:14 +00:00
CaS
1b371d7744
Fix stack overflow problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20016 72102866-910b-0410-8b05-ffd578937521
2004-09-07 11:08:46 +00:00
CaS
420c49dd17
Override -init to use our own initialiser
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20013 72102866-910b-0410-8b05-ffd578937521
2004-09-07 09:22:10 +00:00
CaS
e398188c18
MacOS-X compatibility fixes and improved documentation about class cluster
...
initialisers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20012 72102866-910b-0410-8b05-ffd578937521
2004-09-07 05:43:20 +00:00
fedor
6dd158e39c
* Version 1.10.0
...
* Source/GNUmakefile: Define INTERFACE_VERSON explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19993 72102866-910b-0410-8b05-ffd578937521
2004-09-05 02:31:35 +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
fedor
e369541804
* Source/NSProcessInfo.m ([NSProcessInfo +load]): Get environment
...
variables via environ even #ifdef HAVE_KVM (fix/based on #10113 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19928 72102866-910b-0410-8b05-ffd578937521
2004-08-26 15:04:26 +00:00
CaS
06c824b4f9
NSString mutability fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19927 72102866-910b-0410-8b05-ffd578937521
2004-08-26 13:43:34 +00:00
CaS
150d8f0a97
Fix mistake in property key names for certificate support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19926 72102866-910b-0410-8b05-ffd578937521
2004-08-26 10:41:04 +00:00
CaS
18a4d7e1aa
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
CaS
8c85a94561
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
ayers
9316236aaf
* 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
CaS
3bac74a85c
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
CaS
b480d424c4
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
CaS
71a8c69719
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
CaS
0d8ec1ee0f
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
CaS
2ef86a582f
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
CaS
d3f69e8740
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
CaS
91cbfcec05
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
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
0e784f41d8
* 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
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
CaS
710c84baf9
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
CaS
4e65c1501f
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
CaS
c298ba7ef2
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
CaS
a3499f8b23
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
CaS
0f2fc0845c
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
alexm
0fe7535f25
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
CaS
3a56cda1ce
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
alexm
a9cde13d8e
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
alexm
a943a78640
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
arobert
eca63cb414
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
ayers
cdbaa778fc
* 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
CaS
2c9279b422
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
206cc783e7
([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
CaS
d5f75609d4
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
ayers
823657d231
* 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
CaS
c7b5b71690
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
alexm
c79f943077
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
fedor
208e2a0082
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