summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-22- ``repoze.bfg.traversal.split_path`` now also handles decodingChris McDonough
path segments to unicode (for speed, because its results are LRU cached). - ``repoze.bfg.traversal.step`` was made a method of the ModelGraphTraverser.
2009-01-22- The ``unicode_path_segments`` configuration variable and theChris McDonough
``BFG_UNICODE_PATH_SEGMENTS`` configuration variable have been removed. Path segments are now always passed to model ``__getitem__`` methods as unicode. "True" has been the default for this setting since 0.5.4, but changing this configuration setting to false allowed you to go back to passing raw path element strings to model ``__getitem__`` methods. This services a speed goal (we get about +80 req/s by removing the check), and it's clearer just to always expect unicode path segments in model ``__getitem__`` methods.
2009-01-22Coverage.Chris McDonough
2009-01-22Coverage.Chris McDonough
2009-01-22Make traversal's ``split_path`` use an LRU decorator for speed; otherChris McDonough
minor speed tweaks.
2009-01-22- ``repoze.bfg.lru`` implements an LRU cache class and a decorator forChris McDonough
internal use.
2009-01-22- The Allowed and Denied classes in ``repoze.bfg.security`` now areChris McDonough
lazier about constructing the representation of a reason message for speed; ``repoze.bfg.view_execution_permitted`` takes advantage of this. - The ``is_response`` check was sped up by about half at the expense of making its code slightly uglier.
2009-01-22 If no subscribers are registered via ``registerHandler`` orChris McDonough
``registerSubscriptionAdapter``, ``notify`` is a noop for speed.
2009-01-21Document after Rob had trouble.Chris McDonough
2009-01-20- Tease out an extra 4% performance boost by changing the Router;Chris McDonough
instead of using imported ZCA APIs, use the same APIs directly against the registry that is an attribute of the Router. As a result, the registry used by BFG is now a subclass of ``zope.component.registry.Components`` (defined as ``repoze.bfg.registry.Registry``); it has a ``notify`` method.
2009-01-20Warn against using in user code.Chris McDonough
2009-01-20(no commit message)Chris McDonough
2009-01-20# We use 'precooked' Request subclasses that correspond to HTTPChris McDonough
# request methods within ``router.py`` when constructing a request # object rather than using ``alsoProvides`` to attach the proper # interface to an unsubclassed webob.Request. This pattern is purely # an optimization (e.g. preventing calls to ``alsoProvides`` means the # difference between 590 r/s and 690 r/s on a MacBook 2GHz).
2009-01-20Make tests pass on laguna.Chris McDonough
2009-01-20(no commit message)Chris McDonough
2009-01-20Test buildbot.Chris McDonough
2009-01-19Note static installation of lxml as an alternative.Paul Everitt
2009-01-19Small typo fix.Paul Everitt
2009-01-19Prep for 0.6.3.Chris McDonough
2009-01-19Get rid of warning.Chris McDonough
2009-01-19view_name attr.Chris McDonough
2009-01-19(no commit message)Chris McDonough
2009-01-19scan, not grok.Chris McDonough
2009-01-18context_factory -> factoryChris McDonough
context_interfaces -> provides
2009-01-18Merge "routesmapper branch" to trunk.Chris McDonough
2009-01-18grok -> scan to prevent confusion.Chris McDonough
2009-01-17- Added a "Using ZPT Macros in repoze.bfg" section to the narrativeChris McDonough
templating chapter.
2009-01-17(no commit message)Chris McDonough
2009-01-17(no commit message)Chris McDonough
2009-01-17Fix.Chris McDonough
2009-01-17(no commit message)Chris McDonough
2009-01-17Security policy documentation.Chris McDonough
2009-01-17Update docs with new default project stuff.Chris McDonough
2009-01-17Note changes.Chris McDonough
2009-01-17- The ``bfg_starter`` and ``bfg_zodb`` "paster create" templates nowChris McDonough
contain images and CSS which are displayed when the default page is displayed after initial project generation.
2009-01-17- Allow the ``repoze.bfg.view.static`` helper to be passed a relativeChris McDonough
``root_path`` name; it will be considered relative to the file in which it was called.
2009-01-17(no commit message)Chris McDonough
2009-01-17More.Chris McDonough
2009-01-17Bring up to date.Chris McDonough
2009-01-17Up to date.Chris McDonough
2009-01-17Bring up to date.Chris McDonough
2009-01-17Get header right.Chris McDonough
2009-01-16Update tag lines.Chris McDonough
2009-01-16- Add a section on "Using BFG Security With URL Dispatch" into theChris McDonough
urldispatch chapter of the documentation. Clean up "BFG" vernacular (replace with repoze.bfg).
2009-01-16Do alsoProvides instead of directlyProvides in case the request factoryChris McDonough
uses directlyProvides.
2009-01-16Updated test results.Chris McDonough
2009-01-16Document ``bfg_view``.Chris McDonough
2009-01-16(no commit message)Chris McDonough
2009-01-16Note the readdition of ``root_policy``.Chris McDonough
2009-01-16Remove now-useless class-level defaults.Chris McDonough