1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-08 23:26:43 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
Steve Clay
2045731d60 Improve Minify_Lines algorithm and add tests
Fixes #531
Fixes #534
2016-05-19 15:14:27 -04:00
Steve Clay
4710509c68 Large restructuring
Moves all dependency building into App
bootstrap.php returns an App instance
The app loads config files as necessary
Moves logging to Monolog
Moves HTTP digest auth to packagist component
Rely on sys_get_temp_dir
Env hosts $_POST and allows defaults when reading
HTML helper uses the App and can handle less files
Source factory assumes strings are filenames
Fixes JsClosureCompilerTest::test6 (API now handles ES5 by default)
Exclude JsClosureCompilerTest due to API limitations
config.php can now return a Minify\Config object
Variables set in config.php are now moved to a `Minify\Config` object,
allowing better static analysis.
The `zlib.output_compression` set is moved into `Minify::serve`.
2016-03-10 18:44:23 -05:00
Steve Clay
a566536f80 Make Minify::combine and mix_extra stuff operational (and disabled by default) 2015-09-29 13:17:31 -04:00
Steve Clay
e2efb342a8 Remove JSMin+ and old, unfinished CssCompressor port
JSMin+ was a good effort but is unmaintained and has collected several
reports of impractical memory usage for a project like this.
2015-09-29 10:38:22 -04:00
Steve Clay
fede83cd48 Version constant bump, disable min_extras, docs updates 2015-09-29 10:12:47 -04:00
Steve Clay
0bc3769802 Make CSSmin the default CSS compressor 2015-09-28 20:32:56 -04:00
Steve Clay
e596b35fc4 Collapse "min" into project root and get unit tests working.
Fixes #472
2015-09-28 15:39:25 -04:00
Steve Clay
de8e8be37e Merge commit '5b6b891cc379be1b9c014a5bb070e5e2e792d64c' into 3.0 2015-09-27 18:02:48 -04:00
Elan Ruusamäe
0e9e1237c6 make composer dependency required
NOTE: this changes required minimum PHP version to 5.3.3
2014-10-16 00:04:51 +03:00
Elan Ruusamäe
96da497e9c rework classloader
- make it available in config
- always use classloader, no manual require
- compatible for future composer alternative
2014-10-12 16:28:41 +03:00
acidvertigo
f29e1e6b06 Code clean 2014-09-21 12:50:53 -04:00
acidvertigo
153e08b5a0 Code clean 2014-09-20 14:21:31 +03:00
Steve Clay
5560a664e9 Fix up web-based tool and correct error byte in JSMin exceptions 2013-11-27 18:28:39 -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
f680ac83e7 Add elapsed time to minifyTextarea, better escaping 2012-11-25 16:34:55 -05:00
Steve Clay
67bbc4b94e Tools for easier testing 2012-02-12 23:13:06 -05:00
Steve Clay
1c5810d2b0 cleaning trunk 2011-01-19 18:43:18 +00:00
Steve Clay
444335b28c Implemented SPL autoloader, removed class requires 2009-09-19 17:00:52 +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
17a4bc96f1 + minifyTextarea.php for quick testing 2009-04-25 00:18:38 +00:00