]>
git.ipfire.org Git - thirdparty/tornado.git/log
dinever [Tue, 8 Dec 2015 05:37:43 +0000 (00:37 -0500)]
Use super() to call super "__init__()"
Ben Darnell [Tue, 8 Dec 2015 05:14:38 +0000 (00:14 -0500)]
Fix logging when running tests with twisted installed.
Ben Darnell [Tue, 24 Nov 2015 10:15:47 +0000 (11:15 +0100)]
Merge pull request #1593 from Hardtack/patch-1
Use super() to call super "__init__()"
GunWoo Choi [Tue, 24 Nov 2015 05:12:07 +0000 (14:12 +0900)]
Use super() to call super "__init__()"
Calling super method by Request.__init__(self) cannot handle MRO properly.
Ben Darnell [Mon, 23 Nov 2015 10:53:44 +0000 (11:53 +0100)]
Merge pull request #1591 from marrrvin/tcp-server-bind-reuse_port
Add reuse_port flag to TCPServer.bind method
Sergey Orlov [Sun, 22 Nov 2015 11:35:04 +0000 (14:35 +0300)]
Add reuse_port flag to TCPServer.bind method
Ben Darnell [Sat, 21 Nov 2015 16:33:02 +0000 (17:33 +0100)]
Merge pull request #1587 from hschachn/patch-1
Missing hint in documentation
A. Jesse Jiryu Davis [Fri, 20 Nov 2015 14:04:29 +0000 (09:04 -0500)]
Merge pull request #1586 from mivade/versionchanged_docfix
Correct version change in Lock docstring
Hermann Schachner [Fri, 20 Nov 2015 12:59:58 +0000 (13:59 +0100)]
Missing hint in documentation
I did not realize that RequestHandler.initialize() is called before every single request.
For me, 'subclass initialization' suggest that this function were called only once for each subclass definition.
(Seems like I am not the only one: http://stackoverflow.com/questions/
15199028 /does-initialize-in-tornado-web-requesthandler-get-called-every-time-for-a-reques)
Michael V. DePalatis [Fri, 20 Nov 2015 11:20:25 +0000 (12:20 +0100)]
Correct version change in Lock docstring
Ben Darnell [Sat, 14 Nov 2015 17:09:03 +0000 (12:09 -0500)]
httpclient: Document that HTTPError is not the only possible error
Ben Darnell [Thu, 12 Nov 2015 01:14:02 +0000 (20:14 -0500)]
Merge pull request #1582 from minrk/free-list-on-fail
CurlAsyncHTTPClient: free_list starvation if setup fails
Min RK [Wed, 11 Nov 2015 13:32:00 +0000 (14:32 +0100)]
test failure to set up curl http requests
ensure that it doesn't starve free curl client list
Min RK [Wed, 11 Nov 2015 12:22:08 +0000 (13:22 +0100)]
CurlAsyncHTTPClient: free_list starvation if setup fails
If `_curl_setup_request` fails,
the failing curl instance would be permanently excluded from free_list,
because `_finish` will never be called.
Once this has happens `max_clients` times,
no future request will ever complete.
Ben Darnell [Sat, 7 Nov 2015 22:23:40 +0000 (17:23 -0500)]
Merge pull request #1579 from felixonmars/monotonic
Add monotonic as an alternative to Monotime
Felix Yan [Sat, 7 Nov 2015 05:53:09 +0000 (13:53 +0800)]
Add monotonic as an alternative to Monotime
Ben Darnell [Sat, 7 Nov 2015 02:09:22 +0000 (21:09 -0500)]
Merge pull request #1578 from bdarnell/streamline-travis
Streamline travis-ci build.
Ben Darnell [Sat, 7 Nov 2015 01:03:18 +0000 (20:03 -0500)]
Streamline travis-ci build.
Instead of running a DEPS=false version of every test, just run one
test environment per version and use a separate virtualenv for basic
tests in the DEPS=false case.
Ben Darnell [Sat, 7 Nov 2015 00:55:34 +0000 (19:55 -0500)]
Merge pull request #1568 from chrisseto/patch-2
Cast start_line.code to an integer
Ben Darnell [Sat, 7 Nov 2015 00:55:18 +0000 (19:55 -0500)]
Merge pull request #1576 from ewang/master
Override __setitem__ in tornado.options
Ben Darnell [Sat, 7 Nov 2015 00:54:48 +0000 (19:54 -0500)]
Merge pull request #1574 from macro/master
Fixes #1573: Use 127.0.0.1 when binding test server socket
Ben Darnell [Sat, 7 Nov 2015 00:52:29 +0000 (19:52 -0500)]
Merge pull request #1477 from bdarnell/drop-26
Drop support for Python 2.6 and 3.2
Ben Darnell [Sun, 25 Oct 2015 15:44:06 +0000 (11:44 -0400)]
Remove the u() function and a few uses the script missed.
Ben Darnell [Sun, 25 Oct 2015 15:25:38 +0000 (11:25 -0400)]
Convert all uses of t.util.u() to real unicode literals.
Ben Darnell [Sun, 25 Oct 2015 15:07:27 +0000 (11:07 -0400)]
Invert fix_unicode_literal to switch back to real literals.
Ben Darnell [Sat, 24 Oct 2015 22:56:07 +0000 (18:56 -0400)]
Drop support for Python 3.2.
Remove python 3.2 support from all test configurations and docs,
but do not actively remove code that exists for 3.2 compatibility.
Ben Darnell [Mon, 3 Aug 2015 14:06:31 +0000 (10:06 -0400)]
Drop Python 2.6 support.
Remove python 2.6 support from all test configurations and docs,
but do not actively remove code that exists for 2.6 compatibility.
Ben Darnell [Fri, 6 Nov 2015 23:52:44 +0000 (18:52 -0500)]
Bump master version number to 4.4.dev1
Ben Darnell [Fri, 6 Nov 2015 20:08:40 +0000 (15:08 -0500)]
Set version number to 4.3
Ben Darnell [Fri, 6 Nov 2015 20:08:06 +0000 (15:08 -0500)]
Rename next.rst to v4.3.0.rst
Ben Darnell [Fri, 6 Nov 2015 02:54:38 +0000 (21:54 -0500)]
Link to the users' guide from the release notes.
Neil Chintomby [Thu, 29 Oct 2015 23:33:30 +0000 (16:33 -0700)]
Use `127.0.0.1` when binding test server socket.
Eric Wang [Wed, 4 Nov 2015 04:56:39 +0000 (20:56 -0800)]
Unset executable bit
Eric Wang [Mon, 2 Nov 2015 22:51:24 +0000 (14:51 -0800)]
Make __getitem__ and __setitem__ mirror behavior of __getattr__ and __setattr__
Chris Seto [Mon, 26 Oct 2015 05:23:50 +0000 (01:23 -0400)]
Cast start_line.code to an integer
Allows use of http.client.HTTPStatus in self.write_status
'%s' % http.client.OK == 'HTTPStatus.OK'
'%d' % http.client.OK == '200'
Ben Darnell [Sun, 25 Oct 2015 17:52:25 +0000 (13:52 -0400)]
Make "headers too large" test understand 431 response code.
Ben Darnell [Sun, 25 Oct 2015 16:59:00 +0000 (12:59 -0400)]
Mark another test as http/1 only
Ben Darnell [Sun, 25 Oct 2015 15:20:10 +0000 (11:20 -0400)]
Re-run our custom fixers to normalize future imports
Ben Darnell [Sun, 25 Oct 2015 01:13:44 +0000 (21:13 -0400)]
Fix firewall prompts when running tests.
Ben Darnell [Sat, 24 Oct 2015 23:07:59 +0000 (19:07 -0400)]
Rewrite prerequisites section of index.rst.
Remove redundant parts of README; link to tornadoweb.org instead.
Ben Darnell [Sat, 24 Oct 2015 22:03:48 +0000 (18:03 -0400)]
Set version number to 4.3b2
Ben Darnell [Sat, 24 Oct 2015 17:53:26 +0000 (13:53 -0400)]
Find 'httponly' case-insensitively
Ben Darnell [Sat, 24 Oct 2015 17:18:37 +0000 (13:18 -0400)]
Update tests and docs for recent changes
fernando [Sat, 17 Oct 2015 14:24:23 +0000 (09:24 -0500)]
Added xsrf_cookie_kwargs to control xsrf cookie settings
Ben Darnell [Sat, 24 Oct 2015 16:00:18 +0000 (12:00 -0400)]
Merge pull request #1558 from maartenbreddels/patch-1
Return HTTPServer in Application.listen
Ben Darnell [Sat, 24 Oct 2015 14:32:27 +0000 (10:32 -0400)]
Merge pull request #1563 from szweep/response_hdrs_fix
Check for Content-Length and Transfer-Encoding
Ben Darnell [Sat, 24 Oct 2015 14:22:51 +0000 (10:22 -0400)]
Merge pull request #1567 from bdarnell/root-static-path-test
Make test_root_static_path more robust.
Ben Darnell [Sat, 24 Oct 2015 13:57:16 +0000 (09:57 -0400)]
Make test_root_static_path more robust.
Always convert `__file__` to an absolute path (this is already
guaranteed in Python 3.4+, but in older versions it would sometimes be
relative). Encode the path so the test can pass when run from a
directory containing spaces or other special characters.
Fixes #1565
szweep [Fri, 23 Oct 2015 16:23:09 +0000 (12:23 -0400)]
Restrict header check to SimpleAsyncHTTPClient
szweep [Fri, 23 Oct 2015 14:24:35 +0000 (10:24 -0400)]
Check for Content-Length and Transfer-Encoding
If an HTTP response contains both Content-Length and
Transfer-Encoding headers, flag this as an error as
per RFC 7230, Section 3.3.3#3. Also added a unit test
to validate the code.
Ben Darnell [Tue, 20 Oct 2015 15:58:08 +0000 (11:58 -0400)]
Merge pull request #1560 from pathcl/master
PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation
Luis San Martin [Tue, 20 Oct 2015 15:28:52 +0000 (12:28 -0300)]
PEP8 fix docs/conf.py:91:1: E122 continuation line missing indentation or outdented
Maarten Breddels [Mon, 19 Oct 2015 15:24:55 +0000 (17:24 +0200)]
Return HTTPServer in Application.listen
For unittesting I start and stop the server in setUp and tearDown. If I use Application.listen I don't have a reference to the HTTPServer and cannot close the socket. Binding it to the same address the next time will result in a address in use error. If the server is returned, calling close on it will allow the address/port to be reused.
Ben Darnell [Sun, 18 Oct 2015 22:11:02 +0000 (00:11 +0200)]
Set version number to 4.3b1
Ben Darnell [Sun, 18 Oct 2015 22:03:33 +0000 (00:03 +0200)]
Update next-release notes
Ben Darnell [Sun, 18 Oct 2015 21:50:41 +0000 (23:50 +0200)]
Merge pull request #1557 from bdarnell/backports-abc-singledispatch
Make singledispatch and backports_abc mandatory dependencies.
Ben Darnell [Sun, 18 Oct 2015 21:08:00 +0000 (23:08 +0200)]
Fix singledispatch for asyncio on py26.
Disable singledispatch tests for twisted on py26 because it doesn't
work.
Ben Darnell [Sun, 18 Oct 2015 20:34:47 +0000 (22:34 +0200)]
Make singledispatch and backports_abc mandatory dependencies.
I anticipate confusion around the differing behavior based on whether or
not these packages are installed, so it's better to just make them
mandatory (except on app engine).
Ben Darnell [Sun, 18 Oct 2015 19:47:37 +0000 (21:47 +0200)]
Slight update to bit-rotted test.
Currently failing because tornaduv doesn't support the new 4.2
make_current features.
Ben Darnell [Sun, 18 Oct 2015 19:39:43 +0000 (21:39 +0200)]
Fix tests in the app engine sandbox
Ben Darnell [Sun, 18 Oct 2015 13:44:27 +0000 (15:44 +0200)]
Merge pull request #1553 from xbao/fix-gcc-warning
Add void to empty function parameter
Xiao Bao Clark [Fri, 16 Oct 2015 11:50:24 +0000 (22:50 +1100)]
Add void to empty function parameter
This fixes the gcc warning:
tornado/speedups.c:49:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
initspeedups() {
^
Ben Darnell [Tue, 13 Oct 2015 21:34:58 +0000 (23:34 +0200)]
Merge pull request #1550 from ajdavis/gen_test-native-coroutines
Update gen_test for native coroutines.
A. Jesse Jiryu Davis [Mon, 12 Oct 2015 17:45:15 +0000 (13:45 -0400)]
Update gen_test for native coroutines.
Ben Darnell [Sun, 4 Oct 2015 04:24:53 +0000 (00:24 -0400)]
Remove redundant travis_retry calls.
Thanks @ajdavis
Ben Darnell [Sun, 4 Oct 2015 03:13:54 +0000 (23:13 -0400)]
Merge pull request #1542 from bdarnell/async-await
More polish for native coroutines
Ben Darnell [Sun, 4 Oct 2015 02:45:43 +0000 (22:45 -0400)]
Document some subtleties of native coroutines
Ben Darnell [Sun, 4 Oct 2015 01:57:33 +0000 (21:57 -0400)]
Support other yieldables in to_asyncio_future.
Ben Darnell [Sun, 4 Oct 2015 01:05:01 +0000 (21:05 -0400)]
Modernize asyncio "yield from" test.
Ben Darnell [Sun, 4 Oct 2015 00:57:23 +0000 (20:57 -0400)]
Recognize other yieldables in web.asynchronous.
Disallow non-None results.
Ben Darnell [Sun, 4 Oct 2015 00:52:04 +0000 (20:52 -0400)]
Support other yieldables for httpclient body_producer
Ben Darnell [Sun, 4 Oct 2015 00:42:48 +0000 (20:42 -0400)]
Recognize other yieldables in IOLoop._run_callback.
Ben Darnell [Sun, 4 Oct 2015 00:31:20 +0000 (20:31 -0400)]
Add support for native coroutines in IOLoop.run_sync.
Remove support for synchronous functions with non-None results.
Ben Darnell [Sun, 4 Oct 2015 00:19:41 +0000 (20:19 -0400)]
Allow mixes of native coroutines and YieldPoints in gen.multi.
Ben Darnell [Sat, 3 Oct 2015 22:44:01 +0000 (18:44 -0400)]
Deprecate gen.maybe_future and remove all internal uses.
This allows native coroutines in the HTTPMessageDelegate.data_received
methods.
Ben Darnell [Sat, 3 Oct 2015 18:20:55 +0000 (14:20 -0400)]
Tweak a timing-sensitive test.
This one seems especially flaky on appveyor.
Ben Darnell [Sat, 3 Oct 2015 17:59:15 +0000 (13:59 -0400)]
Merge pull request #1541 from bdarnell/test-fixes
Test fixes
Ben Darnell [Sat, 3 Oct 2015 16:00:59 +0000 (12:00 -0400)]
Fix twistedlayered test.
Disable a test that fails under the trollius IOLoop.
Disable some additional logging.
Ben Darnell [Sat, 3 Oct 2015 15:51:42 +0000 (11:51 -0400)]
Merge pull request #1540 from bdarnell/ci-versions
Update versions in CI/tox configs.
Ben Darnell [Sat, 3 Oct 2015 15:40:22 +0000 (11:40 -0400)]
Force simple_httpclient in path traversal test.
This fails with recent versions of libcurl because curl now processes
".." on the client side.
Ben Darnell [Sat, 3 Oct 2015 15:22:19 +0000 (11:22 -0400)]
Update versions in CI/tox configs.
Ben Darnell [Sat, 3 Oct 2015 14:43:22 +0000 (10:43 -0400)]
Support PATCH with body in curl_httpclient.
This previously required `allow_nonstandard_methods`.
Refine the body sanity checks and tests (followup to #1531).
Ben Darnell [Sat, 3 Oct 2015 13:54:18 +0000 (09:54 -0400)]
Merge pull request #1531 from stj/master
Perform sanity checks on request.body only if allow_nonstandard_metho…
Ben Darnell [Thu, 1 Oct 2015 20:53:55 +0000 (16:53 -0400)]
Merge pull request #1538 from awsh/master
Removed links to facebook.com.
awsh [Thu, 1 Oct 2015 19:47:00 +0000 (15:47 -0400)]
Removed links to facebook.com as Tornado is no longer featured.
awsh [Thu, 1 Oct 2015 18:35:40 +0000 (14:35 -0400)]
Removed broken link.
Stefan Tjarks [Mon, 28 Sep 2015 21:58:15 +0000 (14:58 -0700)]
Perform sanity checks on request.body only if allow_nonstandard_methods is True. This makes CurlAsyncHTTPClient handle allow_nonstandard_methods the same as AsyncHTTPClient.
Ben Darnell [Thu, 1 Oct 2015 14:22:37 +0000 (10:22 -0400)]
Merge pull request #1536 from sieben/patch-1
Broken link fix
Rémy Léone [Thu, 1 Oct 2015 07:49:12 +0000 (09:49 +0200)]
Broken link fix
Ben Darnell [Wed, 30 Sep 2015 05:05:28 +0000 (01:05 -0400)]
Support patchless use of backports_abc 0.4
Ben Darnell [Wed, 30 Sep 2015 04:03:13 +0000 (00:03 -0400)]
Remove stale comment.
Ben Darnell [Wed, 30 Sep 2015 04:01:08 +0000 (00:01 -0400)]
Verify extension build on appveyor
Ben Darnell [Wed, 30 Sep 2015 03:59:56 +0000 (23:59 -0400)]
Remove some unused imports
Ben Darnell [Wed, 30 Sep 2015 03:57:38 +0000 (23:57 -0400)]
Run latest autopep8
Ben Darnell [Wed, 30 Sep 2015 03:51:56 +0000 (23:51 -0400)]
Update requirements
Ben Darnell [Tue, 29 Sep 2015 03:10:49 +0000 (23:10 -0400)]
Merge pull request #1533 from bdarnell/facebook-auth
Fix a regression in FacebookGraphMixin in the 4.3 dev series.
Ben Darnell [Tue, 29 Sep 2015 02:38:16 +0000 (22:38 -0400)]
Fix a regression in FacebookGraphMixin in the 4.3 dev series.
Return access tokens as strings instead of bytes on python 3,
making the user objects json-encodable.
Add a basic test for FacebookGraphMixin.
Fixes #1532
Ben Darnell [Mon, 28 Sep 2015 04:29:57 +0000 (00:29 -0400)]
Update next-release notes.
Ben Darnell [Mon, 28 Sep 2015 04:11:06 +0000 (00:11 -0400)]
Merge pull request #1497 from codeb2cc/ws-mulit-frames-compression
Fix incorrect inspection of WebSocket RSV1 bit.
Ben Darnell [Mon, 28 Sep 2015 03:39:34 +0000 (23:39 -0400)]
Merge pull request #1526 from bdarnell/streaming-callback-redirect
simple_httpclient: Don't call streaming_callback for redirects.