ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. 2004-08-04 Dick Porter <[email protected]>
  2. * Socket.cs: Update Connected state in Select and Poll; this is
  3. when we find out that non-blocking Connects succeed. Fixes bug
  4. 62398.
  5. 2004-07-28 Dick Porter <[email protected]>
  6. * Socket.cs: ReceiveFrom might not return a valid EndPoint. Patch
  7. by Nick Vaughan ([email protected]), fixes bug 61608.
  8. 2004-07-15 Dick Porter <[email protected]>
  9. * Socket.cs: Don't try and dereference a null array in Select()
  10. (possible if a descriptor list of length 0 was passed.) Patch by
  11. Nick Vaughan ([email protected]), fixes bug 61595.
  12. 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
  13. * Socket.cs: if'ed RemoveReferences calls.
  14. 2004-07-09 Dick Porter <[email protected]>
  15. * Socket.cs: Slight tweak to allow unknown objects to be returned
  16. by GetSocketOption().
  17. 2004-06-28 Gonzalo Paniagua Javier <[email protected]>
  18. * Socket.cs: connect on non-blocking sockets returns EINPROGRESS. Fixes
  19. bug #60811.
  20. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  21. * Socket.cs: wrong error code in connect and accept. EWOULDBLOCK is
  22. 10035. Fixes bug #60563.
  23. 2004-06-20 Gonzalo Paniagua Javier <[email protected]>
  24. * Socket.cs: fixed Accept for non-blocking sockets.
  25. 2004-06-10 Gert Driesen <[email protected]>
  26. * LingerOption.cs: marked field private to fix API signature
  27. * MulticastOption.cs: marked field private to fix API signature
  28. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  29. * Socket.cs: throw ArgumentNullException if all the list are null OR
  30. empty. Fixes bug #59632.
  31. 2004-05-21 Patrik Torstensson <[email protected]>
  32. * TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.
  33. (AcceptTcpClient): Don't create TcpClient before a
  34. connection is accepted.
  35. (LocalEndPoint): Use Server LocalEndPoint if connected
  36. otherwise use endpoint from ctor.
  37. (Init): Save end point, not server endpoint. This did
  38. cause TcpListener to ignore port sent via constructor.
  39. (Pending): Fixed wait time (method should return directly)
  40. (Start): Moved Bind here instead of Init method; old method
  41. caused us to bind ports even if the listener was stopped.
  42. (Stop): Null server when stopping
  43. 2004-05-13 Dick Porter <[email protected]>
  44. * UdpClient.cs:
  45. * TcpClient.cs: Public API fixes
  46. 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
  47. * Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.
  48. 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
  49. * Socket.cs: fix for BeginConnect and non-blocking sockets.
  50. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  51. * Socket.cs: Use assembly name const to load Mono.Posix.
  52. 2004-05-01 Gonzalo Paniagua Javier <[email protected]>
  53. * Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
  54. I will remove this once THE bug is hunted.
  55. 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
  56. * Socket.cs: added support for unmanaged asynchronous IO. Speed up
  57. error checking.
  58. * UdpClient.cs: fixed Dispose so that it only closes the socket when
  59. called explicitly.
  60. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  61. * Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
  62. Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
  63. when the socket is non-blocking before getting EWOULDBLOCK error.
  64. 2004-04-08 Dick Porter <[email protected]>
  65. * Socket.cs: Rearrange the internal calls so that the exceptions
  66. are thrown from managed code
  67. 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
  68. * Socket.cs: when Dispose (bool) is called from the finalizer, always
  69. do the cleanup. Fixes yet another nullref with xsp.
  70. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  71. * Socket.cs: implemented IOControl.
  72. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  73. * Socket.cs: use the threadpool for asynchronous calls instead of
  74. creating new threads.
  75. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  76. * Socket.cs: added locks around waithandle assign and comparison in
  77. class Worker. Handle other exceptions than SocketException for
  78. non-blocking sockets.
  79. 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
  80. * Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
  81. bug #53168. Avoid the creation of the ManualResetEvent in class Worker
  82. whenever possible.
  83. 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
  84. * Socket.cs: if we have a pending async event, delay socket closing
  85. until EndX is called. Fixes bug #53229. Check parameters and if the
  86. socket has been disposed. Implemented IDisposable explicitly. The
  87. threads created have IsBackground = true now.
  88. 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
  89. * Socket.cs: patch from Brad Fitzpatrick <[email protected]> episode 2.
  90. 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
  91. * Socket.cs: fix for several asynchronous methods to delay exception
  92. throwing. Patch by Brad Fitzpatrick <[email protected]>.
  93. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  94. * TcpListener.cs: get the LocalEndPoint from the socket after binding.
  95. Fixes bug #52329.
  96. 2003-10-20 Miguel de Icaza <[email protected]>
  97. * TcpClient.cs: Fix void Dispose (bool disposing) to follow the
  98. pattern. It was shutting down the managed resources even in the
  99. finalizer case, it should only do that when called from
  100. IDisposable.Dipose.
  101. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  102. * NetworkStream.cs: Added [In,Out] attributes to Read method.
  103. 2003-08-24 Gonzalo Paniagua Javier <[email protected]>
  104. * TcpListener.cs: various fixes to make the new tests pass. Closes
  105. bug #47848.
  106. 2003-08-10 Miguel de Icaza <[email protected]>
  107. * UdpClient.cs (Receive): Fix Bug 45633; We should do a blocking
  108. call until a datagram is arrives from the remote host. This
  109. removes the 512 "magic" buffer size when we did not have any data.
  110. 2003-07-31 Gonzalo Paniagua Javier <[email protected]>
  111. * NetworkStream.cs:
  112. * Socket.cs: fixed array boundary checks. 0 sized arrays are allowed.
  113. 2003-07-18 Andreas Nahr <[email protected]>
  114. * Socket.cs: Added GetHashCode method
  115. 2003-07-14 Jerome Laban <[email protected]>
  116. * Socket.cs:
  117. * ProtocolType.cs:
  118. * SocketOptionLevel.cs:
  119. * TcpListener.cs:
  120. * TcpClient.cs:
  121. * UdpClient.cs:
  122. Added IPv6 support.
  123. * IPv6MulticastOption.cs: Added for IPv6 support.
  124. 2003-05-16 Dick Porter <[email protected]>
  125. * Socket.cs: Use Mono.Posix.UnixEndPoint if its available
  126. 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
  127. * MulticastOption.cs: patch by Jerome Laban included in bug #42393.
  128. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  129. * Socket.cs:
  130. (Select): don't create arrays if not needed.
  131. (Poll): call Select_internal directly.
  132. Warning: you need an up to date runtime for this to work!
  133. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  134. * UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
  135. Added more checks and throws.
  136. Small fixes in Send to avoid duplicating the buffer.
  137. Moved CheckIfDisposed calls to the start of the methods instead of doing
  138. the check inside a finally clause.
  139. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  140. * Socket.cs:
  141. (SendTo): fix from Jerome Laban <[email protected]>.
  142. 2003-02-28 Gonzalo Paniagua Javier <[email protected]>
  143. * Socket.cs: patch from Elan Feingold <[email protected]>. Fixes
  144. NullReferenceException when the callback is null.
  145. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  146. * NetworkStream.cs: allow 0 size array in Write.
  147. 2003-02-16 Gonzalo Paniagua Javier <[email protected]>
  148. * Socket.cs: make Worker.Connect and Receive work with non-blocking
  149. sockets. May be Receive* and Send* in Worker need to do the same. I'll
  150. wait for bug reports. Set IsCompleted to true before invoking the end
  151. callback. Fixes bug #38136.
  152. 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
  153. * NetworkStream.cs: the check for disposed should not be done in the
  154. finally clause.
  155. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  156. * UdpClient.cs: fixed bug #36226.
  157. 2002-11-13 Dick Porter <[email protected]>
  158. * Socket.cs: Only close the socket in one place, ie the Dispose
  159. method. Fixes bug 32054.
  160. 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
  161. * Socket.cs: offset == size == 0 it's ok in Send ().
  162. 2002-11-03 Phillip Pearson <[email protected]>
  163. * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client
  164. property, which now sets stream to null (it's set by GetStream()). This
  165. should make GetStream() work on a TcpClient which has had the socket set
  166. by assignment to the Client property, not only one that has been created
  167. by TcpListener.AcceptTcpClient().
  168. 2002-10-08 Dick Porter <[email protected]>
  169. * Socket.cs:
  170. * NetworkStream.cs: Bounds checking fixes, and better exception
  171. texts. Changes by [email protected] (Timothy J. Mills).
  172. 2002-10-03 Dick Porter <[email protected]>
  173. * TcpClient.cs: NoDelay is a TCP option, not Socket
  174. 2002-09-16 Miguel de Icaza <[email protected]>
  175. * SocketFlags.cs: Add missing enumeration.
  176. * UdpClient.cs: Make Dispose private.
  177. 2002-08-20 Dick Porter <[email protected]>
  178. * Socket.cs: Fix deadlock when the AsyncResult callback calls
  179. End*(). Set the async request's worker property so it can return
  180. results. These two fixes combined fix bug 28092.
  181. 2002-06-24 Dick Porter <[email protected]>
  182. * Socket.cs: Make SetSocketOption cope with boolean values (they
  183. are passed as objects, not the ints the runtime was expecting)
  184. 2002-05-17 Lawrence Pit <[email protected]>
  185. * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
  186. * NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
  187. routines, added checks for disposed state.
  188. * UdpClient.cs: commented out GetHashCode and Equals as it's not
  189. overriden in ms.net implementation.
  190. 2002-05-17 Jaroslaw Kowalski <[email protected]>
  191. * TcpClient.cs: fixed SetTcpClient so that
  192. TcpListener.AcceptTcpClient works and allows
  193. you to call GetStream() on its result
  194. 2002-04-24 Dick Porter <[email protected]>
  195. * Socket.cs (Poll): Give correct argument to Select(), as spotted
  196. by Jaroslaw Kowalski <[email protected]>
  197. 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
  198. * UdpClient.cs: implemented.
  199. 2002-04-02 Dick Porter <[email protected]>
  200. * TcpListener.cs: in Start(), set the socket listen backlog value
  201. to a sane value (noticed by Jonathan Stowe <[email protected]>)
  202. 2002-02-13 Dick Porter <[email protected]>
  203. * Socket.cs: Implemenent Select, Blocking, Connected,
  204. GetSocketOption, Poll, SetSocketOption and Shutdown
  205. * MulticastOption.cs:
  206. * LingerOption.cs: Delete override methods that don't need to be
  207. implemented
  208. 2002-01-23 Miguel de Icaza <[email protected]>
  209. * NetworkStream.cs: Implement class.
  210. 2002-01-23 Dick Porter <[email protected]>
  211. * SocketException.cs: Implemented
  212. * Socket.cs: Implemented most methods
  213. * LingerOption.cs: Made compile
  214. * AddressFamily.cs: Removed empty auto-generated comments
  215. 2002-01-17 Miguel de Icaza <[email protected]>
  216. * SocketException.cs: Reimplemented.
  217. 2002-01-06 Ravi Pratap <[email protected]>
  218. * ChangeLog : Add to this directory.
  219. * SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
  220. attribute decoration.