- Dec 05, 2016
-
-
Ronak Jain authored
* support for grpc golang * refactored grpc go generator * added grpc-go test and refactored * refactored idl_gen_grpc.cpp * fixed grpc generate method name * refactored flatc and fixed line length issue * added codec to go lib and fixed formatting issues * fixed spacing issues
-
- Oct 17, 2016
-
-
Wouter van Oortmerssen authored
Tested on Linux. Change-Id: Ie18d6857f9ae8b1c3953a116203b4a8bb70a2ede
-
- Oct 05, 2016
-
-
Andrew Hundt authored
Resolves #4038 Related to https://github.com/ruslo/hunter/pull/529
-
- Sep 09, 2016
-
-
Jason Sanmiya authored
Cmake issued a warning when the variable is in quotation marks in an if statement. Visual Studio upgrades constants to int and issues a truncation warning, so inserted a cast. Change-Id: I60cdcb5c2565cd5e97f80b9c2ff1e6abc32b1deb Tested: Builds without warning on VS2015.
-
- Sep 06, 2016
-
-
changnet authored
-
- Aug 24, 2016
-
-
Vitaly Isaev authored
-
Harsh Vardhan authored
-
- Jul 26, 2016
-
-
Jason Sanmiya authored
The new line in the set(CMAKE_CXX_FLAGS...) line was getting insert verbatim into the Makefile. Makefiles don't like new lines in their assignment operators. The newline escape fix works for CMake 3.0 and above, but since we support 2.x, we need to use the legacy solution, which is to split into two separate statements. Tested: cmake -G"Unix Makefiles" works now on Mac. Change-Id: I6f4655981b85087c4760c3d26ed0c97c4469ba93
-
- Jul 22, 2016
-
-
Wouter van Oortmerssen authored
-
- Jul 20, 2016
-
-
Wouter van Oortmerssen authored
Change-Id: If927f3ea3fb3723088fa287f24bdd1ad43c8d1d1 Tested: on Linux.
-
- Jul 01, 2016
-
-
吴凡 authored
-
- Jun 29, 2016
-
-
Wouter van Oortmerssen authored
Also added simple (in-process) test. Change-Id: I38580d554dd52f590e3396ec4846e07546dcf07d Tested: on Linux.
-
- May 01, 2016
-
-
Xiaolei Yu authored
-
- Apr 13, 2016
-
-
Lakedaemon authored
-
- Apr 04, 2016
-
-
Wouter van Oortmerssen authored
to allow for custom file loaders. The targeted use case is android runtime. (from CL 116980408) Change-Id: I8785c0acf714fab41d8f6fc9f1c52875423b8f5b
-
- Apr 02, 2016
-
-
Tony Kelman authored
use -std=gnu++11 instead of c++0x on cygwin to avoid error: realpath was not declared in this scope ref http://www.cygwin.com/ml/cygwin/2016-03/msg00005.html
-
- Mar 14, 2016
-
-
Will Gardner authored
Certain architectures, such as ARM, use unsigned chars by default so require the `-fsigned-char` for certain value comparisons to make sense and in order to compile.
-
- Mar 03, 2016
-
-
Yuri authored
-
- Feb 11, 2016
-
-
maurice barnum authored
-
- Jan 19, 2016
-
-
Rene Fichter authored
-
- Dec 21, 2015
-
-
Wouter van Oortmerssen authored
This to allow the code to run on a greater range of build configurations (that don't allow exceptions/RTTI). If anyone ever doubts the usefulness of exception handling, please show them this commit. Change-Id: If7190babdde93c3f9cd97b8e1ab447bf0c81696d Tested: on Linux.
-
- Dec 02, 2015
-
-
Perry Hung authored
Simply running clang with -stdlib=libc++ requires a manual link against libc++abi on Linux. This is documented in the libc++ documentation: http://libcxx.llvm.org/ Tested on Arch Linux, using clang 3.7.0 RELEASE. Signed-off-by:
Perry Hung <iperry@gmail.com>
-
Wouter van Oortmerssen authored
Change-Id: I17de0bcc462770124227a9967e2aab620467f6eb Tested: on Linux.
-
- Dec 01, 2015
-
-
Perry Hung authored
Simply running clang with -stdlib=libc++ requires a manual link against libc++abi on Linux. This is documented in the libc++ documentation: http://libcxx.llvm.org/ Tested on Arch Linux, using clang 3.7.0 RELEASE. Signed-off-by:
Perry Hung <iperry@gmail.com>
-
- Nov 26, 2015
-
-
Wouter van Oortmerssen authored
Change-Id: I17de0bcc462770124227a9967e2aab620467f6eb Tested: on Linux.
-
- Nov 17, 2015
-
-
Johan Euphrosine authored
So that it could be included from both flatbuffers CMakeLists.txt and FindFlatBuffers.cmake. Change-Id: Ie16a879beef9367cd6fd9b2d2157044841a7cdbc
-
Shuhei Taunma authored
* codegen for all basic features: WIP (probably implemented all basic feature) * JSON parsing: NO * Simple mutation: NO * Reflection: NO * Buffer verifier: NO (will be add later) * Testing: basic: Yes * Testing: fuzz: Yes * Performance: Not bad * Platform: Supported Linux, OS X, Windows (has 32bit integer limitation) * Engine Unity: No flatc --php monster_test.fbs <?php //include neccessary files. $fbb = new Google\FlatBuffers\FlatBufferBuilder(1); $str = $fbb->createString("monster"); \MyGame\Example\Monster::startMonster($fbb); \MyGame\Example\Monster::addHp($fbb, 80); \MyGame\Example\Monster::addName($fbb, $str); $mon = \MyGame\Example\Monster::endMonster($fbb); $fbb->finish($mon); echo $fbb->sizedByteArray(); PHP 5.4 higher Currently, we do not register this library to packagist as still experimental and versioning problem. If you intended to use flatbuffers with composer. add repostiories section to composer.json like below. "repositories": [{ "type": "vcs", "url": "https://github.com/google/flatbuffers" }], and just put google/flatbuffers. "require": { "google/flatbuffers": "*" } * PHP's integer is platform dependant. we strongly recommend use 64bit machine and don't use uint, ulong types as prevent overflow issue. ref: http://php.net/manual/en/language.types.integer.php * php don't support float type. floating point numbers are always parsed as double precision internally. ref: http://php.net/manual/en/language.types.float.php * ByteBuffer is little bit slow implemnentation due to many chr/ord function calls. Especially encoding objects. This is expected performance as PHP5 has parsing arguments overhead. probably we'll add C-extension. Basically, PHP implementation respects Java and C# implementation. Note: ByteBuffer and FlatBuffersBuilder class are not intended to use other purposes. we may change internal API foreseeable future. PSR-2, PSR-4 standards. Implemented simple assertion class (respect JavaScript testcase implementation) as we prefer small code base. this also keeps CI iteration speed. we'll choose phpunit or something when the test cases grown.
-
- Nov 14, 2015
-
-
Jon Simantov authored
This allows you to query the generated target for those properties later, so dependent modules can refer to the directories to, for example, add them to the include_directories. Change-Id: I7a6bd34c5c1d08e2ea69b5ad845223297cad1159
-
Jon Simantov authored
This function is designed to be called by projects that use FlatBuffers. It takes a list of FlatBuffers schemas and a list of schema include directories, and generates build rules to create generated headers and/or binary schemas for those files, as well as optionally copying all of the text schemas into a directory for your use (for example if you need to parse text schemas within your app). See function comments for more details. Change-Id: I181684b916e91d965e14849d8f83ec2c83e9a4a4
-
- Oct 15, 2015
-
-
Evan Wallace authored
This adds a JavaScript language target. The generated JavaScript uses Google Closure Compiler type annotations and can be compiled using the advanced compilation mode, which performs type checking and optimizations such as inlining and dead code elimination. The generated JavaScript also exports all generated symbols for use with Node.js and RequireJS. This export behavior can be turned off with the --no-js-exports flag for use with Google Closure Compiler.
-
- Aug 03, 2015
-
-
Wouter van Oortmerssen authored
e.g. support generic reading/writing from structs/vectors etc. Change-Id: I2eb6e24db088a72da444d5c8df7e506e53d5bc2d Tested: on Linux. Bug: 22660837
-
- Jul 22, 2015
-
-
Martell Malone authored
-
- Jun 16, 2015
-
-
Amol Deshpande authored
-
- Jun 15, 2015
-
-
Wouter van Oortmerssen authored
Tested: on Linux. Change-Id: I8f7bccf9b1ad87fea788f85e23fa69435758feca
-
Wouter van Oortmerssen authored
--gen-includes is now deprecate but still accepted. --no-includes can be used instead when needed. Change-Id: I2cd46d193032b9b7c31c76c6f655e9333d3a393a Tested: on Linux.
-
- May 28, 2015
-
-
Wouter van Oortmerssen authored
-
- May 12, 2015
-
-
rw authored
Implement code generation and self-contained runtime library for Python. The test suite verifies: - Correctness of generated Python code by comparing output to that of the other language ports. - The exact bytes in the Builder buffer during many scenarios. - Vtable deduplication correctness. - Edge cases for table construction, via a fuzzer derived from the Go implementation. - All code is simultaneously valid in Python 2.6, 2.7, and 3.4. The test suite includes benchmarks for: - Building 'gold' data. - Parsing 'gold' data. - Deduplicating vtables. All tests pass on this author's system for the following Python implementations: - CPython 2.6.7 - CPython 2.7.8 - CPython 3.4.2 - PyPy 2.5.0 (CPython 2.7.8 compatible)
-
- May 04, 2015
-
-
Wouter van Oortmerssen authored
Change-Id: I56392340de4439d05fa8f06a7336ff72c6f9346d Tested: on Linux
-
- Apr 28, 2015
-
-
Jason Sanmiya authored
Change-Id: Ib9d31d08daba7ce54b864417ae93bf479702861b
-
- Apr 15, 2015
-
-
franchuti688 authored
added bii-travis.sh and readme.md files; added build status section with travis and biicode build systems Change-Id: I93acd1ca9497416ade6293d63b5311c4c31b880f
-