1
0
mirror of https://github.com/mrclay/minify.git synced 2025-09-02 02:12:40 +02:00

802 Commits

Author SHA1 Message Date
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
Steve Clay
7bb535d79c Cache/File.php : + file locking option (still need cache stress test) 2008-09-05 20:50:58 +00:00
Steve Clay
12dc98c50a Prep for 2.1
min/builder/ : enableBuilder option, better debug behavior
HTTP/Encoder.php : phpdoc fix
Minify.php : removed setServerCache()
Cache/Memcache.php : better docs
README : simplified
2008-09-05 04:22:57 +00:00
Steve Clay
c873fbc9f0 builder app improvements 2008-09-05 03:17:03 +00:00
Steve Clay
66aba1fd2a + memcached test (buggy on Windows at least)
all min_extras apps use the cache path and lib location specified in min/config.php
2008-09-04 20:50:28 +00:00
Steve Clay
1f66aefc4e Memcache ab testing (memcached seems to be running out of connections on XP) 2008-09-04 12:02:00 +00:00
Steve Clay
d637083d57 builder : checks min/config.php for cache path and uploaderHoursBehind 2008-09-04 02:06:10 +00:00
Steve Clay
05b8462b59 Renamed builder/index.js because Apache MultiViews was serving it instead of index.php! 2008-09-04 01:51:56 +00:00
Steve Clay
4c9d62be82 ab_tests/ : + test for /min (and reran)
examples : cleanup
- examples/3
- jquery-1.2.3.js (unneeded duplicate)
2008-09-04 01:08:38 +00:00
Steve Clay
f9378dc345 Minify.php : + combine()
builder/_index.html : Unix newlines
2008-09-04 00:38:08 +00:00
Steve Clay
86c09a1cd0 builder app improvements
Minify.php : + setDocRoot() for IIS (min only checks if on Windows)
Controller/Page.php : + 'file' option for simpler usage
2008-09-03 19:42:41 +00:00
Steve Clay
7b9fcb4dd6 crude builder app for generating URIs quickly 2008-09-03 05:13:52 +00:00
Steve Clay
e31e9299a5 HTTP/Encoder.php : by default no longer encodes to IE6, + setting to do so
importProcessor/output.css : fixed to work portably
2008-09-02 18:10:21 +00:00
Steve Clay
a45e4a3d8d + Minify/CommentPreserver.php w/ unit tests
CSS/UriRewriter.php : unit tests
Minify/ImportProcessor.php : unit tests (need JS tests)
Minify/CSS.php : refactoring using CommentPreserver.php
Minify/Javascript.php : refactoring using CommentPreserver.php
Minify/Lines.php : simplification
2008-09-01 21:19:59 +00:00
Steve Clay
eebe132aed Added CSS/UriRewriter.php : untested!
Minify/ImportProcessor.php units need fixing
2008-08-30 07:25:37 +00:00
Steve Clay
560bcfd440 (more) Refactoring CSS/Linearizer.php to Minify/ImportProcessor.php 2008-08-30 06:40:27 +00:00
Steve Clay
b1747b13db Refactoring CSS/Linearizer.php to Minify/ImportProcessor.php 2008-08-30 06:30:07 +00:00
Steve Clay
bd6af94f07 min/README.txt : more thorough
min/utils.php : fixed example code
min/config.php : improved explanation
2008-08-30 05:40:10 +00:00
Steve Clay
85fdced508 Unit tests for Cache/File.php and Cache/Memcache.php
More consistent file naming
2008-08-30 03:29:49 +00:00
Steve Clay
8d22e6e33a Renamed "tests" to "unit_tests"
Cache/Memcache.php : new!
utils.php : a few _Minify utility functions for the "min" app
HISTORY : preparation for 2.1 beta
2008-08-30 03:06:26 +00:00
Steve Clay
5fc4d15889 Reorganization of "web" to "min_extras" (part 1) 2008-08-30 02:58:25 +00:00
Steve Clay
46734e8b8f Reorganization of "web" to "min_extras" 2008-08-30 02:56:07 +00:00
Steve Clay
79a4e17fb6 All PHP/doc files have Unix newlines w/ no BOM 2008-08-29 22:56:34 +00:00
Steve Clay
5a09b4943a CSS/Linearizer.php : will no longer try to import already included files 2008-08-28 22:41:51 +00:00
Steve Clay
0cb7eeab45 CSS/Linearizer.php : better implementation (won't import commented out @imports), unit test tests which files are included and should now work anywhere in a DOC ROOT 2008-08-28 17:49:03 +00:00
Steve Clay
1cbcefa634 CSS/Linearizer.php : URI rewriting + initial unit test 2008-08-28 03:16:33 +00:00
Steve Clay
41e937f143 CSS/Linearizer.php : work started
CSS.php & Source.php : whitespace/EOL cleanup
2008-08-27 21:51:20 +00:00
Steve Clay
4b3e92ca91 min: + options for maxAge, uploaderHoursBehind, debug
Minify: better docblock for uploaderHoursBehind
2008-08-24 00:30:30 +00:00