fedor
a57d791f91
Patches submitted from May 20 to Aug 28 1997
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
mccallum
84e793a061
Remove some duplicate methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2324 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:39:07 +00:00
mccallum
e22ff194a4
Changes from Stevo Crvenkovski. See ChangeLog Mar 23 22:14:21
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2302 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:05:21 +00:00
mccallum
5d1aca1c8a
Changes from Scott Christley. See ChangeLog Mar 6 08:57:29
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2296 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:26:16 +00:00
mccallum
ec967cff6b
Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:25:25 +00:00
mccallum
47f8cb6098
Changes from Scott Christley. See ChangeLog Feb 27 13:46:10
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2294 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:24:31 +00:00
mccallum
1b0b2e5f30
Changes from Jeremy Bettis. See ChangeLog Jan 21 17:09:09
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2290 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:05:57 +00:00
mccallum
83fc572410
Changes by Scott Christley. See ChangeLog Feb 25
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2209 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:07:35 +00:00
mccallum
3825155a98
([NSString -copy]): Use NSDefaultMallocZone() instead of NS_NO_ZONE.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2035 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:12:56 +00:00
mccallum
67869fb4e0
Changes from Scott Christley. See ChangeLog Dec 04 and Nov 21
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2032 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:24:07 +00:00
mccallum
6d33811e4a
([NSString -initWithFormat:arguments:]): Increase BUFFER_EXTRA by a
...
factor of 500.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2029 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:01:52 +00:00
mccallum
f66456b319
([NSString -hasPrefix:]): Fix logic to return correct value.
...
(Reported by David Wetzel <dave@turbocat.de>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2020 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:36:21 +00:00
mccallum
bd119c71f6
([NSString -description]): Free DEST to prevent memory leak!
...
(Reported by Wolfgang Baron <wbaron@ixpoint.de>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2014 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:14:35 +00:00
mccallum
279445c32e
([NSString -componentsSeparatedByString:]): Didn't handle strings with
...
separators longer than a single character and in other cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1998 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:01:32 +00:00
mccallum
9c1198ff9f
Fixed `Caveats' comment.
...
([NSString -commonPrefixWithString:options:]): Method implemeneted.
([NSString -capitalizedString]): Method implemented.
([NSString -lowercaseString]): Method implemented.
([NSString -uppercaseString]): Method implemented.
([NSString -stringByExpandingTildeInPath]): Method implemented.
([NSString -stringByAbbreviatingWithTildeInPath]): Method implemented.
([NSString -stringByStandardizingPath]): Method implemented.
([NSString -_cStringContents]): Method removed. All callers changed
to use -cStringNoCopy.
([NSString -objectAtIndex:]): Method removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1955 72102866-910b-0410-8b05-ffd578937521
1996-11-24 21:04:24 +00:00
mccallum
d6e386bc54
([NSString -cStringNoCopy]): New method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1948 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:15 +00:00
mccallum
74a42c0111
Don't include <gnustep/base/String.h>.
...
([NSString +initialize]): Don't use static variable to prevent getting
run twice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1942 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:20:45 +00:00
mccallum
f84022e180
(HAVE_REGISTER_PRINTF_FUNCTION): Move definition below #include's.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1923 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:24:43 +00:00
mccallum
7ace9421da
([NSString -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1899 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:04 +00:00
mccallum
748ceaa25d
Change from Nick Christopher. See Oct 1 ChangeLog entry.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1881 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:03:44 +00:00
mccallum
f6517dc403
([NSString -initWithFormat:arguments:]): Fix bug whereby multiple %@'s
...
in the same format string created incorrect output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1836 72102866-910b-0410-8b05-ffd578937521
1996-09-25 13:45:31 +00:00
mccallum
d23ce8498e
([NSString -copy]): New method. Now -copy sent to strings should
...
work. (Added temporarily until this problem is fixed by me overhaul
of the string classes to separate Core and NonCore methods.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1827 72102866-910b-0410-8b05-ffd578937521
1996-09-24 17:41:03 +00:00
mccallum
b599321dbb
(HAVE_REGISTER_PRINTF_FUNCTION): Temporarily set this to 0 until I
...
figure out when register_printf_function's output handler function
takes `va_list' and when it takes `void**'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1802 72102866-910b-0410-8b05-ffd578937521
1996-09-18 13:15:33 +00:00
mccallum
f9e121c2f5
([NSString -substringFromRange:]): Implement it using CString's for
...
now so we can get it working; (we'll fix everything for Unichar's in
the next release).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1690 72102866-910b-0410-8b05-ffd578937521
1996-09-02 19:31:44 +00:00
mccallum
fbb1b130bd
([NSString -substringFromRange:]): Fix bug in references to string
...
length.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1677 72102866-910b-0410-8b05-ffd578937521
1996-09-02 15:53:47 +00:00
mccallum
96a8d87d32
([NSString -substringFromRange:]): Raise correct exceptions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1666 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:43:45 +00:00
mccallum
744dd86b90
([NSString -getCharacters:range:]): Fix bug in buffer index.
...
(Reported by Eric Norum <Eric.Norum@usask.ca>.)
([NSString -rangeOfString:aStringoptions:maskrange:aRange]):
Implemented. (By Eric Norum.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1664 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:38:19 +00:00
mccallum
960c6fa4c6
Changes from home. See ChangeLog Aug 5 through Aug 25
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1662 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:20:20 +00:00
mccallum
fe624212e5
Changes made in Rochester. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
mccallum
f4c61f0dc8
Rename all o- files to o_.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1613 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:12:24 +00:00
mccallum
ce049ea252
([NSString -initWithFormat:arguments:]): Increase bsprintf buffer
...
size, and assert that we haven't overrun the buffer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1606 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:10:53 +00:00
mccallum
e498c30b3b
Change comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1555 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:01:58 +00:00
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