Commit graph

15 commits

Author SHA1 Message Date
mccallum
a7cfff726b ([Enumerator -nextObject]): Pass pointer to ENUM_STATE.
([Enumerator -dealloc]): Likewise.
([ConstantCollection -detectObjectByInvoking:]): Use -returnValueIsTrue.
([ConstantCollection -printForDebugger]): Use object_get_class_name
instead of -name because -name is now ambiguously typed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1032 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:33:24 +00:00
mccallum
9c3783b952 Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@940 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:11:43 +00:00
mccallum
ae17891717 ([Collection -withObjectsInvoke:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@900 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:55:34 +00:00
mccallum
07b43d0e5d Use string objects instead of C strings
for name arguments to encoding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@796 72102866-910b-0410-8b05-ffd578937521
1996-01-24 03:33:21 +00:00
mccallum
e8e57eaff3 Use new-style method name "..ValueOfObjCType"
and "..ValueOfCType", instead of "..ValueOfType" and
"..ValueOfSimpleType".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@781 72102866-910b-0410-8b05-ffd578937521
1996-01-23 23:57:17 +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
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
5ee18261b4 ([Collection -_safeWithElementsCallNoRetain:]): Use malloc not alloca.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@455 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:21:00 +00:00
mccallum
39fbf08e75 (write:, read:): Put back these old-style archiving methods.
(From Stephen Peters <SPETERS@us.oracle.com>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@346 72102866-910b-0410-8b05-ffd578937521
1995-04-12 15:15:53 +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
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
3bd97746b3 (shallowCopyAs:, emptyCopyAs:, copyAs:): Change arg type to (Class).
(dealloc, empty): Don't use safe version of makeObjectsPerform:.
(_empty, _collectionDealloc): Move to a category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@172 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:37:22 +00:00
mccallum
1ee91a705f Rename method "empty" to "_empty". Rename "releaseObjects" to "empty".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@137 72102866-910b-0410-8b05-ffd578937521
1995-03-17 20:08:55 +00:00
mccallum
96c0156514 Use release' and dealloc' instead of `free'.
(read:, write:): Removed.
(initialize): return void.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@100 72102866-910b-0410-8b05-ffd578937521
1995-03-12 19:55:07 +00:00
mccallum
3a43130da6 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1 72102866-910b-0410-8b05-ffd578937521
1994-11-04 16:29:24 +00:00