Richard Frith-Macdonald
310d9bd763
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
David Ayers
9a32828063
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
David Ayers
c2b8811456
* 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
Richard Frith-Macdonald
ec9d52dff8
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
David Ayers
adf139cf68
* 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
Richard Frith-Macdonald
eaee725163
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
Richard Frith-Macdonald
77ee3e21e5
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
Richard Frith-Macdonald
3e1b4384db
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
Adam Fedor
42b816ded4
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
Adam Fedor
859a97b7ca
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
David Ayers
ac30183cd6
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
Richard Frith-Macdonald
e5bba705a3
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
Richard Frith-Macdonald
2006c0f018
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
Alexander Malmberg
db7825f0e6
(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
Alexander Malmberg
04927afede
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
Alexander Malmberg
dd482c40f6
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
Richard Frith-Macdonald
a8fd582a87
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
Richard Frith-Macdonald
1a87e96517
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
Richard Frith-Macdonald
ff510aaedb
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
Fred Kiefer
0bde9c0b94
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
Adam Fedor
d228cba99b
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
Richard Frith-Macdonald
eb5c548496
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
Alexander Malmberg
6c7f43d46d
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
Adam Fedor
9ca631d7e0
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
Adam Fedor
c91cd5da12
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
Richard Frith-Macdonald
3a344ae100
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
Adam Fedor
9d78b79dce
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
Richard Frith-Macdonald
c6559096e0
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
Richard Frith-Macdonald
11cb628f81
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
Richard Frith-Macdonald
17ac680236
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
Adam Fedor
485132bf15
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
Richard Frith-Macdonald
2aafe79eee
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
Richard Frith-Macdonald
6000d30f53
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
Richard Frith-Macdonald
35d91cf9d5
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
Richard Frith-Macdonald
f8470369c2
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
Richard Frith-Macdonald
cdd6a0b792
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
Adam Fedor
4667c84855
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
Richard Frith-Macdonald
e91f61f8c1
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
Richard Frith-Macdonald
4d44332b79
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
Richard Frith-Macdonald
bfeb8dbf69
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