Commit graph

786 commits

Author SHA1 Message Date
mccallum
f6d5c1c787 Assert that the connection is valid in several places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1090 72102866-910b-0410-8b05-ffd578937521
1996-03-07 18:09:06 +00:00
mccallum
c2cf958548 Assert is_valid in many places.
([Connection +newForInPort:outPort:ancestorConnection:]): Set is_valid
to 1.  Only ask for notification of out port death if out port is non-nil.
([Connection -portIsInvalid:]): Properly get the port from the
notification object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1089 72102866-910b-0410-8b05-ffd578937521
1996-03-07 18:08:24 +00:00
mccallum
0e774391ed ([Port -invalidate]): Insist that is_valid is true at the beginning of
this method, don't test it and skip the body of this method.  Force
users to be careful about calling -invalidate more than once.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1088 72102866-910b-0410-8b05-ffd578937521
1996-03-07 02:30:04 +00:00
mccallum
c6a9cf83d8 (NSAllMapTableValues): Get rid of unused variable ARRAY. Return
VALUEARRAY, not unused variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1087 72102866-910b-0410-8b05-ffd578937521
1996-03-07 01:56:10 +00:00
mccallum
173ead75cb Declare new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1083 72102866-910b-0410-8b05-ffd578937521
1996-03-07 00:29:05 +00:00
mccallum
599b54b504 (NotificationRequest): Ivar names prepended with `_'.
(NotificationInvocation): Likewise.
(NotificationPerformer): Likewise.
([NotificationDispatcher
-_addObserver:notificationRequest:name:object:]): Insist that observer
be non-nil; (in the case of Invocation's, the invocation is now the
observer).
([NotificationDispatcher -addInvocation:name:object:]): Method renamed
from -addObserver:invocation:...  Pass the invocation as the
observer.  Release the NR after it has been added.
([NotificationDispatcher -addObserver:selector:name:object:]): Release
the NR after it has been added.
([NotificationDispatcher -_removeFromLinkedListNotificationRequest:]):
New method.
([NotificationDispatcher -removeInvocation:]): New method.
([NotificationDispatcher -removeInvocation:name:object:]): New method.
([NotificationDispatcher -removeObserver:]): Use
_removeFromLinkedListNotificationRequest:.
([NotificationDispatcher -removeObserver:name:object:]): Likewise.
([NotificationDispatcher +addInvocation:name:object:]): New method.
([NotificationDispatcher +removeInvocation:]): New method.
([NotificationDispatcher +removeInvocation:name:object:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1082 72102866-910b-0410-8b05-ffd578937521
1996-03-07 00:28:43 +00:00
mccallum
fd0733d23d ([Connection +initialize]): Initialize all_connections_local_targets.
([Connection -addLocalObject:]): Put it in all_connections_local_targets
also.
([Connection -removeLocalObject:]): Remove it from
all_connections_local_targets also.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1081 72102866-910b-0410-8b05-ffd578937521
1996-03-06 16:40:00 +00:00
mccallum
741a48d406 Declare new ivars and notfication strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1068 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:38:38 +00:00
mccallum
beace25ae7 Several ivar name changes. Method types fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1067 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:38:13 +00:00
mccallum
efb18c71e7 (in_port_class, out_port_class): New ivars replacing port_class.
Declare methods to get and set them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1066 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:37:45 +00:00
mccallum
d7c22f7452 (SIGNATURE_FORMAT_STRING): Remove "version" from between class name
and format version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1065 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:37:11 +00:00
mccallum
16cb7de5b3 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1064 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:36:36 +00:00
mccallum
ed0c23d9a9 Many ivar names changed for clarity. Some new ivars added; see
changes to TcpPort.h.  Overhaul of how TcpOutPort's track their remote
address.  Previously they used the address of their local peer; this
is no good when encoding a TcpOutPort on the wire for D.O.; the
D.O. reciever needs a way to contact the listen'ing socket of the
TcpInPort in order to form a new connection.  _remote_in_port_address
is now the address of the remote listen'ing socket.  Added many
comments throughout.  All perror() calls changes to be more
informative.
(debug_tcp_port): Make this a static variable instead of a macro.
(init_socket_2_port): Check pre-existance of socket_2_port here
instead of callers.
([TcpInPort +newForReceivingFromPortNumber:]): Method overhauled.
Don't bind socket to INADDR_ANY because we need to be able to encode
our unique host address on the wire for D.O.
([TcpInPort -_listeningSockaddr]): New method.
([TcpInPort -receivePacketWithTimeout:]): Method overhauled.  Get the
reply port for an incoming packet from the packet prefix.
([TcpInPort -_connectedOutPortInvalidated:]): Add debugging message.
([TcpInPort -classForConnectedCoder:]): Return the TcpOutPort class,
not [self class] because we always encode a "send right" (ala Mach),
not a "recieve right".
([TcpOutPort
+newForSendingToSockaddr:withAcceptedSocket:pollingInPort:]): Method
renamed, and majorly overhauled.  Now many different combinations of
NULL argument do different things.  This is now the single designated
initializer.  We now check both the SOCKADDR and the SOCK argument to
find previously-created TcpOutPort's.  This method is also used to set
the remote_in_port_address of an already-created TcpOutPort.  There is
more error checking.
([TcpOutPort +newForSendingToPortNumber:onHost:]): Overhauled.
([TcpOutPort +_newWithAcceptedSocket:peeraddr:inPort:]): Overhauled to
work with new designated  initalizer.
([TcpOutPort -sendPacket:withTimeout:]): Use new low-level Packet
interface that deals with reply ports.
([TcpOutPort +packetClass]): New method.
(PREFIX_LENGTH_TYPE): New macro.
(PREFIX_LENGTH_SIZE): New macro.
(PREFIX_ADDRESS_TYPE): New macro.
(PREFIX_ADDRESS_SIZE): New macro.
(PREFIX_SIZE): New macro.
([TcpPacket -_initForReceivingWithSize:replyPort:]): Use 0 prefix,
because the separate +_getPacketSize... method reads those bytes.
([TcpPacket -_writeToSocket:withReplySockaddr:]): Now the prefix
includes the sockaddr of the reply port.  If ADDR is non-null, set the
reply port address portion of the prefix.
([TcpPacket +_getPacketSize:andReplyPort:fromSocket:inPort:]): New
method, replacing +readPacketSizeFromSocket:.
([TcpPacket -_fillFromSocket:]): Set Stream's eofPosition properly.
Leave Stream's position at zero.
(InPortAcceptedClientNotification): New notification string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1063 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:35:57 +00:00
mccallum
af321f2af1 Change many ivar names.
(debug_proxy): Temporarily set to 1.
([Proxy +newForRemoteTarget:connection:]): Set new ivar names.
Embellish debugging message to include connection.
([Proxy -invalidateProxy]): Return void instead of self.
([Proxy +encodeObject:withConnectedCoder:]): Overhauled, encode tag,
and change order of encoding for more efficient encoding.  Added many
comments.
([Proxy +newWithCoder:]): Likewise, to match.  Also added a check to
make sure we don't return a bogus pointer for a local object; do this
by checking with connection's +includesLocalObject; if it's not
there, raise an exception.
([Proxy -forward::]): Call the new forwarding method name in Connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1062 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:16:04 +00:00
mccallum
d2c356a762 Indentation changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1061 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:10:17 +00:00
mccallum
34a7788ce2 ([LinkedList -prependObject:]): Fix return type.
([LinkedList -insertObject:atIndex:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1060 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:09:55 +00:00
mccallum
931eb3b58c ([Encoder -_coderCreateReferenceForObject:]): Insert it in
object_2_xref, not const_ptr_2_xref.
([Encoder -_encodeObject:withName:isBycopy:isForwardReference:]):
Create the in_progress_table with NSNonOwnedPointerMapKeyCallBacks,
not NSObject..; needed by distributed objects so we don't get infinite
loop with proxy objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1059 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:09:15 +00:00
mccallum
e51b3f9c60 ([Decoder +readSignatureFromCStream:getClassname:formatVersion:]):
Compare got with 6, not 2.
([Decoder -_coderCreateReferenceForObject:]): Add warning comment
about a -retain we don't want.  Fix this eventually!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1058 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:07:17 +00:00
mccallum
d714589623 (default_in_port_class, default_out_port_class): New static variables,
replacing default_port_class.
(all_connections_local_targets): New map table; not used yet, though.
(debug_connection): Temporarily set to 1.
([Connection +initialize]): Set new static vars.
([Connection +setDefaultInPortClass:]): New method.
([Connection +defaultInPortClass]): New method.
([Connection +setDefaultOutPortClass:]): New method.
([Connection +defaultOutPortClass]): New method.
([Connection -init]): Use new default_in_port_class.
([Connection +new]): Likewise.
([Connection +newWithRootObject:]): Likewise.
([Connection +newRegisteringAtName:withRootObject:]): Likewise.
([Connection +rootProxyAtName:onHost:]): Likewise.
([Connection +rootProxyAtPort:]): Likewise.
([Connection +newForInPort:outPort:ancestorConnection:]): Assert the
in port.  Embellish the debugging message to print the in port and
out port.  Set the new connection's in port and out port ivars.
Register ourselves as observers of port invalidation with the
NotificationDispatcher.  Post a notification that a new connection was
created.
([Connection -runConnectionWithTimeout:]): Use
_serviceReceivedRequestsWithTimeout:.
([Connection -_newReceivedRmcWithTimeout:]): Use decodingClass, not
encodingClass.
([Connection -_serviceReceivedRequestsWithTimeout:]): Method name
changed from -newReceivedReplyRmcWithSequenceNumber:.
([Connection +includesLocalObject:]): New method; still needs more
infrastructure to work, though.
([Connection -inPortClass]): New method.
([Connection -outPortClass]): New method.
([Connection -setInPortClass:aPortClass]): New method.
([Connection -setOutPortClass:aPortClass]): New method.
([Connection -_encoderCreateReferenceForConstPtr:]): Add 1 to map
table count to get xref.
([Connection -_decoderCreateReferenceForConstPtr:]): Likewise.
([Connection -dealloc]): Remove ourselves from the NotificationDispatcher.
(ConnectionWasCreatedNotification): New notification string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1057 72102866-910b-0410-8b05-ffd578937521
1996-03-06 14:05:36 +00:00
mccallum
2aea66d1cb (CONNECTED_CODER_FORMAT_VERSION): New macro.
([ConnectedEncoder
-_initForWritingWithConnection:sequenceNumber:identifier:]): Get
packetClass from the connection's outPort, not the outPortClass.
Return self.
([ConnectedDecoder
+readSignatureFromCStream:getClassname:formatVersion:]): Fill in name
and version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1056 72102866-910b-0410-8b05-ffd578937521
1996-03-06 13:54:21 +00:00
mccallum
f26a2609fe Use new SIGNATURE_FORMAT_STRING, as defined in objects/CoderPrivate.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1055 72102866-910b-0410-8b05-ffd578937521
1996-03-06 13:51:48 +00:00
mccallum
3ac9d40922 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1054 72102866-910b-0410-8b05-ffd578937521
1996-03-03 02:18:46 +00:00
mccallum
0e5c8c02a8 (GNU_MFILES): Added Notification.m and NotificationDispatcher.m.
Removed SocketPort.m.
(GNU_HEADERS): Added objects/Notification.h and
objects/NotificationDispatcher.h.  Removed objects/SocketPort.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1053 72102866-910b-0410-8b05-ffd578937521
1996-03-03 02:16:25 +00:00
mccallum
6dc128356a New implementation based on GNU NotificationDispatcher. This version
is much faster, and has some better features.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1050 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:41:20 +00:00
mccallum
8471dd2b25 New implementation based on GNU Notification. This version is much
faster, and has some better features.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1049 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:41:01 +00:00
mccallum
67aae38b85 Declare new methods and new Notification String.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1048 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:38:40 +00:00
mccallum
c888258e60 ([Proxy +initialize]): Don't return self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1047 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:37:59 +00:00
mccallum
199edc8cd5 Don't include <objc/Object.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1046 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:37:39 +00:00
mccallum
6e8b9c47a0 ([LinkedListNode -initialize]): Method removed.
([LinkedListNode -init]): Set _linked_list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1045 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:37:08 +00:00
mccallum
f44968627f ([LinkedList -insertObject:after:]): When inserting first object, set
_count to 1.
([LinkedList -insertObject:before:]): Likewise.
([LinkedList -appendObject:]): Don't claim ownership here if we're
going to call -insertObject:after: later.
([LinkedList -prependObject:]): Likewise.  And renamed from
prependElement.
([LinkedList -insertObject:atIndex:]): Likewise.
([LinkedList -newEnumState]): New method.
([LinkedList -nextObjectWithEnumState:]): Overhauled.
([LinkedList -prevObjectWithEnumState:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1044 72102866-910b-0410-8b05-ffd578937521
1996-03-03 01:36:41 +00:00
mccallum
78362f95c8 ([Connection +connectionsCountWithInPort:]): Fix use of END_FOR_ARRAY.
([Connection -invalidate]): Post ConnectionBecameInvalidNotification.
(ConnectionBecameInvalidNotification): New extern String.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1043 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:45:04 +00:00
mccallum
916a5ee316 (ConnectionBecameInvalidNotification): Declare extern new String.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1042 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:42:42 +00:00
mccallum
6910873fa9 (String): Make the protocol inherit from the NSObject protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1041 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:41:51 +00:00
mccallum
a955a3bd30 (ConstantCollecting): Make is inherit from the NSObject protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1040 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:41:23 +00:00
mccallum
6cc416e14e ([TcpInPort -numberOfConnectedOutPorts]): New method.
([TcpInPort -_connectedOutPortInvalidated:]): Post an
InPortClientBecameInvalidNotification.
([TcpInPort -portNumber]): New method.
([TcpInPort -description]): New method.
([TcpOutPort +newWithAcceptedSocket:inPort:]): Fill in the _address
ivar.
([TcpOutPort -portNumber]): New method.
([TcpOutPort -description]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1039 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:40:46 +00:00
mccallum
42b53d068e ([MethodInvocation -invokeWithObject:]): Make it a
-subclassResponsibililty.
([MethodInvocation -initWithArgframe:selector:]): Raise an exception
if we are unable to get a non-null selector type string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1038 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:38:06 +00:00
mccallum
2999ea826d ([Port -invalidate]): Post PortBecameInvalidNotification.
(PortBecameInvalidNotification): New String object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1037 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:36:53 +00:00
mccallum
e55c09f42c ([NSGMutableDictionary -objectForKey:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1036 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:35:52 +00:00
mccallum
8bc528f073 ([ConstantKeyedCollection -description]): Use object_get_class_name
instead of -name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1035 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:35:28 +00:00
mccallum
08f493f917 ([DelegatePool -forward::]): Fix use of END_FOR_ARRAY.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1033 72102866-910b-0410-8b05-ffd578937521
1996-03-03 00:33:51 +00:00
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
98a91e5fb3 Surrounded by #if for mach.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1027 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:21:34 +00:00
mccallum
a9db0be31a Fix #ifndef symbol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1026 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:21:00 +00:00
mccallum
d1361514a0 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1025 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:20:32 +00:00
mccallum
7c84620fae (GNU_MFILES): Add MachPort.m.
(GNU_HEADERS): Add objects/MachPort.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1024 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:18:08 +00:00
mccallum
0e55df1258 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1023 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:07:42 +00:00
mccallum
b28e7c8ede New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1022 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:06:57 +00:00
mccallum
10fd5300fb Overhauled for new Port heirarchy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1021 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:06:03 +00:00
mccallum
f56cfab056 Comment change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1020 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:05:07 +00:00
mccallum
c9a822d789 ([Encoder -_coderCreateReferenceForConstPtr:]): Get xref before
asserting it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1019 72102866-910b-0410-8b05-ffd578937521
1996-03-01 16:01:33 +00:00
mccallum
817c1e5677 (WRITE_SIGNATURE_FORMAT_ARGS): Use STRINGIFY() for OBJECTS_PACKAGE_NAME.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1018 72102866-910b-0410-8b05-ffd578937521
1996-03-01 15:57:59 +00:00
mccallum
164ab2393e (STRINGIFY): New macro defined, if not defined already.
(XSTRINGIFY): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1017 72102866-910b-0410-8b05-ffd578937521
1996-03-01 15:57:32 +00:00
mccallum
7edf52aaa0 (END_FOR_ARRAY): Macro renamed from FOR_ARRAY_END, and given argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1016 72102866-910b-0410-8b05-ffd578937521
1996-03-01 15:56:16 +00:00
mccallum
7a180f449a Overhauled for new collections, coders and ports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1015 72102866-910b-0410-8b05-ffd578937521
1996-03-01 15:54:57 +00:00
mccallum
abb2d4f80e (GNU_MFILES): Added UdpPort.m.
(GNU_HEADERS): Added objects/UdpPort.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1013 72102866-910b-0410-8b05-ffd578937521
1996-03-01 14:53:30 +00:00
mccallum
a926eb2858 (GNUSTEP_MFILES): Re-added Connection.m and ConnectedCoder.m.
(GNUSTEP_HEADERS): Removed duplicate Foundation/NSHashTable.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1012 72102866-910b-0410-8b05-ffd578937521
1996-03-01 02:49:31 +00:00
mccallum
6f7c314f40 ([Decoder +readSignatureFromCStream:getClassname:formatVersion:]): Get
new values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1009 72102866-910b-0410-8b05-ffd578937521
1996-02-29 01:50:31 +00:00
mccallum
d693f394d4 ([Encoder -writeSignature]): Use new macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1008 72102866-910b-0410-8b05-ffd578937521
1996-02-29 01:50:05 +00:00
mccallum
189f6992db New macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1007 72102866-910b-0410-8b05-ffd578937521
1996-02-29 01:49:34 +00:00
mccallum
592c128410 (SIGNATURE_FORMAT_STRING): Change to include package name and version.
(WRITE_SIGNATURE_FORMAT_ARGS): New macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1006 72102866-910b-0410-8b05-ffd578937521
1996-02-29 01:39:48 +00:00
mccallum
1a79d72e2f (GNU_MFILES): Add TcpPort.m.
(GNU_HEADERS): Add objects/TcpPort.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1005 72102866-910b-0410-8b05-ffd578937521
1996-02-29 01:37:26 +00:00
mccallum
2392b217a8 (FILE_AUTHORS): Added "Albin L. Jones".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1004 72102866-910b-0410-8b05-ffd578937521
1996-02-25 15:01:49 +00:00
mccallum
ed81ee921f ([NSInvocation +initialize]): Fix typo.
([NSInvocation +invocationWithMethodSignature:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1003 72102866-910b-0410-8b05-ffd578937521
1996-02-24 18:51:20 +00:00
mccallum
40bcdbbfaa (GNUSTEP_MFILES): Add NSInvocation.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1002 72102866-910b-0410-8b05-ffd578937521
1996-02-24 18:49:35 +00:00
mccallum
c919834d1c Class implemented using Invocation as behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1000 72102866-910b-0410-8b05-ffd578937521
1996-02-24 18:47:39 +00:00
mccallum
401815e4f5 (return_retained): New macro.
([Invocation -setReturnValue:]): Retain return value if necessary.
([ArgframeInvocation -_retainArguments]): Add missing local var.
([MethodInvocation -initWithArgframe:type:]): New method.
([MethodInvocation -initWithArgframe:selector:]): Use new method.  Set
selector using sel_pointer.
([ObjectFunctionInvocation -invokeWithObject:]): Use return_retained,
not args_retained.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@999 72102866-910b-0410-8b05-ffd578937521
1996-02-24 18:46:48 +00:00
mccallum
153ecc7603 ([Invocation -initWithReturnType:]): Use new ivar names. Use calloc
instead of malloc.
([Invocation -encodeWithCoder:]): New method.
([Invocation -initWithCoder:]): New method.
([Invocation -classForConnectedCoder:]): New method.
([Invocation -returnType]): Use new ivar name.
([Invocation -setReturnValue:]): New method.
([Invocation -objectReturnValue]): Method implemented.
([Invocation -intReturnValue]): Method implemented.
([Invocation -returnValueIsTrue]): Method implementation finished.
([Invocation -dealloc]): Use new ivar name.  Release return type if
necessary.
([ArgframeInvocation -_retainArguments]): New method.
([ArgframeInvocation -_initArgframeFrom:withType:retainArgs:]): Method
overhauled.
([ArgframeInvocation -initWithArgframe:type:]): Use new method.
([ArgframeInvocation -encodeWithCoder:]): New method.
([ArgframeInvocation -initWithCoder:]): New method.
([ArgframeInvocation -argumentTypeAtIndex:]): Use new ivar name.
([ArgframeInvocation -retainArguments]): New method.
([ArgframeInvocation -argumentsRetained]): New method.
([ArgframeInvocation -_deallocArgframe]): New method.
([ArgframeInvocation -dealloc]): Use new method.  Release args if
necessary.
([MethodInvocation -_initTargetAndSelPointers]): New method.
([MethodInvocation -initWithArgframe:selector:]): Use new method.
([MethodInvocation -initWithCoder:]): New method.
([MethodInvocation -initWithTarget:selector:...]): Retain args if
necessary.
([MethodInvocation -invoke]): Use new ivars.
([MethodInvocation -invokeWithTarget:]): Use -setTarget:.
([MethodInvocation -selector]): Use new ivar.
([MethodInvocation -setSelector:]): Likewise.
([MethodInvocation -target]): Likewise.
([MethodInvocation -setTarget:]): Likewise.
([ObjectMethodInvocation -_initArgObjectPointer]): New method.
([ObjectMethodInvocation -initWithArgframe:selector:]): Use new method.
([ObjectMethodInvocation -initWithCoder:]): New method.
([ObjectMethodInvocation -invokeWithObject:]): New method.
(VoidFunctionInvocation): New class implementation.
(ObjectFunctionInvocation): New class implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@998 72102866-910b-0410-8b05-ffd578937521
1996-02-24 17:03:04 +00:00
mccallum
2f78d229bb Make -invoke methods return void. Include objects/Invoking.h.
(return_type): ivar renamed from encoding.
(ArgframeInvocation args_retained): new ivar.
(MethodInvocation target_pointer): new ivar.
(MethodInvocation sel_pointer): new ivar.
(VoidFunctionInvocation): New class.
(ObjectFunctionInvocation): New class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@997 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:42:35 +00:00
mccallum
e13beb9d87 Make -invoke methods return void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@996 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:40:44 +00:00
mccallum
1697d5f6cd ([Encoder +initialize]): Compare self with Encoder, not Coder.
([Encoder +encodeRootObject:withName:toStream:]): Rename method to
-close.
([Encoder -encodeSelector:withName:name]): Use sel_get_any_typed_uid
instead of sel_get_any_uid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@995 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:40:17 +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
78a4ae8459 ([Stream -close]): Method renamed from -closeStream.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@993 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:37:55 +00:00
mccallum
f2ca8f9103 Rename method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@992 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:37:09 +00:00
mccallum
571196a9e5 ([Coder +setDefaultCStreamClass:]): Declare method.
([Coder +defaultCStreamClass]): Declare method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@991 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:35:58 +00:00
mccallum
f90505d316 ([Coder -close]): Method renamed from -closeCoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@990 72102866-910b-0410-8b05-ffd578937521
1996-02-24 16:35:03 +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
3e12f5e590 (GNU_HEADERS): Add objects/bitops.h, objects/minmax.h.
(GNU_OTHER_SRCFILES): Add md5.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@988 72102866-910b-0410-8b05-ffd578937521
1996-02-22 22:17:15 +00:00
mccallum
6ca26d087c (GNU_HEADERS): Add objects/Enumerating.h, objects/Invoking.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@987 72102866-910b-0410-8b05-ffd578937521
1996-02-22 22:10:00 +00:00
mccallum
06c8a09d27 (GNU_HEADERS): Add objects/array.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@986 72102866-910b-0410-8b05-ffd578937521
1996-02-22 22:09:05 +00:00
mccallum
2bf3b74354 ([NSString -hash]): Don't use elt_* function, and use
NSHashStringLength.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@984 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:50:35 +00:00
mccallum
34e1956267 ([String -hash]): Don't use elt_* function, and use
NSHashStringLength.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@983 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:50:25 +00:00
mccallum
74c0185a39 (__objc_dynamic_find_symbol): Cast to drop const type, and avoid warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@982 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:21:30 +00:00
mccallum
ff0ce16668 Add *-basics.h and *-callbacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@981 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:16:48 +00:00
mccallum
06046b2faa (GNU_MFILES): Remove eltfuncs.m.
(GNU_HEADERS): Remove objects/elt.h, objects/eltfuncs.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@980 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:15:46 +00:00
mccallum
596ce40253 (GNU_CFILES): Remove collhash.c.
(GNU_HEADERS): Remove objects/collhash.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@979 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:13:33 +00:00
mccallum
344394926c New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@978 72102866-910b-0410-8b05-ffd578937521
1996-02-22 17:45:48 +00:00
mccallum
e04c45aba9 Reinstate this file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@970 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:10:56 +00:00
mccallum
32cf6e5b62 Move much of functionality to Encoder.m, Decoder.m, and
objects/CoderPrivate.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@969 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:09:23 +00:00
mccallum
27a5e6d245 ([Invocation -objectReturnValue]): New method.
([Invocation -intReturnValue]): New method.
([Invocation -returnValueIsTrue]): New method.
([Invocation -initWithTarget:selector:...]): Use switch statement to
handle value arguments, instead of pointer-to-value arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@968 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:08:26 +00:00
mccallum
d77e7f4601 ([NumberTemplate -hash]): New method.
([NumberTemplate -isEqual:]): New method.
([NumberTemplate -encodeWithCoder:]): Make this self-contained.
([NumberTemplate -initWithCoder:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@967 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:06:34 +00:00
mccallum
1809abb47f 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@966 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:05:47 +00:00
mccallum
1c319c7279 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@965 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:05:12 +00:00
mccallum
a7682719ea ([Port -encodeWithCoder:]): Fix argument type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@964 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:04:15 +00:00
mccallum
8b448315da Many fixes, continuing conversion from old IndexedCollection.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@963 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:03:55 +00:00
mccallum
4d1da63495 ([NSValueDecoder +newWithCoder:]): Comment out for now; I think it
needs fixes.
([NSValueDecoder -initWithCoder:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@962 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:02:48 +00:00
mccallum
dce5a12dc3 ([NSNumber -description]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@961 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:02:02 +00:00
mccallum
25cbd82a98 New version from Albin Jones, plus fixes by McCallum.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@960 72102866-910b-0410-8b05-ffd578937521
1996-02-22 16:00:28 +00:00
mccallum
2108553cab New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@956 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:56:02 +00:00
mccallum
7927ecefc2 Declare classes Encoder and Decoder; extensive rearrangement of ivars,
method names and protocols.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@955 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:51:05 +00:00
mccallum
dc812afa37 Don't include <objc/List.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@954 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:50:13 +00:00
mccallum
86f5ef9aa3 Change many method return types to void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@953 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:49:46 +00:00
mccallum
c2b27dfa19 Subclass from Encoder and Decoder, not Coder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@952 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:49:05 +00:00
mccallum
dbb41b30ee (GNUSTEP_OTHER_SRCFILES): Add NSCallBacks.h.
(GNUSTEP_HEADERS): Remove Foundation/NSCallBacks.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@951 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:48:36 +00:00
mccallum
c20d71b3e7 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@950 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:47:04 +00:00
mccallum
d48819ed4a (CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m.  Add Decoder.m, Encoder.m.  Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
mccallum
1a34c9461b New version from Albin Jones, plus fixes by McCallum.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@948 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:25:44 +00:00
mccallum
f46b4d9b55 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@947 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:18:57 +00:00
mccallum
7853b9d1b0 Use new Archiver classes instead of Coder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@946 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:17:12 +00:00
mccallum
34efa0e691 Use NSMapTable instead of Dictionary class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@945 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:15:46 +00:00
mccallum
8091890758 Overhaul for new collection class scheme to improve distributed
objects and NeXT-compatibility.  Change several methods to return void.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@944 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:15:10 +00:00
mccallum
e4bc27b154 ([CString -initWithCString:range:]): Don't make super call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@943 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:13:53 +00:00
mccallum
25e7dd2beb ([BinaryCStream -decodeValueOfCType:at:withName:]): Make save_type const.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@942 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:13:13 +00:00
mccallum
f93c5d41c9 Don't include <objects/eltfuncs.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@941 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:12:41 +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
72114c01b0 Comment change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@939 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:04:58 +00:00
mccallum
8d472044bc (GNU_MFILES): Removed EltNodeCollector.m.
(GNU_HEADERS): Removed objects/EltNodeCollector.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@935 72102866-910b-0410-8b05-ffd578937521
1996-02-15 16:18:32 +00:00
mccallum
459fb4cd85 (RCS_FILES): Add Makefile.sed.nt.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@933 72102866-910b-0410-8b05-ffd578937521
1996-02-14 17:25:35 +00:00
mccallum
8c23a109e3 (GNU_MFILES): Added OrderedCollection.m.
(GNU_HEADERS): Added objects/OrderedCollection.h and
objects/OrderedCollecting.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@931 72102866-910b-0410-8b05-ffd578937521
1996-02-14 01:50:15 +00:00
mccallum
7c2b450244 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@930 72102866-910b-0410-8b05-ffd578937521
1996-02-14 00:24:34 +00:00
mccallum
27ce65acca *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@924 72102866-910b-0410-8b05-ffd578937521
1996-02-13 17:52:01 +00:00
mccallum
9cd6085b31 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@923 72102866-910b-0410-8b05-ffd578937521
1996-02-13 17:33:41 +00:00
mccallum
8f163dd74a .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@920 72102866-910b-0410-8b05-ffd578937521
1996-02-13 16:28:54 +00:00
mccallum
fc41748fe2 (GNU_MFILES): Added RawCStream.m.
(GNU_HEADERS): Added objects/RawCStream.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@919 72102866-910b-0410-8b05-ffd578937521
1996-02-13 16:11:55 +00:00
mccallum
5b216a6440 New file from Georg Tuparev
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@918 72102866-910b-0410-8b05-ffd578937521
1996-02-13 16:09:50 +00:00
mccallum
26d425b88c (GNUSTEP_MFILES): Added NSNotification.m and NSNotificationCenter.m
from Georg Tuparev.
(GNUSTEP_HEADERS): Added Foundation/NSNotification.h from Georg
Tuparev.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@916 72102866-910b-0410-8b05-ffd578937521
1996-02-13 16:00:50 +00:00
mccallum
c30185d83d WinNT and thread-related odifications from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@915 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:43:30 +00:00
mccallum
af3f9994e4 New files from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@914 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:40:05 +00:00
mccallum
f201ceee8c New file from Albin Jones
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@910 72102866-910b-0410-8b05-ffd578937521
1996-02-13 02:35:45 +00:00
mccallum
67476f08fc *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@909 72102866-910b-0410-8b05-ffd578937521
1996-02-13 02:31:48 +00:00
mccallum
d27188df8c (GNUSTEP_MFILES): Added NSHashTable.m and NSMapTable.m.
(GNUSTEP_HEADERS): Added Foundation/NSHashTable.h and
Foundation/NSMapTable.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@908 72102866-910b-0410-8b05-ffd578937521
1996-02-13 02:25:54 +00:00
mccallum
1975110e5d Declare new method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@901 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:55:46 +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
f65e426c41 Declare new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@899 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:54:48 +00:00
mccallum
c8f0eaf056 ([Invocation -invoke]): Terminate copy of encoding string. Deal with
void return type.
([Invocation -invokeWithElement:]): Method removed.
([Invocation -invokeWithObject:]): Make is -subclassResponsibility.
([Invocation -getReturnValue:]): Make sure return_value is non-NULL.
([ArgframeInvocation -initWithArgframe:type:]): Use objc_calloc.
([MethodInvocation -initWithArgframe:selector:]): Try hard to get a
selector with a type string.
([MethodInvocation -initWithTarget:selector:...]): New method.
([MethodInvocation -invoke]): Get the target and selector properly.
([MethodInvocation -invokeWithObject:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@898 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:54:32 +00:00
mccallum
579b7fe4cd ([NSUnarchiver +allocWithZone:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@897 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:50:29 +00:00
mccallum
a1cd144d7b ([Coder -decodeObject]): Return the object.
([Coder -initForReadingWithData:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@896 72102866-910b-0410-8b05-ffd578937521
1996-02-13 01:50:03 +00:00
mccallum
b84fb64d50 Use -subclassResponsibility instead of -notImplemented
where appropriate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@893 72102866-910b-0410-8b05-ffd578937521
1996-02-01 17:04:17 +00:00
mccallum
f3f5c9b1fe ([Coder -_coderCreateReferenceForObject:]): Beginning with this
method, put in, but comment out, new ideas for "tag-less" coder
streams; this will allow for smaller archives.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@889 72102866-910b-0410-8b05-ffd578937521
1996-02-01 03:29:56 +00:00
mccallum
c24356dc27 ([Coder -closeCoding]): Method renamed from -closeCoder.
([Coder +encodeRootObject:withName:toStream:]): Make -closeCoding name
change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@885 72102866-910b-0410-8b05-ffd578937521
1996-01-28 02:18:13 +00:00
mccallum
7d66b3eb2f (CommonCoding -closeCoding): Renamed from -coderCoder, so it is not so
exclusively associated with the Coding class, but also all subclasses
that implement a *Coding protocol.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@884 72102866-910b-0410-8b05-ffd578937521
1996-01-28 02:16:24 +00:00
mccallum
8a35ff8305 Rename methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@883 72102866-910b-0410-8b05-ffd578937521
1996-01-28 02:10:37 +00:00
mccallum
315b64ea8d ([Coder +newReadingFromStream:]): Renamed from
coderReadingFromStream:, because it's silly to have different names
for this method for subclasses of Coder.  Don't autorelease returned
object (I also find this more helpful).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@882 72102866-910b-0410-8b05-ffd578937521
1996-01-28 02:09:10 +00:00
mccallum
666be690b4 ([ConnectedCoder +newDecodingWithConnection:timeout:]): Rename
coderReadingFromStream to newReadingFromStream, and don't retain.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@881 72102866-910b-0410-8b05-ffd578937521
1996-01-28 02:07:50 +00:00
mccallum
401ec323bf (GNU_MFILES): Add Archiver.m.
(GNU_HEADERS): Add objects/Archiver.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@880 72102866-910b-0410-8b05-ffd578937521
1996-01-28 01:59:17 +00:00
mccallum
cc85668753 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@879 72102866-910b-0410-8b05-ffd578937521
1996-01-28 01:58:35 +00:00
mccallum
41b8cd0860 (GNU_HEADERS): Added CStreaming.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@877 72102866-910b-0410-8b05-ffd578937521
1996-01-27 01:10:55 +00:00
mccallum
44b3266d46 Include BinaryCStream.h and TextCStream.h, not the old *Coder.h
versions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@876 72102866-910b-0410-8b05-ffd578937521
1996-01-27 00:56:10 +00:00
mccallum
285590f7a1 (Coder): Make subclass of Coder, not BinaryCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@875 72102866-910b-0410-8b05-ffd578937521
1996-01-27 00:55:38 +00:00
mccallum
17f0b02fd0 Declare new method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@874 72102866-910b-0410-8b05-ffd578937521
1996-01-27 00:55:12 +00:00
mccallum
e3ee1bd33f ([TextCStream -encodeValueOfCType:at:withName:]): Remove the asserts
that prohibited structs and arrays.
([TextCStream -decodeValueOfCType:at:withName:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@873 72102866-910b-0410-8b05-ffd578937521
1996-01-27 00:55:00 +00:00