Commit graph

14 commits

Author SHA1 Message Date
mccallum
a7b5a4d193 Don't use ivar interconnected_stack_height.
(DOING_ROOT_OBJECT): New macro, defined based on
interconnected_stack_height.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@756 72102866-910b-0410-8b05-ffd578937521
1996-01-23 16:55:56 +00:00
mccallum
d82d74df60 ([Coder -doInitOnStream:isDecoding:]): Use new ivar names.
([Coder -_coderPushRootObjectTable]): Use new ivar names and don't use
Stack.
([Coder -_coderPopRootObjectTable]): Likewise.
([Coder -_coderTopRootObjectTable]): Likewise.
([Coder -_coderPushForwardObjectTable]): Likewise.
([Coder -_coderPopForwardObjectTable]): Likewise.
([Coder -_coderTopForwardObjectTable]): Likewise.
([Coder -_coderForwardObjectsAtReference:]): Don't access ivar directly.
([Coder -_coderPutForwardObjects:atReference:]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Use new ivar name.
([Coder -dealloc]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@626 72102866-910b-0410-8b05-ffd578937521
1995-10-14 18:19:32 +00:00
mccallum
238a2f3b5e ([Coder -doInitOnStream:isDecoding:]): Temporarily change
in_progress_table from a Set to an Array.  I need to fix some problems
with Set.
([Coder -startEncodingInterconnectedObjects]): Deal with
interconnected_stack_height.
([Coder -finishEncodingInterconnectedObjects]): Likewise.
([Coder -startDecodingInterconnectedObjects]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Likewise.
([Coder -encodeRootObject:withName:]): Fix bug, whereby we weren't
giving what decodeObjectAt:withName: expected.
([Coder -encodeArrayOfType:at:count:withName:]): Don't encode the
array count.
([Coder -decodeArrayOfType:at:count:withName:]): Don't expect the
array count.  Change type on 3rd argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@605 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:36:35 +00:00
mccallum
0ca3ec5566 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@602 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:49:50 +00:00
mccallum
2c8b6a7b05 ([Coder -doInitOnStream:isDecoding:]): Init in_progress_table.
([Coder -dealloc]): Release in_progress_table.
([Coder -_encodeObject:withName:isBycopy:isForwardReference:]):
If the object is in progress, treat it like a forward reference.  Add
the object to the in_progess_table before really encoding the object;
remove it when done.  (NOTE, this isn't an excuse not to set up
"encoding interconnected objects" mode.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@600 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:44:23 +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
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
805a34014b (encodeSelector:withName:): Use sel_get_any_uid() to get sel type if
we can't get it the normal way.
(newWithCoder:):  Use NSAllocateObject.
(isProxy): Removed from NSObject category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@164 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:20:04 +00:00
mccallum
10b37d09d9 (dealloc): Remove unneccesary releaseObjects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@138 72102866-910b-0410-8b05-ffd578937521
1995-03-17 20:11:35 +00:00
mccallum
a5ed6ef8f2 Use release' and dealloc' instead of `free'.
Add category to NSObject, not Object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@105 72102866-910b-0410-8b05-ffd578937521
1995-03-12 19:59:51 +00:00
mccallum
e5a451d833 CLASS' #define no longer necessary, using Class'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@68 72102866-910b-0410-8b05-ffd578937521
1995-03-08 23:04:52 +00:00
mccallum
d81b9725a6 Convert Class* to Class.():
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@59 72102866-910b-0410-8b05-ffd578937521
1995-01-26 17:55:52 +00:00
mccallum
08fc2d7876 (Object (CoderAdditions)): Removed methods retainCount, dealloc,
release, retain.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@46 72102866-910b-0410-8b05-ffd578937521
1994-12-13 16:55:41 +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