Commit graph

55 commits

Author SHA1 Message Date
fedor
fca11c379c Make NSObject conform to specs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2987 72102866-910b-0410-8b05-ffd578937521
1998-09-28 20:38:02 +00:00
richard
d8f84859f0 Rewrite of invocation code with new mframe code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2930 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:45:32 +00:00
richard
7fad1ff16e Performance improvements - 10% or thereabouts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2898 72102866-910b-0410-8b05-ffd578937521
1998-08-04 09:22:51 +00:00
richard
0f015c2722 Added [+instanceMethodSignatureForSelector:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2874 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:36:16 +00:00
richard
fa0f1a19ca Housekeeping - typecasts to avoid warnings and removal of redundant methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2870 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:22:18 +00:00
richard
d7e57c3a47 Removed ([-copyWithZone:]) and ([-mutableCopyWithZone:])
(which shiould not exist in NSObject).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2847 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:48:14 +00:00
fedor
7b47d05fe7 New class methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2814 72102866-910b-0410-8b05-ffd578937521
1998-06-24 17:22:34 +00:00
fedor
bc4aeb0fcc Frith-MacDonald and other patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2801 72102866-910b-0410-8b05-ffd578937521
1998-05-21 13:41:55 +00:00
netc
5c9a97f30d Add global Foundation header file.
Fix some missed memory allocation function usage.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2682 72102866-910b-0410-8b05-ffd578937521
1998-01-03 21:27:44 +00:00
netc
5f7871270a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
fedor
d88b91f6bb Retain/Release and DO patches from Richard Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2571 72102866-910b-0410-8b05-ffd578937521
1997-10-28 14:34:49 +00:00
netc
2b06ef4c58 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
fedor
a57d791f91 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
mccallum
5a579198a6 Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2202 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:46:52 +00:00
mccallum
56c962b4a3 Use NSDefaultMallocZone() instead of NS_NOZONE.
Use NSZoneFromPointer() instead of NSZoneFromPtr().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2002 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:34:06 +00:00
mccallum
c1fb4e8088 ([NSObject -doesNotRecognizeSelector:]): Raise
NSInvalidArgumentException, not NSGenericException.  (Reported by
Jeremy Bettis <jeremy@tddi.inetnebr.com>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1776 72102866-910b-0410-8b05-ffd578937521
1996-09-17 14:33:30 +00:00
mccallum
42d2388f96 Remove underscores from front of objc_mutex types.
([NSObject -error:]): Use objc_verror(), not _objc_error.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1736 72102866-910b-0410-8b05-ffd578937521
1996-09-07 21:07:27 +00:00
mccallum
c7d6e52d9f ([NSObject -isKindOfClass:]): Fix formatting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1658 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:11:32 +00:00
mccallum
fe624212e5 Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
mccallum
f4c61f0dc8 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1613 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:12:24 +00:00
mccallum
c84730c3f6 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1608 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:13:58 +00:00
mccallum
9b02acd141 Don't declare ERRNO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1597 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:23:23 +00:00
mccallum
49d43a44aa Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
mccallum
3228ed0477 Change R. Andrew McCallum to post-marriage name: Andrew Kachites McCallum
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1456 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:17:45 +00:00
mccallum
dbe4613ced Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
mccallum
89d67bb808 Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
mccallum
d4b12b4053 Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
mccallum
f491e64f1b Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1276 72102866-910b-0410-8b05-ffd578937521
1996-03-26 20:59:42 +00:00
mccallum
6c5e0d54bb Use NSException instead of sending -error: in all methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1273 72102866-910b-0410-8b05-ffd578937521
1996-03-26 19:35:47 +00:00
mccallum
c66c2eb116 ([NSObject +initialize]): Use NSNonOwnedPointerOrNullMapKeyCallBacks,
not NSNonRetainedObjectsMapKeyCallBacks; keying on addresses, and
avoiding a call to -isEqual is better.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1258 72102866-910b-0410-8b05-ffd578937521
1996-03-22 13:39:01 +00:00
mccallum
1cdfdad717 ([NSObject -autorelease]): Print retain and release counts in more
helpful error message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1199 72102866-910b-0410-8b05-ffd578937521
1996-03-18 21:48:15 +00:00
mccallum
90a367533e Formatting change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@994 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:38:43 +00:00
mccallum
4200045b9f (retain_counts): Make it a NSMapTable instead of a coll_hash.
(NSIncrementExtraRefCount): Update for new retain_counts type.
(NSDecrementExtraRefCountWasZero): Likewise.
([NSObject +initialize]): Likewise.
([NSObject -retainCount]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@989 72102866-910b-0410-8b05-ffd578937521
1996-02-22 23:12:19 +00:00
mccallum
3cdb041057 Some minor formatting changes.
([NSObject -classForArchiver]): Method removed; it's in NSArchiver.m.
([NSObject -replacementObjectForArchiver:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@844 72102866-910b-0410-8b05-ffd578937521
1996-01-26 19:18:08 +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
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
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
89c02c3a8b (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
mccallum
883fa9fab5 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +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
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
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
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
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
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
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
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
53c421b413 (class): Fix return value.
(encodeWithCoder:) #ifdef out for now, until we fix compatibility with
GNU Coder.
(perform:with:): New method in NEXTSTEP category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@169 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:31:30 +00:00
mccallum
db78e68bd8 (zone): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@160 72102866-910b-0410-8b05-ffd578937521
1995-03-18 16:58:29 +00:00
mccallum
6f6a4c1fcf (NSAllocateObject, NSDeallocateObject, NSCopyObject): These functions
moved to separate files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@154 72102866-910b-0410-8b05-ffd578937521
1995-03-18 16:41:27 +00:00