- 16 Nov, 2018 3 commits
-
-
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 5 commits
-
-
Felix Hanley authored
-
Doug Muir authored
-
Frank Benkstein authored
Give the vtable offset enum inside each table the name "FlatBuffersVTableOffset" and base type voffset_t so it can be used as a dependent type in IsFieldPresent. This makes that function slightly safer since it prevents calling it with arbitrary, non-table types. Now, the only way to use IsFieldPresent incorrectly is to create your own type which does not inherit from flatbuffers::Table but has a dependent voffset convertible type "FlatBuffersVTableOffset".
-
Vladimir Glavnyy authored
* Add fuzzer test for scalar numbers in json. Grammar-based regex used to check correctness. * Fix conversation
-
Frank Benkstein authored
* call reflection code generation from tests This simplifies instructions to contributors so they don't forget to update reflection code. * add error handling to generate_code scripts Let them propagate their errors instead of swallowing them so they show up when called in CI. * apply editorconfig to shell scripts * use ordered map in dart codegen Using an unordered map in the codegen can lead to spurious diffs in the generated dart code. * add CI check for generate_code being run * update reflection_generated.h * disable diff-check for monster_test.bfbs Work around #5008.
-
- 18 Oct, 2018 2 commits
-
-
Frank Benkstein authored
* forbid enum values that are out of range Enum values that are out of range can lead to generated C++ code that does not compile. Also forbid boolean enums. * update enum and union documentation slightly
-
Sumant Tambe authored
* Efficient conversion of FlatBufferBuilder to grpc::MessageBuilder * Added a variety of tests to validate correctness of the MessageBuilder move operations. Disable MessageBuilder half-n-half tests on MacOS. * Fix failing Android build * Generalized the MessageBuilder move constructor to accept a deallocator
-
- 16 Oct, 2018 1 commit
-
-
Felix Frank authored
[Python] Fast serialization of numpy vectors (#4829)
-
- 15 Oct, 2018 4 commits
-
-
kostya-sh authored
* Use Go bool type for bool fields, and store non-default bool field to test data
-
Frank Benkstein authored
Fixes #4857.
-
Frank Benkstein authored
std::function makes code harder to debug because it requires stepping through a separate destructor and call operator. It's use unnecessary in the Parser since the functions taking functors are private and are only used within idl_parser.cpp. Therefore the definitions can stay in idl_parser.cpp as well. Only care must be taken that the definitions appear before use but that's already true and all compilers will complain equally if it get's violated. This change might also improve performance since it might allow inlining where it wasn't possible before but I haven't measured that.
-
iceboy authored
-
- 11 Oct, 2018 4 commits
-
-
Frank Benkstein authored
-
Frank Benkstein authored
-
Vladimir Glavnyy authored
* Refactoring of numbers parser More accurate parse of float and double. Hexadecimal floats. Check "out-of-range" of uint64 fields. Check correctness of default values and metadata. * Remove locale-independent code strtod/strtof from PR #4948. * small optimization * Add is_(ascii) functions * is_ascii cleanup * Fix format conversation * Refine number parser * Make code compatible with Android build * Remove unnecessary suppression of warning C4127
-
Frank Benkstein authored
Print a slightly better error message when a TestError fails.
-
- 08 Oct, 2018 3 commits
-
-
Rikard Lundmark authored
* Add @javax.annotation.Generated to generated flatbuffer Java types. * Updating test goldens.
-
Frank Benkstein authored
Make an out-of-bounds check for enum values before using them to index the names array. For consistency with non-sparse enums an empty string is returned. Fixes #4821
-
Michael Edwards authored
Fixes #4930
-