- 25 Feb, 2019 2 commits
-
-
Wouter van Oortmerssen authored
And fixed 2 more extra semi-colons. Change-Id: I1ee08e5b2f67cd0c886847c05cd4d63cfcafec3e
-
Wouter van Oortmerssen authored
Also fixed warnings this generated. Change-Id: If3607907b2dd609f854b7b81225d9cf66af75a60
-
- 22 Feb, 2019 1 commit
-
-
Brian Wellington authored
For some reason, Offset<T> is being considered a scalar, which causes EndianSwap to be passed an Offset<T>. This doesn't work, as it does not support types with non-trivial constructors. This change adds an overload to WriteScalar(), which works around this.
-
- 21 Feb, 2019 5 commits
-
-
Eric Erhardt authored
* Remove byte* property in ByteBufferAllocator. This allows consumers to read/write into native memory, but without having to always pin the managed `byte[]` when working with managed memory. This allows for users to not need to Dispose() ByteBuffers when they are using the default ByteArrayAllocator class. Instead, we use `Span<byte> GetSpan()` methods to get access to the underlying memory buffer. Fix #5181 * Add a set of benchmark tests. * Add ReadOnly spans. This allows consumers to use ReadOnlyMemory<byte> as the backing storage for ByteBuffers, which is useful in read-only scenarios. * Run tests using ENABLE_SPAN_T in appveyor. * Fix FlatBuffers.Test.csproj to work on older MSBuild versions. * Change the test script to test UNSAFE_BYTEBUFFER * Address PR feedback. Remove IDisposable from ByteBuffer. * Respond to PR feedback.
-
bwelling authored
Add support for using __BYTE_ORDER__, to support platforms where g++ doesn't explicitly define __BIG_ENDIAN__, like Solaris Sparc.
-
Marc Butler authored
* Add RPM packaging support Using the existing PackageDebian as template add support for generating an rpm with the package target. * Restore debian package target Also add an option to advertise the fact. * Update package description C-n-p from README.md * Update rpm package maintainer
-
Kamil Rojewski authored
* Fixed vector of unions crash in java * Regenerated test code * Fixed windows tests
-
Efe Burak authored
-
- 19 Feb, 2019 4 commits
-
-
csukuangfj authored
Change monster_generate.h to monster_generated.h
-
Vladimir Glavnyy authored
* Add utility for checking the encoding of source files - accept source files with ASCII or UTF-8 without BOM - accept only CRLF line ending * Fix non-ascii symbol in idl_parcer.cpp * Remove BOM from test.cpp
-
Wouter van Oortmerssen authored
Change-Id: Ie1f88ac5613cc09ed1074608dd6517ae20c7973d
-
- 15 Feb, 2019 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I737a74dd4d31ca6d1559958f4c76e61e1f0a2c64
-
Christopher Cifra authored
Changed the JavaScript generation to emit createX helper functions just like the TypeScript code generation. I also added code so that the create methods have documentation in both JavaScript and TypeScript. (#5168)
-
- 14 Feb, 2019 4 commits
-
-
Eric Erhardt authored
There is a test code error that causes the CanReadCppGeneratedWireFile test to fail when ENABLE_SPAN_T is defined. When TestarrayofboolsLength is not 0, then the GetTestarrayofboolsBytes() should have a length.
-
Aleix Pol authored
If FLATBUFFERS_BUILD_FLATC and FLATBUFFERS_INSTALL are set, flatc should be installed regardless of the configuration.
-
Kamil Rojewski authored
-
Austin Schuh authored
rules_go was out of date. Update that. Also, a dependency monster_extra_cc_fbs snuck in. So, let's add that. Fixes: #5163
-
- 11 Feb, 2019 4 commits
-
-
Gabriel Nützi authored
* Add flag to make short names in JS/TS. * Synced all missing docs in Compiler.md <-> flatc.cpp. * Review changes.
-
Enrico Olivelli authored
Make ByteBufferFactory an abstract class in order to make FlatBuffers compatible with Java7. (#5155) Introduce a HeapByteBufferFactory singleton instance in order to reduce allocations. Clarify the usage of LITTLE_ENDIAN ByteBuffers in ByteBufferFactory.
-
iceboy authored
* Implement native_shared attribute for C++. Fixes #5141. See also #5145. * Refine comment in idl.h * Also refine docs * Revert "Also refine docs" This reverts commit 09dab7b45c56c2d17eac493203adc8caaa0df2cc. * Also refine docs again. * grumble
-
Wouter van Oortmerssen authored
Change-Id: Ibabc1456baf190eba191ebe0b81e3d73a4acc98f
-
- 08 Feb, 2019 1 commit
-
-
Wouter van Oortmerssen authored
This is to protect against cases where part of a project is compiled with or without this flag, making for very fragile and hard to find bugs, such as sizeof(Verifier) changing. Change-Id: I01c895cdc5b44f860e4b0b9c9613bff1983e2b9d See: https://bugs.chromium.org/p/chromium/issues/detail?id=929847
-
- 07 Feb, 2019 1 commit
-
-
Wouter van Oortmerssen authored
More detail: https://github.com/google/flatbuffers/projects/6#card-17401359 See also the .md changes in this commit. Change-Id: Idfa68b2fd3bdb19979833737d3a3cf83ec1d6775
-
- 05 Feb, 2019 1 commit
-
-
Charlie Harrison authored
* Removing 'using namespace' usage in test_builder * Fix GRPC tests
-
- 04 Feb, 2019 2 commits
-
-
Travis Staley authored
Changing array to be an associative array so that the Name function can work with non-sequential enums as well as those beginning at something other than zero. (#5151) Also including the resulting changes in php files.
-
Jon Kunkee authored
With the introduction of Windows 10 on ARM (ARM64), code that assumes that Windows targets are always x86 or x86_64 targets needs to be updated. The hot function ReadUInt64 has been optimized in MSVC builds using the compiler intrinsic __movsb. Since this does not exist on ARM64 Windows, this change uses the pure C++ path that other platforms use instead.
-
- 29 Jan, 2019 1 commit
-
-
Henry Lee authored
Fix a typo in the static assert message in `make_unsigned` Support more specifications for `make_unsigned`
-
- 28 Jan, 2019 1 commit
-
-
Vladimir Glavnyy authored
- GCC: fixed broken `fallthrough` (checked with 7.3 and 8.2) - Clang: added `fallthrough` support - Clang: added `-Wimplicit-fallthrough` checking
-
- 24 Jan, 2019 5 commits
-
-
find authored
-
Vladimir Glavnyy authored
- enable FLATBUFFERS_ATTRIBUTE if C++17 or higher
-
Vladimir Glavnyy authored
-
jean-airoldie authored
* [Rust] Added global namespace imports * Documented the need for global imports * Added white_space params to GenNamespaceImports * Removed a \n from GenNamespaceImports
-
Henry Lee authored
* Add `const` keyword to the `operator-(const uoffset_t &)` function in `VectorIterator` * Support reverse iterator in Vector Introduced a new VectorReverseIterator type. We cannot directly use `std::reverse_iterator<VectorIterator>` because the signature of `operator*` and `operator->` in the VectorIterator class are not standard signatures. Also added `rbegin()`, `rend()`, `cbegin()`, `cend()`, `crbegin()` and `crend()` in the Vector class.
-
- 17 Jan, 2019 3 commits
-
-
Vlad Frolov authored
-
Vladimir Glavnyy authored
* Fix high certainty warnings from PVS-studio - Introduced FLATBUFFERS_ATTRIBUTE macro to use [[attribute]] if modern C++ compiler used * Update the note about __cplusplus usage in the MSVC
-
Robert authored
* Docker test for Zend PHP 7.3 * hhvm * move failing hhvm test to TODO zone * c# mono 5.18 test * python coverage reports
-
- 14 Jan, 2019 3 commits
-
-
cor3ntin authored
-
Vladimir Glavnyy authored
* Add default NaN/Inf to C#, Java, Python * Python NaN/Inf test added * Remove MSVC2010/13 dependent code
-
unintellisense authored
* support clearing flatBuffer builder in js * remove unused member reset force_defaults dont actually need to clear data in bytebuffer
-