Commit graph

14 commits

Author SHA1 Message Date
mccallum
b84fb64d50 Use -subclassResponsibility instead of -notImplemented
where appropriate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@893 72102866-910b-0410-8b05-ffd578937521
1996-02-01 17:04:17 +00:00
mccallum
934d46540f * src/NSData.m ([NSData +allocWithZone:]): New method.
([NSMutableData +allocWithZone:]): Likewise.
	([NSData +data, +dataWithBytes:length:,
	+dataWithBytesNoCopy:length:, +dataWithContentsOfFile:,
	+dataWithContentsOfMappedFile:]): Allocate using designated
	allocator.  ([NSMutableData +dataWithCapacity:,
	+dataWithLength:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@575 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:36:59 +00:00
mccallum
b7b35b32a5 ([NSData +allocWithZone:]): New method.
(_initWithBytesNoCopy:length): New (designated initializer) method.
(initWithBytesNoCopy:length:): Make subclass responsibility.
(init): Call new designated initializer. ([NSMutableData
+allocWithZone:]) New Method. (dataWithCapacity:, dataWithLength:):
Allocate using designated allocator. (initWithBytesNoCopy:length:):
Make subclass responsibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@501 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:51:26 +00:00
mccallum
b1fe8f95a0 Allow easy user-modification of concrete class.
([NSData +_setConcreteClass:]): New method.
([NSData +_setMutableConcreteClass:]): New method.
([NSData +_concreteClass]): New method.
([NSData +_mutableConcreteClass]): New method.
([NSData +initialize]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@489 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:10:49 +00:00
mccallum
b730ea2ced Include <Foundation/NSException.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@403 72102866-910b-0410-8b05-ffd578937521
1995-04-21 00:11:21 +00:00
mccallum
ed025f5a9b (dataWithBytesNoCopy:length:): Send alloc to NSGData class, not self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@401 72102866-910b-0410-8b05-ffd578937521
1995-04-20 16:04:56 +00:00
mccallum
c61e7bd0dd Patch from Albin Jones.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@400 72102866-910b-0410-8b05-ffd578937521
1995-04-20 16:02:26 +00:00
mccallum
b2eae950dd (replaceBytesInRange:withBytes:): Get pointer with -mutableBytes, not
-bytes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@393 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:31:59 +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
5d6cf8b2ef Insert the implementation of NSMutableData.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@387 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:40:59 +00:00
mccallum
381f673170 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@381 72102866-910b-0410-8b05-ffd578937521
1995-04-15 20:52:49 +00:00
mccallum
14a4337ace Fixed typos. Implemented -init.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@362 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:40:19 +00:00
mccallum
8f4adb1942 (-getBytes:range:): Implemented.
(-isEqual:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@348 72102866-910b-0410-8b05-ffd578937521
1995-04-13 15:03:10 +00:00
mccallum
66b85d1af8 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@335 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:20:37 +00:00