summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-18- URL Dispatch now uses the form ``{marker}`` to denote a replace marker inBen Bangert
the route pattern instead of ``:marker``. The old syntax is still backwards compatible and accepted. The new format allows a regular expression for that marker location to be used instead of the default ``[^/]+``, for example ``{marker:\d+}`` is now valid to require the marker to be digits.
2010-11-18Gardening.Ben Bangert
2010-11-18Merge branch 'master' of github.com:Pylons/pyramidBen Bangert
2010-11-18- URL Dispatch now allows for replacement markers to be located anywhereBen Bangert
in the pattern, instead of immediately following a ``/``. - Added ``marker_pattern`` option to ``add_route`` to supply a dict of regular expressions to be used for markers in the pattern instead of the default regular expression that matched everything except a ``/``.
2010-11-18- Fix apparent failures when calling ``pyramid.traversal.find_model(root,Chris McDonough
path)`` or ``pyramid.traversal.traverse(path)`` when ``path`` is (erroneously) a Unicode object. The user is meant to pass these APIs a string object, never a Unicode object. In practice, however, users indeed pass Unicode. Because the string that is passed must be ASCII encodeable, now, if they pass a Unicode object, its data is eagerly converted to an ASCII string rather than being passed along to downstream code as a convenience to the user and to prevent puzzling second-order failures from cropping up (all failures will occur within ``pyramid.traversal.traverse`` rather than later down the line as the result of calling ``traversal_path``).
2010-11-18we dont actually need coverage (and it fails on pypy)Chris McDonough
2010-11-18add pypyenv, change ignores for things that are directories to end in a slashChris McDonough
2010-11-18gardeningChris McDonough
2010-11-18fix race condition test failure (seen on Jython)Chris McDonough
2010-11-18- Make test suite pass on Jython (requires PasteScript trunk, presumably toChris McDonough
be 1.7.4).
2010-11-18ocd break: sort importsChris McDonough
2010-11-17not BFG no moChris McDonough
2010-11-17gardeningChris McDonough
2010-11-17get rid of extraneous noteChris McDonough
2010-11-17fix route_url on JythonChris McDonough
2010-11-17suppress deprecation warnings while building docsChris McDonough
2010-11-17- Add a ``pyramid.url.route_path`` API, allowing folks to generate relativeChris McDonough
URLs. Calling ``route_path`` is the same as calling ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty string. - Add a ``pyramid.request.Request.route_path`` API. This is a convenience method of the request which calls ``pyramid.url.route_url``.
2010-11-17remove unused codeChris McDonough
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