* standby: add standby mode
In standby mode PageSpeed is off, except it serves .pagespeed. resources and
PageSpeed query parameters are interpreted. This is equivalent to "off" in
mod_pagespeed.
With this change, "off" in mod_pagespeed is deprecated, and people should use
"standby" instead.
* add test file
* rewrite doc
* get tests to pass under memcached
* doc: minor display tweak
* build release tarball: open source it
* change it from being given a branch to working on the current checkout
* change it to work with create_distro_tarball, which was already opensourced
* make it build openssl 1.0.2 if needed
* doc ubuntu 14 dep
build_development_apache.sh flakes about 21% of the time, due to the apr
makefile not handling parallelism properly when running the install target.
Explicitly set -j1 when installing apr.
Fixespagespeed/ngx_pagespeed#1338
This should fix the ngx_pagespeed build on travis, because the ngx_pagespeed build is using devel.
(This is actually something I had originally done as part of 91662d08a, but because part of that change involved removing our exporting tools I hand-exported the change and missed this file.)
* many files had no license comments at all
* some files had license comments suggesting that they weren't open source
(like a terse "all rights reserved") when they actually are open source.
* all our files are licensed under apache and should be marked as such
ngxpagespeed.com/install serves a redirect to build_ngx_pagespeed.sh on github. Now that we develop on master and trunk-tracking is gone, fix it to point at master.
Already fixed (manually) on the live site.
These are the scripts and Makefiles we've been using to develop mod_pagespeed. These were in a google-internal repo instead of being open sourced for complicated internal reasons, but now mod_pagespeed developers inside and outside google can use the same tools and flow.
This change adds a bunch of make targets. To see them, look at the big comment at the top of devel/Makefile. To run them, cd to devel/ and run make:
cd devel/
make apache_debug_smoke_test
This change also adds 'checkin' tests, which are a way to run all our tests together, so we can be confident a change doesn't break any of them. To run checkin tests:
cd devel/
./checkin
They're pretty slow: about 2hr on my machine. Definitely don't bother runnning checkin tests until unit tests and system tests have passed first.
malloc, but makes sure that padding bytes at very end are deterministically
zero.
Reason: Testing on native builds on Debian Sid suggested that *something* in
our compression stack was apparently letting some of the padding bytes
influence the output. (Noticeable on PngOptimizerTest.ValidPngs).
This works around the issue.
(From libpng docs on changes in 1.6.x:
"The library now issues an error if the application attempts to set a
transform after it calls png_read_update_info() or if it attempts to call
both png_read_update_info() and png_start_read_image() or to call either
of them more than once.")
mutable_output_partition(i) and change call-sites as needed.
Add an AtomicBool used for checking that we should not be modifying
the CachedResult in a RewriteContext after it is serialized to the
cache, and a new private method RewriteContext::CheckNotFrozen() to
check it.