]>
git.ipfire.org Git - thirdparty/tornado.git/log
Ben Darnell [Thu, 18 Dec 2014 15:16:18 +0000 (10:16 -0500)]
Merge pull request #1281 from nordaux/master
Fixed error that the web.asynchronous doesn't complete python3 concurrent.Futures
Andrew Glinskiy [Thu, 18 Dec 2014 14:38:20 +0000 (16:38 +0200)]
Fixed error that the web.asynchronous doesn't complete python3 concurrent.Futures
Ben Darnell [Wed, 17 Dec 2014 16:09:16 +0000 (11:09 -0500)]
Merge pull request #1279 from chrisseto/patch-1
Fix typo in `stream_request_body`
Chris Seto [Wed, 17 Dec 2014 15:55:05 +0000 (10:55 -0500)]
Fix typo in `stream_request_body`
Ben Darnell [Tue, 16 Dec 2014 02:22:52 +0000 (21:22 -0500)]
Merge pull request #1261 from lilydjwg/fix-ipv6-host
fix matching an IPv6 address as host
依云 [Sun, 14 Dec 2014 10:12:26 +0000 (18:12 +0800)]
move code to seperate function 'split_host_and_port'
依云 [Sun, 14 Dec 2014 10:01:26 +0000 (18:01 +0800)]
remove executable permission from tornado.web
依云 [Sun, 14 Dec 2014 10:00:08 +0000 (18:00 +0800)]
Merge branch 'master' into fix-ipv6-host
Ben Darnell [Fri, 12 Dec 2014 15:17:32 +0000 (10:17 -0500)]
Merge pull request #1268 from schlamar/win-timeout
fix test_request_timeout on Windows
Marc Schlaich [Fri, 12 Dec 2014 07:31:13 +0000 (08:31 +0100)]
tox: add optional pyxx-no-ext environments
These can be run on systems without an available C compiler.
Marc Schlaich [Wed, 10 Dec 2014 15:18:30 +0000 (16:18 +0100)]
fix test_request_timeout on Windows by increasing timeout
Ben Darnell [Thu, 11 Dec 2014 14:24:54 +0000 (09:24 -0500)]
Add support for Future.exc_info when logging abandoned futures.
Simplify some Future internals.
Add enough magic calls to Future.exception that the test suite
passes without warning (at least on py34)
Daniel James Visentin [Thu, 11 Dec 2014 00:01:40 +0000 (11:01 +1100)]
Use server_hostname parameter in call to ssl_wrap_socket
Ben Darnell [Tue, 9 Dec 2014 04:30:17 +0000 (23:30 -0500)]
Merge branch 'master' into log_future
Ben Darnell [Sat, 6 Dec 2014 02:20:18 +0000 (21:20 -0500)]
Merge pull request #1258 from tdyas/no_raise_error
http client: option to not raise errors
Ben Darnell [Fri, 5 Dec 2014 14:51:00 +0000 (09:51 -0500)]
Merge pull request #1264 from nbargnesi/master
swap platform.system() for sys.platform
Nick Bargnesi [Fri, 5 Dec 2014 06:37:45 +0000 (01:37 -0500)]
swap platform.system() for sys.platform; #1263
Ben Darnell [Sun, 30 Nov 2014 17:34:56 +0000 (12:34 -0500)]
Merge pull request #1260 from lilydjwg/no-handler-redirect
use the same protocol when redirecting to default host
依云 [Tue, 25 Nov 2014 13:45:45 +0000 (21:45 +0800)]
use the same protocol when redirecting to default host
依云 [Tue, 25 Nov 2014 13:36:28 +0000 (21:36 +0800)]
fix matching a IPv6 address as host
When the host is something like '[::1]' or '[::1]:8080',
_get_host_handlers gets wrong hosts string.
Tom Dyas [Mon, 23 Jun 2014 18:21:46 +0000 (14:21 -0400)]
http client: option to not raise errors
Pass raise_error=False to the fetch method to disable the raising of
HTTPError on errors.
Ben Darnell [Sun, 16 Nov 2014 00:15:12 +0000 (19:15 -0500)]
Also fix flow control for the select IOLoop.
Ben Darnell [Sun, 16 Nov 2014 00:08:21 +0000 (19:08 -0500)]
Fix IOStream flow control under kqueue.
An early attempt to detect closed connections in kqueue led
us to always read from the socket when data was available,
defeating any higher-level flow control.
Add a test to verify this behavior.
Ben Darnell [Tue, 11 Nov 2014 04:13:40 +0000 (23:13 -0500)]
Fix typo in docs.
Closes #1247.
Ben Darnell [Sun, 9 Nov 2014 15:59:30 +0000 (10:59 -0500)]
Merge pull request #1246 from heewa/cleanup_subprocess_in_tests
Cleanup Subprocess when tearing down AsyncTestCase
Heewa Barfchin [Sat, 8 Nov 2014 19:40:51 +0000 (14:40 -0500)]
Cleanup Subprocess when tearing down AsyncTestCase
Since an ioloop is created and destroyed between a test's `setUp` and
`tearDown`, and Subprocess holds on to an ioloop until `uninitialize`,
this allows the next test case to use Subprocess correctly.
Ben Darnell [Sat, 8 Nov 2014 18:01:01 +0000 (13:01 -0500)]
Add *args, **kw to WebSocketHandler.open.
This matches the default implementations of get/post/put/etc.
Closes #1242
Ben Darnell [Wed, 5 Nov 2014 14:36:28 +0000 (09:36 -0500)]
Merge pull request #1241 from heewa/find_option_definer
Find real option definer.
Heewa Barfchin [Mon, 3 Nov 2014 00:38:36 +0000 (19:38 -0500)]
Find real option definer.
When an option is defined through the module level "define" fn, not
directly through the class method, we should look one frame up to
find the real caller.
Ben Darnell [Tue, 28 Oct 2014 13:16:28 +0000 (09:16 -0400)]
Fix compatibility with just-released unittest2 0.6.
This release added some PendingDeprecationWarnings that were
not there previously (and were DeprecationWarnings instead
in newer pythons)
Jordan Bettis [Tue, 28 Oct 2014 06:08:50 +0000 (01:08 -0500)]
[feature-waitany] fix py3 bug, weakref for callback, doc cleanup
Jordan Bettis [Mon, 27 Oct 2014 11:08:48 +0000 (06:08 -0500)]
Merge branch 'master' of github.com:jordanbettis/tornado into feature-waitany
Jordan Bettis [Mon, 27 Oct 2014 11:05:01 +0000 (06:05 -0500)]
[feature-waitany] Created WaitIterator + tests
Ben Darnell [Mon, 27 Oct 2014 02:15:31 +0000 (22:15 -0400)]
Remove example of the legacy HTTPServer callback interface.
Even before the HTTPServerConnectionDelegate interface replaced it,
direct use of this callback interface should have been rare.
This untested example was incorrect when first written and
once fixed only worked on python 2.
Ben Darnell [Mon, 27 Oct 2014 01:16:41 +0000 (21:16 -0400)]
Merge pull request #1227 from jvetterick/patch-1
adding hint to supervisord minfds
Ben Darnell [Mon, 27 Oct 2014 00:52:16 +0000 (20:52 -0400)]
Merge pull request #1231 from daftshady/master
fixed error message in iostream
daftshady [Sun, 26 Oct 2014 12:06:59 +0000 (21:06 +0900)]
fixed error message in iostream
Jonas Vetterick [Mon, 20 Oct 2014 15:07:07 +0000 (17:07 +0200)]
adding hint to supervisord minfds
Ben Darnell [Sat, 18 Oct 2014 16:08:03 +0000 (12:08 -0400)]
Change connection-refused test from localhost to 127.0.0.1.
This might be contributing to occasional timeouts on travis-ci
(on the theory that some other test may be listening on the
same port on ::1).
Also explicitly stop the test if connect_callback is called.
Ben Darnell [Sat, 18 Oct 2014 15:48:00 +0000 (11:48 -0400)]
Merge pull request #1225 from jvetterick/patch-1
Update running.rst
Jonas Vetterick [Fri, 17 Oct 2014 14:12:05 +0000 (16:12 +0200)]
Update running.rst
Hint on [Errno 24] "Too many open files" (http://stackoverflow.com/a/
20894374 )
Ben Darnell [Tue, 14 Oct 2014 02:13:31 +0000 (22:13 -0400)]
Merge pull request #1222 from glaslos/patch-1
Fixed example in doc string
Lukas Rist [Mon, 13 Oct 2014 12:06:02 +0000 (14:06 +0200)]
Fixed example in doc string
We have to pass a HTTPHeaders object to write_headers()
Ben Darnell [Sun, 12 Oct 2014 02:59:15 +0000 (22:59 -0400)]
Add another ignore_bytes_warning call to log_test.
This fixes a failure apparently introduced by changes to warning
logic in python 3.4.2.
Ben Darnell [Sun, 12 Oct 2014 02:13:15 +0000 (22:13 -0400)]
Handle closed connections in WebSocketHandler.
Closes #1174.
Ben Darnell [Sun, 12 Oct 2014 02:05:31 +0000 (22:05 -0400)]
Catch StreamClosedError in StaticFileHandler.
Closes #1208.
Ben Darnell [Sun, 12 Oct 2014 00:07:54 +0000 (20:07 -0400)]
Document that the blog demo is py2-only.
Ben Darnell [Sat, 11 Oct 2014 16:01:24 +0000 (12:01 -0400)]
Disable pycares tests on travis due to ipv6 issues.
Ben Darnell [Sat, 11 Oct 2014 15:25:36 +0000 (11:25 -0400)]
Fix byte strings as header values in curl_httpclient and python3.
Add the -bb flag to all py3 tests, which uncovered this bug.
Ben Darnell [Sat, 11 Oct 2014 14:39:39 +0000 (10:39 -0400)]
Streamline tox configuration using new features in tox 1.8.
Ben Darnell [Sun, 5 Oct 2014 19:52:58 +0000 (15:52 -0400)]
Update dependency versions in maint/requirements.txt
Ben Darnell [Fri, 10 Oct 2014 14:40:03 +0000 (10:40 -0400)]
Merge pull request #1217 from noxiouz/http_server_doc__fix
Fix an example in docstring of HTTPServer
Anton Tiurin [Fri, 10 Oct 2014 10:10:08 +0000 (14:10 +0400)]
Fix an example in docstring of HTTPServer
Ben Darnell [Sun, 5 Oct 2014 19:43:05 +0000 (15:43 -0400)]
Add a test for removing an IOLoop handler from another handler.
Related to #1214.
Ben Darnell [Sun, 5 Oct 2014 19:17:27 +0000 (15:17 -0400)]
Clarify error messages about http request bodies.
Change AssertionError to ValueError and s/empty/None.
Closes #1213.
Ben Darnell [Sun, 5 Oct 2014 19:01:11 +0000 (15:01 -0400)]
Document the ability to pass lists of kv pairs to url-concat.
Closes #1216.
Ben Darnell [Sat, 4 Oct 2014 16:29:12 +0000 (12:29 -0400)]
Merge pull request #1215 from mayhewj/master
Fix typo
Justin Mayhew [Sat, 4 Oct 2014 02:39:00 +0000 (23:39 -0300)]
Fix typo
Ben Darnell [Fri, 26 Sep 2014 01:27:49 +0000 (21:27 -0400)]
Merge pull request #1207 from leekchan/locale_test
Add some unit tests for tornado.locale
Ben Darnell [Fri, 26 Sep 2014 01:25:46 +0000 (21:25 -0400)]
Merge pull request #1206 from leekchan/test_web_redirect
Add a unit test for tornado.web.RedirectHandler
Lee Kyoung chan [Wed, 24 Sep 2014 12:37:37 +0000 (21:37 +0900)]
Add a unit test for locale.format_day
Lee Kyoung chan [Tue, 23 Sep 2014 11:44:49 +0000 (20:44 +0900)]
Add a unit test for locale.list
Lee Kyoung chan [Tue, 23 Sep 2014 10:35:13 +0000 (19:35 +0900)]
Add a unit test for locale.friendly_number
Lee Kyoung chan [Tue, 23 Sep 2014 10:13:22 +0000 (19:13 +0900)]
Improve test_format_date
Lee Kyoung chan [Tue, 23 Sep 2014 08:46:24 +0000 (17:46 +0900)]
Add a unit test for tornado.web.RedirectHandler
Ben Darnell [Sun, 21 Sep 2014 16:25:11 +0000 (12:25 -0400)]
curl_httpclient: run streaming and header callbacks on the IOLoop.
This ensures a more consistent execution environment and allows
a streaming or header callback to invoke other CurlAsyncHTTPClient
methods.
This change also fills in HTTPResponse.headers even when a header_callback
is used, similar to simple_httpclient's behavior.
Closes #1188.
Ben Darnell [Sun, 21 Sep 2014 16:18:16 +0000 (12:18 -0400)]
Move static functions in curl_httpclient to methods of CurlAsyncHTTPClient.
No functional changes in this commit, just code movement.
Ben Darnell [Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)]
Document Tornado's incompatibility with asyncio.ProactorEventLoop.
Closes #1201.
Ben Darnell [Thu, 18 Sep 2014 02:04:29 +0000 (22:04 -0400)]
Merge pull request #1197 from Parkayun/master
Remove unused module in tornado.platform.asyncio
Ben Darnell [Tue, 16 Sep 2014 12:37:55 +0000 (08:37 -0400)]
Merge pull request #1194 from leekchan/test_if_modified_since
Add a test for if_modified_since parameter of httpclient.HTTPRequest
Lee Kyoung chan [Tue, 16 Sep 2014 07:48:34 +0000 (16:48 +0900)]
Add a test for if_modified_since parameter of httpclient.HTTPRequest
Parkayun [Tue, 16 Sep 2014 06:43:06 +0000 (15:43 +0900)]
Remove unused module in tornado.platform.asyncio
Ben Darnell [Tue, 16 Sep 2014 02:26:48 +0000 (22:26 -0400)]
Merge remote-tracking branch 'leekchan/set_cookie_expires_days'
Conflicts:
tornado/test/web_test.py
Lee Kyoung chan [Tue, 16 Sep 2014 02:08:07 +0000 (11:08 +0900)]
Fixed test_set_cookie_expires_days
Ben Darnell [Mon, 15 Sep 2014 23:38:20 +0000 (19:38 -0400)]
Merge pull request #1189 from Parkayun/master
Add few tests and remove unused module.
Omer Katz [Mon, 15 Sep 2014 10:12:14 +0000 (13:12 +0300)]
Excluded more non-PyPy related build steps that I missed.
Parkayun [Mon, 15 Sep 2014 10:10:37 +0000 (19:10 +0900)]
remove unused module in test
Omer Katz [Mon, 15 Sep 2014 09:57:15 +0000 (12:57 +0300)]
Build should fast finish since matrix is large.
Omer Katz [Mon, 15 Sep 2014 09:56:15 +0000 (12:56 +0300)]
Added travis_retry to all network operations in order to avoid build errors due to connections being dropped.
Parkayun [Mon, 15 Sep 2014 09:54:48 +0000 (18:54 +0900)]
Add test for httputil.parse_requset_start_line
Omer Katz [Mon, 15 Sep 2014 09:54:12 +0000 (12:54 +0300)]
Any pypy version probably shouldn't be installing/running those tests.
Correct me if I'm wrong.
Omer Katz [Mon, 15 Sep 2014 09:52:24 +0000 (12:52 +0300)]
Added pypy3 to the build matrix.
Parkayun [Mon, 15 Sep 2014 06:55:35 +0000 (15:55 +0900)]
add test for util.timedelta_to_seconds
Ben Darnell [Mon, 15 Sep 2014 03:55:59 +0000 (23:55 -0400)]
Update example for HTTPClient exception handling.
Eliminate the implication that HTTPError is the only
error that can be raised. See #1168.
Ben Darnell [Mon, 15 Sep 2014 03:02:32 +0000 (23:02 -0400)]
Handle multiple exceptions in AsyncTestCase.
Previously we would silently swallow all but the last; now we
raise the first and log all the rest.
Closes #1177.
Ben Darnell [Mon, 15 Sep 2014 03:11:24 +0000 (23:11 -0400)]
Merge pull request #1175 from virtuald/coroutine-warning
Add documentation warning about exceptions in coroutines
Ben Darnell [Mon, 15 Sep 2014 02:39:03 +0000 (22:39 -0400)]
Ben Darnell [Mon, 15 Sep 2014 02:38:14 +0000 (22:38 -0400)]
Capture stack context in gen.engine's wrapper function.
This was an error that went unnoticed in earlier versions
because Futures passed through exceptions in their callbacks.
Ben Darnell [Mon, 15 Sep 2014 02:02:27 +0000 (22:02 -0400)]
Merge branch 'branch4.0'
Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py
Ben Darnell [Sun, 14 Sep 2014 13:40:26 +0000 (09:40 -0400)]
Merge pull request #1185 from leekchan/master
Added unit tests for tornado.web.removeslash and tornado.web.addslash
Lee Kyoung chan [Sun, 14 Sep 2014 13:22:24 +0000 (22:22 +0900)]
Added a unit test for setting a cookie with expires_days
Lee Kyoung chan [Sun, 14 Sep 2014 09:47:10 +0000 (18:47 +0900)]
Fixed some typos
Lee Kyoung chan [Sun, 14 Sep 2014 04:01:49 +0000 (13:01 +0900)]
Added unit tests for tornado.web.removeslash and tornado.web.addslash
Ben Darnell [Sat, 13 Sep 2014 21:44:55 +0000 (17:44 -0400)]
Merge pull request #1179 from leekchan/master
Added a unit test for setting a cookie with max_age
Ben Darnell [Fri, 12 Sep 2014 13:20:54 +0000 (09:20 -0400)]
Merge pull request #1182 from Parkayun/master
Add test for tornado.escape.recursive_unicode
Neilen Marais [Fri, 12 Sep 2014 11:38:48 +0000 (13:38 +0200)]
Add callback error handling to Future
Catches and logs to the application log exceptions raised by each callback. This
more or less mirrors what concurrent.futures.Future does.
Parkayun [Fri, 12 Sep 2014 07:24:02 +0000 (16:24 +0900)]
Add test for tornado.escape.recursive_unicode
Lee Kyoung chan [Thu, 11 Sep 2014 13:16:44 +0000 (22:16 +0900)]
Added a unit test for setting a cookie with max_age
Ben Darnell [Thu, 11 Sep 2014 12:51:32 +0000 (08:51 -0400)]
Merge pull request #1178 from leekchan/master
Fixed some typos
Lee Kyoung chan [Thu, 11 Sep 2014 11:49:05 +0000 (20:49 +0900)]
Added a unit test for tornado.escape.squeeze