Permalink
Commits on Mar 5, 2012
  1. The fromString function fail as the http headers returned by $_SERVER…

    … variables are of the form HTTP_USER_AGENT.
    
    
    I do not know if this is the right way to do it, but line 19 won't validate as the headers are cleaned up for the HTTP_ prefix but the _ signs are never replaced by -, hence the validation fail.
    
    I took the str_replace(array('_', ' ', '.'), '-', strtolower($name)) idea from the file Zend/Http/Headers.php on line 284 as this is the way the $key variable is created.
    
    If anyone finds a better way to do it please message me.
    committed Mar 5, 2012
Commits on Jan 27, 2012
  1. Updated Navigation view helper to return false instead of throwing an…

    … exception when an ACL resource does not exist.
    Kyle Spraggs committed Jan 12, 2012
Commits on Jan 24, 2012
  1. Merge pull request #741 from EvanDotPro/hotfix/module-loader-glob-array

    Make sure glob attempt always returns an array.
    Bittarman committed Jan 24, 2012
  2. Merge pull request #749 from weierophinney/hotfix/simpy-remove

    Removed Zend_Service_Simpy
    Bittarman committed Jan 24, 2012
  3. Removed Zend_Service_Simpy

    - Service no longer exists (per Matthew Turland)
    weierophinney committed Jan 24, 2012
Commits on Jan 17, 2012
  1. Make sure glob attempt always returns an array.

    Noticed by @Danielss89 on IRC, it appears that glob() will return boolean false
    in some cases.
    
    To quote a comment from php.net/glob:
    "If you have open_basedir set in php.ini to limit which files php can execute,
    glob(...) will return false when there are no matching files. If open_basedir is
    not set, the very same code will return an empty array in the same situation."
    EvanDotPro committed Jan 17, 2012
Commits on Jan 16, 2012
  1. Merge branch 'feature/cloud' of https://github.com/ezimuel/zf2 into f…

    …eature/cloud-storage-rackspace
    weierophinney committed Jan 16, 2012
  2. Merge branch 'hotfix/di-display-console' of https://github.com/jtai/zf2

    … into hotfix/di-console-improvements
    weierophinney committed Jan 16, 2012
  3. Merge branch 'feature/classmap-comment' of https://github.com/EvanDot…

    …Pro/zf2 into hotfix/classmap-generator-timestamp
    weierophinney committed Jan 16, 2012
  4. CS cleanup of JSON-compliant support

    - CS cleanup -- imports, docblocks, etc.
    - Ensured that AMF server also supports new Server interface features
    weierophinney committed Jan 16, 2012
  5. Merge branch 'feature-clients' of https://github.com/rafalwrzeszcz/zf2

    …into feature/json-client
    weierophinney committed Jan 16, 2012
  6. Fix inheritance issue

    - Storage\Part\Exception was extending Storage\Part\Exception -- hence,
      fatal error
    - Modified to extend Storage\Exception
    - Reported by Sebastian Bergmann
    weierophinney committed Jan 16, 2012
  7. Add missing namespace Zend\Db

    m0ppers committed Jan 16, 2012
Commits on Jan 15, 2012
  1. Pass a specific definition into renderClassDefinition()

    When printing definitions, we should only print the classes, methods, and
    parameters provided by the current definition. For example, if a DefinitionList
    has two definitions -- a RuntimeDefinition and an ArrayDefinition loaded from
    an out-of-date compiled definition -- we should print the good info under the
    RuntimeDefinition and the stale info under the ArrayDefinition. Passing the
    current definition into renderClassDefinition() makes this possible. The
    current implementation (before this patch) ignores the current definition and
    always queries the DefinitionList for the first definition that has the class
    defined. In the earlier example, this would print the good info under the
    ArrayDefinition, which is misleading.
    
    This patch also fixes a subtle bug caused by nested calls to the
    SplDoublyLinkedList iterator. In the current implementation, the render()
    method iterates over the DefinitionList (which extends SplDoublyLinkedList). In
    the loop, it calls renderClassDefinition(), which calls the DefinitionList's
    getMethods() and getMethodParameters() methods. These methods also iterate over
    the DefinitionList, resetting the current position and causing the outer loop
    to lose its place. As a result, render() would fail to print all configured
    definitions in some cases. This patch doesn't query the DefinitionList in
    renderClassDefinition(), so the outer loop should behave as expected.
    jtai committed Jan 15, 2012
Commits on Jan 14, 2012
  1. Remove timestamp from classmap generator comment.

    Pointed out by @jtai on IRC, with the timestamp included, the classmap generator
    is no longer idempotent. Because projects will generally live within a VCS,
    having timestamps in the file is a bit redundant anyway.
    EvanDotPro committed Jan 14, 2012
Commits on Jan 13, 2012
  1. Merge pull request #729 from EvanDotPro/feature/classmap-comment

    Add comment to generated classmap files.
    Bittarman committed Jan 13, 2012