- 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 3 commits
-
-
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.
-
Wouter van Oortmerssen authored
This reverts commit 7b50004e. Change-Id: I09d6869c16aa3c7fadc537fc9c76eaa3cf7ee7ea
-
Wouter van Oortmerssen authored
Change-Id: I836091193485b890710f1df779d4d770f729a27a
-
- 16 Aug, 2018 2 commits
-
-
Andy Martin authored
* Added 'private' attribute, supported when generating C# and Java * Added use of 'private' attribute in monster_test
-
Uilian Ries authored
* Build Conan package on Travis CI (#4590) - Added multi package support on Linux, running on Travis CI - Only upload when branch is a tag and named "vX.Y.Z" - Replace Conan injection by Conan wrapper - Removed os_build os_arch -- Conan 1.0.1 hotfix Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Build Conan package on OSX (#4590) - Added jobs to build Flatbuffers on OSX running on Travis Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Build Conan package on Windows (#4590) - Added support necessary to build Flatbuffers on Windows (conan) - Added Appveyor jobs to build Conan package - Only build Conan package when release (tag) Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Reduce Conan CI support to simple scripts (#4590) - Removed msvc 10 x86_64 workaround - Updated conan remote address - Added Bincrafters' package tools Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Add fPIC option on Conan recipe (#4590) - Add fPIC as optional. It works on Linux and OSX - Update recipe metadata: author, homepage, license - Checking for flatc and flathash on Conan package Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Build Conan package on CI (#4590) - Add rule to run conan job only for tags - Run Conan on Linux, OSX and Windows - Update package tool to new interface Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Update Conan username (#4590) - Use google as default username Signed-off-by:
Uilian Ries <uilianries@gmail.com> * Update OSX version on CI (#4590) - Use latest OSX 9.3 version to build Conan package Signed-off-by:
Uilian Ries <uilianries@gmail.com>
-
- 13 Aug, 2018 3 commits
-
-
kulswanand authored
* Proposing use of C++ header files and functions Proposing use of C++ header files and functions instead of C header file and functions. Here are few examples for comparison : C C++ <cstdio> <iostream> & <fstream> printf() cout fopen() ifstream etc ... Please let me know if there are any comments. * Updated diff based on review comments
-
iceboy authored
Current version of VC2017 is not setting __cplusplus to correct value, instead they use _MSC_VER, _MSVC_LANG and _HAS_CXX17 macros.
-
Wouter van Oortmerssen authored
The verifier must be resilient against any corrupt data, so now using size_t thru-out to ensure any 64-bit offsets can be represented. Also added verification of alignment. Change-Id: I87a22aa6b045c2d83b69b47a47153f2e15ad7e06 Tested: on Linux, also with libfuzzer.
-
- 10 Aug, 2018 3 commits
-
-
Matias Cudich authored
* Update JavaScript IDL generator to remove invalid Closure JSDoc comments * Revert erroneous changes * A few more tweaks * Updated generated code
-
iceboy authored
fixes #4868
-
cubeleo authored
This should allow the EnumName* function to work with enums generated using the --scoped-enum flag.
-