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
alexlamsl [Mon, 29 Feb 2016 18:44:22 +0000 (02:44 +0800)]
incorporate tests from PHPTAL
fixes #18
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
alexlamsl [Mon, 29 Feb 2016 08:22:44 +0000 (16:22 +0800)]
fixes #503
add more tests to clarify whitespace handling rules
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
alexlamsl [Mon, 29 Feb 2016 08:40:09 +0000 (16:40 +0800)]
allow out-of-order placement in htmlmin:ignore & ignoreCustomFragments
fixes #511
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
alexlamsl [Mon, 29 Feb 2016 08:13:31 +0000 (16:13 +0800)]
test for minify() should come first
alexlamsl [Mon, 29 Feb 2016 08:13:04 +0000 (16:13 +0800)]
refer to issues in test cases
alexlamsl [Thu, 25 Feb 2016 10:09:39 +0000 (18:09 +0800)]
fixes #507
fixes #512
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
alexlamsl [Thu, 25 Feb 2016 07:21:51 +0000 (15:21 +0800)]
implement removeOptionalTags for empty elements
alexlamsl [Thu, 25 Feb 2016 07:14:00 +0000 (15:14 +0800)]
fixes #500
alexlamsl [Sun, 28 Feb 2016 13:45:46 +0000 (21:45 +0800)]
update assets
alexlamsl [Sun, 28 Feb 2016 13:43:05 +0000 (21:43 +0800)]
build assets during grunt:dist
Alex Lam S.L [Sun, 28 Feb 2016 04:24:55 +0000 (12:24 +0800)]
fix grammar
XhmikosR [Sun, 28 Feb 2016 02:14:54 +0000 (04:14 +0200)]
index.html: Bump version.
[ci skip]
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
alexlamsl [Thu, 25 Feb 2016 07:41:22 +0000 (15:41 +0800)]
improve whitspace handling of ignoreCustomFragments
alexlamsl [Thu, 25 Feb 2016 07:39:22 +0000 (15:39 +0800)]
fixes #502
fixes #505
fixes #506
alexlamsl [Thu, 25 Feb 2016 07:32:30 +0000 (15:32 +0800)]
control global whitespace trimming under collapseWhitespace
alexlamsl [Thu, 25 Feb 2016 06:52:12 +0000 (14:52 +0800)]
update link to clean-css
alexlamsl [Thu, 25 Feb 2016 06:51:16 +0000 (14:51 +0800)]
remove CleanCSS jshint
alexlamsl [Thu, 25 Feb 2016 06:48:32 +0000 (14:48 +0800)]
update uglify.js to 2.6.2
alexlamsl [Thu, 25 Feb 2016 06:46:26 +0000 (14:46 +0800)]
update devDependencies
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
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'
Juriy Zaytsev [Fri, 19 Feb 2016 19:26:03 +0000 (14:26 -0500)]
Version 1.2.0
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
alexlamsl [Fri, 19 Feb 2016 03:12:59 +0000 (11:12 +0800)]
compact conditional
alexlamsl [Fri, 19 Feb 2016 03:00:06 +0000 (11:00 +0800)]
improve readability
alexlamsl [Fri, 19 Feb 2016 02:55:55 +0000 (10:55 +0800)]
reduce number of arguments in collapseWhitespace()
ybiquitous [Thu, 18 Feb 2016 08:40:03 +0000 (17:40 +0900)]
fix typo(cli): `need` -> `needs`
ybiquitous [Thu, 18 Feb 2016 06:57:11 +0000 (15:57 +0900)]
fix typo(cli): 'include-dir' -> 'input-dir'
alexlamsl [Wed, 17 Feb 2016 20:41:16 +0000 (04:41 +0800)]
integrate tag omission rules from WhatWG
fixes #497
alexlamsl [Wed, 17 Feb 2016 17:45:21 +0000 (01:45 +0800)]
update devDependencies
alexlamsl [Tue, 16 Feb 2016 20:02:47 +0000 (04:02 +0800)]
ignoreCustomFragments to handle <%...%> and <?...?>
fixes #495
alexlamsl [Tue, 16 Feb 2016 19:51:56 +0000 (03:51 +0800)]
fix interactions between preserveLineBreaks and conservativeCollapse
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
alexlamsl [Sun, 14 Feb 2016 15:32:55 +0000 (23:32 +0800)]
improve module loading workaround
alexlamsl [Sun, 14 Feb 2016 11:12:12 +0000 (19:12 +0800)]
order by benchmark file sizes to improve success rates
alexlamsl [Sun, 14 Feb 2016 11:03:44 +0000 (19:03 +0800)]
implement progress bar
output errors to file
alexlamsl [Sun, 14 Feb 2016 09:33:33 +0000 (17:33 +0800)]
workaround hysterical raisins
alexlamsl [Sun, 14 Feb 2016 07:09:01 +0000 (15:09 +0800)]
simplify IPC handling
alexlamsl [Sun, 14 Feb 2016 05:20:06 +0000 (13:20 +0800)]
tolerate individual failures
alexlamsl [Sun, 14 Feb 2016 05:07:19 +0000 (13:07 +0800)]
include full error output to aid diagnosis
alexlamsl [Sun, 14 Feb 2016 04:37:32 +0000 (12:37 +0800)]
reimplement watchdog timer
alexlamsl [Sun, 14 Feb 2016 04:36:04 +0000 (12:36 +0800)]
reinstate minifyURLs
alexlamsl [Sun, 14 Feb 2016 04:27:15 +0000 (12:27 +0800)]
improve error reporting
fix lints
alexlamsl [Sun, 14 Feb 2016 04:18:12 +0000 (12:18 +0800)]
remove superfluous git command
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
alexlamsl [Sat, 13 Feb 2016 20:12:51 +0000 (04:12 +0800)]
adjust magic constants
alexlamsl [Sat, 13 Feb 2016 19:20:35 +0000 (03:20 +0800)]
add watchdog timer for minify task
alexlamsl [Sat, 13 Feb 2016 18:57:56 +0000 (02:57 +0800)]
common storage for benchmark file details
alexlamsl [Sat, 13 Feb 2016 17:44:29 +0000 (01:44 +0800)]
Excel doesn't like 0000 as time zone specifier
alexlamsl [Sat, 13 Feb 2016 17:19:23 +0000 (01:19 +0800)]
adjust git date format for Excel
alexlamsl [Sat, 13 Feb 2016 14:00:31 +0000 (22:00 +0800)]
implement benchmark against git history
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
alexlamsl [Fri, 12 Feb 2016 22:09:50 +0000 (06:09 +0800)]
update benchmark results
alexlamsl [Fri, 12 Feb 2016 22:09:44 +0000 (06:09 +0800)]
separate createMap() from createMapFromString()
alexlamsl [Fri, 12 Feb 2016 21:32:05 +0000 (05:32 +0800)]
remove obsolete comments
alexlamsl [Fri, 12 Feb 2016 21:25:47 +0000 (05:25 +0800)]
add comments explaining tag omission rules
alexlamsl [Fri, 12 Feb 2016 20:28:47 +0000 (04:28 +0800)]
refactor createMap()
alexlamsl [Fri, 12 Feb 2016 20:12:26 +0000 (04:12 +0800)]
fix corner cases for collapseWhitespace
fixes #491
alexlamsl [Fri, 12 Feb 2016 20:11:12 +0000 (04:11 +0800)]
improve parser logic
alexlamsl [Mon, 8 Feb 2016 06:58:27 +0000 (14:58 +0800)]
update benchmark results
alexlamsl [Mon, 8 Feb 2016 06:08:18 +0000 (14:08 +0800)]
improve interaction between removeOptionalTags and removeEmptyAttributes
alexlamsl [Mon, 8 Feb 2016 05:30:51 +0000 (13:30 +0800)]
reimplement removeOptionalTags according to HTML5 specs
fixes #361
alexlamsl [Mon, 8 Feb 2016 05:23:05 +0000 (13:23 +0800)]
end tag minification should take caseSensitive into account
alexlamsl [Mon, 8 Feb 2016 05:10:51 +0000 (13:10 +0800)]
refactor removeEmptyElements
add more tests for clarification
alexlamsl [Mon, 8 Feb 2016 05:06:23 +0000 (13:06 +0800)]
handle variations of script type attributes
text/JavaScript;version=1.8
alexlamsl [Mon, 8 Feb 2016 05:01:47 +0000 (13:01 +0800)]
improve code reuse
alexlamsl [Mon, 8 Feb 2016 04:59:34 +0000 (12:59 +0800)]
update empty tag list
Juriy Zaytsev [Sun, 7 Feb 2016 22:11:28 +0000 (17:11 -0500)]
Merge pull request #487 from alexlamsl/gh-pages
fix minifyURLs command-line usage
alexlamsl [Sun, 7 Feb 2016 08:54:10 +0000 (16:54 +0800)]
update benchmark results
alexlamsl [Sun, 7 Feb 2016 08:53:55 +0000 (16:53 +0800)]
enable minifyURLs in benchmark.js
alexlamsl [Sun, 7 Feb 2016 08:29:16 +0000 (16:29 +0800)]
fix minifyURLs in command-line usage
since it is defined as a boolean parameter, this option never worked
Juriy Zaytsev [Fri, 5 Feb 2016 19:45:52 +0000 (14:45 -0500)]
Merge pull request #485 from alexlamsl/gh-pages
cli fixes
alexlamsl [Fri, 5 Feb 2016 19:34:06 +0000 (03:34 +0800)]
fixes #428
alexlamsl [Fri, 5 Feb 2016 19:32:26 +0000 (03:32 +0800)]
fix cli error reporting
it was attempting to write the error object onto stderr, which errs out by itself and masked the original error and stack trace
alexlamsl [Fri, 5 Feb 2016 19:30:33 +0000 (03:30 +0800)]
fix corner case when merging whitespace from across comment block
Juriy Zaytsev [Fri, 5 Feb 2016 19:09:31 +0000 (14:09 -0500)]
Merge pull request #484 from alexlamsl/gh-pages
fix issues with whitespaces and comments
alexlamsl [Fri, 5 Feb 2016 18:38:42 +0000 (02:38 +0800)]
improve collapseWhitespace when removeComments is active
alexlamsl [Fri, 5 Feb 2016 18:23:11 +0000 (02:23 +0800)]
update devDependencies
alexlamsl [Fri, 5 Feb 2016 18:16:09 +0000 (02:16 +0800)]
improve minification of whitespaces around comments
fixes #215
alexlamsl [Fri, 5 Feb 2016 17:34:46 +0000 (01:34 +0800)]
rearrange order of minification
alexlamsl [Fri, 5 Feb 2016 17:23:50 +0000 (01:23 +0800)]
treat comments similarly as inline tags and be conservative with whitespace removal
fixes #346
alexlamsl [Fri, 5 Feb 2016 16:34:13 +0000 (00:34 +0800)]
improve compatibility with IE<9
Juriy Zaytsev [Thu, 4 Feb 2016 20:57:41 +0000 (15:57 -0500)]
Merge pull request #481 from alexlamsl/gh-pages
Misc fixes
Juriy Zaytsev [Thu, 4 Feb 2016 20:31:08 +0000 (15:31 -0500)]
Merge pull request #482 from gdub22/input-dir-fix
fix cli input-dir only processing first file
alexlamsl [Thu, 4 Feb 2016 20:30:31 +0000 (04:30 +0800)]
improve performance by key lookup rather than Array.indexOf()
alexlamsl [Thu, 4 Feb 2016 20:05:30 +0000 (04:05 +0800)]
clarify minification logic
alexlamsl [Thu, 4 Feb 2016 19:56:09 +0000 (03:56 +0800)]
consolidate conf files
Garth Poitras [Thu, 4 Feb 2016 18:24:29 +0000 (13:24 -0500)]
fix cli input-dir only processing first file
alexlamsl [Thu, 4 Feb 2016 17:18:19 +0000 (01:18 +0800)]
simplify logical expressions
a | (!a & (b | c)) --> a | b | c
!a ? b : c --> a ? c : b
alexlamsl [Thu, 4 Feb 2016 17:16:40 +0000 (01:16 +0800)]
update tag list for tests
alexlamsl [Thu, 4 Feb 2016 16:47:02 +0000 (00:47 +0800)]
reduce workload on preserveLineBreaks
alexlamsl [Thu, 4 Feb 2016 10:56:48 +0000 (18:56 +0800)]
remove magic constant
alexlamsl [Thu, 4 Feb 2016 10:34:03 +0000 (18:34 +0800)]
improve whitespace removal when preserveLineBreaks is used but not matched
alexlamsl [Thu, 4 Feb 2016 10:03:36 +0000 (18:03 +0800)]
fix interaction between collapseWhitespace and removeEmptyElements