1. 26 Aug, 2019 1 commit
  2. 23 Aug, 2019 4 commits
  3. 20 Aug, 2019 2 commits
  4. 19 Aug, 2019 3 commits
  5. 05 Aug, 2019 1 commit
  6. 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
  7. 29 Jul, 2019 2 commits
  8. 27 Jul, 2019 3 commits
  9. 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
  10. 25 Jul, 2019 3 commits
  11. 22 Jul, 2019 1 commit
    • Paulo Pinheiro's avatar
      Add basic Kotlin support (#5409) · de9aa0cd
      Paulo Pinheiro authored
      * [Kotlin] Add kotlin generate code for tests and add
      kotlin test to TestAll.sh
      
      * [Kotlin] Add Kotlin generator
      
      This change adds support for generating Kotlin classes.
      
      The approach of this generator is to keep it as close
      as possible to the java generator for now, in order
      to keep the change simple.
      
      It uses the already implemented java runtime,
      so we don't support cross-platform nor js Kotlin yet.
      
      Kotlin tests are just a copy of the java tests.
      
      * Add optional ident support for CodeWriter
      
      Identation is important for some languages and
      different projects have different ways of ident
      code, e.g. tabs vs spaces, so we are adding optional
      support on CodeWriter for identation.
      
      * [Kotlin] Add Documentation for Kotlin
      
      * [Kotlin] Modify generated code to use experimental Unsigned types.
      de9aa0cd
  12. 18 Jul, 2019 1 commit
  13. 09 Jul, 2019 1 commit
  14. 08 Jul, 2019 1 commit
    • Vladimir Glavnyy's avatar
      Extend the test of MonsterExtra (#5428) · e304f8c1
      Vladimir Glavnyy authored
      * Extend the test of MonsterExtra
      
      - Extend C++ test of MonsterExtra
      - Add conversion of fbs/json NaNs to unsigned quiet-NaN
      - Update documentation (cross-platform interoperability)
      
      * Fix declaration of infinity constants int the test
      e304f8c1
  15. 01 Jul, 2019 2 commits
    • Thanabodee Charoenpiriyakij's avatar
      Fix echo not interpret \n in GoTest.sh (#5426) · 47c7aa03
      Thanabodee Charoenpiriyakij authored
      When running GoTest.sh, the last step that checking go format files
      are print \n instead of new line:
      
      These files are not well gofmt'ed:\n\nMyGame/Example/Color.go
      MyGame/Example/MonsterStorage_grpc.go
      
      This changes fix it by echo NOT_FMT_FILES in separate line.
      47c7aa03
    • Vladimir Glavnyy's avatar
      Remove unused variables (#5382) · 7a637929
      Vladimir Glavnyy authored
      - Fix GenerateTextFromTable (aliasing typo)
      - Fix unused variable in idl_gen_dart.cpp
      - Fix std::string passing (should be non-const value or const-reference)
      - Remove unused variables
      7a637929
  16. 27 Jun, 2019 3 commits
  17. 25 Jun, 2019 2 commits
  18. 24 Jun, 2019 2 commits
  19. 20 Jun, 2019 1 commit