Skip to content
Snippets Groups Projects
  1. Oct 15, 2015
    • 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. Oct 13, 2015
  3. Oct 08, 2015
  4. Sep 29, 2015
  5. Sep 28, 2015
  6. Sep 25, 2015
  7. Sep 24, 2015
    • 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. Sep 23, 2015
  9. Sep 21, 2015
  10. Sep 19, 2015
  11. Sep 16, 2015
  12. Sep 15, 2015
  13. Sep 14, 2015
  14. Sep 11, 2015
  15. Sep 09, 2015
  16. Aug 28, 2015
  17. Aug 26, 2015
  18. Aug 19, 2015
  19. Aug 15, 2015
  20. Aug 14, 2015
  21. Aug 13, 2015
  22. Aug 12, 2015
Loading