mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Austin Schuh d56a4055da Add flatbuffer_cc library support (#5061)
* Add flatbuffer_cc library support

* Update flags so all the tests pass

Tests now all pass!

* Modify the tests to use the generated code

This should be a simple serialize/deserialize test of the new generated
code to make sure the bazel rules are doing something sane.

* Use generated monster_test.fb in testing/test.cpp

cmake drops it's generated code in tests/monster_test_generated.h
Instead of checking that in, let's generate it with bazel.

* Make grpc tests depend on monster_test_generated.h

* Remove redundant cmake dependency

This should address @aardappel's feedback.

* Run flatc for Android as well

This will fix the last travis.ci failure

* Add generated output folder and fix flags

* Move flatbuffers_header_build_rules to the library that uses it

* Use --cpp-ptr-type to fix android

Android was the only target using the STL emulation layer.  It needed
the --cpp-ptr-type flatbuffers::unique_ptr flag to work.  Add it!

* Roll back changes to use autogenerated monster_test_generated.

Flip tests/test.cpp to use the autogenerated file as well.
2018-12-10 12:23:40 -08:00
.appveyor CI check generate code (#4998) 2018-10-22 15:41:12 -07:00
.github
.travis CI: Dockerized language port tests (#5066) 2018-11-29 22:03:06 -08:00
android Disable armeabi builds for Android and re-enable CI builds. (#4970) 2018-10-08 12:43:57 -07:00
CMake
conan Update Conan version Automatically (#5027) 2018-11-12 08:49:42 -08:00
dart Disallowed 0 byte structs. 2018-10-29 17:40:19 -07:00
docs Make the Parser independent from the global C-locale (#5028) 2018-11-16 09:24:06 -08:00
go
grpc Fix Java generator bug that ignores bidi streaming attribute (#5063) 2018-11-29 10:33:17 -08:00
include/flatbuffers Renamed JS generator to explicitly state it generates TS too (#5043) 2018-12-06 11:12:06 -08:00
java/com/google/flatbuffers Adds __reset method to Struct and Table (#4966) 2018-10-03 12:09:30 -07:00
js
lobster
lua Wrong int32 min-max range definition on numTypes.lua (#5031) 2018-11-12 09:40:24 -08:00
net/FlatBuffers [net] Fix issue #5036 when write a double value into bytebuffer at big endian machine with unsafe mode. (#5076) 2018-12-03 09:50:26 -08:00
php
python [Python] Fast serialization of numpy vectors (#4829) 2018-10-15 17:07:08 -07:00
reflection CI check generate code (#4998) 2018-10-22 15:41:12 -07:00
rust/flatbuffers Fix create_vector_of_strings to use the stack, and test it. (#5074) 2018-11-29 11:47:28 -08:00
samples Make string/vector field serialization order not depend on optimizer. 2018-11-16 17:08:35 -08:00
src Renamed JS generator to explicitly state it generates TS too (#5043) 2018-12-06 11:12:06 -08:00
tests Support nulls in String compare, CreateSharedString (#5060) 2018-12-03 09:48:50 -08:00
.clang-format
.editorconfig CI check generate code (#4998) 2018-10-22 15:41:12 -07:00
.gitattributes
.gitignore Refactoring of idl_parser (#4948) 2018-10-11 10:37:47 -07:00
.travis.yml CI: Dockerized language port tests (#5066) 2018-11-29 22:03:06 -08:00
appveyor.yml CI check generate code (#4998) 2018-10-22 15:41:12 -07:00
BUILD Add flatbuffer_cc library support (#5061) 2018-12-10 12:23:40 -08:00
build_defs.bzl Add flatbuffer_cc library support (#5061) 2018-12-10 12:23:40 -08:00
CMakeLists.txt Renamed JS generator to explicitly state it generates TS too (#5043) 2018-12-06 11:12:06 -08:00
composer.json
conanfile.py Update Conan version Automatically (#5027) 2018-11-12 08:49:42 -08:00
CONTRIBUTING.md
LICENSE.txt
package.json Convenient createX methods for TS (#5044) 2018-11-16 09:17:54 -08:00
pom.xml Bumped version to 1.10.1 for all languages. 2018-10-03 12:48:47 -07:00
readme.md
WORKSPACE Add flatbuffer_cc library support (#5061) 2018-12-10 12:23:40 -08:00

logo FlatBuffers

Join the chat at https://gitter.im/google/flatbuffers Build Status Build status

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.