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

[pull] main from apple:main #1

Open
wants to merge 468 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented May 14, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

simanerush and others added 30 commits April 5, 2024 23:47
The current Swift Package Manager manifest API for specifying
Swift language version(s) applies to an entire package which
is limiting when adopting new language versions that have
implications for source compatibility.

Swift-evolution thread: https://forums.swift.org/t/pitch-swiftpm-swift-language-version-per-target/71067
* Proposal to introduce borrowing switch for noncopyable types

* Revised design: default to borrowing, and have `let` following the prevailing ownership of the borrow

* Kick off review

---------

Co-authored-by: Ben Cohen <[email protected]>
* Revise SE-0423 based on review feedback.

* Kick off second review

---------

Co-authored-by: Ben Cohen <[email protected]>
* Pitch Mutex

Update nnnn-mutex.md

Updates to mutex

fix indents

more indent fixes

some more moot changes

Some updates from feedback

Mark a section as TODO

Remove lock, unlock, tryLock

Rewrite motivation and define differences between actors

Apply suggestions from code review

Co-authored-by: Konrad `ktoso` Malawski <[email protected]>

Remove reference to old free lock and unlock

Remove `@Sendable` on tryWithLockUnchecked

* Change tryWithLock to withLockIfAvailable

* Discuss disconnected as the future direction

* Update nnnn-mutex.md

* Discuss the transferring inout

Add link to transferring proposal

Fix spaces

Fix spaces

Add missing optional

Add missing optional

* Rename generic argument to State

* Fix Sendable extension and move it up

* Add toolchains

* Add note about toolchains not having transferring inout

* Update proposals/nnnn-mutex.md

* Update and rename nnnn-mutex.md to 0433-mutex.md

---------

Co-authored-by: Stephen Canon <[email protected]>
* Update 0433-mutex.md

Change position of bracketed phrase

* Update 0433-mutex.md

leans / lends

* Update 0433-mutex.md

added 'which' for clarity

* Update 0433-mutex.md

actoe / actor

* Update proposals/0433-mutex.md

* Update proposals/0433-mutex.md

---------

Co-authored-by: Stephen Canon <[email protected]>
…usability

Add a proposal to improve usability of global-actor-isolated types.
Link SE-0434 to its review thread
- Make implementation an explicit link so it appears on SE Dashboard
- Use https for review manager link
For these proposals, also:
- Normalize discussion naming according to template instructions
  (e.g. 'first pitch', 'acceptance', 'returned'
- Normalize use of 'Review' heading label
Small typo around code voice usage.
Update 0418-inferring-sendable-for-methods.md
rjmccall and others added 30 commits July 15, 2024 16:57
…-terminology

Proposal to formalize 'language mode' terminology
* Update proposals that are implemented in Swift 6.0

* More updates and remove implementation fields.

* Remove experimental implementation details from SE-0425.
* [SE-0440] Second revision

* Add Revision history section

* Update 0440-debug-description-macro.md

* Update 0440-debug-description-macro.md

---------

Co-authored-by: Stephen Canon <[email protected]>
[SE-0438] Metatype Keypaths proposal is accepted
* Initial WIP proposal document.

* Minor updates.

* Update proposal document with suggstions.

* Update implementation link.

* Add GitHub user links.

* Update to provide addTask(...) closure bodies and provide clarity in the first sentence of the Design Details section.

* Update examples.
* Updated proposal

- synchronous deinit is nonisolated by default
- async deinit
- attribute to control task-local usage

* Minimized "Interaction with ObjC runtime" section

* Removed C++ code from "Runtime" section

* Removed assertion from future directions

Already implemented in swiftlang/swift@108f780

* Reviewed proposal text

* Added paragraph about task-local values and future async deinit optimizations

* Removed async deinit from the proposal

* Make task-locals undefined for isolated deinit

* Removed questionable paragraph from the Motivation section

* [SE-0371] Address some concerns about nondeterminism in motivation

* Removed few more references to async deinit

* Applied review comments

---------

Co-authored-by: Konrad `ktoso` Malawski <[email protected]>
Co-authored-by: Frederick Kellison-Linn <[email protected]>
…ve-review

Update SE-0371 status to reflect active second review
…discussion

Add link to second review thread for SE-0440
Update status field. Add review links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet