-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
99 lines (79 loc) · 3.92 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Revision history for Perl extension CSS::Minifier::XS.
{{$NEXT}}
0.13 2021-02-06 17:26:39-08:00 America/Vancouver
- Internals; avoid allocating memory for each node as we tokenize the
document, and simply use pointers back into original string.
- Dramatically improves performance; local testing shows boost from
~25MB/s to ~85MB/s
- Improve zero value minification further
- Simplified whitespace compaction
0.12 2021-01-30 21:46:07-08:00 America/Vancouver
- rewrote test suite into a single ".t" test
- GH #1 / RT #97574; whitespace before a ":" in a pseudo-selector is
meaningful and needs to be preserved (e.g. "#link :visited")
- Further reductions of "zero values", when possible
- "00000px" and "0.0px" become "0px"
- "000%" and "0.0%" become "0%"
- units are preserved inside of functions, but eliminated otherwise, and
percentages are always left as a percentages
- Optimized whitespace collapsing
- Optimized memory usage and string copying
0.11 2020-12-30 21:27:39-08:00 America/Vancouver
- POD spelling fixes
- Switch to DZil Author Bundle
0.10 2020-12-28 11:00:17-08:00 America/Vancouver
- RT #90879; correct minification of %s in "hsl()" and "hsla()" functions
Thanks to Philipp Soehnlein
- RT #103231; don't remove units on zero values inside of functions.
Thanks to Isaac Montoya, for an additional test case.
- No long drop units on zero percentages, as those may be required for CSS
animations. Thanks to Isaac Montoya for continuing to poke me on this.
- Now prunes leading whitespace before "!important"
e.g. "color: red !important" becomes "color:red!important"
- Switch to Dist::Zilla
0.09 Wed Oct 31 13:00 PDT 2013
- RT #85350; retain WS around "+" and "-" operators, so that we don't break
the "calc()" function by accident.
Thanks to Philipp Soehnlein
- RT #60239; remove WS around ">" and "~" selector combinators
Thanks to Jacob R.
- RT #60238; remove units on zero values (e.g. "0px" -> "0")
Thanks to Jacob R.
- RT #85896 and #79792; allow builds on Perls older than 5.8.8
Thanks to Michael Robinton
0.08 Tue Nov 2 22:25 PDT 2010
- Bump Perl requirement to 5.8.8; oldest release with Newxz()
0.07 Wed Jul 21 21:09 PDT 2010
- RT #39978; use 'Newxz/Safefree' instead of 'malloc/free' for memory
allocation. Thanks to Kenichi Ishigaki.
0.06 Wed Jul 21 20:44 PDT 2010
- RT #59549; '(' should retain leading WS, as needed for @media queries.
Thanks to Mike Cardwell.
0.05 Fri Apr 23 22:29 PDT 2010
- Switch to Git
0.04 Thu Aug 6 22:03 PDT 2009
- fix invalid "L<text|scheme:...>" POD sequence
0.03 Wed Jul 16 23:22 PDT 2008
- RT #36557: Nasty segfault on minifying comment-only css input.
Turned out to be *any* input that minified to "nothing" caused the
segfault, and only in certain Perl versions.
0.02 Tue May 6 00:16 PDT 2008
- rebuild packages; EU::MM borked my META.yml
0.01 Mon May 5 15:15 PDT 2008
- no changes from 0.01_06, but is non-devel
0.01_06 Wed Oct 31 20:39 PDT 2007
- retain whitespace after ")" characters; MSIE needs the whitespace, even
though the W3 validator considers the results valid CSS.
0.01_05 Sat Oct 20 22:52 PDT 2007
- don't use "strcasestr()"; not available on Solaris
0.01_04 Wed Oct 17 15:57 PDT 2007
- fix t/02-minify.t so it doesn't try to "use_ok()" before issuing a test
plan
0.01_03 Tue Oct 16 19:45 PDT 2007
- don't use "strndup()"; not available on all systems
- we require Perl 5.006; update Build.PL and XS.pm to denote this
0.01_02 Tue Oct 16 12:18 PDT 2007
- relocate the XS file so that its picked up properly by EU::MM when
running "perl Makefile.PL" to do a build.
0.01_01 Mon Oct 15 22:11 PDT 2007
- initial public version