- 12 May, 2017 2 commits
-
-
akamat-ibm authored
* changes to support s390x * added flag for s390x * Adding support for Linux s390x
-
Per Grön authored
* Don't fail the build on unused parameters gRPC headers have unused parameters so this breaks the test build. * Pull in updated compiler files from gRPC There have been some API breaks in gRPC lately. This commit pulls in the most recent version of the files in this repo that are just copied from gRPC. * Modify the gRPC files so that they can work with Flatbuffers The files taken from gRPC do not work out-of-the-box with Flatbuffers. This commit modifies them so that they work. Hopefully this commit will be able to serve as a guide or maybe even be cherry-picked on top of new versions of those files as newer versions from gRPC are pulled in. * Adjust the rest of Flatbuffers to work with the new gRPC * Change idl_gen_grpc.cpp to work with the new API * Add missing #include in flatbuffers/grpc.h * Run tests/generate_code.sh and check in the results * Don't link with grpc++_unsecure and (secure) grpc. That's just weird * Revert unrelated JS/TS test changes * Simplify compiler/config.h There is no need to import this file from gRPC. In fact, it probably makes sense to not do so, since it seems to be intended to have project specific configuration in it. * Don't emit C++ types in the Go gRPC code generator * Don't emit C++ #includes in generated gRPC code Before this PR, there was a Go-specific additional_includes method in schema_interface.h, which is shared with the gRPC repo. The additional parameter to FlatBufFile in idl_gen_grpc.cpp makes that unnecessary, which means we need less Flatbuffer-specific changes in gRPC.
-
- 11 May, 2017 3 commits
-
-
Wouter van Oortmerssen authored
This is because it trips up the Closure compiler with errors like: ERROR - assignment to property bb of SomeTable found : undefined required: (flatbuffers.ByteBuffer|null) this.bb = undefined; ^^^^^^^^^^^^^^^^^^^ Change-Id: Iaf032b5249ec655e151331e81532e549c12bcd78
-
Wouter van Oortmerssen authored
This will avoid it accidentally accepting structs of size 4. Change-Id: I251285ae1e4bffb859367dcf89562741a3980bba Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I481afcde6a554d1cad519ff95acac7f38a7f4ee5 Tested: on Linux.
-
- 10 May, 2017 7 commits
-
-
Travis Wellman authored
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Change-Id: Iccc36d24321ac4d556692ac715c0cc69a2c9e09e Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I146e9e1b8f997c11d1675dbef1b958ddbd181092
-
Wouter van Oortmerssen authored
Change-Id: I3c6356fc6664072796f273096df64829108b4a34 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: Ia107557225db27b396f0d666c5c5b1b324ea22fa Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I05c02223675dee241d1ae8cb466e5186444058c8 Tested: on Linux.
-
- 08 May, 2017 2 commits
-
-
水樹素子 authored
* [C++] Add delete msg->buf * [C++] Add grpc streaming test * Use free instead of delete * Refactoring grpctest
-
Heiko Becker authored
GCC gained a new warning, -Wimplicit-fallthrough, which warns about implicitly falling through a case statement. The regular expressions used at the default level (-Wimplicit-fallthrough=3) don't match with a colon at the end. The comment also needs to be followed (after optional whitespace and other comments) by a 'case' or 'default' keyword, i.e. it will not be recognized with a '}' between the comment and the keyword.
-
- 04 May, 2017 1 commit
-
-
moti authored
-
- 01 May, 2017 1 commit
-
-
Kamil Rojewski authored
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible
-
- 26 Apr, 2017 1 commit
-
-
Wouter van Oortmerssen authored
Zero offsets are non-sensical in FlatBuffers (since offsets are relative to themselves) but were allowed by the verifier. This could cause buffers made up of all zeroes to be interpreted as correct buffers with an empty root object. Generally, not allowing such offsets will make the verifier more likely to catch problems earlier. Change-Id: I54010bea29721b326ff8e5348fcd9fe78e5e7506 Tested: on Linux.
-
- 24 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I23280e611163a89b8eba7b9b0016c297fea2396e
-
Wouter van Oortmerssen authored
Change-Id: I354c13fbe6f159058fbeff47100ef357e99c6cd5
-
- 21 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Iceca7b8b455c8463d9b82b928332a875dee3d19e
-
Kamil Rojewski authored
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes
-
- 20 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
-
Carlos Sanchez authored
-
- 19 Apr, 2017 3 commits
-
-
Dmitry Ermolov authored
-
Christian Helmich authored
* Added support for serializing native_type with CreateVectorOfNativeStructs * Added support for serializing native_type with CreateVectorOfSortedNativeStructs * Added C++ code generation for vectors of native_types
-
Per Eckerdal authored
-
- 18 Apr, 2017 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I1c37db1ced462fd558d3e893a501341f3eca6379
-
Wouter van Oortmerssen authored
Change-Id: Iae389c6dc9776058b39f4017d30efbf9580aced1 Tested: on Linux.
-
Wouter van Oortmerssen authored
This PR did not work in all JS environments and caused downstream breakage. Change-Id: Ib565129e26622d02bad2d45816bd05f6b961b994
-
Wouter van Oortmerssen authored
It now at least works in simple cases. Change-Id: I3af0738e676e62166b69accaa6bd19f531fbe5ee Tested: on Linux.
-
- 17 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Move constructors are present, which it should use instead. This is a temp fix to make it compile, but eventually we should generate a proper copy constructor just in-case people want to copy objects with unions. Tested on: Linux, OS X. Change-Id: Idf85419995c96f5959061882157541573e306083
-
Jason Stubbs authored
* fix bounds checking on integer parsing the previous code was allowing 255 for int8_t, similar for int16_t and int32_t, and even negative values for unsignd types. this patch fixes bounds checking for 8-bit, 16-bit and 32-bit types. testing for both acceptable values and unacceptable values at the boundaries are also improved. bounds checking on 64-bit types isn't addressed by this patch. * fix 'unary minus operator applied to unsigned type, result still unsigned' * fix & placement
-
- 13 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I19662241d56560c064cff73dbebfb2a81d226934
-
Wouter van Oortmerssen authored
(C++ only for now). Also fixed vector of union support in the object API. Bug: 36902939 Change-Id: I935f4cc2c303a4728e26c7916a8ec0adcd6f84cb Tested: on Linux.
-
- 12 Apr, 2017 2 commits
-
-
schoetbi authored
In Debug mode it is checked that iterator begin is less than end therefore the operator< in class VectorIterator is needed
-
chronoxor authored
* Fix Visual Studio 2017 new warning (C4244: 'argument': conversion from 'int' to 'const char', possible loss of data) * Fix Visual Studio 2017 pedantic warnings * Fix Visual Studio 2017 pedantic warnings
-
- 10 Apr, 2017 1 commit
-
-
Kamil Rojewski authored
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data
-
- 08 Apr, 2017 1 commit
-
-
Iain van der Bloat authored
-
- 30 Mar, 2017 1 commit
-
-
moti authored
* Use noexcept in union type move ctor/Add move assingment * Add NOEXCEPT macro to deal with _MS_VER/Remove delegating ctor in union type class * Add FLATBUFFERS_NOEXCEPT to generated union class
-
- 29 Mar, 2017 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I4f66a96ba581704c1a384cc700b8fb731d3eeed4
-