Source

CherryPy / cherrypy / _cptree.py

Author Commit Message Labels Comments Date
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
Some backports (mostly whitespace, really) from the python3 branch.
Robert Brewer
Removed AttributeDocstring metaclass in favor of Sphinx-style docstrings. :/ Touched up some docs.
Robert Brewer
Docs: more refman work.
Robert Brewer
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer
trunk: syncing with python3, except preferring WSGI 1.0 and sticking with bytes for request attrs.
Robert Brewer
All internals now use cherrypy.serving.request/response instead of request/response for a speed boost.
Robert Brewer
Some changes to make trunk more in line with py3.
Lakin Wecker
trunk - a missing import. + whitespace fixes + callable calls removed + python3-esque raising of exceptions
Lakin Wecker
trunk - Cosmetic changes (names and spacing) to make the file be closer to the python3 version
Lakin Wecker
trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3.
Robert Brewer
New error when someone tries to mount an Application with a script name of None.
Lakin Wecker
Allow apps to be mounted with the same script_name passed in as they are already instantiated with. Fumanchu asked for this earlier, or at least wondered about it. I realized it would allow apps to be compatible with both CP 3.1 and CP Trunk so I added it.
Lakin Wecker
Dissallow script_name in cherrypy.tree.mount when an instance of Application is passed in
Robert Brewer
Fix for #848 ("and root" should be "and root is not None").
Robert Brewer
Moved all bus plugins onto the engine object itself, and fixed a couple bus details along the way.
Robert Brewer
Audit of logging: 1. cherrypy.log now defaults to INFO. 2. Bus.log now takes a 'level=INFO' arg. 3. 'log' channel subscribers now must accept a 'level' arg. 4. Some bus plugin messages upgraded to WARN or ERROR. 5. Some CP core messages upgraded to ERROR. 6. log.screen move to stderr polished. See #747.
Robert Brewer
Working cherryd daemon script. New FlupFCGIServer wrapper in servers.py. Also added a config arg to cherrypy.Application.
Robert Brewer
Made Application copy initial config from its class.
Robert Brewer
Some bus/plugin improvements.
Robert Brewer
Fix for #725 (cherrypy.url should default to emitting server-relative URL's). It doesn't default (that would break backward compatibility), but at least there's an option for it now.
Robert Brewer
Reworked WSPBus plugins; most now have a 'subscribe' method which attaches them to the bus in a separate step from init. This allows frameworks to create canonical plugin instances but delay or skip their subscription. Some plugins' method names changed (from e.g. {{{__call__}}} to {{{start}}}) to take advantage of a new SimplePlugin base class. The daemonize func is now a Daemonizer class for this reason. Also removed the SubscribedObject class; it was too much magic. The few consumers of it in CherryPy revert to calling canonical plugin instances instead.
Robert Brewer
Trunk fix for #677 (_cpwsgi requestLine: PATH_INFO SCRIPT_NAME).
Robert Brewer
RFC 2606 updates (official example domains).
Robert Brewer
Docstring updates.
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer
Promoted namespace dicts to their own class (so they can share docs).
Robert Brewer
Docstrings, plus Application now copies its cls.namespaces into self.namespaces.
Robert Brewer
Allow loggers to use a different logging root (e.g. "tg.error" instead of "cherrypy.error").
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next