Commit graph

8699 commits

Author SHA1 Message Date
Andrew McCallum
e3f606aaaf 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
Andrew McCallum
4f3c94e46c ([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
Andrew McCallum
829722ea98 ([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
Andrew McCallum
bb42696426 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
Andrew McCallum
f35ed03a69 ([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
Andrew McCallum
734d741afe 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
Andrew McCallum
aa3a94fd74 ([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
Andrew McCallum
e485a33ee1 ([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
Andrew McCallum
14a86e3ba8 (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
Andrew McCallum
b97ca5210f 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
Andrew McCallum
43d0a03d5b ([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
Andrew McCallum
6a4ca307fc (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
Andrew McCallum
fad5ff56d3 ([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
Andrew McCallum
7b4db115ff ([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
Andrew McCallum
8d05c2ef5b ([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
Andrew McCallum
2c025af8cd ([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
Andrew McCallum
5c4c5b1247 ([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
Andrew McCallum
b514c52abf 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
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