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

122 Commits

Author SHA1 Message Date
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
Steve Clay
d40d71cdff Adds source interface https://github.com/mrclay/minify/issues/116 2014-09-20 23:37:50 -04:00
Steve Clay
dca6be63e3 Removes support for arbitrary objects for sources 2014-09-18 18:02:45 -04:00
Elan Ruusamäe
6817584513 last_modified is always integer, no need to check for null 2014-09-18 21:51:39 +03:00
Elan Ruusamäe
4f5cdbb746 Convert Minify_Source::lastModified to ->getModifiedTime() #114 2014-09-18 20:28:44 +03:00
Steve Clay
fb3931f8cd Fixes #97: URIs with spaces are correctly rewritten 2014-04-03 19:53:48 -04:00
Elan Ruusamäe
27b4f758bc fix passing invalid parametrs to flock. #51 2014-03-19 15:07:57 +02:00
Steve Clay
f3a408fd74 Remove unused var, add @throws 2014-03-12 09:48:36 -04: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
f3aa19283b Merge pull request #86 from mrclay/cite_is_inline
Remove cite from block elements pattern
2014-02-04 07:08:59 -08: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
Steve Clay
9e4176f193 Remove cite from block elements pattern 2014-01-13 16:50:48 -05:00
Joe Cai
ea866716e7 Fixed the last commit 2014-01-02 22:44:27 +08:00
Joe Cai
bb03aa097d about:blank check with regex 2014-01-02 22:32:41 +08: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
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