mccallum
4530efc273
Minor fixes for second-time compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@664 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:38:33 +00:00
mccallum
4d0c8747bc
Minor fixes for first-time compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@663 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:36:48 +00:00
mccallum
d1f2ab12df
(GNUSTEP_MFILES): Added NSMethodSignature.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@661 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:24:15 +00:00
mccallum
1a66a3676d
([NSSet +set]): Use +alloc, not _concreteClass. This
...
makes [NSMutableSet +set] and friends do the right thing.
([NSSet +setWithObjects:count:]): Likewise.
([NSSet +setWithArray:]): Likewise.
([NSSet +setWithObject:]): Likewise.
([NSSet +setWithObjects:]): Likewise.
([NSMutableSet +setWithCapacity:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@660 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:24:14 +00:00
mccallum
e2953be450
([NSArray +array]): Use +alloc, not _concreteClass. This
...
makes [NSMutableArray +array] and friends do the right thing.
([NSArray +arrayWithObjects:]): Likewise.
([NSMutableArray +arrayWithCapacity:]): Likewise.
([NSArray +arrayWithObject:]): Likewise; and fix condition on exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@659 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:22:02 +00:00
mccallum
0a2df82052
([NSDictionary +dictionary]): Use +alloc, not _concreteClass. This
...
makes [NSMutableDictionary +dictionary] and friends do the right thing.
([NSDictionary +dictionaryWithObjects:forKeys:count:]): Likewise.
([NSMutableDictionary +dictionaryWithCapacity:]): Likewise.
(Problem reported by Kim Shrier <kim@media.com>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@658 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:18:47 +00:00
mccallum
05edb566c9
([NSProcessInfo -hostName]): Remove unnecessary inefficiency: use
...
stack to hold temporary string, not malloc/free; just return the
string, not a copy. Conform to GNU coding standards in use of braces.
([NSProcessInfo -processName]): Likewise. Just return the string, not
a copy.
([NSProcessInfo -environment]): Likewise.
([NSProcessInfo -arguments]): Likewise.
(_gnu_arguments, _gnu_environment): Make them constant classes, not
mutable.
(_gnu_process_args): Alloc _gnu_processName NSString, don't get an
autoreleased string and then retain it. Initialize _gnu_arguments as
a constant NSArray, not NSMutableArray. Initialize _gnu_environment
as a constant NSDictionary, not NSMutableDictionary. Conform to the
GNU coding standards in use of braces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@656 72102866-910b-0410-8b05-ffd578937521
1995-11-03 16:12:07 +00:00
mccallum
86a9c79d9e
Moved method declarations from NSMutableSet to NSSet.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@655 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:52:20 +00:00
mccallum
4bc79b5212
([NSGSet -isEqual:]): Added method.
...
([NSGMutableSet -isEqual:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@654 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:51:46 +00:00
mccallum
d2fdc59b4b
([NSGCountedSet -isEqual:]): Added method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@653 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:51:17 +00:00
mccallum
3a8e9f32cb
([NSGArray -objectAtIndex:]): Fix condition on exception.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@650 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:29:52 +00:00
mccallum
939207ed93
([NSArray -objectEnumerator]): Autorelease it.
...
([NSArray -reverseObjectEnumerator]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@648 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:05:15 +00:00
mccallum
21ba41b815
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@647 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:00:39 +00:00
mccallum
ef8eaa1d08
Implemented many methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@646 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:00:20 +00:00
mccallum
e861bc9445
Added NSCountedSet interface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@644 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:59:20 +00:00
mccallum
f09bd1f0ba
Changed some notImplemented to subclassResponsiblity.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@643 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:58:18 +00:00
mccallum
198e30beb0
(GNUSTEP_MFILES): Added NSCountedSet.m and NSGCountedSet.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@642 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:48:17 +00:00
mccallum
a15aad885c
([NSGDictionary -keyEnumerator]): Autorelease it.
...
([NSGDictionary -objectEnumerator]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@641 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:41:15 +00:00
mccallum
9db633f401
Doc fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@640 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:34:00 +00:00
mccallum
34ce0a3d35
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@639 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:33:22 +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
c20c33ea5f
(GNU_HEADERS): Added objects/NSSet.h.
...
(GNUSTEP_MFILES): Added NSGSet.m and NSSet.m.
(GNUSTEP_HEADERS): Added Foundation/NSGSet.h and Foundation/NSSet.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@637 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:17:43 +00:00
mccallum
30bda594e1
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@636 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:16:38 +00:00
mccallum
8731cb435d
(coll_hash_next): Set STATE to 0 before returning when the list is
...
exhausted. This interacts with [Dictionary -freeEnumState:] and [Set
-freeEnumState]. This will all be cleaned up when we start using
Albin Jones' tables. (This bug found by Allan Clearwaters.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@634 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:48:55 +00:00
mccallum
821d4b6b5e
([Set -freeEnumState:]): Added comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@633 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:41:03 +00:00
mccallum
e2156fc92b
([NSGDictionaryKeyEnumerator -initWithDictionary:]): Retain dictionary
...
after it is initialized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@632 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:37:14 +00:00
mccallum
d15b491be6
Fix typo: include Foundation/NSException.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@631 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:59:25 +00:00
mccallum
8a3909a021
([NSGArray -initWithObjects:count:]): Raise exception for nil objects.
...
([NSGArray -objectAtIndex:]): Raise exception when index too high.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@630 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:58:57 +00:00
mccallum
c451add3c4
([NSArray +arrayWithObject:]): Correctly raise exception on nil argument.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@629 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:53:38 +00:00
mccallum
c9fc2fb84b
Added some comments about future enhancements I want to make.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@628 72102866-910b-0410-8b05-ffd578937521
1995-10-18 16:51:58 +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
d82d74df60
([Coder -doInitOnStream:isDecoding:]): Use new ivar names.
...
([Coder -_coderPushRootObjectTable]): Use new ivar names and don't use
Stack.
([Coder -_coderPopRootObjectTable]): Likewise.
([Coder -_coderTopRootObjectTable]): Likewise.
([Coder -_coderPushForwardObjectTable]): Likewise.
([Coder -_coderPopForwardObjectTable]): Likewise.
([Coder -_coderTopForwardObjectTable]): Likewise.
([Coder -_coderForwardObjectsAtReference:]): Don't access ivar directly.
([Coder -_coderPutForwardObjects:atReference:]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Use new ivar name.
([Coder -dealloc]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@626 72102866-910b-0410-8b05-ffd578937521
1995-10-14 18:19:32 +00:00
mccallum
fbb93ba95b
(Coder): Renamed ivars from root_object_tables to root_object_table,
...
from forward_object_tables to forward_object_table; changed classes
from Stack (of Dictionary's) to Dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@625 72102866-910b-0410-8b05-ffd578937521
1995-10-14 18:16:03 +00:00
mccallum
e306423619
(CurriedInvocation): Comment out empty implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@624 72102866-910b-0410-8b05-ffd578937521
1995-10-13 20:51:24 +00:00
mccallum
d138f7cd3e
([IndexedCollection -shallowCopyInReverseAs:]): Return newColl, not
...
self.
([IndexedCollection -withElementsInReverseCall:]): Set flag to YES.
([IndexedCollection -safeWithElementsInReverseCall:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@623 72102866-910b-0410-8b05-ffd578937521
1995-10-09 18:59:26 +00:00
mccallum
2c36b7bf5f
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@621 72102866-910b-0410-8b05-ffd578937521
1995-10-05 22:22:28 +00:00
mccallum
127930bbff
(CurriedInvocation): New class, unimplemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@619 72102866-910b-0410-8b05-ffd578937521
1995-09-30 22:11:14 +00:00
mccallum
22e8ecf14c
(CHECK_ZERO_SIZE): New macro; for making sure we don't pass 0 to
...
malloc and its friends.
(__objc_malloc): Use it.
(__objc_valloc): Likewise.
(__objc_realloc): Likewise.
(__objc_calloc): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@618 72102866-910b-0410-8b05-ffd578937521
1995-09-30 22:00:21 +00:00
mccallum
de3c2bc179
([IndexedCollection -getNextElement:withEnumState:]): if isEmpty,
...
return NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@616 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:25:55 +00:00
mccallum
1be647d515
([NSObject +initialize]): Set default autorelease_class to
...
NSAutoreleasePool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@615 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:15:24 +00:00
mccallum
3ed5349dc8
Don't try to use __attribute__ ((section ..)) #if (sgi). It doesn't
...
seem to be supported. This probably means that aclocal.m4 needs to be
fixed so that it doesn't define SYS_AUTOLOAD in this case. No time
now. Adam?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@614 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:00:12 +00:00
mccallum
3dbee6766f
Avoid cache_flush when releasing contents.
...
(send_release): Remove function.
([Collection -_releaseContents]): New method.
([Collection -dealloc]): Use it.
([Collection -empty]): Likewise.
([Collection -_safeWithElementsCallNoRetain:]): Use
-getNextElement:withEnumState instead of -withElementsCall: to avoid
cache_flush.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@613 72102866-910b-0410-8b05-ffd578937521
1995-09-27 22:45:44 +00:00
mccallum
43da69d1ae
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
1995-09-21 17:42:46 +00:00
mccallum
ecfdf5feb3
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@608 72102866-910b-0410-8b05-ffd578937521
1995-09-12 22:30:13 +00:00
mccallum
41ddf10f66
([TextCoder -decodeValueOfSimpleType:at:withName:]): Assert the data pointer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@607 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:38:27 +00:00
mccallum
70909b23de
Comment changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@606 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:37:22 +00:00
mccallum
238a2f3b5e
([Coder -doInitOnStream:isDecoding:]): Temporarily change
...
in_progress_table from a Set to an Array. I need to fix some problems
with Set.
([Coder -startEncodingInterconnectedObjects]): Deal with
interconnected_stack_height.
([Coder -finishEncodingInterconnectedObjects]): Likewise.
([Coder -startDecodingInterconnectedObjects]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Likewise.
([Coder -encodeRootObject:withName:]): Fix bug, whereby we weren't
giving what decodeObjectAt:withName: expected.
([Coder -encodeArrayOfType:at:count:withName:]): Don't encode the
array count.
([Coder -decodeArrayOfType:at:count:withName:]): Don't expect the
array count. Change type on 3rd argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@605 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:36:35 +00:00
mccallum
bb38dcff5e
(interconnected_stack_height): New ivar for Coder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@604 72102866-910b-0410-8b05-ffd578937521
1995-09-10 22:51:20 +00:00
mccallum
c39c086ada
([Coding -decodeArrayOfType:at:count:withName:]): Change the 3rd
...
argument type; pass the count directly, not as a pointer. The
encoding and decoding of array's no longer records the array count;
if necessary, you must do that yourself ahead of time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@603 72102866-910b-0410-8b05-ffd578937521
1995-09-10 22:17:55 +00:00
mccallum
0ca3ec5566
Fix typos.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@602 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:49:50 +00:00
mccallum
ef2db2a7cf
Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@601 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:49:36 +00:00
mccallum
2c8b6a7b05
([Coder -doInitOnStream:isDecoding:]): Init in_progress_table.
...
([Coder -dealloc]): Release in_progress_table.
([Coder -_encodeObject:withName:isBycopy:isForwardReference:]):
If the object is in progress, treat it like a forward reference. Add
the object to the in_progess_table before really encoding the object;
remove it when done. (NOTE, this isn't an excuse not to set up
"encoding interconnected objects" mode.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@600 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:44:23 +00:00
mccallum
bc323d7a06
(in_progress_table): New ivar in Coder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@599 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:30:52 +00:00
mccallum
cddc14d2b4
Patched from mail.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@597 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:49:35 +00:00
mccallum
febfce5a16
Added break's to avoid
...
falling through case statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@596 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:33:39 +00:00
mccallum
5755c8c223
Comment change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@595 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:32:48 +00:00
mccallum
bbf2b3a45a
Added #line macro so gdb
...
knows which file source came from
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@594 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:32:11 +00:00
mccallum
52d9a70db8
all methods): Implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@593 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:31:29 +00:00
mccallum
ee92d8fe84
Added #line macro so gdb
...
knows which file source came from.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@592 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:28:28 +00:00
mccallum
14b4933dbd
([Collection -empty]): Check if already empty. This avoids a previous
...
malloc(0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@591 72102866-910b-0410-8b05-ffd578937521
1995-08-28 20:27:01 +00:00
mccallum
394a4a3424
* src/NSProcessInfo.m: Added Linux/ELF support. Linux calls the
...
__libc_subinit functions before the global constructors, therefore
the subinit functions must be just vanilla C.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@590 72102866-910b-0410-8b05-ffd578937521
1995-08-28 13:36:24 +00:00
mccallum
42658c005e
(GNUSTEP_HEADERS): Remove NSTimeZone.h. It's declared in NSDate.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@588 72102866-910b-0410-8b05-ffd578937521
1995-08-24 23:40:26 +00:00
mccallum
71e1c9fb75
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@587 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:35:25 +00:00
mccallum
f830afae44
(GNUSTEP_MFILES): Added NSObjCRuntime.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@586 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:32:14 +00:00
mccallum
281a9647bf
Include <NSString.h>
...
([NSObject -description]): Implemented.
([NSObject +description]): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@585 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:24:17 +00:00
mccallum
0e5df69995
(FILE_AUTHORS): Added Peter Burka.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@584 72102866-910b-0410-8b05-ffd578937521
1995-08-24 16:36:17 +00:00
mccallum
3bb1c039cb
([NSTimeZone -encodeWithCoder:]): Avoid warning by removing type from
...
argument.
([NSTimeZone -initWithCoder:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@582 72102866-910b-0410-8b05-ffd578937521
1995-08-23 16:15:22 +00:00
mccallum
ce5cc7fd54
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@581 72102866-910b-0410-8b05-ffd578937521
1995-08-23 16:13:42 +00:00
mccallum
b731997313
(GNUSTEP_MFILES): Added NSTimeZone.m.
...
(GNUSTEP_HEADERS): Added Foundation/NSTimeZone.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@578 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:53:40 +00:00
mccallum
79e1b695e0
Fix bug by which [NSString mutableCopy] returned a String, not NSString.
...
([String -copyWithZone:]): Renamed from -copy.
([String -mutableCopyWithZone:]): Renamed from -mutableCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@577 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:51:05 +00:00
mccallum
044d1039b5
Added comment about superclass methods being overriden.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@576 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:44:15 +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
3a2fd5cfa1
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@573 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:18:14 +00:00
mccallum
8fa067f75b
([NSAutoreleasePool -dealloc]): Removed question comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@572 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:07:17 +00:00
mccallum
43858076dc
Comment out args to LibobjectsMain so we don't get errors from
...
people's "int main ()".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@570 72102866-910b-0410-8b05-ffd578937521
1995-08-16 19:37:15 +00:00
mccallum
ec888253de
(FILE_AUTHORS): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@566 72102866-910b-0410-8b05-ffd578937521
1995-08-16 18:12:53 +00:00
mccallum
70108bf44b
(_GNU_MISSING_MAIN_FUNCTION_CALL): Added Tuparev's email address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@563 72102866-910b-0410-8b05-ffd578937521
1995-08-16 18:01:44 +00:00
mccallum
dbdd62310e
(FILE_AUTHORS): Added "Georg Tuparev".
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@561 72102866-910b-0410-8b05-ffd578937521
1995-08-16 17:56:03 +00:00
mccallum
ad44388cb2
Fix indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@556 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:14:11 +00:00
mccallum
8e5f9b9294
Only redefine main if we don't have __ELF__.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@555 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:11:01 +00:00
mccallum
e767da911e
Include <objects/LibobjectsMain.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@554 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:07:12 +00:00
mccallum
e8fe9ce712
(GNU_HEADERS): Added LibobjectsMain.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@553 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:05:54 +00:00
mccallum
9899725761
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@552 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:04:22 +00:00
mccallum
8eae3abce0
(GNUSTEP_MFILES): Added NSProcessInfo.m.
...
(GNUSTEP_HEADERS): Added Foundation/NSProcessInfo.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@550 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:58:23 +00:00
mccallum
55a15805fc
Use ELF _libc_subinit for initialization instead of LibobjectsMain.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@549 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:56:33 +00:00
mccallum
b1bd1b7063
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@548 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:47:12 +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
1485396c08
Rename NSCString to NSGCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@541 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:01:15 +00:00
mccallum
5bc4a43421
Rename NSMutableCString to NSGMutableCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@540 72102866-910b-0410-8b05-ffd578937521
1995-08-09 15:46:35 +00:00
mccallum
72e1d6c760
Rename NSCString to NSGCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@539 72102866-910b-0410-8b05-ffd578937521
1995-08-09 15:45:46 +00:00
mccallum
5c37f79abe
([NSDate -copyWithZone:]): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@535 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:47:19 +00:00
mccallum
7cd03134f5
([NSDate -copyWithZone:]): New method.
...
([NSDate -descriptionWithCalendarFormat:timeZone:]): Uncommented.
([NSDate -dateWithCalendarFormat:timeZone:]): Uncommented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@534 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:46:04 +00:00
mccallum
e20a78619b
([NSAutoreleasePool -dealloc]): Use object_get_class() instead of
...
->isa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@533 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:38:02 +00:00
mccallum
037338d477
(GNUSTEP_HEADERS): Added Foundation/NSDate.h.
...
(GNUSTEP_MFILES): Added NSDate.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@532 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:32:11 +00:00
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