Commit graph

4019 commits

Author SHA1 Message Date
CaS
d2161f1c01 Revert an nsthread change and try to avoid memory leaks when autorelease
pools are created during the thread exit process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20287 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:20:39 +00:00
CaS
e7fd84dbae Attempted fix for long long int support in GSFormat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20276 72102866-910b-0410-8b05-ffd578937521
2004-11-01 08:25:04 +00:00
CaS
3294ed0aab Slight performance improvement (better hash), plus tweaks for 64bit processors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20275 72102866-910b-0410-8b05-ffd578937521
2004-10-31 13:02:58 +00:00
CaS
c8aae944a4 MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20274 72102866-910b-0410-8b05-ffd578937521
2004-10-31 10:08:20 +00:00
ratmice
b65f2e35c7 2004-10-29 Matt Rice <ratmice@yahoo.com>
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
        GSObjCDirectSubclassesOfClass): skip meta classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
fedor
eea8598fbf Version 1.10.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20266 72102866-910b-0410-8b05-ffd578937521
2004-10-29 03:31:04 +00:00
fedor
a2f7e30285 * configure.ac: Standardize order of flags and libs
Check for proper defs in tzfile.h. Add sub-configure options
so they are listed in help. Add generic include/lib flags option.
* config.mak.in: Add load flags variable
* base.make.in: Idem.
* SSL/configure.ac: Add generic include/lib flags option.

* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install
* Source/Makefile.postamble (Info-gnustep.plist): New target.
* Testing/nsbundle.m: Additional tests.

* Source/NSTimeZone.m: Check for proper tzfile defs (Fixes #10724).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20261 72102866-910b-0410-8b05-ffd578937521
2004-10-26 19:08:17 +00:00
CaS
4d59f2e002 Implement abort of parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +00:00
CaS
612ef8a1d5 Fix for when default nameserver is host-local.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20254 72102866-910b-0410-8b05-ffd578937521
2004-10-24 06:13:24 +00:00
FredKiefer
e81b213d74 Handle bigger numbers in binary property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20241 72102866-910b-0410-8b05-ffd578937521
2004-10-21 20:45:55 +00:00
CaS
524a852ed9 Added pre-alpha NSXMLPzarser compatibility layer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20238 72102866-910b-0410-8b05-ffd578937521
2004-10-20 10:48:04 +00:00
ratmice
be09199907 2004-10-17 Matt Rice <ratmice@yahoo.com
* Source/objc-load.m (objc_load_module): resolve class links under GNU
        runtime
        * Headers/Additions/GNUstepBase/GSObjCRuntime.h
        * Source/Additions/GSObjCRuntime.m
        (GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
        New functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
fedor
67ef77deea * Source/NSCalendarDate.m [-initWithString:] Revert to previous
code, and try to load time zone abbreviation from name first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20227 72102866-910b-0410-8b05-ffd578937521
2004-10-16 03:05:58 +00:00
CaS
64ff173e3a Don't expect body where status is 204 or 304
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20224 72102866-910b-0410-8b05-ffd578937521
2004-10-15 13:34:11 +00:00
fedor
f67c563d8e * Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
2004-10-14 04:08:24 +00:00
CaS
95daaf5f4c XML parsing bughfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20221 72102866-910b-0410-8b05-ffd578937521
2004-10-13 16:46:09 +00:00
fedor
3718cbfdcd * configure.ac: Check for tzfile.h
* Source/NSTimeZone.m: Include system tzfile.h if found.
(abbreviationMap): Add abbreviation from systemTimeZone if not
already there.
(systemTimeZone): Update the search list to look for time zone in TZ,
then system location, then tznam.
(getTimeZoneFile:): Look for file in system directory first.
* Source/nstzfile.h: Renamed from tzfile.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20217 72102866-910b-0410-8b05-ffd578937521
2004-10-11 03:08:54 +00:00
FredKiefer
e17a91003f Improved keydecoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20214 72102866-910b-0410-8b05-ffd578937521
2004-10-09 15:40:23 +00:00
fedor
0f373a108e * Source/Makefile.postamble (libgnustep-base.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20197 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:33:09 +00:00
CaS
f349c02156 Fix crsh when trimming space containing unicode character with high byte non zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20196 72102866-910b-0410-8b05-ffd578937521
2004-10-05 08:32:18 +00:00
CaS
560e7abd15 Fix premature end of reading a post.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20195 72102866-910b-0410-8b05-ffd578937521
2004-10-04 09:53:47 +00:00
CaS
4cb14033bd Add a couple of methods for dealing with xml escape sequences
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
fedor
77b00150c7 * Documentation/HtmlNav/docs-web.html,
Documentation/HtmlNav/index.html: Update pointers.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
* Tools/DocMakefile: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20183 72102866-910b-0410-8b05-ffd578937521
2004-10-01 16:05:08 +00:00
CaS
78ab0dc2b2 Thread safety fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20179 72102866-910b-0410-8b05-ffd578937521
2004-09-29 08:47:25 +00:00
alexm
cf50088545 * Source/NSDistantObject.m: Make proxyLocation an enum tag, not a
variable.
	* Source/NSFileManager.m (custom_strdup, append_file_to_path): Make
	static.
	* Source/NSString.m (-isEqual:): Clarify documentation.
	* Source/NSUnarchiver.m (mapClassObject, mapClassName): Make static.
	* Source/Additions/Unicode.m (GetDefEncoding): Add missing void in
	the prototype.
	* Tools/make_strings/make_strings.m (ParseFile): Remove spurious
	static on the nested function add_arg_ch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20163 72102866-910b-0410-8b05-ffd578937521
2004-09-27 21:32:45 +00:00
CaS
c8cb740907 Mnor documentation tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20156 72102866-910b-0410-8b05-ffd578937521
2004-09-27 10:24:02 +00:00
CaS
61fade5ef4 Minor thread tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20155 72102866-910b-0410-8b05-ffd578937521
2004-09-27 08:59:04 +00:00
CaS
485e7f8ece Tidied a little, removing redundant code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20154 72102866-910b-0410-8b05-ffd578937521
2004-09-27 06:58:23 +00:00
CaS
1975e6a285 try to re-establish a dropped connection if using keepalive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20128 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:21:57 +00:00
CaS
65b5090ee6 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20127 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:16:22 +00:00
CaS
318ef1cd5d Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:14:26 +00:00
CaS
9e4dc1c321 Fix array enumeration direction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20124 72102866-910b-0410-8b05-ffd578937521
2004-09-24 15:57:54 +00:00
CaS
7fc70e35ff Minor fixes to use of local hostname.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20112 72102866-910b-0410-8b05-ffd578937521
2004-09-23 08:19:29 +00:00
CaS
00ec0cdb02 Oops comitted wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20099 72102866-910b-0410-8b05-ffd578937521
2004-09-21 14:20:34 +00:00
CaS
24f1083d2e Make timeouts work more reliably
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20098 72102866-910b-0410-8b05-ffd578937521
2004-09-21 13:43:10 +00:00
CaS
735749c30c minor optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20097 72102866-910b-0410-8b05-ffd578937521
2004-09-20 10:10:10 +00:00
arobert
9d1be23476 comment cleanups to improve documentation output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20094 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:24:36 +00:00
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
CaS
b596a8fc61 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
CaS
1f04bbffc4 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
CaS
9a1ac2cb24 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
CaS
b4e64c1e10 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
CaS
56cc72bec9 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
CaS
32418a87f9 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
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
FredKiefer
0afa445d12 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
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
CaS
a843b058ca 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
alexm
7f24762a29 (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
CaS
9a686ff388 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
CaS
8cdcd4c253 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
CaS
96c30f4709 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
CaS
082f9a65f2 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
CaS
7a6934a0db 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
arobert
dbdfcfab37 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
arobert
febc42573a 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
CaS
b61c70ea6c 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
FredKiefer
75793d3412 Corrected NSIndexSet index iteration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19569 72102866-910b-0410-8b05-ffd578937521
2004-06-21 09:45:13 +00:00
CaS
858255dd23 Tolerate users without home directories etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
2004-06-20 19:37:19 +00:00
fedor
43ba34ba4c Fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19548 72102866-910b-0410-8b05-ffd578937521
2004-06-19 03:22:11 +00:00
mguesdon
858a5d5a90 * Source/NSKeyValueCoding.m: fix exception userInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19544 72102866-910b-0410-8b05-ffd578937521
2004-06-18 18:09:19 +00:00
fedor
4606abb715 Fix kvm test. Uninstall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19518 72102866-910b-0410-8b05-ffd578937521
2004-06-14 22:27:22 +00:00
CaS
6b1d2c2047 compatibility fix for macos-x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19514 72102866-910b-0410-8b05-ffd578937521
2004-06-14 05:27:54 +00:00
fedor
59fb483aec Version 1.9.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19493 72102866-910b-0410-8b05-ffd578937521
2004-06-10 19:39:32 +00:00
ayers
042f318374 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
        (GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Deprecate.
        (GSGetMethod): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
ayers
8ddab500c2 (BDBGPrintf): Add space before last comma in macro older
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
ayers
5c3b9d8740 (GSObjCAddClassBehavior): Add call to
GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
ayers
3f3e4fa1da (GSGetClassMethodNotInherited): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
ayers
113c981b63 * Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
ayers
70e3d2d11c (GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
(search_for_method_in_class, GSObjCAddClassBehavior): Use
	GSMethod and GSMethodList types instead of pointers to runtime
	structures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
ayers
a53541a76b * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
	(GSMethodList): Define new type.
	(GSAllocMethodList, GSAppendMethodToList,
	* GSRemoveMethodFromList)
	(GSMethodListForSelector, GSMethodFromList)
	(GSAddMethodList, GSRemoveMethodList): New functions.
	* Testing/GNUmakefile
	* Testing/gsbehavior.m: New tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
CaS
ba29d9e2f3 Minor performance optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19462 72102866-910b-0410-8b05-ffd578937521
2004-06-05 10:06:56 +00:00
CaS
a1cc99cb2d Fix for where default encoding is not internal encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19461 72102866-910b-0410-8b05-ffd578937521
2004-06-05 09:34:41 +00:00
CaS
52a082959c Make exceptions a bit more informative.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19460 72102866-910b-0410-8b05-ffd578937521
2004-06-05 06:17:10 +00:00
ayers
adcb9c12d5 (OBJC_VERSION): Move define to where it is needed.
(Runtime documenation references): Update links.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:58:36 +00:00
ayers
cf3354b37f * Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19457 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:42:13 +00:00
ayers
a601bb2853 * Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant
test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19456 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:19:42 +00:00
fedor
14c6a5e4d2 Move include file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19453 72102866-910b-0410-8b05-ffd578937521
2004-06-04 03:37:12 +00:00
CaS
84b18cb39f Fix for malloc of non-freeable zones
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19449 72102866-910b-0410-8b05-ffd578937521
2004-06-03 14:46:41 +00:00
CaS
b7f9e966f3 Improve debug and support of apple property keys (set them in request data
rather than as headers).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19442 72102866-910b-0410-8b05-ffd578937521
2004-06-02 11:01:57 +00:00
CaS
9b8d4597e4 Fix decoding of different classes from those encoded by suing name translation.
Was previously only working where both classes existed in the executable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19440 72102866-910b-0410-8b05-ffd578937521
2004-06-02 05:03:28 +00:00
CaS
459c2d3c89 Removed debug lines accidentally left in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19433 72102866-910b-0410-8b05-ffd578937521
2004-06-01 12:19:04 +00:00
CaS
e0b14a9d4d Improve handling of character sets in multipart/form-data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
2004-05-30 09:05:10 +00:00
fedor
1fa2e815b7 Add kvm config. Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19410 72102866-910b-0410-8b05-ffd578937521
2004-05-28 19:44:29 +00:00
CaS
2250683c03 Oops fix swapped arguments creating excess data log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19402 72102866-910b-0410-8b05-ffd578937521
2004-05-26 16:55:10 +00:00
CaS
6dca288a19 Fix problems defineing types on ssystems where they already exist as
typedefs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19401 72102866-910b-0410-8b05-ffd578937521
2004-05-26 13:45:37 +00:00
CaS
91f76b73a5 Index addition bugfix and avoid crash calling description on uninitialised
instance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19397 72102866-910b-0410-8b05-ffd578937521
2004-05-25 04:29:08 +00:00
CaS
110a61f7d9 Implement hash for NSDate and subclasses to return time interval since reference date (coerced to unsigned int).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19394 72102866-910b-0410-8b05-ffd578937521
2004-05-24 15:30:11 +00:00
CaS
c4efba1714 Added patch by Roland for windows timezone problems ...
Windows operation vouched for by S.J. Chun, and doesn't break unix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19382 72102866-910b-0410-8b05-ffd578937521
2004-05-21 15:39:02 +00:00
CaS
fa9ddd22c8 Fixed corruption in comment pointed out by David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19371 72102866-910b-0410-8b05-ffd578937521
2004-05-18 11:18:37 +00:00
CaS
02683f9999 Updates for recent versions of libxml2 and to add SAX2 functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19369 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:55:33 +00:00
CaS
906c6bbfad Thread fix for message ports
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19364 72102866-910b-0410-8b05-ffd578937521
2004-05-17 13:22:52 +00:00
CaS
cc7fc40092 Added NSError
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19360 72102866-910b-0410-8b05-ffd578937521
2004-05-17 09:24:29 +00:00
CaS
bc0414e6ab Correct error in parameter type for cdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19350 72102866-910b-0410-8b05-ffd578937521
2004-05-16 13:26:32 +00:00
CaS
ec4bfb2956 Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19326 72102866-910b-0410-8b05-ffd578937521
2004-05-14 16:22:49 +00:00
CaS
35b7fbf96e Restructuring and various optimisations to drastically improve appendFormat:
performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19307 72102866-910b-0410-8b05-ffd578937521
2004-05-14 10:52:30 +00:00
CaS
80741506f0 Fixup a few logic errors testing set flag bits. Moved a few bits of code
which only occasionally need to be executed ... minor performance tweak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19299 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:38:03 +00:00
CaS
306c074d6c MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19298 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:28:52 +00:00
CaS
402ceca220 Some fixes for initialising a data from a string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19297 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:10:35 +00:00
CaS
20c509536e Improve cache ahndling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19293 72102866-910b-0410-8b05-ffd578937521
2004-05-12 17:17:53 +00:00
ayers
bd51b8caea * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions//GSObjCRuntime.m
	(GSProtocolFromName): New function.
	(GSRegisterProtocol): Ditto.
	(gs_string_hash): New internal function.
	(gs_find_protocol_named_in_protocol_list): Ditto.
	(gs_find_protocol_named): Ditto.
	(gs_init_protocol_lock): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19274 72102866-910b-0410-8b05-ffd578937521
2004-05-09 19:29:16 +00:00
ayers
c415f0628a * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m:
(GSClassList): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19264 72102866-910b-0410-8b05-ffd578937521
2004-05-07 16:26:50 +00:00
ayers
30b5b57280 * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m
(GSAllocateMutexAt): New function.
        (_GSObjCRuntimeInitializer): Define local support class.

        * Headers/Additions/GNUstepBase/objc-gnu2next.h: Fixed minor
        whitespace issues.
        (objc_mutex_t, objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Declare
        for the NeXT runtime.
        * Source/Additions/GSNextRuntime.m
        (objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Implement for NeXT runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19249 72102866-910b-0410-8b05-ffd578937521
2004-05-06 15:25:01 +00:00
CaS
0407dc9e41 Applied mingw fixes by Mateu Batle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19242 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:10:03 +00:00
alexm
46e30f1fd0 Fix guard against returning a zero hash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19232 72102866-910b-0410-8b05-ffd578937521
2004-05-03 20:16:37 +00:00
alexm
4ef8c6aeb4 Fix comment typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19216 72102866-910b-0410-8b05-ffd578937521
2004-04-29 21:08:29 +00:00
fedor
46864153f0 Check time zone abbreviations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19203 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:59:03 +00:00
fedor
4e56c1c46a Use NSTemporaryDirectory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19201 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:24:47 +00:00
CaS
3ef2287830 Minor documentation and readability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19199 72102866-910b-0410-8b05-ffd578937521
2004-04-27 11:55:34 +00:00
CaS
06e9785436 Restore missing trailing characters somehow lost from lines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19198 72102866-910b-0410-8b05-ffd578937521
2004-04-27 09:39:51 +00:00
CaS
5d4a4d8fbb End hashtable enumerations cleanly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19193 72102866-910b-0410-8b05-ffd578937521
2004-04-26 14:47:54 +00:00
wim
70495f94f3 (gnustep_base_socket_init): Added braces for
if statement
(DllMain): Removed old initialization code
(gnustep_base_socket_handler): Removd this method plus declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19192 72102866-910b-0410-8b05-ffd578937521
2004-04-26 08:50:41 +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
CaS
3828461015 Minor tidy up for methodForSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19183 72102866-910b-0410-8b05-ffd578937521
2004-04-25 11:08:52 +00:00
CaS
4d0f20077e Improved implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19182 72102866-910b-0410-8b05-ffd578937521
2004-04-25 09:48:07 +00:00
CaS
0b2f72a36f Completed rewrite with some testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19181 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:40:19 +00:00
CaS
96c253eee4 Rewrite NSProtocolChecker stuff ... seemed largely broken
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19180 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:06:41 +00:00
ayers
d8012f989f * Source/Additions/GSLock.m ([GSLazyLock -init])
([GSLazyRecursiveLock -init]): Always invoke supers init
        so dealloc does not fail on Cocoa.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19175 72102866-910b-0410-8b05-ffd578937521
2004-04-23 13:14:32 +00:00
CaS
24c74732b4 Attempt to make conformsToProtocol work for DO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19155 72102866-910b-0410-8b05-ffd578937521
2004-04-19 19:29:15 +00:00
alexm
02964e7f8c Rename 'GNU' categories to 'GNUstep'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19131 72102866-910b-0410-8b05-ffd578937521
2004-04-16 23:21:26 +00:00
CaS
367bb36d02 Restore use of flag to prevent infinite recursion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19115 72102866-910b-0410-8b05-ffd578937521
2004-04-15 14:11:12 +00:00
alexm
3f856d123d Add missing argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19114 72102866-910b-0410-8b05-ffd578937521
2004-04-15 13:26:06 +00:00
alexm
ad14f40c97 Document -getCString*. Use file system representation methods instead of cstring methods in -stringByResolvingSymlinksInPath.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19112 72102866-910b-0410-8b05-ffd578937521
2004-04-15 12:43:28 +00:00
alexm
505a890ec2 (GSToUnicode): In an utf8 sequence, check that the continuation bytes are valid continuation bytes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19105 72102866-910b-0410-8b05-ffd578937521
2004-04-14 16:23:58 +00:00
CaS
a9fd37a6b6 User language tidyups and performance enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19079 72102866-910b-0410-8b05-ffd578937521
2004-04-12 04:55:43 +00:00
CaS
01b40beefb Retain/release fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19074 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:22:33 +00:00
gcasa
52548106c3 Temporary rollback of fix to NSUnarchiver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19073 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:02:45 +00:00
CaS
03a934e274 Minor initialisation fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19071 72102866-910b-0410-8b05-ffd578937521
2004-04-10 07:31:57 +00:00
CaS
ac23e1ba3c Fixed a retain/release problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19070 72102866-910b-0410-8b05-ffd578937521
2004-04-10 05:59:40 +00:00
wim
4aba1cd33e ([NSConcreteWindowsTask -launch]): Set stdin/stdout/stderr
file to values provided by the user (Fix #8417)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19064 72102866-910b-0410-8b05-ffd578937521
2004-04-09 07:58:33 +00:00
CaS
23a8363ab1 Improve warning logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19056 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:17:52 +00:00
CaS
d0520e36a2 Improve error logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19055 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:14:33 +00:00
CaS
ca3b33d085 Trivial header inclusion fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19037 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:45:22 +00:00
CaS
3c3f04a5a1 Trivial keyed archiving fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19036 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:39:26 +00:00
CaS
2218c46426 Check for unreadable defaults database.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19035 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:47:35 +00:00
CaS
61acb585bb NSUserDefaults fix for read-only filesystem. Comment type fixes in GSXML.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19034 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:27:32 +00:00
CaS
95dde97de2 Fix error in original commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18994 72102866-910b-0410-8b05-ffd578937521
2004-03-31 21:41:28 +00:00
CaS
c85351824b Fix bug #7525
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18991 72102866-910b-0410-8b05-ffd578937521
2004-03-31 14:16:31 +00:00
CaS
a8eb2c26d8 Fix return of flag in fileExistsAtPath:isDirectory:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18990 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:56:49 +00:00
CaS
7de6d68bbe Fix for possible deadlock in notification system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18988 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:23:38 +00:00
CaS
8063faa4c4 Encode archive version as number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18983 72102866-910b-0410-8b05-ffd578937521
2004-03-31 10:54:14 +00:00
wim
ced2196a57 ([-removeObserver:]): Do not raise an exception
when removing nil observer, jusr return.  This is WO4.5 and MacOSX behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18971 72102866-910b-0410-8b05-ffd578937521
2004-03-30 14:09:03 +00:00
CaS
1a0cf15c79 Support outgoing connections bound to a specific local address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
CaS
e845237c55 Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
2004-03-28 11:13:36 +00:00
CaS
1df7325dc3 Apply security fix and minor portability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18936 72102866-910b-0410-8b05-ffd578937521
2004-03-28 05:31:16 +00:00
CaS
ca3d4a1a01 Added xslt support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18935 72102866-910b-0410-8b05-ffd578937521
2004-03-28 04:42:11 +00:00
FredKiefer
dd0beb1657 Small bug fix for index sets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18928 72102866-910b-0410-8b05-ffd578937521
2004-03-26 21:56:44 +00:00
fedor
bd19ee1a68 Fix nil path handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18858 72102866-910b-0410-8b05-ffd578937521
2004-03-19 18:34:46 +00:00
CaS
bd58239a94 NSIndexSet updates finally comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18853 72102866-910b-0410-8b05-ffd578937521
2004-03-18 06:56:12 +00:00
CaS
ad4ec14310 Added a few range checks in incomplete code and changed stack usage to reduce
chances of stack overflow in dictionary operations on very large dictionaries.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18850 72102866-910b-0410-8b05-ffd578937521
2004-03-16 09:53:01 +00:00
wim
16945a1d90 ([NSNotificationCenter -removeObserver:name:object:]):
Just return if all arguments are nil instead of throwing exception.  The new
behaviour is compatible with MacOSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18849 72102866-910b-0410-8b05-ffd578937521
2004-03-16 08:42:35 +00:00
CaS
e8c28bc71a Some DO fixes ... don;'t use the -getObjects: method with a proxy as it
can't pass back distant items into a local buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18847 72102866-910b-0410-8b05-ffd578937521
2004-03-15 18:01:53 +00:00
CaS
5978eda5cf Fix problem with lazy locks by setting multithreaded bool earlier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18839 72102866-910b-0410-8b05-ffd578937521
2004-03-12 16:51:30 +00:00
CaS
bd1a02569a Moved uudecode/uuencode to category of nsdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18838 72102866-910b-0410-8b05-ffd578937521
2004-03-12 15:49:08 +00:00
CaS
a4b75cc267 fix error in uuencoding
CVr: ----------------------------------------------------------------------


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18810 72102866-910b-0410-8b05-ffd578937521
2004-03-09 12:16:16 +00:00
fedor
7762033e8d Fixup HAVE_DLADDR.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18795 72102866-910b-0410-8b05-ffd578937521
2004-03-08 04:22:03 +00:00
wim
e1527dffe1 ([NSCalendarDate -descriptionWithCalendarFormat:locale:]):
Fixed problem with repeated %b %B %b %B and the like.
Fixed problem with missing characters after unrecognixed modifiers.
Added support for %c %X and %x.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18777 72102866-910b-0410-8b05-ffd578937521
2004-03-05 11:17:03 +00:00
fedor
2eed084578 Make non-static
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18754 72102866-910b-0410-8b05-ffd578937521
2004-03-03 03:37:28 +00:00
wim
b15ca262ac ([GSPerformHolder +initialize]): #ifdef'ed out
code that does not work on MinGW.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18727 72102866-910b-0410-8b05-ffd578937521
2004-03-01 10:12:56 +00:00
fedor
df220264cc Document, add W32 retreival from registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18722 72102866-910b-0410-8b05-ffd578937521
2004-02-29 21:17:40 +00:00
fedor
3ad411e805 Version 1.9.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18712 72102866-910b-0410-8b05-ffd578937521
2004-02-29 02:57:22 +00:00
alexm
3441ebc6bc Define GS_SINT64 properly. Don't use casts as lvalues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18707 72102866-910b-0410-8b05-ffd578937521
2004-02-28 16:55:34 +00:00
wim
59f45702c8 ([NSBundle +mainBundle]): on WIN32 strip .exe
extension from executable name when constructing mainBundle path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18689 72102866-910b-0410-8b05-ffd578937521
2004-02-27 14:08:00 +00:00
ayers
7c83bf60b3 * Headers/Additions/GNUstepBase/GSCategories.h:
* Source/Additions/GSCompatibility.m (GSCurrentThread) Implement
        and declare for non *-gnu-*.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18663 72102866-910b-0410-8b05-ffd578937521
2004-02-25 13:57:59 +00:00
CaS
a661452743 Implemented a bit more stuff and tidied some existing code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18656 72102866-910b-0410-8b05-ffd578937521
2004-02-25 05:52:34 +00:00
CaS
619e6401c9 Mostly skeletal implementation of NSIndexSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18650 72102866-910b-0410-8b05-ffd578937521
2004-02-24 21:23:53 +00:00
FredKiefer
9bb654d68e Added renamed MacOSX methodAdded renamed MacOSX method..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18648 72102866-910b-0410-8b05-ffd578937521
2004-02-24 19:43:34 +00:00
CaS
8584d19437 Buffer overflow fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18645 72102866-910b-0410-8b05-ffd578937521
2004-02-24 14:14:26 +00:00
CaS
795cb68a0f Fix buffer overrun
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18644 72102866-910b-0410-8b05-ffd578937521
2004-02-24 09:06:14 +00:00
fedor
fab309a4e8 Allow whitespace in home dir on windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18641 72102866-910b-0410-8b05-ffd578937521
2004-02-24 03:57:41 +00:00
FredKiefer
67e7904ae5 Extension for binary property lists to load bigger lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18635 72102866-910b-0410-8b05-ffd578937521
2004-02-21 00:49:43 +00:00
CaS
892b775251 Support x-uuencode content transfer encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18627 72102866-910b-0410-8b05-ffd578937521
2004-02-19 11:21:46 +00:00
CaS
71e24fc732 Added basic uuencoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18626 72102866-910b-0410-8b05-ffd578937521
2004-02-19 10:20:08 +00:00
ayers
d8d76a88da * Source/Additions/Unicode.m (GetDefEncoding): Replace
NSKoreanEUCEncoding with NSKoreanEUCStringEncoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18615 72102866-910b-0410-8b05-ffd578937521
2004-02-18 11:28:14 +00:00
fedor
64e9b9289e More flexible default encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18612 72102866-910b-0410-8b05-ffd578937521
2004-02-18 04:03:24 +00:00
ayers
a48526dca9 * Headers/Foundation/NSLock.h: Make types of _mutex and
_condition opaic to avoid including private thr-mach.h header.
        * Headers/Foundation/NSThread.h: Do not include private
	thr-mach.h header.
        * Source/thr-mach.h: Moved here from
        Headers/Additions/GNUstepBase/thr-mach.h.
        * Source/NSLock.m: Include private thr-mach.h header for
        apple-gnu-gnu.  Added defines for typing opaic instance
        variables and use them in various methods.
        * Source/NSThread.m: Include private thr-mach.h header for
        apple-gnu-gnu.
        * Source/thr-mach.m: Include private thr-mach.h header from
	new location.
        * Source/thr-pthread.m: Ditto.
        * Source/GNUmakefile: Do not install private thr-mach.h
	header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18607 72102866-910b-0410-8b05-ffd578937521
2004-02-17 12:55:02 +00:00
alexm
da2c4f2325 (-initWithCoder:): Release objects outside the -addObject: loop to keep the retain count correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18579 72102866-910b-0410-8b05-ffd578937521
2004-02-11 16:51:00 +00:00
CaS
47ec878faf Improve code deciding when to expect body after headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18577 72102866-910b-0410-8b05-ffd578937521
2004-02-11 09:56:15 +00:00
fedor
3dc5729371 Define __USE_GNU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18566 72102866-910b-0410-8b05-ffd578937521
2004-02-08 22:52:50 +00:00
CaS
d04dcc7fb8 More simplification by using lazy locking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18559 72102866-910b-0410-8b05-ffd578937521
2004-02-08 09:42:38 +00:00
CaS
cf6e91f1fd Minor tidyups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18558 72102866-910b-0410-8b05-ffd578937521
2004-02-08 09:23:09 +00:00
fedor
3741a465fb Fix get_symbol_path problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18555 72102866-910b-0410-8b05-ffd578937521
2004-02-08 04:08:00 +00:00
FredKiefer
099e690650 Corrected two bugs in binary pl decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18551 72102866-910b-0410-8b05-ffd578937521
2004-02-07 18:15:34 +00:00
CaS
4022d576e8 Fix bug handling nil/NSNull and a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18550 72102866-910b-0410-8b05-ffd578937521
2004-02-07 06:30:52 +00:00
CaS
e06de1074e Fix to use '/' if there is no path in the url.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18548 72102866-910b-0410-8b05-ffd578937521
2004-02-06 18:20:06 +00:00
FredKiefer
540eb388bd Changed handling of object references for binary property list format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18540 72102866-910b-0410-8b05-ffd578937521
2004-02-04 20:50:40 +00:00
CaS
2d897f60cb Use utf8 encoding for 8bit strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18538 72102866-910b-0410-8b05-ffd578937521
2004-02-04 09:08:26 +00:00
CaS
2317f381c0 Integrate new parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18537 72102866-910b-0410-8b05-ffd578937521
2004-02-04 06:15:53 +00:00
alexm
7ddfe3e3df Remove uses of the 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18534 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:14:00 +00:00
CaS
d3cff19797 Partial implementation of decoding mac binary format property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18532 72102866-910b-0410-8b05-ffd578937521
2004-02-03 21:27:10 +00:00
CaS
ca36c51c9e Applied nsstring bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18529 72102866-910b-0410-8b05-ffd578937521
2004-02-02 14:46:48 +00:00
CaS
851bf042db Minor naming consistency tidyups, and a fix to let java code using property
lists work with a base library that includes the new
NSPropertyListSerialisation class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18526 72102866-910b-0410-8b05-ffd578937521
2004-02-02 12:26:59 +00:00
CaS
21494c4272 Generalise last fix to all cases where no content-length is supplied.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18522 72102866-910b-0410-8b05-ffd578937521
2004-02-01 14:43:50 +00:00
CaS
f966ecd6da Fix for delay handling status 204 in returned pages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18521 72102866-910b-0410-8b05-ffd578937521
2004-02-01 14:29:52 +00:00
CaS
768669968c Improve method naming consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18520 72102866-910b-0410-8b05-ffd578937521
2004-02-01 12:35:35 +00:00
mguesdon
83254a02f7 2004-01-31 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSNumber.m: Modified numberWithXX: methods
	to test against abstractClass. If class is not the abstract
	class, we alloc object of class instead of allocating
	NSXXNumber objects (cf [NSDecimalNumber numberWithDouble:x]
	thread)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18515 72102866-910b-0410-8b05-ffd578937521
2004-01-31 16:28:35 +00:00
CaS
418907a03d Several minor bugfixes in handling BOOL values, fix crash in shrinking
mutable data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18507 72102866-910b-0410-8b05-ffd578937521
2004-01-30 11:30:56 +00:00
CaS
ad63dfed22 Corrected commit of wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18506 72102866-910b-0410-8b05-ffd578937521
2004-01-30 11:20:07 +00:00
CaS
62eec7c826 Added a couple of new initialisers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18505 72102866-910b-0410-8b05-ffd578937521
2004-01-30 07:17:30 +00:00
FredKiefer
f6b1f9e76a Corrected keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18496 72102866-910b-0410-8b05-ffd578937521
2004-01-28 23:13:55 +00:00
CaS
5893a40526 More keyed coding updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18495 72102866-910b-0410-8b05-ffd578937521
2004-01-28 07:33:20 +00:00
CaS
811be03fe2 Fix error unarchiving self referential objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18494 72102866-910b-0410-8b05-ffd578937521
2004-01-28 06:21:33 +00:00
FredKiefer
614a2986ec Fixed bug in decoding key encoded data elements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18492 72102866-910b-0410-8b05-ffd578937521
2004-01-27 22:08:22 +00:00
FredKiefer
dea07f458d Implemented keyed decoding for this classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18491 72102866-910b-0410-8b05-ffd578937521
2004-01-27 21:51:33 +00:00
CaS
358b54ac77 Minor keyed archiving fixes, also expose a couple of internal methods ...
not sure we should do this ... perhaps they should only be exposed to
other classes within the base library?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18490 72102866-910b-0410-8b05-ffd578937521
2004-01-27 11:31:41 +00:00
fedor
6ec3db939d Doc updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18485 72102866-910b-0410-8b05-ffd578937521
2004-01-26 04:42:28 +00:00
CaS
c0ad30b74e Insist on libxml2 presence unless told not to.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18481 72102866-910b-0410-8b05-ffd578937521
2004-01-25 19:57:10 +00:00
CaS
52e0a92230 Updated keyed coding to a (hopefully) useable state
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18480 72102866-910b-0410-8b05-ffd578937521
2004-01-25 18:39:20 +00:00
CaS
4e22d00e1d Added some error checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18473 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:49:01 +00:00
CaS
98ce6de425 Added keyed geometry encoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18472 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:40:44 +00:00
CaS
ef6c24d415 Make default format of keyed archives be xml for now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18470 72102866-910b-0410-8b05-ffd578937521
2004-01-24 17:50:11 +00:00
CaS
8d0f717534 Implement another decoding method ... needs error checking to manage proper
type coercion.  What if the archive is in old plist format?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18467 72102866-910b-0410-8b05-ffd578937521
2004-01-24 07:18:24 +00:00
CaS
fb301fc9f3 Tidy xml output format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18466 72102866-910b-0410-8b05-ffd578937521
2004-01-24 06:51:18 +00:00
CaS
325da251d2 Added a few specialised coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18465 72102866-910b-0410-8b05-ffd578937521
2004-01-24 06:39:21 +00:00
CaS
828757cf28 Turn off some debug logging accidentally left on after last bugfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18463 72102866-910b-0410-8b05-ffd578937521
2004-01-23 18:39:39 +00:00
CaS
2347f04f15 Multithreaded operation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18462 72102866-910b-0410-8b05-ffd578937521
2004-01-23 18:12:37 +00:00
CaS
9268343c0e Override method to say we support keyed coding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18459 72102866-910b-0410-8b05-ffd578937521
2004-01-22 20:43:34 +00:00
CaS
383ae3d03b Partial implementation of unarchiver code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18458 72102866-910b-0410-8b05-ffd578937521
2004-01-22 20:38:24 +00:00
CaS
f88e119c36 Inital commit of partial implementation of MacOS-X compatible keyed archiving.
Experimental ... archiving is implemented aand tested for xml format output.
Unarchiving is not yet implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18450 72102866-910b-0410-8b05-ffd578937521
2004-01-22 09:37:07 +00:00
CaS
b410ed6e5d Fix for libffi based distributed objects (tested on macos-x)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18433 72102866-910b-0410-8b05-ffd578937521
2004-01-18 12:19:43 +00:00
fedor
107b64be5e Include fixes for darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18413 72102866-910b-0410-8b05-ffd578937521
2004-01-15 04:07:08 +00:00
CaS
c1d4c8962a Little tweak for safety .. return immutable copy rather than mutable
instance variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18404 72102866-910b-0410-8b05-ffd578937521
2004-01-13 10:02:34 +00:00
CaS
52fd51a940 Minor fix for problem reported by J.Aaron Prendergrass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18403 72102866-910b-0410-8b05-ffd578937521
2004-01-13 09:21:45 +00:00
fedor
7927c5abea Add ifdefs to include only on MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18395 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:44:48 +00:00
fedor
d7651856b9 Minor changes for baseadd compilation and compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:42:18 +00:00
fedor
06deb92741 Fix indentation problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18371 72102866-910b-0410-8b05-ffd578937521
2004-01-11 04:49:10 +00:00
CaS
c46872f818 Fix incorrect use of a pointer to unichar as if it was a pointer to char.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18359 72102866-910b-0410-8b05-ffd578937521
2004-01-10 10:00:00 +00:00
CaS
785c2ed63c Tidy last NSArray change with minor performance tweak, apply bugfix for code
attempting to deal with minor problems in mime data being parsed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18336 72102866-910b-0410-8b05-ffd578937521
2004-01-08 08:07:29 +00:00
alexm
45b685d011 Initialize range in the aRange.length==0 case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18335 72102866-910b-0410-8b05-ffd578937521
2004-01-08 00:52:21 +00:00
mguesdon
11b53e1b9f 2004-01-06 Manuel Guesdon <mguesdon@orange-concept.com>
* Headers/Foundation/NSArray.h/.m: added -setValue:forKey:
	      and -valueForKey: to comply to Mac OS X v10.3 and
		  later documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18322 72102866-910b-0410-8b05-ffd578937521
2004-01-06 19:43:29 +00:00
CaS
ba01b14ce2 Add method for consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18320 72102866-910b-0410-8b05-ffd578937521
2004-01-05 18:28:18 +00:00
uid65715
8b5050e0a2 Corrected spelling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18273 72102866-910b-0410-8b05-ffd578937521
2003-12-25 14:59:54 +00:00
uid66829
82b785b3c5 Rename 'abstract' to 'abstractClass' and make it static. (+allocWithZone:): Allocate an instance of self if self isn't the abstract class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18265 72102866-910b-0410-8b05-ffd578937521
2003-12-23 23:19:00 +00:00
uid66829
12d2a05aa8 (+detachNewThreadSelector:toTarget:withObject:): Don't set entered_multi_threaded_state to NO if the objc_thread_detach call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18262 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:41:38 +00:00
uid66829
62673068d0 Fix spelling errors in comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18261 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:22:06 +00:00
uid66829
4f2941499d (NSContainsRect): Return NO if the second rect is empty. (NSIntegralRect): Calculate new width and height correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18258 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:11:14 +00:00
CaS
6c250f6d53 fix for ignoring of sigpipe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18244 72102866-910b-0410-8b05-ffd578937521
2003-12-01 06:55:40 +00:00
CaS
49e44e1010 Use current user id to get user name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18242 72102866-910b-0410-8b05-ffd578937521
2003-11-30 10:20:26 +00:00
CaS
99ac08eca9 Minor usability tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18240 72102866-910b-0410-8b05-ffd578937521
2003-11-30 09:05:31 +00:00
alexm
41479d85fb Fix typo in comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18222 72102866-910b-0410-8b05-ffd578937521
2003-11-28 22:41:07 +00:00
CaS
c4119b882c Minor incremental parsing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18200 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:19:41 +00:00
fedor
e74bcf1b96 Change KoreanEUCEncoding to KoreanEUCStringEncoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18134 72102866-910b-0410-8b05-ffd578937521
2003-11-24 04:18:50 +00:00
CaS
1d3598b341 Bugfix ... suspend should send SIGSTOP
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18107 72102866-910b-0410-8b05-ffd578937521
2003-11-23 06:23:09 +00:00
CaS
2d8e1932e7 Fixes for lazy locking on macos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18088 72102866-910b-0410-8b05-ffd578937521
2003-11-16 10:53:40 +00:00
ayers
49728ca894 Based on patches by Philip Moetteli
<Philip.Moetteli@tele2.ch>.
	* Headers/Additions/GNUstepBase/GSCategories.h: Added
	NSKoreanEUCEncoding.
	* Headers/Additions/GNUstepBase/GSLock.h
	* Headers/Additions/GNUstepBase/GSLocale.h: Guard includes for
	NeXT_Foundation_LIBRARY.
	* Source/Additions/GSLock.m: Include GNUstepBase/GNUstep.h.
	* Headers/Additions/GNUstepBase/GSCategories.h
	* Headers/Foundation/NSString.h:
	(+[NSString stringWithFormat:arguments:]): Move declaration to
	GSCategories.
	* Source/NSString.m
	* Source/Additions/GSCategories.m:
	(+[NSString stringWithFormat:arguments:]): Move implementation
	to Additions.
	* macosx/config.h: Define HAVE_WCHAR_H.
	* macosx/gnustep.pbproj/project.pbxproj: Added GSLock files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18072 72102866-910b-0410-8b05-ffd578937521
2003-11-10 15:34:52 +00:00
CaS
c3bccbefe1 Don't obtain locks unnecessarily
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18071 72102866-910b-0410-8b05-ffd578937521
2003-11-10 06:40:24 +00:00
thoran
afc5f3d31e a static declaration was missing. Fixing it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18068 72102866-910b-0410-8b05-ffd578937521
2003-11-09 12:49:15 +00:00
ayers
4e4df7b974 * Source/GSPrivate.h (GS_REPLACE_CONSTANT_STRING): New macro.
* Source/externs.m: Initialize constant strings statically.
	(GSBuildStrings): Replace static strings with dynamic
	versions.
	* Testing/benchmark.m: Added tests for NSString -hash and
	-copy.  Aligned ouput.
	* Testing/externs.m: New test.
	* Testing/GNUmakefile: Added externs.m test.  Activated
	ADDITIONAL_TOOLS tests excluding gstcpport tests.

	* Source/Additions/GSCategories.m: Adjust declared lock type.
	Added comment.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18058 72102866-910b-0410-8b05-ffd578937521
2003-11-06 21:11:39 +00:00
CaS
61cf6fa9e9 Add support for server side ssl connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18055 72102866-910b-0410-8b05-ffd578937521
2003-11-05 18:26:09 +00:00
alexm
ccf66c5058 (serializeToInfo): Only save a string as a cstring if it only contains ASCII characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18052 72102866-910b-0410-8b05-ffd578937521
2003-11-05 13:52:18 +00:00
alexm
f97029e9b2 Reorganize GSString class hierarchy. Update users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18050 72102866-910b-0410-8b05-ffd578937521
2003-11-05 02:11:49 +00:00
CaS
b75764eba4 Use locking even when single threaded ... temporary hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18042 72102866-910b-0410-8b05-ffd578937521
2003-11-03 12:32:46 +00:00
CaS
ae99be2995 Substring creation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18040 72102866-910b-0410-8b05-ffd578937521
2003-11-03 08:35:44 +00:00
CaS
2d71ebd08f Commit file accidentally omitted earlier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18039 72102866-910b-0410-8b05-ffd578937521
2003-11-03 06:27:52 +00:00
alexm
6f9e959f46 ([GSCSubString -copy]): Add as a stopgap workaround for problemes uncovered by the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18022 72102866-910b-0410-8b05-ffd578937521
2003-11-02 00:56:07 +00:00
CaS
82c043f108 Minor fix for strings initialised with data they don't own ... consistent
with MacOS-X implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18019 72102866-910b-0410-8b05-ffd578937521
2003-11-01 11:11:13 +00:00
CaS
009855161e Fix NSCharacterSet caching bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18017 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:30:21 +00:00
CaS
248f589502 Locking tidups/fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18016 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:09:12 +00:00
ayers
b5dd8fa367 * Source/NSCharacterSet.m
([NSCharacterSet _bitmapForSet:number:]): Insure only
        instances of NSCharacterSet a stored in the cache but return
        instances of the receivers class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18014 72102866-910b-0410-8b05-ffd578937521
2003-10-31 17:10:45 +00:00
ayers
dfef5c3ecb Moved declaration of local_lock out of the #ifdef as reported by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18012 72102866-910b-0410-8b05-ffd578937521
2003-10-30 20:51:44 +00:00
ayers
e8eb4809bb Fix declarations for -baseadd and minor convention issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18011 72102866-910b-0410-8b05-ffd578937521
2003-10-30 14:29:41 +00:00
ayers
86f35c472c * Headers/Additions/GNUstepBase/GSLock.h: Added missing
forward declaration.
	* Headers/Additions/GNUstepBase/GSCategories.h: Remove
	declaraion of gnustep_global_lock.
	(GS_INITIALIZED_LOCK): New macro.
	(+[NSLock newLockAt:]): New method.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Headers/Foundation/NSLock.h: Ditto.
	* Source/Additions/GSCategories.m: Replace global lock with
	local lock.
	(_GSLockInitializer): New class to initialize local lock
	safely.
	(newLockAt): New static function shared by +newLockAt:
	implementations to safely intialize lock variables.
	(+[NSLock newLockAt:]): Implemented and documented.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Source/Additions/GSCompatibility.m: Remove
	gnustep_global_lock.
	* Source/Additions/GSObjCRuntime.m: Remove superfluous
	locking.
	* Source/Additions/Unicode.m: Use new GS_INITIALIZED_LOCK
	macro and replace global lock with local lock.
	* Source/NSLock.m
	(-[NSConditionLock lockWhenCondition:beforeDate:]):
	Implemented.
	* Testing/gslock.m: New test case.
	* Testing/GNUmakefile: Add new test case.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18010 72102866-910b-0410-8b05-ffd578937521
2003-10-30 13:44:55 +00:00
CaS
12d355b077 Fixes for macosx compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17989 72102866-910b-0410-8b05-ffd578937521
2003-10-28 11:10:23 +00:00
CaS
ba1698ff9c Updates for improved reference count management over DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17983 72102866-910b-0410-8b05-ffd578937521
2003-10-27 13:41:01 +00:00
CaS
0a746f0769 Build/document new lock classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17982 72102866-910b-0410-8b05-ffd578937521
2003-10-27 13:23:19 +00:00
CaS
1d2a10c000 Add lazy locking classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17979 72102866-910b-0410-8b05-ffd578937521
2003-10-26 13:45:49 +00:00
CaS
e2031f940d Minor comptibility fixes and documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17972 72102866-910b-0410-8b05-ffd578937521
2003-10-25 05:54:39 +00:00
ayers
20704de08d * Source/GSArray.m:
(-[GSMutableArray _raiseRangeExceptionWithIndex:from:]):
        Declare private method obtained through behavior additions.
        (-[GSArray _raiseRangeExceptionWithIndex:from:]): Use
        'unsigned' in favor of 'int' for index and count.  Move
        private method to the top of implementation context to avoid
        warnings.
        (-[GSMutableArray insertObject:atIndex:]): Use 'unsigned' in
        favor of 'int' for index.
        (-[GSMutableArray replaceObjectAtIndex:withObject:]): Correct
        selector name and parameter of method call.
        (-[GSMutableArray sortUsingFunction:context:]): Correct
        prototype.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17963 72102866-910b-0410-8b05-ffd578937521
2003-10-24 09:27:09 +00:00
CaS
034969baa0 Applied and tidied patch for more informative exceptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17962 72102866-910b-0410-8b05-ffd578937521
2003-10-24 06:53:53 +00:00
CaS
3baba2414f bugfix for setting listening port.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17961 72102866-910b-0410-8b05-ffd578937521
2003-10-23 16:46:47 +00:00
ayers
0db6d0ea2f * Source/NSConcreteNumber.h: Moved here from
Headers/Foundation/NSConcreteNumber.h.
        * Source/GNUmakefile: Make NSConcreteNumber.h private.
        * Source/NSConcreteNumber.m: Include NSConcreteNumber.h from
        new location.
        * Source/NSNumber.m: Ditto.
        * Source/NSURL.m: Include NSValue.h in favor of private
        NSConcreteNumber.h.
        * Source/NSURLHandle.m: Do not include NSConcreteNumber.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17954 72102866-910b-0410-8b05-ffd578937521
2003-10-22 16:26:02 +00:00
fedor
98cd044ac6 Generate libgnustep-base.def at compile time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17950 72102866-910b-0410-8b05-ffd578937521
2003-10-22 02:45:43 +00:00
CaS
b08343d175 Cleanups in preparation for experimental changes to retain/relase over DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17949 72102866-910b-0410-8b05-ffd578937521
2003-10-21 17:05:36 +00:00
CaS
0627eb75aa String encoding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17917 72102866-910b-0410-8b05-ffd578937521
2003-10-18 06:10:41 +00:00
nico
ca88c8d721 Removed old obsolete variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17914 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:25:55 +00:00
nico
4f4abc1b4d Removed references to old obsolete variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17913 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:25:28 +00:00
nico
3d82b398e7 Removed old variable, tidied up usage of GNUSTEP_OBJ_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17912 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:24:58 +00:00
CaS
7f5174c76a Minor tidyp ... change a couple of macro names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17904 72102866-910b-0410-8b05-ffd578937521
2003-10-16 20:41:50 +00:00
CaS
d113f2549c New SIGPIPE behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17903 72102866-910b-0410-8b05-ffd578937521
2003-10-16 18:31:38 +00:00
CaS
0cd5b3a710 Bugfix ... don't override handler for sigpipe if one is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17902 72102866-910b-0410-8b05-ffd578937521
2003-10-16 15:48:48 +00:00
nico
bd9830583d Do not #include signal.h when compiling NSObject.m ... it seems unused
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17901 72102866-910b-0410-8b05-ffd578937521
2003-10-16 14:56:35 +00:00
nico
f979072045 Removed unused FORCE rule
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17890 72102866-910b-0410-8b05-ffd578937521
2003-10-15 11:16:42 +00:00
nico
1dce3ec58c Removed unused rules
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17889 72102866-910b-0410-8b05-ffd578937521
2003-10-15 11:16:03 +00:00
nico
8abcd75bc4 Removed rules to build object files when an included header file changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17873 72102866-910b-0410-8b05-ffd578937521
2003-10-15 10:21:59 +00:00
fedor
ced5193b8d Fix parsing of octal escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17863 72102866-910b-0410-8b05-ffd578937521
2003-10-14 15:38:31 +00:00
CaS
0d55588d8a Simplify last change a little for readability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17861 72102866-910b-0410-8b05-ffd578937521
2003-10-14 09:09:06 +00:00
CaS
88bd37b151 Tweak to prevent stack overflow on windows, without significant loss of
performance ... use stack for smallish temporary storage, but heap for
larger storage requirements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17860 72102866-910b-0410-8b05-ffd578937521
2003-10-14 09:00:42 +00:00
CaS
f292a46b2a Fixed missing bracket
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17806 72102866-910b-0410-8b05-ffd578937521
2003-10-09 09:31:35 +00:00
CaS
f68efed229 memory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17805 72102866-910b-0410-8b05-ffd578937521
2003-10-09 09:12:23 +00:00
CaS
c4b038113d Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17804 72102866-910b-0410-8b05-ffd578937521
2003-10-08 16:26:59 +00:00
CaS
2c18a5ea43 Memory leak fixes and a little new debug functionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17803 72102866-910b-0410-8b05-ffd578937521
2003-10-08 15:03:58 +00:00
CaS
c019ce0f9e Windows path handling fixups by Roland Schwingel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17802 72102866-910b-0410-8b05-ffd578937521
2003-10-08 14:27:11 +00:00
CaS
bc1256b6dd Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17800 72102866-910b-0410-8b05-ffd578937521
2003-10-08 13:19:20 +00:00
CaS
9e3af86051 Added setContentType:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17790 72102866-910b-0410-8b05-ffd578937521
2003-10-07 15:49:52 +00:00
fedor
a50ec2ab0f Fix documentation make. Bump version number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17782 72102866-910b-0410-8b05-ffd578937521
2003-10-06 03:32:37 +00:00
CaS
dbcea88742 Fixed minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17767 72102866-910b-0410-8b05-ffd578937521
2003-10-02 16:50:49 +00:00
CaS
c7551b0431 Improve warning messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17758 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:57:49 +00:00
CaS
5401a03dd3 Thread safety fix ... ensure notifications are sent before we become
multithrteaded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17757 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:19:03 +00:00
CaS
88285c3596 Minor bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17756 72102866-910b-0410-8b05-ffd578937521
2003-09-30 17:47:35 +00:00
CaS
47fcfc1ad3 Minor bugfix .. pathExtension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17729 72102866-910b-0410-8b05-ffd578937521
2003-09-26 15:39:14 +00:00
CaS
88eb50f705 Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17713 72102866-910b-0410-8b05-ffd578937521
2003-09-25 12:15:51 +00:00