Ben Darnell
0eb16fc542
Release notes.
2012-09-16 19:53:32 -07:00
Ben Darnell
4cf8344d83
Add tornado.process.Subprocess
2012-09-16 19:26:03 -07:00
Ben Darnell
6449189d4e
Add PipeIOStream
2012-09-16 17:13:53 -07:00
Ben Darnell
e88f02efe0
Split IOStream into BaseIOStream and IOStream.
...
IOStream the socket-specific code; BaseIOStream will be the basis
for non-socket-based streams (i.e. pipes)
2012-09-16 16:58:48 -07:00
Ben Darnell
186e947112
Remove tornado.database, which is now distributed separately.
2012-09-16 14:02:49 -07:00
Ben Darnell
4044f96c96
Mention HTTPError explicitly in the write_error docs.
...
Closes #594 .
2012-09-16 13:01:16 -07:00
Ben Darnell
95414238f3
Replace get_unused_port with bind_unused_port, which binds to port 0
...
to allow the OS to select a port for us.
Closes #590 .
2012-09-10 09:53:08 -07:00
Ben Darnell
7610920151
Run more of web_test in wsgi_test. Fix a bug with 304 in wsgi.
2012-09-09 21:34:58 -07:00
Ben Darnell
070e08a28c
Keep empty arguments in WSGI mode too.
...
Add another test and release notes.
2012-09-09 21:04:58 -07:00
Ben Darnell
f1ae398888
Merge commit 'ebf17aa'
...
Closes #585 .
2012-09-09 20:52:13 -07:00
Ben Darnell
6c0ee8d74c
Add additional command-line arguments to tornado.testing.main
2012-09-09 18:55:47 -07:00
Ben Darnell
dd3b0c2ccf
Document the logging changes
2012-09-09 18:43:52 -07:00
Ben Darnell
a1f6beecc8
Introduce ExpectLog as a finer-grained alternative to LogTrapTestCase,
...
and use it throughout the test suite.
2012-09-09 15:45:53 -07:00
Ben Darnell
97d6423646
Errors while rendering templates no longer log the generated code.
...
Now that stack traces have source line info, the full code is hopefully
unnecessary (and if it is needed, this isn't the best way to get it).
Syntax errors in the generated code will still dump the whole thing
to the log.
2012-09-09 15:43:24 -07:00
Ben Darnell
ba0b9d4383
Suppress tornado.access logs in tests, and remove LogTrapTestCase
...
from tests that no longer produce any logs.
2012-09-09 13:23:49 -07:00
Ben Darnell
2bc828b5a6
autoreload also needs to guarantee that logging is configured.
2012-09-09 13:23:32 -07:00
Ben Darnell
1bc087c024
Move LogFormatter from options.py to log.py
2012-09-08 21:35:51 -07:00
Ben Darnell
7d07525c3a
Compensate for move to non-root loggers by calling basicConfig in IOLoop.start.
...
The root logging methods call basicConfig automatically, but non-root loggers
do not.
2012-09-08 21:06:46 -07:00
Ben Darnell
9b944aa25c
Switch from root logger to separate loggers.
...
Rather than using one logger per module, use three semantically-defined
loggers: tornado.access, tornado.application, and tornado.general.
2012-09-08 20:54:06 -07:00
Ben Darnell
188195835c
Start new release notes
2012-09-08 12:49:22 -07:00
Ben Darnell
bcaaad192c
Merge branch 'tornado3'
2012-09-05 17:54:47 -07:00
Ben Darnell
5b7ebadd1b
Add unittest2 to other test configurations.
2012-09-05 17:54:21 -07:00
bdarnell
f50ef8e34b
Merge pull request #593 from phihag/correct-AI_ADDRCONFIG
...
Do not set AI_ADDRCONFIG in netutils.bind_sockets
2012-09-04 22:20:03 -07:00
Ben Darnell
7a2442d9d6
Post-release version bump
2012-09-04 21:50:58 -07:00
Philipp Hagemeister
b85e2f6e60
Add an example for flags
2012-09-04 17:04:47 +02:00
Philipp Hagemeister
587ef5ee9c
Do not set AI_ADDRCONFIG in netutil.bind_sockets
2012-09-04 12:34:00 +02:00
Philipp Hagemeister
c744288f94
Add a flags= option to netutil.bind_sockets
2012-09-04 12:33:38 +02: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
e1a0aea385
Replace our hacky homegrown test skipping with unittest.skip.
...
Add a test runner that makes the output for skipped tests more informative.
2012-08-30 19:46:33 -04:00
Ben Darnell
4e91f6720b
Start using new unittest features from py27/unittest2.
...
Tornado's test suite now requires unittest2 on py25 and py26.
tornado.testing will use unittest2 if available but does not require
it.
This means we can no longer run the test suite under app engine 2.5,
although it still works for app engine 2.7.
2012-08-30 18:24:49 -04:00
Ben Darnell
73c1ddfe2b
Move maint/appengine to maint/test/appengine
2012-08-30 14:41:24 -04: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