html-minifier.git
8 years agofix corner cases in conservativeCollapse & preserveLineBreaks
alexlamsl [Mon, 2 May 2016 11:51:27 +0000 (19:51 +0800)]
fix corner cases in conservativeCollapse & preserveLineBreaks
fixes #652

8 years agoMerge pull request #654 from kangax/issue-653
Alex Lam S.L [Mon, 2 May 2016 10:44:10 +0000 (18:44 +0800)]
Merge pull request #654 from kangax/issue-653

workaround require() bug for Node.js 0.10

8 years agoworkaround require() bug for Node.js 0.10
alexlamsl [Mon, 2 May 2016 10:39:49 +0000 (18:39 +0800)]
workaround require() bug for Node.js 0.10

8 years agoVersion 2.1.1
alexlamsl [Sun, 1 May 2016 19:40:10 +0000 (03:40 +0800)]
Version 2.1.1

8 years agoMerge pull request #651 from kangax/tokenchain-perf
Alex Lam S.L [Sun, 1 May 2016 19:09:59 +0000 (03:09 +0800)]
Merge pull request #651 from kangax/tokenchain-perf

fix performance corner case in sort functionality

8 years agofix performance corner case in sort functionality
alexlamsl [Sun, 1 May 2016 19:06:15 +0000 (03:06 +0800)]
fix performance corner case in sort functionality

8 years agofix cli name in --help
alexlamsl [Wed, 27 Apr 2016 11:02:33 +0000 (19:02 +0800)]
fix cli name in --help

8 years agoMerge pull request #649 from kangax/travis-node-6
Alex Lam S.L [Wed, 27 Apr 2016 10:27:54 +0000 (18:27 +0800)]
Merge pull request #649 from kangax/travis-node-6

test for Node.js 6

8 years agotest for Node.js 6
alexlamsl [Wed, 27 Apr 2016 10:23:25 +0000 (18:23 +0800)]
test for Node.js 6

8 years agominor cleanups
alexlamsl [Mon, 25 Apr 2016 18:22:27 +0000 (02:22 +0800)]
minor cleanups

8 years agoMerge pull request #648 from kangax/read-stdin
Alex Lam S.L [Mon, 25 Apr 2016 14:48:06 +0000 (22:48 +0800)]
Merge pull request #648 from kangax/read-stdin

remove concat-stream

8 years agoremove concat-stream
alexlamsl [Mon, 25 Apr 2016 14:36:44 +0000 (22:36 +0800)]
remove concat-stream

8 years agoVersion 2.1.0
alexlamsl [Sat, 23 Apr 2016 10:40:10 +0000 (18:40 +0800)]
Version 2.1.0

8 years agoMerge pull request #640 from kangax/issue-382
Alex Lam S.L [Sat, 23 Apr 2016 10:30:32 +0000 (18:30 +0800)]
Merge pull request #640 from kangax/issue-382

Custom processor for minify{CSS,JS,URLs}

8 years agoallow minifyURLs to be simple URL string
alexlamsl [Wed, 20 Apr 2016 10:57:16 +0000 (18:57 +0800)]
allow minifyURLs to be simple URL string

8 years agoallow custom processor for minify{CSS,JS,URLs}
alexlamsl [Tue, 19 Apr 2016 13:43:49 +0000 (21:43 +0800)]
allow custom processor for minify{CSS,JS,URLs}
fixes #382
closes #590

8 years agoMerge pull request #644 from kangax/issue-641
Alex Lam S.L [Wed, 20 Apr 2016 20:33:30 +0000 (04:33 +0800)]
Merge pull request #644 from kangax/issue-641

fix collapseWhitespace with htmlmin:ignore

8 years agotreat htmlmin:ignore as inline blocks
alexlamsl [Wed, 20 Apr 2016 11:55:08 +0000 (19:55 +0800)]
treat htmlmin:ignore as inline blocks
fixes #641

8 years agosimplify default values
alexlamsl [Wed, 20 Apr 2016 11:24:50 +0000 (19:24 +0800)]
simplify default values

8 years agoMerge pull request #639 from kangax/option-log
Alex Lam S.L [Tue, 19 Apr 2016 12:20:07 +0000 (20:20 +0800)]
Merge pull request #639 from kangax/option-log

expose options.log instead of handling internally

8 years agoexpose options.log instead of handling internally
alexlamsl [Tue, 19 Apr 2016 12:17:06 +0000 (20:17 +0800)]
expose options.log instead of handling internally
fix double reporting of minification time

8 years agoMerge pull request #638 from kangax/benchmark-dependencies
Alex Lam S.L [Tue, 19 Apr 2016 07:07:35 +0000 (15:07 +0800)]
Merge pull request #638 from kangax/benchmark-dependencies

manually manage benchmark dependencies

8 years agomanually manage benchmark dependencies
alexlamsl [Tue, 19 Apr 2016 07:03:55 +0000 (15:03 +0800)]
manually manage benchmark dependencies
ideally we want something like optionalDevDependencies, but npm doesn't have such functionality

8 years agoMerge pull request #636 from kangax/issue-635
Alex Lam S.L [Tue, 19 Apr 2016 05:35:45 +0000 (13:35 +0800)]
Merge pull request #636 from kangax/issue-635

minify srcset

8 years agoexclude src/.eslintrc.json
alexlamsl [Sun, 17 Apr 2016 18:20:03 +0000 (02:20 +0800)]
exclude src/.eslintrc.json
remove redundant LICENSE include

8 years agominify srcset
alexlamsl [Sun, 17 Apr 2016 08:46:33 +0000 (16:46 +0800)]
minify srcset
fixes #635

8 years agoVersion 2.0.0
alexlamsl [Sun, 17 Apr 2016 05:06:40 +0000 (13:06 +0800)]
Version 2.0.0

8 years agoMerge pull request #633 from kangax/issue-80
Alex Lam S.L [Sun, 17 Apr 2016 04:32:07 +0000 (12:32 +0800)]
Merge pull request #633 from kangax/issue-80

remove lint functionalities

8 years agoremove lint functionalities
alexlamsl [Sat, 16 Apr 2016 18:29:01 +0000 (02:29 +0800)]
remove lint functionalities
link to HTMLLint project in README.md
fixes #80

8 years agoMerge pull request #632 from kangax/qunit-version
Alex Lam S.L [Sat, 16 Apr 2016 14:36:04 +0000 (22:36 +0800)]
Merge pull request #632 from kangax/qunit-version

remove QUnit version pinning

8 years agoimprove readability of test failures
alexlamsl [Sat, 16 Apr 2016 14:33:29 +0000 (22:33 +0800)]
improve readability of test failures

8 years agoread QUnit.version instead of pinning in package.json
alexlamsl [Sat, 16 Apr 2016 14:21:49 +0000 (22:21 +0800)]
read QUnit.version instead of pinning in package.json
add web test time-out detection

8 years agoMerge pull request #631 from kangax/inline-trailing-whitespace
Alex Lam S.L [Sat, 16 Apr 2016 12:20:58 +0000 (20:20 +0800)]
Merge pull request #631 from kangax/inline-trailing-whitespace

trailing whitespace & inline tags

8 years agoimprove trailing whitespace minification
alexlamsl [Sat, 16 Apr 2016 12:15:51 +0000 (20:15 +0800)]
improve trailing whitespace minification

8 years agoMerge pull request #630 from kangax/issue-628
Alex Lam S.L [Sat, 16 Apr 2016 08:51:10 +0000 (16:51 +0800)]
Merge pull request #630 from kangax/issue-628

add support for <nobr> in collapseWhitespace

8 years agoadd support for <nobr> in collapseWhitespace
alexlamsl [Sat, 16 Apr 2016 08:43:49 +0000 (16:43 +0800)]
add support for <nobr> in collapseWhitespace
fixes #628

8 years agoMerge pull request #629 from kangax/issue-627
Alex Lam S.L [Sat, 16 Apr 2016 07:16:14 +0000 (15:16 +0800)]
Merge pull request #629 from kangax/issue-627

<p>, includeAutoGeneratedTags & removeOptionalTags

8 years agofix corner case in includeAutoGeneratedTags & removeOptionalTags
alexlamsl [Sat, 16 Apr 2016 07:01:14 +0000 (15:01 +0800)]
fix corner case in includeAutoGeneratedTags & removeOptionalTags
fixes #627

8 years agoupdate devDependencies
alexlamsl [Fri, 15 Apr 2016 20:16:47 +0000 (04:16 +0800)]
update devDependencies
grunt-eslint 18.1.0
qunitjs 1.23.1

8 years agoadd badge for optionalDependencies
alexlamsl [Fri, 15 Apr 2016 20:12:25 +0000 (04:12 +0800)]
add badge for optionalDependencies

8 years agoMerge pull request #625 from kangax/issue-535
Alex Lam S.L [Thu, 14 Apr 2016 21:01:27 +0000 (05:01 +0800)]
Merge pull request #625 from kangax/issue-535

minify URLs within CSS

8 years agoMerge pull request #626 from kangax/qunit-log
Alex Lam S.L [Thu, 14 Apr 2016 20:04:47 +0000 (04:04 +0800)]
Merge pull request #626 from kangax/qunit-log

merge node and web tests

8 years agomerge node and web tests
alexlamsl [Thu, 14 Apr 2016 19:14:04 +0000 (03:14 +0800)]
merge node and web tests
report individual test failures

8 years agominify URLs within CSS
alexlamsl [Thu, 14 Apr 2016 15:35:53 +0000 (23:35 +0800)]
minify URLs within CSS
fixes #535

8 years agoMerge pull request #624 from kangax/phantomjs
Alex Lam S.L [Thu, 14 Apr 2016 09:42:14 +0000 (17:42 +0800)]
Merge pull request #624 from kangax/phantomjs

use phantomjs directly

8 years agouse phantomjs directly
alexlamsl [Thu, 14 Apr 2016 09:37:01 +0000 (17:37 +0800)]
use phantomjs directly

8 years agoMerge pull request #623 from kangax/benchmark-dependencies
Alex Lam S.L [Thu, 14 Apr 2016 08:43:11 +0000 (16:43 +0800)]
Merge pull request #623 from kangax/benchmark-dependencies

move benchmarks to optionalDependencies

8 years agomove benchmarks to optionalDependencies
alexlamsl [Thu, 14 Apr 2016 06:36:52 +0000 (14:36 +0800)]
move benchmarks to optionalDependencies

8 years agoMerge pull request #621 from kangax/dev-slim
Alex Lam S.L [Wed, 13 Apr 2016 12:33:49 +0000 (20:33 +0800)]
Merge pull request #621 from kangax/dev-slim

sychronise qunit version for node and web

8 years agokeep qunit version in sync
alexlamsl [Tue, 12 Apr 2016 14:49:07 +0000 (22:49 +0800)]
keep qunit version in sync

8 years agoreplace qunit with qunitjs
alexlamsl [Tue, 12 Apr 2016 14:32:51 +0000 (22:32 +0800)]
replace qunit with qunitjs
run eslint before dist

8 years agoremove time-grunt
alexlamsl [Tue, 12 Apr 2016 11:59:36 +0000 (19:59 +0800)]
remove time-grunt

8 years agoMerge pull request #617 from alexlamsl/issue-612
Alex Lam S.L [Sat, 9 Apr 2016 13:45:35 +0000 (21:45 +0800)]
Merge pull request #617 from alexlamsl/issue-612

Improve benchmarks

8 years agopopulate README.md after benchmark run
alexlamsl [Sat, 9 Apr 2016 13:39:10 +0000 (21:39 +0800)]
populate README.md after benchmark run

8 years agoworkaround HTMLCompressor failures
alexlamsl [Sat, 9 Apr 2016 10:37:07 +0000 (18:37 +0800)]
workaround HTMLCompressor failures
update compressor options

8 years agofetch HTML pages to benchmark
alexlamsl [Sat, 9 Apr 2016 10:36:04 +0000 (18:36 +0800)]
fetch HTML pages to benchmark
fixes #612

8 years agoVersion 1.5.0
alexlamsl [Sat, 9 Apr 2016 07:46:48 +0000 (15:46 +0800)]
Version 1.5.0

8 years agoMerge pull request #614 from alexlamsl/eslint-moar
Alex Lam S.L [Fri, 8 Apr 2016 18:03:45 +0000 (02:03 +0800)]
Merge pull request #614 from alexlamsl/eslint-moar

enforce more eslint rules

8 years agoenforce more eslint rules
alexlamsl [Fri, 8 Apr 2016 11:50:38 +0000 (19:50 +0800)]
enforce more eslint rules

8 years agoMerge pull request #616 from alexlamsl/quiet-short-margin-left
Alex Lam S.L [Fri, 8 Apr 2016 16:01:47 +0000 (00:01 +0800)]
Merge pull request #616 from alexlamsl/quiet-short-margin-left

align checkboxes, labels and descriptions

8 years agoalign checkboxes, labels and descriptions
alexlamsl [Fri, 8 Apr 2016 16:00:38 +0000 (00:00 +0800)]
align checkboxes, labels and descriptions

8 years agoMerge pull request #615 from kangax/for-loop-cache-var
Alex Lam S.L [Fri, 8 Apr 2016 13:34:44 +0000 (21:34 +0800)]
Merge pull request #615 from kangax/for-loop-cache-var

Cache variable in for loops.

8 years agoCache variable in for loops.
XhmikosR [Fri, 8 Apr 2016 12:17:47 +0000 (15:17 +0300)]
Cache variable in for loops.

8 years agoMerge pull request #613 from alexlamsl/sort-lint
Alex Lam S.L [Fri, 8 Apr 2016 10:15:31 +0000 (18:15 +0800)]
Merge pull request #613 from alexlamsl/sort-lint

avoid running HTMLLint twice when sort{Attributes,ClassName}

8 years agoavoid running HTMLLint twice when sort{Attributes,ClassName}
alexlamsl [Fri, 8 Apr 2016 10:05:10 +0000 (18:05 +0800)]
avoid running HTMLLint twice when sort{Attributes,ClassName}
consistent checking for undefined

8 years agoMerge pull request #611 from alexlamsl/web-entities
Alex Lam S.L [Fri, 8 Apr 2016 09:10:19 +0000 (17:10 +0800)]
Merge pull request #611 from alexlamsl/web-entities

add decodeEntities to online minifier

8 years agoadd decodeEntities
alexlamsl [Fri, 8 Apr 2016 09:04:23 +0000 (17:04 +0800)]
add decodeEntities
fix unsafe CSS class placement
reset lint reports when disabled

8 years agoMerge pull request #610 from alexlamsl/web-options
Juriy Zaytsev [Thu, 7 Apr 2016 20:06:19 +0000 (13:06 -0700)]
Merge pull request #610 from alexlamsl/web-options

Improve online minifier

8 years agoupdate version in index.html via grunt
alexlamsl [Thu, 7 Apr 2016 17:37:10 +0000 (01:37 +0800)]
update version in index.html via grunt

8 years agoupdate online minifier
alexlamsl [Thu, 7 Apr 2016 17:13:16 +0000 (01:13 +0800)]
update online minifier
ease maintenance by using a single source for listing all available options

8 years agoclear element if no lint errors
alexlamsl [Thu, 7 Apr 2016 17:09:29 +0000 (01:09 +0800)]
clear element if no lint errors

8 years agoMerge pull request #608 from alexlamsl/issue-75
Alex Lam S.L [Thu, 7 Apr 2016 17:22:40 +0000 (01:22 +0800)]
Merge pull request #608 from alexlamsl/issue-75

optimise HTML entity characters

8 years agodecode HTML entities whenever possible
alexlamsl [Wed, 6 Apr 2016 14:40:55 +0000 (22:40 +0800)]
decode HTML entities whenever possible
fix trailing semi-colon removal in style attributes
fixes #75
fixes #472

8 years agoMerge pull request #607 from alexlamsl/remove-type-attribute
Juriy Zaytsev [Thu, 7 Apr 2016 16:56:52 +0000 (09:56 -0700)]
Merge pull request #607 from alexlamsl/remove-type-attribute

more aggressive removal of type attributes

8 years agoMerge pull request #606 from kangax/grunt-1.0
Alex Lam S.L [Thu, 7 Apr 2016 14:15:17 +0000 (22:15 +0800)]
Merge pull request #606 from kangax/grunt-1.0

grunt 1.0.0

8 years agomore aggressive removal of type attributes
alexlamsl [Wed, 6 Apr 2016 08:56:22 +0000 (16:56 +0800)]
more aggressive removal of type attributes

8 years agoupdate qunit
alexlamsl [Thu, 7 Apr 2016 05:35:45 +0000 (13:35 +0800)]
update qunit
1.23.0

8 years agorevert debug code from #604
alexlamsl [Thu, 7 Apr 2016 05:26:30 +0000 (13:26 +0800)]
revert debug code from #604

8 years agoremove grunt-exec
alexlamsl [Wed, 6 Apr 2016 09:44:14 +0000 (17:44 +0800)]
remove grunt-exec

8 years agoremove load-grunt-tasks
alexlamsl [Wed, 6 Apr 2016 09:28:27 +0000 (17:28 +0800)]
remove load-grunt-tasks

8 years agoupdate devDependencies
Alex Lam S.L [Wed, 6 Apr 2016 03:52:40 +0000 (11:52 +0800)]
update devDependencies

grunt 1.0.0
remove grunt-cli (now depended by grunt)

8 years agoMerge pull request #604 from alexlamsl/skip-uids
Alex Lam S.L [Wed, 6 Apr 2016 03:03:40 +0000 (11:03 +0800)]
Merge pull request #604 from alexlamsl/skip-uids

maintain stable sort order

8 years agomaintain stable sort order
alexlamsl [Tue, 5 Apr 2016 17:05:53 +0000 (01:05 +0800)]
maintain stable sort order
in the presence of htmlmin:ignore or ignoreCustomFragments

8 years agoMerge pull request #605 from alexlamsl/issue-603
Alex Lam S.L [Wed, 6 Apr 2016 02:55:01 +0000 (10:55 +0800)]
Merge pull request #605 from alexlamsl/issue-603

fix parsing of attribute quotes

8 years agofix parsing of attribute quotes
alexlamsl [Tue, 5 Apr 2016 17:52:35 +0000 (01:52 +0800)]
fix parsing of attribute quotes
fixes #603

8 years agoMerge pull request #602 from alexlamsl/cli-commander
Juriy Zaytsev [Tue, 5 Apr 2016 22:26:58 +0000 (15:26 -0700)]
Merge pull request #602 from alexlamsl/cli-commander

use commander instead of cli

8 years agouse commander instead of cli
alexlamsl [Tue, 5 Apr 2016 14:04:06 +0000 (22:04 +0800)]
use commander instead of cli

8 years agoMerge pull request #600 from alexlamsl/clean-gruntfile
Alex Lam S.L [Mon, 4 Apr 2016 18:55:34 +0000 (02:55 +0800)]
Merge pull request #600 from alexlamsl/clean-gruntfile

remove unused require in browserify

8 years agoremove unused require in browserify
alexlamsl [Mon, 4 Apr 2016 18:48:19 +0000 (02:48 +0800)]
remove unused require in browserify

8 years agoMerge pull request #595 from alexlamsl/simplify-normalizeAttribute
Alex Lam S.L [Mon, 4 Apr 2016 18:39:09 +0000 (02:39 +0800)]
Merge pull request #595 from alexlamsl/simplify-normalizeAttribute

break up normalizeAttribute()

8 years agobreak up normalizeAttribute()
alexlamsl [Fri, 1 Apr 2016 19:44:58 +0000 (03:44 +0800)]
break up normalizeAttribute()

8 years agoMerge pull request #597 from alexlamsl/issue-267
Alex Lam S.L [Mon, 4 Apr 2016 18:33:34 +0000 (02:33 +0800)]
Merge pull request #597 from alexlamsl/issue-267

sort style classes

8 years agoclarify what sorting aims to achieve
alexlamsl [Mon, 4 Apr 2016 17:28:17 +0000 (01:28 +0800)]
clarify what sorting aims to achieve

8 years agoenable more PHPTAL tests
alexlamsl [Mon, 4 Apr 2016 11:10:16 +0000 (19:10 +0800)]
enable more PHPTAL tests

8 years agouse chain.js for sortAttributes
alexlamsl [Sun, 3 Apr 2016 11:51:24 +0000 (19:51 +0800)]
use chain.js for sortAttributes

8 years agocombine first-pass scanning of sort{Attributes,ClassName}
alexlamsl [Sun, 3 Apr 2016 11:27:40 +0000 (19:27 +0800)]
combine first-pass scanning of sort{Attributes,ClassName}

8 years agosort style classes
alexlamsl [Sun, 3 Apr 2016 11:09:32 +0000 (19:09 +0800)]
sort style classes
fixes #267

8 years agoMerge pull request #599 from alexlamsl/array-bracket-spacing
XhmikosR [Mon, 4 Apr 2016 12:54:59 +0000 (15:54 +0300)]
Merge pull request #599 from alexlamsl/array-bracket-spacing

no spaces within array brackets

8 years agono spaces within array brackets
alexlamsl [Mon, 4 Apr 2016 10:47:47 +0000 (18:47 +0800)]
no spaces within array brackets

8 years agoMerge pull request #594 from alexlamsl/issue-4
Alex Lam S.L [Sun, 3 Apr 2016 08:28:27 +0000 (16:28 +0800)]
Merge pull request #594 from alexlamsl/issue-4

sort attributes by frequency