mccallum
73559b8788
Convert to new Coder scheme. Use -initWithCoder instead
...
of +newWithCoder where appropriate. Remove arguments typed
(Coder*). Replace +_newCollectionWithCoder with
-_initCollectionWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@334 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:06:39 +00:00
mccallum
3b43be1a80
Convert to new Coder scheme. Use -initWithCoder instead
...
of +newWithCoder where appropriate. Remove arguments typed
(Coder*). Replace +_newCollectionWithCoder with
-_initCollectionWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@333 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:53:53 +00:00
mccallum
496bde0f95
(CommonCoding, Encoding, Decoding): New protocols.
...
(SelfCoding): New category of NSObject, interface only, no
implementation. This takes the place of the Coding Protocol.
(Coding): Protocol removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@332 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:52:11 +00:00
mccallum
a887d1c2e7
Use ConstantIndexedCollecting protocol where appropriate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@331 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:38:21 +00:00
mccallum
ef5d805762
Use ConstantCollecting protocol where appropriate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@330 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:37:46 +00:00
mccallum
739755b9b4
Move protocol conformance to category to avoid bogus gcc complaints.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@329 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:36:17 +00:00
mccallum
fc3a12b142
(-decodeObjectAt:withName:): Send newWithCoder: if the clsas
...
responds to it, otherwise send initWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@327 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:32:33 +00:00
mccallum
da85fc60b7
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@325 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:28:47 +00:00
mccallum
83e9bab0ae
(-decodeObjectAt:withName:): Create the instance and send
...
-initWithCoder if the object doesn't respond to +newWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@324 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:44:45 +00:00
mccallum
025a41bf53
(RemoteSelfCoding): Renamed category from RemoteCoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@323 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:28:31 +00:00
mccallum
7a80d561c9
Removed Coding protocol. It's already provided by NSObject.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@322 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:27:19 +00:00
mccallum
f9ebf536fb
(ConnectedSelfCoding): Renamed protocol from ConnectedCoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@321 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:26:30 +00:00
mccallum
67498ed7cc
(ConstantIndexedCollecting): New protocol extracted from
...
IndexedCollecting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@320 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:05:21 +00:00
mccallum
e890363959
(ConstantKeyedCollecting): New protocol extracted from KeyedCollecting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@319 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:43 +00:00
mccallum
81cb984b2f
(ConstantCollecting): New protocol.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@318 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:07 +00:00
mccallum
3557e6884b
(-objectEnumerator, reverseObjectEnumerator): Implemented methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@316 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:39:43 +00:00
mccallum
6caae079d1
(dealloc): Remove dealloc of remote_proxies contents.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@314 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:23:24 +00:00
mccallum
46cf45b928
(-componentsJoinedByString:): Implemented method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@313 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:01:59 +00:00
mccallum
3d1c766353
(initWithCapacity:): Make sure that capacity is greater than zero.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@312 72102866-910b-0410-8b05-ffd578937521
1995-04-07 20:56:20 +00:00
mccallum
1183ea0aaa
Copyright date fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@309 72102866-910b-0410-8b05-ffd578937521
1995-04-06 21:03:32 +00:00
mccallum
e26c983899
Added header comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@304 72102866-910b-0410-8b05-ffd578937521
1995-04-06 19:41:46 +00:00
mccallum
6eead746c2
(-_encodeCollectionWithCoder:): Fix typo. Fix super call.
...
(+_newCollectionWithCoder:): Fix super call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@302 72102866-910b-0410-8b05-ffd578937521
1995-04-06 18:47:08 +00:00
mccallum
285a172f98
First version of stdobjects.h.in. Previous versions were actually
...
stdobjects.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@295 72102866-910b-0410-8b05-ffd578937521
1995-04-06 00:55:48 +00:00
mccallum
7b110acea3
Added comment warning about delegatePoolLastMessageHadReceivers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@294 72102866-910b-0410-8b05-ffd578937521
1995-04-05 23:04:16 +00:00
mccallum
919cc219e1
(_last_message_had_receivers): New instance variable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@293 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:58:12 +00:00
mccallum
0e21c3698f
(-delegatePoolLastMessageHadReceivers): New method.
...
(-forward::, init): Set new ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@292 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:57:52 +00:00
mccallum
c2629d3f31
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@291 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:47:19 +00:00
mccallum
be56d6ad02
(CALL_METHOD_IN_CLASS): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@289 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:27:40 +00:00
mccallum
5f3aad08b8
(+initialize): Use static "done".
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@286 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:25:08 +00:00
mccallum
7ed457b966
(allocWithZone): Removed method.
...
(arrayWithObjects:, initWithObjects:, initWithArray:, count,
indexOfObjectIdenticalTo:, indexOfObject:, isEqualToArray:,
makeObjectsPerform:, makeObjectsPerform:withObject:, lastObject,
firstObjectCommonWithArray:, arrayWithCapacity:, addObject:,
replaceObjectAtIndex:, removeLastObject, insertObject:atIndex:,
removeObjectAtIndex:, removeObjectIdenticalTo:, removeObject:,
removeAllObjects, addObjectsFromArray:,
removeObjectsFromIndices:numIndices:, removeObjectsInArray:,
copyWithZone:, mutableCopyWithZone:): Newly implemented or majorly
overhauled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@285 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:23:03 +00:00
mccallum
45ed6fb8c2
(class_add_methods_if_not_there): Only put method implementation in
...
dtable if the dtable is already installed, otherwise, just add it to
the class's methods list and let
__objc_install_dispatch_table_for_class put it in. Also, change
arguments. All callers updated.
(check_class_methods): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@284 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:13:39 +00:00
mccallum
19653932cf
(NSDeallocateObject): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@282 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:09:45 +00:00
mccallum
df0f3a1d34
(NSDeallocateObject): Get [anObject zone] before setting 0xdeadface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@281 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:06:55 +00:00
mccallum
ec34e901cb
(NSDeallocateObject): Set anObject->class_pointer to 0xdeadface, to
...
help catch message-sends to deallocated objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@280 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:05:51 +00:00
mccallum
d03e3c0a1d
(_safeWithElementsCallNoRetain:): New method.
...
(dealloc, empty): Use it.
(send_release): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@279 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:02:08 +00:00
mccallum
515d48912a
(CLK_TCK): Use _CS_CLK_TCK instead of 3.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@278 72102866-910b-0410-8b05-ffd578937521
1995-04-05 15:22:29 +00:00
mccallum
10c6e27f30
(+retain, +retainCount, +release, +autorelease): New methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@277 72102866-910b-0410-8b05-ffd578937521
1995-04-05 01:54:16 +00:00
mccallum
04ab39aea8
Added warning in comments.
...
(CALL_METHOD_IN_CLASS): New macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@272 72102866-910b-0410-8b05-ffd578937521
1995-04-05 00:11:36 +00:00
mccallum
621d181566
Add <IndexedCollecting> Protocol to String Protocol.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@271 72102866-910b-0410-8b05-ffd578937521
1995-04-04 22:48:57 +00:00
mccallum
f184515445
Skeleton from Fedor. Fixed indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@270 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:21:18 +00:00
mccallum
636e30cd54
Fedor's skeleton. Fix indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@268 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:15:31 +00:00
mccallum
3cfffe79bd
Added comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@267 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:13:42 +00:00
mccallum
f647652870
Add comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@266 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:09:39 +00:00
mccallum
0c0d8fdd52
Fixed indentation.
...
(arrayWithObject, arrayWithObjects, initWithArray, initWithObjects,
initWithObjects:count:, indexOfObjectIdenticalTo:,
firstObjectCommonWithArray, isEqualToArray, sortedArrayUsingFunction,
sortedArrayUsingSelector): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@265 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:01:04 +00:00
mccallum
39cc6ba048
(#ifndef CLK_TCK): Define it using sysconf() if not already defined.
...
(CLK_TCK wasn't defined on Solbourne S4000 running OS/MP 4.1B.
Reported by Pekka Yrjola <py@fipnet.fi>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@262 72102866-910b-0410-8b05-ffd578937521
1995-04-04 14:53:40 +00:00
mccallum
6a5c3f47c1
(initialize): No need to add IndexedCollection behavior to NSString,
...
we already added String, and String inherits from IndexedCollection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@261 72102866-910b-0410-8b05-ffd578937521
1995-04-03 23:43:08 +00:00
mccallum
3e963463e1
Place holder non-implementations from Fedor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@258 72102866-910b-0410-8b05-ffd578937521
1995-04-03 22:59:20 +00:00
mccallum
9f8ee71129
#include limits.h
...
Use .id_u where needed.
Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@256 72102866-910b-0410-8b05-ffd578937521
1995-04-03 22:55:36 +00:00
mccallum
ae7c527c96
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@253 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:46 +00:00
mccallum
569fd55182
Second patch of Apr 3 from Adam Fedor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@252 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:29 +00:00