Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 15, 2010
  1. @mcdonc

    prep for 1.0a5

    mcdonc authored
Commits on Dec 14, 2010
  1. @mcdonc

    - When creating a Configurator from within a ``paster pshell`` sessio…

    mcdonc authored
    …n, you
    
      were required to pass a ``package`` argument although ``package`` is not
      actually required.  If you didn't pass ``package``, you would receive an
      error something like ``KeyError: '__name__'`` emanating from the
      ``pyramid.path.caller_module`` function.  This has now been fixed.
Commits on Dec 9, 2010
  1. @mcdonc

    note docs

    mcdonc authored
  2. @mcdonc

    - Add a ``handler`` ZCML directive. This directive does the same thin…

    mcdonc authored
    …g as
    
      ``pyramid.configuration.add_handler``.
  3. @mcdonc

    Merge branch 'twophase'

    mcdonc authored
    Conflicts:
    	pyramid/configuration.py
  4. @mcdonc
Commits on Dec 8, 2010
  1. @mcdonc
  2. @mcdonc
Commits on Nov 28, 2010
  1. @mcdonc

    - Add a "Modifying Package Structure" section to the project narrative

    mcdonc authored
      documentation chapter (explain turning a module into a package).
Commits on Nov 25, 2010
  1. @mcdonc

    - New boolean Mako settings variable ``mako.strict_undefined``. See `…

    mcdonc authored
    …Mako
    
      Context Variables
      <http://www.makotemplates.org/docs/runtime.html#context-variables>`_ for
      its meaning.
    
    - Depend on Mako 0.3.6+ (we now require the ``strict_undefined`` feature).
Commits on Nov 24, 2010
  1. @mcdonc

    typo fix

    mcdonc authored
  2. @mcdonc

    - The Mako renderer did not properly turn the ``mako.imports``,

    mcdonc authored
      ``mako.default_filters``, and ``mako.imports`` settings into lists.
    
    - The Mako renderer did not properly convert the ``mako.error_handler``
      setting from a dotted name to a callable.
    
    - The Mako renderer now accepts a resource specification for
      ``mako.module_directory``.
  3. @mcdonc

    - Add support for json on GAE by catching NotImplementedError and imp…

    mcdonc authored
    …orting
    
      simplejson from django.utils.
Commits on Nov 22, 2010
  1. @chrisrossi

    pyramid.testig.DummyRequest now has a class variable, query_string,

    chrisrossi authored
    +  which defaults to the empty string.
  2. @mcdonc

    - Make default renderer work (renderer factory registered with no nam…

    mcdonc authored
    …e, which
    
      is active for every view unless the view names a specific renderer).
Commits on Nov 21, 2010
  1. @mcdonc

    - Add ``pyramid.interfaces.ITemplateRenderer`` interface to Interface…

    mcdonc authored
    …s API
    
      chapter (has ``implementation()`` method, required to be used when getting
      at Chameleon macros).
  2. @mcdonc

    - SQLAlchemy+URLDispatch tutorial updated to integrate changes to

    mcdonc authored
      ``pyramid_routesalchemy`` template.
  3. @mcdonc

    - Add logging configuration to all paster templates.

    mcdonc authored
    - ``pyramid_alchemy``, ``pyramid_routesalchemy``, and ``pylons_sqla`` paster
      templates now use idiomatic SQLAlchemy configuration in their respective
      ``.ini`` files and Python code.
  4. @mcdonc

    - The ``pyramid_routesalchemy`` paster template's unit tests failed

    mcdonc authored
      (``AssertionError: 'SomeProject' != 'someproject'``).  This is fixed.
  5. @mcdonc

    - "Sample Applications" section of docs changed to note existence of …

    mcdonc authored
    …Cluegun,
    
      Shootout and Virginia sample applications, ported from their repoze.bfg
      origin packages.
  6. @mcdonc

    back to development

    mcdonc authored
  7. @mcdonc
  8. @mcdonc

    prep for 1.0a4

    mcdonc authored
Commits on Nov 20, 2010
  1. @mcdonc

    - Fix configurator to not convert ``ImportError`` to ``ConfigurationE…

    mcdonc authored
    …rror``
    
      if the import that failed was unrelated to the import requested via a
      dotted name when resolving dotted names (such as view dotted names).
  2. @mcdonc

    - Remove calls to config.begin()/config.end() from startup config cod…

    mcdonc authored
    …e in
    
      tutorials and paster templates (no longer required).
Commits on Nov 19, 2010
  1. @bbangert
  2. @bbangert

    - URL Dispatch now uses the form ``{marker}`` to denote a replace mar…

    bbangert authored
    …ker in
    
      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.
  3. @mcdonc
Commits on Nov 18, 2010
  1. @bbangert

    Gardening.

    bbangert authored
  2. @bbangert
  3. @bbangert

    - URL Dispatch now allows for replacement markers to be located anywhere

    bbangert authored
      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 ``/``.
  4. @mcdonc

    - Fix apparent failures when calling ``pyramid.traversal.find_model(r…

    mcdonc authored
    …oot,
    
      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``).
  5. @mcdonc
Commits on Nov 17, 2010
  1. @mcdonc

    - Add a ``pyramid.url.route_path`` API, allowing folks to generate re…

    mcdonc authored
    …lative
    
      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``.
  2. @mcdonc

    - Replace Twill with WebTest in internal integration tests (avoid dep…

    mcdonc authored
    …recation
    
      warnings generated by Twill).
Something went wrong with that request. Please try again.