Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reindent + little refactoring | Giampaolo Rodola | 2012-01-10 | 1 | -7/+7 |
| | |||||
* | rename project py-sendfile -> pysendfile | Giampaolo Rodola | 2012-01-10 | 1 | -1/+1 |
| | |||||
* | rewrite Python initialization C code to fix compilation warnings; used ↵ | Giampaolo Rodola | 2012-01-05 | 1 | -29/+38 |
| | | | | http://docs.python.org/py3k/howto/cporting.html#module-initialization-and-state as an example. | ||||
* | instead of attempting to import the module in setup.pt to figure out whether ↵ | Giampaolo Rodola | 2012-01-05 | 1 | -8/+13 |
| | | | | the platform is supported, use #error pre processor directive in the C code | ||||
* | BSD systems: do not raise exception if errno == EBUSY and some data has been ↵ | Giampaolo Rodola | 2012-01-04 | 1 | -2/+3 |
| | | | | sent; instead, return the bytes just being sent | ||||
* | update LICENSE | Giampaolo Rodola | 2012-01-03 | 1 | -1/+1 |
| | |||||
* | use Py_ssize_t on *BSD | Giampaolo Rodola | 2012-01-03 | 1 | -5/+5 |
| | |||||
* | drop support for python 2.4: we need to use Py_ssize_t type because the ↵ | Giampaolo Rodola | 2012-01-03 | 1 | -16/+7 |
| | | | | current implementation is broken | ||||
* | get rid of socket constants which are no longer needed | Giampaolo Rodola | 2012-01-03 | 1 | -7/+0 |
| | |||||
* | #11: get rid of header/trailer on Linux via TCP_CORK; thinking back it's not ↵ | Giampaolo Rodola | 2012-01-03 | 1 | -76/+8 |
| | | | | a good idea as we're messing with C types when returning | ||||
* | remove flags argument on linux | Giampaolo Rodola | 2011-04-21 | 1 | -5/+4 |
| | |||||
* | raise platform not supported in setup.pt | Giampaolo Rodola | 2011-04-21 | 1 | -6/+0 |
| | |||||
* | Linux/Solaris: use 'n' arg for Py_BuildValue which is compatible with ↵ | Giampaolo Rodola | 2011-04-20 | 1 | -3/+10 |
| | | | | ssize_t C type. On py versions < 2.5 cast to long and return long. | ||||
* | on Solaris return long instead of int | Giampaolo Rodola | 2011-04-20 | 1 | -1/+2 |
| | |||||
* | Add support for offset = None on Linux, meaning the offset is automatically ↵ | Giampaolo Rodola | 2011-04-19 | 1 | -10/+14 |
| | | | | updated by sendfile() call | ||||
* | finally use _parse_off_t() to figure out whether using long or long-long for ↵ | Giampaolo Rodola | 2011-04-18 | 1 | -26/+30 |
| | | | | the offset depending on platform large file support | ||||
* | C types Solaris | Giampaolo Rodola | 2011-04-18 | 1 | -3/+3 |
| | |||||
* | C arg types again | Giampaolo Rodola | 2011-04-18 | 1 | -3/+7 |
| | |||||
* | another data type change attempt | Giampaolo Rodola | 2011-04-18 | 1 | -2/+6 |
| | |||||
* | revert last 2 commits | Giampaolo Rodola | 2011-04-18 | 1 | -4/+16 |
| | |||||
* | again change Pt_ArgParseTyple input types | Giampaolo Rodola | 2011-04-18 | 1 | -12/+4 |
| | |||||
* | BSD: fix large file support | Giampaolo Rodola | 2011-04-18 | 1 | -4/+0 |
| | |||||
* | Fix some C warnings; fix python 2.4 compatibility broke in previous commits | Giampaolo Rodola | 2011-04-18 | 1 | -25/+10 |
| | |||||
* | BSD/OSX - PyPargseArg: use #l or #L depending on large file support | Giampaolo Rodola | 2011-04-18 | 1 | -16/+21 |
| | |||||
* | Linux - PyPargseArg: use #l or #L depending on large file support | Giampaolo Rodola | 2011-04-17 | 1 | -15/+20 |
| | |||||
* | SunOS - PyPargseArg: use #l or #L depending on large file support | Giampaolo Rodola | 2011-04-17 | 1 | -1/+8 |
| | |||||
* | Fix #12: add SunOS support | Giampaolo Rodola | 2011-04-17 | 1 | -7/+27 |
| | |||||
* | improved if statement | Giampaolo Rodola | 2011-04-16 | 1 | -2/+1 |
| | |||||
* | Py_BEGIN/END_ALLOW_THREADS around getsockopt(), setsockopt(), send() | Giampaolo Rodola | 2011-04-16 | 1 | -0/+8 |
| | |||||
* | Linux: when sending header/trailer and send() return 0 raise EAGAIN | Giampaolo Rodola | 2011-04-16 | 1 | -3/+15 |
| | |||||
* | - Linux: add error handling for getsockopt() and setsockopt() | Giampaolo Rodola | 2011-04-16 | 1 | -16/+14 |
| | | | | | | - test for non socket fd - test suite now automatically remotes test files on interpreter exit | ||||
* | fix 11: add header/trailer support for Linux | Giampaolo Rodola | 2011-04-16 | 1 | -7/+63 |
| | |||||
* | OSX: redefine sf_hdtr structure to make it work on Python 2.5 and lower | Giampaolo Rodola | 2011-04-16 | 1 | -0/+9 |
| | |||||
* | be more explicit in sf_hdtr usage | Giampaolo Rodola | 2011-04-16 | 1 | -1/+5 |
| | |||||
* | rename headers->header, trailers->trailer | Giampaolo Rodola | 2011-04-16 | 1 | -5/+5 |
| | |||||
* | make it work on OSX again | Giampaolo Rodola | 2011-04-16 | 1 | -0/+12 |
| | |||||
* | change header/trailer type: make them strings instead of sequences | Giampaolo Rodola | 2011-04-15 | 1 | -103/+30 |
| | |||||
* | Remove Py_buffer interface usage to make the module work on python versions ↵ | Giampaolo Rodola | 2011-04-15 | 1 | -92/+55 |
| | | | | < 2.6 | ||||
* | fix OSX test_headers failure | Giampaolo Rodola | 2011-04-08 | 1 | -9/+13 |
| | |||||
* | add OSX support (test_headers is failing) | Giampaolo Rodola | 2011-04-08 | 1 | -10/+40 |
| | |||||
* | change license to MIT; update setup.py metadata and version. | Giampaolo Rodola | 2011-04-08 | 1 | -31/+44 |
| | |||||
* | raise NotImplementedError if platform is not supported | Giampaolo Rodola | 2011-04-06 | 1 | -2/+18 |
| | |||||
* | return just the number of bytes sent instead of a (bsent, offset) tuple (BSD ↵ | Giampaolo Rodola | 2011-02-09 | 1 | -7/+12 |
| | | | | and AIX). | ||||
* | return just the number of bytes sent instead of a (bsent, offset) tuple. | Giampaolo Rodola | 2011-02-09 | 1 | -9/+8 |
| | |||||
* | update module docstring | Giampaolo Rodola | 2011-02-07 | 1 | -30/+17 |
| | |||||
* | fix some compiler warnings | Giampaolo Rodola | 2011-02-07 | 1 | -10/+0 |
| | |||||
* | set svn proset | Giampaolo Rodola | 2011-02-07 | 1 | -7/+10 |
| | |||||
* | fix issue #6: add FreeBSD constants to use with 'flags' arg | Giampaolo Rodola | 2011-02-07 | 1 | -0/+20 |
| | |||||
* | fix py3 tests on BSD | Giampaolo Rodola | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | port C extension to python 3 | Giampaolo Rodola | 2011-02-06 | 1 | -18/+62 |
| |