Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: square/okio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: parent-3.8.0
Choose a base ref
...
head repository: square/okio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: parent-3.9.0
Choose a head ref
  • 19 commits
  • 101 files changed
  • 9 contributors

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    e9b7133 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Initial implementation of InflaterSource and DeflaterSink (#1427)

    * Initial implementation of InflaterSource and DeflaterSink
    
    * Add some tests for exception handling
    
    * More tests
    
    * Fix names of wrapped streams
    swankjesse authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    18dfed0 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Implement CRC32 (#1432)

    * Implement CRC32
    
    On Kotlin/Native this uses the built-in zlib
    
    * Update okio/src/nativeMain/kotlin/okio/internal/CRC32.kt
    
    Co-authored-by: Jake Wharton <[email protected]>
    
    * Suppress Spotless warning
    
    ---------
    
    Co-authored-by: Jake Wharton <[email protected]>
    swankjesse and JakeWharton authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    8f66c57 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    6e119e8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1435 from square/jw.read-byte-string.2024-02-14

    Add `readByteString` cinterop extension
    JakeWharton authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    55b7210 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Do expect/actual for shared code in Deflater (#1434)

    * Do expect/actual for shared code in Deflater
    
    * Fixup tests
    
    * Fixup golden compressed size
    
    * Promote docs to shared source set
    
    * Use nicer APIs in tests
    
    * Spotless
    
    * Track magic values for nowrap=false
    swankjesse authored Feb 18, 2024
    Configuration menu
    Copy the full SHA
    e941f18 View commit details
    Browse the repository at this point in the history
  2. Prevent caching URLConnection files in ResourceFileSystem (#1428)

    * Fix for #1364
    
    * Fix issue for Java8 testing
    
    * Ensure fileLeakInResourceFileSystemTest runs only if `/proc` is available
    pablobaxter authored Feb 18, 2024
    Configuration menu
    Copy the full SHA
    b8dbaae View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Make GzipSink and GzipSource multiplatform (#1436)

    * Make GzipSink and GzipSource multiplatform
    
    This layers on top of the newly-multiplatformed Inflater,
    Deflater, and CRC32.
    
    * Suppress some Spotless warnings
    
    * More Spotless
    swankjesse authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    e5a3366 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Use constant files in ZipFileSystemTest (#1437)

    This should make it possible to run this test on platforms
    where programatically creating .zip files is difficult.
    swankjesse authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    c437fa6 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Handle DOS dates in Kotlin/Multiplatform (#1438)

    * Handle DOS dates in Kotlin/Multiplatform
    
    This might be foolish. The total amount of new code is
    relatively small (45 lines of code), but that code does
    something we don't otherwise want to be doing in Okio -
    date math.
    
    But this unblocks implementing ZipFileSystem in Kotlin/Native.
    
    * Don't loop in addDay
    swankjesse authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3bcb813 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Get openZip working on KotlinNative (#1439)

    * Get openZip working on KotlinNative
    
    * No assertk for wasmJs or wasmWasi
    
    * Make okioRoot lazy
    swankjesse authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    20b83aa View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Tag the language in code samples (#1445)

    * Tag the language in code samples
    
    * Update okio-nodefilesystem/src/main/kotlin/okio/FsJs.kt
    
    Co-authored-by: Benoît Quenaudon <[email protected]>
    
    ---------
    
    Co-authored-by: Benoît Quenaudon <[email protected]>
    swankjesse and oldergod authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    eb0b918 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Update actions/setup-java action to v4.1.0 (#1446)

    * Update actions/setup-java action to v4.1.0
    
    * Update build.yml
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jake Wharton <[email protected]>
    renovate[bot] and JakeWharton authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0b889e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    6c96879 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1451 from square/renovate/org.jetbrains.dokka-dok…

    …ka-gradle-plugin-1.x
    
    Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.20
    JakeWharton authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    2c0d99e View commit details
    Browse the repository at this point in the history
  3. Get ZipFileSystem to prefer NTFS timestamps when present (#1449)

    * Get ZipFileSystem to prefer NTFS timestamps when present
    
    They don't have a time bomb in 2038.
    
    * Add a missing import
    
    But why didn't the compiler get mad at me?
    swankjesse authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    940496a View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Fix Closeable.use NullPointerException (#1453)

    * Fix Cloneable.use NullPointerException
    
    * Add assertNull
    05nelsonm authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    fe6ac99 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Create FileSystem.SYSTEM property in shared source set (#1455)

    * Create FileSystem.SYSTEM property in shared source set
    
    Co-authored-by: Sebastian Sellmair <[email protected]>
    
    * Only configure native platforms in samples if kmpNativeEnabled is set
    
    * Use FileSystem.SYSTEM in existing tests, remove new multiplatform samples
    
    ---------
    
    Co-authored-by: Sebastian Sellmair <[email protected]>
    zsmb13 and sellmair authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    eac869b View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Prepare for release 3.9.0.

    swankjesse committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    d6c38c2 View commit details
    Browse the repository at this point in the history
Loading