- 15 Oct, 2015 2 commits
-
-
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
-
- 14 Sep, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I9654e0c6a45457c8e150f07dd5f7b39539266f9e
-
- 11 Sep, 2015 4 commits
-
-
Jason Sanmiya authored
Also, remove execute permissions on several source files. Tested: Builds on Visual Studio 2012, and Linux. Change-Id: Idaacb2ae8eba98ce2974218c2ab840e97a1d67e9
-
Wouter van Oortmerssen authored
Add @SuppressWarnings("all") to generated Java classes
-
Teemu Andersén authored
Usually generators add @SuppressWarnings("all") to generated Java classes to prevent IDEs from complaining about unused imports, etc. Solving used imports seems pretty hard with current generator logic so IMO this is the next best thing. Yes, it’s appended to import block but that is the block that gives these warnings in the first place.
-
Muhammed Thanish authored
- Install g++ and cmake only on Linux. - Use biicode only on Linux machines.
-
- 09 Sep, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Apparently, istreambuf_iterator has a lot of overhead. Change-Id: I804f4e8f2b380b05e939edefe0e1e88cd10e920c Tested: on Linux.
-
- 28 Aug, 2015 1 commit
-
-
Wouter van Oortmerssen authored
include.mk causes absolute paths to be generated, which doesn't work on Windows (make doesn't like : in paths). Change-Id: Ib06c9581620bde1e8452e0dd887d3986d517c4f5 Tested: on Windows, Linux.
-
- 26 Aug, 2015 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I7c2bf87972ee0ba6811d6ed42e13300bff90e36f
-
Björn Reimer authored
Change-Id: I01def42eda9b70308046c048099d85db8f889ede
-
- 19 Aug, 2015 5 commits
-
-
Maxim Zaks authored
Change-Id: I3cdd801b641bf180222203a37634598350d340e3
-
Robert authored
2Gb buffer size checks fixed for Python Builder
-
Wouter van Oortmerssen authored
Added Java and C# mutators
-
Maor Itzkovitch authored
-
Wouter van Oortmerssen authored
Change-Id: I1f094f350145d13b12cbe367bae7c623cfbbd8d3
-
- 15 Aug, 2015 2 commits
-
-
Maor Itzkovitch authored
-
Maor Itzkovitch authored
-
- 14 Aug, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I8f12e60d29a1c587d991bf64011bdf4a4b0d7e5b
-
- 13 Aug, 2015 1 commit
-
-
Frank Stein authored
-
- 12 Aug, 2015 1 commit
-
-
Wouter van Oortmerssen authored
This is just a start, will need to be extended. Change-Id: I5a9ad671911942dcb83fdd2bae537deed751cbfd
-