-
Notifications
You must be signed in to change notification settings - Fork 54
Comparing changes
Open a pull request
base repository: apple/swift-atomics
base: 1.1.0
head repository: apple/swift-atomics
compare: 1.2.0
Commits on May 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a79829b - Browse repository at this point
Copy the full SHA a79829bView commit details -
Merge pull request #85 from lorentey/fix-code-signing
[Xcode] Set a code sign identity
Configuration menu - View commit details
-
Copy full SHA for b32aa05 - Browse repository at this point
Copy the full SHA b32aa05View commit details
Commits on Jun 20, 2023
-
[Xcode] Don’t use a bridging header in a framework target
Oops, that was not intended to work, and in fact it produces warnings in clients. Instead, change _sa_retain_n and _sa_release_n to Swift calling convention and call them using _silgen_name trickery when in single-module configuration. Resolves rdar://110860922
Configuration menu - View commit details
-
Copy full SHA for 55a158b - Browse repository at this point
Copy the full SHA 55a158bView commit details -
Merge pull request #87 from lorentey/fix-header-in-xcodeproj
[Xcode] Don’t use a bridging header in a framework target
Configuration menu - View commit details
-
Copy full SHA for 8bdc853 - Browse repository at this point
Copy the full SHA 8bdc853View commit details
Commits on Jul 6, 2023
-
Update AtomicLazyReference.swift.gyb
Fix reference doc variable references
Configuration menu - View commit details
-
Copy full SHA for cbd73b1 - Browse repository at this point
Copy the full SHA cbd73b1View commit details
Commits on Jul 8, 2023
-
[_AtomicsShims] Don’t define atomic operations when this header is co…
…mpiled as C++ `_Atomic(_sa_dword)` trips up C++. This is likely due to real issues, but it seems pointless to try to fix it — rather than heroically trying to keep this header working, we can simply force the use of native builtins on Swift 5.9 and later. (I planned to do that anyway, as a major step towards deleting `_AtomicsShims` altogether.)
Configuration menu - View commit details
-
Copy full SHA for 15824c7 - Browse repository at this point
Copy the full SHA 15824c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2e46a - Browse repository at this point
Copy the full SHA ae2e46aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca9d581 - Browse repository at this point
Copy the full SHA ca9d581View commit details -
Update Xcode project configuration
Switch from the classic `-parse-stdlib` option to the new `BuiltinModule` experimental feature.
Configuration menu - View commit details
-
Copy full SHA for 9b97b05 - Browse repository at this point
Copy the full SHA 9b97b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1698b26 - Browse repository at this point
Copy the full SHA 1698b26View commit details
Commits on Jul 10, 2023
-
Merge pull request #89 from rolson/patch-1
Fix reference doc variable references
Configuration menu - View commit details
-
Copy full SHA for 6d3d340 - Browse repository at this point
Copy the full SHA 6d3d340View commit details -
Merge pull request #90 from lorentey/fix-c++-interop
Avoid C atomic operations in Swift 5.9+
Configuration menu - View commit details
-
Copy full SHA for 1c2c004 - Browse repository at this point
Copy the full SHA 1c2c004View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4138292 - Browse repository at this point
Copy the full SHA 4138292View commit details -
Merge pull request #91 from lorentey/regenerate-sources
Regenerate sources
Configuration menu - View commit details
-
Copy full SHA for b37e0a6 - Browse repository at this point
Copy the full SHA b37e0a6View commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5f7709d - Browse repository at this point
Copy the full SHA 5f7709dView commit details
Commits on Jul 19, 2023
-
Merge pull request #93 from lorentey/fix-old-manifests
Fix version-specific manifest for 5.6..<5.9
Configuration menu - View commit details
-
Copy full SHA for 2ff28f8 - Browse repository at this point
Copy the full SHA 2ff28f8View commit details
Commits on Aug 11, 2023
-
[_AtomicShims] On Darwin, ensure we link against libswiftCore using a…
…ssembly shenanigans This avoids a linker failure when the build system decides to build this module as a standalone library. Hopefully this will all go away soon, when swift_retain_n/swift_release_n will become primitives exposed by the stdlib.
Configuration menu - View commit details
-
Copy full SHA for 673864b - Browse repository at this point
Copy the full SHA 673864bView commit details
Commits on Aug 14, 2023
-
[_AtomicShims] Don’t try to extend the library path using .linker_option
This emits a warning and it seems to be unnecessary.
Configuration menu - View commit details
-
Copy full SHA for 5603f61 - Browse repository at this point
Copy the full SHA 5603f61View commit details
Commits on Aug 15, 2023
-
Merge pull request #97 from lorentey/autolink-libswiftCore
[_AtomicShims] On Darwin, ensure we link against libswiftCore using assembly shenanigans
Configuration menu - View commit details
-
Copy full SHA for 38a8ccd - Browse repository at this point
Copy the full SHA 38a8ccdView commit details
Commits on Sep 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6c32c1 - Browse repository at this point
Copy the full SHA b6c32c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b47c8b1 - Browse repository at this point
Copy the full SHA b47c8b1View commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d75ef1b - Browse repository at this point
Copy the full SHA d75ef1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f6a86f - Browse repository at this point
Copy the full SHA 1f6a86fView commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c39a7ef - Browse repository at this point
Copy the full SHA c39a7efView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b74cb - Browse repository at this point
Copy the full SHA b1b74cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4166cff - Browse repository at this point
Copy the full SHA 4166cffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db6c56 - Browse repository at this point
Copy the full SHA 9db6c56View commit details -
DoubleWord.AtomicRepresentation
: UseDoubleWord
storage on all pl……atforms We used to use Int64 on 32-bit architectures, but the inconsistency is bothering me. (Even ignoring alignment issues on SysV-derived ABIs on i386.)
Configuration menu - View commit details
-
Copy full SHA for 9351ce0 - Browse repository at this point
Copy the full SHA 9351ce0View commit details
Commits on Sep 22, 2023
-
Merge pull request #101 from lorentey/reorg
Reorganize sources for future work
Configuration menu - View commit details
-
Copy full SHA for bb83f84 - Browse repository at this point
Copy the full SHA bb83f84View commit details -
[native atomics] Fix alignment issues by reintroducing custom storage…
… types The SysV ABI defined uint64_t with 4 byte alignment on i386 — so we can’t just assume that the integer types will have the right alignment by default for atomics. Emulate the original `_Atomic<Width>Storage` types in the C shims even in native atomics configuration, so that they can carry a custom `@_alignment` attribute.
Configuration menu - View commit details
-
Copy full SHA for 8b703fe - Browse repository at this point
Copy the full SHA 8b703feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd81ae - Browse repository at this point
Copy the full SHA 8dd81aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9219a8 - Browse repository at this point
Copy the full SHA a9219a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f10f031 - Browse repository at this point
Copy the full SHA f10f031View commit details -
Merge pull request #102 from lorentey/fix-alignment-issues
Fix alignment issues with double-wide atomics on i386
Configuration menu - View commit details
-
Copy full SHA for 8e18576 - Browse repository at this point
Copy the full SHA 8e18576View commit details -
Clients who cannot upgrade their toolchain yet will continue to work with Swift Atomics 1.1. List of currently supported Swift releases: - Swift 5.9 release series - Swift 5.8 release series - Swift 5.7 release series We also aim to support building and using swift-atomics on developer snapshots of Swift’s active branches (release/5.10 and main).
Configuration menu - View commit details
-
Copy full SHA for 8be2ba9 - Browse repository at this point
Copy the full SHA 8be2ba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ed54fa - Browse repository at this point
Copy the full SHA 6ed54faView commit details -
Merge pull request #105 from lorentey/update-cmake
[CMake] Do not list .gyb files as sources
Configuration menu - View commit details
-
Copy full SHA for 8650506 - Browse repository at this point
Copy the full SHA 8650506View commit details -
Merge pull request #103 from lorentey/drop-swift-5.6
Drop support for Swift 5.6
Configuration menu - View commit details
-
Copy full SHA for d8a5239 - Browse repository at this point
Copy the full SHA d8a5239View commit details -
Configuration menu - View commit details
-
Copy full SHA for de979cd - Browse repository at this point
Copy the full SHA de979cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a34c7a - Browse repository at this point
Copy the full SHA 4a34c7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b1941e - Browse repository at this point
Copy the full SHA 5b1941eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1abcb95 - Browse repository at this point
Copy the full SHA 1abcb95View commit details
Commits on Sep 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8189a83 - Browse repository at this point
Copy the full SHA 8189a83View commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d976dd2 - Browse repository at this point
Copy the full SHA d976dd2View commit details -
Let builtins & shims expose different primitive signatures
For builtins, we want to emulate the stdlib’s solution where all atomic primitive operations take and return a (sort of) opaque atomic representation value. For C shims, we do not want to atomic primitives to take and return _Atomic(T) values, so let’s revert to the original 1.1.x solution.
Configuration menu - View commit details
-
Copy full SHA for 48fad5a - Browse repository at this point
Copy the full SHA 48fad5aView commit details
Commits on Sep 27, 2023
-
Avoid confusing Swift 5.7 with _pointerBitWidth conditionals
#if conditional parsing is evidently broken in 5.7, and it gets confused unless things are arranged just right. Things seem to work as long as the `compiler(>=5.9)` conditional is put on its own `#if` construct on the topmost level — so let’s do that for now.
Configuration menu - View commit details
-
Copy full SHA for fe0fc8b - Browse repository at this point
Copy the full SHA fe0fc8bView commit details -
On 5.9, hide the _AtomicsShims import from the public interface
This appears to resolve a build failure when library evolution is enabled. (This isn’t a fully supported configuration (this package is not ABI stable), but it should still be possible to build the package in that configuration.) @_implementationOnly has bad failure modes when library evolution isn’t enabled, but I hope we’ll be avoiding those here, as on 5.9+, we’re only using it to import a couple of functions — we aren’t relying on imported things to set struct layouts or anything like that. 🤞
Configuration menu - View commit details
-
Copy full SHA for f26da16 - Browse repository at this point
Copy the full SHA f26da16View commit details -
[Xcode] Move code sign config to shared xcconfig
This makes these settings automatically apply to the test target, too.
Configuration menu - View commit details
-
Copy full SHA for 084814f - Browse repository at this point
Copy the full SHA 084814fView commit details -
[Xcode] Formally update .xcodeproj to Xcode 15
Also, remove an orphaned package manifest link.
Configuration menu - View commit details
-
Copy full SHA for 02d0d97 - Browse repository at this point
Copy the full SHA 02d0d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3431b85 - Browse repository at this point
Copy the full SHA 3431b85View commit details
There are no files selected for viewing