html-minifier.git
8 years agoupdate benchmark results
alexlamsl [Thu, 3 Mar 2016 05:18:45 +0000 (13:18 +0800)]
update benchmark results

8 years agoupdate assets
alexlamsl [Thu, 3 Mar 2016 05:06:35 +0000 (13:06 +0800)]
update assets
stream-http 2.2.0

8 years agoMerge pull request #521 from alexlamsl/script-type
Alex Lam S.L [Thu, 3 Mar 2016 00:16:47 +0000 (08:16 +0800)]
Merge pull request #521 from alexlamsl/script-type

improve whitespace handling in type attributes

8 years agoclean <script type="..."> attribute value
alexlamsl [Wed, 2 Mar 2016 10:31:53 +0000 (18:31 +0800)]
clean <script type="..."> attribute value

8 years agoexpand detection range for removeScriptTypeAttributes
alexlamsl [Wed, 2 Mar 2016 10:16:22 +0000 (18:16 +0800)]
expand detection range for removeScriptTypeAttributes

8 years agoimprove whitespace handling in type attributes
alexlamsl [Wed, 2 Mar 2016 06:03:09 +0000 (14:03 +0800)]
improve whitespace handling in type attributes

8 years agoMerge pull request #525 from alexlamsl/inline-comment
Alex Lam S.L [Wed, 2 Mar 2016 23:56:22 +0000 (07:56 +0800)]
Merge pull request #525 from alexlamsl/inline-comment

fix whitespace between comments followed by tags

8 years agoupdate devDependencies
Alex Lam S.L [Wed, 2 Mar 2016 22:55:54 +0000 (06:55 +0800)]
update devDependencies

grunt-jscs 2.8.0

8 years agoclarify squashTrailingWhitespace()
alexlamsl [Wed, 2 Mar 2016 17:49:49 +0000 (01:49 +0800)]
clarify squashTrailingWhitespace()

8 years agooptimise regex
alexlamsl [Wed, 2 Mar 2016 08:35:43 +0000 (16:35 +0800)]
optimise regex

8 years agocollapseWhitespace across comments
alexlamsl [Wed, 2 Mar 2016 08:11:54 +0000 (16:11 +0800)]
collapseWhitespace across comments
even when removeComments is turned off

8 years agofix collapseWhitespace & removeEmptyElements
alexlamsl [Wed, 2 Mar 2016 08:06:55 +0000 (16:06 +0800)]
fix collapseWhitespace & removeEmptyElements
trailing whitespace combined with start tag

8 years agoMerge pull request #520 from alexlamsl/parser-perf
Juriy Zaytsev [Wed, 2 Mar 2016 22:06:05 +0000 (17:06 -0500)]
Merge pull request #520 from alexlamsl/parser-perf

improve parser performance

8 years agoimprove parser performance
alexlamsl [Wed, 2 Mar 2016 05:58:44 +0000 (13:58 +0800)]
improve parser performance

8 years agoMerge pull request #524 from alexlamsl/issue-499
Juriy Zaytsev [Wed, 2 Mar 2016 20:56:41 +0000 (15:56 -0500)]
Merge pull request #524 from alexlamsl/issue-499

Conditional Comments

8 years agoMerge pull request #527 from gitter-badger/gitter-badge
Juriy Zaytsev [Wed, 2 Mar 2016 20:45:29 +0000 (15:45 -0500)]
Merge pull request #527 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

8 years agoAdd Gitter badge
The Gitter Badger [Wed, 2 Mar 2016 20:43:17 +0000 (20:43 +0000)]
Add Gitter badge

8 years agoencapsulate minify() internal parameters
alexlamsl [Wed, 2 Mar 2016 09:59:17 +0000 (17:59 +0800)]
encapsulate minify() internal parameters

8 years agohandle partial markups and bubbling hack
alexlamsl [Tue, 1 Mar 2016 19:44:38 +0000 (03:44 +0800)]
handle partial markups and bubbling hack
fixes #157
fixes #499

8 years agoprocess conditional comments as markups
alexlamsl [Tue, 1 Mar 2016 19:19:26 +0000 (03:19 +0800)]
process conditional comments as markups
fixes #225
fixes #274

8 years agoMerge pull request #522 from alexlamsl/simplify-boolean
Juriy Zaytsev [Wed, 2 Mar 2016 17:48:23 +0000 (12:48 -0500)]
Merge pull request #522 from alexlamsl/simplify-boolean

simplify isBooleanAttribute

8 years agosimplify isBooleanAttribute
alexlamsl [Wed, 2 Mar 2016 06:06:56 +0000 (14:06 +0800)]
simplify isBooleanAttribute

8 years agoMerge pull request #526 from alexlamsl/travis-grunt-cli
XhmikosR [Wed, 2 Mar 2016 12:23:15 +0000 (14:23 +0200)]
Merge pull request #526 from alexlamsl/travis-grunt-cli

remove global installation of grunt-cli

8 years agoremove global installation of grunt-cli
alexlamsl [Wed, 2 Mar 2016 11:44:52 +0000 (19:44 +0800)]
remove global installation of grunt-cli

8 years agoMerge pull request #519 from alexlamsl/inline-whitespace
Juriy Zaytsev [Tue, 1 Mar 2016 20:56:23 +0000 (15:56 -0500)]
Merge pull request #519 from alexlamsl/inline-whitespace

handle whitespace within and around inline tags

8 years agouse String.slice() instead of substr()
alexlamsl [Tue, 1 Mar 2016 19:54:23 +0000 (03:54 +0800)]
use String.slice() instead of substr()

8 years agomore permissive trailing whitespace detection
alexlamsl [Tue, 1 Mar 2016 19:52:50 +0000 (03:52 +0800)]
more permissive trailing whitespace detection

8 years agoimprove handling of trailing inline whitespace
alexlamsl [Tue, 1 Mar 2016 11:25:01 +0000 (19:25 +0800)]
improve handling of trailing inline whitespace

8 years agouse single array to store minification fragments
alexlamsl [Tue, 1 Mar 2016 10:59:42 +0000 (18:59 +0800)]
use single array to store minification fragments

8 years agohandle whitespace within and around inline tags
alexlamsl [Tue, 1 Mar 2016 10:30:07 +0000 (18:30 +0800)]
handle whitespace within and around inline tags

8 years agoupdate assets
alexlamsl [Tue, 1 Mar 2016 15:05:16 +0000 (23:05 +0800)]
update assets
clean-css 3.4.10

8 years agoUpdate README.md
XhmikosR [Tue, 1 Mar 2016 08:16:36 +0000 (10:16 +0200)]
Update README.md

[ci skip]

8 years agoMerge pull request #517 from alexlamsl/issue-18
Juriy Zaytsev [Tue, 1 Mar 2016 05:34:03 +0000 (00:34 -0500)]
Merge pull request #517 from alexlamsl/issue-18

incorporate tests from PHPTAL

8 years agoincorporate tests from PHPTAL
alexlamsl [Mon, 29 Feb 2016 18:44:22 +0000 (02:44 +0800)]
incorporate tests from PHPTAL
fixes #18

8 years agoMerge pull request #514 from alexlamsl/issue-503
Juriy Zaytsev [Mon, 29 Feb 2016 15:52:39 +0000 (10:52 -0500)]
Merge pull request #514 from alexlamsl/issue-503

make removeOptionalTags more conservative

8 years agofixes #503
alexlamsl [Mon, 29 Feb 2016 08:22:44 +0000 (16:22 +0800)]
fixes #503
add more tests to clarify whitespace handling rules

8 years agoMerge pull request #515 from alexlamsl/issue-511
Juriy Zaytsev [Mon, 29 Feb 2016 15:16:41 +0000 (10:16 -0500)]
Merge pull request #515 from alexlamsl/issue-511

allow out-of-order placement in htmlmin:ignore & ignoreCustomFragments

8 years agoallow out-of-order placement in htmlmin:ignore & ignoreCustomFragments
alexlamsl [Mon, 29 Feb 2016 08:40:09 +0000 (16:40 +0800)]
allow out-of-order placement in htmlmin:ignore & ignoreCustomFragments
fixes #511

8 years agoMerge pull request #510 from alexlamsl/issue-507
Juriy Zaytsev [Mon, 29 Feb 2016 12:49:36 +0000 (07:49 -0500)]
Merge pull request #510 from alexlamsl/issue-507

fix corner case in parser performance

8 years agotest for minify() should come first
alexlamsl [Mon, 29 Feb 2016 08:13:31 +0000 (16:13 +0800)]
test for minify() should come first

8 years agorefer to issues in test cases
alexlamsl [Mon, 29 Feb 2016 08:13:04 +0000 (16:13 +0800)]
refer to issues in test cases

8 years agofixes #507
alexlamsl [Thu, 25 Feb 2016 10:09:39 +0000 (18:09 +0800)]
fixes #507
fixes #512

8 years agoMerge pull request #508 from alexlamsl/issue-500
Juriy Zaytsev [Mon, 29 Feb 2016 00:27:44 +0000 (19:27 -0500)]
Merge pull request #508 from alexlamsl/issue-500

fix crash in removeOptionalTags

8 years agoimplement removeOptionalTags for empty elements
alexlamsl [Thu, 25 Feb 2016 07:21:51 +0000 (15:21 +0800)]
implement removeOptionalTags for empty elements

8 years agofixes #500
alexlamsl [Thu, 25 Feb 2016 07:14:00 +0000 (15:14 +0800)]
fixes #500

8 years agoupdate assets
alexlamsl [Sun, 28 Feb 2016 13:45:46 +0000 (21:45 +0800)]
update assets

8 years agobuild assets during grunt:dist
alexlamsl [Sun, 28 Feb 2016 13:43:05 +0000 (21:43 +0800)]
build assets during grunt:dist

8 years agofix grammar
Alex Lam S.L [Sun, 28 Feb 2016 04:24:55 +0000 (12:24 +0800)]
fix grammar

8 years agoindex.html: Bump version.
XhmikosR [Sun, 28 Feb 2016 02:14:54 +0000 (04:14 +0200)]
index.html: Bump version.

[ci skip]

8 years agoMerge pull request #509 from alexlamsl/issue-502
Juriy Zaytsev [Sun, 28 Feb 2016 01:53:09 +0000 (17:53 -0800)]
Merge pull request #509 from alexlamsl/issue-502

fix whitespace trimming of ignoreCustomFragments

8 years agoimprove whitspace handling of ignoreCustomFragments
alexlamsl [Thu, 25 Feb 2016 07:41:22 +0000 (15:41 +0800)]
improve whitspace handling of ignoreCustomFragments

8 years agofixes #502
alexlamsl [Thu, 25 Feb 2016 07:39:22 +0000 (15:39 +0800)]
fixes #502
fixes #505
fixes #506

8 years agocontrol global whitespace trimming under collapseWhitespace
alexlamsl [Thu, 25 Feb 2016 07:32:30 +0000 (15:32 +0800)]
control global whitespace trimming under collapseWhitespace

8 years agoupdate link to clean-css
alexlamsl [Thu, 25 Feb 2016 06:52:12 +0000 (14:52 +0800)]
update link to clean-css

8 years agoremove CleanCSS jshint
alexlamsl [Thu, 25 Feb 2016 06:51:16 +0000 (14:51 +0800)]
remove CleanCSS jshint

8 years agoupdate uglify.js to 2.6.2
alexlamsl [Thu, 25 Feb 2016 06:48:32 +0000 (14:48 +0800)]
update uglify.js to 2.6.2

8 years agoupdate devDependencies
alexlamsl [Thu, 25 Feb 2016 06:46:26 +0000 (14:46 +0800)]
update devDependencies

8 years agofix typo and grammar in cli.js
Alex Lam S.L [Wed, 24 Feb 2016 10:05:23 +0000 (18:05 +0800)]
fix typo and grammar in cli.js

also update copyright year

8 years agoMerge pull request #498 from ybiquitous/typo-include-dir
Juriy Zaytsev [Wed, 24 Feb 2016 00:00:40 +0000 (16:00 -0800)]
Merge pull request #498 from ybiquitous/typo-include-dir

fix typo(cli): 'include-dir' -> 'input-dir'

8 years agoVersion 1.2.0
Juriy Zaytsev [Fri, 19 Feb 2016 19:26:03 +0000 (14:26 -0500)]
Version 1.2.0

8 years agoMerge pull request #496 from alexlamsl/gh-pages
Juriy Zaytsev [Fri, 19 Feb 2016 17:43:58 +0000 (12:43 -0500)]
Merge pull request #496 from alexlamsl/gh-pages

addresses #495 and then some

8 years agocompact conditional
alexlamsl [Fri, 19 Feb 2016 03:12:59 +0000 (11:12 +0800)]
compact conditional

8 years agoimprove readability
alexlamsl [Fri, 19 Feb 2016 03:00:06 +0000 (11:00 +0800)]
improve readability

8 years agoreduce number of arguments in collapseWhitespace()
alexlamsl [Fri, 19 Feb 2016 02:55:55 +0000 (10:55 +0800)]
reduce number of arguments in collapseWhitespace()

8 years agofix typo(cli): `need` -> `needs`
ybiquitous [Thu, 18 Feb 2016 08:40:03 +0000 (17:40 +0900)]
fix typo(cli): `need` -> `needs`

8 years agofix typo(cli): 'include-dir' -> 'input-dir'
ybiquitous [Thu, 18 Feb 2016 06:57:11 +0000 (15:57 +0900)]
fix typo(cli): 'include-dir' -> 'input-dir'

8 years agointegrate tag omission rules from WhatWG
alexlamsl [Wed, 17 Feb 2016 20:41:16 +0000 (04:41 +0800)]
integrate tag omission rules from WhatWG
fixes #497

8 years agoupdate devDependencies
alexlamsl [Wed, 17 Feb 2016 17:45:21 +0000 (01:45 +0800)]
update devDependencies

8 years agoignoreCustomFragments to handle <%...%> and <?...?>
alexlamsl [Tue, 16 Feb 2016 20:02:47 +0000 (04:02 +0800)]
ignoreCustomFragments to handle <%...%> and <?...?>
fixes #495

8 years agofix interactions between preserveLineBreaks and conservativeCollapse
alexlamsl [Tue, 16 Feb 2016 19:51:56 +0000 (03:51 +0800)]
fix interactions between preserveLineBreaks and conservativeCollapse

8 years agoMerge pull request #494 from alexlamsl/gh-pages
Juriy Zaytsev [Tue, 16 Feb 2016 19:15:50 +0000 (14:15 -0500)]
Merge pull request #494 from alexlamsl/gh-pages

benchmark across git history

8 years agoimprove module loading workaround
alexlamsl [Sun, 14 Feb 2016 15:32:55 +0000 (23:32 +0800)]
improve module loading workaround

8 years agoorder by benchmark file sizes to improve success rates
alexlamsl [Sun, 14 Feb 2016 11:12:12 +0000 (19:12 +0800)]
order by benchmark file sizes to improve success rates

8 years agoimplement progress bar
alexlamsl [Sun, 14 Feb 2016 11:03:44 +0000 (19:03 +0800)]
implement progress bar
output errors to file

8 years agoworkaround hysterical raisins
alexlamsl [Sun, 14 Feb 2016 09:33:33 +0000 (17:33 +0800)]
workaround hysterical raisins

8 years agosimplify IPC handling
alexlamsl [Sun, 14 Feb 2016 07:09:01 +0000 (15:09 +0800)]
simplify IPC handling

8 years agotolerate individual failures
alexlamsl [Sun, 14 Feb 2016 05:20:06 +0000 (13:20 +0800)]
tolerate individual failures

8 years agoinclude full error output to aid diagnosis
alexlamsl [Sun, 14 Feb 2016 05:07:19 +0000 (13:07 +0800)]
include full error output to aid diagnosis

8 years agoreimplement watchdog timer
alexlamsl [Sun, 14 Feb 2016 04:37:32 +0000 (12:37 +0800)]
reimplement watchdog timer

8 years agoreinstate minifyURLs
alexlamsl [Sun, 14 Feb 2016 04:36:04 +0000 (12:36 +0800)]
reinstate minifyURLs

8 years agoimprove error reporting
alexlamsl [Sun, 14 Feb 2016 04:27:15 +0000 (12:27 +0800)]
improve error reporting
fix lints

8 years agoremove superfluous git command
alexlamsl [Sun, 14 Feb 2016 04:18:12 +0000 (12:18 +0800)]
remove superfluous git command

8 years agouse module directly
alexlamsl [Sun, 14 Feb 2016 04:08:59 +0000 (12:08 +0800)]
use module directly
cli dependency doesn't exist as long back in git history

8 years agoadjust magic constants
alexlamsl [Sat, 13 Feb 2016 20:12:51 +0000 (04:12 +0800)]
adjust magic constants

8 years agoadd watchdog timer for minify task
alexlamsl [Sat, 13 Feb 2016 19:20:35 +0000 (03:20 +0800)]
add watchdog timer for minify task

8 years agocommon storage for benchmark file details
alexlamsl [Sat, 13 Feb 2016 18:57:56 +0000 (02:57 +0800)]
common storage for benchmark file details

8 years agoExcel doesn't like 0000 as time zone specifier
alexlamsl [Sat, 13 Feb 2016 17:44:29 +0000 (01:44 +0800)]
Excel doesn't like 0000 as time zone specifier

8 years agoadjust git date format for Excel
alexlamsl [Sat, 13 Feb 2016 17:19:23 +0000 (01:19 +0800)]
adjust git date format for Excel

8 years agoimplement benchmark against git history
alexlamsl [Sat, 13 Feb 2016 14:00:31 +0000 (22:00 +0800)]
implement benchmark against git history

8 years agoMerge pull request #488 from alexlamsl/gh-pages
Juriy Zaytsev [Fri, 12 Feb 2016 22:22:52 +0000 (17:22 -0500)]
Merge pull request #488 from alexlamsl/gh-pages

removeOptionalTags and other small fixes

8 years agoupdate benchmark results
alexlamsl [Fri, 12 Feb 2016 22:09:50 +0000 (06:09 +0800)]
update benchmark results

8 years agoseparate createMap() from createMapFromString()
alexlamsl [Fri, 12 Feb 2016 22:09:44 +0000 (06:09 +0800)]
separate createMap() from createMapFromString()

8 years agoremove obsolete comments
alexlamsl [Fri, 12 Feb 2016 21:32:05 +0000 (05:32 +0800)]
remove obsolete comments

8 years agoadd comments explaining tag omission rules
alexlamsl [Fri, 12 Feb 2016 21:25:47 +0000 (05:25 +0800)]
add comments explaining tag omission rules

8 years agorefactor createMap()
alexlamsl [Fri, 12 Feb 2016 20:28:47 +0000 (04:28 +0800)]
refactor createMap()

8 years agofix corner cases for collapseWhitespace
alexlamsl [Fri, 12 Feb 2016 20:12:26 +0000 (04:12 +0800)]
fix corner cases for collapseWhitespace
fixes #491

8 years agoimprove parser logic
alexlamsl [Fri, 12 Feb 2016 20:11:12 +0000 (04:11 +0800)]
improve parser logic

8 years agoupdate benchmark results
alexlamsl [Mon, 8 Feb 2016 06:58:27 +0000 (14:58 +0800)]
update benchmark results

8 years agoimprove interaction between removeOptionalTags and removeEmptyAttributes
alexlamsl [Mon, 8 Feb 2016 06:08:18 +0000 (14:08 +0800)]
improve interaction between removeOptionalTags and removeEmptyAttributes

8 years agoreimplement removeOptionalTags according to HTML5 specs
alexlamsl [Mon, 8 Feb 2016 05:30:51 +0000 (13:30 +0800)]
reimplement removeOptionalTags according to HTML5 specs
fixes #361