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: swiftlang/swift-corelibs-libdispatch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: swift-6.0.3-RELEASE
Choose a base ref
...
head repository: swiftlang/swift-corelibs-libdispatch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: swift-6.1-RELEASE
Choose a head ref

Commits on Mar 28, 2024

  1. Copy the full SHA
    6495db7 View commit details
  2. Copy the full SHA
    a056677 View commit details
  3. Merge pull request #822 from allevato/patch-1

    Add a missing semicolon in src/io.c.
    compnerd authored Mar 28, 2024
    Copy the full SHA
    1897407 View commit details

Commits on Mar 29, 2024

  1. Copy the full SHA
    2df0f76 View commit details
  2. Copy the full SHA
    7776634 View commit details

Commits on Apr 21, 2024

  1. Check for aligned_alloc() and use posix_memalign() instead on pla…

    …tforms, like Android before API 28, that didn't have it
    finagolfin committed Apr 21, 2024
    Copy the full SHA
    4a832dc View commit details

Commits on Apr 25, 2024

  1. Merge pull request #811 from finagolfin/droid

    Keep posix_memalign() around for older Android APIs
    compnerd authored Apr 25, 2024
    Copy the full SHA
    d35e7a3 View commit details

Commits on May 9, 2024

  1. build: android bundles pthread into libc

    Add an additional flag to indicate that `-lc` is sufficient for pthread
    support and that `-lpthread` is not needed. This allows us to build with
    newer NDKs.
    compnerd committed May 9, 2024
    Copy the full SHA
    7fa1340 View commit details

Commits on May 10, 2024

  1. Merge pull request #828 from compnerd/pthread

    build: android bundles pthread into libc
    compnerd authored May 10, 2024
    Copy the full SHA
    2d21ba5 View commit details

Commits on Jun 7, 2024

  1. This change switches back _dispatch_operation_perform and other simil…

    …ar places to use posix_memalign
    
    from aligned_malloc. This was caught by thread sanitizer.
    PriyaAvhad committed Jun 7, 2024
    Copy the full SHA
    e173eda View commit details

Commits on Jun 13, 2024

  1. Merge pull request #826 from apple/eng/PR-123808864

    Switching back _dispatch_operation_perform to use posix_memalign from aligned_malloc
    PriyaAvhad authored Jun 13, 2024
    Copy the full SHA
    542b7f3 View commit details

Commits on Jun 27, 2024

  1. [Linux] Enable build IDs.

    We should use build IDs on Linux so that we can identify the built
    artefacts, and also so that we can match them up with debug
    information should we choose to separate it.
    
    rdar://130582819
    al45tair committed Jun 27, 2024
    Copy the full SHA
    8e43e3e View commit details

Commits on Jul 25, 2024

  1. Update mach_private.h

    Correct the comment for DISPATCH_MACH_MSG_DESTRUCTOR_VM_DEALLOCATE
    lamtrinhdev authored Jul 25, 2024
    Copy the full SHA
    c22afb0 View commit details

Commits on Jul 31, 2024

  1. Merge pull request #836 from lamtrinhdev/Correct_comment_at_mach_priv…

    …ate.h
    
    Correct the comment DISPATCH_MACH_MSG_DESTRUCTOR_VM_DEALLOCATE at mach_private.h
    rokhinip authored Jul 31, 2024
    Copy the full SHA
    85369ba View commit details

Commits on Aug 2, 2024

  1. Add more comments for #endif in .h file.

    Lam Trinh committed Aug 2, 2024
    Copy the full SHA
    0b9beca View commit details

Commits on Aug 8, 2024

  1. Merge pull request #839 from lamtrinhdev/Add_Comments

    Add more comments for #endif in .h file.
    rokhinip authored Aug 8, 2024
    Copy the full SHA
    7ee5ee9 View commit details
  2. Disable new cast-function-type-mismatch

    Should fix this properly, but for now just disable the warning itself.
    bnbarham committed Aug 8, 2024
    Copy the full SHA
    1990f4e View commit details

Commits on Aug 9, 2024

  1. Merge pull request #840 from bnbarham/disable-new-warning

    Disable new `cast-function-type-mismatch`
    bnbarham authored Aug 9, 2024
    Copy the full SHA
    30bb801 View commit details

Commits on Aug 12, 2024

  1. Merge pull request #832 from al45tair/eng/PR-130582819

    [Linux] Enable build IDs.
    al45tair authored Aug 12, 2024
    Copy the full SHA
    e85f6a0 View commit details

Commits on Oct 29, 2024

  1. Fix a memory leak in DispatchData.withUnsafeBytes

    `DispatchData.withUnsafeBytes` created a new `dispatch_data_t` by calling `dispatch_data_create_map`. I assume that the intention was that this memory was freed when `data` is destroyed, based on the presence of `_fixLifetime(data)` but `data` was just a plain `dispatch_data_t` C struct, that doesn’t have any cleanup operations associated with it when destroyed.
    
    To fix the leak, wrap the `dispatch_data_t` in a `DispatchData`, which takes over the ownership of the `dispatch_data_t` and releases it when `data` gets destroyed.
    
    Alternatively, `_fixLifetime` could have been replaced by `_swift_dispatch_release(unsafeBitCast(data, to: dispatch_object_t.self))` but I think using `DispatchData` is the cleaner solution.
    ahoppen committed Oct 29, 2024
    Copy the full SHA
    ee9c2b1 View commit details

Commits on Oct 30, 2024

  1. Merge pull request #850 from ahoppen/data-leak

    Fix a memory leak in `DispatchData.withUnsafeBytes`
    ahoppen authored Oct 30, 2024
    Copy the full SHA
    0d67182 View commit details

Commits on Feb 8, 2025

  1. Copy the full SHA
    48b4a64 View commit details

Commits on Mar 7, 2025

  1. Merge pull request #858 from readdle/win-multibyte-paths-6.1

    🍒[6.1] Handle multibyte path strings on Windows
    compnerd authored Mar 7, 2025
    Copy the full SHA
    886ca22 View commit details
Loading