1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-24 17:02:31 +01:00

103 Commits

Author SHA1 Message Date
Steve Clay
218f37fb44 Update CSSmin, adds Minify_CSSmin wrapper, removes units for CSSmin 2013-11-13 20:18:19 -05:00
Steve Clay
e778d4f714 Merge pull request #78 from glensc/cc-url2
allow possibility to configure closure-compiler url
2013-11-08 17:00:44 -08:00
Elan Ruusamäe
ba6ec9c1af allow possibility to configure closure-compiler url 2013-11-09 00:43:53 +02:00
Elan Ruusamäe
77f0728eef report temp path when mktemp fails 2013-11-08 23:59:04 +02:00
Steve Clay
9f46484c1a Strip null bytes from GET vars 2013-07-23 15:52:31 -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
35cddbf5eb Merge pull request #42 from glensc/cc-connection-close
use "Connection: close" of file_get_contents
2013-03-23 13:11:48 -07:00
Steve Clay
2089caaf66 Merge pull request #43 from glensc/groupurls
allow setGroup keys be list of groups comma separated
2013-03-23 13:03:09 -07:00
Steve Clay
3f0485e54f Merge pull request #47 from glensc/stack-size
Minify_YUICompressor: add support for increasing stack size
2013-03-23 12:57:51 -07:00
Steve Clay
c1c375cb0e Merge pull request #48 from glensc/script-clean-comments
add jsCleanComments option to Minify_HTML
2013-03-23 12:55:43 -07:00
Steve Clay
7a268d99df Merge pull request #49 from glensc/xcache
add Minify_Cache_XCache - xcache backend
2013-03-23 12:46:37 -07:00
Steve Clay
db65f55738 Avoid NOTICE errors in _getCommonCharAtPos 2013-01-22 16:15:06 -05:00
Elan Ruusamäe
04f5873e28 upstream uses spaces for formatting 2013-01-18 14:19:59 +02:00
Elan Ruusamäe
7ffdeef7ef add Minify_Cache_XCache - xcache backend
based on APC and Memcache files
2013-01-18 14:17:51 +02:00
Elan Ruusamäe
f6d078785f add jsCleanComments option to Minify_HTML 2013-01-17 00:02:30 +02:00
Elan Ruusamäe
8c54519b32 Minify_YUICompressor: add support for increasing stack size 2013-01-15 14:53:45 +02:00
Elan Ruusamäe
32abbfa328 allow setGroup keys be list of groups comma separated
this allows loading multiple groups on page with
Minify_HTML_Helper::getUri, keeping array method for loading list of
sources

the backend side for handling this in Minify_Controller_MinApp is
already present.
2012-12-02 23:20:22 +02:00
Elan Ruusamäe
a82d70b0ba use "Connection: close" of file_get_contents
otherwise php will do keepalive request, and wait timeout seconds before
can return actual response. similar problem does not happen with curl
backend
2012-11-25 15:26:28 +02:00
Steve Clay
335800947b Fixes #271: Allows URI rewriting when handling pre-minified files 2012-09-30 18:44:17 -04:00
Steve Clay
c196dd39df Replaced all class require's with autoloader 2012-09-30 17:51:34 -04:00
Steve Clay
666cd6d89a Fixes #261: verify query string params are not arrays 2012-06-04 11:49:44 -04:00
Elan Ruusamäe
91af676645 set default compilation_level=SIMPLE_OPTIMIZATIONS
anyway that's the default in the jar anyway :)
2012-04-03 18:01:54 +03:00
Elan Ruusamäe
a2b6036430 Add google closure compiler cli version 2012-03-30 00:45:06 +03:00
Elan Ruusamäe
d6621ec185 fix jarFile check not being executable
jarFile does not need to be executable, just readable
2012-03-29 20:31:43 +03:00
Steve Clay
f7d73dcc56 Better docs, PHPDocs 2012-03-10 11:48:32 -05:00
Steve Clay
1d509f6c6a Current version of YUIC Compressor 2012-02-12 21:10:25 -05:00
jrchamp
db60321f8b Don't need to unlink file because file_put_contents will handle that. Also, don't return false after file_put_contents fails in case it creates a zero size file (use the existing "does the data match" check to ensure that the zero size file gets unlinked). 2012-01-24 17:18:46 -05:00
Méven Car
b95ce11d46 Formatting. 2012-01-19 19:26:32 +01:00
Méven Car
20cf74aac4 Added some two exceptions :
* when java cannot be executed
  * When execution result_code of yui compressor is not 0 (i.e execution success).
2012-01-19 19:17:04 +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
Simon Schick
02bfb47f03 ImportProcessor: The previews-directory set in the constructor is marked as optional because it should only be used by internal calls. Added PHP-Doc for the constructor. 2011-10-15 14:31:42 +03:00
Simon Schick
26395db67a Updated ImportProcessor to write relative for imported stuff like images based on the parent-css-path. 2011-10-14 18:03:53 +03:00
Steve Clay
3c5543c3ea Joe Lencioni's patch for issue 5 2011-10-13 20:11:38 -04:00
Steve Clay
4e0b1fee8d Merge branch 'master' of github.com:mrclay/minify 2011-09-18 21:36:11 -04:00
Steve Clay
c8e903e24b missing file notice implemented for groups 2011-09-03 21:09:43 -04:00
Steve Clay
2f11b725b8 improved issue 170 2011-09-03 20:18:57 -04:00
acidvertigo
cfd6d3cd5a Running the explode instruction outside the foreach loops is faster 2011-08-18 21:14:44 +03:00
Steve Clay
9754414cc3 removed require for Java/String (not going that route). 2011-07-22 14:17:54 -07:00
Steve Clay
8c93fdf8a1 updated CssCompressor.java 2011-07-05 11:59:48 -04:00
Steve Clay
18a22b7937 removed dumb Java syntax emulation idea 2011-07-05 11:59:05 -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
b07880e17a Fix for Issue 211 2010-12-19 21:12:53 +00:00
Steve Clay
d8d1f89ca0 Issue 214 (remove traversals in prepended links) 2010-12-19 21:00:27 +00:00
Steve Clay
356b6fb834 Issue 196, Issue 201, Issue 198 2010-10-29 04:10:39 +00:00
Steve Clay
c6a2f87641 Minify_CSS : remove charset at-rules by default & options cleanup
Minify_HTML : speed patch (Issue 192)
Minify_Controller_MinApp : better error logging (Issue 193)
index.php : allow easier custom controller hacking
2010-09-30 04:31:58 +00:00
Steve Clay
e9cd5d4b9b Issue 189 2010-08-06 15:08:55 +00:00
Steve Clay
c698941cc4 Closure Compiler API minifier and unit test
JSMin preserves "/*!"
2010-08-02 00:30:24 +00:00
Steve Clay
5d9d81f875 Issue 167, Issue 186, integrated Solar_Dir::tmp into file cache 2010-07-25 05:11:41 +00:00