1. 25 Jun, 2019 2 commits
  2. 24 Jun, 2019 2 commits
  3. 20 Jun, 2019 2 commits
  4. 17 Jun, 2019 2 commits
  5. 14 Jun, 2019 2 commits
  6. 13 Jun, 2019 1 commit
  7. 12 Jun, 2019 1 commit
  8. 09 Jun, 2019 1 commit
  9. 07 Jun, 2019 1 commit
  10. 06 Jun, 2019 1 commit
  11. 05 Jun, 2019 1 commit
  12. 02 Jun, 2019 2 commits
  13. 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
  14. 30 May, 2019 4 commits
  15. 23 May, 2019 1 commit
  16. 22 May, 2019 5 commits
  17. 21 May, 2019 3 commits
  18. 20 May, 2019 2 commits
  19. 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
  20. 16 May, 2019 2 commits