- 28 Oct, 2019 3 commits
-
-
Derek Bailey authored
-
Derek Bailey authored
-
Mathias Svensson authored
* Rust: Fix Copy and Clone impls for a few generic types * Add tests for Copy+Clone * Wrap Copy+Clone checks in a #[test] function
-
- 21 Oct, 2019 1 commit
-
-
Vladimir Glavnyy authored
- `--clean-first` runs `clean` target to remove previously generated files - missed `monster_extra_generated.h` file added to the `flattests` target
-
- 20 Oct, 2019 1 commit
-
-
StackDoubleFlow authored
-
- 18 Oct, 2019 1 commit
-
-
Vladimir Glavnyy authored
- remove not necessary file `monster_test_generated.h` from sample_bfbs.cpp
-
- 17 Oct, 2019 6 commits
-
-
Björn Harrtell authored
* Avoid intentional unsigned integer overflow getting caught by sanitizers * Adapt from suggested compiler compatible solution * And a third way :)
-
Bharat Tak authored
* Add forceDefaults opt to python Builder * Add test functions for force_default option for python builder * Simplify * Add force default test for UOffsetTFlags
-
Jacek Surazski authored
* Annotate getters with @Pure when --java-checkerframework is specified. Together with @Nullable, this allows users to use static analysis tools like CheckerFramework to catch NPEs caused by unset fields. * Don't annotate vector-of-tables item getters with @Nullable. Since Flatbuffers don't support null items in vectors of tables.
-
Wouter van Oortmerssen authored
Change-Id: I6fd6283b616c7a39bb878b1610e4ddf6e208fa0a
-
Idan Sheinberg authored
* byte buffer factory returned buffer is used instead of the requested capacity * byte buffer factory returned buffer is used instead of the requested capacity * Comment fix
-
tira-misu authored
* Fix C/C++ Create<Type>Direct with sorted vectors If a struct has a key the vector has to be sorted. To sort the vector you can't use "const". * Changes due to code review * Improve code readability
-
- 15 Oct, 2019 1 commit
-
-
Brian Harris authored
-
- 10 Oct, 2019 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Iacc0c8513af80a736700e6cbaf513ebdf8e3ac89
-
- 03 Oct, 2019 1 commit
-
-
Paulo Pinheiro authored
In my benchmarks it shows deserialization performance improvements of around 7%
-
- 30 Sep, 2019 3 commits
-
-
Paulo Pinheiro authored
Empty objects that inherit from Sized would try to access internal ByteBuffer when Sized::size was called. So we add a single byte in the empty buffer, so when size() is called it would return 0
-
Wouter van Oortmerssen authored
Change-Id: I59ff072e526fc63b3215767a4d4a2a8944b65654
-
Jack Zhou authored
Changes the use of `LookupStruct` to `LookupCreateStruct` in `ParseField` to also detect when collisions happen in namespaces.
-
- 26 Sep, 2019 3 commits
-
-
Paulo Pinheiro authored
Alongside --binary and --json, an additional switch (--flexbuffers) can be passed to convert data using FlexBuffers
-
Robert Winslow authored
Fixes build errors from using newer crate versions with an old Rust version.
-
mjvk authored
* Adds XOPEN_SOURCE for PATH_MAX and POSIX 1993 for stat These are the only two required extension for compilation of flatbuffers using -std=c++11 instead of gnu++11. * Sets _XOPEN_SOURCE to 600 and enable POSIX2001 for fseeko
-
- 25 Sep, 2019 2 commits
-
-
Paulo Pinheiro authored
-
Paulo Pinheiro authored
The real position of a string is calculated by using the indirect() method, which should be based on parentWidth and not byteWidth, as it was implemented. We are also fixing the flag BUILDER_FLAG_SHARE_STRINGS on FlexBuffersBuilder that was set as '1', same value as BUILDER_FLAG_SHARE_KEYS.
-
- 23 Sep, 2019 2 commits
-
-
Vladimir Glavnyy authored
* Draft with Array specialization (#5508) * Array specialization + SFINAE to fold copy-paste (#5508) * Add implicit specialization of Array<scalar> and Array<struct> (#5508) - Tag dispatching is used for implicit specialization - Array<scalar> and Array<struct> have different iterators and accessors - Array<scalar> and Array<struct> have different Mutate() methods * Add implicit specialization of Array<scalar> and Array<struct> (#5508) - Tag dispatching is used for implicit specialization - Array<scalar> and Array<struct> have different iterators and accessors - Array<scalar> and Array<struct> have different Mutate() methods
-
Kulikov Alexey authored
* Java: Added access object for vector of struct and vector of tables. * Java: Workarounds removed when accessing the union vector.
-
- 19 Sep, 2019 2 commits
-
-
mmoscicki2 authored
-
Austin Schuh authored
Fixes warnings caught in: https://buildkite.com/bazel/flatbuffers/builds/863#cff87e1d-b976-4734-8157-4b6d88c7b5e1
-
- 17 Sep, 2019 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ie94386ff8e10fd2a964bd9155139b50953746a37
-
- 16 Sep, 2019 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ie82abaf178495c4692e7d10be6b4a13f2fa1bee6
-
- 11 Sep, 2019 1 commit
-
-
Kevin Fort authored
* Add element size parameter to __vector_as_arraysegment Add element size parameter to __vector_as_arraysegment fixing issue where VectorAsBytes returns incorrect size span for multibyte element types. * Update codegen Update codegen and Table to return typed span. * update test files update test files
-
- 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 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ib771bfa46ccdf38eff25be857b1b73f8b300c649
-