Commits on Oct 1, 2012
  1. @doy
Commits on Sep 30, 2012
  1. @miyagawa

    Merge pull request #324 from dex4er/remote_port

    Set REMOTE_PORT environment variable
    miyagawa committed Sep 29, 2012
  2. @miyagawa

    Merge pull request #334 from avar/add-support-for-psgix_cleanup-to-ap…

    …ache2-handler
    
    Plack::Handler::Apache2: implement support for cleanup handlers
    miyagawa committed Sep 29, 2012
Commits on Sep 28, 2012
  1. @avar

    Plack::Handler::Apache2: implement support for cleanup handlers

    Change Plack::Handler::Apache2 to Implement support for the PSGI
    environment cleanup handlers proposal specified at
    https://github.com/plack/psgi-specs/wiki/Proposal:-PSGI-environment-cleanup-handlers. Being
    able to emulate Apache-like behavior was the original reason for the
    proposal, so it's fitting that we should have support for this in our
    Apache compatibility layer.
    
    The same patch should work pretty much as-is for Apache1 as well, but
    I don't have access to an Apache1 server anymore so I've just
    implemented it for Apache2.
    
    Note that we check psgix.harakiri.commit after the cleanup handlers
    have run in case one of the cleanup handlers sets that flag, if we
    don't have any cleanup handlers we ask the server to child_terminate()
    without setting up a PerlCleanupHandler.
    
    This is perhaps a needles premature optimization (we could just get
    rid of that if() entirely and always do "push_handlers"), but it
    seemed to be superfluous to always set up a PerlCleanupHandler even
    when we don't need any asynchronous cleanup, but only child
    termination.
    
    This patch is best viewed with "git show -w", I re-indented the
    key/values in the $env assignment to fit the current coding style of
    that file, but I didn't change any of the existing keys there. I only
    added psgix.cleanup and psgix.cleanup.handlers.
    avar committed Sep 28, 2012
Commits on Sep 27, 2012
  1. @miyagawa

    Merge pull request #333 from avar/delete-MOD_PERL-instead-of-setting-…

    …it-to-undef
    
    Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localize i...
    miyagawa committed Sep 27, 2012
  2. @avar

    Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localiz…

    …e it
    
    Some software such as CGI::Cookie does "exists $ENV{MOD_PERL}" to
    check if it's running under mod_perl instead of just checking whether
    $ENV{MOD_PERL} is true.
    
    So that code that does this doesn't assume it's running under Apache
    locally delete $ENV{MOD_PERL} instead of just setting its value to
    undef.
    
    Note that we're not doing "delete local $ENV{MOD_PERL}" because that
    construct was introduced in 5.12, also note why we're doing it this
    way in the code
    http://perldoc.perl.org/5.12.0/perldelta.html#delete-local
    
    So before we'd have:
    
        $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => undef
                };
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => 'yes'
                };
    
    And now we have:
    
        $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; delete $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
        $VAR1 = {
                  'foo' => 'bar'
                };
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => 'yes'
                };
    avar committed Sep 27, 2012
Commits on Sep 21, 2012
  1. @miyagawa

    Merge pull request #331 from avar/t-plack-request-cookie-docs

    t/Plack-Request/cookie.t: add documentation to some of the trickier test...
    miyagawa committed Sep 21, 2012
  2. @miyagawa
  3. @avar

    t/Plack-Request/cookie.t: add documentation to some of the trickier t…

    …ests
    
    Change the t/Plack-Request/cookie.t tests to use three-arg is() for
    the undef tests and the multi-cookie test.
    avar committed Sep 21, 2012
Commits on Sep 20, 2012
  1. @miyagawa
  2. @miyagawa

    rename files

    miyagawa committed Sep 20, 2012
  3. @miyagawa
  4. @miyagawa

    Checking in changes prior to tagging of version 1.0004.

    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 3509cf7..acbb0ef 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,13 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0004  Thu Sep 20 08:36:11 JST 2012
    +    [NEW FEATURES]
    +        - Added psgix.harakiri support in HTTP::Server::PSGI
    +
    +    [IMPROVEMENTS]
    +        - Preload TempBuffer modules (avar)
    +        - Documentation fixes (autarch)
    +
     1.0003  Wed Aug 29 13:44:53 PDT 2012
         [BUG FIXES]
             - Fix Basic authentication error in case password contains a colon #319
    miyagawa committed Sep 20, 2012
Commits on Sep 19, 2012
  1. @miyagawa

    Merge pull request #330 from chromatic/patch-1

    Update scripts/plackup
    miyagawa committed Sep 19, 2012
  2. @chromatic

    Update scripts/plackup

    Minor typo fixes.
    chromatic committed Sep 19, 2012
  3. @miyagawa

    Implement psgix.harakiri. #329

    miyagawa committed Sep 19, 2012
Commits on Sep 11, 2012
  1. @miyagawa

    Merge pull request #328 from avar/pre-load-tempbuffer-modules

    Plack::TempBuffer: pre-load Plack::TempBuffer::* modules
    miyagawa committed Sep 11, 2012
  2. @avar

    Plack::TempBuffer: pre-load Plack::TempBuffer::* modules

    Change the Plack::TempBuffer module so that we pre-load the ::PerlIO,
    ::File and ::Auto modules. These modules are really small, and by
    use-ing them here we'll have them pre-loaded in pre-forking
    webservers.
    avar committed Sep 11, 2012
Commits on Sep 4, 2012
  1. @dex4er
Commits on Sep 3, 2012
  1. @miyagawa

    Merge pull request #323 from autarch/autarch/doc-tweaks

    Doc tweaks
    miyagawa committed Sep 3, 2012
  2. @autarch
  3. @autarch
Commits on Aug 29, 2012
  1. @miyagawa

    Checking in changes prior to tagging of version 1.0003.

    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index d1144bf..3509cf7 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,11 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0003  Wed Aug 29 13:44:53 PDT 2012
    +    [BUG FIXES]
    +        - Fix Basic authentication error in case password contains a colon #319
    +        - Fix AccessLog middleware in platforms where %z strftime is not supported #318
    +        - Escape $_ in Plack::Request path method due to a possible URI::Escape bug
    +
     1.0002  Mon Aug 13 17:04:25 PDT 2012
         [NEW FEATURES]
             - Added --no-default-middleware option to plackup #290
    miyagawa committed Aug 29, 2012
  2. @miyagawa
Commits on Aug 19, 2012
  1. @miyagawa
Commits on Aug 15, 2012
  1. @miyagawa

    rather use 3600

    miyagawa committed Aug 15, 2012
  2. @miyagawa

    Merge pull request #318 from dex4er/fix_tz_offset

    Correct timezone on systems where strftime doesn't support %z
    miyagawa committed Aug 15, 2012
  3. @dex4er
Commits on Aug 14, 2012
  1. @miyagawa

    Checking in changes prior to tagging of version 1.0002.

    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 799d98c..d1144bf 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,18 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0002  Mon Aug 13 17:04:25 PDT 2012
    +    [NEW FEATURES]
    +        - Added --no-default-middleware option to plackup #290
    +
    +    [BUG FIXES]
    +        - Use C locale for AccessLog strftime #313
    +        - Escape Plack::Request URI path using RFC 3986 definition (ssmccoy)
    +
    +    [IMPROVEMENTS]
    +        - Documentation improvements (ether, Tom Heady)
    +        - Skip displaying ".." in Plack::App::Directory #277
    +        - Document load_class() doesn't validate user input. #285
    +
     1.0001  Thu Jul 26 16:24:13 PDT 2012
         [INCOMPATIBLE CHANGES]
             - Deleted lots of code, methods and warnings that have been deprecated since 0.99
    miyagawa committed Aug 13, 2012
  2. @miyagawa
Commits on Aug 13, 2012
  1. @miyagawa

    cleanup

    miyagawa committed Aug 13, 2012
  2. @miyagawa

    Merge pull request #315 from karenetheridge/topic/201208_docs

    grammar, spelling, module links
    miyagawa committed Aug 13, 2012
  3. @miyagawa
  4. @miyagawa
  5. @miyagawa