summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17- Replace Twill with WebTest in internal integration tests (avoid deprecationChris McDonough
warnings generated by Twill).
2010-11-17gardeningChris McDonough
2010-11-17- Removed ``zodbsessions`` tutorial chapter. It's still useful, but we nowChris McDonough
have a SessionFactory abstraction which competes with it, and maintaining documentation on both ways to do it is a distraction.
2010-11-17gardeningChris McDonough
2010-11-17note marius' contributionsChris McDonough
2010-11-17Merge branch 'mgedmin-master'Chris McDonough
2010-11-17Make 'make -C docs html' check out the pylons sphinx theme, if needed.Marius Gedminas
2010-11-17Merge branch 'mgedmin-master'Chris McDonough
2010-11-17More ReStructuredText fixes in docstrings.Marius Gedminas
(After a recursive grep for ':[a-z]*:`[A-Z0-9a-z._]*``')
2010-11-17ReStructuredText fix in docstring of view_config.Marius Gedminas
2010-11-17paster templates now use the name "main" to represent the function that ↵d2m
returns a WSGI application
2010-11-17gardeningChris McDonough
2010-11-17fix for jythonChris McDonough
2010-11-17make test pass on jythonChris McDonough
2010-11-17fix test for jythonChris McDonough
2010-11-17- The ``pyramid_alchemy`` paster template had a typo, preventing an importChris McDonough
from working.
2010-11-16skip Chameleon tests on JythonChris McDonough
2010-11-16make some tests which previously failed on jython passChris McDonough
2010-11-16add ignores for jython usual suspectsChris McDonough
2010-11-16point at correct location of get_current_registryChris McDonough
2010-11-16- Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` andChris McDonough
``pyramid.zcml.file_configure``. - The ``pyramid.testing.zcml_configure`` API has been removed. It had been advertised as removed since 1.2a1, but hadn't actually been.
2010-11-16- The ``pyramid.settings.get_settings`` API is now deprecated. UseChris McDonough
``pyramid.threadlocals.get_registry().settings`` instead or use the ``settings`` attribute of the registry available from the request (``request.registry.settings``).
2010-11-16prevent deprecation warning during testsChris McDonough
2010-11-16get deprecations rightChris McDonough
2010-11-16- Add deprecation warnings to import of ``pyramid.chameleon_text`` andChris McDonough
``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, ``render_template``, and ``render_template_to_response``.
2010-11-16back to developmentChris McDonough
2010-11-16prep for 1.0a3Chris McDonough
2010-11-16fix renderingChris McDonough
2010-11-16- Added Mako TemplateLookup settings for ``mako.error_handler``,Ben Bangert
``mako.default_filters``, and ``mako.imports``.
2010-11-15docs backrefsChris McDonough
2010-11-15add convenience static_url method to requestChris McDonough
2010-11-15less aggressive caching of settings n case someone uses a renderer at module ↵Chris McDonough
scope
2010-11-15whitespaceChris McDonough
2010-11-15gardeningChris McDonough
2010-11-15- Internal: Chameleon template renderers now accept two arguments: ``path``Chris McDonough
and ``lookup``. ``Lookup`` will be an instance of a lookup class which supplies (late-bound) arguments for debug, reload, and translate. Any third-party renderers which use (the non-API) function ``pyramid.renderers.template_renderer_factory`` will need to adjust their implementations to obey the new callback argument list. This change was to kill off inappropriate use of threadlocals.
2010-11-14hold a lock while we mutate the registry: it's not safe for more than one ↵Chris McDonough
thread to mutate it at runtime
2010-11-14remove template property, it's not part of the interfaceChris McDonough
2010-11-13path->infoChris McDonough
2010-11-12fix tutorial to not update the context with the content of ↵Chris McDonough
request.matchdict, unnecessary and breaks now that request has a matchdict of None
2010-11-12add note about making static_url a method of the requestChris McDonough
2010-11-12fix two references to a nonexistent functionChris McDonough
2010-11-12- Internal: ZCML directives no longer call get_current_registry() if there'sChris McDonough
a ``registry`` attribute on the ZCML context (kill off use of threadlocals).
2010-11-11did as much agitation for this as i canChris McDonough
2010-11-11commit forgotten fileChris McDonough
2010-11-11todo gardeningChris McDonough
2010-11-11todo gardeningChris McDonough
2010-11-11stamp out inappropriate use of get_settingsChris McDonough
2010-11-11document the request.settings attribute as well as we canChris McDonough
2010-11-11FeaturesChris McDonough
-------- - The ``settings`` object which used to be available only when ``request.settings.get_settings`` was called is now available as ``registry.settings`` (e.g. ``request.registry.settings`` in view code). Deprecations ------------ - Obtaining the ``settings`` object via ``registry.{get|query}Utility(ISettings)`` is now deprecated. Instead, obtain the ``settings`` object via the ``registry.settings`` attribute. A backwards compatibility shim was added to the registry object to register the settings object as an ISettings utility when ``setattr(registry, 'settings', foo)`` is called, but it will be removed in a later release. - Obtaining the ``settings`` object via ``pyramid.settings.get_settings`` is now deprecated. Obtain it as the ``settings`` attribute of the registry now (obtain the registry via ``pyramid.threadlocal.get_registry`` or as ``request.registry``).
2010-11-11add notes about shedding threadlocalsChris McDonough