ChangeLog 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227
  1. Version 7.19.5 [requires libcurl-7.19.0 or better] - 2014-07-12
  2. ---------------------------------------------------------------
  3. * Documentation greatly improved. Quickstart guide added.
  4. * pycurl.Curl, pycurl.CurlMulti and pycurl.CurlShare are now classes
  5. rather than factory functions. Previously, the classes were "hidden"
  6. (they were accessible as e.g. type(pycurl.Curl()), but could not be
  7. instantiated, nor could class methods be obtained from the classes.
  8. Please see this mailing list post for further information:
  9. http://curl.haxx.se/mail/curlpython-2014-06/0004.html
  10. * When passing a file-like object to READDATA option, PycURL was
  11. mistakenly looking for write method on this object. Now read method
  12. is looked up, as would be expected.
  13. * Python 3.4 is now officially supported.
  14. * Windows packages now build libcurl against zlib.
  15. * CherryPy is no longer required for the test suite, ssl module from
  16. the Python standard library is used instead.
  17. * Fixed a reference leak of SOCKET and TIMER callbacks on
  18. CurlMulti instances, thanks to Ben Darnell.
  19. * Fixed build against openssl on cygwin, where pycurl needs to link
  20. against libcrypto rather than libssl.
  21. * Added CURLOPT_SSH_KNOWNHOSTS (libcurl 7.19.6+).
  22. * Added CURLE_FTP_ACCEPT_FAILED (libcurl 7.24.0+).
  23. * Added CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION (libcurl 7.21.5+).
  24. * Added CURL_SEEKFUNC_OK, CURL_SEEKFUNC_FAIL and
  25. CURL_SEEKFUNC_CANTSEEK. All contstants require libcurl 7.19.5+;
  26. numeric values of CURL_SEEKFUNC_OK and CURL_SEEKFUNC_FAIL were
  27. understood earlier but constants only exist as of libcurl 7.19.5.
  28. * Added CURLINFO_CONDITION_UNMET (libcurl 7.19.4+).
  29. * Added CURLPROXY_HTTP_1_0 (libcurl 7.19.4+).
  30. * Added CURLOPT_SOCKS5_GSSAPI_SERVICE and
  31. CURLOPT_SOCKS5_GSSAPI_NEC (libcurl 7.19.4+).
  32. * Added CURLOPT_TFTP_BLKSIZE (libcurl 7.19.4+).
  33. * Added CURLOPT_PROTOCOLS, CURLOPT_REDIR_PROTOCOLS and associated
  34. CURLPROTO_* constants, which require libcurl 7.19.4+.
  35. * Fixed a reference leak of OPENSOCKET and SEEK callbacks, thanks to
  36. Ben Darnell.
  37. * C source is now split into several files.
  38. * Documentation is now processed by sphinx.
  39. Version 7.19.3.1 [requires libcurl-7.19.0 or better] - 2014-02-05
  40. -----------------------------------------------------------------
  41. * Added --avoid-stdio setup.py option to avoid passing FILE
  42. pointers from Python to libcurl. Applies to Python 2 only.
  43. * Added CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE,
  44. CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS
  45. CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_MAX_TOTAL_CONNECTIONS
  46. multi options (patch by Jakob Truelsen).
  47. * SSL detection logic changed to consult `curl-config --static-libs`
  48. even if `curl-config --libs` succeeded. This should achieve
  49. pre-7.19.3 behavior with respect to automatic SSL detection
  50. (patch by Andjelko Horvat).
  51. Version 7.19.3 [requires libcurl-7.19.0 or better] - 2014-01-09
  52. ---------------------------------------------------------------
  53. * Added CURLOPT_NOPROXY.
  54. * Added CURLINFO_LOCAL_PORT, CURLINFO_PRIMARY_PORT and
  55. CURLINFO_LOCAL_IP (patch by Adam Jacob Muller).
  56. * When running on Python 2.x, for compatibility with Python 3.x,
  57. Unicode strings containing ASCII code points only are now accepted
  58. in setopt() calls.
  59. * PycURL now requires that compile time SSL backend used by libcurl
  60. is the same as the one used at runtime. setup.py supports
  61. --with-ssl, --with-gnutls and --with-nss options like libcurl does,
  62. to specify which backend libcurl uses. On some systems PycURL can
  63. automatically figure out libcurl's backend.
  64. If the backend is not one for which PycURL provides crypto locks
  65. (i.e., any of the other backends supported by libcurl),
  66. no runtime SSL backend check is performed.
  67. * Default PycURL user agent string is now built at runtime, and will
  68. include the user agent string of libcurl loaded at runtime rather
  69. than the one present at compile time.
  70. * PycURL will now use WSAduplicateSocket rather than dup on Windows
  71. to duplicate sockets obtained from OPENSOCKETFUNCTION.
  72. Using dup may have caused crashes, OPENSOCKETFUNCTION should
  73. now be usable on Windows.
  74. * A new script, winbuild.py, was added to build PycURL on Windows
  75. against Python 2.6, 2.7, 3.2 and 3.3.
  76. * Added CURL_LOCK_DATA_SSL_SESSION (patch by Tom Pierce).
  77. * Added E_OPERATION_TIMEDOUT (patch by Romuald Brunet).
  78. * setup.py now handles --help argument and will print PycURL-specific
  79. configuration options in addition to distutils help.
  80. * Windows build configuration has been redone:
  81. PYCURL_USE_LIBCURL_DLL #define is gone, use --use-libcurl-dll
  82. argument to setup.py to build against a libcurl DLL.
  83. CURL_STATICLIB is now #defined only when --use-libcurl-dll is not
  84. given to setup.py, and PycURL is built against libcurl statically.
  85. --libcurl-lib-name option can be used to override libcurl import
  86. library name.
  87. * Added CURLAUTH_DIGEST_IE as pycurl.HTTPAUTH_DIGEST_IE.
  88. * Added CURLOPT_POSTREDIR option and CURL_REDIR_POST_301,
  89. CURL_REDIR_POST_302, CURL_REDIR_POST_303 and CURL_REDIR_POST_ALL
  90. constants. CURL_REDIR_POST_303 requires libcurl 7.26.0 or higher,
  91. all others require libcurl 7.19.1 or higher.
  92. * As part of Python 3 support, WRITEDATA option now accepts
  93. any object with a write method on Python 2 and Python 3.
  94. For non-file objects, c.setopt(c.WRITEDATA, buf) is equivalent to
  95. c.setopt(c.WRITEFUNCTION, buf.write).
  96. * PycURL now supports Python 3.1 through 3.3. Python 3.0 might
  97. work but it appears to ship with broken distutils, making virtualenv
  98. not function on it.
  99. * PycURL multi objects now have the multi constants defined on them.
  100. Previously the constants were only available on pycurl module.
  101. The new behavior matches that of curl and share objects.
  102. * PycURL share objects can now be closed via the close() method.
  103. * PycURL will no longer call `curl-config --static-libs` if
  104. `curl-config --libs` succeeds and returns output.
  105. Systems on which neither `curl-config --libs` nor
  106. `curl-config --static-libs` do the right thing should provide
  107. a `curl-config` wrapper that is sane.
  108. * Added CURLFORM_BUFFER and CURLFORM_BUFFERPTR.
  109. * pycurl.version and user agent string now include both
  110. PycURL version and libcurl version as separate items.
  111. * Added CURLOPT_DNS_SERVERS.
  112. * PycURL can now be dynamically linked against libcurl on Windows
  113. if PYCURL_USE_LIBCURL_DLL is #defined during compilation.
  114. * Breaking change: opensocket callback now takes an additional
  115. (address, port) tuple argument. Existing callbacks will need to
  116. be modified to accept this new argument.
  117. https://github.com/pycurl/pycurl/pull/18
  118. Version 7.19.0.3 [requires libcurl-7.19.0 or better] - 2013-12-24
  119. -----------------------------------------------------------------
  120. * Re-release of 7.19.0.2 with minor changes to build Windows packages
  121. due to botched 7.19.0.2 files on PyPi.
  122. http://curl.haxx.se/mail/curlpython-2013-12/0021.html
  123. Version 7.19.0.2 [requires libcurl-7.19.0 or better] - 2013-10-08
  124. -----------------------------------------------------------------
  125. * Fixed a bug in a commit made in 2008 but not released until 7.19.0.1
  126. which caused CURLOPT_POSTFIELDS to not correctly increment reference
  127. count of the object being given as its argument, despite libcurl not
  128. copying the data provided by said object.
  129. * Added support for libcurl pause/unpause functionality,
  130. via curl_easy_pause call and returning READFUNC_PAUSE from
  131. read callback function.
  132. Version 7.19.0.1 [requires libcurl-7.19.0 or better] - 2013-09-23
  133. -----------------------------------------------------------------
  134. * Test matrix tool added to test against all supported Python and
  135. libcurl versions.
  136. * Python 2.4 is now the minimum required version.
  137. * Source code, bugs and patches are now kept on GitHub.
  138. * Added CURLINFO_CERTINFO and CURLOPT_CERTINFO.
  139. * Added CURLOPT_RESOLVE.
  140. * PycURL can now be used with Python binaries without thread
  141. support.
  142. * gcrypt is no longer initialized when a newer version of gnutls
  143. is used.
  144. * Marked NSS as supported.
  145. * Fixed relative URL request logic.
  146. * Fixed a memory leak in util_curl_init.
  147. * Added CURLOPT_USERNAME and CURLOPT_PASSWORD.
  148. * Fixed handling of big timeout values.
  149. * Added GLOBAL_ACK_EINTR.
  150. * setopt(..., None) can be used as unsetopt().
  151. * CURLOPT_RANGE can now be unset.
  152. * Write callback can return -1 to signal user abort.
  153. * Reorganized tests into an automated test suite.
  154. * Added CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA.
  155. * Cleaned up website.
  156. * Fix pycurl.reset() (patch by <johansen at sun.com>).
  157. * Fix install routine in setup.py where
  158. certain platforms (Solaris, Mac OSX, etc)
  159. would search for a static copy of libcurl (dbp).
  160. * Fixed build on OpenSolaris 0906 and other platforms on which
  161. curl-config does not have a --static-libs option.
  162. * No longer keep string options copies in the
  163. Curl Python objects, since string options are
  164. now managed by libcurl.
  165. Version 7.19.0 [requires libcurl-7.19.0 or better]
  166. --------------------------------------------------
  167. * Added CURLFILE, ADDRESS_SCOPE and ISSUERCERT options,
  168. as well as the APPCONNECT_TIME info.
  169. * Added PRIMARY_IP info (patch by
  170. Yuhui H <eyecat at gmail.com>).
  171. * Added support for curl_easy_reset through a
  172. new 'reset' method on curl objects
  173. (patch by Nick Pilon <npilon at oreilly.com>).
  174. * Added support for OPENSOCKET callbacks.
  175. See 'tests/test_opensocket.py' for example
  176. usage (patch by Thomas Hunger <teh at camvine.com>).
  177. Version 7.18.2
  178. --------------
  179. * Added REDIRECT_URL info and M_MAXCONNECTS option
  180. (patch by Yuhui H <eyecat at gmail.com>).
  181. * Added socket_action() method to CurlMulti objects.
  182. See 'tests/test_multi_socket_select.py' for example
  183. usage (patch by Yuhui H <eyecat at gmail.com>).
  184. * Added AUTOREFERER option.
  185. * Allow resetting some list operations (HTTPHEADER,
  186. QUOTE, POSTQUOTE, PREQUOTE) by passing an empty
  187. list to setopt (patch by Jim Patterson).
  188. Version 7.18.1
  189. --------------
  190. * Added POST301, SSH_HOST_PUBLIC_KEY_MD5,
  191. COPYPOSTFIELDS and PROXY_TRANSFER_MODE options.
  192. * Check for static libs in setup.py to better detect
  193. whether libcurl was linked with OpenSSL or GNUTLS.
  194. * PycURL is now dual licensed under the LGPL and
  195. a license similar to the cURL license (an MIT/X
  196. derivative).
  197. Version 7.16.4
  198. --------------
  199. * Allow any callable object as the callback function.
  200. This change comes handy when you would like to use objects
  201. which are callable but are not functions or methods, for
  202. example those objects created by the functions in the functools
  203. module (patch by Daniel Pena Arteaga <dpena at ph.tum.de>).
  204. * Added NEW_DIRECTORY_PERMS and NEW_FILE_PERMS options.
  205. Version 7.16.2.1
  206. ----------------
  207. * Added IOCMD_NOP and IOCMD_RESTARTREAD for ioctl callback
  208. handling (patch by Mark Eichin).
  209. * Use Py_ssize_t where appropriate for Python 2.5 and 64-bit
  210. compatibility. This fixes the problem reported by Aaron
  211. Hill, where the exception "pycurl.error: (2, '')" is thrown
  212. when calling setopt(pycurl.POSTFIELDS,...) on 64-bit
  213. platforms.
  214. Version 7.16.2
  215. --------------
  216. * Added options HTTP_TRANSFER_DECODING, HTTP_CONTENT_DECODING,
  217. TIMEOUT_MS, CONNECTTIMEOUT_MS from libcurl 7.16.2.
  218. * Right-strip URLs read from files in the test scripts
  219. to avoid sending requests with '\n' at the end.
  220. Version 7.16.1
  221. --------------
  222. * Added constants for all libcurl (error) return codes. They
  223. are named the same as the macro constants in curl.h but prefixed
  224. with E_ instead of CURLE. Return codes for the multi API are
  225. prefixed with M_ instead of CURLM.
  226. * Added CURLOPT_FTP_SSL_CCC, CURLOPT_SSH_PUBLIC_KEYFILE,
  227. CURLOPT_SSH_PRIVATE_KEYFILE, CURLOPT_SSH_AUTH_TYPES.
  228. * Removed CLOSEPOLICY and friends since this option is now
  229. deprecated in libcurl.
  230. * Set the _use_datetime attribute on the CURLTransport class
  231. to unbreak xmlrpc_curl.py on Python 2.5.
  232. Version 7.16.0 [no public release]
  233. --------------
  234. * Added CURLOPT_SSL_SESSIONID_CACHE.
  235. * Removed SOURCE_* options since they are no longer
  236. supported by libcurl.
  237. Version 7.15.5.1
  238. ----------------
  239. * Added test for basic ftp usage (tests/test_ftp.py).
  240. * Fix broken ssl mutex lock function when using
  241. GNU TLS (Debian bug #380156, fix by Bastian Kleineidam)
  242. Version 7.15.5
  243. --------------
  244. * Added CURLOPT_FTP_ALTERNATIVE_TO_USER,
  245. CURLOPT_MAX_SEND_SPEED_LARGE,
  246. and CURLOPT_MAX_RECV_SPEED_LARGE.
  247. Version 7.15.4.2
  248. ----------------
  249. * Use SSL locking callbacks, fixes random
  250. crashes for multithreaded SSL connections
  251. (patch by Jayne <corvine at gmail.com>).
  252. Version 7.15.4.1
  253. ----------------
  254. * Fixed compilation problem with C compilers
  255. not allowing declarations in the middle of
  256. code blocks (patch by
  257. K.S.Sreeram <sreeram at tachyontech.net>).
  258. * Fixed bug in curl_multi_fdset wrapping,
  259. max_fd < 0 is not an error (patch by
  260. K.S.Sreeram <sreeram at tachyontech.net>).
  261. Version 7.15.4
  262. --------------
  263. * Added support for libcurl shares, patch from
  264. Victor Lascurain <bittor at eleka.net>. See the
  265. file tests/test_share.py for example usage.
  266. * Added support for CURLINFO_FTP_ENTRY_PATH.
  267. Version 7.15.2
  268. --------------
  269. * Added CURLOPT_CONNECT_ONLY, CURLINFO_LASTSOCKET,
  270. CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE.
  271. Version 7.15.1
  272. --------------
  273. 2006-01-31 Kjetil Jacobsen <kjetilja>
  274. * Fixed memory leak for getinfo calls that return a
  275. list as result. Patch by Paul Pacheco.
  276. Version 7.15.0
  277. --------------
  278. 2005-10-18 Kjetil Jacobsen <kjetilja>
  279. * Added CURLOPT_FTP_SKIP_PASV_IP.
  280. Version 7.14.1
  281. --------------
  282. 2005-09-05 Kjetil Jacobsen <kjetilja>
  283. * Added CURLOPT_IGNORE_CONTENT_LENGTH, CURLOPT_COOKIELIST as
  284. COOKIELIST and CURLINFO_COOKIELIST as INFO_COOKIELIST.
  285. Version 7.14.0
  286. --------------
  287. 2005-05-18 Kjetil Jacobsen <kjetilja>
  288. * Added missing information returned from the info() method
  289. in the high-level interface.
  290. * Added the FORM_FILENAME option to the CURLFORM API
  291. with HTTPPOST.
  292. Version 7.13.2
  293. --------------
  294. 2005-03-30 Kjetil Jacobsen <kjetilja>
  295. * Unbreak tests/test_gtk.py and require pygtk >= 2.0.
  296. 2005-03-15 Kjetil Jacobsen <kjetilja>
  297. * Cleaned up several of the examples.
  298. 2005-03-11 Kjetil Jacobsen <kjetilja>
  299. * WARNING: multi.select() now requires the previously optional
  300. timeout parameter. Updated the tests and examples to reflect
  301. this change. If the timeout is not set, select could block
  302. infinitely and cause problems for the internal timeout handling
  303. in the multi stack. The problem was identified by
  304. <unknownsoldier93 at yahoo.com>.
  305. Version 7.13.1
  306. --------------
  307. 2005-03-04 Kjetil Jacobsen <kjetilja>
  308. * Use METH_NOARGS where appropriate.
  309. 2005-03-03 Kjetil Jacobsen <kjetilja>
  310. * Added support for CURLFORM API with HTTPPOST: Supports a
  311. a tuple with pairs of options and values instead of just
  312. supporting string contents. See tests/test_post2.py
  313. for example usage. Options are FORM_CONTENTS, FORM_FILE and
  314. FORM_CONTENTTYPE, corresponding to the CURLFORM_* options,
  315. and values are strings.
  316. 2005-02-13 Markus F.X.J. Oberhumer <mfx>
  317. * Read callbacks (pycurl.READFUNCTION) can now return
  318. pycurl.READFUNC_ABORT to immediately abort the current transfer.
  319. * The INFILESIZE, MAXFILESIZE, POSTFIELDSIZE and RESUME_FROM
  320. options now automatically use the largefile version to handle
  321. files > 2GB.
  322. * Added missing pycurl.PORT constant.
  323. Version 7.13.0
  324. --------------
  325. 2005-02-10 Kjetil Jacobsen <kjetilja>
  326. * Added file_upload.py to examples, shows how to upload
  327. a file.
  328. * Added CURLOPT_IOCTLFUNCTION/DATA.
  329. * Added options from libcurl 7.13.0: FTP_ACCOUNT, SOURCE_URL,
  330. SOURCE_QUOTE.
  331. * Obsoleted options: SOURCE_HOST, SOURCE_PATH, SOURCE_PORT,
  332. PASV_HOST.
  333. Version 7.12.3
  334. --------------
  335. 2004-12-22 Markus F.X.J. Oberhumer <mfx>
  336. * Added CURLINFO_NUM_CONNECTS and CURLINFO_SSL_ENGINES.
  337. * Added some other missing constants.
  338. * Updated pycurl.version_info() to return a 12-tuple
  339. instead of a 9-tuple.
  340. Version 7.12.2
  341. --------------
  342. 2004-10-15 Kjetil Jacobsen <kjetilja>
  343. * Added CURLOPT_FTPSSLAUTH (and CURLFTPAUTH_*).
  344. * Added CURLINFO_OS_ERRNO.
  345. 2004-08-17 Kjetil Jacobsen <kjetilja>
  346. * Use LONG_LONG instead of PY_LONG_LONG to make pycurl compile
  347. on Python versions < 2.3 (fix from Domenico Andreoli
  348. <cavok at libero.it>).
  349. Version 7.12.1
  350. --------------
  351. 2004-08-02 Kjetil Jacobsen <kjetilja>
  352. * Added INFOTYPE_SSL_DATA_IN/OUT.
  353. 2004-07-16 Markus F.X.J. Oberhumer <mfx>
  354. * WARNING: removed deprecated PROXY_, TIMECOND_ and non-prefixed
  355. INFOTYPE constant names. See ChangeLog entry 2003-06-10.
  356. 2004-06-21 Kjetil Jacobsen <kjetilja>
  357. * Added test program for HTTP post using the read callback (see
  358. tests/test_post3.py for details).
  359. * Use the new CURL_READFUNC_ABORT return code where appropriate
  360. to avoid hanging in perform() when read callbacks are used.
  361. * Added support for libcurl 7.12.1 CURLOPT features:
  362. SOURCE_HOST, SOURCE_USERPWD, SOURCE_PATH, SOURCE_PORT,
  363. PASV_HOST, SOURCE_PREQUOTE, SOURCE_POSTQUOTE.
  364. 2004-06-08 Markus F.X.J. Oberhumer <mfx>
  365. * Setting CURLOPT_POSTFIELDS now allows binary data and
  366. automatically sets CURLOPT_POSTFIELDSIZE for you. If you really
  367. want a different size you have to manually set POSTFIELDSIZE
  368. after setting POSTFIELDS.
  369. (Based on a patch by Martin Muenstermann).
  370. 2004-06-05 Markus F.X.J. Oberhumer <mfx>
  371. * Added stricter checks within the callback handlers.
  372. * Unify the behaviour of int and long parameters where appropriate.
  373. Version 7.12
  374. ------------
  375. 2004-05-18 Kjetil Jacobsen <kjetilja>
  376. * WARNING: To simplify code maintenance pycurl now requires
  377. libcurl 7.11.2 and Python 2.2 or newer to work.
  378. * GC support is now always enabled.
  379. Version 7.11.3
  380. --------------
  381. 2004-04-30 Kjetil Jacobsen <kjetilja>
  382. * Do not use the deprecated curl_formparse function.
  383. API CHANGE: HTTPPOST now takes a list of tuples where each
  384. tuple contains a form name and a form value, both strings
  385. (see test/test_post2.py for example usage).
  386. * Found a possible reference count bug in the multithreading
  387. code which may have contributed to the long-standing GC
  388. segfault which has haunted pycurl. Fingers crossed.
  389. Version 7.11.2
  390. --------------
  391. 2004-04-21 Kjetil Jacobsen <kjetilja>
  392. * Added support for libcurl 7.11.2 CURLOPT features:
  393. CURLOPT_TCP_NODELAY.
  394. 2004-03-25 Kjetil Jacobsen <kjetilja>
  395. * Store Python longs in off_t with PyLong_AsLongLong instead
  396. of PyLong_AsLong. Should make the options which deal
  397. with large files behave a little better. Note that this
  398. requires the long long support in Python 2.2 or newer to
  399. work properly.
  400. Version 7.11.1
  401. --------------
  402. 2004-03-16 Kjetil Jacobsen <kjetilja>
  403. * WARNING: Removed support for the PASSWDFUNCTION callback, which
  404. is no longer supported by libcurl.
  405. 2004-03-15 Kjetil Jacobsen <kjetilja>
  406. * Added support for libcurl 7.11.1 CURLOPT features:
  407. CURLOPT_POSTFIELDSIZE_LARGE.
  408. Version 7.11.0
  409. --------------
  410. 2004-02-11 Kjetil Jacobsen <kjetilja>
  411. * Added support for libcurl 7.11.0 CURLOPT features:
  412. INFILESIZE_LARGE, RESUME_FROM_LARGE, MAXFILESIZE_LARGE
  413. and FTP_SSL.
  414. * Circular garbage collection support can now be enabled or
  415. disabled by passing the '--use-gc=[1|0]' parameter to setup.py
  416. when building pycurl.
  417. * HTTP_VERSION options are known as CURL_HTTP_VERSION_NONE,
  418. CURL_HTTP_VERSION_1_0, CURL_HTTP_VERSION_1_1 and
  419. CURL_HTTP_VERSION_LAST.
  420. 2003-11-16 Markus F.X.J. Oberhumer <mfx>
  421. * Added support for these new libcurl 7.11.0 features:
  422. CURLOPT_NETRC_FILE.
  423. Version 7.10.8
  424. --------------
  425. 2003-11-04 Markus F.X.J. Oberhumer <mfx>
  426. * Added support for these new libcurl 7.10.8 features:
  427. CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_IPRESOLVE,
  428. CURLOPT_MAXFILESIZE,
  429. CURLINFO_HTTPAUTH_AVAIL, CURLINFO_PROXYAUTH_AVAIL,
  430. CURL_IPRESOLVE_* constants.
  431. * Added support for these new libcurl 7.10.7 features:
  432. CURLOPT_FTP_CREATE_MISSING_DIRS, CURLOPT_PROXYAUTH,
  433. CURLINFO_HTTP_CONNECTCODE.
  434. 2003-10-28 Kjetil Jacobsen <kjetilja>
  435. * Added missing CURLOPT_ENCODING option (patch by Martijn
  436. Boerwinkel <xim at xs4all.nl>)
  437. Version 7.10.6
  438. --------------
  439. 2003-07-29 Markus F.X.J. Oberhumer <mfx>
  440. * Started working on support for CURLOPT_SSL_CTX_FUNCTION and
  441. CURLOPT_SSL_CTX_DATA (libcurl-7.10.6) - not yet finished.
  442. 2003-06-10 Markus F.X.J. Oberhumer <mfx>
  443. * Added support for CURLOPT_HTTPAUTH (libcurl-7.10.6), including
  444. the new HTTPAUTH_BASIC, HTTPAUTH_DIGEST, HTTPAUTH_GSSNEGOTIATE
  445. and HTTPAUTH_NTML constants.
  446. * Some constants were renamed for consistency:
  447. All curl_infotype constants are now prefixed with "INFOTYPE_",
  448. all curl_proxytype constants are prefixed with "PROXYTYPE_" instead
  449. of "PROXY_", and all curl_TimeCond constants are now prefixed
  450. with "TIMECONDITION_" instead of "TIMECOND_".
  451. (The old names are still available but will get removed
  452. in a future release.)
  453. * WARNING: Removed the deprecated pycurl.init() and pycurl.multi_init()
  454. names - use pycurl.Curl() and pycurl.CurlMulti() instead.
  455. * WARNING: Removed the deprecated Curl.cleanup() and
  456. CurlMulti.cleanup() methods - use Curl.close() and
  457. CurlMulti.close() instead.
  458. Version 7.10.5
  459. --------------
  460. 2003-05-15 Markus F.X.J. Oberhumer <mfx>
  461. * Added support for CURLOPT_FTP_USE_EPRT (libcurl-7.10.5).
  462. * Documentation updates.
  463. 2003-05-07 Eric S. Raymond <esr>
  464. * Lifted all HTML docs to clean XHTML, verified by tidy.
  465. 2003-05-02 Markus F.X.J. Oberhumer <mfx>
  466. * Fixed some `int' vs. `long' mismatches that affected 64-bit systems.
  467. * Fixed wrong pycurl.CAPATH constant.
  468. 2003-05-01 Markus F.X.J. Oberhumer <mfx>
  469. * Added new method Curl.errstr() which returns the internal
  470. libcurl error buffer string of the handle.
  471. Version 7.10.4.2
  472. ----------------
  473. 2003-04-15 Markus F.X.J. Oberhumer <mfx>
  474. * Allow compilation against the libcurl-7.10.3 release - some
  475. recent Linux distributions (e.g. Mandrake 9.1) ship with 7.10.3,
  476. and apart from the new CURLOPT_UNRESTRICTED_AUTH option there is
  477. no need that we require libcurl-7.10.4.
  478. Version 7.10.4
  479. --------------
  480. 2003-04-01 Kjetil Jacobsen <kjetilja>
  481. * Markus added CURLOPT_UNRESTRICTED_AUTH (libcurl-7.10.4).
  482. 2003-02-25 Kjetil Jacobsen <kjetilja>
  483. * Fixed some broken test code and removed the fileupload test
  484. since it didn't work properly.
  485. 2003-01-28 Kjetil Jacobsen <kjetilja>
  486. * Some documentation updates by Markus and me.
  487. 2003-01-22 Kjetil Jacobsen <kjetilja>
  488. * API CHANGE: the CurlMulti.info_read() method now returns
  489. a separate array with handles that failed. Each entry in this array
  490. is a tuple with (curl object, error number, error message).
  491. This addition makes it simpler to do error checking of individual
  492. curl objects when using the multi interface.
  493. Version 7.10.3
  494. --------------
  495. 2003-01-13 Kjetil Jacobsen <kjetilja>
  496. * PycURL memory usage has been reduced.
  497. 2003-01-10 Kjetil Jacobsen <kjetilja>
  498. * Added 'examples/retriever-multi.py' which shows how to retrieve
  499. a set of URLs concurrently using the multi interface.
  500. 2003-01-09 Kjetil Jacobsen <kjetilja>
  501. * Added support for CURLOPT_HTTP200ALIASES.
  502. 2002-11-22 Kjetil Jacobsen <kjetilja>
  503. * Updated pycurl documentation in the 'doc' directory.
  504. 2002-11-21 Kjetil Jacobsen <kjetilja>
  505. * Updated and improved 'examples/curl.py'.
  506. * Added 'tests/test_multi6.py' which shows how to use the
  507. info_read method with CurlMulti.
  508. 2002-11-19 Kjetil Jacobsen <kjetilja>
  509. * Added new method CurlMulti.info_read().
  510. Version 7.10.2
  511. --------------
  512. 2002-11-14 Kjetil Jacobsen <kjetilja>
  513. * Free options set with setopt after cleanup is called, as cleanup
  514. assumes that options are still valid when invoked. This fixes the
  515. bug with COOKIEJAR reported by Bastiaan Naber
  516. <bastiaan at ricardis.tudelft.nl>.
  517. 2002-11-06 Markus F.X.J. Oberhumer <mfx>
  518. * Install documentation under /usr/share/doc instead of /usr/doc.
  519. Also, start shipping the (unfinished) HTML docs and some
  520. basic test scripts.
  521. 2002-10-30 Markus F.X.J. Oberhumer <mfx>
  522. * API CHANGE: For integral values, Curl.getinfo() now returns a
  523. Python-int instead of a Python-long.
  524. Version 7.10.1
  525. --------------
  526. 2002-10-03 Markus F.X.J. Oberhumer <mfx>
  527. * Added new module-level function version_info() from
  528. libcurl-7.10.
  529. Version 7.10
  530. ------------
  531. 2002-09-13 Kjetil Jacobsen <kjetilja>
  532. * Added commandline options to setup.py for specifying the path to
  533. 'curl-config' (non-windows) and the curl installation directory
  534. (windows). See the 'INSTALL' file for details.
  535. * Added CURLOPT_ENCODING, CURLOPT_NOSIGNAL and CURLOPT_BUFFERSIZE
  536. from libcurl-7.10 (by Markus Oberhumer).
  537. Version 7.9.8.4
  538. ---------------
  539. 2002-08-28 Kjetil Jacobsen <kjetilja>
  540. * Added a simple web-browser example based on gtkhtml and pycurl.
  541. See the file 'examples/gtkhtml_demo.py' for details. The example
  542. requires a working installation of gnome-python with gtkhtml
  543. bindings enabled (pass --with-gtkhtml to gnome-python configure).
  544. 2002-08-14 Kjetil Jacobsen <kjetilja>
  545. * Added new method 'select' on CurlMulti objects. Example usage
  546. in 'tests/test_multi5.py'. This method is just an optimization of
  547. the combined use of fdset and select.
  548. 2002-08-12 Kjetil Jacobsen <kjetilja>
  549. * Added support for curl_multi_fdset. See the file
  550. 'tests/test_multi4.py' for example usage. Contributed by Conrad
  551. Steenberg <conrad at hep.caltech.edu>.
  552. * perform() on multi objects now returns a tuple (result, number
  553. of handles) like the libcurl interface does.
  554. 2002-08-08 Kjetil Jacobsen <kjetilja>
  555. * Added the 'sfquery' script which retrieves a SourceForge XML
  556. export object for a given project. See the file 'examples/sfquery.py'
  557. for details and usage. 'sfquery' was contributed by Eric
  558. S. Raymond <esr at thyrsus.com>.
  559. 2002-07-20 Markus F.X.J. Oberhumer <mfx>
  560. * API enhancements: added Curl() and CurlMulti() as aliases for
  561. init() and multi_init(), and added close() methods as aliases
  562. for the cleanup() methods. The new names much better match
  563. the actual intended use of the objects, and they also nicely
  564. correspond to Python's file object.
  565. * Also, all constants for Curl.setopt() and Curl.getinfo() are now
  566. visible from within Curl objects.
  567. All changes are fully backward-compatible.
  568. Version 7.9.8.3
  569. ---------------
  570. 2002-07-16 Markus F.X.J. Oberhumer <mfx>
  571. * Under Python 2.2 or better, Curl and CurlMulti objects now
  572. automatically participate in cyclic garbarge collection
  573. (using the gc module).
  574. Version 7.9.8.2
  575. ---------------
  576. 2002-07-05 Markus F.X.J. Oberhumer <mfx>
  577. * Curl and CurlMulti objects now support standard Python attributes.
  578. See tests/test_multi2.py for an example.
  579. 2002-07-02 Kjetil Jacobsen <kjetilja>
  580. * Added support for the multi-interface.
  581. Version 7.9.8.1
  582. ---------------
  583. 2002-06-25 Markus F.X.J. Oberhumer <mfx>
  584. * Fixed a couple of `int' vs. `size_t' mismatches in callbacks
  585. and Py_BuildValue() calls.
  586. 2002-06-25 Kjetil Jacobsen <kjetilja>
  587. * Use 'double' type instead of 'size_t' for progress callbacks
  588. (by Conrad Steenberg <conrad at hep.caltech.edu>). Also cleaned up
  589. some other type mismatches in the callback interfaces.
  590. 2002-06-24 Kjetil Jacobsen <kjetilja>
  591. * Added example code on how to upload a file using HTTPPOST in
  592. pycurl (code by Amit Mongia <amit_mongia at hotmail.com>). See the
  593. file 'test_fileupload.py' for details.
  594. Version 7.9.8
  595. -------------
  596. 2002-06-24 Kjetil Jacobsen <kjetilja>
  597. * Resolved some build problems on Windows (by Markus Oberhumer).
  598. 2002-06-19 Kjetil Jacobsen <kjetilja>
  599. * Added CURLOPT_CAPATH.
  600. * Added option constants for CURLOPT_NETRC: CURL_NETRC_OPTIONAL,
  601. CURL_NETRC_IGNORED and CURL_NETRC_REQUIRED.
  602. * Added option constants for CURLOPT_TIMECONDITION:
  603. TIMECOND_IFMODSINCE and TIMECOND_IFUNMODSINCE.
  604. * Added an simple example crawler, which downloads documents
  605. listed in a file with a configurable number of worker threads.
  606. See the file 'crawler.py' in the 'tests' directory for details.
  607. * Removed the redundant 'test_xmlrpc2.py' test script.
  608. * Disallow recursive callback invocations (by Markus Oberhumer).
  609. 2002-06-18 Kjetil Jacobsen <kjetilja>
  610. * Made some changes to setup.py which should fix the build
  611. problems on RedHat 7.3 (suggested by Benji <benji at kioza.net>).
  612. * Use CURLOPT_READDATA instead of CURLOPT_INFILE, and
  613. CURLOPT_WRITEDATA instead of CURLOPT_FILE. Also fixed some
  614. reference counting bugs with file objects.
  615. * CURLOPT_FILETIME and CURLINFO_FILETIME had a namespace clash
  616. which caused them not to work. Use OPT_FILETIME for setopt() and
  617. INFO_FILETIME for getinfo(). See example usage in
  618. 'test_getinfo.py' for details.
  619. Version 7.9.7
  620. -------------
  621. 2002-05-20 Kjetil Jacobsen <kjetilja>
  622. * New versioning scheme. Pycurl now has the same version number
  623. as the libcurl version it was built with. The pycurl version
  624. number thus indicates which version of libcurl is required to run.
  625. 2002-05-17 Kjetil Jacobsen <kjetilja>
  626. * Added CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.
  627. 2002-04-27 Kjetil Jacobsen <kjetilja>
  628. * Fixed potential memory leak and thread race (by Markus
  629. Oberhumer).
  630. Version 0.4.9
  631. -------------
  632. 2002-04-15 Kjetil Jacobsen <kjetilja>
  633. * Added CURLOPT_DEBUGFUNCTION to allow debug callbacks to be
  634. specified (see the file 'test_debug.py' for details on how to use
  635. debug callbacks).
  636. * Added CURLOPT_DNS_USE_GLOBAL_CACHE and
  637. CURLOPT_DNS_CACHE_TIMEOUT.
  638. * Fixed a segfault when finalizing curl objects in Python 1.5.2.
  639. * Now requires libcurl 7.9.6 or greater.
  640. 2002-04-12 Kjetil Jacobsen <kjetilja>
  641. * Added 'test_post2.py' file which is another example on how to
  642. issue POST requests.
  643. 2002-04-11 Markus F.X.J. Oberhumer <mfx>
  644. * Added the 'test_post.py' file which demonstrates the use of
  645. POST requests.
  646. Version 0.4.8
  647. -------------
  648. 2002-03-07 Kjetil Jacobsen <kjetilja>
  649. * Added CURLOPT_PREQUOTE.
  650. * Now requires libcurl 7.9.5 or greater.
  651. * Other minor code cleanups and bugfixes.
  652. 2002-03-05 Kjetil Jacobsen <kjetilja>
  653. * Do not allow WRITEFUNCTION and WRITEHEADER on the same handle.
  654. Version 0.4.7
  655. -------------
  656. 2002-02-27 Kjetil Jacobsen <kjetilja>
  657. * Abort callback if the thread state of the calling thread cannot
  658. be determined.
  659. * Check that the installed version of libcurl matches the
  660. requirements of pycurl.
  661. 2002-02-26 Kjetil Jacobsen <kjetilja>
  662. * Clarence Garnder <clarence at silcom.com> found a bug where string
  663. arguments to setopt sometimes were prematurely deallocated, this
  664. should now be fixed.
  665. 2002-02-21 Kjetil Jacobsen <kjetilja>
  666. * Added the 'xmlrpc_curl.py' file which implements a transport
  667. for xmlrpclib (xmlrpclib is part of Python 2.2).
  668. * Added CURLINFO_CONTENT_TYPE.
  669. * Added CURLOPT_SSLCERTTYPE, CURLOPT_SSLKEY, CURLOPT_SSLKEYTYPE,
  670. CURLOPT_SSLKEYPASSWD, CURLOPT_SSLENGINE and
  671. CURLOPT_SSLENGINE_DEFAULT.
  672. * When thrown, the pycurl.error exception is now a tuple consisting
  673. of the curl error code and the error message.
  674. * Now requires libcurl 7.9.4 or greater.
  675. 2002-02-19 Kjetil Jacobsen <kjetilja>
  676. * Fixed docstring for getopt() function.
  677. 2001-12-18 Kjetil Jacobsen <kjetilja>
  678. * Updated the INSTALL information for Win32.
  679. 2001-12-12 Kjetil Jacobsen <kjetilja>
  680. * Added missing link flag to make pycurl build on MacOS X (by Matt
  681. King <matt at gnik.com>).
  682. 2001-12-06 Kjetil Jacobsen <kjetilja>
  683. * Added CURLINFO_STARTTRANSFER_TIME and CURLOPT_FTP_USE_EPSV from
  684. libcurl 7.9.2.
  685. 2001-12-01 Markus F.X.J. Oberhumer <mfx>
  686. * Added the 'test_stringio.py' file which demonstrates the use of
  687. StringIO objects as callback.
  688. 2001-12-01 Markus F.X.J. Oberhumer <mfx>
  689. * setup.py: Do not remove entries from a list while iterating
  690. over it.
  691. 2001-11-29 Kjetil Jacobsen <kjetilja>
  692. * Added code in setup.py to install on Windows. Requires some
  693. manual configuration (by Tino Lange <Tino.Lange at gmx.de>).
  694. 2001-11-27 Kjetil Jacobsen <kjetilja>
  695. * Improved detection of where libcurl is installed in setup.py.
  696. Should make it easier to install pycurl when libcurl is not
  697. located in regular lib/include paths.
  698. 2001-11-05 Kjetil Jacobsen <kjetilja>
  699. * Some of the newer options to setopt were missing, this should
  700. now be fixed.
  701. 2001-11-04 Kjetil Jacobsen <kjetilja>
  702. * Exception handling has been improved and should no longer throw
  703. spurious exceptions (by Markus F.X.J. Oberhumer
  704. <markus at oberhumer.com>).
  705. 2001-10-15 Kjetil Jacobsen <kjetilja>
  706. * Refactored the test_gtk.py script to avoid global variables.
  707. 2001-10-12 Kjetil Jacobsen <kjetilja>
  708. * Added module docstrings, terse perhaps, but better than nothing.
  709. * Added the 'basicfirst.py' file which is a Python version of the
  710. corresponding Perl script by Daniel.
  711. * PycURL now works properly under Python 1.5 and 1.6 (by Markus
  712. F.X.J. Oberhumer <markus at oberhumer.com>).
  713. * Allow C-functions and Python methods as callbacks (by Markus
  714. F.X.J. Oberhumer <markus at oberhumer.com>).
  715. * Allow None as success result of write, header and progress
  716. callback invocations (by Markus F.X.J. Oberhumer
  717. <markus at oberhumer.com>).
  718. * Added the 'basicfirst2.py' file which demonstrates the use of a
  719. class method as callback instead of just a function.
  720. 2001-08-21 Kjetil Jacobsen <kjetilja>
  721. * Cleaned up the script with GNOME/PycURL integration.
  722. 2001-08-20 Kjetil Jacobsen <kjetilja>
  723. * Added another test script for shipping XML-RPC requests which
  724. uses py-xmlrpc to encode the arguments (tests/test_xmlrpc2.py).
  725. 2001-08-20 Kjetil Jacobsen <kjetilja>
  726. * Added test script for using PycURL and GNOME (tests/test_gtk.py).
  727. 2001-08-20 Kjetil Jacobsen <kjetilja>
  728. * Added test script for using XML-RPC (tests/test_xmlrpc.py).
  729. * Added more comments to the test sources.
  730. 2001-08-06 Kjetil Jacobsen <kjetilja>
  731. * Renamed module namespace to pycurl instead of curl.
  732. 2001-08-06 Kjetil Jacobsen <kjetilja>
  733. * Set CURLOPT_VERBOSE to 0 by default.
  734. 2001-06-29 Kjetil Jacobsen <kjetilja>
  735. * Updated INSTALL, curl version 7.8 or greater is now mandatory to
  736. use pycurl.
  737. 2001-06-13 Kjetil Jacobsen <kjetilja>
  738. * Set NOPROGRESS to 1 by default.
  739. 2001-06-07 Kjetil Jacobsen <kjetilja>
  740. * Added global_init/cleanup.
  741. 2001-06-06 Kjetil Jacobsen <kjetilja>
  742. * Added HEADER/PROGRESSFUNCTION callbacks (see files in tests/).
  743. * Added PASSWDFUNCTION callback (untested).
  744. * Added READFUNCTION callback (untested).
  745. 2001-06-05 Kjetil Jacobsen <kjetilja>
  746. * WRITEFUNCTION callbacks now work (see tests/test_cb.py for details).
  747. * Preliminary distutils installation.
  748. * Added CLOSEPOLICY constants to module namespace.
  749. 2001-06-04 Kjetil Jacobsen <kjetilja>
  750. * Return -1 on error from Python callback in WRITEFUNCTION callback.
  751. 2001-06-01 Kjetil Jacobsen <kjetilja>
  752. * Moved source to src and tests to tests directory.
  753. 2001-05-31 Kjetil Jacobsen <kjetilja>
  754. * Added better type checking for setopt.
  755. 2001-05-30 Kjetil Jacobsen <kjetilja>
  756. * Moved code to sourceforge.
  757. * Added getinfo support.
  758. # vi:ts=8:et