ChangeLog 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. 2003-07-15 Andreas Nahr <[email protected]>
  2. * ChunkStream.cs: Removed unused members
  3. * IPAddress.cs: Removed unused exception variable, fixes compiler warning
  4. * WebConnection.cs: Removed unused exception variables, fixes compiler warnings
  5. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  6. * NetConfig.cs: If Clone method is not public, then it must use
  7. explicit interface method implementation syntax.
  8. 2003-07-14 Jerome Laban <[email protected]>
  9. * Dns.cs: Reworked indentation.
  10. Added IPv6 support.
  11. Added literal address checking in GetHostByAddress.
  12. Changed Dns.Resolve behavior.
  13. * IPAddress.cs:
  14. * IPEndPoint.cs: Added IPv6 support.
  15. * IPv6Address.cs: Added address compression.
  16. * NetConfig.cs: Added configuration section.
  17. 2003-07-14 Jerome Laban <[email protected]>
  18. * ServicePoint.cs: Removed Connect and GetEndPoint methods.
  19. Removed reverse resolution when uri is literal IP address.
  20. * WebConnection.cs: IPv6 compatibility update: Try to connect
  21. to all addresses returned by IPHostEntry.
  22. * WebConnectionGroup.cs: Removed unused parameter.
  23. 2003-07-13 Andreas Nahr <[email protected]>
  24. * WebProxy.cs: Add serialization/ deserialization support
  25. 2003-07-10 Andreas Nahr <[email protected]>
  26. * ProxyUseType.cs:
  27. * WebStatus.cs: Deleted (do not exist in this assembly)
  28. * IPv6Address.cs: Made internal
  29. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  30. * HttpWebRequest.cs:
  31. * ServicePointManager.cs:
  32. * WebConnection.cs: added support for proxies.
  33. 2003-07-05 Andreas Nahr <[email protected]>
  34. * DnsPermissionAttribute.cs:
  35. * SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute
  36. 2003-07-05 Andreas Nahr <[email protected]>
  37. * WebPermission.cs: Added and partially implemented
  38. * WebPermissionAttribute.cs: Added and implemented
  39. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  40. * WebClient.cs: fixed bug #45651.
  41. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  42. * WebClient.cs: Small fix by Sebastian <[email protected]>.
  43. 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
  44. * WebConnection.cs: fixed header writing the reusing a connection and
  45. the server does not send 100-continue response.
  46. 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
  47. * WebConnection.cs: close the socket and connection when disposing.
  48. * WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
  49. when creating instances.
  50. * HttpWebRequest.cs:
  51. * HttpWebResponse.cs:
  52. * FileWebRequest.cs: support serialization.
  53. * FileWebResponse.cs: support serialization and fixed dispose checks.
  54. * FileWebRequestCreator.cs:
  55. * HttpRequestCreator.cs: added internal .ctor.
  56. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  57. * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
  58. called before asyncWrite.SetCompleted, to make sure that the waiting
  59. thread does not start to send more information before
  60. SendRequestHeaders has finished.
  61. 2003-06-22 Lluis Sanchez Gual <[email protected]>
  62. * WebConnectionStream.cs: Only increment pendingReads if an asynchronous
  63. read is really needed.
  64. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  65. * WebHeaderCollection.cs: prevent duplication headers used niternally.
  66. 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
  67. * HttpWebRequest.cs: if CookieContainer has not been set, make
  68. HttpWebResponse ignore Set-Cookie* headers.
  69. * HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
  70. CookieContainer have been provided to the request.
  71. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  72. * AuthenticationManager.cs: get the list of authentication modules from
  73. the configuration files. Added Clear and fixed Unregister.
  74. * BasicClient.cs: fully implemented.
  75. * HttpWebRequest.cs: added support for Basic authentication when
  76. credentials are set.
  77. * NetworkCredential.cs: fixed GetCredential.
  78. 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
  79. * HttpWebRequest.cs: *really* take care of requestSent to prevent
  80. sending the same request twice.
  81. * WebAsyncResult.cs: don't close the handle. Just Reset.
  82. * WebConnectionStream.cs: removed unneeded line.
  83. 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
  84. * HttpWebRequest.cs: use InternalClose when we are not going to send the
  85. rest of the request stream because of an error after sending the
  86. headers.
  87. * WebConnection.cs: check for completion after setting the response.
  88. Enable reading in NextRead.
  89. * WebConnectionStream.cs: re-fixed the count for partially buffered
  90. reads. If the network stream returns 0 bytes, we're done.
  91. 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
  92. * WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
  93. special headers *after* the others.
  94. 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
  95. * WebConnectionStream.cs: when the read is partially filled from the
  96. initial buffer, add those bytes too. Thanks to Lluis for debugging this.
  97. 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
  98. * HttpWebRequest.cs: added ExpectContinue property.
  99. * WebConnection.cs: allow 100 Continue to be delayed after waiting for
  100. it.
  101. 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
  102. * HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
  103. is known not to respond to that.
  104. * ServicePoint.cs: added SendContinue property.
  105. * WebConnection.cs: only wait 2 seconds for a continue reply. If it
  106. timeouts, set SendContinue to false and proceeed sending data.
  107. * WebConnectionStream.cs: if 100-continue is not received and instead we
  108. get a 417 or anything else, don't send the data.
  109. * WebClient.cs: implemented all missing properties and methods except
  110. UploadFile.
  111. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  112. * FileWebRequestCreator.cs: splitted from WebRequest.
  113. * HttpRequestCreator.cs: splitted fromWebRequest.
  114. * WebRequest.cs: added methods that are used by the new configuration
  115. handler to set prefix/type name requests creators.
  116. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  117. * AuthenticationManager.cs:
  118. * Authorization.cs:
  119. * BasicClient.cs: new file.
  120. * ChunkStream.cs: new file.
  121. * Cookie.cs:
  122. * CookieContainer.cs:
  123. * GlobalProxySelection.cs:
  124. * HttpWebRequest.cs:
  125. * HttpWebResponse.cs:
  126. * IAuthenticationModule.cs:
  127. * ServicePoint.cs:
  128. * ServicePointManager.cs:
  129. * WebAsyncResult.cs: new file.
  130. * WebConnection.cs: new file.
  131. * WebConnectionData.cs: new file.
  132. * WebConnectionGroup.cs: new file.
  133. * WebConnectionStream.cs: new file.
  134. * WebException.cs:
  135. * WebHeaderCollection.cs:
  136. * WebProxy.cs:
  137. * WebResponse.cs:
  138. Reworked HttpWebRequest and related classes.
  139. 2003-05-30 Miguel de Icaza <[email protected]>
  140. * HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
  141. InternalServerError (500)
  142. 2003-05-29 Miguel de Icaza <[email protected]>
  143. * HttpWebRequest.cs (Close): Move the code that accumulates the
  144. output to Close from Flush. Flush could have been called in the
  145. middle of the processing, and would have generated invalid results
  146. (which it did).
  147. 2003-05-23 Zoltan Varga <[email protected]>
  148. * Dns.cs (GetHostByAddress): Return the local host when called with
  149. IF_ANY.
  150. 2003-04-29 Miguel de Icaza <[email protected]>
  151. * WebClient.cs (DownloadData): Close the underlyng stream.
  152. (DownloadFile): Use using, so the file gets closed.
  153. 2003-04-24 Miguel de Icaza <[email protected]>
  154. * WebClient.cs (DownloadData): Instead of using a MemoryStream,
  155. keep track of all the small chunks in an ArrayList. The
  156. MemoryStream had the property of reallocating itself, and the
  157. problem was that MemoryStream.GetBuffer would return the buffer
  158. (correctly), but not something of the right size. So clients of
  159. DownloadData would get the extra unused bytes as part of the
  160. result.
  161. The solution would have been to make another copy at this point,
  162. instead, we only keep the small allocations around in the
  163. ArrayList, and we only do one large allocation at the end.
  164. * HttpWebResponse.cs: If there is a Content-Length header, pass
  165. this information to our HttpWebResponseStream, so it knows when to
  166. stop, instead of waiting for the stream to be shut down by the
  167. other end.
  168. * HttpWebRequest.cs: Only set the `delay-header-writing' mode on
  169. the underlying stream if the method will do a content transfer and
  170. no Content-Length was provided. If not (HEAD and GET or
  171. Content-Length provided), keep going.
  172. 2003-04-23 Miguel de Icaza <[email protected]>
  173. * HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
  174. the ContentLength specified on the request. If that happens, we
  175. have to accumulate all the data written, and once we accumulate
  176. the data, we send it off.
  177. Notice that the documentation in .NET is actually incorrect, they
  178. state that setting ContentLength is mandatory. It is not.
  179. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  180. * HttpWebResponse.cs: fixes bug #41180.
  181. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  182. * HttpWebRequest.cs: throw an exception is the response code is >= 300.
  183. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  184. * HttpWebRequest.cs: implemented IDisposable, make the request stream
  185. read only. Changed the way of disposing the socket.
  186. * HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
  187. handle chunked transfer encoding (no more hangs), added serialization
  188. stuff, call CheckDisposed at the beginning of methods/properties (not
  189. in a finally clause).
  190. 2003-02-17 Nick Drochak <[email protected]>
  191. * WebClient.cs : Implemented Credentials property.
  192. 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
  193. * SocketAddress.cs: byte 1 of the data is the high byte of the family,
  194. not the size.
  195. 2003-01-29 Atsushi Enomoto <[email protected]>
  196. * WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.
  197. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  198. * HttpWebRequest.cs: applied patch from Tim Haynes
  199. ([email protected]).
  200. Avoided double-sending of the request to the server when both
  201. GetRequestStream() and GetResponse() are called.
  202. System Header attributes survive the Headers attribute set.
  203. Added handling of Connection: KeepAlive/Close
  204. 2002-10-03 Dick Porter <[email protected]>
  205. * Dns.cs: Fixed GetHostName()
  206. 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
  207. * HttpWebRequest.cs:
  208. * HttpWebResponse.cs: applied another patch from Shahms E. King
  209. ([email protected]).
  210. 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
  211. * HttpWebRequest.cs:
  212. * HttpWebResponse.cs: applied patch from Shahms E. King
  213. ([email protected]).
  214. 2002-05-29 Lawrence Pit <[email protected]>
  215. * MonoHttpDate.cs: added
  216. * HttpWebRequest.cs: using MonoHttpDate
  217. * HttpWebResponse.cs: using MonoHttpDate
  218. * DnsPermission.cs: correct XML output
  219. * SocketPermission.cs: correct XML output
  220. 2002-05-21 Lawrence Pit <[email protected]>
  221. * WebClient.cs: stubbed
  222. * WebProxy.cs: fixed bug; had to change internal representation
  223. of bypasslist to ArrayList, different implementation of checking
  224. regex's.
  225. 2002-05-20 Lawrence Pit <[email protected]>
  226. * WebProxy.cs: added, implemented
  227. * ServicePoint.cs: implemented most
  228. * ServicePointManager.cs: implemented
  229. * HttpWebRequest.cs: started implementation
  230. * HttpWebResponse.cs: improved disposable routines
  231. * FileWebRequest.cs: slight improvement of Close method
  232. 2002-05-19 Lawrence Pit <[email protected]>
  233. * FileWebRequest.cs: finished implementation of async methods.
  234. * FileWebResponse.cs: improved disposable routines.
  235. * IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods,
  236. byte ordering of address was backwards.
  237. 2002-05-13 Lawrence Pit <[email protected]>
  238. * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
  239. relying on standard asynchronous delegate features. Added checks for
  240. null strings.
  241. * HttpWebResponse.cs: implemented properties
  242. * FileWebResponse.cs: improved the way resources are disposed.
  243. * FileWebRequest.cs: started implementation of asynchronous methods
  244. * ServicePointManager.cs: implemented properties
  245. 2002-05-12 Lawrence Pit <[email protected]>
  246. * HttpWebRequest.cs: properties implemented
  247. * HttpWebResponse.cs: added
  248. * GlobalProxySelection.cs: implemented
  249. * FileWebResponse.cs: added
  250. * FileWebRequest.cs: some methods implemented
  251. 2002-05-11 Lawrence Pit <[email protected]>
  252. * WebHeaderCollection.cs: implemented
  253. * WebRequest.cs: implemented
  254. * FileWebRequest.cs and HttpWebRequest.cs stubs added
  255. 2002-05-09 Lawrence Pit <[email protected]>
  256. * Rewrote IPAddress.Parse method, passing all unit tests
  257. 2002-05-09 Lawrence Pit <[email protected]>
  258. * fixed bug in IPEndPoint.Equals method
  259. * fixed bug in IPAddress.Parse method
  260. * fixed bug in IPAddress.SwapLong method
  261. * fixed several bugs in Cookie.cs
  262. 2002-05-06 Lawrence Pit <[email protected]>
  263. * WebRequest.cs: added
  264. * WebResponse.cs: implemented
  265. * WebException.cs: implemented
  266. * WebHeaderCollection.cs: added
  267. * HttpVersion.cs: implemented
  268. * HttpContinueDelegate.cs: added
  269. * IWebProxy.cs: added
  270. * IWebRequestCreate.cs: added
  271. * ICertificatePolicy.cs: added
  272. * ServicePoint.cs: stubbed
  273. * ServicePointManager.cs: stubbed
  274. * CookieContainer.cs: added
  275. * Authorization.cs: implemented
  276. 2002-05-05 Lawrence Pit <[email protected]>
  277. * CredentialCache.cs: implemented
  278. 2002-05-05 Lawrence Pit <[email protected]>
  279. * IPAddress.cs: fixed IsLoopback, address was already in host order
  280. 2002-05-05 Lawrence Pit <[email protected]>
  281. * IPv6Address.cs: added (note: not part of .net spec)
  282. 2002-05-01 Lawrence Pit <[email protected]>
  283. * DnsPermission.cs: implemented
  284. * DnsPermissionAttribute.cs: implemented
  285. 2002-04-28 Lawrence Pit <[email protected]>
  286. * EndpointPermission.cs: implemented
  287. * SocketPermission.cs: implemented
  288. * SocketPermissionAttribute.cs: implemented
  289. * ProtocolViolationException.cs: implemented
  290. * Dns.c: passing w32 error code when no host found
  291. 2002-04-27 Lawrence Pit <[email protected]>
  292. * Cookie.cs: implemented
  293. * CookieCollection.cs: implemented
  294. * CookieException.cs: implemented
  295. 2002-04-24 Gonzalo Paniagua Javier <[email protected]>
  296. * IPAddress.cs: initialize the read only fields with Parse().
  297. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  298. * IPAddress.cs: little changes to behave as MS.
  299. 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
  300. * Dns.cs (Resolve): behave as MS. Agreed with Mads.
  301. 2002-04-17 Gonzalo Paniagua Javier <[email protected]>
  302. * IPAddress.cs: the icalls for sockets are endianness-aware. So I
  303. changed a few things. Also included a workaround for bug #23547.
  304. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  305. * IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
  306. by Paolo) instead of guessing the endianness.
  307. * SocketAddress.cs: implemented Equals() and GetHashcode().
  308. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  309. * IPEndPoint.cs: modifications to constructors according to the
  310. specifications (suggested by Lawrence Pit).
  311. 2002-04-15 Patrik Torstensson <[email protected]>
  312. * IPEndPoint.cs: Fixed build breaker.
  313. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  314. * IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
  315. complete.
  316. 2002-04-15 Gonzalo Paniagua Javier <[email protected]>
  317. * IPAddress.cs: finished all MonoTODO's. Use network order to store
  318. the address. Check for max and min values in Address:set. IsLoopback()
  319. returns now true for all 127.x.y.z. Some more checks in Parse ().
  320. Some changes to behave as MS does.
  321. 2002-02-24 Duncan Mak <[email protected]>
  322. * ICredentialLookup.cs: Added the GetCredential method to the
  323. interface. The interface is named "ICredentials", should this file
  324. be renamed?
  325. * NetworkCredential.cs: Added to CVS. Need to investigate on how
  326. GetCredential() works
  327. 2002-01-23 Dick Porter <[email protected]>
  328. * SocketAddress.cs: Implemented.
  329. * IPEndPoint.cs: Turned 'Address' field into a real property.
  330. Implemented Create() and Serialize() methods.
  331. * IPAddress.cs: Fixed class constructor, turned 'Address' field
  332. into a real property. Removed undocumented "public
  333. IPAddress(string)" constructor.
  334. * EndPoint.cs: Implemented. All methods return
  335. NotSupportedException to enforce subclass overriding.
  336. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin
  337. P/Invokes with portable internal calls.
  338. 2002-01-17 Miguel de Icaza <[email protected]>
  339. * Dns.cs: Updated to API changes.
  340. * IPAddress.cs: Updated API. Much left to implement.
  341. * Dns.cs: Remove IPToString method
  342. 2002-01-06 Ravi Pratap <[email protected]>
  343. * Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
  344. attribute insertion.
  345. 2001-11-22 Nick Drochak <[email protected]>
  346. * IPAddress.cs: Fix constructor bug, properly name Address property,
  347. and use triple-slash for comments.
  348. 2001-11-20 Miguel de Icaza <[email protected]>
  349. * IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
  350. None as suggested by Phillip.
  351. 2001-09-26 Mads Pultz <[email protected]>
  352. * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
  353. 2001-09-24 Mads Pultz <[email protected]>
  354. * Dns.cs: Minor changes (some print statements removed)
  355. 2001-09-23 Mads Pultz <[email protected]>
  356. * Dns.cs: Initial work submitted to repository.
  357. * IPHostEntry.cs: Initial work submitted to repository.
  358. 2001-07-12 Sean MacIsaac <[email protected]>
  359. * Authorization.cs: Fixed compiler error.
  360. * IAuthenticationModule.cs: Changes for Beta2.
  361. * IPAddress.cs: Internal storage changed to be uint not int.
  362. * IPEndPoint.cs: Fixed compiler error.
  363. * EndPoint.cs: Fixed compiler error.
  364. * AuthenticationManager.cs: Fixed typo.