Source

CherryPy / cherrypy / __init__.py

Author Commit Message Labels Comments Date
Robert Brewer
Some bus/plugin improvements.
Robert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model): 1. Change restsrv.servers.ServerManager (multiple httpservers) to ServerAdapter (one httpserver). 2. cherrypy.server is now a subclass of ServerAdapter, and is subscribed by default. 3. Made several plugin methods idempotent that weren't before. 4. Added names to win32 bus state events. Also fixed a buglet in win32 block(). 5. Added repr to wspbus.states.State objects. 6. Did ''not'' change …
Robert Brewer
Marking 3.1beta.
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
Docs and new url() test.
Robert Brewer
Fix for #740 (Default server.socket_host to IPv4 address).
dan
Moving execv to the main thread to fix restarts on OSX. Removing Reexec. Changing the reloader to signal the bus to restart.
Robert Brewer
Final fixes to test_states.
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
Doc updates, better memcached detection in test_session, and changed cherrypy.url to be more easily mockable.
Robert Brewer
Promoted {{{cherrypy._serving}}} to {{{cherrypy.serving}}}.
Robert Brewer
New WSPBus log behavior, plus a signal fix.
Robert Brewer
restsrv changes: 1. Renamed base.Engine to wspbus.Bus and made it generally useful in isolation. 2. Renamed 'reexec' channel to 'restart'. 3. Merged engine.wait into bus.block. The block method now takes an optional 'state' arg. 4. Made the SignalHandler auto-register some signals on init. 5. Added win32events for all states. 6. Made all states into sentinels instead of ints. New wspbus.states (and bus.state…
Robert Brewer
Trunk fix for #677 (_cpwsgi requestLine: PATH_INFO SCRIPT_NAME).
Robert Brewer
Oops. Fix for [1659].
Robert Brewer
Final fix for #662 (error on configuration directive tools.caching.delay/maxobjects/maxsize). Trunk (3.1) now forces most caching config to apply site-wide. Also changed MemoryCache.key to MemoryCache.key().
Robert Brewer
Top-level namespace cleanup (removed pydoc).
Robert Brewer
RFC 2606 updates (official example domains).
Robert Brewer
Docstring updates.
Robert Brewer
Changed pywebd subpackage to "restsrv".
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
Christian Wyglendowski
Changed version numbers in preparation for 3.0.1 release.
Tags
cherrypy-3.0.1
Robert Brewer
More doc updates.
Robert Brewer
Moved default threadlocal objects into the serving class instead of the proxy. Benchmark is now 6% faster.
Robert Brewer
Allow expose to work (without alias) on platforms that don't have getframe.
Robert Brewer
New engine.release method, which decouples request and engine. Also new server.base method, which simplifies cherrypy.url. Finally, cherrypy._serving is promoted to cherrypy.serving, and has a new "load" method.
Robert Brewer
First crack at attribute docs on major components. New cherrypy._AttributeDocstrings metaclass to fold magic attribute docs into the class docstring.
Robert Brewer
Bah. I meant to fix help(cherrypy.request) all along for CP 3 final and never got around to it. Here it is, finally; had to monkeypatch pydoc.resolve.
Robert Brewer
Fix for #640 (cherrypy.session does not implement {{{__contains__}}}).
Robert Brewer
Fix for #636 (Move wsgiserver.py into a subdirectory for cleaner svn:externals links). Reinstated wsgiserver as a subpackage. Also set version to 3.0.1alpha.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next