Commit Graph

1609 Commits

Author SHA1 Message Date
Ben Darnell 688afb5c35 Start a new next-release-notes file 2013-04-14 17:03:46 -04:00
Ben Darnell eb710ff046 Fix the import_object ImportError on Python 3.
Python 3 also changed exception messages slightly so remove one case
from the doctest.
2013-04-14 16:07:40 -04:00
Ben Darnell 55d33945ab Merge remote-tracking branch 'kachayev/import-object' 2013-04-14 16:03:08 -04:00
Ben Darnell 2744f3702c Break up a reference cycle with RequestHandler.ui when handler exits cleanly.
This is not strictly necessary, but allows for CPython's refcounting
GC to reclaim the handler sooner than waiting for a full GC.

Closes #383.
2013-04-14 15:59:20 -04:00
Ben Darnell 3e4b4cac66 Break reference cycle between WebSocketHandler and WebSocketProtocol on close.
This isn't strictly necessary, but it allows the refcounting CPython GC
to clean things up without waiting for a full GC.

Closes #382.
2013-04-14 15:42:24 -04:00
Ben Darnell 6e00a75a95 Always send oauth_version=1.0, even when using 1.0a.
This is required by the spec (http://oauth.net/core/1.0/#auth_step1).
Many providers (including Google and Twitter) allow a value of either
1.0 or 1.0a here, but e.g. LinkedIn requires 1.0.

Closes #236.
2013-04-14 15:31:50 -04:00
Ben Darnell 227ca881ad Add link to PDF docs. 2013-04-14 13:58:55 -04:00
Ben Darnell 0d80ca7886 Merge commit '0771f' 2013-04-13 20:39:24 -04:00
Ben Darnell 8ca13ef006 Handle malformed headers more gracefully.
Closes #699.
2013-04-13 20:35:24 -04:00
bdarnell 75a294683c Merge pull request #693 from apieceofredcloth/master
Allow lists as well as tuples in handler definitions
2013-04-13 17:15:11 -07:00
Ben Darnell 8eacd5ba5d Document the fact that auth_mode="digest" only works with curl.
Add check in simple_httpclient that only basic mode is used.
2013-04-13 19:35:39 -04:00
bdarnell 98b0262d57 Merge pull request #700 from icaromedeiros/master
Digest authentication for curl_httpclient
2013-04-13 16:21:03 -07:00
Ben Darnell e0e8f7e1d5 Merge remote-tracking branch 'mrjoes/perf' 2013-04-13 18:22:16 -04:00
Ben Darnell d2457ec1ee Parse if-modified-since timestamps without going through time_t or local time.
This fixes a bug on windows in which mktime cannot work with times before
the epoch.

Closes #713.
2013-04-13 18:15:49 -04:00
Serge S. Koval 7485f2a0cb _handle_exception in testing.py ignores passed exception 2013-04-14 00:28:36 +03:00
Ben Darnell 4059df2099 Ignore negative return values from CurlMulti.timeout.
pycurl has a wraparound bug that can turn very large timeouts into
negative numbers.

Closes #712.
2013-04-13 17:20:07 -04:00
Serge S. Koval 78d9cc6519 Don't use range for performance reasons 2013-04-14 00:02:49 +03:00
Serge S. Koval f716564dfe Use range instead of xrange 2013-04-14 00:00:27 +03:00
Ben Darnell 74c6075d58 Fix escaping error in blog demo
Closes #726.
2013-04-13 16:40:23 -04:00
Serge S. Koval fd72866469 Comparison fix 2013-04-13 23:12:37 +03:00
Serge S. Koval 681e76a4e9 Optimized StackContext implementation 2013-04-13 23:09:50 +03:00
Ben Darnell 7cb8072e69 Bump version number in the master branch 2013-04-12 10:15:21 -04:00
Ben Darnell 8b72824826 Re-add google webmaster tools site verification code. 2013-04-10 23:53:58 -04:00
Ben Darnell e555908785 Set version number to 3.0.1 2013-04-08 23:26:51 -04:00
Ben Darnell 1e69faa115 Make the websocket_connect error handling more comprehensive.
Now covers successful http responses that return a non-websocket body
and network errors that prevent a body from being returned.

Added a connect_timeout parameter to websocket_connect.
2013-04-08 23:11:08 -04:00
bdarnell cc745780fe Merge pull request #707 from protoss-player/master
websocket_connect should not hang on HTTP errors
2013-04-08 19:49:29 -07:00
Ben Darnell f229efbf06 Update debug mode docs. 2013-04-08 22:46:30 -04:00
Ben Darnell 5b3e9ec4a3 Add 3.0.1 release notes. 2013-04-08 22:22:34 -04:00
bdarnell d42ccf03ad Merge pull request #704 from chrislea/master
Add check for ssl.CertificateError in netutil.py
2013-04-08 19:00:19 -07:00
Ben Darnell 6e63b238c7 HTTPResponse.request should always be an HTTPRequest, never a _RequestProxy.
Closes #718.
2013-04-08 21:47:35 -04:00
bdarnell fedb7f6861 Merge pull request #720 from wsantos/facebook_future
Add future interface to FacebookGraphMixin
2013-04-08 18:14:26 -07:00
Waldecir Santos 5a42c4b973 Add future interface to FacebookGraphMixin 2013-04-08 15:41:09 -03:00
Ben Darnell d02b031bc9 Add an ioloop command line flag to the benchmark script. 2013-04-07 13:07:23 -04:00
Ben Darnell 0de3de6ff4 Update pyuv test for latest version of pyuv and tornado-pyuv 2013-04-04 22:30:52 -04:00
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
Vadim Semenov 1ebd245750 tests: test for websocket_connect failure 2013-04-02 19:27:26 +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
Vadim Semenov a69a43b5ef websocket_connect: don't hang on HTTP errors 2013-04-02 03:03:12 +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
Chris Lea a8d8c38e36 add check for ssl.CertificateError 2013-03-29 15:33:02 -07: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