Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Mar 20, 2010
  1. @wmark @vpulim

    methods value_for and property has_validation_errors

    wmark authored vpulim committed
  2. @wmark @vpulim

    demo for validation framework

    wmark authored vpulim committed
  3. @wmark @vpulim

    fixed: string should be a variable

    wmark authored vpulim committed
  4. @wmark @vpulim

    Added: Module `validators` for utilizing `FormEncode` validators, inc…

    wmark authored vpulim committed
    …luding the two decorators `error_handler` and `validate`.
    
    The latter are made as similar to `TurboGears`'s as possible in order to make rewriting existing apps easier.
  5. @vpulim

    Merge branch 'performance' of git://github.com/wmark/anzu

    vpulim authored
    Conflicts:
    	tornado/web.py
Commits on Mar 19, 2010
  1. Add a callback to handle headers in httpclient as they come in, so

    Ben Darnell authored
    they will be available for data handled by streaming_callback.
Commits on Mar 18, 2010
  1. Add a close method to AsyncHTTPClient.

    Ben Darnell authored
  2. add a template_loader application setting for using custom template l…

    Dolapo Falola authored Ben Darnell committed
    …oaders. a slight refactoring of TemplateLoader's load method to expose some internals. also, add a reset method to the loader that's called in debug mode to flush the template cache.
  3. Support named groups in url pattern regexes. Note that either all or …

    Ben Darnell authored
    …none
    
    of the groups to be passed to the handler must be named.
  4. Allow more than two consecutive curlies to appear in templates (and use

    Ben Darnell authored
    the innermost).  This was previously a syntax error in the generated python.
Commits on Mar 17, 2010
  1. Replace all tabs with spaces.

    Ben Darnell authored
Commits on Mar 14, 2010
Commits on Mar 9, 2010
  1. Fix bug with IOLoop's 'waker' pipe which rendered it ineffective on l…

    Ben Darnell authored
    …inux
    
    and mac (where pipes are unidirectional) and caused high cpu usage
    on solaris (where pipes are bidirectional).  Thanks to Jari Ahonen for
    finding the bug.
Commits on Mar 7, 2010
  1. In finish(), test if chunk is None rather than using truthiness to de…

    Ben Darnell authored
    …cide
    
    whether to call write().
    
    This fixes a discrepancy between finish() and write() when outputting json.
    Now both write({}) and finish({}) will output an empty json object.
Commits on Mar 4, 2010
  1. Set the close-on-exec flag on file descriptors used by IOLoop (epoll/…

    Ben Darnell authored
    …kqueue
    
    and pipe) so that long-lived autoreloading processes don't leak file
    descriptors.
  2. Use a WeakKeyDictionary instead of a regular dictionary to associate

    Ben Darnell authored
    IOLoop and AsyncHTTPClients.  This prevents leaks of memory and file
    descriptors when one process (in my case a unit test runner) create
    many IOLoop/AsyncHTTPClient pairs.
  3. Allow subclasses of IOLoop to override the default logging of

    Ben Darnell authored
    uncaught exceptions in callbacks.
  4. Ensure that self.io_loop is set in HTTPServer.start(), so that HTTPSe…

    Ben Darnell authored
    …rver.stop
    
    can clean up correctly.
Commits on Mar 2, 2010
  1. Revamp logging configuration.

    Ben Darnell authored
    * If --logging=none, tornado will not touch the python logging config.
    * Colored output is optional.  If curses is not available or stderr is not
      a tty, non-colorized output will be used.
    * Log output to stderr can be suppressed with --log_to_stderr=false
    * Logs can be written to a file (non-colorized) with --log_file_prefix.
      Logs will be rotated, which can be controlled with --log_file_max_size
      and --log_file_num_backups.
    * By default, logs go to a file if --log_file_prefix is set and to stderr
      if it is not.  To log to both stderr and a file, --log_to_stderr must
      be set to true explicitly.
Commits on Feb 27, 2010
  1. Call the close() method on the wsgi response object if it exists.

    Ben Darnell authored
    This is required by the WSGI spec, and cherrypy leaks memory without it.
Commits on Feb 26, 2010
  1. Add SERVER_PROTOCOL variable to wsgi environment. This turns out to be

    Ben Darnell authored
    necessary for using cherrypy in a tornado WSGIContainer.
  2. @weaver
Commits on Feb 25, 2010
  1. Work around an odd error I occasionally see in autoreload (which causes

    Ben Darnell authored
    autoreload to loop endlessly without restarting the process)
  2. Add a workaround for a bug in os.execv when used on Mac OS X versions

    Ben Darnell authored
    prior to 10.6 when there are multiple threads in the process.
Commits on Feb 24, 2010
  1. Always reraise KeyboardInterrupt and SystemExit whenever IOLoop tries to

    Ben Darnell authored
    swallow exceptions.
Commits on Feb 16, 2010
  1. Fix ioloop._KQueue to work correctly when listening for both read and…

    Ben Darnell authored
    … write.
    
    kqueue.control must be called separately for each type of filter, not just
    once with the filters or'd together.
    
    Fixes http://github.com/facebook/tornado/issues/issue/59/
    Change adapted from
    http://github.com/weaver/tornado/commit/97e528cf6b92bbb590579864962e2d51c22202e0
Commits on Feb 13, 2010
  1. @wmark
  2. @wmark
  3. @wmark

    Merge remote branch 'facebook/master' into performance

    wmark authored
    Conflicts:
    	tornado/web.py
Commits on Feb 11, 2010
  1. + use cStringIO instead of raw strings for buffer operations

    Morarenko Kirill authored
    + added IOStream::read_checked() for callback-controlled reading
Commits on Feb 5, 2010
  1. @finiteloop

    Support passing in cookie value directly in cases where you have to p…

    finiteloop authored
    …arse the value from other sources (e.g., from the URL for Flash requests). Also fix documentation error for Facebook Connect.
Commits on Feb 4, 2010
  1. Don't set content-length in StaticFileHandler unless we're actually

    Ben Darnell authored
    sending the content.  Some browsers get confused by this (e.g. the
    version of webkit embedded in fluid, but not the version used in chrome).
  2. @finiteloop
  3. @finiteloop
Something went wrong with that request. Please try again.