Skip to content

Bring swift-5.1-branch up-to-date with master #2196

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

Merged
merged 88 commits into from
Jun 27, 2019

Conversation

aciidgh
Copy link
Contributor

@aciidgh aciidgh commented Jun 27, 2019

No description provided.

gmittert and others added 30 commits April 12, 2019 11:12
Replace the use of fts with Foundation's Directory Enumerator, which (on
Darwin/Linux), calls fts instead, but is cross platform for Windows.
Windows doesn't have SIGKILL, we'll use SIGTERM instead
* Rename variables to give more context

* Fix the indentation

* Fix property name on deinit
Some variables were not changed when being renamed on Windows.
This fixes Swift doing a full rebuild when you switch between a tty, and
non-tty

https://bugs.swift.org/browse/SR-7982
On Windows Symlinks aren't marked as regular files, but they can still
be executed, so isExecutable should indicate as such.
<rdar://problem/50217475>
<rdar://problem/50339646>
This will just generate a manifest in the current directory. The
contents will be the same as for initializing a library package.

That means the contents will likely not match the filesystem layout,
but I think that is OK, this will still make it easier to add a
manifest to an existing project. We can improve it in the future and
make the generated content based on what is actually there on the
filesystem.

rdar://problem/50347943
This adopts the new _PackageDescription availability "platform" to drive
the available APIs across different tools versions.

<rdar://problem/49983872> Use @available(_PackageDescription) in runtime libraries
<rdar://problem/50456674>
Other clients might also want to know which test targets are relevant for a particular executable target.

rdar://problem/47648572
This moves all of the API documentation to the PackageDescription.md file.
The new XCTest build has been CMake based for ages.  This places the
Swift contents in a directory named swift in the build tree.  Update
the search path.
aciidgh and others added 25 commits June 13, 2019 18:40
[PackageGraph] Actually implement _isRemoteContainer
This adds a delegate method that will notify clients when the
Package.resolved file is changed outside of libSwiftPM operations. For
example, when a git operation is performed.

<rdar://problem/51762359>
[Workspace] Add ability to notify when Package.resolved file is changed
[bootstrap] Add rpath to look inside @exec/../lib/swift/pm/llbuild
[SwiftTestTool] Allow skipping SwiftPM tests using an env variable
…(Linux, etc.)

This is a WIP PR for implementing test discovery on linux using indexing
data. The basic idea is to leverage the IndexStore library to get the
test methods and then generate a LinuxMain.swift file during the build
process.

This PR "works" but there are a number of serious hacks that require
resolving before we can merge it.
Now that SwiftPM is more likely to checked in alongside with Xcode
artifacts, ignore the commonly ignored Xcode artifacts.
…/remove-outdated-packagedescription-docs

Remove outdated docs for the Package Description API
…/Update-Source-Docs

Improve the in-source docs of the PackageDescription API for better readability.
[bootstrap] Pass sdk when creating libPackageDescription
Fixes path to libSwiftPM example project in libSwiftPM.md
[Xcodeproj] Add $(inherited) to OTHER_SWIFT_FLAGS
@aciidgh
Copy link
Contributor Author

aciidgh commented Jun 27, 2019

@swift-ci smoke test

@aciidgh aciidgh merged commit 9d903ad into swiftlang:swift-5.1-branch Jun 27, 2019
@aciidgh aciidgh deleted the hm branch June 27, 2019 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.