1
0
mirror of https://github.com/mrclay/minify.git synced 2025-01-18 05:38:16 +01:00

419 Commits

Author SHA1 Message Date
Sam Bauers
8e55cd8091 Use base for main config key. 2014-02-05 00:58:46 +11:00
Sam Bauers
2c897a0b59 Fix index names on config paths array. 2014-02-05 00:57:18 +11:00
Sam Bauers
63519b55f6 Remove filenames from include statements. 2014-02-05 00:54:03 +11:00
Sam Bauers
0f4692e0c0 Change custom path explanation to match full custom paths changes. 2014-02-05 00:51:23 +11:00
Sam Bauers
b34d964e88 Allow full custom path including filename 2014-02-05 00:46:08 +11:00
Sam Bauers
ae70500a2d Allow optional custom configs to be optional
This change tests first for the existence of the custom config variable and then the existence of each custom config file in turn. If found the directory path to append to that config file is changed to the custom path.

This allows fallback to the standard config when no custom config is present.

Maybe it would be even better to load both - the standard config, then the custom config, but this might be confusing for groupConfig.php. It could work using array merge, but it wouldn't be particularly clear or easy to explain.
2014-02-04 12:37:40 +11:00
Sam Bauers
b8a0cac0e5 Explain separate config storage in MIN.txt 2014-02-04 12:13:33 +11:00
Sam Bauers
719c22fca4 Include groupsConfig.php in MINIFY_CONFIG_DIR. 2014-02-03 18:19:46 +11:00
Sam Bauers
aceef480c3 Allow definition of custom config directory.
To allow "clean" checkouts of Minify we could use the possibility to define a custom config directory outside the minify directory.

Using this patch a user can define MINIFY_CUSTOM_CONFIG_DIR on a new page outside the minify directory and then include minify's index.php on that page and point their rewrites etc. there instead.

The config.php (and config-test.php) could be copied to the custom directory and edited without causing svn:external/git:submodule conflicts.
2014-02-03 18:19:00 +11: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
mrclay.org
f8b62b358b Fixes issue 299 on Windows by reducing length of cache filenames 2013-11-13 20:37:44 -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
Steve Clay
88367b3f72 Merge pull request #77 from glensc/temp-path-error
report temp path when mktemp fails
2013-11-08 16:58:39 -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
94d2596a57 Fixed email in composer.json 2013-09-26 09:10:32 -04:00
Steve Clay
7f13823b52 Fixed composer.json 2013-09-26 09:07:43 -04:00
Steve Clay
e8e9272229 Update composer.json 2013-09-26 09:07:18 -04:00
Steve Clay
681885762d Fixes #73: Handles regex literals directly following return/typeof 2013-09-20 20:09:51 -04:00
Steve Clay
db7fe24493 Prepare 2.1.7 release 2.1.7 2013-07-23 15:58:28 -04:00
Steve Clay
9f46484c1a Strip null bytes from GET vars 2013-07-23 15:52:31 -04:00
Steve Clay
07e032a3f0 Prep for 2.1.6 2.1.6 2013-07-19 22:46:02 -04:00
Steve Clay
3a1f9f55cf Merge pull request #65 from tubalmartin/master
Update CSSmin to latest version 2.4.8
2013-06-24 11:56:00 -07:00
tubalmartin
59a466d6a6 Update CSSmin to latest version 2.4.8 2013-06-24 20:35:17 +02: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
Steve Clay
faec60fff6 Merge pull request #54 from jrobeson/patch-1
remove version from composer.json
2013-03-23 13:12:40 -07: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
Johnny Robeson
416296ad6f remove version from composer.json
version isn't needed since a tag for 2.1.5 already exists.
2013-03-23 17:10:42 -03: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
e228891304 Merge pull request #44 from glensc/composer.json2
add composer.json file
2013-03-23 12:59:25 -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
cb75a4fd30 Fixes #158: Builder works on SSL
http://code.google.com/p/minify/issues/detail?id=158
2013-03-01 09:27:59 -05: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
37ff25ef06 add role to author 2012-12-08 01:50:01 +02:00
Elan Ruusamäe
73ae2b74e2 specify version 2012-12-08 01:00:23 +02:00
Elan Ruusamäe
04adfef406 fill more fields (type, license, homepage, deps) 2012-12-08 00:37:38 +02:00
Elan Ruusamäe
2975b0f581 use tabs 2012-12-08 00:37:20 +02:00