Commit Graph

  • 39706467ab Factor out HashMap in reader into its own struct. Tim Kuehn 2016-01-25 20:48:26 -08:00
  • 3cff1c0b62 cargo fmt Tim Kuehn 2016-01-24 23:07:13 -08:00
  • 4c2c072fff Use non-moving closure, where possible Tim Kuehn 2016-01-24 23:04:56 -08:00
  • 132fbf368b Merge branch 'master' of ssh://git.adam-wright.net:10022/shaladdle/tarpc into crossbeam Tim Kuehn 2016-01-24 18:33:17 -08:00
  • 854d2075f3 Use crossbeam scoped threads where possible Tim Kuehn 2016-01-24 18:32:50 -08:00
  • ff40c5dcfa Merge branch 'expose-serve-handle' into 'master' Tim 2016-01-25 07:08:13 +05:30
  • d80de197b3 Re-export ServeHandle Adam Wright 2016-01-24 17:35:08 -08:00
  • 14ef89bbca Change the commit hook to print something while its running tests Adam Wright 2016-01-24 17:22:29 -08:00
  • 195bd65e22 Merge branch 'deref-impl' into 'master' Adam Wright 2016-01-25 06:49:59 +05:30
  • 68445824af Add a test, and change umbrella impl... Tim Kuehn 2016-01-24 17:17:59 -08:00
  • f46df2b07a Merge branch 'master' into deref-impl Tim Kuehn 2016-01-24 17:09:09 -08:00
  • b5c7e7bc41 Merge branch 'mod-attrs' into 'master' Adam Wright 2016-01-25 06:32:09 +05:30
  • 23c0f43e49 Merge branch 'mod-attrs' into deref-impl Tim Kuehn 2016-01-24 16:58:26 -08:00
  • 57e39c77f7 Expand macro invocation test for attributes on items in the items { } block Tim Kuehn 2016-01-24 16:57:56 -08:00
  • 5afdaf88f8 Merge branch 'master' into deref-impl Tim Kuehn 2016-01-24 16:37:41 -08:00
  • c3be60565b Add an umbrella impl for Service for types that Deref to Service. Tim Kuehn 2016-01-24 16:35:20 -08:00
  • 9bd7fc6711 Add missing license headers Tim Kuehn 2016-01-21 11:27:37 -08:00
  • 9224dcd00e Add 'License' and 'Contributing' sections to README. Tim Kuehn 2016-01-21 11:10:13 -08:00
  • feafd35add Add CONTRIBUTING and LICENSE files, and add license header to source code files. Tim Kuehn 2016-01-21 11:06:17 -08:00
  • ce12f4a981 rm trace macros again Tim Kuehn 2016-01-17 23:22:47 -08:00
  • 166fbf6891 Allow attributes on the generated module. Tim Kuehn 2016-01-17 23:21:27 -08:00
  • 5039a28032 Merge branch 'remove-error-sender' into 'master' Adam Wright 2016-01-18 11:43:21 +05:30
  • 8125f7dead Merge master Tim Kuehn 2016-01-17 22:12:49 -08:00
  • 541dd8f9e6 Use pattern matching better Tim Kuehn 2016-01-17 22:07:49 -08:00
  • 4a35a86cbc Rename client_stubs => client_methods. Modify unit test to check for the Error variant returned on shutdown. Tim Kuehn 2016-01-17 21:56:30 -08:00
  • 8521b61af8 Merge branch 'hide-docs' into 'master' Tim 2016-01-18 11:13:46 +05:30
  • a7a3f47c1a Hide helper macros from tarpc documentation Adam Wright 2016-01-17 20:52:26 -08:00
  • f92277e019 Clarify error message Tim Kuehn 2016-01-17 19:47:48 -08:00
  • a5a9ec3d4f Make separate section in the readme for additional features Tim Kuehn 2016-01-17 19:45:13 -08:00
  • 26ddd3e610 Put deny(missing_docs) at the top. I think it looks better there. Tim Kuehn 2016-01-17 16:38:11 -08:00
  • b93752aeaa Remove unused feature enables Tim Kuehn 2016-01-17 13:14:53 -08:00
  • 80fb9922cd Put doc attributes defined on rpc methods on both the Service trait fns as well as the Client method stubs. Tim Kuehn 2016-01-16 16:19:11 -08:00
  • e54a9df152 Add checkboxes to planned improvements Tim Kuehn 2016-01-16 01:22:22 -08:00
  • 15f2547ec7 Update code in readme. Haven't checked if it runs Tim Kuehn 2016-01-16 01:20:03 -08:00
  • 667eef4066 Clarify timeout arg Tim Kuehn 2016-01-16 01:14:46 -08:00
  • d4a760e7c8 Get rid of Error::{Sender, Receiver, Serializer, Deserializer} Tim Kuehn 2016-01-15 21:52:25 -08:00
  • 6823bab23e Merge branch 'remove-error-sender' into 'master' Adam Wright 2016-01-15 14:44:39 +05:30
  • e74058dbde Merge branch 'orderly-shutdown' Tim Kuehn 2016-01-15 01:10:28 -08:00
  • dccaa88c80 Remove unused Error::Sender Tim Kuehn 2016-01-15 01:10:18 -08:00
  • 1402a6fff1 Merge branch 'orderly-shutdown' into 'master' Adam Wright 2016-01-15 14:08:11 +05:30
  • 001b1b1e43 Only join reader thread if tcp stream shutdown succeeded. Tim Kuehn 2016-01-15 00:34:36 -08:00
  • ebd825e679 Bundle of small changes. Tim Kuehn 2016-01-15 00:28:42 -08:00
  • e4faff74be reformat Tim Kuehn 2016-01-14 20:45:09 -08:00
  • b3ed2ef0ba Remove all shutdown logic. Just exit and deal with it. Tim Kuehn 2016-01-14 20:41:29 -08:00
  • 06e1eaa27a Make Serve's Request and Reply associated types. Tim Kuehn 2016-01-14 20:31:28 -08:00
  • d81b37b35d Cargo fmt Tim Kuehn 2016-01-14 09:23:34 -08:00
  • 0df3cfdd98 Properly wait for spawned connection handler threads to shutdown. Set client timeout to None in tests. Tim Kuehn 2016-01-14 09:22:46 -08:00
  • 8c51d2ca1b Cargo fmt Tim Kuehn 2016-01-14 01:55:25 -08:00
  • 2644bf0d9b Ensure no rpc calls can be started once the reader thread returns. Tim Kuehn 2016-01-14 01:53:28 -08:00
  • 91053b96c0 Orderly shutdown of serving threads when calling ServeHandle::shutdown. Tim Kuehn 2016-01-14 01:09:47 -08:00
  • f7bc1586c2 Merge branch 'master' of ssh://git.adam-wright.net:10022/shaladdle/tarpc Tim Kuehn 2016-01-13 00:21:28 -08:00
  • 6e37d3a37e Fix pre-push/commit hooks so they work. Adam Wright 2016-01-12 23:32:33 -08:00
  • 7c34e06959 Add doc comment functionality Tim Kuehn 2016-01-12 23:09:59 -08:00
  • 0d77959625 Move readme back to root Tim Kuehn 2016-01-12 22:03:19 -08:00
  • 1f4a72b0f9 Clean up the syntax; add the README.md (I forgot to git add it last time) Tim Kuehn 2016-01-12 21:54:01 -08:00
  • adb77924e2 Move README.md to the proper package Tim Kuehn 2016-01-12 20:23:30 -08:00
  • 3031bd7cb0 Require rpc fns to be written in anticipation of allowing arbitrary items in the generated module Tim Kuehn 2016-01-12 20:23:00 -08:00
  • 27d80adf06 Merge branch 'master' of ssh://git.adam-wright.net:10022/shaladdle/tarpc Tim Kuehn 2016-01-12 20:20:49 -08:00
  • 9576b724ad Switch to bincode Tim Kuehn 2016-01-12 01:13:37 -08:00
  • 7e9d16eefe Add a readme. Adam Wright 2016-01-12 13:17:44 +05:30
  • 6141b295d1 Add a tarpc_examples package Tim Kuehn 2016-01-11 23:39:58 -08:00
  • 6a484c48c5 Obfuscate types internal to the generated module to reduce risk of collision with imports. Tim Kuehn 2016-01-11 22:54:53 -08:00
  • 1544712bc4 Move protocol::Error and protocol::Result to crate root Tim Kuehn 2016-01-11 22:39:46 -08:00
  • 6f634c50cc Add doc comment to generated module Tim Kuehn 2016-01-11 20:10:31 -08:00
  • 0256dc1c1a A few comments on macros Tim Kuehn 2016-01-11 00:56:40 -08:00
  • 212f0bb7aa Fix issue where service fns with no args would cause compile errors Tim Kuehn 2016-01-11 00:51:24 -08:00
  • dca55d4310 Make the generated rpc module public Tim Kuehn 2016-01-10 18:39:33 -08:00
  • 1e42547ca4 Remove crap we don't need, actually fail on test result Adam Wright 2016-01-10 18:01:21 -08:00
  • 200a06ac57 Print FAIL in red. Adam Wright 2016-01-10 17:51:15 -08:00
  • ea24921eff Just go to a simple world where we check the branch we're on Adam Wright 2016-01-10 17:48:47 -08:00
  • d906357ad8 Say we're done at the end. Adam Wright 2016-01-10 17:29:57 -08:00
  • 0d61812a3f Updated error message when you're not on a branch Adam Wright 2016-01-10 17:24:42 -08:00
  • ab92f90aff Don't try to stash, just tell the user they're dumb. Adam Wright 2016-01-10 17:15:37 -08:00
  • 0aa2661f02 Pre-push hook that rejects branches with non-passing tests Adam Wright 2016-01-10 17:07:33 -08:00
  • 3ea0f6fbb5 WIP Adam Wright 2016-01-10 15:41:58 -08:00
  • 0f5ef5f575 Move macros crate into a module in tarpc crate Tim Kuehn 2016-01-10 15:48:32 -08:00
  • 82cc7b3303 Fix tests Tim Kuehn 2016-01-10 15:01:40 -08:00
  • 87f71b5549 Document all public items and deny(missing_docs) Tim Kuehn 2016-01-10 14:27:19 -08:00
  • 56bd362fb1 Modify serve_async to expose the bound address Adam Wright 2016-01-10 02:29:06 -08:00
  • fae09e3fed Fix doc test Tim Kuehn 2016-01-09 14:44:30 -08:00
  • 5e34e32094 Generate an unused enum variant to fix a compiler error Adam Wright 2016-01-09 14:12:37 -08:00
  • 3bf2d1f16d Fix syntax and add doc comments to public items created in the macro Tim Kuehn 2016-01-09 14:24:16 -08:00
  • 7c89df7b09 Rustfmt Tim Kuehn 2016-01-09 14:23:55 -08:00
  • b17b8c60d4 Remove failed requests from requests map. Fix #14. Tim Kuehn 2016-01-09 13:02:23 -08:00
  • 195cb4235d Rename wtf method Tim Kuehn 2016-01-09 12:48:21 -08:00
  • 98a34e4256 printlns => logging Tim Kuehn 2016-01-09 12:45:16 -08:00
  • 8567b9b845 Make macro easier to read Tim Kuehn 2016-01-09 04:52:12 -08:00
  • 40b0aecec1 Fix failing tests Tim Kuehn 2016-01-09 04:43:59 -08:00
  • e32ef30c8d Warn if an error occurs when disconnecting client from server Tim Kuehn 2016-01-09 04:33:55 -08:00
  • cb63166b82 Remove some stupid whitespace Adam Wright 2016-01-09 04:17:00 -08:00
  • c352ff12b4 we tarpc_macros now Adam Wright 2016-01-09 04:00:02 -08:00
  • 2d9964293e Implement drop for tarpc::Client Adam Wright 2016-01-09 03:57:46 -08:00
  • a63c935a33 modify macros to use tarpc:: stuff Adam Wright 2016-01-09 03:42:40 -08:00
  • 2f324f1689 Remove silly requirement of clone for fn rpc Adam Wright 2016-01-09 03:01:59 -08:00
  • 9d2a878f88 Merge branch 'macro' Adam Wright 2016-01-09 02:13:58 -08:00
  • e0f9c89c0e Make handle_conn be private Adam Wright 2016-01-09 02:13:44 -08:00
  • 096cf25824 Remove commented code Adam Wright 2016-01-09 01:34:25 -08:00
  • 2f1b8e931d Clean up warnings Adam Wright 2016-01-09 01:34:08 -08:00
  • 736cf5d463 Add my name Tim Kuehn 2016-01-09 01:26:18 -08:00
  • b1e12d6b54 Merge branch 'master' of ssh://git.adam-wright.net:10022/shaladdle/adamrpc-rs Tim Kuehn 2016-01-09 01:23:22 -08:00