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

46 Commits

Author SHA1 Message Date
Steve Clay
f4c688b338 Work on: Issue 125, Issue 126, Issue 132, Issue 134, Issue 138, Issue 139, Issue 147, Issue 149, Issue 151, Issue 162, Issue 166 2010-05-09 16:43:47 +00:00
Steve Clay
03673e0928 Prep for 2.1.3
HTTP_ConditionalGet: no more "must-revalidate"
HTTP_Encoder: prefers gzip over deflate
Minify: no more deflate encoding
File cache works w/o setting $min_cachePath
Minify_Source: + public $contentType
2009-06-30 19:44:55 +00:00
Steve Clay
5520944243 CSS/UriRewriter.php : fix Issue 99
ImportProcessor.php : fix Issue 99
2009-05-05 13:05:07 +00:00
Steve Clay
dce1b8df91 minifyTextarea.php : set charset, + HTML rendering option
Fixed source array casting in controllers Files, Groups, MinApp
Changed default from "UTF-8" to "utf-8"
2009-05-01 17:11:44 +00:00
Steve Clay
8020c99ea1 CSS/Compressor.php : Issue 107 fix 2009-05-01 02:52:17 +00:00
Steve Clay
b543fc8632 Minify.php : + version
Controller/Page.php : requires to require_once
2009-04-21 20:53:29 +00:00
Steve Clay
974ceffa4c JSMin.php : trimmed output, better exception messages
Removed unnecessary wrapper Minify_Javascript
2009-03-29 22:57:35 +00:00
Steve Clay
65a023cc23 CSS/UriRewriter.php : + $debugText static var
Minify/Lines.php : + URI rewriting (w/ debugging)
test_Minify_CSS_UriRewriter.php : echos $debugText
Minify.php : tiny mod to import warning
- MyMin.php : needed fix already merged into JSMin.php
2009-03-19 16:33:38 +00:00
Steve Clay
b021ed0c56 CSS/UriRewriter.php : refactoring + better docs
testRewriteUri.php : for testing Minify_CSS_UriRewriter::rewrite()
2009-03-18 18:30:04 +00:00
Steve Clay
e315788a43 Minify/HTML.php : Made class dynamic to ease subclassing 2009-03-16 21:24:54 +00:00
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
0fc245e8c6 Minify.php : added serve() 'bubbleCssImports' option 2009-02-26 17:06:31 +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
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
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
c0a3b93bed Controller/Base.php : improved docs 2008-10-28 00:55:59 +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
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
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
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
30db35adfc + Minify/YUICompressor.php 2008-09-08 05:00:45 +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
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
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
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
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
5b1b3381db Groups.php: + workaround for PATH_INFO on Apache w/ mod_fcgid 2008-08-23 02:21:55 +00:00
Steve Clay
0db6b60800 Minify_CSS: no longer mangles Tantek's Mid Pass Filter 2008-08-20 19:21:10 +00:00
Steve Clay
51adb91399 Moved "lib" into "min" for easiest deployment 2008-08-19 03:58:28 +00:00