aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Merge pull request #627 from nathanielmanistaatgoogle/sync-asyncGravatar Nathaniel Manista2015-02-20
|\
| * Add SyncAsync interfaces and implementations.Gravatar Nathaniel Manista2015-02-20
| | | | | | | | | | | | These invocation-side values allow users to choose between synchronous and asynchronous execution of their RPCs with a single attribute access.
* | Merge pull request #657 from nathanielmanistaatgoogle/thread-leak-fixGravatar Nathaniel Manista2015-02-20
|\ \
| * | Fix a thread leak bug.Gravatar Nathaniel Manista2015-02-20
| | | | | | | | | | | | | | | | | | | | | | | | Successful operations were leaking the thread used for expiration monitoring. This change ensures that the ExpirationManager for the operation always has its abort() method called when the TerminationManager for the operation judges the operation to have terminated.
* | | Merge pull request #655 from yang-g/copyleftGravatar Craig Tiller2015-02-20
|\ \ \ | |/ / |/| | include .m in check_copyright.py
* | | Merge pull request #651 from ctiller/interopGravatar Yang Gao2015-02-20
|\ \ \ | | | | | | | | Fix server side large message receiving
| | * | include .m in check_copyright.pyGravatar Yang Gao2015-02-20
| |/ / |/| |
* | | Merge pull request #645 from ctiller/32bitGravatar Jan Tattermusch2015-02-20
|\ \ \ | | | | | | | | Make GRPC C core compile & run on 32 bit Ubuntu systems
| | * | Fix server side large message receivingGravatar Craig Tiller2015-02-20
| |/ / |/| | | | | | | | | | | | | | | | | The check for whether to request more data was all messed up. On the client this needs to be after initial metadata is sent to guarantee that we have a live stream, but there's no such requirement at the server. Fix this. I also ran clang-format across the code so there are some formatting changes.
* | | Clean up Python C API use in src/python/src/grpc/_adapter/*.c. Specifically:Gravatar Thomas Wouters2015-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use METH_O and METH_NOARGS where appropriate, modifying the C functions appropriately. METH_O is for functions that take a single PyObject, and it's passed directly instead of 'args'. METH_NOARGS is for functions that take no arguments, and they get called with just one argument ('self'.) - In PyArg_ParseTuple*() calls, specify the callable's name for more descriptive exception messages. - For tp_init functions (which always take keyword arguments) introduce keyword argument parsing (using the C local variables as keywords, although I don't know if they're the best names to use.) This is mostly as a way to show how keyword arguments are done in C. An alternative method is to use _PyArg_NoKeywords(kwds) (see https://hg.python.org/cpython/file/70a55b2dee71/Python/getargs.c#l1820, but unfortunately it's not part of the official API,) or check manually that the dict is empty. - Check the return value of Python API functions that can return an error indicator (NULL or -1.) PyFloat_AsDouble is also one of these, but we don't check the return type (we would have to compare the result to 1.0 with ==, which is not a thing you should do) so just call PyErr_Occurred unconditionally. - Change Py_BuildValue() calls with just "O" formats into PyTuple_Pack calls. It requires less runtime checking. - Replace Py_BuildValue()/PyObject_CallObject pairs with PyObject_CallFunctionObjArgs (since all of them have just PyObject* arguments.) If the Py_BuildValue formats had included other types, PyObject_CallFunction() would have been easier, but no need in these cases. - Replace Py_BuildValue("f", ...) with PyFloat_FromDouble(...). Less runtime checking and parsing necessary, and more obvious in what it does. - In the PyType structs, replace "PyObject_HEAD_INIT(NULL) 0" with "PyVarObject_HEAD_INIT(NULL, 0)". Anything with an ob_size struct member is a PyVarObject, although the distinction isn't all that import; it's just a more convenient macro. - Assign tp_new in the PyType structs directly, like all other struct members, rather than right before the PyType_Ready() call. - Remove PyErr_SetString() calls in places that already have a (meaningful) exception set. - Add a PyErr_Format() for an error return that wasn't setting an exception (PyObject_TypeCheck() doesn't set an exception.) - Remove NULL assignments to struct members in the error paths of the tp_init functions. PyObject structs are always zeroed after allocation, guaranteed. (If there's a way for them to already contain an object you'd use Py_CLEAR() to clear them, but that can't happen in these cases.) - Remove a few unnecessary parentheses.
* | | Revert "Adding a constant for a well known place where the SSL roots are ↵Gravatar Nicolas Noble2015-02-19
| | | | | | | | | | | | installed."
* | | Adding a constant for a well known place where the SSL roots are installed.Gravatar Julien Boeuf2015-02-19
| | |
| * | 32 bit compilation fixes for coreGravatar Craig Tiller2015-02-19
|/ /
* | Merge pull request #639 from soltanmm/masterGravatar Nathaniel Manista2015-02-19
|\ \
| * | Removed unused/wrong generated Python code imports from Python codegen.Gravatar Masood Malekghassemi2015-02-19
| | |
* | | Explicitly use nodejs to run testsGravatar murgatroid992015-02-19
| | |
* | | Merge pull request #631 from soltanmm/masterGravatar Tim Emiola2015-02-19
|\| | | | | | | | Added protoc plugin for Python GRPC.
* | | Removed reference to non-existent headerGravatar murgatroid992015-02-19
| | |
| * | Added protoc plugin for Python GRPC.Gravatar Masood Malekghassemi2015-02-19
| | |
* | | Merge pull request #629 from jcanizales/fix-internal-include-pathGravatar Tim Emiola2015-02-19
|\ \ \ | | | | | | | | Fix internal include path
| * | | Fix internal include pathGravatar Jorge Canizales2015-02-19
| | | |
* | | | Merge pull request #628 from murgatroid99/node_lintGravatar Tim Emiola2015-02-19
|\ \ \ \ | |_|/ / |/| | | Added lint to Node tests
| * | | Fixed lint errorsGravatar murgatroid992015-02-19
| | | |
| * | | Added lint scriptGravatar murgatroid992015-02-19
| | |/ | |/|
* / | Added files to the node packageGravatar murgatroid992015-02-19
|/ /
* | Merge pull request #619 from jayantkolhe/jayantkolhe-patch-2Gravatar Mugur Marculescu2015-02-19
|\ \ | | | | | | Jayantkolhe patch 2 - Many documentation updates.
| * | Update README.mdGravatar Jayant Kolhe2015-02-19
| | |
* | | Merge pull request #589 from nathanielmanistaatgoogle/src-python-readmeGravatar Jayant Kolhe2015-02-19
|\ \ \ | | | | | | | | Add a src/python/README.md.
| | * | Update README.mdGravatar Jayant Kolhe2015-02-19
| | | |
| | * | Update README.mdGravatar Jayant Kolhe2015-02-19
| | | |
| | * | Update README.mdGravatar Jayant Kolhe2015-02-19
| | | |
| | * | Update README.mdGravatar Jayant Kolhe2015-02-19
| | | |
| | * | Create README.mdGravatar Jayant Kolhe2015-02-19
| | | |
| | * | Create README.mdGravatar Jayant Kolhe2015-02-19
| | | |
* | | | Merge pull request #605 from vjpai/macGravatar Nicolas Noble2015-02-19
|\ \ \ \ | | | | | | | | | | Mac build is now ready
* \ \ \ \ Merge pull request #615 from tbetbetbe/grpc_fix_grpc_gemspecGravatar Jan Tattermusch2015-02-19
|\ \ \ \ \ | | | | | | | | | | | | Grpc fix grpc gemspec
| * | | | | Fixes case, other minor correctionsGravatar Tim Emiola2015-02-19
| | | | | |
* | | | | | Merge pull request #617 from jtattermusch/csharp_namespaceGravatar Tim Emiola2015-02-19
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix C# readme
* \ \ \ \ \ \ Merge pull request #604 from jboeuf/fix_sprintfGravatar Yang Gao2015-02-19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixing sprintf and a few other things.
| | * | | | | | nit in READMEGravatar Jan Tattermusch2015-02-19
| | | | | | | |
* | | | | | | | Merge pull request #616 from jtattermusch/csharp_namespaceGravatar Tim Emiola2015-02-19
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | C# preparations for going public
| | | * | | | | Fixes the grpc.gemspec, clarifies the installation instructionsGravatar Tim Emiola2015-02-19
| | | | | | | |
| * | | | | | | Updated Copyright information and assembly versions for C#Gravatar Jan Tattermusch2015-02-19
| | | | | | | |
| | | * | | | | Removes unnecesary check from the interop testeGravatar Tim Emiola2015-02-19
| |_|/ / / / / |/| | | | | |
| * | | | | | Changed namespace from Google.GRPC to Grpc, sorted using statements, minor ↵Gravatar Jan Tattermusch2015-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | refactorings
* | | | | | | Merge pull request #608 from nathanielmanistaatgoogle/interfaces_test_caseGravatar Tim Emiola2015-02-19
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Rename base/interfaces_test to base/interfaces_test_case.
* | | | | | | Python early_adopter changes in anticipation of interop client.Gravatar Nathaniel Manista2015-02-19
| | | | | | |
| * | | | | | Rename base/interfaces_test to base/interfaces_test_case.Gravatar Nathaniel Manista2015-02-19
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change the Python codebase now conforms to an "if it ends with _test.py then it is an executable test" rule.
| | * | | | Some compilers expect class SyncRequest to be declared fully and not justGravatar vjpai2015-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forward-declared before the constructor for Server because this is needed to manage exception handling for the class std::list that is templated on SyncRequest
| | * | | | Do not need a Mac-specific CPU header yet as there are no CPU-specific featuresGravatar vjpai2015-02-18
| | | | | | | | | | | | | | | | | | | | | | | | in use yet