- 22 May, 2017 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I7914c88ad7b31baa7586771423069dc2b90d534f Tested: on Linux.
-
- 19 May, 2017 1 commit
-
-
Wouter van Oortmerssen authored
There were several possible bugs involving paths not being recognized as being the same on Windows. Rather than trying to ensure all code deals with / and \ correctly, paths now get transformed to / on input, fixing all current and future such bugs. Tested: on OS X.
-
- 18 May, 2017 2 commits
-
-
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 * Not returning null when creating vectors * Not returning null from struct contructors
-
sfariv authored
* added check for presence of required fields. * updates to resolve Travis CI build error. * fixes for resolving appveyor build errors. * fixes for resolving appveyor build errors. * fixes for resolving appveyor build errors. * updates per aardappel's comments. * updated a variable's name. * updates per aardappel's comments.
-
- 16 May, 2017 1 commit
-
-
schoetbi authored
* Added <autogenerated> in cs generator file header comment #4287 * CS: Added xml-correct file header comment including "<auto-generated>...</auto-generated>" code_generators.cpp: FlatBuffersGeneratedWarning() function replaced by compile time constant "GeneratedWarning" also removed extra newlines at end of GeneratedWarning to be able to generate a xml well formed file comment for cs files #4291 * code_generators: Changed static string GeneratedWarning back to function FlatBuffersGeneratedWarning() #4291 * Added modified Unit-Test files #4291 * idl_gen_general: Add autogenerated only in C# code #4291
-
- 15 May, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I9629a7648f0c3346c4724ca8938fed47d7828018 Tested: on Linux.
-
Wouter van Oortmerssen authored
Since it wasn't documented and very different from a vector of tables, this has caused a lot of confusion in the past. Change-Id: Iab47c61b55c19abe5c4f25c86d71335a6b6321ca
-
- 12 May, 2017 4 commits
-
-
Wouter van Oortmerssen authored
Previously, we had a check to simply skip such files, but this tends to make build systems unhappy. This only affects C++ and JS, since other language output per-class files. Change-Id: I54224642725bbafb9f6e1654ed3693e62ca9f7d7 Tested: on Linux.
-
Lawrence Chan authored
* Fix C++ code gen indentation when empty Print * Also commit modified tests/monster_test.bfbs
-
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 1 commit
-
-
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
-