This updates the `release.nix` to now correctly run the test suite. You can
now build and test `grpc-haskell` by running:
```
$ nix-build -A grpc-haskell release.nix
```
... and `nix-shell` has been updated, too, so that you can do `cabal`
development inside of a `nix-shell` by running:
```
$ nix-shell -A grpc-haskell.env release.nix
```
For people who prefer to use `stack` you can still just build the `grpc`
library by running:
```
$ nix-build -A grpc release.nix
```
... then pass that library as input to `stack`
* add ServiceOptions for generated servers
* drop opt prefix in ServiceOptions fields
* add default options
* tweak exports, add docs
* re-export stuff from Generated so that users need don't need to import lots of modules
* remove threaded from library -- doesn't do anything
* add defaultServiceOptions export
* more exports
* export GRPCMethodType
* begin security bindings
* secure channel creation
* SSL credentials support
* add client-side ssl support
* ssl test
* read file before passing to channel credentials, free credentials when done creating
* use localhost key/cert for test
* WIP sketch of callbacks for metadata plugins
* conversion from Haskell auth processor to C
* add test for custom server metadata auth processor
* wip auth failure test
* rebase tweak
* working test of custom auth metadata server processor
* improve security docs, clean up
* add unsafe layer client-side auth metadata plugin functionality
* add client config option for custom auth metadata
* WIP client-side metadata auth plugin. Crashing when calling C callback.
* get initial version of client-side metadata plugins working
* replace String with ByteString in a few places, add function for getting AuthProperty
* AuthContext utilities and more documentation
* end-to-end test of client and server auth plugins
* remove redundant tests
* function for parents in unary calls, add deactivated failing test for auth metadata propagation from parent to child
* some cleanup
* tweaks
* more tweaks
* remove unused file
* docs tweak
* consolidate exports
* update protobuf-wire commit
* make metadatamap a newtype of multimap
* update tests for new MetadataMap
* remove multimap dependency, reproduce needed functionality instead
* add repeated key to payload test
* QuickCheck properties for C bindings, fix bug in metadata FFI wrappers
* add quickcheck bound
* fix merge
* (wip) Change ClientRWHandler to use an IO action for metadata acqui
* Demonstrate placement of WaitForInitialMetadata() in hellos_client
* Make hellos cpp server always send metadata first, for now
* Show getMD placement in haskell hellos-client
* Add prelim bidi metadata exchange behavior tweaks to line up with C++ API conventions
* update channel arg names, add compression level arg support, add compression level arg test
* switch to temp test demonstrating bug in grpc 0.15.0
* memset op array to 0
* switch examples back
* Switch to newer `grpc` and enable tests in `release.nix`
* Split out `simple-server` test into separate shell script
* Fix bash invocation
* Add intermediate `./default-tests.nix` build
* Add `tests.patch` to version control
* Split `python` command into separate script
* Provide `python` via `nix`
We now have Jenkins enabled for `gRPC-haskell` which verifies that
`nix-build release.nix` passes for each pull request.
`master` currently doesn't build, and this is the first pull request to fix the
build by adding the recently introduced `sorted-list` dependency to the `nix`
build. This was done by running `cabal2nix . > default.nix` and also adding a
newer version of `sorted-list` to the `release.nix` file. `nixos-16.03`
uses an older version of `sorted-list` which doesn't have an `IsList` instance for
`SortedList`.
* make metadatamap a newtype of multimap
* update tests for new MetadataMap
* remove multimap dependency, reproduce needed functionality instead
* add repeated key to payload test
* bump LTS version for sorted-list, use SortedList for MetadataMap
* remove unneeded conversion
* MetadataMap documentation
* minor fixes
The purpose of this is two-fold:
* To demonstrate an example of how to build the repository (which is non-trivial
due to the `grpc` dependency)
* To eventually be used within CI (via `nix-build release.nix`)
* concurrent echo client for stress testing
* update examples for benchmarking, tweak cabal file
* mark frequently-used call as unsafe for performance boost
* add unsafe annotation to non-blocking C calls on critical path
* more unsafe annotations -- server performance almost doubled now
* one CQ for all call ops
* unsafe annotation on start_batch
* wait for all client threads, replace error with fail
* add -O2
* remove parent ptr from unregistered calls -- unneeded
* begin unregistered high level server loop
* undo changes to highlevel server, add mkConfig for unregistered server
* move call CQ create/destroy into call create/destroy
* async normal call function
* preliminary unregistered server loop for non-streaming methods
* working unregistered highlevel example
* loop counters for benchmarking
* changes for benchmarking, add ruby example server for benchmarking
* async version of withCall, refactor unregistered server loop to handle all method types
* unregistered client streaming
* add remaining streaming modes
* unregistered server streaming test
* unregistered streaming tests
* add error logging
* fix bug in add example
* remove old TODOs
* fix bug: don't assume slices are null-terminated
* add TODO re: unregistered client streaming functions