Jakub Pawlowicz [Sat, 5 Jul 2014 13:28:16 +0000 (14:28 +0100)]
Version 2.2.6.
Jakub Pawlowicz [Sat, 5 Jul 2014 13:25:37 +0000 (14:25 +0100)]
Adds faster quote matching in QuoteScanner.
Jakub Pawlowicz [Sat, 5 Jul 2014 11:08:07 +0000 (12:08 +0100)]
Fixes #308 - parsing comments in quoted urls.
Jakub Pawlowicz [Sat, 5 Jul 2014 12:58:17 +0000 (13:58 +0100)]
Improves QuoteScanner to handle comments correctly.
Jonathan-L [Thu, 3 Jul 2014 11:52:45 +0000 (12:52 +0100)]
Fixes #311 - exception with leading/trailing decimal point.
Jakub Pawlowicz [Sun, 29 Jun 2014 22:19:18 +0000 (23:19 +0100)]
Version 2.2.5.
Jakub Pawlowicz [Sun, 29 Jun 2014 22:16:46 +0000 (23:16 +0100)]
Replaces same horizontal & vertical value in border-radius.
* border-radius:1em/1em can be turned into border-radius:1em.
Jakub Pawlowicz [Sun, 29 Jun 2014 21:28:03 +0000 (22:28 +0100)]
Removes extra spaces around / in border-radius.
* Apparently horizontal & vertical values can be separated by '/' without spaces around - thanks @XhmikosR.
Jakub Pawlowicz [Sun, 29 Jun 2014 20:57:12 +0000 (21:57 +0100)]
Shortens `border-radius` addFourValueShorthand calls.
Jakub Pawlowicz [Sun, 29 Jun 2014 20:41:47 +0000 (21:41 +0100)]
Refactors addFourValueShorthand to accept hash of options.
Eric Anderson [Fri, 27 Jun 2014 22:19:20 +0000 (18:19 -0400)]
Fixes #305 - allows width keywords in border-width.
When not all sides are specified for things like border/padding/margin
it appears clean-css attempts to normalize the data
(i.e "2px 5px" -> "2px 5px 2px 5px"). This normalization appears to
only look for things matched to cssUnitAnyRegexStr. cssUnitAnyRegexStr
doesn't include width keywords.
The width keywords were already specified for validating outline width.
This commit renames that list to be more generic (just widthKeywords). It
then adds this list to the cssUnitAnyRegexStr regexp.
This commit fixes #305. In addition I added "initial" to the list of
width keywords to fix gruntjs/grunt-contrib-cssmin#103 which is the
issue that lead me to writing this patch. So this commit should solve
that as well.
Jakub Pawlowicz [Fri, 27 Jun 2014 22:09:08 +0000 (23:09 +0100)]
Version 2.2.4.
Jakub Pawlowicz [Fri, 27 Jun 2014 22:04:33 +0000 (23:04 +0100)]
Fixes #301 - proper border-radius processing.
* Makes sure horizontal / vertical values of border-radius are respected.
Goal Smashers Dev Team [Thu, 26 Jun 2014 21:11:46 +0000 (22:11 +0100)]
Merge pull request #303 from itrelease/master
Preserve viewport units
Anton Byrna [Thu, 26 Jun 2014 10:34:12 +0000 (14:34 +0400)]
Preserve viewport units
Jakub Pawlowicz [Tue, 24 Jun 2014 21:28:12 +0000 (22:28 +0100)]
Version 2.2.3.
Jakub Pawlowicz [Tue, 24 Jun 2014 21:27:12 +0000 (22:27 +0100)]
Fixes #302 - handling of outline-style: auto.
Jakub Pawlowicz [Wed, 18 Jun 2014 21:52:00 +0000 (22:52 +0100)]
Fixes History.md links to version diffs.
Jakub Pawlowicz [Wed, 18 Jun 2014 21:50:16 +0000 (22:50 +0100)]
Version 2.2.2.
Jakub Pawlowicz [Wed, 18 Jun 2014 21:43:09 +0000 (22:43 +0100)]
Fixes #297 - box-shadow zeros minification.
Goal Smashers Dev Team [Tue, 17 Jun 2014 06:52:50 +0000 (07:52 +0100)]
Merge pull request #300 from poying/master
Adds reference to component-builder2 build tool.
Po-Ying Chen [Tue, 17 Jun 2014 00:25:37 +0000 (08:25 +0800)]
add component-builder2
Goal Smashers Dev Team [Sat, 14 Jun 2014 18:37:31 +0000 (19:37 +0100)]
Merge pull request #296 from shinnn/master
Add list of clean-css plugins, instead of uncss's.
Jakub Pawlowicz [Sat, 14 Jun 2014 08:31:11 +0000 (09:31 +0100)]
Version 2.2.1.
Jakub Pawlowicz [Sat, 14 Jun 2014 08:25:47 +0000 (09:25 +0100)]
Fixes #294 - space after rgba/hsla is required in IE<=11.
* #165 introduced the bug.
shinnn [Sat, 14 Jun 2014 08:26:14 +0000 (17:26 +0900)]
Add list of clean-css plugins, instead of uncss's
Jakub Pawlowicz [Sat, 14 Jun 2014 08:01:16 +0000 (09:01 +0100)]
Fixes new property optimizer for 'none' values.
Jakub Pawlowicz [Wed, 11 Jun 2014 21:20:11 +0000 (22:20 +0100)]
Version 2.2.0.
Jakub Pawlowicz [Wed, 11 Jun 2014 21:04:26 +0000 (22:04 +0100)]
Fixes #276 - unicode content mistakenly taken as IE hacks.
Jakub Pawlowicz [Wed, 11 Jun 2014 21:02:19 +0000 (22:02 +0100)]
Moves escaping specs under cssContext.
Jakub Pawlowicz [Wed, 11 Jun 2014 20:56:24 +0000 (21:56 +0100)]
Updates History.md with #293 fix.
Goal Smashers Dev Team [Wed, 11 Jun 2014 06:52:34 +0000 (07:52 +0100)]
Merge pull request #293 from leevigraham/master
Honour escaped @ symbols in classnames and ids
Leevi Graham [Tue, 10 Jun 2014 08:39:51 +0000 (18:39 +1000)]
Honour escaped @ symbols in classnames and ids
Fixes: https://github.com/GoalSmashers/clean-css/issues/292
Jakub Pawlowicz [Mon, 9 Jun 2014 22:40:42 +0000 (23:40 +0100)]
Improves protocol import tests to avoid DNS lookup.
Jakub Pawlowicz [Sun, 8 Jun 2014 20:31:17 +0000 (21:31 +0100)]
Disables new property optimizer if body is not optimizable.
Jakub Pawlowicz [Sun, 8 Jun 2014 20:12:19 +0000 (21:12 +0100)]
Adds caching components.length in shorthand compactor.
Jakub Pawlowicz [Sun, 8 Jun 2014 19:51:01 +0000 (20:51 +0100)]
Adds faster Token#detokenize.
Goal Smashers Dev Team [Sun, 8 Jun 2014 17:02:13 +0000 (18:02 +0100)]
Merge pull request #291 from tomByrer/patch-1
Adds references to Gulp, Broccoli, Brunch, & Addy's build-tools in readme.
tomByrer [Sun, 8 Jun 2014 15:49:02 +0000 (09:49 -0600)]
+ Gulp, Broccoli, Brunch, & Addy's build-tools
Jakub Pawlowicz [Sun, 8 Jun 2014 14:07:25 +0000 (15:07 +0100)]
Fixes list-style-* advanced processing.
Jakub Pawlowicz [Sun, 8 Jun 2014 13:24:04 +0000 (14:24 +0100)]
Fixes #210 - adds temporary workaround for aggressive property merging.
Using `--skip-aggressive-merging` / `noAggressiveMerging` switch skips property merging based on order.
Will be fixed in #290.
Jakub Pawlowicz [Sat, 7 Jun 2014 22:08:24 +0000 (23:08 +0100)]
Adds browserify info to changelog.
Goal Smashers Dev Team [Sat, 7 Jun 2014 21:29:53 +0000 (22:29 +0100)]
Merge pull request #262 from XhmikosR/browserify
Adds browserify support.
Jakub Pawlowicz [Sat, 7 Jun 2014 21:14:09 +0000 (22:14 +0100)]
Fixes #288 - adds smarter expression parsing.
Jakub Pawlowicz [Thu, 5 Jun 2014 22:34:41 +0000 (23:34 +0100)]
Fixes #287 - adds `--rounding-precision` to control rounding precision.
XhmikosR [Tue, 18 Mar 2014 05:56:50 +0000 (07:56 +0200)]
Add browserify support.
Use uglify-js2 to minify the browserify bundle.
Jakub Pawlowicz [Thu, 5 Jun 2014 21:43:33 +0000 (22:43 +0100)]
Adds minifying remote files directly from CLI.
Jakub Pawlowicz [Wed, 4 Jun 2014 23:05:40 +0000 (00:05 +0100)]
Fixes #265 - adds support for multiple input files.
Jakub Pawlowicz [Tue, 3 Jun 2014 22:02:38 +0000 (23:02 +0100)]
Fixes #246 - removes IE hacks when not in compatibility mode.
Jakub Pawlowicz [Mon, 2 Jun 2014 22:19:33 +0000 (23:19 +0100)]
Fixes #257 - turns hsla/rgba to transparent if possible.
It's possible unless in compatibility mode as IE<9 understands transparent but does not rgba/hsla.
Goal Smashers Dev Team [Mon, 2 Jun 2014 07:00:48 +0000 (08:00 +0100)]
Merge pull request #285 from shinnn/master
Uses original JSHint instead of the fork.
Jakub Pawlowicz [Sun, 1 Jun 2014 21:29:32 +0000 (22:29 +0100)]
Fixes #197 - merging borders by understandability.
* Adds border processor so all border declarations are reprocessed into: <width> <style> <color>.
shinnn [Sun, 1 Jun 2014 12:34:24 +0000 (21:34 +0900)]
Use original JSHint instead of fork
shinnn [Sun, 1 Jun 2014 12:27:44 +0000 (21:27 +0900)]
Fix CI setting to pass the test against Node v0.8
Jakub Pawlowicz [Sat, 31 May 2014 20:45:53 +0000 (21:45 +0100)]
Fixes #275 - -ms-transform translate/translate3d overriding.
* Fixes similar cases for other prefixes and unprefixed transform.
Jakub Pawlowicz [Sat, 31 May 2014 21:50:22 +0000 (22:50 +0100)]
Adds a custom build on jshint compatible with node 0.8.x.
Goal Smashers Dev Team [Sat, 26 Apr 2014 23:16:59 +0000 (00:16 +0100)]
Merge pull request #277 from XhmikosR/master
Update nock to 0.28.x.
XhmikosR [Fri, 25 Apr 2014 05:09:57 +0000 (08:09 +0300)]
Update nock to 0.28.x.
Goal Smashers Dev Team [Mon, 14 Apr 2014 19:03:04 +0000 (20:03 +0100)]
Merge pull request #274 from XhmikosR/master
README.md: switch to SVG badges.
XhmikosR [Wed, 9 Apr 2014 08:09:04 +0000 (11:09 +0300)]
README.md: switch to SVG badges.
Goal Smashers Dev Team [Fri, 4 Apr 2014 06:40:54 +0000 (07:40 +0100)]
Merge pull request #271 from XhmikosR/jshint
Updates JSHint to 2.5.0.
XhmikosR [Wed, 2 Apr 2014 06:43:40 +0000 (09:43 +0300)]
Update JSHint to 2.5.0.
Goal Smashers Dev Team [Sat, 29 Mar 2014 19:46:06 +0000 (19:46 +0000)]
Merge pull request #269 from XhmikosR/commas
Removes unneeded commas.
Goal Smashers Dev Team [Sat, 29 Mar 2014 19:39:41 +0000 (19:39 +0000)]
Merge pull request #268 from XhmikosR/master
Update commander dependency.
Goal Smashers Dev Team [Sat, 29 Mar 2014 19:39:29 +0000 (19:39 +0000)]
Merge pull request #270 from XhmikosR/history
Updates History.md.
XhmikosR [Sat, 29 Mar 2014 18:02:55 +0000 (20:02 +0200)]
Update History.md.
XhmikosR [Sat, 29 Mar 2014 17:55:12 +0000 (19:55 +0200)]
Remove unneeded commas.
XhmikosR [Sat, 29 Mar 2014 17:44:14 +0000 (19:44 +0200)]
Update commander dependency.
Jakub Pawlowicz [Fri, 28 Mar 2014 18:31:42 +0000 (18:31 +0000)]
Version 2.1.8.
Jakub Pawlowicz [Fri, 28 Mar 2014 18:30:36 +0000 (18:30 +0000)]
Fixes #267 - incorrect non-adjacent selector merging.
Goal Smashers Dev Team [Mon, 24 Mar 2014 21:44:17 +0000 (21:44 +0000)]
Merge pull request #261 from XhmikosR/master
Clean up .jshintrc.
Jakub Pawlowicz [Mon, 24 Mar 2014 20:34:58 +0000 (20:34 +0000)]
Version 2.1.7.
Jakub Pawlowicz [Mon, 24 Mar 2014 20:31:39 +0000 (20:31 +0000)]
Fixes #264 - processing `@import` statements inside comments.
XhmikosR [Tue, 18 Mar 2014 06:27:12 +0000 (08:27 +0200)]
Clean up .jshintrc.
Jakub Pawlowicz [Mon, 10 Mar 2014 07:53:00 +0000 (07:53 +0000)]
Version 2.1.6.
Jakub Pawlowicz [Mon, 10 Mar 2014 07:51:18 +0000 (07:51 +0000)]
Fixes wrong @import handling in EmptyRemoval.
Since @import declarations are special to any selectors or blocks
these were not handled properly in EmptyRemoval.
Jakub Pawlowicz [Fri, 7 Mar 2014 20:44:20 +0000 (20:44 +0000)]
Version 2.1.5.
Jakub Pawlowicz [Fri, 7 Mar 2014 20:42:15 +0000 (20:42 +0000)]
Fixes #255 - incorrect processing of a trailing '-0' in selectors.
Goal Smashers Dev Team [Fri, 7 Mar 2014 07:05:06 +0000 (07:05 +0000)]
Merge pull request #252 from hhua/box_shadow_zeros
Fixes minifying box-shadow with three zeros.
Han Hua [Wed, 5 Mar 2014 19:58:54 +0000 (13:58 -0600)]
Fixes #252 - box-shadow with three zeros compression
Jakub Pawlowicz [Wed, 5 Mar 2014 08:09:55 +0000 (08:09 +0000)]
Adds a list of issues fixed by @Venemo.
See
ea941cb165abe1e74f87bd46299f0526add9c205 for details.
Jakub Pawlowicz [Wed, 5 Mar 2014 08:01:04 +0000 (08:01 +0000)]
Adds an acknowledgment for @Venemo.
* Ensures the list is sorted alphabetically (by GH username).
Goal Smashers Dev Team [Wed, 5 Mar 2014 07:39:31 +0000 (07:39 +0000)]
Merge pull request #249 from Venemo/master
New, shiny property optimizer.
Timur Kristóf [Tue, 4 Mar 2014 09:36:47 +0000 (10:36 +0100)]
Implemented stylistic changes as asked
Goal Smashers Dev Team [Tue, 4 Mar 2014 06:50:06 +0000 (06:50 +0000)]
Adds a link to our style guide.
Jakub Pawlowicz [Sat, 1 Mar 2014 08:59:59 +0000 (08:59 +0000)]
Refixes #250 via new quotation marks removal algorithm.
Jakub Pawlowicz [Sat, 1 Mar 2014 08:52:27 +0000 (08:52 +0000)]
Adds a better algorithm for quotation marks' removal.
Quotation removal is now done via data traversal rather than regexp so
it is much more flexible.
Also adds a property name scanner to quickly locate last matching property
at a given location.
Jakub Pawlowicz [Sat, 1 Mar 2014 04:46:18 +0000 (04:46 +0000)]
Moves quotation matching into a QuoteScanner class.
Jakub Pawlowicz [Sat, 1 Mar 2014 09:07:57 +0000 (09:07 +0000)]
Version 2.1.4.
Jakub Pawlowicz [Sat, 1 Mar 2014 09:05:55 +0000 (09:05 +0000)]
Fixes #250 - correctly handle JSON data in quotations.
It's a quick fix. Proper one comes to master soon.
Timur Kristóf [Fri, 28 Feb 2014 15:27:57 +0000 (16:27 +0100)]
Some final touches and more tests
Timur Kristóf [Fri, 28 Feb 2014 14:49:05 +0000 (15:49 +0100)]
New optimizer supports border-radius, border-color, border-style, border-width
Timur Kristóf [Fri, 28 Feb 2014 13:28:35 +0000 (14:28 +0100)]
Splitting the new property optimizer into separate modules
Timur Kristóf [Thu, 27 Feb 2014 23:36:57 +0000 (00:36 +0100)]
Shiny new property optimizer
Jakub Pawlowicz [Thu, 27 Feb 2014 07:13:03 +0000 (07:13 +0000)]
Moves JSHint config out of package.json.
Jakub Pawlowicz [Wed, 26 Feb 2014 20:59:48 +0000 (20:59 +0000)]
Version 2.1.3.
Jakub Pawlowicz [Wed, 26 Feb 2014 20:56:31 +0000 (20:56 +0000)]
Fixes #248 - incorrect merging of vendor selectors.
Vendor selectors can be merged or override other properties if redefine same selectors only, e.g.
a{color:red}a,::-webkit-scrollbar{color:blue} once merged would not yield red links in all browsers but webkit based.
Jakub Pawlowicz [Tue, 25 Feb 2014 21:24:05 +0000 (21:24 +0000)]
Fixes #247 - gets rid of deprecated selectorsMergeMode option.
Jakub Pawlowicz [Tue, 25 Feb 2014 21:16:06 +0000 (21:16 +0000)]
Makes optimizer code a bit more understandable.
Jakub Pawlowicz [Tue, 25 Feb 2014 21:01:08 +0000 (21:01 +0000)]
Version 2.1.2.