<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cherrypy-git.git/cherrypy/tutorial, branch cherrypy-3.0.0beta</title>
<subtitle>github.com: cherrypy/cherrypy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/'/>
<entry>
<title>More (final?) config overhaul work:</title>
<updated>2006-08-25T21:25:56+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-08-25T21:25:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=a4b0f89d3adff5ce7931d81dc259fed0e9f091f5'/>
<id>a4b0f89d3adff5ce7931d81dc259fed0e9f091f5</id>
<content type='text'>
 1. Removed cherrypy.config.get! Instead, you should directly inspect cherrypy.request, response, server, etc. Note that request.config.get still works fine.
 2. a) cherrypy.log is now an instance of LogManager. It's still callable, but now is the object you inspect instead of calling config.get("log*"). b) cherrypy.log_access is now cherrypy.log.access.
 3. All threads should now have access to default Request and Response objects, not just the main thread.
 4. deadlock.timeout is now request.timeout.
 5. Renamed config.py to _cpconfig.py; cherrypy.config is now an instance of _cpconfig.Config.

I still need to decide what to do about log_config (removed for now).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 1. Removed cherrypy.config.get! Instead, you should directly inspect cherrypy.request, response, server, etc. Note that request.config.get still works fine.
 2. a) cherrypy.log is now an instance of LogManager. It's still callable, but now is the object you inspect instead of calling config.get("log*"). b) cherrypy.log_access is now cherrypy.log.access.
 3. All threads should now have access to default Request and Response objects, not just the main thread.
 4. deadlock.timeout is now request.timeout.
 5. Renamed config.py to _cpconfig.py; cherrypy.config is now an instance of _cpconfig.Config.

I still need to decide what to do about log_config (removed for now).
</pre>
</div>
</content>
</entry>
<entry>
<title>Overhaul of config system:</title>
<updated>2006-08-24T07:02:42+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-08-24T07:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=e8f50e034080ee4c9f97c503d1ce806fb2b51aea'/>
<id>e8f50e034080ee4c9f97c503d1ce806fb2b51aea</id>
<content type='text'>
 1. New docstring for config module!
 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces.
 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults.
 4. Removed 'log_config' config entry. Use engine.on_start_engine_list.append(config.log_config) instead.
 5. Old 'dispatch' entry is now 'request.dispatch'.
 6. New log entries: log.error.file, log.error.function, log.access.file, log.access.function, log.screen.
 7. 'server.max_request_body_size' is now 'request.max_body_size'.
 8. environments now only apply to globalconf.
 9. The 'development' environment has been removed, since its settings were all the default anyway.
 10. The 'embedded' environment has been removed, since it duplicates the 'production' environment now.
 11. There's a new 'test_suite' environment.
 12. Removed log_file_not_found (from static.py).

Something still needs to be done to config.wrap, so it can take dotted names as kwarg keys.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 1. New docstring for config module!
 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces.
 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults.
 4. Removed 'log_config' config entry. Use engine.on_start_engine_list.append(config.log_config) instead.
 5. Old 'dispatch' entry is now 'request.dispatch'.
 6. New log entries: log.error.file, log.error.function, log.access.file, log.access.function, log.screen.
 7. 'server.max_request_body_size' is now 'request.max_body_size'.
 8. environments now only apply to globalconf.
 9. The 'development' environment has been removed, since its settings were all the default anyway.
 10. The 'embedded' environment has been removed, since it duplicates the 'production' environment now.
 11. There's a new 'test_suite' environment.
 12. Removed log_file_not_found (from static.py).

Something still needs to be done to config.wrap, so it can take dotted names as kwarg keys.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for #547 (serve_file still uses contentType instead of content_type). Thanks, michele!</title>
<updated>2006-08-12T16:16:54+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-08-12T16:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=74ffdeba5ce9695af23f3f7affe890524499ec3c'/>
<id>74ffdeba5ce9695af23f3f7affe890524499ec3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed server.start to server.quickstart, and server.start_all to server.start.</title>
<updated>2006-08-05T23:05:52+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-08-05T23:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=18b33b51a0183605747f0a2b36e3b464897c01d5'/>
<id>18b33b51a0183605747f0a2b36e3b464897c01d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New cherrypy.quickstart function.</title>
<updated>2006-06-05T04:00:57+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-06-05T04:00:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=1316bb2de57730a10092d088565d289ce48d8513'/>
<id>1316bb2de57730a10092d088565d289ce48d8513</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>All tutotials were missing an import os.path and could not run</title>
<updated>2006-05-22T17:35:05+00:00</updated>
<author>
<name>Sylvain Hellegouarch</name>
<email>sh@defuze.org</email>
</author>
<published>2006-05-22T17:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=2fcc23aa87227fca8922118dbe4b25ae03874b6d'/>
<id>2fcc23aa87227fca8922118dbe4b25ae03874b6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Root and config are now isolated per app:</title>
<updated>2006-05-07T06:35:03+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-05-07T06:35:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=8cc98e6c07a312877a2893e7d9cc7d7923d21227'/>
<id>8cc98e6c07a312877a2893e7d9cc7d7923d21227</id>
<content type='text'>
 1. object_path is now called path_info, and there's a new request.script_name attribute. This should equal the mount point of the current application.
 2. cherrypy.root is gone, use cherrypy.request.app.root for now instead. Perhaps cherrypy.root will reappear and point to that.
 3. cherrypy.tree.mount_points has been replaced with cherrypy.tree.apps, a dict of the form {script_name: Application(root, conf)}.
 4. The [global] config namespace is now contained in a flat cherrypy.config.globalconf dict.
 5. Got rid of handling favicon.ico and the "*" URI (although they may return someday).
 6. Upshot is that e.g. test_objectmapping.py takes 1/3 the time as CP 2.2.
 7. Moved request body size check into _cprequest from _cpwsgi.
 8. Fixed lib/wsgiapp and made a tool for it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 1. object_path is now called path_info, and there's a new request.script_name attribute. This should equal the mount point of the current application.
 2. cherrypy.root is gone, use cherrypy.request.app.root for now instead. Perhaps cherrypy.root will reappear and point to that.
 3. cherrypy.tree.mount_points has been replaced with cherrypy.tree.apps, a dict of the form {script_name: Application(root, conf)}.
 4. The [global] config namespace is now contained in a flat cherrypy.config.globalconf dict.
 5. Got rid of handling favicon.ico and the "*" URI (although they may return someday).
 6. Upshot is that e.g. test_objectmapping.py takes 1/3 the time as CP 2.2.
 7. Moved request body size check into _cprequest from _cpwsgi.
 8. Fixed lib/wsgiapp and made a tool for it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved the following config keys out of the "server." namespace (so that "server." may mean "httpserver"):</title>
<updated>2006-05-07T06:08:24+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-05-07T06:08:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=04770b41627d0995cb00f6b3f8450813190d1010'/>
<id>04770b41627d0995cb00f6b3f8450813190d1010</id>
<content type='text'>
 * default_content_type
 * log_access_file
 * log_config_options
 * log_file
 * log_file_not_found
 * log_request_headers
 * log_to_screen
 * show_tracebacks
 * throw_errors
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * default_content_type
 * log_access_file
 * log_config_options
 * log_file
 * log_file_not_found
 * log_request_headers
 * log_to_screen
 * show_tracebacks
 * throw_errors
</pre>
</div>
</content>
</entry>
<entry>
<title>Separated cherrypy.server (HTTP) from cherrypy.engine (app):</title>
<updated>2006-05-04T07:44:59+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-05-04T07:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=001f3929036def5a11f114d99e1ce21772278f36'/>
<id>001f3929036def5a11f114d99e1ce21772278f36</id>
<content type='text'>
 1. Most CP apps must now make both a call to cherrypy.server.start(server=None) and a call to cherrypy.engine.start(blocking=True).
 2. The on_start_server_list and on_stop_server_list are now on_start_engine_list and on_stop_engine_list.
 3. "start_with_callback" is now an attribute of Engine. So is "request".
 4. Server.start now takes a single "server" arg, which can be a server instance, a string (fully qualified class name), or None (to start the default WSGI server).
 5. Server still has a wait method, but otherwise does no blocking.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 1. Most CP apps must now make both a call to cherrypy.server.start(server=None) and a call to cherrypy.engine.start(blocking=True).
 2. The on_start_server_list and on_stop_server_list are now on_start_engine_list and on_stop_engine_list.
 3. "start_with_callback" is now an attribute of Engine. So is "request".
 4. Server.start now takes a single "server" arg, which can be a server instance, a string (fully qualified class name), or None (to start the default WSGI server).
 5. Server still has a wait method, but otherwise does no blocking.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only one failing test now (sessions)!</title>
<updated>2006-04-26T22:51:55+00:00</updated>
<author>
<name>Robert Brewer</name>
<email>fumanchu@aminus.org</email>
</author>
<published>2006-04-26T22:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cherrypy-git.git/commit/?id=5ff861f0895cee119aabd7279033df3c355ce39f'/>
<id>5ff861f0895cee119aabd7279033df3c355ce39f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
