Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 30, 2012
  1. @bdarnell

    Cleanly shut down the ThreadPoolExecutor in Resolver tests.

    bdarnell authored
    This was somehow causing a problem on Ubuntu 10.04.
Commits on Sep 29, 2012
  1. @bdarnell

    Doc coverage updates

    bdarnell authored
  2. @bdarnell

    Merge branch 'master' into futures

    bdarnell authored
    Conflicts:
    	tornado/autoreload.py
    	tornado/ioloop.py
    	tornado/netutil.py
    	tornado/simple_httpclient.py
    	tornado/test/ioloop_test.py
    	tornado/test/runtests.py
    	tox.ini
  3. @bdarnell

    Simplify StackContext logic and behavior.

    bdarnell authored
    Previously, there was an optimization to avoid recreating contexts
    that were already on the stack.  This optimization rarely mattered
    (especially given the movement to run all callbacks through
    IOLoop.add_callback), and sometimes caused surprising behavior as
    other exception handlers could be inserted between stack contexts that
    expected to be adjacent to each other or to the wrapped function.  Now
    each wrapped function recreates its full stack of contexts, even if
    some of those contexts were already on the stack.
    
    This change allows a use of NullContext in testing.py to be
    removed.
  4. @bdarnell

    Improve isolation of stack contexts.

    bdarnell authored
    Previously, a chain of callbacks started without any contexts could
    accidentally pick up other contexts based on where the callbacks
    were run.  This was due to a mistaken optimization in the no-context
    case; now the behavior is the same whether the initial context was empty
    or not.
  5. @bdarnell

    Add IOLoop.add_callback_from_signal, which avoids deadlocks

    bdarnell authored
    which can occur when calling add_callback from a signal handler.
    
    Also fix an issue in the recent set_wakeup_fd change when running
    an IOLoop on a non-main thread.
  6. @bdarnell
Commits on Sep 24, 2012
  1. @bdarnell
  2. @bdarnell
  3. @bdarnell

    Merge branch 'master' into merge

    bdarnell authored
    Conflicts:
    	tornado/simple_httpclient.py
    	tornado/test/web_test.py
  4. @bdarnell
Commits on Sep 20, 2012
  1. @bdarnell
  2. @fancycode @bdarnell
  3. @bdarnell
Commits on Sep 17, 2012
  1. @bdarnell
  2. @bdarnell
  3. @bdarnell
  4. @bdarnell
  5. @bdarnell
  6. @bdarnell

    Add PipeIOStream

    bdarnell authored
Commits on Sep 16, 2012
  1. @bdarnell

    Split IOStream into BaseIOStream and IOStream.

    bdarnell authored
    IOStream the socket-specific code; BaseIOStream will be the basis
    for non-socket-based streams (i.e. pipes)
  2. @bdarnell
  3. @bdarnell
Commits on Sep 10, 2012
  1. @bdarnell

    Replace get_unused_port with bind_unused_port, which binds to port 0

    bdarnell authored
    to allow the OS to select a port for us.
    
    Closes #590.
  2. @bdarnell
  3. @bdarnell

    Keep empty arguments in WSGI mode too.

    bdarnell authored
    Add another test and release notes.
  4. @bdarnell

    Merge commit 'ebf17aa'

    bdarnell authored
    Closes #585.
  5. @bdarnell
  6. @bdarnell

    Document the logging changes

    bdarnell authored
Commits on Sep 9, 2012
  1. @bdarnell

    Introduce ExpectLog as a finer-grained alternative to LogTrapTestCase,

    bdarnell authored
    and use it throughout the test suite.
  2. @bdarnell

    Errors while rendering templates no longer log the generated code.

    bdarnell authored
    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.
  3. @bdarnell

    Suppress tornado.access logs in tests, and remove LogTrapTestCase

    bdarnell authored
    from tests that no longer produce any logs.
  4. @bdarnell
  5. @bdarnell
  6. @bdarnell

    Compensate for move to non-root loggers by calling basicConfig in IOL…

    bdarnell authored
    …oop.start.
    
    The root logging methods call basicConfig automatically, but non-root loggers
    do not.
Something went wrong with that request. Please try again.