ChangeLog 11 KB

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