]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
14 years agoadd text tracebacks on 500s when in debug mode 289/head
Evan Klitzke [Thu, 23 Jun 2011 18:14:16 +0000 (11:14 -0700)] 
add text tracebacks on 500s when in debug mode

14 years agoAdd more prominent warning about incompatible changes in 2.0
Ben Darnell [Wed, 22 Jun 2011 06:04:39 +0000 (23:04 -0700)] 
Add more prominent warning about incompatible changes in 2.0

14 years agoAdd more setup.py debris to .gitignore
Ben Darnell [Wed, 22 Jun 2011 06:00:15 +0000 (23:00 -0700)] 
Add more setup.py debris to .gitignore

14 years agoSet version number to 2.0 v2.0.0
Ben Darnell [Wed, 22 Jun 2011 05:28:35 +0000 (22:28 -0700)] 
Set version number to 2.0

14 years agoAdd 2.0 release notes
Ben Darnell [Wed, 22 Jun 2011 05:28:20 +0000 (22:28 -0700)] 
Add 2.0 release notes

14 years agoAdd test for unicode domain and path arguments to set_cookie
Ben Darnell [Wed, 22 Jun 2011 03:43:14 +0000 (20:43 -0700)] 
Add test for unicode domain and path arguments to set_cookie

14 years agoUpdate homepage
Ben Darnell [Sun, 19 Jun 2011 22:40:16 +0000 (15:40 -0700)] 
Update homepage

14 years agoMisc updates
Ben Darnell [Sun, 19 Jun 2011 21:25:19 +0000 (14:25 -0700)] 
Misc updates

14 years agoRemove old markdown version of overview page
Ben Darnell [Sun, 19 Jun 2011 20:29:31 +0000 (13:29 -0700)] 
Remove old markdown version of overview page

14 years agoRemove some redundant sections; flatten document structure
Ben Darnell [Sun, 19 Jun 2011 20:01:22 +0000 (13:01 -0700)] 
Remove some redundant sections; flatten document structure

14 years agoFix formatting that didn't convert correctly
Ben Darnell [Sun, 19 Jun 2011 19:37:10 +0000 (12:37 -0700)] 
Fix formatting that didn't convert correctly

14 years agoConvert overview from markdown to rst with pandoc
Ben Darnell [Sun, 19 Jun 2011 19:10:26 +0000 (12:10 -0700)] 
Convert overview from markdown to rst with pandoc

14 years agoStyle updates
Ben Darnell [Sun, 19 Jun 2011 19:05:28 +0000 (12:05 -0700)] 
Style updates

14 years agoRun coverage check and fill in the blanks
Ben Darnell [Sun, 19 Jun 2011 18:23:53 +0000 (11:23 -0700)] 
Run coverage check and fill in the blanks

14 years agoFinish this round of doc updates
Ben Darnell [Sun, 19 Jun 2011 17:45:35 +0000 (10:45 -0700)] 
Finish this round of doc updates

14 years agoIOLoop and HTTPClient docs
Ben Darnell [Fri, 17 Jun 2011 07:16:40 +0000 (00:16 -0700)] 
IOLoop and HTTPClient docs

14 years agoMore doc updates
Ben Darnell [Fri, 17 Jun 2011 05:36:33 +0000 (22:36 -0700)] 
More doc updates

14 years agoNew method to_basestring replaces some use of native_str.
Ben Darnell [Thu, 16 Jun 2011 02:34:49 +0000 (19:34 -0700)] 
New method to_basestring replaces some use of native_str.

native_str would force the argument to (utf8) bytes, while in python2
it is often more appropriate to preserve the type of the input data.

Closes #280

14 years agoUnquote PATH_INFO in wsgi.
Ben Darnell [Tue, 14 Jun 2011 21:38:42 +0000 (14:38 -0700)] 
Unquote PATH_INFO in wsgi.

Closes #281
Closes #282

14 years agoUpdate overview for new 2.0 features
Ben Darnell [Sun, 12 Jun 2011 04:57:53 +0000 (21:57 -0700)] 
Update overview for new 2.0 features

14 years agoAdd past release notes to sphinx docs
Ben Darnell [Sun, 12 Jun 2011 04:32:45 +0000 (21:32 -0700)] 
Add past release notes to sphinx docs

14 years agoBump version number to 2.0rc1.
Ben Darnell [Sun, 12 Jun 2011 02:14:41 +0000 (19:14 -0700)] 
Bump version number to 2.0rc1.

14 years agoBACKWARDS-INCOMPATIBLE: turn on template autoescaping by default.
Ben Darnell [Sun, 12 Jun 2011 00:22:09 +0000 (17:22 -0700)] 
BACKWARDS-INCOMPATIBLE: turn on template autoescaping by default.

Disable autoescaping in demos that don't already use it.

14 years agoMerge branch 'docs'
Ben Darnell [Sat, 11 Jun 2011 22:15:39 +0000 (15:15 -0700)] 
Merge branch 'docs'

14 years agoServe sphinx docs from app engine
Ben Darnell [Sat, 11 Jun 2011 22:09:05 +0000 (15:09 -0700)] 
Serve sphinx docs from app engine

14 years agoInclude __init__ methods in autodoc too
Ben Darnell [Sat, 11 Jun 2011 21:53:28 +0000 (14:53 -0700)] 
Include __init__ methods in autodoc too

14 years agoAdd titles to table of contents
Ben Darnell [Sat, 11 Jun 2011 21:48:46 +0000 (14:48 -0700)] 
Add titles to table of contents

14 years agoUse real section headers
Ben Darnell [Sat, 11 Jun 2011 21:35:54 +0000 (14:35 -0700)] 
Use real section headers

14 years agoOne more autodoc cleanup
Ben Darnell [Sat, 11 Jun 2011 21:32:54 +0000 (14:32 -0700)] 
One more autodoc cleanup

14 years agoStyle sphinx docs to match the rest of the site
Ben Darnell [Sat, 11 Jun 2011 21:30:51 +0000 (14:30 -0700)] 
Style sphinx docs to match the rest of the site

14 years agoFinish automatic documentation
Ben Darnell [Sat, 11 Jun 2011 20:31:29 +0000 (13:31 -0700)] 
Finish automatic documentation

14 years agoDocument debug mode and autoreload
Ben Darnell [Sat, 11 Jun 2011 19:45:33 +0000 (12:45 -0700)] 
Document debug mode and autoreload

14 years agoGive template-generated code a fake "filename" to avoid confusing code-coverage tools
Ben Darnell [Sat, 11 Jun 2011 19:33:34 +0000 (12:33 -0700)] 
Give template-generated code a fake "filename" to avoid confusing code-coverage tools

14 years agoDemote s3server.py to a demo
Ben Darnell [Sat, 11 Jun 2011 19:19:13 +0000 (12:19 -0700)] 
Demote s3server.py to a demo

14 years agoReplace tornado.web._unicode with tornado.escape._unicode.
Ben Darnell [Sat, 11 Jun 2011 18:51:19 +0000 (11:51 -0700)] 
Replace tornado.web._unicode with tornado.escape._unicode.

Add a test case where this matters (when the argument is None)

14 years agoMore autodoc fixes
Ben Darnell [Fri, 10 Jun 2011 07:13:20 +0000 (00:13 -0700)] 
More autodoc fixes

14 years agoUse coverage checker instead of automatic member extraction
Ben Darnell [Thu, 9 Jun 2011 18:03:49 +0000 (11:03 -0700)] 
Use coverage checker instead of automatic member extraction

14 years agoFix up docs for web.py
Ben Darnell [Thu, 9 Jun 2011 08:15:56 +0000 (01:15 -0700)] 
Fix up docs for web.py

14 years agoSkeletal autogenerated reference documentation
Ben Darnell [Thu, 9 Jun 2011 06:58:58 +0000 (23:58 -0700)] 
Skeletal autogenerated reference documentation

14 years agoFix a non-ascii docstring
Ben Darnell [Thu, 9 Jun 2011 06:58:30 +0000 (23:58 -0700)] 
Fix a non-ascii docstring

14 years agoAdd the ability to escape template commands with {{! and {%!
Ben Darnell [Wed, 8 Jun 2011 06:27:05 +0000 (23:27 -0700)] 
Add the ability to escape template commands with {{! and {%!

14 years agoMerge remote-tracking branch 'inferno-/master'
Ben Darnell [Wed, 8 Jun 2011 04:57:22 +0000 (21:57 -0700)] 
Merge remote-tracking branch 'inferno-/master'

14 years agoReplace IOStream._read_buffer_size() with a simple counter to speed up performance... 277/head
Rickard B [Tue, 7 Jun 2011 10:22:23 +0000 (12:22 +0200)] 
Replace IOStream._read_buffer_size() with a simple counter to speed up performance when buffer contains many chunks.

14 years agoRemove dead code
Ben Darnell [Sun, 5 Jun 2011 23:20:37 +0000 (16:20 -0700)] 
Remove dead code

14 years agoRemove unused imports, add a few missing ones
Ben Darnell [Sun, 5 Jun 2011 23:11:05 +0000 (16:11 -0700)] 
Remove unused imports, add a few missing ones

14 years agoAdd a Template UIModule, allowing templates to be called with keyword
Ben Darnell [Sun, 5 Jun 2011 22:41:25 +0000 (15:41 -0700)] 
Add a Template UIModule, allowing templates to be called with keyword
arguments instead of inheriting the caller's namespace with {% include %}.

14 years agoIntroduce {% module %} syntax for calling UIModules.
Ben Darnell [Sun, 5 Jun 2011 20:47:02 +0000 (13:47 -0700)] 
Introduce {% module %} syntax for calling UIModules.

Add linkify and xsrf_form_html as default modules.

14 years agoRefactor redundant code out of httpserver.py and wsgi.py to httputil.py
Ben Darnell [Sun, 5 Jun 2011 20:10:07 +0000 (13:10 -0700)] 
Refactor redundant code out of httpserver.py and wsgi.py to httputil.py

14 years agoTest multipart/form-data parsing in wsgi and fix it for python3
Ben Darnell [Sun, 5 Jun 2011 19:58:26 +0000 (12:58 -0700)] 
Test multipart/form-data parsing in wsgi and fix it for python3

14 years agoOnly listen on localhost so unittests don't cause firewall warnings
Ben Darnell [Sun, 5 Jun 2011 19:13:08 +0000 (12:13 -0700)] 
Only listen on localhost so unittests don't cause firewall warnings

14 years agoDocumentation fix
Ben Darnell [Sat, 4 Jun 2011 21:35:25 +0000 (14:35 -0700)] 
Documentation fix

14 years agoTest use of a custom escaping function
Ben Darnell [Wed, 1 Jun 2011 07:22:55 +0000 (00:22 -0700)] 
Test use of a custom escaping function

14 years agoAdd autoescape application setting and convert chatdemo to use it.
Ben Darnell [Tue, 31 May 2011 02:03:54 +0000 (19:03 -0700)] 
Add autoescape application setting and convert chatdemo to use it.

14 years agoAdd raw expressions to templates with {% raw [expr] %}
Ben Darnell [Tue, 31 May 2011 01:51:31 +0000 (18:51 -0700)] 
Add raw expressions to templates with {% raw [expr] %}

14 years agoFirst pass at template autoescaping
Ben Darnell [Mon, 30 May 2011 21:58:00 +0000 (14:58 -0700)] 
First pass at template autoescaping

14 years agoMake template.Loader and DictLoader share a common base class
Ben Darnell [Mon, 30 May 2011 21:07:10 +0000 (14:07 -0700)] 
Make template.Loader and DictLoader share a common base class

14 years agoFix template rendering for non-string expressions.
Ben Darnell [Mon, 30 May 2011 19:11:42 +0000 (12:11 -0700)] 
Fix template rendering for non-string expressions.

Template.generate() now always returns byte strings.

14 years agoExtract etag computation so it can be customized or disabled.
Ben Darnell [Mon, 30 May 2011 08:09:11 +0000 (01:09 -0700)] 
Extract etag computation so it can be customized or disabled.

14 years agoAllow the application to determine the encoding used for url parameters (previously...
Ben Darnell [Mon, 30 May 2011 06:32:22 +0000 (23:32 -0700)] 
Allow the application to determine the encoding used for url parameters (previously hard-coded to utf8).

HTTPRequest.arguments now maps from native strings to bytes.  That's slightly
inconsistent, but having byte strings as dictionary keys is awkward.

14 years agoAdd an encoding argument to tornado.escape.url_unescape.
Ben Darnell [Mon, 30 May 2011 04:57:35 +0000 (21:57 -0700)] 
Add an encoding argument to tornado.escape.url_unescape.

14 years agoAdd type checks for web.py methods.
Ben Darnell [Mon, 30 May 2011 02:33:42 +0000 (19:33 -0700)] 
Add type checks for web.py methods.

Undo some unnecessary unicodification from the python3 changes.

14 years agoType checks for httpserver.HTTPRequest fields
Ben Darnell [Mon, 30 May 2011 01:39:23 +0000 (18:39 -0700)] 
Type checks for httpserver.HTTPRequest fields

14 years agoCheck types of HTTPClient response objects and make them consistent
Ben Darnell [Mon, 30 May 2011 01:12:16 +0000 (18:12 -0700)] 
Check types of HTTPClient response objects and make them consistent

14 years agoMove most simple_httpclient tests to httpclient_test.py where they can
Ben Darnell [Mon, 30 May 2011 01:02:13 +0000 (18:02 -0700)] 
Move most simple_httpclient tests to httpclient_test.py where they can
be run against both AsyncHTTPClient implementations.

14 years agoAdd AI_ADDRCONFIG to getaddrinfo call, which may fix ipv6-related issues report on...
Ben Darnell [Mon, 30 May 2011 00:27:48 +0000 (17:27 -0700)] 
Add AI_ADDRCONFIG to getaddrinfo call, which may fix ipv6-related issues report on the mailing list

14 years agoTest template include/extend operations
Ben Darnell [Sun, 29 May 2011 23:07:20 +0000 (16:07 -0700)] 
Test template include/extend operations

14 years agoTest WSGIApplication and make it work on python3
Ben Darnell [Sun, 29 May 2011 22:54:53 +0000 (15:54 -0700)] 
Test WSGIApplication and make it work on python3

14 years agoMake WSGIContainer work on python 3
Ben Darnell [Sun, 29 May 2011 22:45:41 +0000 (15:45 -0700)] 
Make WSGIContainer work on python 3

14 years agoAdd a simple template test and make it pass in python 3
Ben Darnell [Sun, 29 May 2011 22:21:07 +0000 (15:21 -0700)] 
Add a simple template test and make it pass in python 3

14 years agoAdd script to run test suite with multiple python versions at once
Ben Darnell [Sun, 29 May 2011 22:04:24 +0000 (15:04 -0700)] 
Add script to run test suite with multiple python versions at once

14 years agoMake tornado.testing.main with no arguments work in python 3.2
Ben Darnell [Sun, 29 May 2011 21:02:27 +0000 (14:02 -0700)] 
Make tornado.testing.main with no arguments work in python 3.2

14 years agoDon't add an extra delimter when no arguments are given
Ben Darnell [Sun, 29 May 2011 01:24:07 +0000 (18:24 -0700)] 
Don't add an extra delimter when no arguments are given

14 years agoRemove execute permission from files not intended to be entry points
Ben Darnell [Sat, 28 May 2011 22:03:35 +0000 (15:03 -0700)] 
Remove execute permission from files not intended to be entry points

14 years agoAdd a test that imports all tornado modules to at least ensure there are no
Ben Darnell [Sat, 28 May 2011 21:59:49 +0000 (14:59 -0700)] 
Add a test that imports all tornado modules to at least ensure there are no
syntax errors in otherwise-untested modules like auth and websocket.

14 years agoMake OAuth2Mixin work even when OAUTH_AUTHORIZE_URL doesn't end with "?"
Ben Darnell [Sat, 28 May 2011 21:51:05 +0000 (14:51 -0700)] 
Make OAuth2Mixin work even when OAUTH_AUTHORIZE_URL doesn't end with "?"

Based on https://github.com/facebook/tornado/pull/269

14 years agoConvert path components to unicode for consistency with get_argument().
Ben Darnell [Sat, 28 May 2011 21:23:36 +0000 (14:23 -0700)] 
Convert path components to unicode for consistency with get_argument().

14 years agoFix HTTPServer on windows, where IPPROTO_IPV6 options are not available
Ben Darnell [Sat, 28 May 2011 20:40:38 +0000 (13:40 -0700)] 
Fix HTTPServer on windows, where IPPROTO_IPV6 options are not available

14 years agoFix decoding of non-ascii characters in query strings
Ben Darnell [Wed, 25 May 2011 05:29:53 +0000 (22:29 -0700)] 
Fix decoding of non-ascii characters in query strings

14 years agoInner headers for multipart/form-data default to utf-8
Ben Darnell [Tue, 24 May 2011 06:23:39 +0000 (23:23 -0700)] 
Inner headers for multipart/form-data default to utf-8

14 years agoFix and test encoding handling for multipart/form-data. Now works
Ben Darnell [Tue, 24 May 2011 05:08:22 +0000 (22:08 -0700)] 
Fix and test encoding handling for multipart/form-data.  Now works
with non-ascii data in all parts of the request in both python2 and python3.

14 years agoMake xhtml_escape work in python3; add test.
Ben Darnell [Sat, 21 May 2011 03:10:06 +0000 (20:10 -0700)] 
Make xhtml_escape work in python3; add test.

14 years agoUse the standard mime type application/json when producing json output
Ben Darnell [Thu, 19 May 2011 06:35:35 +0000 (23:35 -0700)] 
Use the standard mime type application/json when producing json output

14 years agoMerge pull request #260 from alanhogan/documentation-improvement
bdarnell [Thu, 19 May 2011 06:26:23 +0000 (23:26 -0700)] 
Merge pull request #260 from alanhogan/documentation-improvement

Document redirections and StaticFileHandler

14 years agoTypo, restore missing path setting, and mention the capturing group 260/head
Alan Hogan [Thu, 19 May 2011 02:51:31 +0000 (19:51 -0700)] 
Typo, restore missing path setting, and mention the capturing group

14 years agoAdd simple test application for websockets
Ben Darnell [Wed, 18 May 2011 06:14:02 +0000 (23:14 -0700)] 
Add simple test application for websockets

14 years agoFix websocket after string type changes introduced by python3 merge
Ben Darnell [Wed, 18 May 2011 06:13:36 +0000 (23:13 -0700)] 
Fix websocket after string type changes introduced by python3 merge

14 years agoRun SSL tests even when pycurl is not present.
Ben Darnell [Mon, 16 May 2011 03:10:42 +0000 (20:10 -0700)] 
Run SSL tests even when pycurl is not present.

14 years agoClient-side ipv6 support (disabled by default)
Ben Darnell [Mon, 16 May 2011 03:01:58 +0000 (20:01 -0700)] 
Client-side ipv6 support (disabled by default)

14 years agoServer-side ipv6 support.
Ben Darnell [Sun, 15 May 2011 07:54:29 +0000 (00:54 -0700)] 
Server-side ipv6 support.

Also support multiple bind addresses in one HTTPServer

14 years agoFix cookie handling after python3 encoding changes. Add tests.
Ben Darnell [Sun, 15 May 2011 23:59:43 +0000 (16:59 -0700)] 
Fix cookie handling after python3 encoding changes.  Add tests.

14 years agoAdd tornado.escape.native_str() for dealing with python 2 vs 3 issues.
Ben Darnell [Sun, 15 May 2011 23:58:29 +0000 (16:58 -0700)] 
Add tornado.escape.native_str() for dealing with python 2 vs 3 issues.

Rename _unicode() to to_unicode() so it doesn't look private, make its
implementation match utf8(), and document both functions.

14 years agoPython3-ify this test
Ben Darnell [Sun, 15 May 2011 23:30:41 +0000 (16:30 -0700)] 
Python3-ify this test

14 years agoHelp 2to3 with a tricky three-argument raise statement
Ben Darnell [Sun, 15 May 2011 23:30:13 +0000 (16:30 -0700)] 
Help 2to3 with a tricky three-argument raise statement

14 years agoPython3 doesn't have a useful basestring type any more :(
Ben Darnell [Sun, 15 May 2011 23:29:19 +0000 (16:29 -0700)] 
Python3 doesn't have a useful basestring type any more :(

14 years agoDocument how to fake other root files despite serving with StaticFileHandler
Alan Hogan [Sun, 15 May 2011 19:05:13 +0000 (12:05 -0700)] 
Document how to fake other root files despite serving with StaticFileHandler

14 years agoDocument RedirectHandler
Alan Hogan [Sun, 15 May 2011 19:04:01 +0000 (12:04 -0700)] 
Document RedirectHandler

14 years agoAdd keepalive support to benchmark, add other command-line args
Ben Darnell [Sun, 15 May 2011 05:53:29 +0000 (22:53 -0700)] 
Add keepalive support to benchmark, add other command-line args

14 years agoFix a StackContext leak introduced by the delayed IOStream callbacks
Ben Darnell [Sun, 15 May 2011 05:35:23 +0000 (22:35 -0700)] 
Fix a StackContext leak introduced by the delayed IOStream callbacks

14 years agoConvert http request bodies to utf8 earlier so content-length is correct
Ben Darnell [Sun, 15 May 2011 04:29:58 +0000 (21:29 -0700)] 
Convert http request bodies to utf8 earlier so content-length is correct

14 years agoSmall speedups
Ben Darnell [Sun, 15 May 2011 04:25:31 +0000 (21:25 -0700)] 
Small speedups