- 19 Apr, 2019 1 commit
-
-
Wouter van Oortmerssen authored
The validator previously did not check if a struct within a union was valid, causing a heap buffer overflow. Add a check to make sure that the struct is valid in this case. Change-Id: I87d41b12fdfc2a99406789531ba92b841c063c76
-
- 18 Apr, 2019 3 commits
-
-
Omer Akram authored
-
Wouter van Oortmerssen authored
-
Omer Akram authored
* SNAP: cleanup * Lets keep it in devel mode as it requires more testing * add better description
-
- 15 Apr, 2019 3 commits
-
-
Nils Berg authored
fixes #5288
-
Nils Berg authored
* C++: Generate MiniReflectTypeTable for Structs as well as Tables * Update generated code * add test
-
Vladimir Glavnyy authored
-
- 11 Apr, 2019 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I3ee68c5f250d6baa02060ab2ecbc0f0fe254a9d8
-
Wouter van Oortmerssen authored
Change-Id: I487ded77d28490189dd5d38236cb04bffaf5f11a
-
Vladimir Glavnyy authored
* Detect leak with sanitizer * Fix proto-enum leak issue
-
Vladimir Glavnyy authored
-
- 08 Apr, 2019 3 commits
-
-
Vladimir Glavnyy authored
-
Vladimir Glavnyy authored
-
Vladimir Glavnyy authored
-
- 05 Apr, 2019 5 commits
-
-
Henry Lee authored
-
Henry Lee authored
* Fix the header file path in the tutorial doc * Add the path field in sample/monster.fbs to match the tutorial * Update the lobster sample file * Update the binary sample file
-
Matt Mastracci authored
* Ensure we don't subtract with underflow getting enum names * Yep - forgot to run this
-
Anthony Liot authored
* Create a function GenerateGenerateTextFromTable in order to create a json from any Table Signed-off-by:
Anthony Liot <anthony.liot@gmail.com> * Update the test to failed if loadfile or parser return false Signed-off-by:
Anthony Liot <anthony.liot@gmail.com> * Fix snake_case name typo + space before &/* Signed-off-by:
Anthony Liot <anthony.liot@gmail.com> * use auto Signed-off-by:
Anthony Liot <anthony.liot@gmail.com> * Use clang-format on the added code Signed-off-by:
Anthony Liot <anthony.liot@gmail.com>
-
Kamil Rojewski authored
-
- 04 Apr, 2019 1 commit
-
-
unexge authored
-
- 01 Apr, 2019 1 commit
-
-
Vladimir Glavnyy authored
* Add checking of numerical_limits<T> in C++ code. * Add integer suffixes (LL/ULL) to int64 values in the IntegerBoundaryTest
-
- 28 Mar, 2019 1 commit
-
-
tymcauley authored
-
- 25 Mar, 2019 4 commits
-
-
Austin Schuh authored
$ cat /home/austin/.cache/bazel/_bazel_austin/4b3182bfa237d7e256d9f18ffe58322f/execroot/com_github_google_flatbuffers/bazel-out/k8-opt/testlogs/flatbuffers_test/test.log exec ${PAGER:-/usr/bin/less} "$0" || exit 1 Executing tests from //:flatbuffers_test ----------------------------------------------------------------------------- VALUE: "0" EXPECTED: "1" TEST FAILED: tests/test.cpp:2029, flatbuffers::LoadFile( (test_data_path + "union_vector/union_vector.json").c_str(), false, &jsonfile) in VALUE: "0" EXPECTED: "1" TEST FAILED: tests/test.cpp:2100, parser.Parse(jsonfile.c_str()) in VALUE: "0" EXPECTED: "1" TEST FAILED: tests/test.cpp:2103, VerifyMovieBuffer(jverifier) in
-
László Csomor authored
Use the "simple format" defined here: https://github.com/bazelbuild/continuous-integration/blob/69cf7ec23d984dcbb41fffe946e07ebf5ab7e0f1/buildkite/bazelci.py#L1453 This will unbreak the "Bazel / FlatBuffers" pipeline on Bazel CI, see https://buildkite.com/bazel/flatbuffers
-
Nikolay Kuznetsov authored
-
LouisP authored
-
- 21 Mar, 2019 3 commits
-
-
Henry Lee authored
* Correct the usage in the flathash program As it is possible to have -- before the occurrence of the first input STRING. * Exit with 1 in the flathash program when an error occurs
-
Ashay Shirwadkar authored
Path specified in tutorial file was pointing to invalid location.
-
Wouter van Oortmerssen authored
Change-Id: I92c257ec4ab4a0cf4676bd98523b766ce25bf4f6
-
- 18 Mar, 2019 3 commits
-
-
Vladimir Glavnyy authored
* Unify line ending rules in '.editorconfig' and '.gitattributes' * Revert '.gitattributes' - fix invalid comments in the check-source.py
-
Wouter van Oortmerssen authored
Change-Id: I3e758d44b9845d6df91332bb609b4b7ad88659ac
-
Wouter van Oortmerssen authored
Change-Id: Ia4d56a5eb086f86eb5d1ad6ddae64e4a51bf3aa3
-
- 14 Mar, 2019 1 commit
-
-
Wouter van Oortmerssen authored
This to support code that relied on tables being multiline, but not vectors. This behavior was changed in: https://github.com/google/flatbuffers/commit/b1a925dfc2ac78508aee89029e950057405f0a0a#diff-c45c8fbffbc64f7ff4aa2978612b10d8 Change-Id: I4c95471b643b2b3fab95e06b1294e19d686b492c
-
- 11 Mar, 2019 5 commits
-
-
Wouter van Oortmerssen authored
Original change by: https://github.com/alexames Change-Id: Ib65bd02156d1c3637ed278a8334a2307caacaa44
-
Wouter van Oortmerssen authored
This was incompatible with -Wc++98-c++11-compat on some platforms, due to local variables in the function. Change-Id: Idef510c2cefe944eef2e0656f5a219c2158063e6
-
Vladimir Glavnyy authored
-
Randal Stevens authored
-
Wouter van Oortmerssen authored
implement better custom string type constructor alternative for Unpack() and fix bug with vector of custom string types in Pack(). Squashed commit of the following: commit e9519c647ef949b22756ed660839dd3af854881c Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Tue Mar 5 18:24:49 2019 +0100 tests: regenerate code, reverts change to CreateVectorOfStrings(). commit 117e3b0679209f2aa55cbee18c4036e7da4bd4b3 Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Tue Mar 5 18:15:05 2019 +0100 idl_gen_cpp.cpp: move clang-format on/off outside of declaration, so they are kept properly aligned automatically. commit 4791923806965637d5b13f7003329bfbb2fdf18b Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Tue Mar 5 18:11:40 2019 +0100 idl_gen_cpp.cpp: full clang-format run with provided Google format file, enforce 80 lines width. commit 2f0402f9ff43b1af0a29806932e08e6d64373345 Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Tue Mar 5 18:09:32 2019 +0100 CppUsage: address requested changes. idl_gen_cpp.cpp: fix formatting, keep CreateVectorOfStrings for normal string cases. commit 371d4e0b7972a59e5cff418c44e4043c016ce56a Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Fri Mar 1 16:35:29 2019 +0100 Fix compile error with a vector of non-std::strings. CreateVectorOfStrings() expects a vector of std::string types, but that's not always the case. commit 92b90d7f0fbcfc837a94aa06bedccec0f7b4bb62 Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Fri Mar 1 16:15:36 2019 +0100 Document requirement for custom string types to implement empty() and be constructible from std::string. Add new option --cpp-str-flex-ctor to construct custom string types not via std::string, but (char * + length). commit 28cb2e92d5b7684b5df5184da3a3fad2d0cda733 Author: Luca Longinotti <luca.longinotti@inivation.com> Date: Fri Mar 1 14:31:17 2019 +0100 idl_gen_cpp.cpp: clang-format run, to better separate changes in content from formatting. Change-Id: I4887ba2f2c632b9e7a8c938659b088cd95690870
-
- 09 Mar, 2019 1 commit
-
-
bspeice authored
* Don't use inner attributes for `allow` Messes with being able to easily include elsewhere * Regenerate tests * No-op to retrigger CI * Add the rest of the `allow` attributes
-
- 08 Mar, 2019 1 commit
-
-
Mathias Svensson authored
-