Ben Darnell
218ec03782
Fix precedence of StringIO imports for LogTrapTestCase.
...
io.StringIO doesn't allow byte strings even on python 2, which causes
it to fail with the standard log formatter (but not tornado's "pretty
logging").
Closes #708 .
2013-04-02 20:30:41 -04:00
Ben Darnell
fc96700298
Set the __test__ attribute on gen_test to False.
...
Without this, if a nose-using project imported gen_test nose would try
to run it as a test.
2013-04-02 00:11:10 -04:00
Ben Darnell
85478c5449
Fix exceptions in the gen module to work correctly with tuple keys.
...
Previously this would result in a TypeError instead of the intended exception.
2013-03-31 18:34:48 -04:00
Ben Darnell
476767c485
Merge branch 'branch3.0'
2013-03-31 17:45:19 -04:00
Ben Darnell
86c07fb441
Copy the notice about dict-style access to options to the backwards-compat section.
2013-03-31 17:44:22 -04:00
Ben Darnell
6a8bfce58a
Include readme in the setup.py long_description field.
...
This should let pypi pick it up automatically on upload.
2013-03-29 09:48:45 -04:00
Ben Darnell
bba0838eee
Bump version number in the master branch
2013-03-29 09:47:52 -04:00
Ben Darnell
c64d3d1578
Pypi's rst rendering doesn't like it when the same anchortext is reused
...
for different targets.
2013-03-29 09:32:15 -04:00
Ben Darnell
6c6b72f3a3
Set version number to 3.0
2013-03-29 09:02:04 -04:00
Ben Darnell
660f75fab6
Finalize 3.0 release notes.
2013-03-29 09:01:44 -04:00
Ben Darnell
c3cc556346
Downloads are now hosted on pypi instead of github.
2013-03-29 08:55:39 -04:00
Ben Darnell
4cdf3007dc
Fix another broken link on readme.
2013-03-28 00:13:20 -04:00
Ben Darnell
144968b135
Fix rst markup in readme
2013-03-28 00:12:10 -04:00
Ben Darnell
06e6c078a4
Replace the outdated README.md with a lightly-edited version of docs/index.rst
2013-03-28 00:11:06 -04:00
Ben Darnell
9a193ae5b5
Update pypi description field.
2013-03-27 23:29:01 -04:00
Ben Darnell
dd388bf184
Fix options.parse_config_file on Python 3.
...
Add a test for this function.
Closes #702 .
2013-03-27 22:55:04 -04:00
Ben Darnell
e48cf35543
Bump version to 3.0b2
2013-03-24 23:22:20 -04:00
Ben Darnell
646f92fcdd
Delete HTTPConnection._close_callback in between requests.
...
Previously the close callback would cause a reference to the previous
RequestHandler to be retained while waiting for the next request.
2013-03-24 23:21:08 -04:00
Ben Darnell
e00e4c61fe
Fix error handling with the combination of @asynchronous and @gen.coroutine.
...
Also make self.finish() optional for coroutines since we can finish
if the future resolves successfully.
2013-03-23 21:25:14 -04:00
Ben Darnell
8ddc760f18
Fix draft76 websocket protocol; fix websocket demo for python 3.
2013-03-18 20:52:23 -04:00
Ben Darnell
b5a27a3a2c
Document tornado.concurrent.Future.
...
All internal links now point there instead of to concurrent.future.Futures.
2013-03-17 13:42:12 -04:00
Ben Darnell
004bf1c321
Bump version number to 3.0b1
2013-03-16 19:34:01 -04:00
Ben Darnell
813f89cf48
Convert auth demo to coroutines.
2013-03-16 19:12:20 -04:00
Ben Darnell
088489abcd
Move gen from "utilities" to "asynchronous networking"
2013-03-16 19:05:11 -04:00
Ben Darnell
6bf30d08e1
Add/update docs for twisted, caresresolver, and util modules
2013-03-16 18:52:07 -04:00
Ben Darnell
8525507eb2
Doc updates: modules starting with W.
2013-03-16 18:01:57 -04:00
Ben Darnell
17c0e496f0
Skip ThreadedResolver tests on pypy.
...
There seem to be problems with thread/signal interactions.
2013-03-16 13:43:04 -04:00
Ben Darnell
693ebbe1f0
Doc updates, modules N-T.
2013-03-16 13:13:58 -04:00
Ben Darnell
c11f8d0ed5
Doc updates, modules H-L
2013-03-16 11:50:31 -04:00
Ben Darnell
e4feeba25d
Turn on dangling-reference warning in sphinx for local builds.
...
Reformat the HTTPFile docs where were causing odd reference errors.
2013-03-16 10:34:34 -04:00
Ben Darnell
ae61c7191c
Fix dangling references in old release notes.
2013-03-16 01:41:50 -04:00
Ben Darnell
1d6985514e
Fix docstring for locale.load_translations.
...
When unicode strings started using the u() function, this string
was no longer considered a docstring.
2013-03-16 01:25:22 -04:00
Ben Darnell
9f3dec0c30
Fix most of the rest of the dangling references.
2013-03-16 01:21:53 -04:00
Ben Darnell
974c229c8b
Update chat demo to be more exemplary.
...
Use gen.coroutine in auth handler (but not in wait_for_messages
because it makes things less clear and we don't have good cancellation
support). No more mixin. Python 3 compatible.
2013-03-16 00:52:04 -04:00
Ben Darnell
53fc8fd3de
Rewrite gen docs to make coroutine the primary decorator.
2013-03-16 00:18:46 -04:00
Ben Darnell
9c1b189f5d
Fix dangling links in next.rst
2013-03-15 23:29:42 -04:00
Ben Darnell
b166bdf442
Fix dangling references in recently-revised docs.
2013-03-15 23:14:48 -04:00
Ben Darnell
0984b2cf09
Turn on intersphinx support for links to the standard library.
2013-03-15 22:56:03 -04:00
Ben Darnell
f7a2fad709
Minor doc updates for modules A-E
2013-03-15 22:50:19 -04:00
Ben Darnell
d577bc518d
Convert auth module code samples to use gen.coroutine.
2013-03-15 22:24:13 -04:00
Ben Darnell
950d7d3837
Doc updates for the auth module.
2013-03-15 22:16:37 -04:00
Ben Darnell
059f0e8dbe
Rename WebSocketConnect to websocket_connect.
...
Add docs for undocumented functions and modules.
2013-03-14 23:45:48 -04:00
Ben Darnell
6e3c288eb0
Add new methods to docs, found by sphinx coverage extension.
2013-03-14 23:07:58 -04:00
Ben Darnell
ebac4c0dfa
Fix bad merge
2013-03-14 22:44:18 -04:00
Ben Darnell
ae166d7219
Merge remote-tracking branch 'norman-labs/branch2.4'
...
Conflicts:
tornado/httputil.py
2013-03-14 21:42:49 -04:00
bdarnell
330d8ecf20
Merge pull request #695 from evanj/master
...
httpserver: If no X-Scheme header, use the normal request value.
2013-03-12 18:54:24 -07:00
Evan Jones
081af7c4d3
httpserver: If no X-Scheme header, use the normal request value.
...
Previously, if xheaders is True and there are no X headers passed (e.g. when
developing locally), scheme was always "http". This makes in "http" or
"https", based on what was actually used for the request.
Add tests for the X-Scheme and X-Forwarded-Proto headers.
2013-03-12 16:23:52 -04:00
Ben Darnell
16932d8cff
Rewrite text on index page.
2013-03-10 23:04:06 -04:00
Ben Darnell
2275692847
Build pdfs from documentation.rst, not index.rst
2013-03-10 21:32:36 -04:00
Ben Darnell
abc5780a06
Just skip all timing-sensitive tests on travis-ci.
2013-03-10 19:11:59 -04:00