32 Commits

Author SHA1 Message Date
Matthias Mullie
b186f98d32 Add badges 2014-10-08 17:03:29 +02:00
Matthias Mullie
4937535069 Get rid of license in PHPDoc, move into separate file 2014-10-08 16:52:50 +02:00
Matthias Mullie
6db649b378 Get rid of (outdated) version number in PHPDoc 2014-10-08 16:50:22 +02:00
Matthias Mullie
cdb859b3c3 Add PHP5.6 as Travis target 2014-10-08 16:37:31 +02:00
Matthias Mullie
76734ac3f7 Add PHPUnit dist file, move test files around 2014-10-08 16:34:49 +02:00
Matthias Mullie
130935e1e9 Add Travis-CI 2014-10-08 16:18:45 +02:00
Matthias Mullie
670db0c30a Remove $options param from README
That is no longer used; minify now always minifies as much as it can
2014-10-08 12:56:41 +02:00
Matthias Mullie
36b9b3b543 Fix \-as-division from being interpreted as regex
Fixes issue #14
1.3.1
2014-10-08 10:54:11 +02:00
Matthias Mullie
3750e33d49 Add tests for issue #15 2014-10-08 10:20:42 +02:00
Matthias Mullie
3135b0fcb2 Other approach: don't add semicolons, just keep newline when in doubt 1.3.0 2014-10-08 09:57:41 +02:00
Matthias Mullie
9fa994fda6 Add comma as operator 2014-10-07 19:49:16 +02:00
Matthias Mullie
3a8ebeb551 Fix JS minifier's construct with optional args 2014-10-07 18:42:49 +02:00
Matthias Mullie
6a864c8c7c Major JS minifier rewrite 2014-10-07 18:21:22 +02:00
Matthias Mullie
b711882b23 Some more improvements 2013-12-27 02:12:53 +01:00
Matthias Mullie
30797d8420 Improved JS minifier
Meanwhile also (somewhat forced by improving JS minifier) removed minifier
options. They were kind of useless anyway, though; why would one not minify
completely :)
2013-12-27 00:00:46 +01:00
Matthias Mullie
b9a11ae3a6 More advanced whitespace stripping
Should now accurately strip newlines and add ; line-terminators where needed.

Meanwhile also introduced Minify\JS::STRIP_SEMICOLONS to strip redundant
semicolons.
2013-12-26 20:40:20 +01:00
Matthias Mullie
1ea4573dc0 Escaped quote should not terminate string 2013-12-26 20:40:20 +01:00
Matthias Mullie
fca340d285 Add reference to banago's CLI tool 2013-12-26 16:03:20 +01:00
Matthias Mullie
7f17bcfc22 I had accidentally undone some valid changes; restoring now 1.2.0 2013-12-01 23:51:43 +01:00
Matthias Mullie
9e3d713060 Use backreference instead of callback function 2013-12-01 23:48:40 +01:00
Matthias Mullie
5a98aab7b7 Fix https://github.com/matthiasmullie/minify/issues/11
Meanwhile, fix some whitespace
2013-12-01 23:48:06 +01:00
Matthias Mullie
4d6a3c8483 Serious (JS) code refactor
Meanwhile fixed issue https://github.com/matthiasmullie/minify/issues/10
2013-12-01 23:25:54 +01:00
Matthias Mullie
1cd2718da4 Fix whitespace; spaces instead of tabs 1.1.2 2013-04-22 10:19:35 +02:00
Matthias Mullie
5ff011d577 Add test for double backslash CSS
Issue was reported at https://github.com/forkcms/forkcms/issues/387
2013-04-22 10:16:03 +02:00
Matthias Mullie
622b021aaf Better function name in tests 2013-04-15 14:37:31 +02:00
Matthias Mullie
0c5c3ad477 Update README.md 2013-04-15 15:09:28 +03:00
Matthias Mullie
22b7734582 Fix files' case 1.1.1 2013-04-15 00:00:23 +02:00
Matthias Mullie
9c646aee68 Big 1.1.0 cleanup
* PSR-0 & PSR-1
* Add test suite
* Multiple smaller fixes/cleanup
1.1.0
2013-04-14 23:38:24 +02:00
Matthias Mullie
ce378d65da (issue 3) Small strips JS comments bug 1.0.0 2012-10-19 17:02:22 +02:00
Matthias Mullie
448bdf8271 fix dependencies 2012-10-09 13:03:24 +02:00
Matthias Mullie
68b457ccb1 push minify to github 2012-10-09 12:48:24 +02:00
Matthias Mullie
801072d5f8 Initial commit 2012-10-09 02:29:59 -07:00