- 21 Dec, 2018 1 commit
-
-
Peter Dillinger authored
By avoiding redundant alignment+alloc checks (startVector does prep) and virtual calls (by making the class final) in inner loops.
-
- 17 Dec, 2018 2 commits
-
-
Owen O'Malley authored
* Pulling in protobuf's faster UTF-8 encoder. * Remove Utf8 unsafe code.
-
Vladimir Glavnyy authored
-
- 13 Dec, 2018 2 commits
-
-
tira-misu authored
* Enable flatbuffer to initialize Parser from bfbs (#4283) Now its possible to generate json data from bfbs data type and flatbuffers data and visa versa. * add deserialize functionality in parser from bfbs * add small usage sample * Fix build break * Merge branch 'pr/1' into fix-issue4283 * Fix buildbreak * Build monster_test.bfbs with --bfbs-builtins Attribute flexbuffer has be included in bfbs. Only with this attribute test will run. By initialization a parser by a bfbs the attribute has to be known for this filed. monsterdata_test.golden has a flexbuffer field so parse would fail. * Fix generate_code.sh * Revert automatic indent changes by IDE * Auto detect size prefixed binary schema files * Use identifier (bfbs) to detect schema files
-
Christian Lang authored
-
- 10 Dec, 2018 2 commits
-
-
Rob Agar authored
* disable reproducible build warning due to date/time macros * wrapped GCC pragmas in #ifdef _GNUC_ * removed __DATE__ and __TIME__ macros from flatc.cpp
-
Austin Schuh authored
* Add flatbuffer_cc library support * Update flags so all the tests pass Tests now all pass! * Modify the tests to use the generated code This should be a simple serialize/deserialize test of the new generated code to make sure the bazel rules are doing something sane. * Use generated monster_test.fb in testing/test.cpp cmake drops it's generated code in tests/monster_test_generated.h Instead of checking that in, let's generate it with bazel. * Make grpc tests depend on monster_test_generated.h * Remove redundant cmake dependency This should address @aardappel's feedback. * Run flatc for Android as well This will fix the last travis.ci failure * Add generated output folder and fix flags * Move flatbuffers_header_build_rules to the library that uses it * Use --cpp-ptr-type to fix android Android was the only target using the STL emulation layer. It needed the --cpp-ptr-type flatbuffers::unique_ptr flag to work. Add it! * Roll back changes to use autogenerated monster_test_generated. Flip tests/test.cpp to use the autogenerated file as well.
-
- 06 Dec, 2018 1 commit
-
-
Kamil Rojewski authored
-
- 03 Dec, 2018 2 commits
-
-
Simon.S.King authored
[net] Fix issue #5036 when write a double value into bytebuffer at big endian machine with unsafe mode. (#5076)
-
Matt Frantz authored
-
- 30 Nov, 2018 1 commit
-
-
Robert authored
This runs a script in TravisCI that executes a bunch of small Docker image scripts to test the language ports in isolated environments. This allows us to test multiple language versions with little additional complexity. Covers: + Java OpenJDK 10.0.2 + Java OpenJDK 11.0.1 + Node 10.13.0 + Node 11.2.0 + Python CPython 2.7.15 + Python CPython 3.7.1 + Rust 1.30.1
-
- 29 Nov, 2018 2 commits
-
-
Robert authored
-
Sumant Tambe authored
* Fix Java generator bug that ignores streaming: bidi attribute Tests * Java gRPC client streaming test * Java gRPC Bidi Streaming Test
-
- 17 Nov, 2018 3 commits
-
-
Robert authored
-
Russell Chou authored
The use case is so we can batch compile a bunch of schemas, some which can depend on each other, without caring about their order.
-
Wouter van Oortmerssen authored
Multiple calls of e.g. CreateString inside a call to a CreateTable could cause those strings to end up in different locations in the wire format, since order or argument evaluation is undefined. This is allowed by the FlatBuffer format, but it is not helpful, especially when debugging the contents of binaries, or comparing against a "golden" binary for tests etc. Now making sure that all the CreateTableDirect calls first serialize sub strings/vectors before calling CreateTable. Also made similar changes to the serialization of "binary schemas". Change-Id: I5747c4038b37a0d400aca2bc592bec751cf5c172
-
- 16 Nov, 2018 4 commits
-
-
Vladimir Glavnyy authored
* Make the Parser independent from the global C-locale * Set a specific test locale using the environment variable FLATBUFFERS_TEST_LOCALE * Remove redundant static qualifiers
-
Kamil Rojewski authored
* Fixed double generated file name postfix * Fixed missing file postfix on imports without reexports
-
Austin Schuh authored
Tests for third_party code are run out of the main workspace. This isn't an issue when the main workspace is the com_github_google_flatbuffers workspace, but is an issue when you are running the tests from another repository. To reproduce, use "git_repository" to add flatbuffers to a project and then run: bazel test @com_github_google_flatbuffers//:flatbuffers_test
-
Kamil Rojewski authored
-
- 15 Nov, 2018 1 commit
-
-
Shivendra Agarwal authored
-
- 13 Nov, 2018 1 commit
-
-
Robert authored
-
- 12 Nov, 2018 3 commits
-
-
Antonio Park authored
* Update numTypes.lua int32 range was wrongly defined. * Update numTypes.lua Fix number 32 to 31
-
Uilian Ries authored
* #5026 Add FindFlatBuffers.cmake to Conan Package Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #5026 Build Flatbuffers on OSX 10 Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #5026 Auto update Conan package version Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #5026 Update Conan docker images Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #5026 Update tag var on Appveyor Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #5026 Filter appveyor brach name Signed-off-by:
Uilian Ries <uilianries@gmail.com>
-
Shivendra Agarwal authored
* FlexBuffer to JSON convertor for typed and fixedTypedvectors * moving the common implementation to template * signed unsigned comparison fix * fix a formatting ({ * changing logic to append comma in vector of elements in json
-
- 06 Nov, 2018 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I2b9508f547667695475be64fa56f64f129603fd4
-
- 05 Nov, 2018 1 commit
-
-
Wouter van Oortmerssen authored
And also added tests for them. Change-Id: I91af1904105435601287291412e82d5066f476a5 Tested: on Linux.
-
- 02 Nov, 2018 3 commits
-
-
Wouter van Oortmerssen authored
https://github.com/google/flatbuffers/pull/4986 missed part of the implementation. Change-Id: Ie41771eb018a550c289c77ebe9ef5c50d1ad6751
-
Sumant Tambe authored
* Fix a memory leak in builder test * using RAII to free memory
-
Gabriel Nützi authored
* keep include path * add option --keep-prefix for js * format contribution (format whole files before merge!) * revert util.h : IsAbsPath ... * JS Generator: only support relatives paths (keep it as it was)
-
- 01 Nov, 2018 2 commits
-
-
Frank Benkstein authored
Some generic C++ and Rust code is not generated when unions use type aliases because of potential ambiguity. Actually check for this ambiguity and only disable offending code only if it is found.
-
Robert authored
-
- 30 Oct, 2018 2 commits
-
-
Wouter van Oortmerssen authored
This is because they are incompatible with C++ and possibly other languages that make them minimum size 1 (to make sure multiple such objects don't reside at the same address). Forcing them to size 1 was also not practical, as that is requires updating the logic of a lot of implementations and thus possibly backwards incompatible. More here: https://github.com/google/flatbuffers/issues/4122 Change-Id: I2bfdc8597b7cfd2235bb4074bb2ae06f81f8e57d
-
Wouter van Oortmerssen authored
This reverts commit 72b05bc8. Change-Id: I17510b7fa49b9861ce0a870b16f5c14a41082db5
-
- 29 Oct, 2018 1 commit
-
-
Vladimir Glavnyy authored
* Add '-fsanitize' optional flags to flattests and flatc targets Control: -DFLATBUFFERS_CODE_SANITIZE=(ON | OFF | "=memory,undefined") Travis-CI: building with -DFLATBUFFERS_CODE_SANITIZE=ON * Fix -pie flag * Cleanup
-
- 25 Oct, 2018 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Iff00a48b370f45f80d68e6c6929483d608ce1885
-
Wouter van Oortmerssen authored
Change-Id: Id8c373b0f77d9a0f4922257339abb4e01e06c2d4
-
- 24 Oct, 2018 1 commit
-
-
csmoe authored
* clean up unneeded outer rust gen-snippet * update generated rust file
-
- 22 Oct, 2018 2 commits
-
-
Felix Hanley authored
-
Doug Muir authored
-