- 07 Mar, 2019 3 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I6dfadb5289a4396ad2f3d16baf1bdb99c7534174
-
Austin Schuh authored
* Stop building for Windows until the build passes ERROR: D:/b/bk-windows-java8-bd0z/bazel/flatbuffers/BUILD:123:1: Couldn't build file _objs/flatbuffers_test/test.obj: undeclared inclusion(s) in rule '//:flatbuffers_test': this rule is missing dependency declarations for the following files included by 'tests/test.cpp': 'tests/monster_test_generated.h' 'tests/monster_extra_generated.h' The files in tests are being found instead of the generated files since Windows doesn't have any sandboxing. For now, let's disable the rules and come back to it. * Fix buildifier warnings Clean up docstrings and add a module docstring.
-
Wouter van Oortmerssen authored
This for some reason never had a test case, and was broken. Change-Id: If832f5eb8b6c5ba8a75257464892634b38719c55
-
- 06 Mar, 2019 2 commits
-
-
jean-airoldie authored
-
David Reiss authored
Fixes #5206
-
- 04 Mar, 2019 2 commits
-
-
ll-antn authored
* Clean-up nested_parser on all paths (#5179) * Added test for parsing json with invalid nested flatbuffer * Removed utf-8 BOM from test.cpp
-
Laurent Stacul authored
-
- 28 Feb, 2019 1 commit
-
-
csukuangfj authored
-
- 27 Feb, 2019 1 commit
-
-
naure authored
* Fix lifetime in union _as_ accessors In the accessors for union field, the return value is implicitly taking the lifetime of &self. This is irrelevant and prevents usages of the returned value, because it is needlessly bound to the parent field lifetime. This patch makes the return value inherit the lifetime of the data, like other methods do.
-
- 25 Feb, 2019 8 commits
-
-
Kulikov Alexey authored
vtable and vtable size depends only on `Table#bb_pos` but calculated in `Table#_offset` method on each field lookup. Doing this with every call of `Table#__offset` is redundant. These values can be read once with change of `Table#bb_pos` and reused for any field lookup.
-
Kulikov Alexey authored
-
Искандаров Егор authored
Fixed a bug that prevented vtable reuse during buffer construction in the lua library. Also fixed a bug in vtable equality check that was revealed after the first fix.
-
Wouter van Oortmerssen authored
Change-Id: Icdff8a90338bd2ff79ff76fe1ebaa3481da8dea4
-
Marcus Comstedt authored
This fixes the testcase MiniReflectFlatBuffersTest.
-
Brian Wellington authored
On Solaris Sparc, calling NumToString() with a char called the primary version, not the signed char or unsigned char specializations, which caused integer to string conversions to be missed.
-
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
-