- 28 Oct, 2015 2 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Change-Id: I82a392bd262b13e978df748bc54b7ac43aec1e15 Tested: on Linux.
-
- 22 Oct, 2015 1 commit
-
-
Stewart Miles authored
* Added the ability to create a build target for generated headers. * Made it possible for generated header targets to depend upon each other or arbitrary build targets. Tested: Verified some pretty complex libraries with numerous flatbuffer schema dependencies build using this macro on Linux with the NDK. Bug: 25188384 Change-Id: I846855a50808e58c34cdf7086e93e7ea0df69e0d
-
- 20 Oct, 2015 3 commits
-
-
Robert authored
fix comment generation of struct
-
Wouter van Oortmerssen authored
Change-Id: I7c04d934bfacd4aeaa2ba476b934dd3a62d4fc0e Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: Ie19af91ec5bf0b65297cba58c124bceaa58fd73e
-
- 19 Oct, 2015 6 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Because they are represented as `const T *` in the Vector template, the sizeof(const T *) was accidentally used instead of sizeof(T). Change-Id: Ib4dc73e1d21396ba2e30c84e5e229c4147204bb1 Tested: on Linux.
-
Wouter van Oortmerssen authored
Add support for JavaScript code generation with Google Closure Compiler type annotations
-
Wouter van Oortmerssen authored
Ported some of the python fuzz tests to C#
-
Wouter van Oortmerssen authored
Fix minor typos in the Python documentation.
-
- 18 Oct, 2015 2 commits
-
-
evolutional authored
* Refactored the test runner to use attribute based test discovery * Ported value and vtable/object fuzzing tests from python to C#
-
Philip Rideout authored
-
- 15 Oct, 2015 7 commits
-
-
Evan Wallace authored
This adds an optional argument to generated getters for string fields to specify the encoding type and overloads the createString() function. It's now possible to use either JavaScript UTF-16 string objects or C-style UTF-8 byte arrays (Uint8Array) for string data.
-
Evan Wallace authored
-
Evan Wallace authored
-
Evan Wallace authored
-
Evan Wallace authored
-
Evan Wallace authored
JavaScript uses UTF-16 but FlatBuffers uses UTF-8. This commit tests the code that does the conversion between the two encodings. The last entry in the array is tricky because each code point actually requires two UTF-16 code units, unlike the other examples. The current JSON output of flatc actually handles this case incorrectly (it generates invalid JSON with UTF-8 code units). The generated JavaScript code passes these tests fine, however.
-
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.
-
- 13 Oct, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I6600021b7ec8c486794349511232c3e604421c5b Tested: on Linux.
-
- 08 Oct, 2015 1 commit
-
-
Robert authored
Add self.assertNotNested() in CreateString
-
- 29 Sep, 2015 1 commit
-
-
tguo-aa authored
And also add a test case. If you try to nest CreateString you will get a clear exception.
-
- 28 Sep, 2015 3 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Change-Id: I62de6b7008e397a5043d47f014a7acd83ee64740
-
Wouter van Oortmerssen authored
Bug: 24401812 Change-Id: I196a03b8c5ef0bcd3c26178239c764e40ca1950d Tested: on Linux.
-
- 25 Sep, 2015 4 commits
-
-
Wouter van Oortmerssen authored
Fix 32bit-system integer overflow (test only)
-
Robert authored
For #277
-
Wouter van Oortmerssen authored
Removed call to pop_back on std::string.
-
Wouter van Oortmerssen authored
Change-Id: If414d156b4e9bc7fead5f131823b2c419cdc4e2c Tested: on Linux.
-
- 24 Sep, 2015 1 commit
-
-
Alex Ames authored
The pop_back function was added to strings in C++11 and it appears not all compilers we target support it. The call to pop_back has been replaced with a call to erase. Tested on Linux. All unit tests pass.
-
- 23 Sep, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Fix an out-of bounds read when the element is bigger than the buffer.
-
- 21 Sep, 2015 2 commits
-
-
Robert authored
Remove duplicate Go test
-
Bruno Bigras authored
-
- 19 Sep, 2015 1 commit
-
-
Tiago Cogumbreiro authored
Ensure the size of the buffer being checked is bigger than the element of the buffer being checked. The buffer can be triggered when, for example, the buffer is of length zero and we are checking for: Verify<uoffset_t>(buf_) The condition above should fail.
-
- 16 Sep, 2015 2 commits
-
-
Björn Reimer authored
Change-Id: I90cf519c00eaf9ccd9fcab8035a91b9205587c3b
-
Wouter van Oortmerssen authored
Implemented option --scoped-enum for C++ generator
-
- 15 Sep, 2015 2 commits
-
-
vijairaj authored
This generates C++11 style scoped and strongly typed enums. Enabling this option also implies --no-prefix.
-
Wouter van Oortmerssen authored
Fix before_install step on .travis.yml file for osx
-