1
0
mirror of https://github.com/mrclay/minify.git synced 2025-03-13 08:59:38 +01:00

92 Commits

Author SHA1 Message Date
Elan Ruusamäe
a856756705 port MinifyBuildTest to phpunit 2015-11-22 13:56:58 -05:00
Elan Ruusamäe
68f011d73f port MinifyBuildTest to phpunit 2015-11-22 13:56:58 -05:00
Elan Ruusamäe
08070aecdb port JsMinTest to phpunit 2015-11-22 13:56:58 -05:00
Elan Ruusamäe
6838349e3a port Minify_JS_ClosureCompiler test to phpunit 2015-11-22 13:56:57 -05:00
Steve Clay
e2efb342a8 Remove JSMin+ and old, unfinished CssCompressor port
JSMin+ was a good effort but is unmaintained and has collected several
reports of impractical memory usage for a project like this.
2015-09-29 10:38:22 -04: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
de8e8be37e Merge commit '5b6b891cc379be1b9c014a5bb070e5e2e792d64c' into 3.0 2015-09-27 18:02:48 -04:00
Elan Ruusamäe
0e9e1237c6 make composer dependency required
NOTE: this changes required minimum PHP version to 5.3.3
2014-10-16 00:04:51 +03:00
Elan Ruusamäe
4b8de3d14c use autoloader in tests 2014-10-12 17:15:49 +03:00
Elan Ruusamäe
96da497e9c rework classloader
- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
2014-10-12 16:28:41 +03:00
Matthias Fax
bb67f5762b Add Wincache
Updated comments

Check for Wincache existence in constructor

Normalized markup

Add Wincache test

Tie Wincache test to test index
2014-09-21 12:50:53 -04:00
Elan Ruusamäe
0624820859 tests: use Minify_Source 2014-09-18 21:52:06 +03:00
Elan Ruusamäe
4f5cdbb746 Convert Minify_Source::lastModified to ->getModifiedTime() #114 2014-09-18 20:28:44 +03:00
Matthias Fax
6b469640a7 Add Wincache
Updated comments

Check for Wincache existence in constructor

Normalized markup

Add Wincache test

Tie Wincache test to test index
2014-06-12 15:14:47 +02:00
Steve Clay
fb3931f8cd Fixes #97: URIs with spaces are correctly rewritten 2014-04-03 19:53:48 -04:00
Steve Clay
5ceada8a22 YUIC unit test updates
bail if jar not found, make test more obviously customizable, don't
fail test if YUIC correctly handles input it used to choke on.
2014-03-12 09:51:53 -04:00
Steve Clay
66f2622705 Clean up unit test messages 2014-03-12 09:49:16 -04:00
Joscha Feth
c60b6a2984 fix typo 2014-03-05 19:29:22 +01:00
Joscha Feth
54a53c9c19 Adds tests for the command line based Closure Compiler 2014-03-05 19:20:52 +01:00
Steve Clay
86fbe1f948 Merge branch 'joec4i-master' 2014-02-04 10:31:37 -05:00
Steve Clay
a2487c7c1a Simplify identifying file-relative URIs in rewriter 2014-02-04 10:31:00 -05:00
Steve Clay
a35b801ce9 Clean up pull/84 additions 2014-02-04 09:59:46 -05:00
Joscha Feth
5d73cd0886 * Allow additional HTTP options to be passed to the Closure compiler service
* Allow option for overriding the maximum byte size POST limit
2014-02-04 09:59:46 -05:00
Joe Cai
143046d472 CSS_UriRewriter: do not rewrite about:blank 2014-01-02 11:27:40 +08:00
Steve Clay
5560a664e9 Fix up web-based tool and correct error byte in JSMin exceptions 2013-11-27 18:28:39 -05:00
Steve Clay
218f37fb44 Update CSSmin, adds Minify_CSSmin wrapper, removes units for CSSmin 2013-11-13 20:18:19 -05:00
Steve Clay
681885762d Fixes #73: Handles regex literals directly following return/typeof 2013-09-20 20:09:51 -04:00
Steve Clay
6f5721d2db Fixes #53 (github) handles division following line break 2013-04-01 11:25:27 -04:00
Steve Clay
d67feea182 Fixed small Lines bug, Refactored JSMin algo to more closely match original 2013-03-29 13:26:10 -04:00
Steve Clay
c95d6bac4e Fixes Gcode issue 256, improve readability 2013-03-29 10:01:17 -04:00
Elan Ruusamäe
8c54519b32 Minify_YUICompressor: add support for increasing stack size 2013-01-15 14:53:45 +02:00
Steve Clay
c196dd39df Replaced all class require's with autoloader 2012-09-30 17:51:34 -04:00
Steve Clay
6eefd7a7ed Allow CSSmin instance to be re-used for multiple run() calls 2012-03-16 14:26:20 -04:00
Steve Clay
9dba65a0e9 minor unit test tweaks 2012-03-16 14:25:25 -04:00
Steve Clay
a703d325d5 Merge pull request #22 from tubalmartin/master
CSSmin updated to latest commit of YUI compressor!
2012-03-16 09:35:52 -07:00
tubalmartin
c3485ac5a5 CSSmin updated to latest commit of YUI compressor.
CSSmin passes all unit tests successfully!
Added trim() to the file_get_contents() resulting code so that test results match!
2012-03-16 02:40:56 +01:00
Steve Clay
acbcd84c14 update comment 2012-03-15 10:00:41 -04:00
Steve Clay
5f2c5a4f2d added CSSmin and test 2012-03-14 21:41:24 -04:00
Steve Clay
f7d73dcc56 Better docs, PHPDocs 2012-03-10 11:48:32 -05:00
Steve Clay
f287d04d3e Moved ill-advised Java class ports elsewhere 2012-02-12 21:07:36 -05:00
Simon Schick
24ccfbc9b6 Merge branch 'master' of git://github.com/mrclay/minify.git
Conflicts:
	min/lib/Minify/ImportProcessor.php
2011-11-23 15:26:21 +01:00
Simon Schick
f877cb658d Updated Minify_ImportProcessor to get the best relative-path of included images relative to the master-css file
Updated test for Minify_ImportProcessor to test the new changes
2011-10-17 11:36:18 +02:00
Steve Clay
82c9e00cc7 re-starting work on YUI CssCompressor port 2011-10-16 01:29:20 -04:00
Steve Clay
f67da8e359 minify in chunks for JS 2011-10-13 22:58:50 -04:00
Steve Clay
5b6469467e proper fix for Issue 144: + ++a 2011-06-26 02:37:00 -04:00
Steve Clay
0fe3b7fc4c fixed Issue 229 2011-06-23 20:28:22 +00:00
Steve Clay
5002cd5fa7 Better fix for Issue 210 2011-06-23 19:21:45 +00:00
Steve Clay
8adf606cc6 Fix for Issue 210, start work on port of YUIC CssCompressor 2010-12-20 14:43:31 +00:00
Steve Clay
d8d1f89ca0 Issue 214 (remove traversals in prepended links) 2010-12-19 21:00:27 +00:00