Ben Darnell
631187aec6
Clarify comment about `@cython.binding`.
...
It's only necessary for static functions, not methods.
2015-09-14 20:29:53 -04:00
Ben Darnell
4ccfe8925d
Make ArgReplacer compatible with cython-compiled functions.
...
This requires a directive in the cython code to make the signature
introspectable.
2015-09-14 00:50:26 -04:00
Ben Darnell
3463036d75
Support coroutines compiled with cython
...
On Python 3.5, this means supporting awaitables that are not
iterables. On older versions of python, this includes
* In `@gen.coroutine`, recognizing cython's coroutines
via the backports_abc module.
* At various points in the gen module, recognize cython's
use of `StopIteration.args[0]` in place of `StopIteration.value`.
* Implementing Future.__await__ and _wrap_awaitable for
pre-3.3 versions of python.
2015-09-13 23:13:43 -04:00
daftshady
89e153fcda
added etag testcases to red_test
2015-03-05 17:17:34 +09:00
Ben Darnell
2d33c94548
Update requirement versions; add flake8 and twine
2015-02-08 13:55:02 -05:00
Ben Darnell
212c0c8df1
Update dependency versions in maint/requirements.txt
2014-10-11 11:47:03 -04:00
Ben Darnell
429e499158
Modernize freebsd vagrant config.
2014-08-31 23:33:15 -04:00
INADA Naoki
c6596d55a4
Replace tornado.util.bytes_type to bytes
2014-08-25 14:56:49 +09:00
Ben Darnell
576c1c43bc
Implement permessage-deflate websocket extension.
...
Parameters to the extension are not fully supported (the client side
supports client_no_context_takeover which is mandatory to implement,
but the server rejects any parameters offered by the client, and neither
side supports setting wbits).
Closes #308 .
Closes #668 .
2014-07-27 01:32:09 -04:00
Ben Darnell
a8e272adca
Add an ubuntu 14.04 vagrant config; drop 12.10.
2014-07-19 11:18:24 -04:00
Ben Darnell
b96d6f6b52
Use sphinx_rtd_theme instead of our lightly-customized version of sphinx default.
...
The main benefit of this change is the responsive layout for phones and
tablets.
2014-07-12 22:57:16 -04:00
Ben Darnell
04db75362c
Bump required autopep8 version.
...
This version can be installed on py3 but was having problems on py2.
2014-05-24 23:24:55 -04:00
Ben Darnell
0d3e2d337d
Switch to python 3.4 for maint/requirements.txt.
2014-05-24 23:18:46 -04:00
Ben Darnell
883b6635a1
Update maint/requirements.txt versions.
...
Everything but autopep8, which seems to have trouble installing on py27.
2014-05-24 22:32:26 -04:00
Ben Darnell
4b6fc9cb9f
Fix Tornado on Google App Engine.
...
Imports of tornado.ioloop have crept into more places, so the old
app engine policy of never importing these modules doesn't work.
Instead, we add guards around imports of unavailable modules
(fcntl, ssl, multiprocessing) so that everything is at least importable.
Closes #1059 .
2014-05-17 10:56:35 -04:00
Ben Darnell
ec4b7e4643
Remove ca-certificates bundle and instead depend on the certifi package.
2014-04-27 21:03:08 -04:00
Ben Darnell
073a535d52
Fix unix socket test on linux.
...
Unix socket addresses are bytes on linux (but str on mac). This mostly
works but causes errors in py3's -bb strict mode.
2014-04-27 12:58:40 -04:00
Ben Darnell
c8ce4517e3
Stop overriding _execute in WebSocketHandler; use get() instead.
...
Revise HTTP1Connection detach protocol.
As a side effect, this now decodes the arguments to open() in the same
way as the arguments to get().
2014-03-16 23:29:50 -04:00
Ben Darnell
824226d71b
Fix bit-rotted app engine tests.
...
sys.argv is no longer empty in dev_appserver.
2014-02-23 12:49:11 -05:00
Ben Darnell
665bd981df
Remove some vestigial references to 2to3.
2014-01-19 18:55:53 -05:00
Ben Darnell
d7d24217b8
Add usage comement to run_fixers.py.
2013-12-31 15:08:50 -05:00
Ben Darnell
647dce9818
Update run_autopep8.sh flags.
2013-12-29 23:43:23 -05:00
Ben Darnell
93714293c0
Upgrade maint/requirements.txt versions.
2013-12-29 23:33:47 -05:00
Ben Darnell
a324680856
Point Ubuntu 12.04 Vagrant file to a readily-available base image.
2013-11-06 11:53:00 -05:00
Ben Darnell
4a5fdb1e83
Add backports.ssl_match_hostname dependency in place of our copy.
...
This function has changed recently and it makes more sense to stop
maintaining a separate copy, even though it does introduce our first
required dependency.
2013-11-05 16:00:42 -05:00
Ben Darnell
9ce47af00c
Update autopep8 blacklist
2013-05-27 17:15:24 -04:00
Ben Darnell
86143dfe64
Update development dependency versions.
2013-05-27 17:15:12 -04:00
Ben Darnell
c022f7c915
Update redbot tests to work with current versions of redbot.
2013-05-18 19:58:18 -04:00
Ben Darnell
0de3de6ff4
Update pyuv test for latest version of pyuv and tornado-pyuv
2013-04-04 22:30:52 -04:00
Ben Darnell
d5426b861c
Upgrade requirement packages.
...
Upgrades are available for tox and virtualenv, but don't work for me
because of https://github.com/pypa/virtualenv/issues/366 (to be fixed
in virtualenv 1.9).
2013-03-02 19:43:59 -05:00
Ben Darnell
80bee0c240
Add IOLoop.run_sync convenience method.
2013-03-02 18:58:02 -05:00
Ben Darnell
4bfbbad331
Fix resolver test script.
2013-03-02 14:45:43 -05:00
Ben Darnell
d735bd818a
Add a resolver test script for external queries that cannot be unittested.
...
Note an issue with CaresResolver (it cannot resolve www.dropbox.com when
family==AF_UNSPEC)
2013-02-24 12:56:09 -05:00
Ben Darnell
75176a01eb
Add autobahn tests for client side of websockets.
2013-02-17 00:20:01 -05:00
Ben Darnell
d98afd41f1
Add a tox config for testing with the pyuv-based IOLoop.
2013-02-13 23:03:25 -05:00
Ben Darnell
e7d9e8a5b7
Update pyflakes version.
...
The new version no longer complains about all our conditional imports.
2013-02-05 19:51:51 -05:00
Ben Darnell
fa9534bb1b
Add a script for setting up a windows VM for testing.
...
This works with the images provided by http://modern.ie .
2013-02-02 22:40:53 -05:00
Ben Darnell
60cc236c96
Add vagrant config for ubuntu 12.10.
...
This release is interesting because it includes a python3 port of
pycurl (which is difficult to use from tox but can at least be tested
manually).
2013-01-23 21:22:34 -05:00
Ben Darnell
e582e58792
Update autopep8 to 0.8.5 and run it.
2013-01-19 13:48:02 -05:00
Ben Darnell
7faeeb1537
Remove more py25 testing configs
2013-01-13 21:59:48 -05:00
Ben Darnell
65df55da40
Convert print to a function and add future imports.
...
Automated with 2to3 and custom fixer.
2to3 -f print tornado > print.diff
2to3 -f print -d tornado > print_doctest.diff
maint/scripts/run_fixers.py -f future_import tornado > future.diff
cd tornado
git apply ../{print,print_doctest,future}.diff
2013-01-13 19:35:04 -05:00
Ben Darnell
8b40fafec7
Add tornado.util.u and a fixer script to start using it.
2013-01-13 18:40:18 -05:00
Ben Darnell
69ead0286c
Return a Vary: Accept-Encoding header whenever gzip is enabled.
...
This is one of two problems found with redbot. The other,
that etags should change when content-encoding is used, is trickier to
fix and seems to be less problematic.
Closes #578 .
2012-12-02 12:42:53 -05:00
Ben Darnell
0b1b515fc6
Add tests using the Redbot library for HTTP validation and caching.
2012-12-02 11:13:42 -05:00
Ben Darnell
e4ebf8be14
Add a mock.patch-compatible wrapper for options objects.
2012-12-01 15:50:40 -05:00
Ben Darnell
c04005b7ba
Fix TwistedIOLoop on epoll.
...
Twisted's removeAll doesn't like it if a socket is closed without being
unregistered. EPoll generates events slightly differently so be more
careful about doubled connectionLost events.
2012-10-07 16:59:36 -07:00
Ben Darnell
8b32830d73
Move IOLoop subclasses to their own modules under platform.
2012-10-06 21:11:54 -07:00
Ben Darnell
3747af59cb
Add futures to travis and vm tests, update assorted dependency versions.
2012-09-29 17:47:41 -07:00
Ben Darnell
186e947112
Remove tornado.database, which is now distributed separately.
2012-09-16 14:02:49 -07:00
Ben Darnell
5b7ebadd1b
Add unittest2 to other test configurations.
2012-09-05 17:54:21 -07:00