Andrew McCallum
c00ba6acd1
Don't include <objects/SocketPort.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1183 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:10:06 +00:00
Andrew McCallum
1ec7e45812
Declare classes UdpInPacket and UdpOutPacket.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1182 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:09:48 +00:00
Andrew McCallum
c15e973016
(dissect_method_return): Initialize RETFRAME to NULL to prevent warning.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1181 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:03:17 +00:00
Andrew McCallum
259be49a34
Change references to non-existant UdpPacket class to UdpInPacket.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1180 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:02:44 +00:00
Andrew McCallum
a5a2baa793
([TextCStream -decodeName:name]): Pass correct value to debug message.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1179 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:02:14 +00:00
Andrew McCallum
baea97e1c6
(bzero): New macro, to memset(); for FD_ZERO().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1178 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:01:18 +00:00
Andrew McCallum
1da6a89a71
Remove references to NAN. Define bzero for FD_CLR(). Include
...
<string.h> for memset.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1177 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:00:47 +00:00
Andrew McCallum
d214ea4667
([RawCStream -encodeValueOfCType:at:withName:name]): Remove unused variable.
...
([RawCStream -decodeValueOfCType:at:withName:]): Likewise. Switch on
*type, not unused variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1176 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:00:06 +00:00
Andrew McCallum
942f1e24e4
([Proxy +newWithCoder:]): Remove unused variable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1175 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:59:19 +00:00
Andrew McCallum
76af37a95b
([OrderedCollection -replaceRange:withCollection:]): Return void.
...
([OrderedCollection -replaceRange:usingCollection:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1174 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:58:56 +00:00
Andrew McCallum
ed687ac91d
([NotificationDispatcher -removeObserver:name:object:]): Remove unused
...
variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1173 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:58:28 +00:00
Andrew McCallum
10978d3756
Remove references to NAN.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1172 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:57:39 +00:00
Andrew McCallum
9c98a2c9a4
Include <behavior.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1171 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:57:20 +00:00
Andrew McCallum
9e636b73bc
([NSInvocation -methodSignature]): Return nil.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1170 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:56:54 +00:00
Andrew McCallum
51f66d0afb
Comment fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1169 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:56:13 +00:00
Andrew McCallum
8e4d7cb0f0
([NSDate -initWithString:]): Initialize theTime to 0, to prevent warning.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1168 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:55:57 +00:00
Andrew McCallum
8629f4acda
([NSData +_setConcreteClass:]): Include <string.h> for memset().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1167 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:55:26 +00:00
Andrew McCallum
a0d31dfff1
([NSCountedSet -countForObject:]): Return 0.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1166 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:55:09 +00:00
Andrew McCallum
c4950521ad
Minor comment format fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1165 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:54:56 +00:00
Andrew McCallum
9312eb0466
([NSAutoreleasePool -parentAutoreleasePool]): Remove inclusion of
...
eltfuncs.h and collhash.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1164 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:54:29 +00:00
Andrew McCallum
c53287e532
([NSArchiver +initialize]): Use ==, not = in if test.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1163 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:54:00 +00:00
Andrew McCallum
660b7d7a9c
Include <string.h> for memset().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1162 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:53:30 +00:00
Andrew McCallum
f239d2f58d
([MutableCString -initWithCoder:]): Remove unused variable n. Return
...
self, not n.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1161 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:53:13 +00:00
Andrew McCallum
d8e18e8c0e
([MappedCollector -initWithObjects:forKeys:count:]): Return self.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1160 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:52:10 +00:00
Andrew McCallum
0893c12129
([LinkedList -initWithObjects:count:]): Return self.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1159 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:51:44 +00:00
Andrew McCallum
195b803929
([ConstantKeyedCollection -initWithObjects:forKeys:count:]): Return nil.
...
([ConstantKeyedCollection -objectAtKey:]): Likewise.
([ConstantKeyedCollection -keyOfObject:]): Likewise.
([ConstantKeyedCollection -withKeysInvoke:]): Return void.
([ConstantKeyedCollection -withKeysInvoke:whileTrue:]): Likewise.
([ConstantKeyedCollection -nextObjectAndKey:withEnumState:]): Return nil.
([ConstantKeyedCollection -copyValuesAs:]): Likewise.
([ConstantKeyedCollection -nextObjectAndKey:withEnumState:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1158 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:51:14 +00:00
Andrew McCallum
c2435c991e
([MethodInvocation -invokeWithObject:]): Revert last change: call
...
-invokeWithTarget:, not -subclassResponsibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1157 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:49:14 +00:00
Andrew McCallum
b67377ea04
([ConstantIndexedCollection -prevObjectWithEnumState:]): Use
...
assignment, not equality test for setting enumState to -1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1156 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:47:14 +00:00
Andrew McCallum
4c749159ef
([GapArray -empty]): Renamed from _collectionEmpty, and implemented to
...
do entire job of emptying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1155 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:46:06 +00:00
Andrew McCallum
a151fd55a0
([Encoder -_coderCreateReferenceForObject:]): Return the xref!
...
([Encoder -_coderCreateReferenceForConstPtr:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1154 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:45:37 +00:00
Andrew McCallum
c66d202549
([Dictionary -newEnumState]): Removed useless cruft.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1153 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:44:52 +00:00
Andrew McCallum
6c3e854e97
([ConstantCollection -detectObjectByInvoking:]): Set detectedObject to
...
nil to avoid warning.
([ConstantCollection -maxObject]): Initialize MAX to nil.
([ConstantCollection -minObject]): Initialize MIN to nil.
([Collection -uniqueContents]): Iterate over CP, not SELF.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1152 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:44:21 +00:00
Andrew McCallum
6f575ef4c9
Return nil for several -notImplemented methods that are to return objects.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1151 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:42:32 +00:00
Andrew McCallum
de0f2e6372
([CircularArray -empty]): Renamed from _collectionEmpty, and
...
implemented to do entire job of emptying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1150 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:42:07 +00:00
Andrew McCallum
5cd928bd5e
([CStream -initForWritingToStream:s]): Return the result.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1149 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:41:30 +00:00
Andrew McCallum
5833fa43c0
([Array -empty]): Renamed from _empty, and implemented to do entire
...
job of emptying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1148 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:40:54 +00:00
Andrew McCallum
22d088ceeb
(TcpInPort _run_loops): Make it a Bag.
...
(TcpInPort _run_loop_modes): Remove ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1138 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:39:07 +00:00
Andrew McCallum
ae9d7fa426
Fix packet type.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1137 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:38:33 +00:00
Andrew McCallum
c48dcc8183
([TcpInPort +newForReceivingFromPortNumber:]): Initialize _run_loops.
...
([TcpInPort -addToRunLoop:forMode:]): Use new _run_loops Bag.
([TcpInPort -removeFromRunLoop:forMode:]): Likewise.
([TcpInPort -_connectedOutPortInvalidated:]): Likewise.
([TcpInPort -_addClientOutPort:]): Likewise.
([TcpInPort -dealloc]): Release _run_loops.
([TcpOutPort -outPacketClass]): Method renamed from -packetClass.
([TcpOutPort +outPacketClass]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1136 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:38:16 +00:00
Andrew McCallum
e6637ea4b5
([RunLoop -removeFileDescriptor:forMode:]): Add debugging message.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1135 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:35:25 +00:00
Andrew McCallum
3b390395b2
([InPort -setReceivedPacketInvocation:]): Assert that
...
_packet_invocation isn't already set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1134 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:34:55 +00:00
Andrew McCallum
4009d73c8c
([NSGSet -member:]): Return value.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1133 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:34:37 +00:00
Andrew McCallum
28bd665d46
([ConstantIndexedCollection -firstObject]): Return nil if emtpy.
...
([ConstantIndexedCollection -lastObject]): Likewise.
([ConstantIndexedCollection -prevObjectWithEnumState:]): Use -1 to
deal with reversals at extremes.
([ConstantIndexedCollection -nextObjectWithEnumState:]): Use [self
count] to deal with reversals at extremes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1132 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:34:22 +00:00
Andrew McCallum
a4b77d360c
(in_port_2_ancestor): New static variable.
...
([Connection +initialize]): Initialize it.
([Connection +newForInPort:outPort:ancestorConnection:]): Use new
static variable to handle ancestor; (ignore ancestor argument; the
method name will be changed later). Set the in-port's packet
invocation to the Connection class. Don't call -addToRunLoop.. here,
the mechanics of it were already done above.
([Connection -addToRunLoop:forMode:]): Mark it as not implemented, for
now.
([Connection -runConnectionUntilDate:]): Don't add to run loop here.
([Connection +invokeWithObject:]): Make it a class method instead of
an instance method; alter contents appropriately for this.
([Connection -portIsInvalid:]): Look at in_port_2_ancestor and remove
ourselves if necessary.
([Connection -invalidate]): Don't remove ourselves from the run loop
here, because we may not be the only one listening. This still needs
fixing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1131 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:32:46 +00:00
Andrew McCallum
775eb86a05
([ConnectedEncoder -dismiss]): Fix typo in sendPacket: call.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1130 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:26:24 +00:00
Andrew McCallum
f2ccdab2ce
Several minor fixes to return types and return values.
...
([ReverseEnumerator -nextObject]): Pass pointer to enum_state.
([ConstantIndexedCollection -prevObjectWithEnumState:]): Method
overhauled.
([ConstantIndexedCollection -nextObjectWithEnumState:]): Likewise.
([ConstantIndexedCollection -newEnumState]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1129 72102866-910b-0410-8b05-ffd578937521
1996-03-12 20:39:58 +00:00
Andrew McCallum
b1eb75963d
Remove #include of objects/eltfuncs.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1126 72102866-910b-0410-8b05-ffd578937521
1996-03-12 19:48:47 +00:00
Andrew McCallum
a0e603c0cd
Remove #include of objects/collhash.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1125 72102866-910b-0410-8b05-ffd578937521
1996-03-12 19:48:05 +00:00
Andrew McCallum
8a6b87d429
Declare new methods and classes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1124 72102866-910b-0410-8b05-ffd578937521
1996-03-12 19:45:24 +00:00
Andrew McCallum
f9e74bde31
Declare new method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1123 72102866-910b-0410-8b05-ffd578937521
1996-03-12 19:45:11 +00:00