1. 15 Oct, 2015 5 commits
    • Evan Wallace's avatar
      c3bfefca
    • Evan Wallace's avatar
      remove unnecessary return · 00fd394d
      Evan Wallace authored
      00fd394d
    • Evan Wallace's avatar
      e1e8d53d
    • Evan Wallace's avatar
      Add a test for JavaScript UTF-8 <=> UTF-16 conversion · 57a6dd47
      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.
      57a6dd47
    • Evan Wallace's avatar
      Add support for JavaScript code generation · 224e33ed
      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.
      224e33ed
  2. 13 Oct, 2015 1 commit
  3. 08 Oct, 2015 1 commit
  4. 29 Sep, 2015 1 commit
  5. 28 Sep, 2015 3 commits
  6. 25 Sep, 2015 4 commits
  7. 24 Sep, 2015 1 commit
    • Alex Ames's avatar
      Removed call to pop_back on std::string. · 703b7909
      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.
      703b7909
  8. 23 Sep, 2015 1 commit
  9. 21 Sep, 2015 2 commits
  10. 19 Sep, 2015 1 commit
  11. 16 Sep, 2015 2 commits
  12. 15 Sep, 2015 2 commits
  13. 14 Sep, 2015 1 commit
  14. 11 Sep, 2015 4 commits
  15. 09 Sep, 2015 1 commit
  16. 28 Aug, 2015 1 commit
  17. 26 Aug, 2015 2 commits
  18. 19 Aug, 2015 5 commits
  19. 15 Aug, 2015 2 commits