Source

pycurl / ChangeLog

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
Version 7.10.3

2002-11-22  Kjetil Jacobsen  <kjetilja>

	* Updated pycurl documentation in the 'doc' directory.

2002-11-21  Kjetil Jacobsen  <kjetilja>

	* Updated and improved 'examples/curl.py'.

	* Added 'tests/test_multi6.py' which shows how to use the
	info_read method with CurlMulti.
	
2002-11-19  Kjetil Jacobsen  <kjetilja>

	* Added support for curl_multi_info_read.

Version 7.10.2

2002-11-14  Kjetil Jacobsen <kjetilja>

	* Free options set with setopt after cleanup is called, as cleanup
	assumes that options are still valid when invoked.  This fixes the
	bug with COOKIEJAR reported by Bastiaan Naber
	<bastiaan@ricardis.tudelft.nl>.

2002-11-06  Markus F.X.J. Oberhumer <mfx>

	* Install documentation under /usr/share/doc instead of /usr/doc.
	Also, start shipping the (unfinished) HTML docs and some
	basic test scripts.

2002-10-30  Markus F.X.J. Oberhumer <mfx>

	* For integral values, Curl.getinfo() now returns an int
	instead of a long.

Version 7.10.1

2002-10-03  Markus F.X.J. Oberhumer <mfx>

	* Added new module-level function version_info() from
	libcurl-7.10.

Version 7.10

2002-09-13  Kjetil Jacobsen  <kjetilja>

	* Added commandline options to setup.py for specifying the path to
	'curl-config' (non-windows) and the curl installation directory
	(windows).  See the 'INSTALL' file for details.

	* Added CURLOPT_ENCODING, CURLOPT_NOSIGNAL and CURLOPT_BUFFERSIZE
	from libcurl-7.10 (by Markus Oberhumer).

Version 7.9.8.4

2002-08-28  Kjetil Jacobsen  <kjetilja>

	* Added a simple web-browser example based on gtkhtml and pycurl.
	See the file 'examples/gtkhtml_demo.py' for details.  The example
	requires a working installation of gnome-python with gtkhtml
	bindings enabled (pass --with-gtkhtml to gnome-python configure).

2002-08-14  Kjetil Jacobsen  <kjetilja>

	* Added new method 'select' on CurlMulti objects.  Example usage
	in 'tests/test_multi5.py'.  This method is just an optimization of
	the combined use of fdset and select.

2002-08-12  Kjetil Jacobsen  <kjetilja>

	* Added support for curl_multi_fdset.  See the file
	'tests/test_multi4.py' for example usage.  Contributed by Conrad
	Steenberg <conrad@hep.caltech.edu>.

	* perform() on multi objects now returns a tuple (result, number
	of handles) like the libcurl interface does.

2002-08-08  Kjetil Jacobsen  <kjetilja>

	* Added the 'sfquery' script which retrieves a SourceForge XML
	export object for a given project.  See the file 'examples/sfquery.py'
	for details and usage.  'sfquery' was contributed by Eric
	S. Raymond <esr@thyrsus.com>.

2002-07-20  Markus F.X.J. Oberhumer <mfx>

	* API enhancements: added Curl() and CurlMulti() as aliases for
	init() and multi_init(), and added close() methods as aliases
	for the cleanup() methods. The new names much better match
	the actual intended use of the objects, and they also nicely
	correspond to Python's file object.

	* Also, all constants for Curl.setopt() and Curl.getinfo() are now
	visible from within Curl objects.

	All changes are fully backward-compatible.

Version 7.9.8.3

2002-07-16  Markus F.X.J. Oberhumer <mfx>

	* Under Python 2.2 or better, Curl and CurlMulti objects now
	automatically participate in cyclic garbarge collection
	(using the gc module).

Version 7.9.8.2

2002-07-05  Markus F.X.J. Oberhumer <mfx>

	* Curl and CurlMulti objects now support standard Python attributes.
	See tests/test_multi2.py for an example.

2002-07-02  Kjetil Jacobsen  <kjetilja>

	* Added support for the multi-interface.

Version 7.9.8.1

2002-06-25  Markus F.X.J. Oberhumer <mfx>

	* Fixed a couple of `int' vs. `size_t' mismatches in callbacks
	and Py_BuildValue() calls.

2002-06-25  Kjetil Jacobsen  <kjetilja>

	* Use 'double' type instead of 'size_t' for progress callbacks
	(by Conrad Steenberg <conrad@hep.caltech.edu>).  Also cleaned up
	some other type mismatches in the callback interfaces.

2002-06-24  Kjetil Jacobsen  <kjetilja>

	* Added example code on how to upload a file using HTTPPOST in
	pycurl (code by Amit Mongia <amit_mongia@hotmail.com>).  See the
	file 'test_fileupload.py' for details.

Version 7.9.8

2002-06-24  Kjetil Jacobsen  <kjetilja>

	* Resolved some build problems on Windows (by Markus Oberhumer).

2002-06-19  Kjetil Jacobsen  <kjetilja>

	* Added CURLOPT_CAPATH.

	* Added option constants for CURLOPT_NETRC: CURL_NETRC_OPTIONAL,
	CURL_NETRC_IGNORED and CURL_NETRC_REQUIRED.

	* Added option constants for CURLOPT_TIMECONDITION:
	TIMECOND_IFMODSINCE and TIMECOND_IFUNMODSINCE.

	* Added an simple example crawler, which downloads documents
	listed in a file with a configurable number of worker threads.
	See the file 'crawler.py' in the 'tests' directory for details.

	* Removed the redundant 'test_xmlrpc2.py' test script.

 	* Disallow recursive callback invocations (by Markus Oberhumer).

2002-06-18  Kjetil Jacobsen  <kjetilja>

	* Made some changes to setup.py which should fix the build
	problems on RedHat 7.3 (suggested by Benji <benji@kioza.net>).

	* Use CURLOPT_READDATA instead of CURLOPT_INFILE, and
	CURLOPT_WRITEDATA instead of CURLOPT_FILE.  Also fixed some
	reference counting bugs with file objects.

	* CURLOPT_FILETIME and CURLINFO_FILETIME had a namespace clash
	which caused them not to work.  Use OPT_FILETIME for setopt() and
	INFO_FILETIME for getinfo().  See example usage in
	'test_getinfo.py' for details.

Version 7.9.7

2002-05-20  Kjetil Jacobsen  <kjetilja>

	* New versioning scheme.  Pycurl now has the same version number
	as the libcurl version it was built with.  The pycurl version
	number thus indicates which version of libcurl is required to run.

Version 0.4.10 (Not released)

2002-05-17  Kjetil Jacobsen  <kjetilja>

	* Added CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.

2002-04-27  Kjetil Jacobsen  <kjetilja>

	* Fixed potential memory leak and thread race (by Markus
	Oberhumer)

Version 0.4.9

2002-04-15  Kjetil Jacobsen  <kjetilja>

	* Added CURLOPT_DEBUGFUNCTION to allow debug callbacks to be
	specified (see the file 'test_debug.py' for details on how to use
	debug callbacks).

	* Added CURLOPT_DNS_USE_GLOBAL_CACHE and
	CURLOPT_DNS_CACHE_TIMEOUT.

	* Fixed a segfault when finalizing curl objects in Python 1.5.2.

	* Now requires libcurl 7.9.6 or greater.

2002-04-12  Kjetil Jacobsen  <kjetilja>

	* Added 'test_post2.py' file which is another example on how to
	issue POST requests.

2002-04-11  Markus F.X.J. Oberhumer <mfx>

	* Added the 'test_post.py' file which demonstrates the use of
	POST requests.

Version 0.4.8

2002-03-07  Kjetil Jacobsen  <kjetilja>

	* Added CURLOPT_PREQUOTE.

	* Now requires libcurl 7.9.5 or greater.

	* Other minor code cleanups and bugfixes.

2002-03-05  Kjetil Jacobsen  <kjetilja>

	* Do not allow WRITEFUNCTION and WRITEHEADER on the same handle.

Version 0.4.7

2002-02-27  Kjetil Jacobsen  <kjetilja>

	* Abort callback if the thread state of the calling thread cannot
	be determined.

	* Check that the installed version of libcurl matches the
	requirements of pycurl.

2002-02-26  Kjetil Jacobsen  <kjetilja>

	* Clarence Garnder <clarence@silcom.com> found a bug where string
	arguments to setopt sometimes were prematurely deallocated, this
	should now be fixed.

2002-02-21  Kjetil Jacobsen  <kjetilja>

	* Added the 'xmlrpc_curl.py' file which implements a transport
	for xmlrpclib (xmlrpclib is part of Python 2.2).

	* Added CURLINFO_CONTENT_TYPE.

	* Added CURLOPT_SSLCERTTYPE, CURLOPT_SSLKEY, CURLOPT_SSLKEYTYPE,
	CURLOPT_SSLKEYPASSWD, CURLOPT_SSLENGINE and
	CURLOPT_SSLENGINE_DEFAULT.

	* When thrown, the pycurl.error exception is now a tuple consisting
	of the curl error code and the error message.

	* Now requires libcurl 7.9.4 or greater.

2002-02-19  Kjetil Jacobsen  <kjetilja>

	* Fixed docstring for getopt() function.

2001-12-18  Kjetil Jacobsen  <kjetilja>

	* Updated the INSTALL information for Win32.

2001-12-12  Kjetil Jacobsen  <kjetilja>

	* Added missing link flag to make pycurl build on MacOS X (by Matt
	King <matt@gnik.com>).

2001-12-06  Kjetil Jacobsen  <kjetilja>

	* Added CURLINFO_STARTTRANSFER_TIME and CURLOPT_FTP_USE_EPSV from
	libcurl 7.9.2.

2001-12-01  Markus F.X.J. Oberhumer <mfx>

	* Added the 'test_stringio.py' file which demonstrates the use of
	StringIO objects as callback.

2001-12-01  Markus F.X.J. Oberhumer <mfx>

	* setup.py: Do not remove entries from a list while iterating
	over it.

2001-11-29  Kjetil Jacobsen  <kjetilja>

	* Added code in setup.py to install on Windows.  Requires some
	manual configuration (by Tino Lange <Tino.Lange@gmx.de>).

2001-11-27  Kjetil Jacobsen  <kjetilja>

	* Improved detection of where libcurl is installed in setup.py.
	Should make it easier to install pycurl when libcurl is not
	located in regular lib/include paths.

2001-11-05  Kjetil Jacobsen  <kjetilja>

	* Some of the newer options to setopt were missing, this should
	now be fixed.

2001-11-04  Kjetil Jacobsen  <kjetilja>

	* Exception handling has been improved and should no longer throw
	spurious exceptions (by Markus F.X.J. Oberhumer
	<markus@oberhumer.com>).

2001-10-15  Kjetil Jacobsen  <kjetilja>

	* Refactored the test_gtk.py script to avoid global variables.

2001-10-12  Kjetil Jacobsen  <kjetilja>

	* Added module docstrings, terse perhaps, but better than nothing.

	* Added the 'basicfirst.py' file which is a Python version of the
	corresponding Perl script by Daniel.

	* PycURL now works properly under Python 1.5 and 1.6 (by Markus
	F.X.J. Oberhumer <markus@oberhumer.com>).

	* Allow C-functions and Python methods as callbacks (by Markus
	F.X.J. Oberhumer <markus@oberhumer.com>).

	* Allow None as success result of write, header and progress
	callback invocations (by Markus F.X.J. Oberhumer
	<markus@oberhumer.com>).

	* Added the 'basicfirst2.py' file which demonstrates the use of a
	class method as callback instead of just a function.

2001-08-21  Kjetil Jacobsen  <kjetilja>

	* Cleaned up the script with GNOME/PycURL integration.

2001-08-20  Kjetil Jacobsen  <kjetilja>

	* Added another test script for shipping XML-RPC requests which
	uses py-xmlrpc to encode the arguments (tests/test_xmlrpc2.py).

2001-08-20  Kjetil Jacobsen  <kjetilja>

	* Added test script for using PycURL and GNOME (tests/test_gtk.py).

2001-08-20  Kjetil Jacobsen  <kjetilja>

	* Added test script for using XML-RPC (tests/test_xmlrpc.py).

	* Added more comments to the test sources.

2001-08-06  Kjetil Jacobsen  <kjetilja>

	* Renamed module namespace to pycurl instead of curl.

2001-08-06  Kjetil Jacobsen  <kjetilja>

	* Set CURLOPT_VERBOSE to 0 by default.

2001-06-29  Kjetil Jacobsen  <kjetilja>

	* Updated INSTALL, curl version 7.8 or greater is now mandatory to
	use pycurl.

2001-06-13  Kjetil Jacobsen  <kjetilja>

	* Set NOPROGRESS to 1 by default.

2001-06-07  Kjetil Jacobsen  <kjetilja>

	* Added global_init/cleanup.

2001-06-06  Kjetil Jacobsen  <kjetilja>

	* Added HEADER/PROGRESSFUNCTION callbacks (see files in tests/).

	* Added PASSWDFUNCTION callback (untested).

	* Added READFUNCTION callback (untested).

2001-06-05  Kjetil Jacobsen  <kjetilja>

	* WRITEFUNCTION callbacks now work (see tests/test_cb.py for details).

	* Preliminary distutils installation.

	* Added CLOSEPOLICY constants to module namespace.

2001-06-04  Kjetil Jacobsen  <kjetilja>

	* Return -1 on error from Python callback in WRITEFUNCTION callback.

2001-06-01  Kjetil Jacobsen  <kjetilja>

	* Moved source to src and tests to tests directory.

2001-05-31  Kjetil Jacobsen  <kjetilja>

	* Added better type checking for setopt.

2001-05-30  Kjetil Jacobsen  <kjetilja>

	* Moved code to sourceforge.

	* Added getinfo support.