Commit graph

34 commits

Author SHA1 Message Date
mccallum
169cb14712 ([NSString -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1539 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:30:01 +00:00
mccallum
615187e5df ([NSString -description]): Implemented by Nathan Urban.
([NSString -propertyList]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1532 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:37:10 +00:00
mccallum
49d43a44aa Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
mccallum
07530e41bd (PRINTF_ATSIGN_VA_LIST): New macro, when 1, undoes previous changes.
Previous changes cause crashes with my libc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1501 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:14:54 +00:00
mccallum
2a513e2117 All uses of @"" were crashing in Linux libc-5.3.9.
(arginfo_func): New function.
(handle_printf_atsign): Get the string object without va_arg().
([NSString +initialize]): Use new function.
(Reported and fixed by Kai-Uwe Sattler
<sattler@volker.cs.Uni-Magdeburg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1492 72102866-910b-0410-8b05-ffd578937521
1996-05-06 18:59:01 +00:00
mccallum
3228ed0477 Change R. Andrew McCallum to post-marriage name: Andrew Kachites McCallum
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1456 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:17:45 +00:00
mccallum
dbe4613ced Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
mccallum
89d67bb808 Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
mccallum
d4b12b4053 Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
mccallum
f491e64f1b Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1276 72102866-910b-0410-8b05-ffd578937521
1996-03-26 20:59:42 +00:00
mccallum
6c5e0d54bb Use NSException instead of sending -error: in all methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1273 72102866-910b-0410-8b05-ffd578937521
1996-03-26 19:35:47 +00:00
mccallum
735a988473 Include <objects/behavior.h.
([NSString -componentsSeparatedByString:]): Initialize ARRAY!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1212 72102866-910b-0410-8b05-ffd578937521
1996-03-19 01:44:01 +00:00
mccallum
2bf3b74354 ([NSString -hash]): Don't use elt_* function, and use
NSHashStringLength.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@984 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:50:35 +00:00
mccallum
f46b4d9b55 Overhaul for new collection class scheme to improve distributed
objects and NeXT-compatibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@947 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:18:57 +00:00
mccallum
072436a019 (handle_printf_atsign): Fix type for va_arg ().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@787 72102866-910b-0410-8b05-ffd578937521
1996-01-24 03:16:35 +00:00
mccallum
97ceb69629 ([NSString +initialize]): Cast function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@780 72102866-910b-0410-8b05-ffd578937521
1996-01-23 23:41:02 +00:00
mccallum
b74458b94a This new code, #if HAVE_REGISTER_PRINTF_FUNCTION, a function defined
by GNU libc.
(handle_printf_atsign): New function to handle %@ in printf strings.
([NSString +initialize]): Register the new printf-handler function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@779 72102866-910b-0410-8b05-ffd578937521
1996-01-23 23:30:05 +00:00
mccallum
7deb5b6173 ([NSString -initWithCString:length:]): Handle case of NULL cString.
([NSString -initWithCString:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@740 72102866-910b-0410-8b05-ffd578937521
1996-01-19 16:12:12 +00:00
mccallum
b25748e37a ([NSString +allocWithZone:]): New method.
([NSString +stringWithCString:byteString]): Use it.
([NSString +stringWithCString:length:]): Likewise.
([NSString +stringWithFormat:]): Likewise.
([NSString +stringWithFormat:arguments:]): Likewise.
([NSMutableString +allocWithZone:]): New method.
([NSMutableString +stringWithCapacity:]): Use it.
([NSMutableString +stringWithCString:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@676 72102866-910b-0410-8b05-ffd578937521
1995-11-19 20:29:39 +00:00
mccallum
cb455b5536 ([NSString -cString]): Use -subclassResponsibility: instead of
-notImplemented:
([NSString -cStringLength]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@638 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:29:04 +00:00
mccallum
1edc8b38e0 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@627 72102866-910b-0410-8b05-ffd578937521
1995-10-18 16:47:59 +00:00
mccallum
7ef742468f Replaced "notImplemented" with "subclassResponsibilty" where
appropriate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@546 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:26:44 +00:00
mccallum
cf463717ad Rename NSCString to NSGCString.
([NXConstantString -release]): Fix return type and return.
([NSString +_setConcreteClass:]): New method.
([NSString +_setConcreteCClass:]): New method.
([NSString +_setMutableConcreteClass:]): New method.
([NSString +_setMutableConcreteCClass:]): New method.
([NSString +_concreteClass]): New method.
([NSString +_concreteCClass]): New method.
([NSString +_mutableConcreteClass]): New method.
([NSString +_mutableConcreteCClass]): New method.
([NSString +initialize]): Initialize new statics that hold concrete
classes.
([NSString +stringWithCString:byteString]): Use concrete class method.
([NSString +stringWithCString:length:]): Likewise.
([NSString +stringWithFormat:]): Likewise.
([NSString +stringWithFormat:arguments:]): Likewise.
([NSString -mutableCopyWithZone:]): Likewise.
([NSMutableString +stringWithCapacity:]): Likewise.
([NSMutableString +stringWithCString:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@542 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:07:19 +00:00
mccallum
c4f3913247 ([NXConstantString -dealloc]): New method.
([NXConstantString -cString]): New method.
([NXConstantString -retain]): New method.
([NXConstantString -release]): New method.
([NXConstantString -autorelease]): New method.
([NXConstantString -copyWithZone:]): New method.
(From Jeremy Bettis).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@507 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:25:34 +00:00
mccallum
f06f32f172 (componentsSeparatedByString:, substringFromRange:,
rangeOfCharacterFromSet:, rangeOfCharacterFromSet:options:,
rangeOfCharacterFromSet:options:range:, rangeOfString:,
rangeOfString:options:, caseInsensitiveCompare:, hasPrefix:,
hasSuffix:, lastPathComponent, pathExtension,
stringByAppendingPathComponent:, stringByAppendingPathExtension:,
stringByDeletingLastPathComponent, stringByDeletingPathExtension):
Implemented methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@505 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:10:41 +00:00
mccallum
eb1a6df11e ([NSString -getCharacters:range:]): Decrement, not increment in loop.
(Reported by Harmut <benz@sophie-scholl.dbag.ulm.DaimlerBenz.COM>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@493 72102866-910b-0410-8b05-ffd578937521
1995-07-05 21:19:20 +00:00
mccallum
1ece8fe556 (-compare:options:range:): Simple implementation; not complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@411 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:29:12 +00:00
mccallum
883fa9fab5 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +00:00
mccallum
3b43be1a80 Convert to new Coder scheme. Use -initWithCoder instead
of +newWithCoder where appropriate.  Remove arguments typed
(Coder*).  Replace +_newCollectionWithCoder with
-_initCollectionWithCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@333 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:53:53 +00:00
mccallum
5f3aad08b8 (+initialize): Use static "done".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@286 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:25:08 +00:00
mccallum
6a5c3f47c1 (initialize): No need to add IndexedCollection behavior to NSString,
we already added String, and String inherits from IndexedCollection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@261 72102866-910b-0410-8b05-ffd578937521
1995-04-03 23:43:08 +00:00
mccallum
95bc03e7f4 Use (id <String>) instead of (String*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@241 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:23:45 +00:00
mccallum
9ac1790a9f Added implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@231 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:35:42 +00:00
mccallum
3454697e21 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@99 72102866-910b-0410-8b05-ffd578937521
1995-03-12 19:54:14 +00:00