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

8 years agoupdate README
alexlamsl [Fri, 18 Mar 2016 10:55:23 +0000 (18:55 +0800)]
update README

8 years agocontrol flag for conditional comments minification
alexlamsl [Fri, 18 Mar 2016 10:51:18 +0000 (18:51 +0800)]
control flag for conditional comments minification
fixes #563

8 years agoMerge pull request #571 from alexlamsl/inline-empty-content-whitespace
Alex Lam S.L [Mon, 21 Mar 2016 20:16:56 +0000 (04:16 +0800)]
Merge pull request #571 from alexlamsl/inline-empty-content-whitespace

treat empty inline tags as text

8 years agotreat empty inline tags as text
alexlamsl [Mon, 21 Mar 2016 14:23:05 +0000 (22:23 +0800)]
treat empty inline tags as text
libraries like FontAwesome would insert content with CSS

8 years agoMerge pull request #574 from alexlamsl/issue-572
Alex Lam S.L [Mon, 21 Mar 2016 20:04:52 +0000 (04:04 +0800)]
Merge pull request #574 from alexlamsl/issue-572

move chunk index within comment

8 years agomove chunk index within comment
alexlamsl [Mon, 21 Mar 2016 16:19:11 +0000 (00:19 +0800)]
move chunk index within comment
fixes #572

8 years agoMerge pull request #568 from oliviertassinari/fix-webpack
Alex Lam S.L [Mon, 21 Mar 2016 19:48:16 +0000 (03:48 +0800)]
Merge pull request #568 from oliviertassinari/fix-webpack

fix the static analysis of Webpack

8 years agoMerge pull request #573 from alexlamsl/eslint-populate
Alex Lam S.L [Mon, 21 Mar 2016 17:26:17 +0000 (01:26 +0800)]
Merge pull request #573 from alexlamsl/eslint-populate

populate eslint with common rules

8 years agopopulate eslint with common rules
alexlamsl [Mon, 21 Mar 2016 15:43:58 +0000 (23:43 +0800)]
populate eslint with common rules

8 years agoMerge pull request #575 from kangax/XhmikosR-patch-1
XhmikosR [Mon, 21 Mar 2016 16:43:45 +0000 (18:43 +0200)]
Merge pull request #575 from kangax/XhmikosR-patch-1

Update README.md

8 years agoUpdate README.md
XhmikosR [Mon, 21 Mar 2016 13:47:09 +0000 (15:47 +0200)]
Update README.md

8 years agoMerge pull request #561 from dougmoscrop/output-from-stdin
Alex Lam S.L [Sat, 19 Mar 2016 09:36:10 +0000 (17:36 +0800)]
Merge pull request #561 from dougmoscrop/output-from-stdin

Allow -o from stdin

8 years agoadd no-throw-literal to eslint
alexlamsl [Sat, 19 Mar 2016 09:24:44 +0000 (17:24 +0800)]
add no-throw-literal to eslint

8 years agoupdate dist files
alexlamsl [Sat, 19 Mar 2016 09:24:30 +0000 (17:24 +0800)]
update dist files

8 years agofix the static analysis of Webpack
Olivier Tassinari [Fri, 18 Mar 2016 20:29:30 +0000 (21:29 +0100)]
fix the static analysis of Webpack

8 years agoMerge pull request #564 from JohnNilsson/patch-1
XhmikosR [Fri, 18 Mar 2016 11:12:45 +0000 (13:12 +0200)]
Merge pull request #564 from JohnNilsson/patch-1

Throw Error not string

8 years agoThrow Error not string
John Nilsson [Thu, 17 Mar 2016 22:28:13 +0000 (23:28 +0100)]
Throw Error not string

Got bitten by the silent treatment from html-loader (another fix for the same issue https://github.com/webpack/html-loader/pull/57 )

8 years agoMerge pull request #558 from jshcrowthe/bugfix-phrasing-content-ignore
Juriy Zaytsev [Thu, 17 Mar 2016 20:22:18 +0000 (16:22 -0400)]
Merge pull request #558 from jshcrowthe/bugfix-phrasing-content-ignore

Handle phrasing content only for known tags

8 years agoAllow -o from stdin
Doug Moscrop [Thu, 17 Mar 2016 18:37:32 +0000 (14:37 -0400)]
Allow -o from stdin

8 years agoRefactor use of [].indexOf() -> makeMap
Josh Crowther [Thu, 17 Mar 2016 15:21:45 +0000 (09:21 -0600)]
Refactor use of [].indexOf() -> makeMap

8 years agoRefactor phrasing content parsing to only parse known HTML tags
Josh Crowther [Wed, 16 Mar 2016 21:59:02 +0000 (15:59 -0600)]
Refactor phrasing content parsing to only parse known HTML tags

8 years agoupdate version display on web
Alex Lam S.L [Wed, 16 Mar 2016 21:16:39 +0000 (05:16 +0800)]
update version display on web

8 years agoVersion 1.3.0
Juriy Zaytsev [Wed, 16 Mar 2016 19:22:05 +0000 (15:22 -0400)]
Version 1.3.0

8 years agoMerge pull request #556 from julmot/gh-pages
Juriy Zaytsev [Wed, 16 Mar 2016 16:43:05 +0000 (12:43 -0400)]
Merge pull request #556 from julmot/gh-pages

Update "Remove optional tags" to include </p>

8 years agoMerge pull request #537 from alexlamsl/run-web-test
Juriy Zaytsev [Tue, 15 Mar 2016 19:03:01 +0000 (15:03 -0400)]
Merge pull request #537 from alexlamsl/run-web-test

run browser-based tests

8 years agorun web tests in grunt
alexlamsl [Sat, 5 Mar 2016 10:49:04 +0000 (18:49 +0800)]
run web tests in grunt
remove unused devDependencies

8 years agoMerge pull request #531 from alexlamsl/web-minifyJS
Juriy Zaytsev [Tue, 15 Mar 2016 18:34:31 +0000 (14:34 -0400)]
Merge pull request #531 from alexlamsl/web-minifyJS

fix minifyJS when used outside of Node.js

8 years agoUpdate "Remove optional tags" to include </p>
Julian Motz [Tue, 15 Mar 2016 17:29:34 +0000 (18:29 +0100)]
Update "Remove optional tags" to include </p>

closes #555

8 years agopackage UglifyJS via browserify
alexlamsl [Fri, 4 Mar 2016 07:19:01 +0000 (15:19 +0800)]
package UglifyJS via browserify
remove code duplication in minifyJS()

8 years agoremove unused default fields
alexlamsl [Thu, 3 Mar 2016 21:09:20 +0000 (05:09 +0800)]
remove unused default fields

8 years agopopulate minifyJS defaults
alexlamsl [Thu, 3 Mar 2016 20:59:35 +0000 (04:59 +0800)]
populate minifyJS defaults

8 years agofix minifyJS when used online
alexlamsl [Thu, 3 Mar 2016 20:51:28 +0000 (04:51 +0800)]
fix minifyJS when used online
refactor minify{URLs,JS,CSS} to reduce evaluation overheads

8 years agoMerge pull request #554 from alexlamsl/eslint
Alex Lam S.L [Tue, 15 Mar 2016 16:14:25 +0000 (00:14 +0800)]
Merge pull request #554 from alexlamsl/eslint

replace jscs & jshint with eslint

8 years agoclean up env
alexlamsl [Tue, 15 Mar 2016 15:53:37 +0000 (23:53 +0800)]
clean up env

8 years agoremove jscs & jshint from grunt test
alexlamsl [Tue, 15 Mar 2016 13:29:54 +0000 (21:29 +0800)]
remove jscs & jshint from grunt test

8 years agoadd eslint to grunt test
alexlamsl [Tue, 15 Mar 2016 13:25:00 +0000 (21:25 +0800)]
add eslint to grunt test

8 years agoMerge pull request #553 from alexlamsl/issue-551
Juriy Zaytsev [Tue, 15 Mar 2016 02:33:26 +0000 (22:33 -0400)]
Merge pull request #553 from alexlamsl/issue-551

fix collapseWhitespace on attributes which contains custom fragments

8 years agofix collapseWhitespace on attributes which contains custom fragments
alexlamsl [Mon, 14 Mar 2016 11:30:26 +0000 (19:30 +0800)]
fix collapseWhitespace on attributes which contains custom fragments
fixes #551

8 years agoMerge pull request #543 from alexlamsl/parser-tag-name
Juriy Zaytsev [Sun, 13 Mar 2016 14:44:48 +0000 (10:44 -0400)]
Merge pull request #543 from alexlamsl/parser-tag-name

allow XML tag names

8 years agouse ncname to implement QName
alexlamsl [Fri, 11 Mar 2016 09:14:03 +0000 (17:14 +0800)]
use ncname to implement QName

8 years agofixes #248
alexlamsl [Mon, 7 Mar 2016 16:01:56 +0000 (00:01 +0800)]
fixes #248

8 years agoMerge pull request #540 from alexlamsl/parser-end-tag
Juriy Zaytsev [Thu, 10 Mar 2016 18:56:01 +0000 (13:56 -0500)]
Merge pull request #540 from alexlamsl/parser-end-tag

Omit auto-generated tags

8 years agoupdate docs and benchmark conf
alexlamsl [Mon, 7 Mar 2016 10:51:11 +0000 (18:51 +0800)]
update docs and benchmark conf

8 years agoimplement includeAutoGeneratedTags
alexlamsl [Mon, 7 Mar 2016 08:58:49 +0000 (16:58 +0800)]
implement includeAutoGeneratedTags

8 years agoremove cleanAttributes from tests
alexlamsl [Mon, 7 Mar 2016 08:57:57 +0000 (16:57 +0800)]
remove cleanAttributes from tests
options has been deprecated

8 years agoMerge pull request #542 from alexlamsl/attr-perf
Juriy Zaytsev [Wed, 9 Mar 2016 18:38:53 +0000 (13:38 -0500)]
Merge pull request #542 from alexlamsl/attr-perf

improve attribute parsing for conformance and performance

8 years agocombine start tag and attribute parsing
alexlamsl [Wed, 9 Mar 2016 14:05:36 +0000 (22:05 +0800)]
combine start tag and attribute parsing
test performance 17s --> 1.4s

8 years agoimprove attribute parsing for conformance and performance
alexlamsl [Mon, 7 Mar 2016 15:19:19 +0000 (23:19 +0800)]
improve attribute parsing for conformance and performance
fixes #289
fixes #534

8 years agoMerge pull request #541 from alexlamsl/phrasing-content
Juriy Zaytsev [Wed, 9 Mar 2016 01:13:28 +0000 (20:13 -0500)]
Merge pull request #541 from alexlamsl/phrasing-content

handle tags with phrasing content model

8 years agoadd HTML5 tags which can only contain phrasing contents
alexlamsl [Mon, 7 Mar 2016 10:03:36 +0000 (18:03 +0800)]
add HTML5 tags which can only contain phrasing contents

8 years agohandle tags with phrasing content model
alexlamsl [Mon, 7 Mar 2016 09:36:53 +0000 (17:36 +0800)]
handle tags with phrasing content model

8 years agoMerge pull request #539 from alexlamsl/iframe-srcdoc
Alex Lam S.L [Sun, 6 Mar 2016 23:55:52 +0000 (07:55 +0800)]
Merge pull request #539 from alexlamsl/iframe-srcdoc

iframe can have srcdoc instead of src

8 years agoiframe can have srcdoc instead of src
alexlamsl [Sun, 6 Mar 2016 23:48:44 +0000 (07:48 +0800)]
iframe can have srcdoc instead of src

8 years agoMerge pull request #538 from alexlamsl/issue-536
Juriy Zaytsev [Sun, 6 Mar 2016 23:16:44 +0000 (18:16 -0500)]
Merge pull request #538 from alexlamsl/issue-536

don't remove meaningful empty elements