]>
git.ipfire.org Git - thirdparty/tornado.git/log
Ben Darnell [Wed, 21 Sep 2011 04:21:52 +0000 (21:21 -0700)]
Set version number to 2.1
Ben Darnell [Wed, 21 Sep 2011 04:21:07 +0000 (21:21 -0700)]
Move next.rst to v2.1.0.rst
bdarnell [Mon, 19 Sep 2011 17:45:37 +0000 (10:45 -0700)]
Merge pull request #363 from daharon/master
Make HTTPHeaders.__contains__() case-insensitive, like the rest of the object
Daniel Aharon [Mon, 19 Sep 2011 16:32:27 +0000 (09:32 -0700)]
Make HTTPHeaders.__contains__() case-insensitive, like the rest of the object.
Ben Darnell [Sun, 18 Sep 2011 23:44:32 +0000 (16:44 -0700)]
Add a test for the bug fixed in commit
e811959
Florian Diebold [Sat, 17 Sep 2011 22:17:47 +0000 (00:17 +0200)]
Fix the handling of messages of length 126 in the draft-10 Websocket implementation.
Florian Diebold [Sun, 4 Sep 2011 16:47:01 +0000 (18:47 +0200)]
Fix the IOStream close callback not getting called if there are pending callbacks.
_maybe_add_error_listener only does anything if _state is None.
Ben Darnell [Sun, 18 Sep 2011 05:00:00 +0000 (22:00 -0700)]
Close leaking listener socket in tests
Ben Darnell [Sat, 17 Sep 2011 20:14:11 +0000 (13:14 -0700)]
More release note updates
Ben Darnell [Thu, 15 Sep 2011 18:22:22 +0000 (11:22 -0700)]
Update ca-certs file to remove Diginotar
Ben Darnell [Thu, 15 Sep 2011 05:30:11 +0000 (22:30 -0700)]
Put overview documentation back in HTTPServer docstring, and other doc
and import cleanups
Ben Darnell [Thu, 15 Sep 2011 04:22:32 +0000 (21:22 -0700)]
Merge remote-tracking branch 'alekstorm/tcpserver' into merge
Alek Storm [Tue, 13 Sep 2011 16:20:19 +0000 (16:20 +0000)]
Add {# ... #} construct to comment out entire sections
Alek Storm [Mon, 12 Sep 2011 18:18:35 +0000 (18:18 +0000)]
Log "stacktrace" of templace source lines when an exception is raised for more convenient debugging
Ben Darnell [Mon, 12 Sep 2011 06:16:08 +0000 (23:16 -0700)]
Remove doc warnings about tornado.auth in python3
Ben Darnell [Mon, 12 Sep 2011 05:50:13 +0000 (22:50 -0700)]
Add crude tests for the auth module, and fix python3 issues with oauth1
Alek Storm [Mon, 12 Sep 2011 05:32:43 +0000 (05:32 +0000)]
Move `TCPServer` to `netutil`, change `handle_stream` callback to overridden method hook, move IP address hack for unix domain sockets to `HTTPConnection`
Ben Darnell [Mon, 12 Sep 2011 03:42:22 +0000 (20:42 -0700)]
Merge branch 'branch2.0'
Ben Darnell [Sun, 11 Sep 2011 22:50:34 +0000 (15:50 -0700)]
Add support for callbacks that take more than a single positional argument.
Closes #351.
Ben Darnell [Sun, 11 Sep 2011 22:09:25 +0000 (15:09 -0700)]
Add support for lists of YieldPoints in the gen framework.
bdarnell [Sat, 10 Sep 2011 23:38:21 +0000 (16:38 -0700)]
Merge pull request #356 from alekstorm/files
Convert dictionaries representing HTTP files to HTTPFile objects
Alek Storm [Sat, 10 Sep 2011 23:27:40 +0000 (23:27 +0000)]
Convert dictionaries representing HTTP files to HTTPFile objects, with dictionary access for attributes retained for backwards compatibility
Alek Storm [Sat, 10 Sep 2011 23:25:10 +0000 (23:25 +0000)]
Move web._O to util.ObjectDict
Ben Darnell [Sat, 10 Sep 2011 22:10:31 +0000 (15:10 -0700)]
Add reference docs for all template directives.
Closes #355.
Ben Darnell [Sat, 10 Sep 2011 21:18:51 +0000 (14:18 -0700)]
Reorder tox environments so the most important/likely-to-fail ones run first.
Ben Darnell [Fri, 9 Sep 2011 05:51:45 +0000 (22:51 -0700)]
Add on_connection_close hook to chat demo to clean up after closed connections.
Closes #354.
Ben Darnell [Fri, 9 Sep 2011 05:45:30 +0000 (22:45 -0700)]
Extract cookie-signing methods from RequestHandler so they can be used
outside the web stack.
Closes #339.
Ben Darnell [Fri, 9 Sep 2011 05:07:32 +0000 (22:07 -0700)]
Add streaming_callback to IOStream.read_bytes and read_until_close.
Closes #300.
Alek Storm [Thu, 8 Sep 2011 00:09:52 +0000 (00:09 +0000)]
Factor HTTP-specific code into HTTPServer subclass of TCPServer
Ben Darnell [Mon, 5 Sep 2011 21:00:51 +0000 (14:00 -0700)]
Remove unused variables (discovered by pyflakes)
Ben Darnell [Mon, 5 Sep 2011 20:23:57 +0000 (13:23 -0700)]
Improve exception handling for gen module.
Ben Darnell [Mon, 5 Sep 2011 19:15:50 +0000 (12:15 -0700)]
Allow any sequence in gen.WaitAll, not just lists.
Ben Darnell [Mon, 5 Sep 2011 19:12:07 +0000 (12:12 -0700)]
Add test for 100-continue functionality, and fix it on python 3
Closes #350.
Ben Darnell [Mon, 5 Sep 2011 01:00:06 +0000 (18:00 -0700)]
Document tornado.platform.twisted, and rename ioloop parameter to io_loop
for consistency with other modules.
Ben Darnell [Mon, 5 Sep 2011 00:47:39 +0000 (17:47 -0700)]
Reorganize release notes
Ben Darnell [Sun, 4 Sep 2011 22:51:25 +0000 (15:51 -0700)]
Accumulated release note updates.
Ben Darnell [Sun, 4 Sep 2011 22:39:55 +0000 (15:39 -0700)]
Update docs with new methods
Ben Darnell [Sun, 4 Sep 2011 19:52:43 +0000 (12:52 -0700)]
Fix error in docs
Ben Darnell [Sun, 4 Sep 2011 18:26:36 +0000 (11:26 -0700)]
Add gen.WaitAll
Ben Darnell [Sun, 4 Sep 2011 07:59:57 +0000 (00:59 -0700)]
Add tornado.gen module for simpler generator-based async code.
Ben Darnell [Sat, 3 Sep 2011 20:27:28 +0000 (13:27 -0700)]
Various minor test changes for windows.
Ben Darnell [Sat, 3 Sep 2011 19:20:43 +0000 (12:20 -0700)]
Remove test_connect_timeout, which was only passing before due to a bug
in the timeout implementation.
bdarnell [Wed, 31 Aug 2011 03:27:19 +0000 (20:27 -0700)]
Merge pull request #349 from milkinc/master
Correct on_connect timeout for simple http client
bdarnell [Wed, 31 Aug 2011 03:26:04 +0000 (20:26 -0700)]
Merge pull request #347 from ContextLogic/optiongroup
'group' parameter in options.define()
Jeff Hodsdon [Wed, 31 Aug 2011 02:05:55 +0000 (19:05 -0700)]
Corrected on_connect timeout for simplehttpclient
Jeeyoung Kim [Tue, 30 Aug 2011 21:47:34 +0000 (14:47 -0700)]
In define(), added option to define our own option group, which is used in print_help().
bdarnell [Tue, 30 Aug 2011 05:14:54 +0000 (22:14 -0700)]
Merge pull request #346 from mikejthompson/master
adding 'cookies' property to wsgi.HTTPRequest
Mike Thompson [Tue, 30 Aug 2011 04:18:35 +0000 (21:18 -0700)]
add 'cookies' property to wsgi.HTTPRequest
Ben Darnell [Mon, 29 Aug 2011 01:42:35 +0000 (18:42 -0700)]
Watch the main module for tornado.autoreload's -m mode
Ben Darnell [Sun, 28 Aug 2011 06:59:48 +0000 (23:59 -0700)]
Merge commit '864044' into merge
Maciej Małecki [Mon, 22 Aug 2011 22:24:36 +0000 (00:24 +0200)]
Fix typos (argh!). #319
Maciej Małecki [Mon, 22 Aug 2011 13:01:01 +0000 (15:01 +0200)]
Use subprocess.Popen on Windows, fixes #319
Ben Darnell [Sun, 28 Aug 2011 06:24:56 +0000 (23:24 -0700)]
Add a version of database.Connection.execute that returns the rowcount.
Closes #333.
Ben Darnell [Sun, 28 Aug 2011 06:08:48 +0000 (23:08 -0700)]
Merge remote-tracking branch 'alekstorm/static_args' into merge
Ben Darnell [Sun, 28 Aug 2011 06:04:26 +0000 (23:04 -0700)]
Merge branch 'master' into merge
Ben Darnell [Sun, 28 Aug 2011 06:02:57 +0000 (23:02 -0700)]
Reinstate RequestHandler.cookies property
Jehiah Czebotar [Sun, 28 Aug 2011 00:51:45 +0000 (20:51 -0400)]
implement request_time in simplehttp_client (and tests)
bdarnell [Sat, 27 Aug 2011 19:31:17 +0000 (12:31 -0700)]
Merge pull request #344 from akrymski/master
javascript not being gzipped
Artemi Krymski [Sat, 27 Aug 2011 15:02:00 +0000 (16:02 +0100)]
application/json was missing from GZIP CONTENT_TYPES
Wojciech Polak [Thu, 25 Aug 2011 15:29:32 +0000 (17:29 +0200)]
Improve template execution performance.
bdarnell [Wed, 24 Aug 2011 03:24:28 +0000 (20:24 -0700)]
Merge pull request #342 from davidwilemski/master
Template documentation fix
David Wilemski [Wed, 24 Aug 2011 03:14:08 +0000 (23:14 -0400)]
Fixed typo in template documentation
Ben Darnell [Tue, 23 Aug 2011 17:38:11 +0000 (10:38 -0700)]
Support max_age as an alias for max-age in set_cookie(**kwargs)
Ben Darnell [Tue, 23 Aug 2011 05:45:27 +0000 (22:45 -0700)]
timedelta.total_seconds() is new in python2.7, so do the math ourselves.
Jeeyoung Kim [Mon, 22 Aug 2011 22:14:39 +0000 (15:14 -0700)]
Implemented read_until_regex in tornado. This is similar to read_until(), except it looks for a specific delimiter. This function is used to parse the header of the website, where it is delimited by '\n' only (like http://news.ycombinator.com/rss)
bdarnell [Sun, 21 Aug 2011 23:54:43 +0000 (16:54 -0700)]
Merge pull request #340 from alekstorm/template_namespace
Add 'namespace' parameter to template.BaseLoader constructor
Ben Darnell [Sun, 21 Aug 2011 22:53:00 +0000 (15:53 -0700)]
When following redirects, release connection resources immediately
Alek Storm [Sat, 20 Aug 2011 15:20:16 +0000 (15:20 +0000)]
Add 'namespace' parameter to template.BaseLoader constructor
Specifies custom entries in the global namespace of loaded templates.
Alek Storm [Thu, 18 Aug 2011 06:01:50 +0000 (06:01 +0000)]
Move 'cookies' property from RequestHandler to HTTPRequest
Alek Storm [Wed, 17 Aug 2011 00:19:40 +0000 (00:19 +0000)]
Add 'static_handler_args' application setting to pass extra keyword arguments
to static file handler constructor.
Ben Darnell [Sun, 14 Aug 2011 21:38:42 +0000 (14:38 -0700)]
Add static_handler_class application setting, and move most of static_url
into the handler class where it can be overridden.
Ben Darnell [Sun, 14 Aug 2011 21:20:09 +0000 (14:20 -0700)]
Add tests for static file functionality
Ben Darnell [Sun, 14 Aug 2011 19:03:07 +0000 (12:03 -0700)]
In case the callback_uri and the uri that called authenticate_redirect
are different, use the callback as the openid realm.
Ben Darnell [Sun, 14 Aug 2011 18:40:10 +0000 (11:40 -0700)]
Release note updates
Ben Darnell [Sun, 14 Aug 2011 17:55:10 +0000 (10:55 -0700)]
Clean up after the _check_file refactoring.
Ben Darnell [Sun, 14 Aug 2011 17:38:52 +0000 (10:38 -0700)]
Add the option to run application hooks before autoreloading.
Closes #331
Ben Darnell [Sun, 14 Aug 2011 16:53:55 +0000 (09:53 -0700)]
Remove tox config for pypy with mysql.
The module builds on pypy, but doesn't work (and having it loaded causes
non-deterministic failures in the process-related tests)
Ben Darnell [Sat, 6 Aug 2011 21:21:19 +0000 (14:21 -0700)]
Accept timedelta objects in IOLoop.add_timeout.
Closes #329.
Ben Darnell [Sat, 6 Aug 2011 20:23:35 +0000 (13:23 -0700)]
Speed up _convert_header_value
Ben Darnell [Sat, 6 Aug 2011 20:06:54 +0000 (13:06 -0700)]
Add RequestHandler.add_header to allow headers to occur multiple times.
Ben Darnell [Sat, 6 Aug 2011 19:23:12 +0000 (12:23 -0700)]
Better path surgery in autoreload
Alek Storm [Wed, 3 Aug 2011 08:25:31 +0000 (08:25 +0000)]
Allow template directives to span multiple lines
Ben Darnell [Wed, 3 Aug 2011 06:58:41 +0000 (23:58 -0700)]
Fix style, add comments
Ben Darnell [Wed, 3 Aug 2011 06:54:28 +0000 (23:54 -0700)]
Merge remote-tracking branch 'alekstorm/master' into merge
Ben Darnell [Wed, 3 Aug 2011 06:47:55 +0000 (23:47 -0700)]
If a PeriodicCallback runs longer than its period, skip the missed callbacks
instead of trying to run all the missed callbacks to catch up.
Ben Darnell [Wed, 3 Aug 2011 06:44:21 +0000 (23:44 -0700)]
Merge remote-tracking branch 'jfisteus/periodic_callback' into merge
Ben Darnell [Wed, 3 Aug 2011 06:33:39 +0000 (23:33 -0700)]
Add install() method to IOLoop to allow a custom subclass as the singleton.
Singleton-related methods are now static, not class methods.
Ben Darnell [Wed, 3 Aug 2011 06:26:50 +0000 (23:26 -0700)]
Test that tornado.database is at least importable on all supported pythons.
Fix a problem preventing import on pypy (but apparently there are still other
issues with running MySQLdb on pypy, so the module will not actually work yet).
Alek Storm [Fri, 29 Jul 2011 21:02:57 +0000 (21:02 +0000)]
Add extra '_modules' reference to modules list in template parameters, which is used by {% module ... %} directive to avoid naming conflicts with Python modules named 'modules'
Jesus Arias Fisteus [Thu, 28 Jul 2011 16:44:29 +0000 (18:44 +0200)]
Stabilization of the period of ioloop.PeriodicCallback.
Previously, the timeout for the following event was computed by adding
callback_time to the actual time the callback finished, which caused
calls to the callback not being trully periodic.
This commit makes callback_time be a stable period by scheduling the
next timeout callback_time after the previous timeout was scheduled.
Ben Darnell [Thu, 28 Jul 2011 05:09:49 +0000 (22:09 -0700)]
Add option to print out generated template code in benchmark
Ben Darnell [Thu, 28 Jul 2011 05:03:50 +0000 (22:03 -0700)]
Speed up xhtml_escape (template benchmark goes from 49ms to 32ms)
Ben Darnell [Thu, 28 Jul 2011 05:01:05 +0000 (22:01 -0700)]
Add a template benchmark, based on one in jinja2
Ben Darnell [Thu, 28 Jul 2011 04:04:22 +0000 (21:04 -0700)]
More defensiveness about patterns that could lead to double callbacks.
Ben Darnell [Tue, 26 Jul 2011 17:50:32 +0000 (10:50 -0700)]
Allow unicode string literals to appear in template expressions.
Closes #313.
Ben Darnell [Mon, 25 Jul 2011 02:59:14 +0000 (19:59 -0700)]
Support Content-Length headers that have been duplicated by a proxy.
Closes #249.
Ben Darnell [Mon, 25 Jul 2011 02:24:23 +0000 (19:24 -0700)]
Merge branch 'httpclient_buffer'
Ben Darnell [Mon, 25 Jul 2011 02:23:38 +0000 (19:23 -0700)]
Fix test that depended on simple_httpclient implementation detail.
David Recordon [Thu, 21 Jul 2011 04:23:01 +0000 (21:23 -0700)]
Allow setting the maximum read buffer size when constructing a SimpleAsyncHTTPClient. Defaults to 100mb like the underlying IOStream. Tested that fetching a file over 100mb no longer gives a "Maximum read buffer size" exception.
Ben Darnell [Wed, 20 Jul 2011 02:35:22 +0000 (19:35 -0700)]
Consistently guard against uncaught exceptions leading to multiple callback
invocations in SimpleAsyncHTTPClient.