aboutsummaryrefslogtreecommitdiffhomepage
path: root/vsprojects
Commit message (Collapse)AuthorAge
* Fixing a few winsocket misuses.Gravatar Nicolas "Pixel" Noble2015-01-24
|
* Adding Visual Studio filters.Gravatar Nicolas 'Pixel' Noble2015-01-24
|
* OpenSSL 1.0.2 is out of beta - let's update our own repositories to reflect ↵Gravatar Nicolas "Pixel" Noble2015-01-23
| | | | that.
* Build projectsGravatar Craig Tiller2015-01-21
|
* Disable compilation of some filesGravatar Craig Tiller2015-01-21
| | | | They're not needed on Windows
* Build projectsGravatar Craig Tiller2015-01-21
|
* Add a gitignore for win32 stuffGravatar Craig Tiller2015-01-21
|
* Run buildgenGravatar Craig Tiller2015-01-18
|
* Factor out the pollset kicking mechanism and eliminate shardingGravatar David Klempner2015-01-16
| | | | | | | | | This change pulls out a separate pollset_kick module, which currently uses a freelist of pipes dynamically assigned to pollsets when they enter polling rather than the previous racy sharding mechanism. We ultimately may wish to eliminate the dynamic assignment for multipoll sets, but this should be sufficient for the moment.
* Fixing test_config.cGravatar Nicolas "Pixel" Noble2015-01-13
| | | | Now all the gpr tests build and run under win32.
* Fixing opensource build.Gravatar nnoble2015-01-12
| | | | | | | Change on 2015/01/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83810001
* Moving the google-internal security code in their own files.Gravatar jboeuf2015-01-12
| | | | | | | | | | Checked that the opensource version still builds. Just addressing core for now. We will do c++ later. Change on 2015/01/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83804014
* Splitting grpc_test_util into gpr_test_util.Gravatar nnoble2015-01-12
| | | | | | | Change on 2015/01/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83801564
* C implementation of Census trace store and stats store for grpc C lib.Gravatar hongyu2015-01-09
| | | | | | | Change on 2015/01/08 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83556470
* Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
* Remove libevent.Gravatar ctiller2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Adding plugins to the mako rendering system.Gravatar nnoble2015-01-06
| | | | | | | Change on 2015/01/05 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83302581
* Provide a port of cpu related code to posix, and linux.Gravatar ctiller2014-12-29
| | | | | | | | Properly set this up in our build environment. Change on 2014/12/23 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82725899
* Improving Makefile support for shared libraries.Gravatar nnoble2014-12-29
| | | | | | | | | | | | | | | | -) Properly linking built-in OpenSSL into the grpc library. -) grpc now properly depends on gpr when linking shared code. -) Properly naming the shared library with all their aliases. -) Properly installing the shared library aliases on the system. -) Potentially supporting Darwin and MINGW32 targets for shared libraries. Caveat: if using shared libraries, some tests will not compile anymore if they want to use OpenSSL functions, as they are no longer publically available externally. Which is the feature we were seeking. The Makefile currently does it properly, by linking the tests statically. This only applies when using external code and Makefiles, if said external code improperly assumes SSL is available through grpc. Change on 2014/12/22 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82656438
* Update build.json, fix opensource build.Gravatar ctiller2014-12-29
| | | | | | | Change on 2014/12/20 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82580775
* Add SSL root for production GFE.Gravatar chenw2014-12-29
| | | | | | | Change on 2014/12/19 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82554526
* gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist.Gravatar pmarks2014-12-19
| | | | | | | | | | | On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet connecting to that address triggers an Unreachable error. Since IPv6 is useless on such machines, it's cleaner to turn it off than expose users to a half-broken state. Change on 2014/12/17 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82387437
* Introduce the (outside-of-iomgr) pollset API.Gravatar ctiller2014-12-19
| | | | | | | | | | | | | This CL introduces the public side of this interface. There will need to be an iomgr-private API also, but this will be a per-implementation API and so is not covered here. I've taken care of wiring the interface through the codebase in the manner that I expect it will be used. Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82376987
* Remove endpoint/ directories.Gravatar ctiller2014-12-17
| | | | | | | | | | Fold endpoint interface into iomgr, move secure_endpoint into security/. This will make it easier for endpoint to rely on some iomgr defined types (like pollset). Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82338036
* Tweaking solution settings to be able to compile with OpenSSL (not link ↵Gravatar nnoble2014-12-16
| | | | | | | | | yet), and swapping per-project properties for a global property sheet. Change on 2014/12/16 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82245026
* Remove a (very) deprecated file.Gravatar ctiller2014-12-16
| | | | | | | Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82201880
* Fix for the exposed problems after trying a full clean build.Gravatar nnoble2014-12-16
| | | | | | | Change on 2014/12/15 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82192594
* Adding build files for OpenSSL.Gravatar nnoble2014-12-15
| | | | | | | | | -) Adding a hand-massaged NMake script generated from OpenSSL's perl scripts. -) Adding a batch file to invoke it, and only compile the libraries we're interested in. Change on 2014/12/15 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82172630
* Add time averaged stats for future alarm list work.Gravatar ctiller2014-12-15
| | | | | | | | | This is a trivial C89-ification of the []2 implementation of the same idea. Indeed the implementation files and tests have been branched from the [] versions. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168822
* Add a test for useful.h.Gravatar ctiller2014-12-15
| | | | | | | | | Additionally add rotl, rotr which will be needed to implement some hashing functions shortly. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82149559
* Makefile will now build zlib and/or OpenSSL if needed.Gravatar nnoble2014-12-12
| | | | | | | | | | | | -) Detecting system and embedded presence of zlib and OpenSSL with ALPN. -) Automatically disabling secure targets if no OpenSSL present --> make all won't work if no OpenSSL is present, forcing the users to select the nonsecure Makefile targets explicitely. -) Removing build instructions for OpenSSL - this isn't really necessary anymore. -) Adding more blurb about OpenSSL and the new Makefile features. Change on 2014/12/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82020890
* Adding base utils for JWT service account workflow. OpenSSL base64 decoding isGravatar jboeuf2014-12-12
| | | | | | | | a disaster and does not support url_safe which we need for the JWT. Change on 2014/12/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82020601
* Add Visual Studio project for building zlib.Gravatar jtattermusch2014-12-12
| | | | | | | Change on 2014/12/12 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82017498
* Tweaking log calls a bit.Gravatar nnoble2014-12-12
| | | | | | | | | -) Introducing gpr_vlog so to spare a few vsprintf later (at least one for now) -) Renaming statistics/log.* to statistics/census_log.* to avoid collisions. Change on 2014/12/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81995756
* Split client_channel into client_channel & child_channel.Gravatar ctiller2014-12-12
| | | | | | | | | | Safely managing disconnection and goaways needs reference counting at the child channel level, which was near impossible to provide with the previous embedding of the child channel in the client channel. This is a (hopefully) no-op refactoring to provide that split. The next CL in this series will actually get disconnection and goaway somewhat right. Change on 2014/12/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81985590
* Fix ipv6.c build breakage on Windows.Gravatar jtattermusch2014-12-11
| | | | | | | Change on 2014/12/11 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81910401
* Add batch file that builds and executes all GPR tests.Gravatar jtattermusch2014-12-11
| | | | | | | | | Removed bad format test to fix gpr_string_test. Also took care of some of the MS compiler warnings when compiling gpr_test_util. Change on 2014/12/11 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81900639
* Add a grpc_ipv6_loopback_available() test utility, and only run IPv6-specificGravatar pmarks2014-12-11
| | | | | | | | | | tests on machines that support AF_INET6 sockets bound to ::1. Listening on :: or connecting to a mapped address should always work. Change on 2014/12/10 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81837056
* Build CPP interop client in Git-on-[] as well as in [].Gravatar chenw2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | To build client in Git-on-[]: # regenerate Makefile net/grpc/tools/buildgen/generate_projects.sh # generate .pb.h and .pb.cc protoc --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=[]-bin/net/grpc/compiler/cpp_plugin net/grpc/cpp/test/interop/test.proto net/grpc/cpp/test/interop/empty.proto net/grpc/cpp/test/interop/messages.proto # Complile and link net/grpc/tools/build_grpc_dev.sh bins/interop_client To test against GFE/ESF: # bring up server [] build net/grpc/testing/interop:server_components_env []-bin/net/grpc/testing/interop/server_components_env --manual --rpc_port=25000 # start client /tmp/grpc-codebase/bins/interop_client --enable_ssl=true --server_port="server ssl port listening port" To test [] build against GFE/ESF: [] run net/grpc/cpp:interop_client -- --enable_ssl=true --server_port="server ssl port listening port" Change on 2014/12/10 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81821921
* Fixing opensource build - surface_em.* got removed.Gravatar nnoble2014-12-09
| | | | | | | Change on 2014/12/09 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81737241
* Introducing iomgr.Gravatar ctiller2014-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move eventmanager and platform dependent endpoint functionality into a single library called 'iomgr'. This is primarily to prepare for a Windows port - where posix socket semantics lead to poor quality code. Mostly this is a code movement CL, with some small changes to help prepare the way for porting: - em style fd objects can only be held internally in iomgr, and own their memory - added grpc_iomgr_create_endpoint_pair() to accomodate the common pattern of creating a tcp endpoint from the output of socketpair - this will help keep our tests portable - separated em alarm interface into a separate file, as this part of event manager is needed higher up the stack - made the eventmanager bits a true singleton, simplifying API's across the stack as there's no longer a reason to carry a pointer there. Initial design document is here: https://docs.google.com/document/d/1VmafcHvvrP5kwtQkz84R5yXF7u7fW-9Pn0bkSUQHDt8/edit?disco=AAAAARNByxg Change on 2014/12/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81716456
* Fixes for GPR library on Windows (+ getting rid of warnings under MS C++ ↵Gravatar jtattermusch2014-12-09
| | | | | | | | | compiler) Change on 2014/12/09 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81704538
* Add mako templates to generate MS Visual Studio projects.Gravatar jtattermusch2014-12-08
Current state for Windows platform: -- gpr and grpc_test_util can be compiled -- gpr_log_test and gpr_cmdline_test pass Change on 2014/12/08 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81615574