Elan Ruusamäe
b97a1db01d
cleanup unneeded import
2018-01-05 19:09:42 +02:00
Elan Ruusamäe
df7fddfa09
import classes instead of manual qualify
2018-01-05 14:35:57 +02:00
Elan Ruusamäe
c580d24e1b
simplify return statement
2018-01-05 14:35:09 +02:00
Elan Ruusamäe
5c300aca97
do not define default value
2018-01-05 14:28:28 +02:00
Elan Ruusamäe
80c01c6f02
php-cs-fixer fix
2017-04-18 18:24:17 +03:00
Elan Ruusamäe
b31ddbf4c1
add missing .scss to css type map. #549
2016-10-17 15:14:56 +03:00
Steve Clay
16c811cd93
Big style cleanup
2016-10-16 15:13:38 -04:00
Elan Ruusamäe
5fb7ea1ed1
phpcs: enable psr2
2016-10-16 18:51:49 +03:00
Steve Clay
7dbd2c87e4
Minify no longer tries to minify -min.js/.min.js files
...
2.2 used empty string as a magical value meaning do not minify, but
in the refactoring `Minify::combineMinify` forgot to interpret this
value that way and instead inherited the default compressor for the type.
This eliminates `""` as a magical value, but for BC rewrites it to
`Minify::nullMinifier` in the sources.
Fixes #499
2016-02-26 11:17:55 -05:00
Elan Ruusamäe
379feaba99
do some trivial codestyle fixes
...
unix newlines, trailing spaces
2016-01-22 00:38:12 +02:00
Steve Clay
e596b35fc4
Collapse "min" into project root and get unit tests working.
...
Fixes #472
2015-09-28 15:39:25 -04:00
Steve Clay
51adb91399
Moved "lib" into "min" for easiest deployment
2008-08-19 03:58:28 +00:00
Steve Clay
03e1989d35
Rewrite relative URIs in CSS by default (adjusted test accordingly)
...
Minify.php: + 'rewriteCssUris' option
Controller/Base.php: + 'rewriteCssUris' default value
Controller/Version1.php: moved rewriting to serve()
Minify/CSS.php: renamed option 'currentPath' to 'currentDir'
Minify/Source.php: made $filepath public
2008-08-18 23:38:39 +00:00
Steve Clay
0697a120ee
+ Minify::$uploaderHoursBehind
...
+ fixed backtrace limit issue in Minify_HTML
+ default max-age of 30 minutes (instead of 0)
2008-07-29 03:48:10 +00:00
Steve Clay
e77a1cf82c
Added 'debug' option to serve() to use Minify_Lines
2008-06-28 20:23:29 +00:00
Steve Clay
97eaa576ed
Source.php now strips leading UTF-8 BOMs and added BOMs to javascript test files to test this, and note in README.
2008-05-22 15:23:28 +00:00
Steve Clay
d6c933e80d
+ "//" filepath shortcut in Build.php
...
+ 'getContentFunc' option in Source.php for lazy loading content only when needed (e.g. from DB)
2008-03-29 03:09:41 +00:00
Steve Clay
d38f3d0219
+ // shortcut for doc_root
2008-03-28 00:52:37 +00:00
Steve Clay
c15acc8782
+ test_HTTP_ConditionalGet.php, phpDoc improvements, moved packer to 3rd-party, test for Minify loading fewer files for 304 responses.
2008-03-05 22:59:23 +00:00
Steve Clay
e8ac1dc8d0
Perf update for JSmin (Minify_Javascript), + phpDocs for public HTTP_* class APIs, minor Minify fix, private members changed to protected to allow easier subclassing.
2008-03-03 16:23:39 +00:00
Steve Clay
d86d79b7d2
+ URI rewriter in CSS min, fix for protocol-relative URIs, + partial minify.php compatibility
2008-03-01 20:23:50 +00:00
Steve Clay
0a939d4f91
V1.9.0 overhaul
2008-02-28 18:42:56 +00:00