html-minifier.git
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

8 years agoaccount for tag/attribute omissions in sortAttributes
alexlamsl [Sat, 2 Apr 2016 06:19:58 +0000 (14:19 +0800)]
account for tag/attribute omissions in sortAttributes

8 years agosortAttributes across processScripts
alexlamsl [Sat, 2 Apr 2016 05:25:43 +0000 (13:25 +0800)]
sortAttributes across processScripts

8 years agosort attributes by frequency
alexlamsl [Fri, 1 Apr 2016 10:55:39 +0000 (18:55 +0800)]
sort attributes by frequency
fixes #4

8 years agoremove deprecated files from package
alexlamsl [Sat, 2 Apr 2016 07:23:09 +0000 (15:23 +0800)]
remove deprecated files from package

8 years agoupdate assets
alexlamsl [Sat, 2 Apr 2016 07:21:12 +0000 (15:21 +0800)]
update assets
clean-css 3.4.11

8 years agoupdate devDependencies
alexlamsl [Sat, 2 Apr 2016 07:20:13 +0000 (15:20 +0800)]
update devDependencies
grunt-cli 1.2.0

8 years agoMerge pull request #593 from alexlamsl/issue-16
Juriy Zaytsev [Fri, 1 Apr 2016 17:22:25 +0000 (10:22 -0700)]
Merge pull request #593 from alexlamsl/issue-16

HTMLLint enhancements

8 years agomore lint tests
alexlamsl [Fri, 1 Apr 2016 09:01:57 +0000 (17:01 +0800)]
more lint tests

8 years agowarn about repeating attributes
alexlamsl [Fri, 1 Apr 2016 08:56:02 +0000 (16:56 +0800)]
warn about repeating attributes
fixes #15

8 years agowarn about missing doctype
alexlamsl [Fri, 1 Apr 2016 08:44:04 +0000 (16:44 +0800)]
warn about missing doctype
fixes #16

8 years agoMerge pull request #592 from alexlamsl/eslint-spaces
Alex Lam S.L [Thu, 31 Mar 2016 21:20:49 +0000 (05:20 +0800)]
Merge pull request #592 from alexlamsl/eslint-spaces

clean up and enforce additional eslint rules

8 years agoenforce eslint computed-property-spacing
alexlamsl [Thu, 31 Mar 2016 11:33:27 +0000 (19:33 +0800)]
enforce eslint computed-property-spacing

8 years agoenforce eslint array-bracket-spacing
alexlamsl [Thu, 31 Mar 2016 11:26:20 +0000 (19:26 +0800)]
enforce eslint array-bracket-spacing

8 years agoenforce eslint space-infix-ops
alexlamsl [Thu, 31 Mar 2016 11:05:03 +0000 (19:05 +0800)]
enforce eslint space-infix-ops

8 years agoenforce eslint space-in-parens
alexlamsl [Thu, 31 Mar 2016 11:01:57 +0000 (19:01 +0800)]
enforce eslint space-in-parens

8 years agoenforce eslint block-spacing
alexlamsl [Thu, 31 Mar 2016 10:47:50 +0000 (18:47 +0800)]
enforce eslint block-spacing

8 years agoenforce eslint no-extra-parens
alexlamsl [Thu, 31 Mar 2016 10:43:41 +0000 (18:43 +0800)]
enforce eslint no-extra-parens

8 years agoupdate assets
alexlamsl [Thu, 31 Mar 2016 17:22:52 +0000 (01:22 +0800)]
update assets

8 years agoeliminate removeIgnored from online version
Alex Lam S.L [Thu, 31 Mar 2016 06:05:53 +0000 (14:05 +0800)]
eliminate removeIgnored from online version

8 years agoUpdate index.html
Alex Lam S.L [Thu, 31 Mar 2016 04:26:30 +0000 (12:26 +0800)]
Update index.html

8 years agoVersion 1.4.0
Juriy Zaytsev [Wed, 30 Mar 2016 21:31:08 +0000 (14:31 -0700)]
Version 1.4.0

8 years agoMerge pull request #586 from alexlamsl/remove-cdata
Alex Lam S.L [Wed, 30 Mar 2016 15:59:09 +0000 (23:59 +0800)]
Merge pull request #586 from alexlamsl/remove-cdata

re-organise CDATA optimisations

8 years agoupdate devDependencies
alexlamsl [Mon, 28 Mar 2016 07:44:22 +0000 (15:44 +0800)]
update devDependencies
brotli 1.2.0

8 years agosuppress minifyCSS on non-CSS contents
alexlamsl [Sat, 26 Mar 2016 11:26:43 +0000 (19:26 +0800)]
suppress minifyCSS on non-CSS contents

8 years agoeliminate removeCDATASectionsFromCDATA
alexlamsl [Sat, 26 Mar 2016 11:05:12 +0000 (19:05 +0800)]
eliminate removeCDATASectionsFromCDATA

8 years agoeliminate removeCommentsFromCDATA
alexlamsl [Sat, 26 Mar 2016 10:00:27 +0000 (18:00 +0800)]
eliminate removeCommentsFromCDATA
migrate non-overlapping functionalities to minifyJS and minifyCSS
fixes #579

8 years agoMerge pull request #588 from alexlamsl/cli-config
Juriy Zaytsev [Mon, 28 Mar 2016 03:48:28 +0000 (20:48 -0700)]
Merge pull request #588 from alexlamsl/cli-config

fix cli.js regex option parsing when using JSON file

8 years agoupdate benchmark options
alexlamsl [Sat, 26 Mar 2016 17:41:50 +0000 (01:41 +0800)]
update benchmark options

8 years agoprocess JSON config options that contain regex's
alexlamsl [Sat, 26 Mar 2016 17:41:38 +0000 (01:41 +0800)]
process JSON config options that contain regex's

8 years agoclean up null/undefined usages
alexlamsl [Sat, 26 Mar 2016 16:53:22 +0000 (00:53 +0800)]
clean up null/undefined usages
add missing cli.ext()

8 years agosimplify parseJSONOption
alexlamsl [Sat, 26 Mar 2016 16:37:59 +0000 (00:37 +0800)]
simplify parseJSONOption

8 years agoupdate options
alexlamsl [Wed, 23 Mar 2016 14:26:29 +0000 (22:26 +0800)]
update options

8 years agoMerge pull request #587 from alexlamsl/benchmark-bootstrap
Alex Lam S.L [Sat, 26 Mar 2016 16:22:31 +0000 (00:22 +0800)]
Merge pull request #587 from alexlamsl/benchmark-bootstrap

add bootstrap CSS to benchmarks

8 years agoapply unescape logic from Will Peavy benchmarks
alexlamsl [Sat, 26 Mar 2016 15:20:15 +0000 (23:20 +0800)]
apply unescape logic from Will Peavy benchmarks

8 years agoadd bootstrap CSS to benchmarks
alexlamsl [Sat, 26 Mar 2016 14:45:12 +0000 (22:45 +0800)]
add bootstrap CSS to benchmarks

8 years agoupdate assets
alexlamsl [Fri, 25 Mar 2016 08:32:11 +0000 (16:32 +0800)]
update assets
base64-js 1.1.2
buffer 4.5.1

8 years agoMerge pull request #569 from alexlamsl/require
Alex Lam S.L [Fri, 25 Mar 2016 03:43:58 +0000 (11:43 +0800)]
Merge pull request #569 from alexlamsl/require

consolidate global and require() usages

8 years agoadd strict to eslint
alexlamsl [Mon, 21 Mar 2016 17:51:37 +0000 (01:51 +0800)]
add strict to eslint

8 years agomake cli.js use src instead of dist
alexlamsl [Mon, 21 Mar 2016 21:57:14 +0000 (05:57 +0800)]
make cli.js use src instead of dist

8 years agomigrate source to require()
alexlamsl [Sat, 19 Mar 2016 11:38:54 +0000 (19:38 +0800)]
migrate source to require()
merge browserify tasks into one single pass for online package generation
fixes #295

8 years agoMerge pull request #583 from igoradamenko/gh-pages
Alex Lam S.L [Wed, 23 Mar 2016 15:02:01 +0000 (23:02 +0800)]
Merge pull request #583 from igoradamenko/gh-pages

Fix space removing after <inline><block/></inline> construction

8 years agofix #581
Igor Adamenko [Wed, 23 Mar 2016 12:38:32 +0000 (15:38 +0300)]
fix #581

8 years agoupdate web version string
Alex Lam S.L [Wed, 23 Mar 2016 07:42:25 +0000 (15:42 +0800)]
update web version string

8 years agoVersion 1.3.1
Juriy Zaytsev [Wed, 23 Mar 2016 06:07:13 +0000 (23:07 -0700)]
Version 1.3.1

8 years agoupdate devDependencies
Alex Lam S.L [Wed, 23 Mar 2016 03:25:34 +0000 (11:25 +0800)]
update devDependencies

grunt-cli 1.1.0

8 years agoupdate devDependencies
Alex Lam S.L [Tue, 22 Mar 2016 03:44:09 +0000 (11:44 +0800)]
update devDependencies

grunt-cli 1.0.0

8 years agoMerge pull request #566 from alexlamsl/phrasing-rewrite
Alex Lam S.L [Mon, 21 Mar 2016 20:38:12 +0000 (04:38 +0800)]
Merge pull request #566 from alexlamsl/phrasing-rewrite

phrasing content DOM mutation and other browser behaviours

8 years ago</br> transforms into <br>
alexlamsl [Fri, 18 Mar 2016 10:30:49 +0000 (18:30 +0800)]
</br> transforms into <br>

8 years agounpaired </p> gets auto-filled by major browsers
alexlamsl [Fri, 18 Mar 2016 10:26:52 +0000 (18:26 +0800)]
unpaired </p> gets auto-filled by major browsers

8 years agomake phrasing content handling consistent with IE 11 & Chrome 48
alexlamsl [Fri, 18 Mar 2016 10:09:28 +0000 (18:09 +0800)]
make phrasing content handling consistent with IE 11 & Chrome 48
fixes #565

8 years agoMerge pull request #567 from alexlamsl/conditional-parsing
Alex Lam S.L [Mon, 21 Mar 2016 20:29:42 +0000 (04:29 +0800)]
Merge pull request #567 from alexlamsl/conditional-parsing

processConditionalComments