Commit graph

192 commits

Author SHA1 Message Date
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
mccallum
d4146fe499 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@251 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:49:14 +00:00
mccallum
aea49bd3e2 Apr 3 patch from Adam Fedor. See ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@249 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:07:18 +00:00
mccallum
f81aa9757d (initWithType:): Fix previous attempt at avoiding infinite loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@248 72102866-910b-0410-8b05-ffd578937521
1995-04-03 14:43:06 +00:00
mccallum
d8483a782f Use (id <String>) instead of (String*).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@242 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:24:45 +00:00
mccallum
95bc03e7f4 Use (id <String>) instead of (String*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@241 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:23:45 +00:00
mccallum
fbf9b77c20 Use (id <String>) instead of (String*)
Have String protocol include NSString protcol.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@240 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:22:10 +00:00
mccallum
1cc97bb19f The beginnings for IndexedCollection coexistance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@238 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:18:43 +00:00
mccallum
2951bd442b Have increment and decrement functions take int arguments unstead of
unsigned because I was getting (0 >= -234) -> 1.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@235 72102866-910b-0410-8b05-ffd578937521
1995-04-03 02:04:48 +00:00
mccallum
bd1dde5e13 Added comment about conflict with OpenStep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@234 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:43:12 +00:00
mccallum
e62b6ae45c Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@232 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:38:23 +00:00
mccallum
9ac1790a9f Added implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@231 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:35:42 +00:00
mccallum
c592ac5d26 Fri Mar 31 09:10:50 1995 Adam Fedor <fedor@boulder.colorado.edu>
* NXStringTable_scan.l (main): Restart the parser for each new
        file. This fix works correctly with flex, but is a bad hack and
        still doesn't work right with lex.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@230 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:34:31 +00:00
mccallum
01b796d448 Fri Mar 31 09:10:50 1995 Adam Fedor <fedor@boulder.colorado.edu>
* NXStringTable.m (readFromFile:): Return the return value from
        readFromSteam so that errors get passed along.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@229 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:33:51 +00:00
mccallum
578d372510 (perform:with:with:): New method added to (NEXTSTEP) category.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@228 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:32:58 +00:00
mccallum
0317b61795 Fix #include's.
Fix @"" strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@227 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:32:11 +00:00
mccallum
cec7d255ae #if'ed out NXConstantString implementation. Moved to NSString.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@225 72102866-910b-0410-8b05-ffd578937521
1995-04-03 00:57:41 +00:00
mccallum
ae7f855eb7 (NXConstantString): Declaration #if'ed out. Moved to
foundation/NSString.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@224 72102866-910b-0410-8b05-ffd578937521
1995-04-03 00:05:02 +00:00
mccallum
a728754bf8 (initWithType:): Avoid infinite loop by calling designated initializer
instead of init.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@223 72102866-910b-0410-8b05-ffd578937521
1995-04-01 21:09:00 +00:00