Commit graph

309 commits

Author SHA1 Message Date
mccallum
b574c2546e ([NSObject -autorelease], [NSObject -release]):
Add double_release checking.
([NSObject +enableDoubleReleaseCheck:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@529 72102866-910b-0410-8b05-ffd578937521
1995-08-04 20:52:07 +00:00
mccallum
3c5d666112 ([NSAutoreleasePool -addObject:]):
Remove double_release checking. Increment released_count after
setting released array.
([NSAutoreleasePool -dealloc]): Catch release errors.
([NSAutoreleasePool -enableDoubleReleaseCheck:]): Removed method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@528 72102866-910b-0410-8b05-ffd578937521
1995-08-04 20:51:19 +00:00
mccallum
323d743201 (debug_memory_stream): Turn debugging off by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@526 72102866-910b-0410-8b05-ffd578937521
1995-08-04 19:31:05 +00:00
mccallum
223a9eabce (install): Remove README links before relinking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@525 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:16:04 +00:00
mccallum
528f283d37 (make_method_call) [__mips__]: Add 4 to offset for float retframe.
Yipes, this may be needed for other architectures too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@524 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:09:01 +00:00
mccallum
08353d9172 (GNUSTEP_HEADERS): Removed Foundation/NSUser.h.
(GNUSTEP_CFILES): Removed NSUser.c.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@523 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:08:02 +00:00
mccallum
526007dfaa (make_method_call): Added comment about looking into a problem with
returning floats.  I need to get back to this later.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@522 72102866-910b-0410-8b05-ffd578937521
1995-08-03 19:48:16 +00:00
mccallum
8616b88990 * src/NSBundle.m (bundle_object_name, bundle_resource_path,
[NSBundle +mainBundle], [NSBundle +setSystemLanguages:]): Remove
dependency on NSString for calculating paths.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@520 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:58:51 +00:00
mccallum
2a3bcfa4b4 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@516 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:37:09 +00:00
mccallum
73f6339876 (GNUSTEP_MFILES): Remove NSUser.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@514 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:45:01 +00:00
mccallum
a226d09f75 NSUser.c.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@513 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:44:04 +00:00
mccallum
d7f1158630 ([NSGMutableData -setLength:]): Reset eofPosition
to size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@512 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:55 +00:00
mccallum
82e186ca12 ([NSAutoreleasePool +autoreleaseCountForObject:]): Initialize count to 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@511 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:33 +00:00
mccallum
871ef71882 Include NSData header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@510 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:18 +00:00
mccallum
aebe024d8e ([MallocAddress -dealloc]): Check for object in dictionary before
removing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@509 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:39:31 +00:00
mccallum
826de26482 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@508 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:37:10 +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
adbd615d4f ([NSDate -isEqual:]): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@506 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:21:54 +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
8f0564c1b8 NSGData.m (_initWithBytesNoCopy:length:): Make designated
initializer. (initWithBytesNoCopy:length:) Call designated initializer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@502 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:51:53 +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
9af42750f9 (GNUSTEP_HEADERS): Added Foundation/NSUser.h.
(GNUSTEP_MFILES): Added NSUser.c.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@500 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:35:29 +00:00
mccallum
8523703daf ([NSGArray -initWithObjects:count:]): Set _capacity to minimum of 1.
([NSGMutableArray -initWithCapacity:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@498 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:58:16 +00:00
mccallum
591d66eaff ([NSCString -cString]): Malloc extra byte for '\0' terminator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@497 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:57:02 +00:00
mccallum
28dce7024b ([MemoryStream -writeBytes:length:]): Realloc buffer to at least
minimum required length.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@496 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:56:12 +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
0f728306e9 ([NSMethodSignature -dealloc]): Free returnTypes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@492 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:31:03 +00:00
mccallum
addc49727f Allow easy user-modification of concrete class.
([NSUnarchiver +_setConcreteClass:]): New method.
([NSUnarchiver +_concreteClass]): New method.
([NSUnarchiver +initialize]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@491 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:22:37 +00:00
mccallum
c82709e1d8 Allow easy user-modification of concrete class. Removed references to
NSGData.
([NSArchiver +_setConcreteClass:]): New method.
([NSArchiver +_concreteClass]): New method.
([NSArchiver +initialize]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@490 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:20:40 +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
14d7b1e14c Capitalize Foundation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@488 72102866-910b-0410-8b05-ffd578937521
1995-07-01 19:10:22 +00:00
mccallum
1479421e5e Update copyright.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@487 72102866-910b-0410-8b05-ffd578937521
1995-07-01 19:01:11 +00:00
mccallum
cc3ec28e75 (GNUSTEP_MFILES): Remove NSArrayEnumerator.m.
(GNUSTEP_HEADERS): Remove Foundation/NSArrayEnumerator.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@486 72102866-910b-0410-8b05-ffd578937521
1995-07-01 18:39:22 +00:00
mccallum
783733a346 Moved NSArrayEnumerator interface and implementation from separate
files to here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@485 72102866-910b-0410-8b05-ffd578937521
1995-07-01 18:38:03 +00:00
mccallum
ba5f7f4415 ([NSDictionary +_setConcreteClass:]): New method.
([NSDictionary +_setMutableConcreteClass:]): New method.
([NSDictionary +_concreteClass]): New method.
([NSDictionary +_mutableConcreteClass]): New method.
([NSDictionary +initialize]): New method.
(NSDictionary_concrete_class, NSMutableDictionary_concrete_class): New
static variables.
([NSDictionary -copyWithZone:]): Make a deep copy to conform to spec;
it was a shallow copy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@475 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:21:45 +00:00
mccallum
7a1f748dd8 ([NSArray +arrayWithObjects:]): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@474 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:19:53 +00:00
mccallum
b34a29a236 ([NSArray +_setMutableConcreteClass:]): New method.
([NSArray +_mutableConcreteClass]): New method.
([NSArray -copyWithZone:]): Make is a deep copy to conform to spec; it
was a shallow copy.
([NSMutableArray _setConcreteClass], [NSMutableArray_concreteClass]):
Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@473 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:07:44 +00:00
mccallum
5344b93b3f Allow easy user-modification of concrete class.
([NSArray +_setConcreteClass:]): New method.
([NSArray +_concreteClass]): New method.
([NSArray +initialize]): New method.
(NSArray_concrete_class): New static variable.
([NSArray +arrayWithObject:]): Don't use addObject:.
([NSMutableArray +_setConcreteClass:]): New method.
([NSMutableArray +_concreteClass]): New method.
([NSMutableArray +initialize]): New method.
(NSMutableArray_concrete_class): New static variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@472 72102866-910b-0410-8b05-ffd578937521
1995-06-30 13:45:13 +00:00
mccallum
bc09435c49 ([Dictionary initWithType:keyType:capacity]): Declare it.
([Dictionary initWithType:capacity]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@468 72102866-910b-0410-8b05-ffd578937521
1995-06-29 02:06:19 +00:00
mccallum
d61783e463 Include Sequent support. (Thanks to Matt Nelson <nelsonm@ctron.com>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@464 72102866-910b-0410-8b05-ffd578937521
1995-06-29 01:05:29 +00:00
mccallum
259bf6d783 Include Sequent support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@463 72102866-910b-0410-8b05-ffd578937521
1995-06-29 01:04:33 +00:00
mccallum
8ba60dd26e ([Connection +newForInPort:outPort:ancestorConnection:]): Add comment.
I need to fix retain/release for Connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@462 72102866-910b-0410-8b05-ffd578937521
1995-06-29 00:53:34 +00:00
mccallum
6f04986bd7 ([BinaryTree -_initCollectionWithCoder:]): Disabled with
-notImplemented.  I need to fix decoding of this class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@457 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:50:13 +00:00
mccallum
0a3f6f66c9 Added comment. I need to fix decoding of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@456 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:49:52 +00:00
mccallum
5ee18261b4 ([Collection -_safeWithElementsCallNoRetain:]): Use malloc not alloca.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@455 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:21:00 +00:00
mccallum
a578d2b436 ([NSGArchiver -initForWritingWithMutableData:]): Comment out for now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@454 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:01:00 +00:00
mccallum
3f48565bcd ([Dictionary -putElement:atKey:]): Release previous element.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@453 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:57:21 +00:00
mccallum
89c02c3a8b (NSDecrementExtraRefCountWasZero): Return correct value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@452 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:56:42 +00:00
mccallum
379998f2bb (CFLAGS): Remove -Wall.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@451 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:52:17 +00:00
mccallum
77e0bd0b3d (objects/stdobjects.h): Depend on ../Version, not Makefile.in.
(AUTHORS): Fix echo'ing of newlines.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@448 72102866-910b-0410-8b05-ffd578937521
1995-06-25 22:10:52 +00:00