Commits on Oct 4, 2018
-
use the new libuast; rewrite bindings using cpp layer of libuast
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedOct 4, 2018
Commits on Oct 11, 2018
-
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedOct 11, 2018
Commits on Oct 16, 2018
-
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedOct 16, 2018
Commits on Oct 17, 2018
-
refactoring: NodeExtType->PyNodeExtType for consistency
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
-
refactoring: NodeExt->PyNodeExt for consistency
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
-
refactoring: PyUastType->PyContextType for consistency
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
-
refactoring: PyUast->PyContext for consistency
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
-
refactoring: fix comments + fmt after rebase
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
-
Commits on Oct 18, 2018
-
Build fixes, comment out v1 things, some other adjustements
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 18, 2018
Commits on Oct 22, 2018
-
Recover grpc sdk v1 protocol for some grpc objects
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 22, 2018 -
Forward port the aliases refactor by Vadim
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 22, 2018
Commits on Oct 24, 2018
-
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 24, 2018 -
Commits on Oct 30, 2018
-
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedOct 30, 2018 -
update the client to use both protocols
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedOct 30, 2018
Commits on Oct 31, 2018
-
Remove unused and broken import
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 31, 2018 -
Compile the ext module from an static libuast object
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedOct 31, 2018
Commits on Nov 1, 2018
-
enable building the client with static libuast
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedNov 1, 2018 -
do not free the query string in filter, it seems to be borrowed
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedNov 1, 2018 -
improve the native Python wrappers and update the readme
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedNov 1, 2018
Commits on Nov 2, 2018
-
fix error handling in native extension
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedNov 2, 2018
Commits on Nov 8, 2018
-
Explicit cast to char* to avoid nasty warning with latest G++
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 8, 2018 -
Renamed PyContext to PythonContext to avoid symbol conflict in 3.7+
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 8, 2018 -
Use same name for Windows an Linux static lib before the extension
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 8, 2018 -
Add several needed static libs for Windows
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 8, 2018
Commits on Nov 15, 2018
-
Several improvements (see desc)
- Added static typing. - Fixed some bugs and potential bugs found after adding typing. - Removed the unnused and eval-dangeous mapn cli argument. - Updated run_query so the CLI should work again with queries. - Reworked & simplified `launcher.py` exception handling logic. - PEP8 formatting. - Removed some vestigial, unneded and ugly code manipulating the import path. - Ensure the `build/` directory is deleted on `setup.py --clean`. Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 15, 2018
Commits on Nov 16, 2018
-
- Wrap the extension module values (results, iterator, item) into Python classes with support for automatic calls to `load()` on str serializing and methods to ensure a query result is of a specific type. - Extension module: export the types returned too (needed for correctly typing): NodeExt, IteratorExt and Context. Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 16, 2018 -
Make iterators great (and working) again
Wraps the internal iterator function from the extension module into methods for ResultContext, NodeIterator and Node objects (same objects added in the previous commit, renamed). Update README. Please see examples for specific usage. Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedNov 16, 2018
Commits on Dec 5, 2018
-
fix usage of parsed string arguments in filter
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedDec 5, 2018 -
properly deallocate python objects
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedDec 5, 2018 -
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedDec 5, 2018
Commits on Dec 11, 2018
-
Add test file Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 11, 2018 -
-
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 11, 2018 -
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 11, 2018 -
Run docker and install python driver from travis
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 11, 2018
Commits on Dec 12, 2018
-
Commented out the node afected by SDK issue 340
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 12, 2018 -
-
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 12, 2018 -
Use range for grpcio and grpciotools
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 12, 2018 -
Fixed some of @bzz feedback from review
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 12, 2018
Commits on Dec 13, 2018
-
add error checks for iterators and clarify comments
Signed-off-by: Denys Smirnov <denys@sourced.tech>
Denys Smirnov committedDec 13, 2018
Commits on Dec 18, 2018
-
Fixed from @zurk review (thanks!)
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 18, 2018 -
Merge branch 'v3' of https://github.com/dennwc/client-python into v3
Juanjo Alvarez committedDec 18, 2018 -
-
Fixes and improvements from @vmarkovtsev review
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 18, 2018 -
Changed ModeDict to a Modes enum-like class
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 18, 2018 -
Allow to create Clients with an instanced grpc channel as suggested b…
…y Vadim Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
Juanjo Alvarez committedDec 18, 2018