1. 19 Sep, 2019 1 commit
  2. 17 Sep, 2019 1 commit
  3. 16 Sep, 2019 1 commit
  4. 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
  5. 10 Sep, 2019 2 commits
  6. 09 Sep, 2019 2 commits
  7. 05 Sep, 2019 1 commit
  8. 03 Sep, 2019 3 commits
  9. 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
  10. 26 Aug, 2019 3 commits
  11. 23 Aug, 2019 4 commits
  12. 20 Aug, 2019 2 commits
  13. 19 Aug, 2019 3 commits
  14. 05 Aug, 2019 1 commit
  15. 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
  16. 29 Jul, 2019 2 commits
  17. 27 Jul, 2019 3 commits
  18. 26 Jul, 2019 4 commits
    • Joseph Pyott's avatar
      Python: Added support for file_identifiers (#5123) · 9fa8245e
      Joseph Pyott authored
      * Python: Added support for file_identifiers
      
      * Added tests. Fixed file_identifier code.
      
      * Python: Fixed excessive padding of file_identifier. Repaired tests.
      
      * Python: Made code compatible with python2.7
      
      * Python: Typo fix in @endcond
      
      * whitespace normaalization
      
      * Stylistic change from if(not X is None) to if(X is not None). Added comment to type string.
      
      * Python: Added support for automatic code generation of file_identifiers. Added tests for said code generation.
      
      * converted sprintf to snprintf
      
      * Bugfix, added snprint deffinition for MSVC
      
      * changed snprint deffinition for MSVC to sprint_s
      
      * changed scanf to IntToStringHex. Renamed HasFileIdentifier to GenHasFileIdentifier.
      
      * Added updated genereated code to commit
      
      * Python bugix: flatc no longer produces HasFileIdentfier for shcemas with no file identifier
      
      * Added tests to verify `MonsterBufferHasIdentifier` returns false on no Identifier
      
      * Python: added tests for GetBufferIdentifier and BufferHasIdentifier
      Python: removed unessasary parenethesis in if statements
      Minor format changes.
      
      * Python : correceted instances of keyword arguments being called as positional arguments
      
      * fixed typos and grammer in comments
      
      * Minor style fixes
      
      * Indentation fix
      
      * Equals style changes
      
      * Python: Fixed Alignment Issues. Changed test code to test against atual output
      
      * Ran make(forgot to run make last commit)
      
      * Python: Style changes
      
      * Style changes
      
      * indentation and style
      
      * readded CONTRIBUTING.md
      
      * Formatting tweak
      
      Mostly to make CI run again
      
      * More formatting fixes
      
      * More formatting fixes
      
      * More formatting fixes
      
      * More formatting fixes
      
      * Formatting fix
      
      * More formatting fixes
      
      * Formatting
      
      * ran generate_code.sh
      9fa8245e
    • ll-antn's avatar
    • ll-antn's avatar
    • Stewart Miles's avatar
      Pin FlatBuffers Android Travis builds to NDK r17c (#5460) · b632061e
      Stewart Miles authored
      r17c is the last Android NDK to include stlport and gnustl.
      We want to continue to support these deprecated STLs until we have
      confidence few enough customers are using them.
      b632061e
  19. 25 Jul, 2019 2 commits