Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 186 lines (147 sloc) 4.821 kb
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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
1.7
---
Added trace option to output SASS compatible debug-info stubs for use with tools like FireSass.
Added @ifdefine directive for dynamically including/excluding parts of a CSS file based on the existence of variables.
Updated plugin API.
Added options for enabling and disabling plugins at runtime.
Added property sorter plugin.
Added support for SASS-like @include/@extend syntax for invoking mixins and extends.
Boilerplate option now accepts a filename string as a boilerplate template.
CssCrush::string() now uses document_root as a default context for finding linked resources.
Updated command line appication.
Updated aliases and initial value files.
Fixed parsing issue introduced in 1.6.1.


1.6.1
-----
Resolved issue #35.
Resolved issue #34.


1.6
---
Inheritance model improved to support adoption of pseudo classes and elements (see wiki).
Added rule self-referencing function this() and complimentary data-* properties.
Added rule referencing function query().
Added default value argument for variables.
Added hsl-adjust() and hsla-adjust() color functions.
Mixin and fragment arg() function can now be nested.
Commas are now optional when specifying arguments for most custom functions.
Double-colon plugin moved to core.
Option rewrite_import_urls now defaults to true.


1.5.3
-----
Refactoring.
Fixed some test cases.


1.5.2
-----
Resolved issue #32.
csscrush::inline method now defaults to not printing a boilerplate.
Updated aliases file.


1.5.1
-----
Extended mixins to work with abstract rules and regular rules.
Fixed issue with selector grouping and inheritance in combination.


1.5
---
New feature: Rule inheritance / abstract rules.
New feature: Block nesting.
New feature: Mixins.
New feature: Fragments.
Abstracted IO interface.
Added some error reporting.
Added spiffing.css plugin.
csscrush_tag method now uses media type 'all' by default.
Updated alias and initial-value tables.
Internal refactoring.
Resolved issue #23.
Resolved issue #24.
Resolved issue #27.
Resolved issue #28.
Resolved issue #29.


1.4.2
-----
Fixed bug with @import statement parsing.
Some minor under the hood changes.


1.4.1
-----
Added command line application.
Added 'rewrite_import_urls' option - Ability to rewrite relative url references inside imported css files.
Added Prepend.css - Optionally prepend css to every input.
Fix for issue #21.
Reorganized aliases file with some additions.
Initial-values updated.
Updated csscrush::string method to correctly handle import statements.


1.4
---
Added initial-keyword plugin (shim for the CSS3 keyword).
Added inline method (Issue #18).
Added ability to escape declarations from aliasing or plugins by prefixing with tilde.
Added procedural style public API to mirror the static class API.
Deprecated @variables syntax for @define. @variables still supported.
Adjusted color functions to accept a space delimiter (as well as comma) in the arguments list.
Surpressed some benign PHP warning messages.
Some internal cleaning up.
Disabled IE6 min-height plugin by default.

.
1.3.6
-----
Improved color functions.
Added a-adjust function for altering a color's opacity.
Deprecated hsl-adjust function (you can use nested color functions instead).
Added the ability to use local versions of alias and plugin files so pull updates don't clobber local settings.

.
1.3.5
-----
Added hook system for plugins.
Plugins split into seperate files.
Aliases and Plugins files renamed with '.ini' file extensions to be editor friendly.
Added opacity plugin.
Updated filter plugin.
Fixed nested custom function parsing (issue #14).


1.3.4
-----
Added output_filename option.
Added vendor_target option.
Renamed 'macros' to the more general 'plugins' and split them into their own files.
Removed superfluous outer containing directory (update your include paths).


1.3.3
-----
Fixed regression with absolute URL file imports (issue #12).
Fixed minification bug (issue #13).


1.3.2
-----
Updated variable syntax.
Fixed minification bug.


1.3.1
-----
Added support for svg and svgz data uris.
Added animation shorthand alias.
Added user-select alias.


1.3
---
Added the public function CssCrush::string for processing raw strings of CSS.
Added color functions.
Added aliases for IE10.


1.2
---
Rewritten the file importer.


1.1
---
Added global variables support.
Added support for variable interpolation within string literals.
Added 'tag' method for outputting an html link tag instead of returning a filename.
Added values aliases, dynamic 'runtime' variables.
Added RGBA macro.
Added IE clip macro.
Added data uri function.
Minor correction to WAMP support.
Minor fix to rule API.


1.0
---
Major refactoring.
Custom functions.
Optional boilerplate.
Double colon syntax shim.
Resolved document root issues.
Minification improvements.


0.9
---
Initial release.
Something went wrong with that request. Please try again.