Commit graph

177 commits

Author SHA1 Message Date
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
mccallum
242edbcbe4 (+superclass): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@222 72102866-910b-0410-8b05-ffd578937521
1995-04-01 20:21:53 +00:00
mccallum
aaf5d23cf9 (behavior_debug): Fix typo in variable name use.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@221 72102866-910b-0410-8b05-ffd578937521
1995-04-01 18:01:15 +00:00
mccallum
03d3636ad1 (+conformsToProtocol:): For now, send conformsTo: to Protocol object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@220 72102866-910b-0410-8b05-ffd578937521
1995-04-01 17:48:49 +00:00
mccallum
766676df7b (OBJECTS_MAJOR_VERSION, OBJECTS_MINOR_VERSION,
OBJECTS_SUBMINOR_VERSION): New #define's.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@217 72102866-910b-0410-8b05-ffd578937521
1995-04-01 17:19:11 +00:00
mccallum
edda4e6542 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@216 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:39:12 +00:00
mccallum
f80a7defe0 (HAVE_TIMES): Use this instead of test for solaris and hpux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@214 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:33:42 +00:00
mccallum
f8bf74826e (HAVE_VALLOC): if not defined, #define valloc malloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@212 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:28:44 +00:00
mccallum
c4528c0434 (+conformsToProtocol:): Renamed from -conformsToProtocol.
(-conformsToProtocol:): New method.
(-conformsTo:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@211 72102866-910b-0410-8b05-ffd578937521
1995-03-27 17:25:42 +00:00
mccallum
f4a1f8920a (__hpux): Add this to #if for using times().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@210 72102866-910b-0410-8b05-ffd578937521
1995-03-27 14:35:27 +00:00
mccallum
4702949284 |Fri Mar 24 12:33:27 1995 Mark Lakata (lakata@nsdssp.lbl.gov)
|
|       * NSZone.c : added #define WORDSIZE sizeof(double)
|       (NSZoneMalloc): returns machine word aligned pointers.  Actually,
|       the word size is assumed to be equal to or smaller than
|       sizeof(double).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@207 72102866-910b-0410-8b05-ffd578937521
1995-03-24 22:00:25 +00:00
mccallum
526ca6e886 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@206 72102866-910b-0410-8b05-ffd578937521
1995-03-24 21:50:00 +00:00
mccallum
06c326f3b5 (retain): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@205 72102866-910b-0410-8b05-ffd578937521
1995-03-24 20:09:36 +00:00
mccallum
f3efcb0e3d Added Lakata's email address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@203 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:13:55 +00:00
mccallum
0c1ae833da (retain): Call NSIncrementExtraRefCount(), not
NSShouldRetainWithZone(), of course!  (Reported by Adam Fedor
<fedor@mode.Colorado.EDU>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@202 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:09:10 +00:00
mccallum
0ba9435c6d (invoke): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@201 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:04:50 +00:00