- 08 Feb, 2018 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ic5e8f6a423b426abb9f8b90d39db0f85f28b94be Tested: on Linux.
-
- 05 Feb, 2018 2 commits
-
-
Sergey Avseyev authored
src/idl_parser.cpp: In member function 'flatbuffers::CheckedError flatbuffers::Parser::ParseHexNum(int, uint64_t*)': src/idl_parser.cpp:220:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] if (!isxdigit(static_cast<const unsigned char>(cursor_[i]))) ^ src/idl_parser.cpp: In member function 'flatbuffers::CheckedError flatbuffers::Parser::Next()': src/idl_parser.cpp:260:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] if(!isdigit(static_cast<const unsigned char>(*cursor_))) return NoError(); ^ cc1plus: all warnings being treated as errors
-
Joe Schafer authored
For #4574. To test: bazel test --verbose_failures //:flatbuffers_test
-
- 29 Jan, 2018 1 commit
-
-
Wouter van Oortmerssen authored
- Fixed ForceVectorAlignment (and possibly other call-sites) not setting minalign_. - Fixed flipped alignment parameters in CopyTable (reflection). - Made aligment for FlatBufferBuilder internal buffer configurable (useful when reading a constructed buffer directly). - Ensured Alignment rounding is always up. Change-Id: I33ca4887d92a09cb11a369c14a109f4b07ae707a Tested: on Linux.
-
- 22 Jan, 2018 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I5dd8f3a7c315c40b86a67aba5c2cca4d36363523 Tested: on Linux.
-
Wouter van Oortmerssen authored
Some implementations (e.g. C++98) won't support 64-bit enum values, but there is no reason to silently truncate them. Change-Id: I8629563523a96e887068f9c0efcd53741f60e0d6 Tested: on Linux.
-
Li-Deng authored
-
Wouter van Oortmerssen authored
Change-Id: Ic4f49e94c67ba23f07e5ba7e87ca94e8db5d5906 Tested: on Linux.
-
- 18 Jan, 2018 7 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I4db7f032440c00d31c7434975b8a3f17c29d74b9 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: Ia098126c92ea6f8abe94561bd9c09b29ac8f61f5 Context: https://github.com/google/flatbuffers/issues/4591 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I79724416110a3d2241d7eeecf0e12aa6d5b760a0
-
Wouter van Oortmerssen authored
Change-Id: I9420bf01d2bdb6ccfe3703c835297be73457c0d7
-
vglavnyy authored
Removed internal variable with name "data" inside a generated method _nested_root(). Local variable with name "data" violates [-Werror=shadow]. (#4587)
-
Wouter van Oortmerssen authored
(mirrored from cl/180944741) Change-Id: Ib9f1613ccc355528c5c495fd953a9b3944ecb4ce
-
Daniel Lin authored
Date: Mon Jan 15 11:38:20 2018 -0200 Compilation failure with grpc.h If cmake run with flag FLATBUFFERS_BUILD_GRPCTEST=ON compilation fails. Fix : -Fix argument list for overriden function in grpc. -Fix member function name called by FlatBufferBuilder from buf() to scratch_data()
-
- 16 Jan, 2018 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I81cf4d268670bdd11d1d56ca9f2de78c120df842 Tested: on Linux.
-
- 12 Jan, 2018 1 commit
-
-
Uilian Ries authored
- Added Conan recipe to build Flatbuffers - Added Travis job to create Conan package Signed-off-by:
Uilian Ries <uilianries@gmail.com>
-
- 11 Jan, 2018 1 commit
-
-
Wouter van Oortmerssen authored
Previously, FlatBufferBuilder used 3 resizable buffers: - serialization (vector_downward) - field offsets (std::vector) - vtable offsets (std::vector) Since the serialization buffer grows downwards, the bottom part of it can be used as a "scratchpad" storage for the other two. Since field offsets are only accumulated during table construction, and vtable offsets only after table construction, the two can trivially share the same storage. Not only does this reduce the amount of allocation, it also removes the bulk of std::vector usage from FlatBufferBuilder which was the #1 cause of slow-down in debug mode, see e.g.: https://stackoverflow.com/questions/36085285/any-way-to-improve-flatbuffer-performance-in-debug-c-msvc Change-Id: I0224cf2f2a863d2d7ef762bc9163b52fdc149522 Tested: on Linux.
-
- 08 Jan, 2018 1 commit
-
-
Andrew Gunnerson authored
Without this change, the compiler tries to select the following overload when CreateString is passed a `char *`: template<typename T> Offset<String> CreateString(const T &str) { return CreateString(str.c_str(), str.length()); } which is not valid since char pointers don't have methods. (Fixes #4579) Signed-off-by:
Andrew Gunnerson <chenxiaolong@cxl.epac.to>
-
- 05 Jan, 2018 1 commit
-
-
brianhall77 authored
Avoids the following compile error when char is unsigned: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-unsigned-zero-compare]
-
- 04 Jan, 2018 4 commits
-
-
vglavnyy authored
GenerateText generate a text string for default identifier of enum and float scalar. An enum identifier printed as the strictly quoted string. (#4527)
-
Andrei Polushin authored
-
Darío Hereñú authored
-
Bastien Brunnenstein authored
-
- 28 Dec, 2017 4 commits
-
-
Yuri Finkelstein authored
* new maven jar called flatbuffers-java-grpc which contains utility class supporting generated code for grpc over flatbuffers; grpc java unit test based on maven and junit (maven is used only for simplicity of testing); removed straneous namespace_test/NamespaceA/TableInC.java which is not longer used in the test and no longer generated but contains complilation errors if java compiler picks it up * moved java grpc tests files according to review request * Added missing generated code for Java gRPC. Change-Id: Iada090fe2e99b80a4b7c2f8e39c838a992a1feae * added missing name and url
-
Wouter van Oortmerssen authored
Change-Id: Iec720991e68ad27580537135bfd8eb4159333921 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I6d2a9cc8b32c531d4a1e272ddf29974a0a1a2ee3
-
Josh Ventura authored
-
- 21 Dec, 2017 5 commits
-
-
Yuri Finkelstein authored
* grpc bindings generator for Java and a few minor supporting changes in improvements * restored formatting before my previous changes for ease of review * Fixed grpc java code generation bug resulting in duplicate extractor declarations in case the same is used in more than a single RPC method * fixed previous merge issue * removed extra space * restored extra space * restored extra space * fixed java codegen bug documented in https://github.com/google/flatbuffers/issues/4563
-
Wouter van Oortmerssen authored
Also added missing generated files. Change-Id: Ifd22a643a08e3f2edfce92812ed57b87fc0e1875
-
Yuri Finkelstein authored
* added config files for popular formatting tools * edited and moved formatting files to root per review suggestion
-
Yuri Finkelstein authored
* grpc bindings generator for Java and a few minor supporting changes in improvements * restored formatting before my previous changes for ease of review * Fixed grpc java code generation bug resulting in duplicate extractor declarations in case the same is used in more than a single RPC method
-
Yuri Finkelstein authored
* updateed cpp_generator.cc to be compatible with the latest grpc version * preserved the original license * synchronized grpc cpp_generator with latest version as of today: GRPC 1.8.1. Regenerated test/monster_test.grpc.fb.* files and verified that grpctest is nicely passing * fixed merge glitch
-
- 18 Dec, 2017 2 commits
-
-
Yuri Finkelstein authored
* updateed cpp_generator.cc to be compatible with the latest grpc version * preserved the original license
-
xgdgsc authored
-
- 14 Dec, 2017 2 commits
-
-
Robert authored
Add support for Python lib continuous deployment.
-
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 * Vector of unions for ts/js * Sanity check for languages * Indentation fix + output test files * Vectors of unions for php * Fixes to union vector handling + tests * Fix for strictPropertyInitialization
-
- 13 Dec, 2017 1 commit
-
-
Mike Holler authored
-
- 07 Dec, 2017 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I16bf46682ad68c62b778ed1514b6b706c8cb8f6f Tested: on Linux.
-
- 04 Dec, 2017 1 commit
-
-
Bastien Brunnenstein authored
-