Permalink
Commits on Nov 14, 2012
  1. Update the Maven dependency in the README to refer to the latest rele…

    candrews committed Nov 14, 2012
    …ased version, which is currently 1.3.
Commits on Sep 29, 2012
  1. Use a bundled MD5 implementation instead of MessageDigest.getInstance…

    candrews committed Sep 29, 2012
    …(String)
    
    MessageDigest.getInstance(String) isn't thread safe, but it should be.
    On Android, if that static method is invoked by multiple threads simultaneously,
    a ConcurrentModificationException is thrown. This affects only Android -
    Sun/Oracle/Open JREs all work correctly.
    see https://code.google.com/p/android/issues/detail?id=37937
    So use our own MD5 implementation instead.
  2. Revert "Add a workaround for java.security.MessageDigest.getInstance(…

    candrews committed Sep 29, 2012
    …String) not being thread safe, but should be"
    
    This reverts commit a93c92d.
    
    This fix isn't good enough - another thread could still be calling MessageDigest.getInstance(String) at the same time, and clone() isn't well understood/specified for MessageDigest (ex is *it* thread safe?).
Commits on Sep 28, 2012
Commits on Sep 5, 2012
  1. Use the "libcore" package instead of the "com.integralblue.httprespon…

    candrews committed Sep 5, 2012
    …secache.compat.libcore" package
    
    Use jarjar to relocate the "libcore" package to "com.integralblue.httpresponsecache.compat.libcore" at package time
    
    This should make pulling in updates from AOSP a lot easier
Commits on Aug 16, 2012
Commits on Aug 13, 2012
  1. Don't use java.io.IoException(Throwable) constructor. It is not avail…

    candrews committed Aug 13, 2012
    …able in Java 1.5 and therefore not in Android API < 9
  2. Don't use java.lang.String.isEmpty() as it doesn't exist in Java 1.5 …

    candrews committed Aug 13, 2012
    …(which is Android API < 9)
Commits on Aug 9, 2012
  1. Fix checkstyle violations

    candrews committed Aug 9, 2012
Commits on Aug 8, 2012
  1. Merge pull request #13 from kevinsawicki/patch-1

    candrews committed Aug 8, 2012
    Add code block fences
Commits on Aug 7, 2012
  1. Add code block fences

    kevinsawicki committed Aug 7, 2012
    Adds syntax highlighting for XML and Java snippets
  2. Only call URL.setURLStreamHandlerFactory once

    candrews committed Aug 7, 2012
    Calling URL.setURLStreamHandlerFactory a second time causes Java to throw an error.
  3. String.getBytes(Charset) is not available before API 9, so use our co…

    candrews committed Aug 7, 2012
    …mpatibility Strings class instead
Commits on Aug 4, 2012
Commits on Feb 21, 2012
  1. We had an ugly bug where HttpEngine was inspecting its response

    candrews committed Feb 21, 2012
    cache's implementation type, and calling stats tracking methods
    if that type permitted it.
    
    This worked for all the libcore tests, but not in practice since
    the public HttpResponseCache class WRAPS the libcore HttpResponseCache.
    The new interface makes the new APIs called by HttpEngine on its
    cache explicit, and permits the public android.net.HttpResponseCache
    to implement the API.
    
    Bug: http://code.google.com/p/android/issues/detail?id=25418
    -AOSP commits e636ca4d6bd101324bd95fbc817401e6e0b80a2c and 18c227ba72406c0b69ce9925a80113060d870256
Commits on Feb 10, 2012
  1. Fix CheckStyle violations

    candrews committed Feb 10, 2012
  2. Add a README

    candrews committed Feb 10, 2012
Commits on Feb 9, 2012
  1. Add DefaultHostnameVerifier from AOSP

    candrews committed Feb 9, 2012
    Use DefaultHostnameVerifier by default for HttpsUrlConnection's
Commits on Feb 8, 2012