Age | Commit message (Collapse) | Author | Files | Lines |
|
Add flatbuffers python packaging
Change-Id: Idb93e673facd7c8eb91dad731547fec13af68101
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
|
|
Bump to flatbuffers 2.0.0
Change-Id: I5f229796cccfdb60cd15c29996aff57f75bc5cdb
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
|
|
This patch revises the packaging files for Debian/Ubuntu to include .pc
file in the development kit package.
Change-Id: Ib94702ace3a970cfe5ab435c34795ac03296e02e
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
This patch revises the rpm spec file to include the .pc file in the
dev-kit package.
Change-Id: I456b1fa494a38cd9cd1724863028a9b69ac7df4b
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
This patch adds a template file to use .pc file generation.
Change-Id: Ia4841a6c4bcf3560e1156a606a85f0d2103ffebd
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
Since PPA tries to use the latest gcc, the package released via PPA has
an issue related to the unmet dependency on libgcc-s1. To fix it, this
patch adds explicit build dependencies on gcc << 10.
Change-Id: If76cde33d9b6aaeb051894b55c22f256bddc9a36
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
Change-Id: I228241b006edf9850e035a96b69fc6c305905280
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
|
|
When -flto option is used, static library doesn't contain
symbol names in it.
It may leads "undefined symbol" problem in some applications.
Change-Id: I3ab5f644b72e504d9390311e4ce945d9ac28527e
Signed-off-by: Semun Lee <semun.lee@samsung.com>
|
|
Initial debianization for v1.11.0.
Change-Id: Ie27a37855e782277c60908ebea9b363d296d34a3
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
There was a build-error fix in flatbuffers-1.6.0, which
was in bash build script. They appear to lose it when
they abandoned the bash build script.
The following is the commit message of the workaround
of flatbuffers 1.6.0 mainline:
Work around flatbuffers flaky build
The flatbuffers build ocasionally fails with the following error:
/flatbuffers/flatbuffers-1.6.0/src/idl_parser.cpp
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:17:
error: 'MyGame' has not been declared
using namespace MyGame::Sample;
^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:25:
error: 'Sample' is not a namespace-name
using namespace MyGame::Sample;
^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:19:31:
error: expected namespace-name before ';' token
using namespace MyGame::Sample;
^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp: In
function 'int main(int, const char**)':
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:25:3:
error: 'flatbuffers' has not been declared
flatbuffers::FlatBufferBuilder builder;
^
/mnt/source/flatbuffers/flatbuffers-1.6.0/samples/sample_binary.cpp:28:26:
error: 'builder' was not declared in this scope
auto weapon_one_name = builder.CreateString("Sword");
^
...
Disabling the BUILD_TESTS target removes the flakiness and makes the
compilation faster.
Reviewed-on: http://gerrit.cloudera.org:8080/12886
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Tim Armstrong <tarmstrong@cloudera.com>
Change-Id: Ica8300d7edad7d10adad311cc22c18b8987b1f9b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
|
|
This PR provides tizen packages, flatbuffers and flatbuffers-devel.
Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
|
|
|
|
Change-Id: I317d731d17d733088cad608364b614bff8151c36
|
|
Change-Id: I035163cb5edd087a190bb518e686c79887241383
|
|
|
|
|
|
|
|
|
|
This commit fixes two serious issues connected with reverse iterators:
1. Vector's rbegin/rend was incompatible with std::reverse_iterator::base();
2. Array's rend() was incorrect, it based on end() instead of begin().
|
|
* [Lua] manipulate byte array as string
Sometimes it would be more effective than reading byte by byte
* change according to the review
* update
|
|
|
|
Updates swift generated monster sample file
Adds frozen attribute
|
|
* [Lua] Avoid infinite loop when creating empty string
* [Lua] Check empty string output
|
|
This adds basic support for different Lua versions.
For Lua 5.2 and Lua 5.3, both the Bit32 and Compat53 Lua modules must be
installed for it to work. You can typically get these on Linux using
apt install lua-compat53 lua-bit32
For Lua 5.4, it should work as is, as it is a clean superset of Lua 5.3,
which is what the original Lua Flatbuffers supported.
|
|
|
|
LuaJIT as installed by apt doesn't include the COMPAT mode for using
Lua5.2 features. So this change just makes the flatbuffer code use a
common implementation.
|
|
|
|
Co-authored-by: Casper Neo <cneo@google.com>
|
|
* [Lua] Add LuaJIT support
Here is the output of LuaTest.sh:
Run with LuaJIT:
built 100 512-byte flatbuffers in 0.16sec: 0.63/msec, 0.31MB/sec
built 1000 512-byte flatbuffers in 0.08sec: 12.06/msec, 5.89MB/sec
built 10000 512-byte flatbuffers in 0.80sec: 12.44/msec, 6.07MB/sec
built 10000 512-byte flatbuffers in 0.33sec: 30.58/msec, 14.93MB/sec
traversed 100 592-byte flatbuffers in 0.04sec: 2.51/msec, 1.42MB/sec
traversed 1000 592-byte flatbuffers in 0.03sec: 31.52/msec, 17.79MB/sec
traversed 10000 592-byte flatbuffers in 0.21sec: 48.77/msec, 27.53MB/sec
Run with Lua 5.3:
built 100 512-byte flatbuffers in 0.02sec: 5.44/msec, 2.66MB/sec
built 1000 512-byte flatbuffers in 0.17sec: 5.74/msec, 2.80MB/sec
built 10000 512-byte flatbuffers in 1.75sec: 5.72/msec, 2.79MB/sec
built 10000 512-byte flatbuffers in 1.38sec: 7.26/msec, 3.55MB/sec
traversed 100 592-byte flatbuffers in 0.00sec: 27.64/msec, 15.60MB/sec
traversed 1000 592-byte flatbuffers in 0.03sec: 30.46/msec, 17.20MB/sec
traversed 10000 592-byte flatbuffers in 0.34sec: 29.62/msec, 16.72MB/sec
* [Lua] Better usage description
* update according to the review
|
|
* Introduce new_from_vec in Rust (also fix formatting)
Also, rename `new_with_capacity` to `with_capacity` to match
how `Vec` does it.
* bump rust version
* mut_finished_buffer
Co-authored-by: Casper Neo <cneo@google.com>
|
|
Thanks!
|
|
|
|
* Add advance feature indicators to reflection
* deserialize too
* model advanced features as bitflags
* use uint64_t instead of AdvancedFeatures
* git clang format
* initialize advanced_features_
* remove whitespace
Co-authored-by: Casper Neo <cneo@google.com>
|
|
* Fix Miri flag passing and bump Rust version.
* Fix Miri problems from Arrays PR.
SafeSliceAccess was removed for Arrays. It's kind of unsound.
It has two properties:
1. EndianSafe
2. Alignment 1
We only need 1. in create_vector_direct to memcpy data.
We both 1. and 2. for accessing things with slices as buffers are built on &[u8]
which is unaligned. Conditional compilation implements
SafeSliceAccess for >1byte scalars (like f32) on LittleEndian machines
which is wrong since they don't satisfy 2.
This UB is still accessible for Vectors (though not exercised our
tests) as it implements SafeSliceAccess. I'll fix this later by
splitting SafeSliceAccess into its 2 properties.
Co-authored-by: Casper Neo <cneo@google.com>
|
|
* Mark endian_scalar as unsafe.
Also
- removed the deprecated flexbuffer slice from example
- fixed some cargo warnings
* Assertions and read_scalar made unsafe
* Clippy lints
* Add to Safety
Co-authored-by: Casper Neo <cneo@google.com>
|
|
|
|
Hi!
Just a veeeeeery small fix in the Rust sample. No functionality is affected.
That's not important at all but annoying for my eyes :)
|
|
* [TS] Ignore generated monster_test_grpc files
* [TS] Commit the generated tests code
|
|
In some platforms, like Ubuntu, `sh` is linked to `dash` but not `bash`.
|
|
|
|
Now we already have a real build-ts ci job, let's remove the commented
one.
|
|
Related to #6572
|
|
* Add support for fixed size arrays
* clang-format
* Update rust image to 1.51 to support const generics
* Handle correctly big endian
* Add fuzz tests and clean code
* Add struct fuzz test and optimize struct arrays for api
* Bump flatbuffers crate version
|
|
With this change, Flexbuffers for Kotlin now supports iOS(arm32, arm64, X64).
WatchOS and tvOS not supported.
|
|
|
|
Kotlinx.benchmark project just abandoned bintray and moving to maven central,
removing the artifacts from bintray and causing missing dependencies in our build.
So we are updating the dependency to point to the new version on maven central.
More information in:
https://github.com/Kotlin/kotlinx-benchmark/commit/53ee45d0d914ceff111d3581ba3f5897fa897adc#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
|
|
* Add Build TS to CI jobs
* Add npm compile step
* Fix syntax
* Add required code gen for TS
* Exit on failure
* Make TS code gen identical to test run
* Remove duplicate TS code gen artifacts
* Remove bad gitignore
* Forgot parts of generate_code and make sure same settings for test run
* Don't forget about the bat
* Try and fix flatc args
* Another attempt to fix args
* Fix typo
* Commit up to date code gen
* Another attempt to fix sh/bat
* Move -o param to after -I
* Commit missing code gen file
* Fix grpc code gen and test
* Another grpc code gen fix
* Rework to not use ts folder
* Fix env vars in bat and make less churn
* Move TS code gen to dedicated folder
* Fix transpilation output folder and module paths
* Fixes to code gen
* Include generated js
* Moved ts code gen
* Remove test ts code gen folder
|
|
Flexbuffers for Kotlin currently supports JVM and MacOS. This change
introduces support to JS as well.
|
|
* disable clippy
* Vector of enum default
* swift and tests
* git clang format
* Rewrite enum parser checks
* Remove Voids from more_defaults
* vector enum swift
* remove vector accessor from swift
* clang format
Co-authored-by: Casper Neo <cneo@google.com>
|
|
|