- 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.
-
- 30 Aug, 2018 1 commit
-
-
Sumant Tambe authored
Add move semantics to MessageBuilder, FlatBufferBuilder, SliceAllocator, and vector_downward (#4893) Unit tests Update flatbuffers + gRPC build instructions Update CMakeLists.txt with cmake variables for grpc and protobuf install paths Update tests for travis build
-
- 24 Aug, 2018 1 commit
-
-
Gabriel Nützi authored
* Simple ReleaseRaw implemented * [doc] * clear_buffer and clear_allocator introduced * auto * typos * rename because of -Werror=shadow
-
- 23 Aug, 2018 2 commits
-
-
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. (#4886) 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.
-
Derek Bailey authored
-
- 20 Aug, 2018 1 commit
-
-
Derek Bailey authored
* Added preprocessor define for C++ if Template Aliases are supported by the compiler * Revert "Revert "Performance Increase of Vector of Structures using .NET BlockCopy (#4830)"" This reverts commit 1f5eae5d. * Put<T> method was inside #if UNSAFE_BYTEBUFFER which caused compilation failure when building in unsafe mode * Revert "Added preprocessor define for C++ if Template Aliases are supported by the compiler" This reverts commit a75af7352127c261baf0b6cca5cb823e13e78f11.
-