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

379 Commits

Author SHA1 Message Date
Steve Clay
22ee97a934 CSS/UriRewriter.php : fixed expansion of docRoot in symlink links
min/index.php : removed expansion (unneeded)
2009-03-06 02:43:12 +00:00
Steve Clay
e5ded285c0 CSS/Compressor.php : fix Issue 95 + test 2009-03-05 16:46:47 +00:00
Steve Clay
f694969342 min/index.php : fix Issue 92 2009-03-04 16:28:14 +00:00
Steve Clay
9ed412fe81 min/config.php : + bubbleCssImports option
test_Minify.php : + tests for bubbleCssImports
2009-03-01 21:04:21 +00:00
Steve Clay
0fc245e8c6 Minify.php : added serve() 'bubbleCssImports' option 2009-02-26 17:06:31 +00:00
Steve Clay
b553442816 HTTP_ConditionalGet::check()
HTTP_Encoder::output()
2009-02-04 22:03:29 +00:00
Steve Clay
5686c0576d test_Minify_Build.php : allow running test file directly
test_Minify.php : clearer unit test language
2009-01-28 23:49:13 +00:00
Steve Clay
67a8b0d355 CSS/Compressor.php : does the minification
CSS/UriRewriter.php : added prepend() and symlink handling
Minify/CSS.php : rewritten to use CSS_* classes
2009-01-28 22:06:57 +00:00
Steve Clay
4c1fe68ab6 Minify.php : moved logging to Logger.php
Controller/Base.php : + log()
Changed controllers to use $this->log()
HTML.php : Issue 83 (preserve some WS around scripts)
CSS.php : + symlinks option to correct some rewritten URIs
min/config.php : + $min_symlinks
min/index.php : normalize symlinks and use Logger.php
min_unit_tests/_inc.php : default FirePHP logging, start output buffering
2009-01-28 20:02:25 +00:00
Steve Clay
7ca31ba2b2 config.php : better doc for $min_documentRoot
test_environment.php : better tests and feedback for DOCUMENT_ROOT
test_Minify_CSS.php : added test for path rewriting (not just prepending)
test_Minify.php : removed need to do path rewriting (more focused testing)
min_unit_tests/_inc.php : honored user's $min_documentRoot
2009-01-27 15:15:43 +00:00
Steve Clay
adc394a0ac Prep docs for 2.1.2
test_all.php : add APC test (if apc_store present)
test_Minify_Cache_File.php : use path specified in $min_cachePath
2009-01-26 22:08:27 +00:00
Steve Clay
773276a9ce JSMin.php : Fix Issue 74 (quotes in regexp literals) & code cleanup
Minify.php : phpdoc for logError()
test_Minify_Lines.php : disabled cache before test
test_environment.php : + note if SUBDOMAIN_DOCUMENT_ROOT detected
2009-01-26 17:06:01 +00:00
Steve Clay
53f39bc2ab Separated logging option from debug option (allows custom logger injection).
Formalized setting document root (will no longer be overridden on IIS).
Rearranged options in config.php.
2009-01-26 00:44:43 +00:00
Steve Clay
e03c263d18 + FirePHP error logging in Files, Groups, and MinApp controllers 2009-01-25 19:40:51 +00:00
Steve Clay
323ec7eb53 CSS.php & CSS/UriRewriter.php : support for data URIs (Issue 80) 2009-01-25 16:22:03 +00:00
Steve Clay
039a25fc7c Minify.php : fix for Issue 73 and test 2009-01-06 16:32:28 +00:00
Steve Clay
34349dfe02 ConditionalGet.php : comment clarification 2009-01-05 16:49:41 +00:00
Steve Clay
4d3e142ca1 + Cache/APC.php and test 2008-12-17 21:21:43 +00:00
Steve Clay
f9abe0a730 builder/index.php : fix Issue 67
Minify.php : allow minifier = ''
Minify/CSS.php : more extensible (Issue 64)
Minify/HTML.php : more extensible
Minify/Lines.php : fix Issue 55
Minify/Packer.php : usability
test_environment.php : test DOCUMENT_ROOT
test_Minify_Lines.php : test Issue 55
2008-12-16 17:13:58 +00:00
Steve Clay
3d2076148c test_Minify.php : realpath applied to DOC_ROOT 2008-11-03 19:50:52 +00:00
Steve Clay
c0a3b93bed Controller/Base.php : improved docs 2008-10-28 00:55:59 +00:00
Steve Clay
6ccdc5f253 min/index.php : Allow far-off expires on f= URIs
min/README.txt : + docs for far-off expires
2008-10-28 00:25:40 +00:00
Steve Clay
717399a062 + MyMin.php + unit test (currently failing)
improved before.js and added HTML test page
2008-10-20 21:00:12 +00:00
Steve Clay
68a16de09c HISTORY.txt and UPGRADING.txt 2.1.1 additions 2008-10-19 20:43:09 +00:00
Steve Clay
3669711b75 test_environment.php : little fix for when $_SERVER['SERVER_NAME'] != desired host name (like has "www.")
Issue 62 test files
2008-10-19 14:25:23 +00:00
Steve Clay
66af3abab3 JSMin.php : Added regexp bug workaround to docblock 2008-10-15 22:25:26 +00:00
Steve Clay
24b3688c51 ConditionalGet.php : allows direct setting of ETag. Patch from Andy Dawson. 2008-10-15 20:28:14 +00:00
Steve Clay
44f8668c92 Issue 60. Zlib no longer required, but unit tests gives a "WARN" that encoding will not be performed. 2008-10-08 14:20:34 +00:00
Steve Clay
340c8a91fe Issue 24. Make sure all accesses of DOCUMENT_ROOT are first passed through realpath() to resolve symlinks. 2008-10-08 13:20:12 +00:00
Steve Clay
6dffb5e10e + unit tests for sensing server/PHP auto-HTTP-encoding and zlib.output_compression
moved ini_set('zlib.output_compression', '0') to config.php so extras and ab tests should work when this is set in php.ini/.htaccess.
builder/index.php : added escapes to JS strings for valid HTML
2008-10-07 20:47:15 +00:00
Steve Clay
6b2ecd4038 Issue 57 work. Min app sets "zlib.output_compression" to "0" in case it is "1". Builder doesn't encode is it senses this option set, and runs AJAX checks for the status of it and to check for double-encoded output. 2008-10-07 15:07:13 +00:00
Steve Clay
0fe53c9813 Issue 58 : Minify_HTML should preserve comments containing "<![" 2008-10-06 14:15:26 +00:00
Steve Clay
986caa3838 Changes to enable building URIs w/o querystrings
Minify/Build.php : + $forceAmpersand argument to uri()
min/utils.php : Minify_groupUri : removed $ampersand, added $forceAmpersand
2008-10-05 23:42:17 +00:00
Steve Clay
b626952f93 Issue 56 2008-10-05 22:51:29 +00:00
Steve Clay
cc62534837 Removed /../ from most rewritten URIs. Inspired by patch from Oleg Cherniy 2008-10-01 19:01:49 +00:00
Steve Clay
626075511a Minify/HTML.php : Fix of Issue 53 2008-09-27 21:11:33 +00:00
Steve Clay
c55c166d5d Minify/HTML.php : + 'xhtml' option
builder : fixed Issue 52
2008-09-24 19:08:57 +00:00
Steve Clay
58a5bea967 builder/_index.js : fixed group config helper, focus field after "Add" button 2008-09-18 16:47:39 +00:00
Steve Clay
a364c35d6b .htaccess : added <IfModule> check 2008-09-18 16:34:58 +00:00
Steve Clay
12ca7b470f + Controller/MinApp.php for min app
min/index.php : rewritten to use MinApp.php
Controller/Base.php : simplified _fileIsSafe()
min/config.php : + flock and maxFiles options
2008-09-18 01:56:29 +00:00
Steve Clay
c177ea2c22 mod_rewrite allows Minify URIs w/o "?"
builder/_index.js checks for this feature
2008-09-13 21:48:53 +00:00
Steve Clay
97a33bef5d test_Minify.php : fixed test of Last-Modified time. 2008-09-12 03:42:45 +00:00
Steve Clay
c54ae9205c moved unit_tests to min_unit_tests
min/builder/index.php : + note about CSS imports
HISTORY.txt and README.txt additions
some text file renaming
tools removed
2008-09-11 20:37:16 +00:00
Steve Clay
30db35adfc + Minify/YUICompressor.php 2008-09-08 05:00:45 +00:00
Steve Clay
c13cf9b1d5 Text files update 2008-09-07 02:57:30 +00:00
Steve Clay
b324a40714 config.php : + suggestion for cache path 2008-09-07 02:56:28 +00:00
Steve Clay
026e13b47e min/README.txt : mentioned builder app 2008-09-07 02:24:30 +00:00
Steve Clay
0245f31b2d ab results w/ cache file locking on 2008-09-07 02:20:57 +00:00
Steve Clay
c85877266e Improved builder bookmarklet 2008-09-07 02:19:16 +00:00
Steve Clay
9a5a67dfaf builder app improvements and bookmarklet
JSMin.php : + YUI and IE conditional comment preserving
2008-09-06 22:35:22 +00:00