-
Notifications
You must be signed in to change notification settings - Fork 428
This week's improvements #184
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
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
5665276
Add a script to fix the project's indentation settings.
MrMage 2f93962
Add a public initializer for `ServerSessionTestStub`, to make it actu…
MrMage 263e66b
Use Apple's "fake" zlib package instead of Zewo's real zlib code.
MrMage ac7979d
Ensure that errors in client calls are always provided to the user.
MrMage be3fae4
Also extract streaming sending methods into a dedicated `StreamSendin…
MrMage cacd605
Fix the SSL-enabled tests.
MrMage 9916aea
Consolidate a few more calls into `StreamSending`.
MrMage 730699d
Replace a few semaphores with `call.messageQueueEmpty.wait()`.
MrMage 4cae6e5
Fix gRPCTests:
MrMage 17b32f5
Fix a potential race condition where operation group completion handl…
MrMage 800cea1
Tweak the visibility of `Handler.call`.
MrMage b5e7c19
Avoid displaying the comment about setting the generated project's in…
MrMage 8b8e6c8
Replace some magic numbers with more understandable constants.
MrMage ab21b2c
Cleanup: Replace as many methods on `Handler` with their correspondin…
MrMage f814a34
Formatting: Replace several occurrences of `catch (let ...)` with jus…
MrMage 90601ab
Avoid an extra dispatch in `Call.sendWithoutBlocking`.
MrMage d3afc45
Ensure that any operation groups enqueued on a completion queue after…
MrMage c1b54e6
Fix how the server handles unknown methods (broken by me in ac7979d5,…
MrMage 2ebe048
Add tests to ensure that server-side timeouts are handled as expected.
MrMage 0985a47
Also add client-timeout tests and rename "ErrorHandlingTests" to "Con…
MrMage 7ed242e
"Fix" GRPCTests again by inserting a small delay in between sends. We…
MrMage da52b27
Only enter the `messageQueueEmpty` dispatch group if we are certain t…
MrMage cf323b4
Get rid of the `callbackQueue` argument for `CompletionQueue.runToCom…
MrMage f6d4341
Make `Server` retain its active handlers without having to resort to …
MrMage da28b9a
Change the `ServerSession`s such that errors thrown during operation …
MrMage 2313a99
Fix two compiler warnings.
MrMage 9128b60
Make `OperationGroup` cache its `...Metadata` properties, as those me…
MrMage c962004
Make the test expectations on `receive` consistent across Linux and m…
MrMage 7935aeb
Fix a minor error in the Travis build script.
MrMage 9c54d0a
Try making Travis cache the SwiftPM dependencies and APT repositories…
MrMage 415307e
Fix the GRPCTests again without using a sleep call:
MrMage e7645b4
Add sample test suites to demonstrate how one would test client/serve…
MrMage 6af3914
Add a method to `ServerSessionClientStreaming` to return an error sta…
MrMage 8d07183
Add a blocking variant of the `send` method to `ServerStreaming`.
MrMage 5d32204
Add tests to verify the behavior of canceling client and server calls.
MrMage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not hugely-confident that this project won't move, but since the zewo version was deprecated, I'm ok with this.