1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-22 16:04:08 +01:00

54 Commits

Author SHA1 Message Date
Steve Clay
97eaa576ed Source.php now strips leading UTF-8 BOMs and added BOMs to javascript test files to test this, and note in README. 2008-05-22 15:23:28 +00:00
Steve Clay
ae22377b26 Prep for 2.0 release. Moved JSMin to lib/. Removed Packer and tests, left only wrapper class w/ instructions. 2008-05-22 15:03:05 +00:00
Steve Clay
db91905934 - test for Caio hack (already in hacks.css) 2008-05-15 15:34:49 +00:00
Steve Clay
53fcbd9166 Fixed test_HTTP_Encoder.php 2008-05-15 15:29:59 +00:00
Steve Clay
fb4ecd2231 Moved HTTP examples into web/test 2008-05-15 15:20:33 +00:00
Steve Clay
048c689663 Reorganized examples 2008-05-15 15:03:46 +00:00
Steve Clay
e9035109c9 + BMH and MSIE filters to css/hacks.css. Minify_CSS no longer minifies RGB colors in MSIE filters. 2008-05-14 16:15:09 +00:00
Steve Clay
1c1a6f327d + YUI Compressor-style comment preservation to CSS.php, adjusted tests to match 2008-05-14 12:58:54 +00:00
Steve Clay
2cbf5c9b39 + preserveComments option to Minify_Javascript (default true), test case, and doc comments 2008-05-07 20:11:55 +00:00
Steve Clay
727f33657d Added setExpires option to Build.php example 2008-05-07 12:29:13 +00:00
Steve Clay
d6c933e80d + "//" filepath shortcut in Build.php
+ 'getContentFunc' option in Source.php for lazy loading content only when needed (e.g. from DB)
2008-03-29 03:09:41 +00:00
Steve Clay
d38f3d0219 + // shortcut for doc_root 2008-03-28 00:52:37 +00:00
Steve Clay
17455e5fbd + shortcut for specifying files in doc_root 2008-03-28 00:41:16 +00:00
Steve Clay
a714255c69 + Minify/Build.php and example 2 showing use 2008-03-27 18:51:55 +00:00
Steve Clay
cd0675f490 + Solar_Dir for better PHP compat. Moved most of minify.php code to Controller/Version1.php. + a few tests for version1/minify.php 2008-03-27 16:04:45 +00:00
Steve Clay
c15acc8782 + test_HTTP_ConditionalGet.php, phpDoc improvements, moved packer to 3rd-party, test for Minify loading fewer files for 304 responses. 2008-03-05 22:59:23 +00:00
Steve Clay
a0d48f16fb Optimized header sniffing in Encoder.php; no more regex's needed for most browsers. Updated README w/r/t test suite update. 2008-03-05 14:56:23 +00:00
Steve Clay
98530fcd57 + compression ratios in Encoder tests 2008-03-04 22:02:57 +00:00
Steve Clay
e2ad73f8be Improved/added tests, deflate preferred over gzip, improved ConditionalGet docs 2008-03-04 17:04:09 +00:00
Steve Clay
f771696d40 Started moving 3rd-party code to separate folder. Should make keeping up w/ changes easier. 2008-03-03 22:04:42 +00:00
Steve Clay
e8ac1dc8d0 Perf update for JSmin (Minify_Javascript), + phpDocs for public HTTP_* class APIs, minor Minify fix, private members changed to protected to allow easier subclassing. 2008-03-03 16:23:39 +00:00
Steve Clay
7a3d7129b4 + HTTP_ConditionalGet_Build directory change monitor, + post-processing hook in Minify (for appending timestamps to URIs, etc.) 2008-03-02 04:59:13 +00:00
Steve Clay
d86d79b7d2 + URI rewriter in CSS min, fix for protocol-relative URIs, + partial minify.php compatibility 2008-03-01 20:23:50 +00:00
Steve Clay
381bd8856d Controllers now supply all options and are easier to write! serve() returns more useful info and needs only one option array for both controller/minify options. 2008-03-01 15:08:38 +00:00
Steve Clay
7e9bf6d948 More thorough test_Minify.php
Better var/method naming.
2008-03-01 04:56:11 +00:00
Steve Clay
f46e321831 added 'quiet' option. and now serve() and handleRequest() return an array of output content and headers. 2008-02-29 23:59:50 +00:00
Steve Clay
023066ad0a option changed to "setExpires"
default missing minifier is none (no minification performed)
2008-02-29 22:18:16 +00:00
Steve Clay
ca0a4cd7cf README update (important at the moment) 2008-02-29 03:04:40 +00:00
Steve Clay
d886df7f18 better README readability 2008-02-29 01:53:41 +00:00
Steve Clay
99c5af660b Docs update 2008-02-29 01:36:05 +00:00
Steve Clay
bfffed0244 deleted unused css test files 2008-02-29 00:50:45 +00:00
Steve Clay
b04ff4c6e9 Moved examples and tests to combined web folder. Unfortunately I didn't do this with SVN move and the server wouldn't let me rollback to do this. 2008-02-28 22:32:56 +00:00
Steve Clay
041ea14cc4 2008-02-28 21:14:06 +00:00
Steve Clay
0a939d4f91 V1.9.0 overhaul 2008-02-28 18:42:56 +00:00
Ryan Grove
5527771acf beginnings of HTML minification support (again) 2007-06-06 06:26:14 +00:00
Ryan Grove
60943d4654 Update to version 1.1.0. 2007-06-06 03:57:34 +00:00
Ryan Grove
ee20c7a291 2007-06-02 19:24:27 +00:00
Ryan Grove
bef122d309 back out HTML minification code 2007-05-27 22:38:16 +00:00
Ryan Grove
e5362b0b46 2007-05-12 00:56:04 +00:00
Ryan Grove
67ea9c9992 prepare for 1.0.1 release 2007-05-05 19:48:49 +00:00
Ryan Grove
2e8553a91f wrap paths with realpath() to fix problems with NFS mounted web roots 2007-05-05 17:24:51 +00:00
Ryan Grove
69b94bfa8f fix undefined constant notice 2007-05-05 06:30:11 +00:00
Ryan Grove
92553b64cc 2007-05-05 00:35:54 +00:00
Ryan Grove
b27875b8d9 update license info 2007-05-04 21:37:07 +00:00
Ryan Grove
c46733c51d faster! faster! must go faster! 2007-05-04 21:00:01 +00:00
Ryan Grove
aa536c53d8 brand new custom implementation of JSMin that's about fifty zillion times smaller and faster 2007-05-04 05:40:57 +00:00
Ryan Grove
a37a84f5e6 2007-05-03 04:45:43 +00:00
Ryan Grove
55d5457dab Oops. It would probably be a good thing if caching actually worked. 2007-05-03 04:12:16 +00:00
Ryan Grove
91d11954c6 split cache() into separate methods for browser/server cache checking: browserCache() and serverCache() 2007-05-02 23:18:45 +00:00
Ryan Grove
4c9cc45fde 2007-05-02 19:04:02 +00:00