Commit graph

41 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
alexm
eb078bc0f9 (GSToUnicode, GSFromUnicode): Fix setting of dst in some cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17176 72102866-910b-0410-8b05-ffd578937521
2003-07-09 13:57:43 +00:00
alexm
ea152c1c5e Fix issues in -getCString:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17174 72102866-910b-0410-8b05-ffd578937521
2003-07-09 02:13:58 +00:00
alexm
86a8fd6a23 In iconv case, only expand the buffer when we really need more space. Correctly handle all output when flushing iconv.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17172 72102866-910b-0410-8b05-ffd578937521
2003-07-08 01:50:42 +00:00
CaS
54a9e66dc5 Fix rare bug in iconv conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17080 72102866-910b-0410-8b05-ffd578937521
2003-07-01 08:33:22 +00:00
CaS
b86d12e184 Allow iconv to handle utf-7
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17071 72102866-910b-0410-8b05-ffd578937521
2003-06-30 04:53:54 +00:00
CaS
80700dd286 Minor fencepost fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16958 72102866-910b-0410-8b05-ffd578937521
2003-06-19 08:27:51 +00:00
FredKiefer
692833df3b In GSFromUnicode() removed type cast of *_conv_base as the
gcc 3.3 compiler complained about it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16885 72102866-910b-0410-8b05-ffd578937521
2003-06-07 23:33:58 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
CaS
73f0682793 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16641 72102866-910b-0410-8b05-ffd578937521
2003-05-06 06:54:22 +00:00
alexm
20f4243581 Fix a bunch of NSString bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16636 72102866-910b-0410-8b05-ffd578937521
2003-05-05 13:36:25 +00:00
fedor
32ae9a0f45 Filesystem change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:29:49 +00:00
fedor
569970e845 Fix up previously applied patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16331 72102866-910b-0410-8b05-ffd578937521
2003-04-02 17:09:52 +00:00
CaS
57c0ece231 MInor tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16105 72102866-910b-0410-8b05-ffd578937521
2003-03-02 07:47:18 +00:00
fedor
072d3f3719 Header fixups for MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15864 72102866-910b-0410-8b05-ffd578937521
2003-02-03 04:15:27 +00:00
CaS
bc085ac3a9 Add more utf8 checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15842 72102866-910b-0410-8b05-ffd578937521
2003-02-01 06:49:44 +00:00
CaS
e5b300c58f utf8 decoding fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15841 72102866-910b-0410-8b05-ffd578937521
2003-02-01 06:39:37 +00:00
CaS
6336c61a34 Minor fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15743 72102866-910b-0410-8b05-ffd578937521
2003-01-28 07:38:35 +00:00
fedor
938106220c Move methods to Additions for use with gdl2 on MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15723 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:38:42 +00:00
CaS
2c70c72df9 Added latin9 support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15646 72102866-910b-0410-8b05-ffd578937521
2003-01-20 09:58:45 +00:00
CaS
b37baacb77 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15426 72102866-910b-0410-8b05-ffd578937521
2002-12-31 11:48:36 +00:00
CaS
d269bba42e compatibility, documentation, and optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15420 72102866-910b-0410-8b05-ffd578937521
2002-12-31 10:09:54 +00:00
CaS
fc9a011f6a Minor optimisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15322 72102866-910b-0410-8b05-ffd578937521
2002-12-24 09:42:59 +00:00
CaS
d3c48bda48 Avoid using iconv for utf8
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15307 72102866-910b-0410-8b05-ffd578937521
2002-12-17 12:06:39 +00:00
fedor
5f4ef9f331 Port baseadd to MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15199 72102866-910b-0410-8b05-ffd578937521
2002-12-03 02:50:07 +00:00
CaS
5b679ea73d Workaround for iconv_open() bug on redhat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15033 72102866-910b-0410-8b05-ffd578937521
2002-11-20 15:50:46 +00:00
CaS
3ddbbe0c7c redhat 8 bug workaround
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15031 72102866-910b-0410-8b05-ffd578937521
2002-11-20 13:50:55 +00:00
CaS
2ef9a81d01 Garbage collecting updates and moved more gnustep specifiec code to the
Additions library


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15016 72102866-910b-0410-8b05-ffd578937521
2002-11-19 05:37:42 +00:00
Renamed from Source/Unicode.m (Browse further)