Commit Graph

1215 Commits

Author SHA1 Message Date
Ben Darnell 495138b444 Fix html markup in sphinx docs 2013-03-13 09:08:30 -04:00
Ben Darnell 515ad6a3a7 Add google webmaster tools verification tag 2013-03-11 22:25:25 -04:00
Ben Darnell 7f95795ac4 Fix broken links 2013-03-10 16:55:42 -04:00
Ben Darnell 7ce6484236 Add favicon to sphinx config 2013-03-10 15:58:05 -04:00
Ben Darnell e49ba0c5b7 Add a max-width for body text to match the appengine site 2013-03-10 15:08:43 -04:00
Ben Darnell 0b9e5ce9c8 Get the tricky parts of the sphinx conversion working. 2013-03-10 15:04:06 -04:00
Ben Darnell 11af37659a Add a sphinx/rst version of the tornadoweb.org index page. (WIP) 2013-03-10 14:25:06 -04:00
Ben Darnell 73ed33ed96 sphinx: Set the html_theme variable explicitly.
This should let our custom css show on readthedocs.org.
2013-03-09 22:11:39 -05:00
Ben Darnell 169ac4ef49 Bump version to 2.4.1, update release notes. 2012-11-24 21:24:44 -05:00
Ben Darnell 722731d571 Fix a bug with IOStream.read_until_close with a streaming_callback.
If the underlying socket was already closed the buffered data
would be passed to the final callback rather than the streaming callback.

Conflicts:
	website/sphinx/releases/next.rst
2012-11-22 13:31:48 -05:00
Ben Darnell c113ac17c8 Fix TwitterMixin on Python 3.
Also add tests, and add get_auth_http_client method to all auth mixins.

Closes #634.

Conflicts:
	tornado/test/auth_test.py
	website/sphinx/releases/next.rst
2012-11-22 13:30:49 -05:00
Ben Darnell 18a66beb55 Fix a memory leak in stack_context.
The old_contexts reference in StackContexts could maintain a chain of
old irrelevant contexts, so clear it once it's no longer needed.
This was mainly a problem in gen.engine, where additional contexts
would accumulate in memory (but not on the stack) for each asynchronous
operation.

Also clear the deactivate_stack_context in gen.Runner to allow
the StackContext to be garbage-collected sooner.
2012-11-22 13:28:50 -05:00
Ben Darnell 488c0d2739 Upgrade appengine website to python 2.7. 2012-11-18 16:19:33 -05:00
Ben Darnell 05e0a38698 Update app engine id for HRD migration. 2012-11-18 16:09:45 -05:00
Ben Darnell f5d4a92e66 Document the deprecation of tornado.database in the 2.4 branch. 2012-11-18 15:27:22 -05:00
Ben Darnell 648bebf0ee Final 2.4 release notes 2012-09-03 22:09:29 -07:00
Ben Darnell 0846140fd7 Set version number to 2.4 2012-09-03 22:07:23 -07:00
bdarnell f4c037c887 Merge pull request #591 from taylorhughes/master
Change example to not include legit-random-looking cookie secrets
2012-09-01 14:30:55 -07:00
Taylor Hughes 35b432fee2 Make it obvious to anyone reading copy-pasted example code that the cookie secret is not suitable for production use. 2012-08-31 23:47:11 -07:00
Taylor Hughes 764b443baa Make it obvious to anyone reading copy-pasted example code that the cookie secret is not suitable for production use. 2012-08-31 23:46:56 -07:00
Ben Darnell 3474d5f931 Twisted is dropping python 2.5 support in their upcoming 12.2.0 release. 2012-08-30 13:42:54 -04:00
Ben Darnell 0148fda37b Autobahn websocket test has moved to a separate package. 2012-08-29 13:33:00 -04:00
Ben Darnell b76e79611c Fix tests on windows 2012-08-28 15:24:55 -04:00
Ben Darnell 38077c5e57 Add link to new settings docs in release notes 2012-08-28 13:43:13 -04:00
Ben Darnell a2e746c0f9 Organize next-release notes. 2012-08-27 19:18:38 -04:00
Ben Darnell 790d86a469 Document all available application settings. 2012-08-27 18:56:34 -04:00
Ben Darnell 5eb9821e68 Fill in missing docs and other minor doc updates. 2012-08-27 17:57:08 -04:00
Ben Darnell b8d0742b55 Run twisted tests in a temporary directory so they don't leak temp files.
This mainly affected the unix socket tests.
2012-08-27 17:45:50 -04:00
Ben Darnell 06c09038cf Autopep8 cleanups. 2012-08-27 17:33:01 -04:00
Ben Darnell 0cb3924a9e Don't let autopep8 rewrite all the lines longer than 80 chars. 2012-08-27 17:31:47 -04:00
Ben Darnell 84df7ad428 Release note updates 2012-08-27 10:43:13 -07:00
Ben Darnell 54d91d5e13 Fix template errors with empty blocks.
Emits a "pass" statement in every generated block whether it's empty or not;
I verified with the disassembler that the unnecessary pass statements
don't generate extra bytecodes.

Closes #546.
2012-08-26 18:03:12 -07:00
Ben Darnell 58671703d3 Refactor template namespace from render_string to its own method.
This method may be overridden as an alternative to overriding render_string
and adding to kwargs, or may be used directly to render templates
without going through render_string (as when templates are constructed
directly; see https://github.com/facebook/tornado/issues/564)
2012-08-26 17:43:38 -07:00
Ben Darnell 30bc2332fb Make the openid claimed_id available in OpenIDMixin
This should be used as a persistent identifier for the user
since it is the only field guaranteed not to change.

Closes #568.
2012-08-26 16:45:35 -07:00
Ben Darnell 4386f1b088 Make authdemo's logout less confusing.
Closes #376.
2012-08-26 16:27:24 -07:00
Ben Darnell 8dc3a5d476 Release note updates 2012-08-24 20:26:46 -07:00
Ben Darnell df9a59a20a Fix test for pre-2.7 assertions 2012-08-19 19:31:15 -07:00
Ben Darnell b9d94fd1ad Merge remote-tracking branch 'evanj/master' into merge 2012-08-19 19:20:58 -07:00
Ben Darnell 0e6540bfd2 When closing an HTTPConnection, also clear a circular reference to self.
This reference could cause garbage collection of the connection object
to be delayed.

Closes #586.
2012-08-19 19:02:56 -07:00
Ben Darnell 302c503288 Allow calls to SSLIOStream.write while the connection is in progress.
Skip fast-path writes while connecting, and rework the interaction
between base class and subclass to avoid the possibility of doubly-wrapped
sockets.

Closes #587.
2012-08-19 12:16:15 -07:00
Ben Darnell 0147ac24d7 Reorganize IOStream tests and run them in both regular and ssl mode.
In the process, discover a quirk of the server-side SSL handshake and
a possible bug with ssl in pypy.
2012-08-18 22:56:14 -07:00
Ben Darnell cbc84bc50d Add binary_form argument to get_ssl_certificate.
The default form contains only basic information; the binary form is more
complete.
2012-08-18 19:39:57 -07:00
Ben Darnell 2b07385042 Test cleanup.
Listen on 127.0.0.1 to avoid firewall warnings. Move to AsyncHTTPTestCase
to reduce boilerplate.  Close a leaking file descriptor (ResourceWarnings
are still just printing out instead of making the tests fail)
2012-08-15 10:38:09 -07:00
Ben Darnell 986f415ec2 Merge remote-tracking branch 'bergundy/upstream' 2012-08-15 10:22:12 -07:00
Roey Berman 0e1863c6a0 added b() to string assertion in simple_httpclient_test:HTTP100ContinueTestCase (python3) 2012-08-15 14:48:20 +03:00
Roey Berman b399c011cd added b to stream write (for passing python3 tests 2012-08-15 14:36:51 +03:00
Roey Berman 954777f353 ignore 1xx headers prev commit was incomplete, fixed 2012-08-15 14:15:31 +03:00
Ben Darnell 4daeaeb1f0 Blacklist a few more twisted tests that seem flaky 2012-08-13 10:06:48 -07:00
Ben Darnell 685a4cd99c Update docutils dependency version.
0.9 doesn't appear to be in pypi any more.
2012-08-13 10:06:10 -07:00
Ben Darnell ec49816911 Fix str/bytes problems in the auth module on python 3.
In some cases signatures were being computed on str(byte object),
which is incorrect.  Enable python -bb flag to catch this class of
errors and fix up a few more instances.

Fixes #581.
2012-08-11 17:51:27 -07:00