ChangeLog 12 KB

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