- 10 Sep, 2019 2 commits
-
-
Paulo Pinheiro authored
Also add a FlexBuffer constructor to simplify usage
-
jaceksur authored
Together with @Nullable, this allows users to use static analysis tools like CheckerFramework to catch NPEs caused by unset fields.
-
- 09 Sep, 2019 2 commits
-
-
Edward authored
* fix: segment fault with empty namespace when generating dart file * fix: compile err * fix: compile err * fix: imported file names * fix test issues * fix some language style issues
-
Casper authored
* Cargo clippy lints * more lints * more lints * Restored a doc comment * Comment on float eps-eq and adjusted casting
-
- 05 Sep, 2019 1 commit
-
-
Jaemin Park authored
* wrap quotes to enum name map to prevent syntax errorn when enum value is negative * Add a test that covers signed enum case
-
- 03 Sep, 2019 3 commits
-
-
Nathan Williams authored
* [C#] Fix retrieving enumeration vectors as arrays * [C#] Don't generate CreateVectorBlock for enums
-
Björn Harrtell authored
-
Morten Grouleff authored
Use all of the available space in the buffer returned by ByteBufferFactory to allow the factory to keep a pool of larger than initialsize sized buffers. (#5500)
-
- 29 Aug, 2019 1 commit
-
-
Paulo Pinheiro authored
* [FlexBuffers][Java] Implementation of FlexBuffers API This is the initial attemp to implement FlexBuffer on Java. There is some limitations as compared to the C++ implementation: 1 - No mutations implemented yet 2 - Does not parse from json Also, this initial implementation is not focused and performance, but get the basics write. So there is many opportunities for optimization, for instance, remove all enums, return CharSequence instead of Strings and object pooling. * [FlexBuffers][Java] Optimizations and simplification of the Builder API. This change removes BitWidth enum in favor of static ints. Also make all "reads" APIs closer to C++ implementation (try to cast or convert as much as possible, assuming user knows what he is doing). Finally, we remove the helper classes for building vectors and maps. There is no official benchmarks, but the unit tests are running in less than 50% for previous runs, which mean those optimizations are worth it. * [FlexBuffers][Java] Fix Reference::asString behavior There was a incorrect assumption that strings would be null-terminated, which could lead to truncated strings. S now it relies size instead of null-termination. Other minor improvements
-
- 26 Aug, 2019 3 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Ib771bfa46ccdf38eff25be857b1b73f8b300c649
-
Wouter van Oortmerssen authored
Change-Id: Idfc8d9cfbdefda44f803a6232700842ee6b6bffd
-
Wouter van Oortmerssen authored
(see comments in the code). Change-Id: I5603abb0db436145739653692644bbcfd3c946e3
-
- 23 Aug, 2019 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I0ebd4502f98d009ce5afe8c8bafb629284f0366c
-
Wouter van Oortmerssen authored
Change-Id: I3595b9c6803718f34ce61fdfc367da97b50dc444
-
Earlonus authored
* commit isvector bugfix (change email recommit to pass cla) * commit IsUntypedVector * delete isvectorormap function
-
svenk177 authored
-
- 20 Aug, 2019 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Iaa0633167c2a4d4543fc4de2af58112d60d5d1e6
-
Wes McKinney authored
-Wextra-semi-stmt warning when building with Clang 8.0.0. Update generated files for testing
-
- 19 Aug, 2019 3 commits
-
-
Tsingson authored
* add Name() for ForceCodec interface // ForceCodec returns a CallOption that will set the given Codec to be // used for all request and response messages for a call. The result of calling // String() will be used as the content-subtype in a case-insensitive manner. // * Update grpc.go
-
Mark Nauwelaerts authored
... to avoid assertion failure or invalid access due to invalid vector index
-
Edward authored
has_method support for primitive fields in java runtime. Changed: idl.h, FlatBufferBuilder.java , idl_gen_general.cpp, idl_parser.cpp, flatc.cpp (#5468) * has_method support for primitive fields in java runtime * adding the new flag to flatc * addressing the review comments
-
- 05 Aug, 2019 1 commit
-
-
Max Burke authored
Local variables were shadowing member fields, causing errors.
-
- 01 Aug, 2019 3 commits
-
-
Alexey Geraskin authored
* [C++] remove static_cast expression * [C++] Add unit test for native_type usage * [C++] Add flatc compilation for native_type_test.fbs * [C++] update CMakeLists to compile native_type_test.fbs properly * Update BUILD file for bazel * [C++] Add generated native_type_test_generated.h and fix arguments for flatc according to CMakeList * [C++] remove "= default" from constructor to support old compilers * Update BUILD file for bazel, attempt 2 * [C++] Workaround for MSVC 2010 for the issue with std::vector and explicitly aligned custom data types * Update BUILD file for bazel, attempt 3 * Update BUILD file for bazel, attempt 4 * Update BUILD file for bazel, attempt 5 * Update BUILD file for bazel, attempt 6 * [C++] Workaround for MSVC 2010 for the issue with std::vector and explicitly aligned custom data types Part 2 * [C++] Keep only one optional parameter to compile_flatbuffers_schema_to_cpp_opt * native_type_test.fbs style corrected * [C++] Code style modifications * [C++] Fix flatc arguments in CMakeLists * [C++] Remove --gen-compare from default parameters for flatc in CMakeLists * [C++] Change Vector3D fields from double to float, to have alignment eq. 4 (to support MSVC 2010), plus minor review fix * [C++] Remove one more #if !defined * [C++] Restore version with correct static_cast, add the same fix for SortedStructs * Revert "[C++] Restore version with correct static_cast, add the same fix for SortedStructs" This reverts commit d61f4d6628cfce530c8b9a4c9e7af368d599f99f. * [C++] Fix Android.mk
-
ll-antn authored
* Support output_enum_identifiers for enums with multiple bit values * Cast bit_flag enum val to uint64_t instead of int64_t
-
Derek Bailey authored
The packing/unpacking steps for Boolean values was failing because the code expected numerical values. I overrode the functions for the Boolean metatable to account for this. I also had to exclude the Boolean metatable from the GenerateTypes helper function, as that was overriding the Pack/Unpack functions defined in its metatable. Added Linux bash script to run Lua tests from the command line. Bug: google/flatbuffers#5379 Tested: Added Lua tests that were failing and are now fixed with the code changes.
-
- 29 Jul, 2019 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Iea88624d9d90e029a64cab9edf4e7c1cfc005e4a
-
Vladimir Glavnyy authored
-
- 27 Jul, 2019 3 commits
-
-
Wouter van Oortmerssen authored
-
Vladimir Glavnyy authored
* Extend the error message if base type of parsed scalar not resolved #5447 * Resolve PR notes
-
Wouter van Oortmerssen authored
See https://probot.github.io/apps/stale/ Change-Id: I8176eeb21dbcd516f1d6f7b1e8c28602cdd9332a
-
- 26 Jul, 2019 4 commits
-
-
Joseph Pyott authored
* Python: Added support for file_identifiers * Added tests. Fixed file_identifier code. * Python: Fixed excessive padding of file_identifier. Repaired tests. * Python: Made code compatible with python2.7 * Python: Typo fix in @endcond * whitespace normaalization * Stylistic change from if(not X is None) to if(X is not None). Added comment to type string. * Python: Added support for automatic code generation of file_identifiers. Added tests for said code generation. * converted sprintf to snprintf * Bugfix, added snprint deffinition for MSVC * changed snprint deffinition for MSVC to sprint_s * changed scanf to IntToStringHex. Renamed HasFileIdentifier to GenHasFileIdentifier. * Added updated genereated code to commit * Python bugix: flatc no longer produces HasFileIdentfier for shcemas with no file identifier * Added tests to verify `MonsterBufferHasIdentifier` returns false on no Identifier * Python: added tests for GetBufferIdentifier and BufferHasIdentifier Python: removed unessasary parenethesis in if statements Minor format changes. * Python : correceted instances of keyword arguments being called as positional arguments * fixed typos and grammer in comments * Minor style fixes * Indentation fix * Equals style changes * Python: Fixed Alignment Issues. Changed test code to test against atual output * Ran make(forgot to run make last commit) * Python: Style changes * Style changes * indentation and style * readded CONTRIBUTING.md * Formatting tweak Mostly to make CI run again * More formatting fixes * More formatting fixes * More formatting fixes * More formatting fixes * Formatting fix * More formatting fixes * Formatting * ran generate_code.sh
-
ll-antn authored
-
ll-antn authored
-
Stewart Miles authored
r17c is the last Android NDK to include stlport and gnustl. We want to continue to support these deprecated STLs until we have confidence few enough customers are using them.
-
- 25 Jul, 2019 3 commits
-
-
Jason Monschke authored
-
Wouter van Oortmerssen authored
Change-Id: I7eeee6519b6dc619691437e44272cf5424d0d4ca
-
Uilian Ries authored
* #4590 Fix Conan build - Create separated build for Conan on master branch - Add Clang 7,8 - Add Gcc 9 Signed-off-by:
Uilian Ries <uilianries@gmail.com> * #4590 Do not build Conan for PRs Signed-off-by:
Uilian Ries <uilianries@gmail.com>
-
- 22 Jul, 2019 1 commit
-
-
Paulo Pinheiro authored
* [Kotlin] Add kotlin generate code for tests and add kotlin test to TestAll.sh * [Kotlin] Add Kotlin generator This change adds support for generating Kotlin classes. The approach of this generator is to keep it as close as possible to the java generator for now, in order to keep the change simple. It uses the already implemented java runtime, so we don't support cross-platform nor js Kotlin yet. Kotlin tests are just a copy of the java tests. * Add optional ident support for CodeWriter Identation is important for some languages and different projects have different ways of ident code, e.g. tabs vs spaces, so we are adding optional support on CodeWriter for identation. * [Kotlin] Add Documentation for Kotlin * [Kotlin] Modify generated code to use experimental Unsigned types.
-
- 18 Jul, 2019 1 commit
-
-
Alexey Geraskin authored
-
- 09 Jul, 2019 1 commit
-
-
jean-airoldie authored
-