1. 30 Sep, 2019 2 commits
  2. 26 Sep, 2019 3 commits
  3. 25 Sep, 2019 2 commits
  4. 23 Sep, 2019 2 commits
    • Vladimir Glavnyy's avatar
      Fix Mutate() methods of Array<scalar/struct> (override 5508) (#5526) · cbdf82e2
      Vladimir Glavnyy authored
      * Draft with Array specialization (#5508)
      
      * Array specialization + SFINAE to fold copy-paste (#5508)
      
      * Add implicit specialization of Array<scalar> and Array<struct> (#5508)
      
      - Tag dispatching is used for implicit specialization
      - Array<scalar> and Array<struct> have different iterators and accessors
      - Array<scalar> and Array<struct> have different Mutate() methods
      
      * Add implicit specialization of Array<scalar> and Array<struct> (#5508)
      
      - Tag dispatching is used for implicit specialization
      - Array<scalar> and Array<struct> have different iterators and accessors
      - Array<scalar> and Array<struct> have different Mutate() methods
      cbdf82e2
    • Kulikov Alexey's avatar
      Java: Added access object for vector of struct and vector of tables. (#5233) · e365c502
      Kulikov Alexey authored
      * Java: Added access object for vector of struct and vector of tables.
      
      * Java: Workarounds removed when accessing the union vector.
      e365c502
  5. 19 Sep, 2019 2 commits
  6. 17 Sep, 2019 1 commit
  7. 16 Sep, 2019 1 commit
  8. 11 Sep, 2019 1 commit
    • Kevin Fort's avatar
      Add element size parameter to __vector_as_arraysegment [c#] (#5512) · 2706381e
      Kevin Fort authored
      * Add element size parameter to __vector_as_arraysegment
      
      Add element size parameter to __vector_as_arraysegment fixing issue where VectorAsBytes returns incorrect size span for multibyte element types.
      
      * Update codegen
      
      Update codegen and Table to return typed span.
      
      * update test files
      
      update test files
      2706381e
  9. 10 Sep, 2019 2 commits
  10. 09 Sep, 2019 2 commits
  11. 05 Sep, 2019 1 commit
  12. 03 Sep, 2019 3 commits
  13. 29 Aug, 2019 1 commit
    • Paulo Pinheiro's avatar
      [FlexBuffers][Java] Implementation of FlexBuffers API (#5476) · 8e6cabb3
      Paulo Pinheiro authored
      * [FlexBuffers][Java] Implementation of FlexBuffers API
      
      This is the initial attemp to implement FlexBuffer on Java.
      
      There is some limitations as compared to the C++ implementation:
        1 - No mutations implemented yet
        2 - Does not parse from json
      
      Also, this initial implementation is not focused and performance, but
      get the basics write. So there is many opportunities for optimization, for instance,
      remove all enums, return CharSequence instead of Strings and object pooling.
      
      * [FlexBuffers][Java] Optimizations and simplification of the Builder  API.
      
      This change removes BitWidth enum in favor of static ints. Also
      make all "reads" APIs closer to C++ implementation (try to cast or convert
      as much as possible, assuming user knows what he is doing). Finally,
      we remove the helper classes for building vectors and maps.
      
      There is no official benchmarks, but the unit tests are running in less
      than 50% for previous runs, which mean those optimizations are worth it.
      
      * [FlexBuffers][Java] Fix Reference::asString behavior
      
      There was a incorrect assumption that strings would be null-terminated, which
      could lead to truncated strings. S now it relies size instead of null-termination.
      
      Other minor improvements
      8e6cabb3
  14. 26 Aug, 2019 3 commits
  15. 23 Aug, 2019 4 commits
  16. 20 Aug, 2019 2 commits
  17. 19 Aug, 2019 3 commits
  18. 05 Aug, 2019 1 commit
  19. 01 Aug, 2019 3 commits
    • Alexey Geraskin's avatar
      [C++] remove static_cast expression (#5440) · 2d5315ff
      Alexey Geraskin authored
      * [C++] remove static_cast expression
      
      * [C++] Add unit test for native_type usage
      
      * [C++] Add flatc compilation for native_type_test.fbs
      
      * [C++] update CMakeLists to compile native_type_test.fbs properly
      
      * Update BUILD file for bazel
      
      * [C++] Add generated native_type_test_generated.h and fix arguments for flatc according to CMakeList
      
      * [C++] remove "= default" from constructor to support old compilers
      
      * Update BUILD file for bazel, attempt 2
      
      * [C++] Workaround for MSVC 2010 for the issue with std::vector and explicitly aligned custom data types
      
      * Update BUILD file for bazel, attempt 3
      
      * Update BUILD file for bazel, attempt 4
      
      * Update BUILD file for bazel, attempt 5
      
      * Update BUILD file for bazel, attempt 6
      
      * [C++] Workaround for MSVC 2010 for the issue with std::vector and explicitly aligned custom data types Part 2
      
      * [C++] Keep only one optional parameter to compile_flatbuffers_schema_to_cpp_opt
      
      * native_type_test.fbs style corrected
      
      * [C++] Code style modifications
      
      * [C++] Fix flatc arguments in CMakeLists
      
      * [C++] Remove --gen-compare from default parameters for flatc in CMakeLists
      
      * [C++] Change Vector3D fields from double to float, to have alignment eq. 4 (to support MSVC 2010), plus minor review fix
      
      * [C++] Remove one more #if !defined
      
      * [C++] Restore version with correct static_cast, add the same fix for SortedStructs
      
      * Revert "[C++] Restore version with correct static_cast, add the same fix for SortedStructs"
      
      This reverts commit d61f4d6628cfce530c8b9a4c9e7af368d599f99f.
      
      * [C++] Fix Android.mk
      2d5315ff
    • ll-antn's avatar
      [C++ ] Correctly serialize bit_flags enums to JSON with output_enum_identifiers option (#5454) · 7de1a5e3
      ll-antn authored
      * Support output_enum_identifiers for enums with multiple bit values
      
      * Cast bit_flag enum val to uint64_t instead of int64_t
      7de1a5e3
    • Derek Bailey's avatar
      Fix for Boolean types (#5379) (#5466) · a4e3ad80
      Derek Bailey authored
      The packing/unpacking steps for Boolean values was failing because the
      code expected numerical values. I overrode the functions for the Boolean
      metatable to account for this. I also had to exclude the Boolean
      metatable from the GenerateTypes helper function, as that was overriding
      the Pack/Unpack functions defined in its metatable.
      
      Added Linux bash script to run Lua tests from the command line.
      
      Bug: google/flatbuffers#5379
      
      Tested: Added Lua tests that were failing and are now fixed with the
      code changes.
      a4e3ad80
  20. 29 Jul, 2019 1 commit