Commit graph

3559 commits

Author SHA1 Message Date
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
fedor
e089ba3bff Various compile fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17709 72102866-910b-0410-8b05-ffd578937521
2003-09-24 01:39:55 +00:00
fedor
15f77dce38 Remover extern decl
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17706 72102866-910b-0410-8b05-ffd578937521
2003-09-23 14:11:10 +00:00
CaS
3fe833176d Minor thread handling tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17672 72102866-910b-0410-8b05-ffd578937521
2003-09-15 13:54:06 +00:00
ayers
cb5b1310d0 * Headers/Additions/GNUstepBase/GSCategories.h: Move
declarations
	from Source/Additions/GSCompatibility.h to here.
	([NSObject -compare:]): Deprecate.
	* Source/Additions/GSCompatibility.h: Move contents from here
	to
	Headers/Additions/GNUstepBase/GSCategories.h.

	* Source/Additions/GSCategories.m:
	([NSObject -compare:]): Deprecate.

	* Headers/Foundation/NSObject.h
	([NSObject -compare:]): Deprecate.

	* Source/Additions/GCDictionary.m: Include
	GNUstepBase/GSCategories.h rather than GSCompatibility.h.
	* Source/Additions/GCObject.m: Ditto.
	* Source/Additions/GSMime.m: Ditto.
	* Source/Additions/GSObjCRuntime.m: Ditto.
	* Source/Additions/GSXML.m: Ditto.
	* Source/Additions/Unicode.m: Ditto.

	* macosx/GNUstepBase/preface.h: Update include for new header
	structure.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17664 72102866-910b-0410-8b05-ffd578937521
2003-09-13 22:42:50 +00:00
ayers
65265d2ea7 * Source/Additions/GSCompatibility.h
* Source/Additions/GSCompatibility.m
        (NSDecimalFromComponents): Added compatibility function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17656 72102866-910b-0410-8b05-ffd578937521
2003-09-11 16:59:45 +00:00
CaS
413c44d80a utf16 fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17654 72102866-910b-0410-8b05-ffd578937521
2003-09-11 05:40:55 +00:00
CaS
703a88435f Small tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17653 72102866-910b-0410-8b05-ffd578937521
2003-09-11 05:02:26 +00:00
CaS
2d2d676969 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17649 72102866-910b-0410-8b05-ffd578937521
2003-09-10 08:34:24 +00:00
CaS
68700f54ef Improved unicode support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17648 72102866-910b-0410-8b05-ffd578937521
2003-09-10 08:14:45 +00:00
CaS
2651bf6b19 Bugfix for returnign difference between date/time now and in past.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17647 72102866-910b-0410-8b05-ffd578937521
2003-09-10 07:59:14 +00:00
fedor
e2566a2247 loadingBundles fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17640 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:47:50 +00:00
fedor
36a8e49a1f Add Korean encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17639 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:36:49 +00:00
alexm
a77ee7fab9 Change return type of -initWithPath: to id.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17618 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:44:37 +00:00
fedor
c8e8f215fc Use tzset to find timezone info.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17615 72102866-910b-0410-8b05-ffd578937521
2003-09-04 03:28:14 +00:00
fedor
bb9d654544 * Source/NSMessagePort.m: For older OS comptibility, define some
macros if they are not already defined.
* Source/NSMessagePortNameServer.m: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17559 72102866-910b-0410-8b05-ffd578937521
2003-08-27 14:16:03 +00:00
ayers
38143e6e56 Various GSObjCRuntime usage cleanups.
See ChangeLog for details.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17533 72102866-910b-0410-8b05-ffd578937521
2003-08-24 23:07:41 +00:00
CaS
cfb39df8a1 Avoid trivial warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17510 72102866-910b-0410-8b05-ffd578937521
2003-08-22 10:31:16 +00:00
alexm
c9bb4eebda Don't return values from methods returning void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17502 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:13:34 +00:00
CaS
c12fefef3e Hacks to work around compiler/runtime bugs with protocols.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17482 72102866-910b-0410-8b05-ffd578937521
2003-08-15 13:20:50 +00:00
ayers
e70b8e57cb * Source/UnixFileHandle.m: Remove obsolete file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17478 72102866-910b-0410-8b05-ffd578937521
2003-08-13 16:20:55 +00:00
fedor
f145ad86ce Include last encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17471 72102866-910b-0410-8b05-ffd578937521
2003-08-13 03:29:13 +00:00
CaS
8bdabb6055 Save and restore libxml global info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17457 72102866-910b-0410-8b05-ffd578937521
2003-08-08 14:55:23 +00:00
CaS
76b458f3e8 Fix stack overflow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17453 72102866-910b-0410-8b05-ffd578937521
2003-08-07 18:22:03 +00:00
CaS
5283c204a9 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17447 72102866-910b-0410-8b05-ffd578937521
2003-08-07 07:59:36 +00:00
CaS
12340d7524 Fix problem with property list escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17446 72102866-910b-0410-8b05-ffd578937521
2003-08-07 07:17:03 +00:00
fedor
3767bc44fc Fix include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17421 72102866-910b-0410-8b05-ffd578937521
2003-08-03 03:57:53 +00:00
CaS
4956796298 Fix a few oddities
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17411 72102866-910b-0410-8b05-ffd578937521
2003-08-01 10:15:11 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
a03063bf1a Avoid compiler warnings for unused functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17386 72102866-910b-0410-8b05-ffd578937521
2003-07-28 17:09:28 +00:00
CaS
79313980dd Avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17385 72102866-910b-0410-8b05-ffd578937521
2003-07-28 17:01:16 +00:00
CaS
77ab6be142 Tweaks to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17383 72102866-910b-0410-8b05-ffd578937521
2003-07-28 16:44:24 +00:00
CaS
02aace51b0 Tidyups etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17380 72102866-910b-0410-8b05-ffd578937521
2003-07-28 10:53:18 +00:00
gcasa
4a92c831b2 Corrected issue with GSObjCMethodNames function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17374 72102866-910b-0410-8b05-ffd578937521
2003-07-27 14:57:47 +00:00
CaS
4238376240 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17372 72102866-910b-0410-8b05-ffd578937521
2003-07-27 08:59:08 +00:00
CaS
2330b448e0 Minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17347 72102866-910b-0410-8b05-ffd578937521
2003-07-26 06:48:44 +00:00
CaS
b3695601ed Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17337 72102866-910b-0410-8b05-ffd578937521
2003-07-25 13:58:25 +00:00
CaS
778c3a3c7c Fix thread memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17336 72102866-910b-0410-8b05-ffd578937521
2003-07-25 09:27:44 +00:00
CaS
e8fb1797f9 Minor tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17335 72102866-910b-0410-8b05-ffd578937521
2003-07-25 05:31:52 +00:00
CaS
5434cb4393 Partail reversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17334 72102866-910b-0410-8b05-ffd578937521
2003-07-25 04:58:03 +00:00
CaS
1d0fffcc91 Doc stamp fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17318 72102866-910b-0410-8b05-ffd578937521
2003-07-23 22:15:04 +00:00
CaS
60595000ea zombie fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17317 72102866-910b-0410-8b05-ffd578937521
2003-07-23 21:42:03 +00:00
CaS
5d254c2de8 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17292 72102866-910b-0410-8b05-ffd578937521
2003-07-22 09:13:04 +00:00
CaS
1ba4b76c03 Documentation and port name server fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17291 72102866-910b-0410-8b05-ffd578937521
2003-07-22 08:52:37 +00:00
CaS
6efeed0154 home directory fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17289 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:36:25 +00:00
CaS
cb3f882517 Fix obscure crasher
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17281 72102866-910b-0410-8b05-ffd578937521
2003-07-21 19:22:41 +00:00
CaS
4c941c1ba5 Attempt to handle windows UNC file specifications.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17280 72102866-910b-0410-8b05-ffd578937521
2003-07-21 13:12:15 +00:00
CaS
a49480cc93 Minor mingw fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17279 72102866-910b-0410-8b05-ffd578937521
2003-07-21 12:04:43 +00:00
CaS
2c6ab181bd iMinor fox for DO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17266 72102866-910b-0410-8b05-ffd578937521
2003-07-20 18:43:35 +00:00
alexm
0f25da62f0 Don't kill the targetToCached timer when invalidating a connection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17265 72102866-910b-0410-8b05-ffd578937521
2003-07-20 15:35:01 +00:00
CaS
7e4ef0cdc9 lockBeforeDate improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17263 72102866-910b-0410-8b05-ffd578937521
2003-07-20 06:37:25 +00:00
CaS
b9bccee8c3 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17246 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:27:31 +00:00
CaS
c9ad07d277 New methods for improved control of debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17245 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:20:27 +00:00
CaS
8a854b2141 Improve code for sleeping a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17244 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:00:31 +00:00
CaS
b3c270ab07 Add a few MacOS-X methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17222 72102866-910b-0410-8b05-ffd578937521
2003-07-15 16:35:11 +00:00
ayers
f65f0ffe09 * Headers/gnustep/base/NSUndoManager.h: Add
NSUndoCloseGroupingRunLoopOrdering enum.  Replace instance
        variables _registeredUndo with _runLoopGroupingPending and
        _actionName with _unused1.
        * Source/NSUndoManager.m: Added documentation.
        Added actionName instance variable to PrivateUndoGroup.
        (-[PrivateUndoGroup actionName]): New method.
        (-[PrivateUndoGroup setActionName]): Ditto.
        (-[PrivateUndoGroup dealloc]): Release new instance variable.
        (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
        (-[NSUndoManager forwardInvocation]): Implicitly call
        beginUndoGrouping if group has not been setup and we are
        grouping by events.  Register _loop: invocation if none is already
        pending and if we are grouping by event.
        (-[NSUndoManager registerUndoWithTarget:selector:object]):
        Ditto.
        (-[NSUndoManager methodSignatureForSelector:]): Overriden to
        forward request to target supplied by
        -prepareWithInvocationTarget: if available.
        (-[NSUndoManager _loop:]): Set flag to determine pending
        _loop: processing.
        (-[NSUndoManager init]): Removed access to _actionName.  Have
        receiver default to group by event.
        (-[NSUndoManager dealloc]): Ditto.
        (-[NSUndoManager enableUndoRegistration]): Remove access to
        _registeredUndo.
        (-[NSUndoManager redo]): Simplified implementation.
        (-[NSUndoManager redoActionName:]: Retrieve action name from
        first grouping of the redo stack.
        (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add
        comment about localization.
        (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
        (-[NSUndoManager setActionName:]): Forward call to current
        grouping.
        (-[NSUndoManager undoActionName:]: Retrieve action name from
        first grouping of the undo stack.
        (-[NSUndoManager setRunLoopModes:]): Use correct run loop
        ordering and set flag for pending _loop: invocation.
        (-[NSUndoManager undoNestedGroup]): Removed special case
        handling of _registeredUndo.  Raise
        NSInternalInconsistencyException if grouping is still in
        progress.  Simplified implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17221 72102866-910b-0410-8b05-ffd578937521
2003-07-15 11:56:22 +00:00
CaS
30146f8f24 iUpdates for local private connections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17217 72102866-910b-0410-8b05-ffd578937521
2003-07-15 05:21:34 +00:00
CaS
1561800b3b Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17215 72102866-910b-0410-8b05-ffd578937521
2003-07-15 04:47:06 +00:00
CaS
10f0204dd5 Use loopback interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17213 72102866-910b-0410-8b05-ffd578937521
2003-07-15 04:22:59 +00:00
ayers
e1512bb666 * Source/Additions/GSObjCRuntime.m
(GSCGetInstanceVariableDefinition): Make more robust.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17195 72102866-910b-0410-8b05-ffd578937521
2003-07-12 12:44:12 +00:00
ayers
2162ad5edd * Source/Additions/GSXML.m: Use cached NSString class
variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17190 72102866-910b-0410-8b05-ffd578937521
2003-07-11 18:53:48 +00:00