Skip to content

[apinotes] Rename NSApplication activateIgnoringOtherApps(_:) to activate(ignoringOtherApps:) #3774

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 1 commit into from
Jul 29, 2016

Conversation

jtbandes
Copy link
Contributor

What's in this pull request?

Renaming activateIgnoringOtherApps(_:) to activate(ignoringOtherApps:).

I'm not sure if changes like this are supposed to go through swift-evolution? It seems like a pretty obvious one to me. cc @moiseev who has worked on the overlay before


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

  1. Builds the compiler incrementally.
  2. Builds the standard library only for macOS. Simulator standard libraries and
    device standard libraries are not built.
  3. lldb is not built.
  4. The test and validation-test targets are run only for macOS. The optimized
    version of these tests are not run.

A smoke test on Linux does the following:

  1. Builds the compiler incrementally.
  2. Builds the standard library incrementally.
  3. lldb is built incrementally.
  4. The swift test and validation-test targets are run. The optimized version of these
    tests are not run.
  5. lldb is tested.

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@moiseev moiseev self-assigned this Jul 26, 2016
@moiseev
Copy link
Contributor

moiseev commented Jul 26, 2016

Let me discuss this change with the AppKit people.

@@ -141,3 +141,10 @@ extension NSWindowController {
self.dismissController(sender)
}
}

extension NSApplication {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part wouldn't be necessary; the compiler generates stubs for the name as imported in Swift 2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, ok. Then I wonder why some of the other methods here exist, when they could have just been done with APINotes?

@moiseev
Copy link
Contributor

moiseev commented Jul 26, 2016

After having discussed the proposed change with the API owners, we will accept the PR.

One thing to note though, since changes like this one affect the framework APIs, a proper discussion should be triggered by a radar. So please, file a radar if you (and it's not only you, @jtbandes) think that some APIs can be improved for Swift.

Thanks, Jacob for bringing this one up!

@moiseev
Copy link
Contributor

moiseev commented Jul 26, 2016

@swift-ci Please test and merge

@jtbandes
Copy link
Contributor Author

Thank you! For completeness, I've just filed rdar://27556394.

@jtbandes
Copy link
Contributor Author

Failures unrelated.

@jtbandes
Copy link
Contributor Author

@moiseev This is worth another shot now that CI builds are working.

@CodaFi
Copy link
Contributor

CodaFi commented Jul 28, 2016

@swift-ci please smoke test and merge.

@moiseev
Copy link
Contributor

moiseev commented Jul 28, 2016

Thanks, @CodaFi

@jtbandes
Copy link
Contributor Author

I think this failure was related to #3816.

@CodaFi
Copy link
Contributor

CodaFi commented Jul 28, 2016

I think so too. Let's try again

@swift-ci please smoke test and merge.

@shahmishal
Copy link
Member

@CodaFi Sorry, at this time "Please smoke test and merge" is not supported. Please use @swift-ci Please smoke test

@tkremenek
Copy link
Member

@swift-ci smoke test

@tkremenek tkremenek self-assigned this Jul 28, 2016
@tkremenek
Copy link
Member

@swift-ci smoke test linux

@tkremenek tkremenek merged commit 3f9103f into swiftlang:master Jul 29, 2016
@gottesmm
Copy link
Contributor

@tkremenek Did you mean to start the smoke test? (Just asking b/c you just merged). If not I would like to kill the job.

@tkremenek
Copy link
Member

@gottesmm I started the smoke test for Linux, and realized it was not needed because this does not impact Linux.

@gottesmm
Copy link
Contributor

@tkremenek Ok. I will kill the job.

@tkremenek
Copy link
Member

@gottesmm thanks.

@jtbandes
Copy link
Contributor Author

Thanks all 😊

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.

7 participants