1. 27 Dec, 2018 1 commit
  2. 21 Dec, 2018 1 commit
  3. 17 Dec, 2018 2 commits
  4. 13 Dec, 2018 2 commits
    • tira-misu's avatar
      Enable flatbuffer to initialize Parser from bfbs (#4283) (#5077) · dba962eb
      tira-misu authored
      * Enable flatbuffer to initialize Parser from bfbs (#4283)
      
      Now its possible to generate json data from bfbs data type and flatbuffers data
      and visa versa.
      
      * add deserialize functionality in parser from bfbs
      * add small usage sample
      
      * Fix build break
      
      * Merge branch 'pr/1' into fix-issue4283
      
      * Fix buildbreak
      
      * Build monster_test.bfbs with --bfbs-builtins
      
      Attribute flexbuffer has be included in bfbs. Only with this attribute test
      will run. By initialization a parser by a bfbs the attribute has to be known
      for this filed. monsterdata_test.golden has a flexbuffer field so parse would
      fail.
      
      * Fix generate_code.sh
      
      * Revert automatic indent changes by IDE
      
      * Auto detect size prefixed binary schema files
      
      * Use identifier (bfbs) to detect schema files
      dba962eb
    • Christian Lang's avatar
  5. 10 Dec, 2018 2 commits
    • Rob Agar's avatar
      Get rid of reproducible build warning by removing build date & time from flatc version (#5086) · 58e8552d
      Rob Agar authored
      * disable reproducible build warning due to date/time macros
      
      * wrapped GCC pragmas in #ifdef _GNUC_
      
      * removed __DATE__ and __TIME__ macros from flatc.cpp
      58e8552d
    • Austin Schuh's avatar
      Add flatbuffer_cc library support (#5061) · d56a4055
      Austin Schuh authored
      * Add flatbuffer_cc library support
      
      * Update flags so all the tests pass
      
      Tests now all pass!
      
      * Modify the tests to use the generated code
      
      This should be a simple serialize/deserialize test of the new generated
      code to make sure the bazel rules are doing something sane.
      
      * Use generated monster_test.fb in testing/test.cpp
      
      cmake drops it's generated code in tests/monster_test_generated.h
      Instead of checking that in, let's generate it with bazel.
      
      * Make grpc tests depend on monster_test_generated.h
      
      * Remove redundant cmake dependency
      
      This should address @aardappel's feedback.
      
      * Run flatc for Android as well
      
      This will fix the last travis.ci failure
      
      * Add generated output folder and fix flags
      
      * Move flatbuffers_header_build_rules to the library that uses it
      
      * Use --cpp-ptr-type to fix android
      
      Android was the only target using the STL emulation layer.  It needed
      the --cpp-ptr-type flatbuffers::unique_ptr flag to work.  Add it!
      
      * Roll back changes to use autogenerated monster_test_generated.
      
      Flip tests/test.cpp to use the autogenerated file as well.
      d56a4055
  6. 06 Dec, 2018 1 commit
  7. 03 Dec, 2018 2 commits
  8. 30 Nov, 2018 1 commit
    • Robert's avatar
      CI: Dockerized language port tests (#5066) · 79cd55bd
      Robert authored
      This runs a script in TravisCI that executes a bunch of small Docker image
      scripts to test the language ports in isolated environments. This allows us to
      test multiple language versions with little additional complexity.
      
      Covers:
      
      + Java OpenJDK 10.0.2
      + Java OpenJDK 11.0.1
      + Node 10.13.0
      + Node 11.2.0
      + Python CPython 2.7.15
      + Python CPython 3.7.1
      + Rust 1.30.1
      79cd55bd
  9. 29 Nov, 2018 2 commits
  10. 17 Nov, 2018 3 commits
    • Robert's avatar
      0143f4e3
    • Russell Chou's avatar
      Make Parser skip files it's seen already. (#5048) · e161ade6
      Russell Chou authored
      The use case is so we can batch compile a bunch of schemas, some which can depend on each other, without caring about their order.
      e161ade6
    • Wouter van Oortmerssen's avatar
      Make string/vector field serialization order not depend on optimizer. · f575b02f
      Wouter van Oortmerssen authored
      Multiple calls of e.g. CreateString inside a call to a CreateTable
      could cause those strings to end up in different locations in the
      wire format, since order or argument evaluation is undefined.
      
      This is allowed by the FlatBuffer format, but it is not helpful,
      especially when debugging the contents of binaries, or comparing
      against a "golden" binary for tests etc.
      
      Now making sure that all the CreateTableDirect calls first serialize
      sub strings/vectors before calling CreateTable.
      
      Also made similar changes to the serialization of "binary schemas".
      
      Change-Id: I5747c4038b37a0d400aca2bc592bec751cf5c172
      f575b02f
  11. 16 Nov, 2018 4 commits
  12. 15 Nov, 2018 1 commit
  13. 13 Nov, 2018 1 commit
  14. 12 Nov, 2018 3 commits
  15. 06 Nov, 2018 1 commit
  16. 05 Nov, 2018 1 commit
  17. 02 Nov, 2018 3 commits
  18. 01 Nov, 2018 2 commits
  19. 30 Oct, 2018 2 commits
  20. 29 Oct, 2018 1 commit
  21. 25 Oct, 2018 2 commits
  22. 24 Oct, 2018 1 commit
  23. 22 Oct, 2018 1 commit