Elan Ruusamäe
c2f40feb0c
split workflows (no else after return)
2018-01-05 14:29:16 +02:00
Elan Ruusamäe
80c01c6f02
php-cs-fixer fix
2017-04-18 18:24:17 +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
Elan Ruusamäe
379feaba99
do some trivial codestyle fixes
...
unix newlines, trailing spaces
2016-01-22 00:38:12 +02:00
Steve Clay
0bc3769802
Make CSSmin the default CSS compressor
2015-09-28 20:32:56 -04: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
348c838c8b
min/config.php: allows multiple allow directories
...
Controller/Version1.php: + option to specify multiple allow dirs
Minify_Controller_Base::_fileIsSafe() allows multiple safe dirs
Minify_CSS: shorter line length output
2008-08-16 15:25:27 +00:00
Steve Clay
fe13899693
Minfy_HTML: all Unix newlines, replaces spaces with newlines in some tags to limit line lengths
...
Minify_CSS: fix Issue 49, uses newlines in common descendant selectors to limit line lengths
All tests passing with shorter lines and no added bytes!
2008-08-14 06:15:18 +00:00
Steve Clay
08196a7ead
Minify_CSS: URIs can be rewritten inside @imports with media types, trims around properties beginning with * or _ (targeting IE), more thorough internal docs (inc regexes), all Unix newlines
...
+ tests for the above changes
+ test for unusual but valid strings in style sheets (currently FAILs)
2008-08-14 04:24:41 +00:00
Steve Clay
6ce0e380f0
Minify_CSS: removing more ws (in font-family lists and before values starting with [#'"]) + tests with media queries and CSS3 selectors.
2008-07-29 19:50:38 +00:00
Steve Clay
974f84305e
Added docblock comments
2008-07-23 00:32:04 +00:00
Steve Clay
16079919fb
CSS.php fix for empty comments (/**/)
...
Added test with @media section: http://sourceforge.net/tracker/index.php?func=detail&aid=1961175&group_id=165715&atid=836476
2008-06-27 20:45:20 +00:00
Steve Clay
e9035109c9
+ BMH and MSIE filters to css/hacks.css. Minify_CSS no longer minifies RGB colors in MSIE filters.
2008-05-14 16:15:09 +00:00
Steve Clay
1c1a6f327d
+ YUI Compressor-style comment preservation to CSS.php, adjusted tests to match
2008-05-14 12:58:54 +00:00
Steve Clay
cd0675f490
+ Solar_Dir for better PHP compat. Moved most of minify.php code to Controller/Version1.php. + a few tests for version1/minify.php
2008-03-27 16:04:45 +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