Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync origin #12

Merged
merged 20 commits into from
Feb 13, 2014
Merged

sync origin #12

merged 20 commits into from
Feb 13, 2014

Commits on Feb 8, 2014

  1. GzipSource beginnings.

    squarejesse authored and Adrian Cole and Jesse Wilson committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    2c6f99d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #510 from square/jwilson_0203_gzip_beginnings

    GzipSource beginnings.
    swankjesse committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    1b25214 View commit details
    Browse the repository at this point in the history
  3. Rename byteAt to getByte.

    Should we later support random access for other primitives
    or random bulk access, I'd like the prefix to stay constant
    (getByte, getInt, getLong, getBytes) vs. the suffix (byteAt,
    intAt, longAt). Prefixing may work better for autocomplete
    in IDEs, particularly since we already use a prefix for our
    consuming reads (readByte, readInt, readLong).
    squarejesse committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    1f97e6b View commit details
    Browse the repository at this point in the history
  4. Fix some OkBuffer bugs.

    GzipSource exceptions used six hex digits instead of
    8 to print ints.
    
    readUtf8 always did an extra copy of the bytes being
    read.
    
    Moving bytes between buffers crashed when the destination
    was empty and the source was a prefix.
    
    InputStream reading returned values in -128..127 instead
    of in 0..255.
    squarejesse committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    cd16580 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #516 from square/jwilson_0208_byte_at_to_get_byte

    Rename byteAt to getByte.
    Adrian Cole committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    4c8ce7c View commit details
    Browse the repository at this point in the history
  6. Merge pull request #517 from square/jwilson_0208_buffer_fixes

    Fix some OkBuffer bugs.
    Adrian Cole committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    1151c98 View commit details
    Browse the repository at this point in the history
  7. Initial implementation of an OkHttp-backed curl clone.

    JakeWharton authored and Adrian Cole committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    acd45e1 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #514 from square/jw/okcurl

    Initial implementation of an OkHttp-backed curl clone.
    JakeWharton committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    de6d505 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2014

  1. fix #184: OkHttp no longer uses default ssl context.

    Adrian Cole committed Feb 9, 2014
    Configuration menu
    Copy the full SHA
    5d7fdba View commit details
    Browse the repository at this point in the history
  2. Merge pull request #518 from square/adrian.okclient-provided-sslcontext

    OkHttp no longer uses default ssl context.
    swankjesse committed Feb 9, 2014
    Configuration menu
    Copy the full SHA
    f11832d View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2014

  1. Add -X to okcurl, permitting HEAD requests.

    Adrian Cole committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    6587a86 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #522 from square/adrian.curl-X

    Add -X to okcurl, permitting HEAD requests
    JakeWharton committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    12f7e64 View commit details
    Browse the repository at this point in the history
  3. Use OkBuffer in spdy/3 source stream.

    This isn't quite as simple as I had hoped. We still lack something
    like DataInputStream/BufferedInputStream that combines a buffer with
    a Source. That means there's a bunch of methods that must manually
    refill the buffer before acting upon it.
    
    I'm going to continue to migrate code, and will follow up with
    changes to simplify this interaction.
    squarejesse committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    d60d8e1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #519 from square/jwilson_0209_okbuffer_in_spdy3_so…

    …urce
    
    Use OkBuffer in spdy/3 source stream.
    swankjesse committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    a2cb34d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    72d5fae View commit details
    Browse the repository at this point in the history
  6. Merge pull request #523 from square/jwilson_0211_okbuffer_in_http2_so…

    …urce
    
    Use OkBuffer in http/2 source stream
    swankjesse committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    545807e View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2014

  1. BufferedSource.

    The Source API is nice for source implementors: no annoying
    skip method, no annoying available() method, just one API to
    supply bytes to the caller.
    
    But it isn't as nice of an API for source callers. It lacks
    convenient APIs!
    
    This bridges the gap. Calling code should use BufferedSource,
    and implementing code should implement Source.
    squarejesse committed Feb 12, 2014
    Configuration menu
    Copy the full SHA
    9c6a433 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #524 from square/jwilson_0211_buffered_source

    BufferedSource.
    Adrian Cole committed Feb 12, 2014
    Configuration menu
    Copy the full SHA
    c40cb63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8507d0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #526 from square/jwilson_0212_okbuffer_in_spdystream

    Use OkBuffer in SpdyStream.
    swankjesse committed Feb 12, 2014
    Configuration menu
    Copy the full SHA
    8720ab4 View commit details
    Browse the repository at this point in the history