Permalink
Commits on May 3, 2012
  1. In configuration section of the README, describe the proper behaviour…

    sofadesign committed May 3, 2012
    … about loading libraries. Fixes #28.
Commits on Mar 16, 2012
  1. Warning message about unofficial french documentation. (Message d'ave…

    Fabrice Luraine committed Mar 16, 2012
    …rtissement concernant le fichier LISEZMOI)
  2. Ajout des nouvelles fonctionnalités à la documentation et traduction …

    sudwebdesign committed with Fabrice Luraine Jan 30, 2012
    …(du mieux que j'ai pu) des commentaires liés aux nouvelles options implémentés.
    
    
    Mais comme dit l'auteur de limonade : la meilleure doc reste la source :-)
  3. Merge pull request #26 from sloonz/master

    Fabrice Luraine committed Mar 16, 2012
    Some changes for better Nginx compatibility
Commits on Mar 14, 2012
Commits on Feb 28, 2012
  1. Allow to use base_uri option for url routing.

    sloonz committed Feb 28, 2012
    Right now, the following methods are used to determine request_uri(),
    used in routing :
    
    * u or uri GET params
    * PATH_INFO (index.php/uri)
    * QUERY_STRING (index.php?/uri)
    * REQUEST_URI, which is just the equivalent of the two above methods
      but for webservers which doesn't set PATH_INFO or QUERY_STRING
    
    The problem with this is that none is controllable via user
    configuration.
    
    This patch modify the last method to try to use option('base_uri') in
    addition to the internally computed base_path. For example, if
    REQUEST_URI is /app/myroute and option('base_uri') is '/app', then
    request_uri() (if not other methods are used) will return '/myroute'.
    
    The main usage of this new method will be to allow rewrite rule of
    this form :
    
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^(.*)$ index.php [QSA,L]
    
    Which is the preferred method for "pretty"-urls in Nginx.
  2. Don't try to use query_string to determine request_uri() if

    sloonz committed Feb 28, 2012
    it doesn't looks like a proper route
    
    Query string can be used to determine routing when used this
    way :
    
     http://test/index.php?/route
    
    However, this method consume GET arguments even if query string
    is not intended to be used for routing. To fix that, we don't
    even try to use query string for routing if query string doesn't
    starts with /.
Commits on Feb 26, 2012
  1. Update links in README.mkd

    Fabrice Luraine committed Feb 26, 2012
Commits on Feb 21, 2012
Commits on Jul 16, 2011
  1. Reorder initial configuration settings in run function

    Fabrice Luraine committed Jul 16, 2011
  2. Merge pull request #21 from CBeerta/inspect-header

    Fabrice Luraine committed Jul 16, 2011
    Add `sender_header` function a `before_sending_header`hook to intercept headers before sending them.
Commits on May 30, 2011
  1. Add a way to manage fallbacks for not implemented functions.

    Fabrice Luraine committed with CBeerta Mar 14, 2011
    Raise warning if try to use json_encode() when it's not available. PHP 5 < PHP 5.2.0 doesn't provide json functions natively.
  2. Fix a small PHP notice in a test (undefined index…)

    Fabrice Luraine committed with CBeerta Mar 14, 2011
  3. Fix PHP Parse error when running tests on PHP5.3.0 < : use eval to de…

    Fabrice Luraine committed with CBeerta Mar 14, 2011
    …clare a lambda function.
  4. Fix warning in tests on PHP5.2.3 < . Avoid test for call_if_exists wi…

    Fabrice Luraine committed with CBeerta Mar 14, 2011
    …th static class method call.
  5. Fix fatal error if memory_get_usage() isn't available. Now benchmark(…

    Fabrice Luraine committed with CBeerta Mar 14, 2011
    …) only return execution time in this case.
    
    memory_get_usage() might be unavailable before PHP5.2.1 if PHP wasn't compiled with option `--enable-memory-limit`.
    Add tests to control `benchmark()` return.
  6. Remove from the README file the link to the public API because it's n…

    Fabrice Luraine committed with CBeerta May 30, 2011
    …o longer maintened.
  7. Add requirements in README [#50 state:resolved]

    Fabrice Luraine committed with CBeerta May 30, 2011
  8. Prevents flash sweep for HEAD requests like suggested by @msaspence i…

    Fabrice Luraine committed with CBeerta May 30, 2011
    …n issue #20.
    
    Can be useful when using browser extensions like webug in Chrome which
    send a HEAD request after each GET or POST request.
  9. Fix backward compatibilty function limonade_htmlspecialchars_decode. …

    Fabrice Luraine committed with CBeerta May 30, 2011
    …Now supports &#39; entities
  10. Add a way to manage fallbacks for not implemented functions.

    Fabrice Luraine committed Mar 14, 2011
    Raise warning if try to use json_encode() when it's not available. PHP 5 < PHP 5.2.0 doesn't provide json functions natively.
  11. Fix a small PHP notice in a test (undefined index…)

    Fabrice Luraine committed Mar 14, 2011
  12. Fix PHP Parse error when running tests on PHP5.3.0 < : use eval to de…

    Fabrice Luraine committed Mar 14, 2011
    …clare a lambda function.
  13. Fix warning in tests on PHP5.2.3 < . Avoid test for call_if_exists wi…

    Fabrice Luraine committed Mar 14, 2011
    …th static class method call.
  14. Fix fatal error if memory_get_usage() isn't available. Now benchmark(…

    Fabrice Luraine committed Mar 14, 2011
    …) only return execution time in this case.
    
    memory_get_usage() might be unavailable before PHP5.2.1 if PHP wasn't compiled with option `--enable-memory-limit`.
    Add tests to control `benchmark()` return.
  15. Remove from the README file the link to the public API because it's n…

    Fabrice Luraine committed May 30, 2011
    …o longer maintened.
  16. Add requirements in README [#50 state:resolved]

    Fabrice Luraine committed May 30, 2011
  17. Prevents flash sweep for HEAD requests like suggested by @msaspence i…

    Fabrice Luraine committed May 30, 2011
    …n issue #20.
    
    Can be useful when using browser extensions like webug in Chrome which
    send a HEAD request after each GET or POST request.
  18. Fix backward compatibilty function limonade_htmlspecialchars_decode. …

    Fabrice Luraine committed May 30, 2011
    …Now supports &#39; entities
Commits on May 29, 2011
  1. Add `inspect_header`to allow inspection of headers beeing sent.

    CBeerta committed May 29, 2011
     - New function _lim_header that takes care of sending the header
     - Replace all direct calls of header() with _lim_header()
     - Added Example to abstract.php
     - Added Example Usage to the Documentation.
  2. Reorder run() configuration.

    CBeerta committed May 29, 2011
    To be able to use Limonade fro CLI SAPI one needs to intercept the run() before any $_SERVER Variables are used, so reorder it accordingly.
Commits on May 26, 2011
  1. Fixing the spelling of Limonade in examples 1 and 2

    Adam T. Diehm committed with Fabrice Luraine May 26, 2011
  2. Updated document to fix spelling/grammar errors, and to enhance reada…

    Adam T. Diehm committed with Fabrice Luraine May 20, 2011
    …bility of the english.
    
    Also updated some places where "<?=" was used, replacing with "<?php echo" which is both more "proper" and more consistent with other usage.