Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 2, 2015
  1. Merge pull request #656 from westyby/readme-edits

    authored
    Delete duplicated description.
Commits on Sep 1, 2015
  1. @westyby
Commits on Aug 27, 2015
  1. Fixes #652 - order of restoring and removing unused tokens.

    authored
    We should first restore token and then remove unused tokens as this
    way the positions don't get mangled.
  2. Version 3.4.0.

    authored
  3. Adds testing source maps in batch mode.

    authored
    Previous couple commits were fixes identified by this change, where
    output with source maps was different than one without.
  4. Fixes removing unused items.

    authored
    Items should be removed by position as it is not guaranteed that
    there are no comments somewhere in between. Affects both modes - source
    maps on & off.
  5. Improves `outline` break up with source maps.

    authored
    Another example where JS type coercion betrayed us.
  6. Adds better comments + keepBreaks handling.

    authored
    Basically we should remove a comment AND a subsequent line break when
    restoring. This is again due to doing it too late, see #407.
  7. Adds better text normalizing in source maps mode.

    authored
    This is making me uneasy as we needed a slightly bigger hack to
    push context to text processor's escape.
    
    See #407.
  8. Fixes non-adjacent optimizations for source maps.

    authored
    We've been comparing wrong things as AST is different.
Commits on Aug 25, 2015
  1. Fixes #632 - adds disabling remote imports.

    authored
    So far we only had an option to skip inlining of all imports, but
    with this commit a fine-grained control is added, e.g. import from
    all but fonts.googleapis.com:
    
    API: `new CleanCSS({ processImportFrom: ['!fonts.googleapis.com'] })`
    CLI: `cleancss --skip-import-from fonts.googleapis.com`
    
    To skip all local imports:
    
    API: `new CleanCSS({ processImportFrom: ['remote'] })`
    CLI: `cleancss --skip-import-from local`
    
    To skip all remote and certain local imports:
    
    API: `new CleanCSS({ processImportFrom: ['local', '!path/to/file'] })`
    CLI: `cleancss --skip-import-from remote,path/to/file`
Commits on Aug 24, 2015
  1. Adds support for Polymer mixins.

    authored
    We lacked support of property-level blocks (just simple values) so
    this commit adds this with a special handling of properties in
    tokenizer, simple & advanced optimization, and stringifier.
    
    See: https://www.polymer-project.org/1.0/docs/devguide/styling.html#custom-css-mixins
  2. Replaces Chunker with uber-powerful split.

    authored
    These two were doing basically the same thing, while the latter
    being smarter about a context.
  3. Improves splitting strings when keeping values.

    authored
    The last value in a string always included a separator while sometimes
    it should not.
  4. Adds proper handling of an open split character.

    authored
    When split value starts with an level openinig character we were not
    handling such cases correctly.
  5. Adds breaking splits on a closing token.

    authored
    So we can break body on a closing brace which is a separator at the
    same time.
  6. Adds support for custom split separators.

    authored
    It defaults to braces as before but it can be customized to anything now.
  7. Adds support for Polymer / Web Components selectors.

    authored
    These include
    * :host and ::content for Polymer
    * /deep/ and ::shadow for Web Components
    
    See #648.
  8. Refixes #648 - apply at-rule support.

    authored
    We were not trimming the token before checking for @ character so
    only rules without whitespace were working fine.
Commits on Aug 21, 2015
  1. Fixes #596 - support for !ie IE<8 hack.

    authored
    !ie fix is like a backslash hack for IE<10.
  2. Orders CLI options.

    authored
Commits on Aug 20, 2015
  1. Updates install requirements.

    authored
    Adds io.js 3.0+ as we test against it and it'll become Node.js 4 at
    some point.
  2. Adds missing compatibility docs.

    authored
    Missing since adding in, pt, and pc to unit minification.
  3. Removes 2.x -> 3.x upgrade guide.

    authored
    We are at 3.4 already and if anyone needs it a 3.x branch still
    has it.
Something went wrong with that request. Please try again.