1. 14 Jun, 2019 1 commit
  2. 13 Jun, 2019 1 commit
  3. 12 Jun, 2019 1 commit
  4. 09 Jun, 2019 1 commit
  5. 07 Jun, 2019 1 commit
  6. 06 Jun, 2019 1 commit
  7. 05 Jun, 2019 1 commit
  8. 02 Jun, 2019 2 commits
  9. 31 May, 2019 4 commits
    • Alexander Gallego's avatar
      c++: Add command line option to add extra includes to gen files (#5360) · bc7ede8f
      Alexander Gallego authored
      * c++: Add command line option to add extra includes to gen files
      
      Fixes #5351
      We have an ability to pass custom types for strings, allocators, etc
      but have no way to tell the generator to include the classes in gen code
      
      * c++: remove std::strtok for std::string methods. passes msvc compile
      
      * generate_code.sh: add --cpp-includes to the test gen script
      
      * tests:generate.bat: update code gen scripts w/ --cpp-includes
      
      * cpp: use command line parsing for extra includes
      
      s/--cpp-includes/--cpp-include/g
      Simplify command line parsing of includes by using a std::vector.
      
      * cpp: idl.h: move std::vector for cpp_includes as the last member
      
      msvc does not understand initalization list on our CI server
      
      * cpp:msvc: CI fails on for-range loops
      
      * cpp:codegen: fix error reporting on flatcc
      
      * as per code review: remove unwated --cpp-include in the
      tests/generate_code.{sh,bat}
      bc7ede8f
    • Wouter van Oortmerssen's avatar
      Break internal Java/C# APIs · b652fcc3
      Wouter van Oortmerssen authored
      This is done on purpose, to avoid API version mismatches that
      can cause bad decoding results, see:
      https://github.com/google/flatbuffers/issues/5368
      
      Change-Id: I2c857438377e080caad0e2d8bcc758c9b19bd6ec
      b652fcc3
    • Wouter van Oortmerssen's avatar
      Enforce matching version in Java and C#. · c978b9ef
      Wouter van Oortmerssen authored
      Change-Id: I7f1f12f2f97e5227e0dabc2965ce66a6d41c229c
      c978b9ef
    • 360 CodeSafe's avatar
      Dereference of null pointer #5353 (#5376) · 3a88e103
      360 CodeSafe authored
      add an assert to make sure that `key_field` is not a null pointer.
      3a88e103
  10. 30 May, 2019 4 commits
  11. 23 May, 2019 1 commit
  12. 22 May, 2019 5 commits
  13. 21 May, 2019 3 commits
  14. 20 May, 2019 2 commits
  15. 17 May, 2019 1 commit
    • David Reiss's avatar
      [Go] Make enums into real types, add String() (#5235) · 718ddea5
      David Reiss authored
      * [Go] Make enums into real types, add String()
      
      This changes the generated code for enums: instead of type aliases,
      they're now distinct types, allowing for better type-checking. Some
      client code may have to be changed to add casts.
      
      Enum types now have a String() method, so they implement fmt.Stringer.
      
      An EnumValues map is now generated, in addition to the existing
      EnumNames map, to easily map strings to values.
      
      Generated enum files are now gofmt-clean.
      
      Fixes #5207
      
      * use example.ColorGreen explicitly
      
      * use valid enum value in mutation test, add new test for "invalid" enum
      
      * add length check and comment
      718ddea5
  16. 16 May, 2019 3 commits
  17. 13 May, 2019 1 commit
  18. 09 May, 2019 4 commits
  19. 08 May, 2019 1 commit
  20. 06 May, 2019 2 commits
    • Malthe Borch's avatar
      Use a hash table to index existing vtables (#5314) · e47ca7ab
      Malthe Borch authored
      * Use a hash table to index existing vtables
      
      This allows for quick deduplication even in situations where there
      might be thousands of vtables due to 'combinatoric explosion'.
      
      This fixes issue #5301.
      
      * Refactor 0-offset trimming
      
      * Improve deduplication benchmark
      
      The routine now generates a set of realistic logical layouts and
      uses a timer function that randomly picks a layout for each iteration.
      
      The benchmark runs in batches of # of logical layouts = 1, 10, 100, 1000.
      
      (Note that due to alignment, the actual number of vtables is usually slightly
      higher.)
      e47ca7ab
    • Vladimir Glavnyy's avatar
      Add monster_extra files to Bazel cc_test section (#5321) · d79f4e97
      Vladimir Glavnyy authored
      - add monster_extra.fbs
      - add monsterdata_extra.json
      d79f4e97