- 08 Oct, 2018 3 commits
-
-
kostya-sh authored
-
cor3ntin authored
Reference::As<> was needlessly mutable wich made them less safe and harder to use
-
Stewart Miles authored
armeabi support was removed from the Android NDK so we should no longer build it. Since this fixes the Android build failures this commit also re-enables Travis Android builds. While re-enabling Android builds, some recent changes broke C++98 support so this fixes those issues as well which include: - Conditionally compiling use of move constructors, operators and std::move. - Changing sample to use flatbuffers::unique_ptr rather than std::unique_ptr. Finally, added the special "default_ptr_type" value for the "cpp_ptr_type" attribute. This expands to the value passed to the "--cpp-ptr-type" argument of flatc.
-
- 04 Oct, 2018 2 commits
-
-
Taj Morton authored
In Javascript, generate bidirectional mappings for enums, between Name: Value and between Value: Name. (#4960)
-
Vladimir Glavnyy authored
* Fix recursion counter check. Add control to override depth of nested objects. * Change if-condition to `>=`
-
- 03 Oct, 2018 5 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I9a6256d90ea800834a887afdcf888df412018933
-
Wouter van Oortmerssen authored
Change-Id: I751f3bbd85eb1b521e1533c68f95442af0d18b8a
-
Jason Neufeld authored
This allow recycling/pooling instances without leaking ByteBuffers, by providing a mechanism to reset instance to newly constructed state.
-
Vladimir Glavnyy authored
* Assert tests on the first failure. Disable pop-up message box on assertion. * Fix format and code style * Move MSVC dependent code to ifdef
-
kostya-sh authored
As recommended by https://golang.org/pkg/cmd/go/internal/generate/: To convey to humans and machine tools that code is generated, generated source should have a line early in the file that matches the following regular expression (in Go syntax): ^// Code generated .* DO NOT EDIT\.$
-
- 01 Oct, 2018 3 commits
-
-
Taj Morton authored
-
Sumant Tambe authored
Download and build with a known grpc version
-
Vladimir Glavnyy authored
-
- 29 Sep, 2018 1 commit
-
-
Matt Mastracci authored
With the old-style code, the test fails with a borrow-checker error: ``` #[inline] pub fn name(&'a self) -> &'a str { self._tab.get::<flatbuffers::ForwardsUOffset<&str>>(Monster::VT_NAME, None).unwrap() } ``` ``` error[E0597]: `e` does not live long enough --> tests/integration_test.rs:273:57 | 273 | let enemy_of_my_enemy = monster.enemy().map(|e| e.name()); | ^ - `e` dropped here while still borrowed | | | borrowed value does not live long enough 274 | assert_eq!(enemy_of_my_enemy, Some("Fred")); 275 | } | - borrowed value needs to live until here ```
-
- 28 Sep, 2018 1 commit
-
-
kzvi authored
-
- 27 Sep, 2018 3 commits
-
-
Shivendra Agarwal authored
* Add more apis to query vector types from a reference https://github.com/google/flatbuffers/issues/4818 * changing order of apis * another reordering * removed vector element type api as not needed as for now
-
Vladimir Glavnyy authored
-
kzvi authored
-
- 26 Sep, 2018 1 commit
-
-
jean-airoldie authored
* Fixed MakeCamelCase behavior when supplied Upper_Camel_Case, snake_case and UPPERCASE strings. * Modified the rust integration test to reflect changes.
-
- 24 Sep, 2018 2 commits
-
-
Sumant Tambe authored
* Add FlatBufferBuilder move semantics tests to main Do not eagerly delete/reset allocators in release and release_raw functions Update android, vs2010 build files New tests for various types of FlatBufferBuilders and move semantics * Improve test failure output with function names
-
Michael Edwards authored
-
- 21 Sep, 2018 4 commits
-
-
Thomas authored
* Add operator== for c++ genated code New "--gen-compare" option for flatc to generate compare operators. The operators are defined based on object based api types. Inspired by issue #263. * Improve compare operator for c++. Thanks for the code review. - Improve robustness against future schema extensions - Code style - Fix --rust generation in generate_code.sh
-
Wouter van Oortmerssen authored
Change-Id: I9b0664a3bde44a4ee44ef0fd117d0e4bedc132d9
-
Wouter van Oortmerssen authored
Different implementations of std::hash kept littering commits with namespace changes. Change-Id: Ic2d4fdcd76f8fef9802bc1572eb74ae7427085e3
-
Wouter van Oortmerssen authored
Change-Id: Ic97f5b50fa191f967672c404f737d302462fc6ac
-
- 20 Sep, 2018 1 commit
-
-
Christopher Cifra authored
* C# support for directly reading and writting to memory other than byte[]. For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files. Public access to the backing buffer uses Span<T> instead of ArraySegment<T>. Writing to the buffer now supports Span<T> in addition to T[]. To maintain backwards compatibility ENABLE_SPAN_T must be defined. * Remove usage of expression bodied method so that ByteBuffer can be compiled with older version of C#.
-
- 12 Sep, 2018 1 commit
-
-
Robert authored
-
- 06 Sep, 2018 2 commits
-
-
Enrico Olivelli authored
This adds the ability to dispose unused buffers or to return them to an object pool
-
Robert authored
-
- 05 Sep, 2018 1 commit
-
-
Robert authored
-
- 04 Sep, 2018 9 commits
-
-
Onur Karaman authored
Manual vector creation begins with start_vector, not create_vector.
-
Robert authored
-
Robert authored
-
Robert authored
-
Robert authored
-
Robert authored
-
Chris Holcombe authored
Imports the Rust FlatBuffers runtime crate even when not using a namespace in a schema.
-
Robert authored
-
Robert authored
-
- 03 Sep, 2018 1 commit
-
-
Robert authored
This is a port of FlatBuffers to Rust. It provides code generation and a runtime library derived from the C++ implementation. It utilizes the Rust type system to provide safe and fast traversal of FlatBuffers data. There are 188 tests, including many fuzz tests of roundtrips for various serialization scenarios. Initial benchmarks indicate that the canonical example payload can be written in ~700ns, and traversed in ~100ns. Rustaceans may be interested in the Follow, Push, and SafeSliceAccess traits. These traits lift traversals, reads, writes, and slice accesses into the type system, providing abstraction with no runtime penalty.
-