summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-14Merge pull request #401 from tseaver/masterChris McDonough
Close the file we are reading, not the string read from it.
2012-01-14Fix borked attempt to close a string (instead of the file it was read from).Tres Seaver
Corrects fccffe9c468ec652e07c13991cb340e76e82166d.
2012-01-10Merge branch '1.3-branch'Chris McDonough
2012-01-09prep for 1.3a5Chris McDonough
2012-01-08gardenMichael Merickel
2012-01-06- The ``path_info`` route and view predicates now match againstChris McDonough
``request.upath_info`` (Unicode) rather than ``request.path_info`` (indeterminate value based on Python 3 vs. Python 2). This has to be done to normalize matching on Python 2 and Python 3.
2012-01-06add tests for different kinds of namesChris McDonough
2012-01-06- The ``pyramid.view.view_defaults`` decorator did not work properly whenChris McDonough
more than one view relied on the defaults being different for configuration conflict resolution. See https://github.com/Pylons/pyramid/issues/394. Closes #394.
2012-01-05prep for 1.3a4Chris McDonough
2012-01-05coverageChris McDonough
2012-01-05fix test on py3Chris McDonough
2012-01-05whatsnewChris McDonough
2012-01-05Merge branch '1.3-branch' of github.com:Pylons/pyramid into 1.3-branchChris McDonough
2012-01-05coverageChris McDonough
2012-01-05gardenChris McDonough
2012-01-05fix test failures on python 3Chris McDonough
2012-01-05- Using a dynamic segment named ``traverse`` in a route pattern like this::Chris McDonough
config.add_route('trav_route', 'traversal/{traverse:.*}') Would cause a ``UnicodeDecodeError`` when the route was matched and the matched portion of the URL contained any high-order characters. See also https://github.com/Pylons/pyramid/issues/385 .
2012-01-05gardenChris McDonough
2012-01-05bring docs up to date with codeChris McDonough
2012-01-05bring docs up to date with codeChris McDonough
2012-01-05- String values passed to ``route_url`` or ``route_path`` that are meant toChris McDonough
replace "remainder" matches will now be URL-quoted except for embedded slashes. For example:: config.add_route('remain', '/foo*remainder') request.route_path('remain', remainder='abc / def') # -> '/foo/abc%20/%20def' Previously string values passed as remainder replacements were tacked on untouched, without any URL-quoting. But this doesn't really work logically if the value passed is Unicode (raw unicode cannot be placed in a URL or in a path) and it is inconsistent with the rest of the URL generation machinery if the value is a string (it won't be quoted unless by the caller). Some folks will have been relying on the older behavior to tack on query string elements and anchor portions of the URL; sorry, you'll need to change your code to use the ``_query`` and/or ``_anchor`` arguments to ``route_path`` or ``route_url`` to do this now. - If you pass a bytestring that contains non-ASCII characters to ``add_route`` as a pattern, it will now fail at startup time. Use Unicode instead.
2012-01-05Merge branch '1.3-branch' of github.com:Pylons/pyramid into 1.3-branchMichael Merickel
2012-01-05Fixed a couple docs bugs reported by davidfung.Michael Merickel
2012-01-05add test for pattern and match value having high-order characters in a traverse=Chris McDonough
2012-01-05fix urldispatch matching and generation to cope with various inputsChris McDonough
2012-01-04Merge branch '1.3-branch' into pathinfogeddonChris McDonough
2012-01-04more usage of traversal_path_info fixedChris McDonough
2012-01-04remove dependency on pysqlite from all scaffolding on platforms lt 2.6Chris McDonough
2012-01-04merge from masterChris McDonough
2012-01-04Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2012-01-04more speculative changes regarding matchingChris McDonough
2012-01-04Merge pull request #389 from bbinet/remove_python25_dependenciesMichael Merickel
remove dependencies related to python 2.5 in alchemy scaffold
2012-01-04Merge pull request #390 from larose/masterMichael Merickel
Removed repetition of the word "the" in the Wiki Tutorial.
2012-01-04Removed repetition of the word "the" in the Wiki Tutorial.Mathieu Larose
2012-01-04remove dependencies related to python 2.5 in alchemy scaffoldBruno Binet
now that Pyramid requires python >= 2.6, these 2.5 dependencies are useless
2012-01-04Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2012-01-04untested workChris McDonough
2012-01-03- The documentation of ``pyramid.events.subscriber`` indicated that using itChris McDonough
as a decorator with no arguments like this:: @subscriber() def somefunc(event): pass Would register ``somefunc`` to receive all events sent via the registry, but this was untrue. Instead, it would receive no events at all. This has now been fixed and the code matches the documentation. See also https://github.com/Pylons/pyramid/issues/386 Closes #386
2012-01-02have sample scaffold depend on waitressChris McDonough
2012-01-02- Use the ``waitress`` WSGI server instead of ``wsgiref`` in scaffolding.Chris McDonough
2011-12-31fixed typo in contributorsBlaise Laflamme
2011-12-30gardenChris McDonough
2011-12-30Updated the changelog for Request.set_property.Michael Merickel
2011-12-30Merge branch 'feature.lazy-request-properties' into 1.3-branchMichael Merickel
2011-12-30Documented Request.set_property.Michael Merickel
2011-12-30Added the InstancePropertyMixin to the Request.Michael Merickel
The new mixin allows adding properties to the request object which are lazily evaluated.
2011-12-28Merge branch '1.3-branch' of github.com:Pylons/pyramid into 1.3-branchChris McDonough
2011-12-28typoChris McDonough
2011-12-27gardenMichael Merickel
2011-12-27gardenMichael Merickel