Commit graph

281 commits

Author SHA1 Message Date
Andrew McCallum
adf8c49d78 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
Andrew McCallum
dae6bee1a3 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
Andrew McCallum
6ba8010e96 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
Andrew McCallum
d161a95cd8 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
Andrew McCallum
3646442782 (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
Andrew McCallum
2a7d95f055 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
Andrew McCallum
403165fd49 ([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
Andrew McCallum
7c31f75f2e ([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
Andrew McCallum
bba9ead38e ([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
Andrew McCallum
8cf15bab85 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
Andrew McCallum
830129d4bf ([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
Andrew McCallum
84b6310d6b 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
Andrew McCallum
8ed02092f1 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
Andrew McCallum
543b27def0 ([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
Andrew McCallum
dc1ac779d1 ([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
Andrew McCallum
1eee143286 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
Andrew McCallum
41de093a32 ([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
Andrew McCallum
0e3410748b ([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
Andrew McCallum
a2bacc12f6 ([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
Andrew McCallum
2e20b94ea0 (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
Andrew McCallum
6d694e5630 (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
Andrew McCallum
a6512526f4 (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
Andrew McCallum
752a27ebd4 ([NSGArchiver -initForWritingWithMutableData:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@439 72102866-910b-0410-8b05-ffd578937521
1995-06-20 16:14:50 +00:00
Andrew McCallum
81c55dff14 (prefix, exec_prefix, libdir, includedir): New variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@438 72102866-910b-0410-8b05-ffd578937521
1995-06-20 16:14:09 +00:00
Andrew McCallum
281e66706f + Fri May 26 11:17:54 1995 Adam Fedor <fedor@mode.colorado.edu>
+
+ 	* src/objc-load.c (objc_load_module): Don't execute ctor_list on
+ 	__ELF__ systems.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@434 72102866-910b-0410-8b05-ffd578937521
1995-05-26 17:54:55 +00:00
Andrew McCallum
92e53533d8 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@433 72102866-910b-0410-8b05-ffd578937521
1995-05-19 20:35:41 +00:00
Andrew McCallum
d8dcc3b026 (encodeWithCoder:, initWithCoder:): Remove class names from arg type
to avoid bogus warnings about protocol conformance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@423 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:32:14 +00:00
Andrew McCallum
2402c8664d Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@420 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:16:49 +00:00
Andrew McCallum
bfc8c30324 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@419 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:03:04 +00:00
Andrew McCallum
9479ecffe3 Filled out skeleton. Most methods now implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@413 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:31:51 +00:00
Andrew McCallum
dfe717a916 Fix #ifndef macro name; NSArray, not NSString!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@412 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:30:25 +00:00
Andrew McCallum
a11e8a9043 (-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
Andrew McCallum
d16aad8131 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@410 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:27:56 +00:00
Andrew McCallum
9dfa0537ac (NSArray +allocWithZone:): Fixed to use NSAllocateObject.
(NSMutableArray +allocWithZone:): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@409 72102866-910b-0410-8b05-ffd578937521
1995-05-05 17:58:46 +00:00
Andrew McCallum
3131b8564b (NSArray +allocWithZone:): Implemented.
(NSMutableArray +allocWithZone:): Implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@408 72102866-910b-0410-8b05-ffd578937521
1995-05-05 15:50:26 +00:00
Andrew McCallum
109f709dce (-initWithObjects:count:): Retain objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@406 72102866-910b-0410-8b05-ffd578937521
1995-05-05 14:46:35 +00:00
Andrew McCallum
6b826ce4ff 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
Andrew McCallum
a427755065 (encodeWithCoder:, initWithCoder:): Include call to super since
NSObject now implements these methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@402 72102866-910b-0410-8b05-ffd578937521
1995-04-20 21:50:04 +00:00
Andrew McCallum
8e808d3bcc (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
Andrew McCallum
c7c08a83b8 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
Andrew McCallum
24eeb2c332 (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
Andrew McCallum
7699a66d17 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
Andrew McCallum
1ac1dd5308 (isAtEof): Renamed from streamEof.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@390 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:43:29 +00:00
Andrew McCallum
8d5e04bc53 Fix typo: We're declaring methods of NSCoder, not NSConcreteCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@389 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:42:50 +00:00
Andrew McCallum
afc934c0ef 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
Andrew McCallum
7ca6167aef Include <foundation/NSData.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@386 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:39:14 +00:00
Andrew McCallum
07904067a4 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
Andrew McCallum
b2b3636970 Compare against [NSDate class], not NSDate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@375 72102866-910b-0410-8b05-ffd578937521
1995-04-15 20:02:56 +00:00
Andrew McCallum
7d4e788857 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@374 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:57:39 +00:00
Andrew McCallum
9ede0d2271 (-initWithMode:, -streamMode): Methods removed.
(-isWritable): New method.
(-initWithCoder): Renamed from +newWithCoder.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@373 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:57:25 +00:00