Commit graph

7 commits

Author SHA1 Message Date
drochner
6b4a1e1ba7 accept python22-pth 2002-10-25 11:01:29 +00:00
drochner
0e25fd7806 -move the doc files and examples to share/doc/pycurl<pythonversion>
for coexistence with a future py22pth (or even native thread) pkg
-use buildlink2
2002-10-22 14:21:04 +00:00
shell
437eab598f Updated to pycurl-7.10.1
- accept python-21pth only

Changes :
  * Added new module-level function version_info() from
    libcurl-7.10.
  * 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).
  * 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).
  * 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.
  * 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.
  * 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>.
  * 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.

  * More see Changes

- All changes are fully backward-compatible. -
2002-10-20 02:53:03 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
shell
2dd3b782de Updated py-curl to 7.9.7
Change since 0.4.8 :

 * 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.

 * Added CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.

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

 * 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.

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

 * Added the 'test_post.py' file which demonstrates the use of
 POST requests.
2002-06-10 01:47:15 +00:00
shell
9bcb2dbd69 Updated to pycurl-0.4.9
- Change my email address
- Require curl-7.9.6


Changes since 0.4.7 :
* 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.
* Added 'test_post2.py' file which is another example on how to
  issue POST requests.
* Added the 'test_post.py' file which demonstrates the use of
  POST requests.
* Added CURLOPT_PREQUOTE.
* Other minor code cleanups and bugfixes.
* Do not allow WRITEFUNCTION and WRITEHEADER on the same handle.
2002-04-21 12:14:50 +00:00
drochner
a0ad18e39c initial import of py-curl-0.4.5, a python module interface to the cURL library,
submitted by Shell Hung per PR pkg/15103
2002-01-29 16:22:18 +00:00