Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 22, 2011
  1. Adding CssTransformer - a metaphor to transform input to output css w…

    authored
    …ith the help of a Transform
    
    a) CssTransformer parses the input css and generates CssToken's. BackgroundImage is one such token
    b) These tokens are then sent to a Transform implementation.
    c) Adding several unit tests to verify css parsing
    
    Yet to add concrete implementations of Transform
Commits on Aug 21, 2011
  1. Migrating from ANT to Maven

    authored
    Commiting changes that were missed in previous commit
Commits on Aug 1, 2011
  1. @nzakas

    Merge pull request #31 from tivac/master

    nzakas authored
    Missing File notification should honor verbose setting
  2. @tivac
Commits on Jul 29, 2011
  1. @nzakas

    Merge pull request #28 from tivac/ant-task

    nzakas authored
    Added Ant task
Commits on May 1, 2011
  1. Merge pull request #27 from tivac/max-image-size.

    Nicholas C. Zakas authored
    Max image size
Commits on Apr 29, 2011
  1. @tivac

    CSSEmbedTask.java

    tivac authored
    - Added native Ant task for running CSSEmbed, allows for much faster builds
    - Replicates some of the functionality of CSSEmbed.java but in such a different style I didn't think reconciling them would necessarily be possible.
    
    CSSURLEmbedder.java
    - Count conversions correctly (uri -> datauri wasn't incrementing conversions counter)
    - Clean up some formatting around opening curly braces & "if ()" blocks
    - Wrap total conversion [INFO] line in a verbosity check so it doesn't always output
Commits on Apr 25, 2011
  1. @tivac
  2. @tivac

    Merge branch 'master' of git://github.com/nzakas/cssembed into max-im…

    tivac authored
    …age-size
    
    Conflicts:
    	src/net/nczonline/web/cssembed/CSSEmbed.java
    	src/net/nczonline/web/cssembed/CSSURLEmbedder.java
    	tests/net/nczonline/web/cssembed/CSSURLEmbedderTest.java
  3. @nzakas

    Updated documentation

    nzakas authored
Commits on Apr 24, 2011
  1. @tivac
  2. @tivac

    Standardize some variable naming

    tivac authored
    Clean up tests a bit
  3. @nzakas @tivac

    Merge branch 'master' of git://github.com/nzakas/cssembed into max-im…

    nzakas authored tivac committed
    …age-size
    
    Conflicts:
    	src/net/nczonline/web/cssembed/CSSEmbed.java
    	src/net/nczonline/web/cssembed/CSSURLEmbedder.java
  4. @nzakas @tivac

    Incremented version number

    nzakas authored tivac committed
  5. @tivac

    My changes to use a ByteArrayOutputStream would cause a NullPointerEx…

    tivac authored
    …ception if you didn't specify an output file.
    
    This fixes that, yikes.
  6. @nzakas
  7. @nzakas

    Incremented version number

    nzakas authored
Commits on Apr 19, 2011
  1. @tivac

    Add -i/--image-size parameter, which lets you only convert files unde…

    tivac authored
    …r a certain number of bytes.
    
    This tackles the first of two options Nicholas mentioned in Issue #6
  2. @tivac

    My changes to use a ByteArrayOutputStream would cause a NullPointerEx…

    tivac authored
    …ception if you didn't specify an output file.
    
    This fixes that, yikes.
  3. @tivac

    Issue #20

    tivac authored
    Fix testRegularUrlWithMhtml
    Add testAbsoluteLocalFileUnderMaxSize
    Add testAbsoluteLocalFileOverMaxSize
  4. @tivac
  5. @tivac

    Merge branch 'max-uri-length' of git://github.com/fearphage/cssembed …

    tivac authored
    …into max-uri-length
    
    Conflicts:
    	src/net/nczonline/web/cssembed/CSSEmbed.java
  6. @tivac
  7. @tivac
  8. @nzakas
Commits on Apr 18, 2011
  1. @tivac

    Issue #22

    tivac authored
    Make allowing missing file an option (--allowmissingfiles)
    Update previous try/catch in CSSURLEmbedder.java to catch & throw if missing file option not set
    Tests for regular mode (missing file throws IOException), & allow missing mode (missing file ok!)
  2. @tivac

    Issue #21

    tivac authored
    Write to a ByteArrayOutputStream instead of a FileOutputStream, which lets us store the results of the tool in memory until we've succeeded (the finally block) before writing to disk using a FileOutputStream.
  3. @tivac

    Issue #22

    tivac authored
    A missing local file shouldn't throw an error all the way up the chain & stop execution, so add a try/catch block to handle it.
Commits on Apr 8, 2011
  1. don't prepend empty mhtml headers

    phred authored
  2. removed unneed parentheses

    phred authored
  3. added support for max URI length

    phred authored
    new command-line flag:
      -u, --maxuri length
Commits on Mar 6, 2011
  1. @nzakas
Commits on Feb 24, 2011
  1. @fearphage
Something went wrong with that request. Please try again.