Commit Graph

3382 Commits

Author SHA1 Message Date
Ben Darnell 4ff46deab7 Merge branch 'branch4.4' 2017-04-01 14:27:25 -04:00
Ben Darnell 50f1890e3e Version bump and release notes for 4.4.3 2017-03-30 09:17:36 -04:00
Dayne Jones 8bb8795216 auth: Facebook now returns auth tokens in json instead of url-encoded
Fixes #1992
2017-03-29 21:45:37 -04:00
Dayne Jones 28287ea88d auth: Facebook now returns auth tokens in json instead of url-encoded
Fixes #1992
2017-03-29 21:43:07 -04:00
Ben Darnell 355315d272 Merge pull request #1989 from bdarnell/appveyor36
appveyor: Build for python 3.5 and 3.6
2017-03-27 10:42:34 -04:00
Ben Darnell e5cedc0a03 appveyor: Build for python 3.5 and 3.6 2017-03-26 18:34:25 -04:00
Ben Darnell 987291b495 Release notes and doc updates for 4.5 2017-03-26 17:10:47 -04:00
Ben Darnell 0ad63fcce4 Merge pull request #1917 from retinator/master
Allow custom websocket upgrade response headers
2017-03-26 14:56:25 -04:00
Ben Darnell 50aeb5a1ca Merge pull request #1988 from bdarnell/subprocess-test-detail
process_test: Report more details when test_sigchild_signal fails
2017-03-26 14:55:15 -04:00
Ben Darnell 8a4fc8652c Check in test script for circular references
From #1936
2017-03-26 14:43:23 -04:00
Ben Darnell b642b83ea9 Merge pull request #1936 from homm/break-circrefs
Break circular reference to exc_info when exception is thrown
2017-03-26 14:03:50 -04:00
Ben Darnell 148b0c6bda Merge pull request #1987 from bdarnell/iostream-orphan-future
Fix IOStream.write() to never orphan Future
2017-03-26 14:03:38 -04:00
Ben Darnell fc6bfe4739 Merge pull request #1927 from minrk/copy-list-in-close
copy handler list in IOLoop.close(all_fds=True)
2017-03-26 13:46:36 -04:00
Ben Darnell 71a8d194e7 Merge branch 'master' into master 2017-03-26 13:41:36 -04:00
Ben Darnell 4361451694 process_test: Report more details when test_sigchild_signal fails
This test occasionally fails on pypy on travis-ci.
2017-03-26 13:13:27 -04:00
Ben Darnell d73210f092 Merge pull request #1986 from bdarnell/yield-none-test
gen: Add tests for `yield None`
2017-03-26 13:10:24 -04:00
Antoine Pitrou 7c40bedd82 Fix IOStream.write() to never orphan Future
The current behaviour is error-prone and makes it difficult to use the
Future-returning variant of IOStream.write().  This change makes sure
the returned Future is triggered as soon as the corresponding write
is issued.
2017-03-26 12:25:19 -04:00
Ben Darnell df31744f76 Merge pull request #1985 from bdarnell/websocket-convert-yielded
websocket: Avoid calling convert_yielded twice on the same object
2017-03-26 12:20:14 -04:00
Ben Darnell 5d1a07581b Merge pull request #1864 from leynos/master
Allow specificion of trusted downstream proxies for xheaders
2017-03-26 12:17:12 -04:00
Ben Darnell 528ebe97cf gen: Add tests for `yield None`
See #1716
2017-03-26 11:57:20 -04:00
Ben Darnell 95e9ef9fbf Merge pull request #1716 from seirl/master
gen: handle None in convert_yielded
2017-03-26 11:46:00 -04:00
Ben Darnell 62d1c62021 Merge pull request #1817 from mivade/colorama
Enable color logging on Windows via colorama
2017-03-26 11:17:03 -04:00
Ben Darnell e90ed039d2 Merge pull request #1972 from andreasrosdal/master
Add compression_level and mem_level to WebSocketHandler.get_compression_options()
2017-03-26 11:16:19 -04:00
Ben Darnell b2a8a10c37 Merge pull request #1984 from bdarnell/autoreload-no-close
autoreload: Don't close the IOLoop on reload
2017-03-26 11:14:40 -04:00
Ben Darnell 5a451d63fc websocket: Avoid calling convert_yielded twice on the same object
This is not allowed for native coroutines, although for reasons I
can't put my finger on it only fails intermittently (in the one test
we have that uses this with native coroutines).
2017-03-26 11:12:37 -04:00
Michael V. DePalatis c610dd403d Replace func directive with double backticks 2017-03-25 17:25:13 -04:00
Andreas Røsdal 745419bf42 Use the member variables instead of arguments for self._compression_level and self._mem_level. 2017-03-25 20:16:10 +01:00
Ben Darnell fa809ed123 autoreload: Don't close the IOLoop on reload
This was a last-ditch effort to close file descriptors that were not
marked as CLOEXEC. However, it was never complete (it didn't touch
file descriptors that were not registered on the IOLoop), and it can't
work with asyncio (which does not allow closing the IOLoop without
stopping it and unwinding the stack first). Since Tornado (and
hopefully all major libraries using the IOLoop) is careful about
setting CLOEXEC when needed, just get rid of the close.

Fixes #1543
2017-03-25 14:00:26 -04:00
Ben Darnell 8ea13db107 Merge pull request #1971 from SuminAndrew/remove-with_statement
remove redundant with_statement feature
2017-03-25 12:56:39 -04:00
Ben Darnell 8cd37e04bf Merge pull request #1963 from protonpopsicle/master
HTTPServer pass no_keep_alive option to conn params
2017-03-25 11:53:20 -04:00
Ben Darnell 8c94e8ea7c Merge pull request #1966 from JZQT/master
Make `tornado.log.LogFormatter` compatible with `logging.config.dictConfig`.
2017-03-25 11:08:52 -04:00
Andreas Røsdal 5931f54411 Add parameter compression_options=None. 2017-03-08 21:29:17 +01:00
Andreas Røsdal e249267ff9 Make compression options argument optional. 2017-03-08 21:20:32 +01:00
Andreas Røsdal 0ee36275d4 Fix for Python 2.7. 2017-03-08 20:57:39 +01:00
Andreas Røsdal a69b049866 Add compression_level and mem_level to WebSocketHandler.get_compression_options(). 2017-03-08 20:31:00 +01:00
Andrew Sumin c162ebbc4d remove redundant with_statement feature 2017-03-07 12:07:06 +03:00
A. Jesse Jiryu Davis a0cce97f06 Merge pull request #1969 from iver56/patch-1
Fix typo "you app" -> "your app"
2017-03-05 14:15:04 -05:00
Iver Jordal de977baa1d Fix typo "you app" -> "your app" 2017-03-01 10:29:29 +01:00
JZQT c2969acc4f Make `tornado.log.LogFormatter` compatible with `logging.config.dictConfig`. 2017-02-27 10:46:52 +08:00
Michael V. DePalatis 9ffd08ff8f Leave calling colorama.init to the user 2017-02-26 18:25:33 -05:00
Ben Darnell d456f1b3db Merge pull request #1909 from ajdavis/on-message-coroutine
websocket: WebSocketHandler.on_message allows coroutines
2017-02-26 11:44:54 -05:00
A. Jesse Jiryu Davis b343f6ece8 websocket: WebSocketHandler.on_message allows coroutines
Fixes #1650
2017-02-26 11:22:23 -05:00
Ben Darnell e15dbaa53f Merge pull request #1957 from bdarnell/ws-ping
websocket: Periodic pinging for failure detection
2017-02-25 17:35:22 -05:00
Ben Darnell b926bde701 Merge pull request #1964 from dv321/websocket-client-callback
websocket: fix client message callback error
2017-02-25 17:34:47 -05:00
Doug Vargas 049d50d129 websocket protocol callback error handling uses getattr instead of direct attr access 2017-02-24 12:36:53 -08:00
Scott Meisburger 1189d2a8bb httpserver: pass no_keep_alive option to connection params 2017-02-24 11:58:55 -05:00
Ben Darnell d32446dfe3 Merge pull request #1873 from pitrou/bytearray_buffers
Use bytearray buffers in IOStream
2017-02-20 22:28:08 -05:00
Ben Darnell 72e8695089 web: Remove accidentally-set execute bit 2017-02-20 22:14:34 -05:00
Ben Darnell 95c4408ee0 Merge commit 'pull/origin/1653' 2017-02-20 22:01:01 -05:00
Ben Darnell fb10f7c243 Merge pull request #1649 from xrmx/docwindows
docs: give more hints on why windows is unsupported
2017-02-20 21:44:22 -05:00