From 90a327b2cd9b9e6b27688dadcdf8125f091f242d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 27 Dec 2010 16:25:15 -0500 Subject: - Add ``paster proute`` command which displays a summary of the routing table. See the narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes". - Added narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes" (for ``paster proutes`` command). --- CHANGES.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e58a1dc76..cba3a9800 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,6 +25,10 @@ Features arguments to add_route work by raising an exception during configuration if view-related arguments exist but no ``view`` argument is passed. +- Add ``paster proute`` command which displays a summary of the routing + table. See the narrative documentation section within the "URL Dispatch" + chapter entitled "Displaying All Application Routes". + Paster Templates ---------------- @@ -81,6 +85,10 @@ Documentation - Merge "Static Assets" chapter into the "Assets" chapter. +- Added narrative documentation section within the "URL Dispatch" chapter + entitled "Displaying All Application Routes" (for ``paster proutes`` + command). + 1.0a7 (2010-12-20) ================== -- cgit v1.2.3 From 6362949e3cc96509cf020d5612998d61050a13fb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 27 Dec 2010 17:25:18 -0500 Subject: Prep for 1.0a8. --- CHANGES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index cba3a9800..ebf3bf4e2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,5 @@ -Next release -============ +1.0a8 (2010-12-27) +================== Bug Fixes --------- -- cgit v1.2.3 From 096c4b3709253b642ddb985a92331141a8aba381 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 28 Dec 2010 14:29:11 -0500 Subject: back to development --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index ebf3bf4e2..af78b714d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,8 @@ +Next release +============ + +- ... + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From afbc5d57ddd848b7f2e8c8190afc2109c7563496 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 28 Dec 2010 14:30:54 -0500 Subject: - The ``proutes`` command tried too hard to resolve the view for printing, resulting in exceptions when an exceptional root factory was encountered. Instead of trying to resolve the view, if it cannot, it will now just print ````. --- CHANGES.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index af78b714d..643e0ed7b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,13 @@ Next release ============ -- ... +Bug Fixes +--------- + +- The ``proutes`` command tried too hard to resolve the view for printing, + resulting in exceptions when an exceptional root factory was encountered. + Instead of trying to resolve the view, if it cannot, it will now just print + ````. 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From bae647592ee4913ed7e52409c89815c3ebb37ef7 Mon Sep 17 00:00:00 2001 From: Rob Miller Date: Tue, 28 Dec 2010 21:53:50 -0800 Subject: Recorded description of last change and added self to contributors list. --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index ebf3bf4e2..01f4adf5b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,12 @@ +1.0a9 (unreleased) + +Features +-------- + +- config.add_view now accepts a 'decorator' keyword argument, a + callable which will decorate the view callable before it is added to + the registry + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From 744d76312799f2537a200e4972f309c7670a4cef Mon Sep 17 00:00:00 2001 From: Rob Miller Date: Tue, 28 Dec 2010 22:18:34 -0800 Subject: record handler _action_decorator classmethod support --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 01f4adf5b..c86594933 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,6 +7,9 @@ Features callable which will decorate the view callable before it is added to the registry +- If a handler class provides an _action_decorator classmethod, use that + as the decorator for each view registration for that handler. + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From 7e9d3c17bc2fbd4841dbf58509ddd75028971dd9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 29 Dec 2010 02:22:50 -0500 Subject: - The (weak) "Converting a CMF Application to Pyramid" tutorial has been removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository. --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 643e0ed7b..e7ecad31a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,13 @@ Bug Fixes Instead of trying to resolve the view, if it cannot, it will now just print ````. +Documentation +------------- + +- The (weak) "Converting a CMF Application to Pyramid" tutorial has been + removed from the tutorials section. It was moved to the + ``pyramid_tutorials`` Github repository. + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From 95c9f6f331bd3294699969ae399045891c0dc6ad Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Dec 2010 02:07:36 -0500 Subject: - The "view derivation" code is now factored into a set of classes rather than a large number of standalone functions (a side effect of the ``view_mapper`` refactoring). - The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` method, which is used by the default view mapper (a side effect of the ``view_mapper`` refactoring). - The object passed as ``renderer`` to the "view deriver" is now an instance of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring). --- CHANGES.txt | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index fabb882f7..018de8cf7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -13,12 +13,19 @@ Bug Fixes Features -------- -- config.add_view now accepts a 'decorator' keyword argument, a - callable which will decorate the view callable before it is added to - the registry +- ``config.add_view`` now accepts a ``decorator`` keyword argument, a callable + which will decorate the view callable before it is added to the registry. -- If a handler class provides an _action_decorator classmethod, use that - as the decorator for each view registration for that handler. +- ``config.add_view`` now accepts a ``view_mapper`` keyword argument, which + should be a class which implements the new + ``pyramid.interfaces.IViewMapperFactory`` interface. Use of an alternate + view mapper allows objects that are meant to be used as view callables to + have an arbitrary argument list and an arbitrary result. This feature will + be used by Pyramid extension developers, not by "civilians". + +- If a handler class provides an __action_decorator__ attribute (usually a + classmethod or staticmethod), use that as the decorator for each view + registration for that handler. Documentation ------------- @@ -27,6 +34,21 @@ Documentation removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository. +Internals +--------- + +- The "view derivation" code is now factored into a set of classes rather + than a large number of standalone functions (a side effect of the + ``view_mapper`` refactoring). + +- The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` + method, which is used by the default view mapper (a side effect of the + ``view_mapper`` refactoring). + +- The object passed as ``renderer`` to the "view deriver" is now an instance + of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side + effect of ``view_mapper`` refactoring). + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3 From fcff8cda8f7c60f181e902ca5a349eb8b5655205 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 30 Dec 2010 02:09:23 -0500 Subject: stray header line --- CHANGES.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 018de8cf7..743f20e3b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,3 @@ -======= Next release ============ -- cgit v1.2.3 From 13bfb5ae063fde4bb45f73340ca97d37279e4b34 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 31 Dec 2010 02:56:47 -0500 Subject: note previous change --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 743f20e3b..04f5a7d05 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -48,6 +48,9 @@ Internals of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring). +- The class used as the "page template" in ``pyramid.chameleon_text`` was + removed, in preference to using a Chameleon-inbuilt version. + 1.0a8 (2010-12-27) ================== -- cgit v1.2.3