1. 27 Sep, 2018 2 commits
  2. 26 Sep, 2018 1 commit
  3. 24 Sep, 2018 2 commits
  4. 21 Sep, 2018 4 commits
  5. 20 Sep, 2018 1 commit
    • Christopher Cifra's avatar
      [C#] Fix compile issue when compiling with older versions of C# (#4938) · ed03faaf
      Christopher Cifra authored
      * C# support for directly reading and writting to memory other than byte[].  For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files.
      
      Public access to the backing buffer uses Span<T> instead of ArraySegment<T>.
      
      Writing to the buffer now supports Span<T> in addition to T[].
      
      To maintain backwards compatibility ENABLE_SPAN_T must be defined.
      
      * Remove usage of expression bodied method so that ByteBuffer can be compiled with older version of C#.
      ed03faaf
  6. 12 Sep, 2018 1 commit
  7. 06 Sep, 2018 2 commits
  8. 05 Sep, 2018 1 commit
  9. 04 Sep, 2018 9 commits
  10. 03 Sep, 2018 1 commit
    • Robert's avatar
      Port FlatBuffers to Rust (#4898) · 3c54fd96
      Robert authored
      This is a port of FlatBuffers to Rust. It provides code generation and a
      runtime library derived from the C++ implementation. It utilizes the
      Rust type system to provide safe and fast traversal of FlatBuffers data.
      
      There are 188 tests, including many fuzz tests of roundtrips for various
      serialization scenarios. Initial benchmarks indicate that the canonical
      example payload can be written in ~700ns, and traversed in ~100ns.
      
      Rustaceans may be interested in the Follow, Push, and SafeSliceAccess
      traits. These traits lift traversals, reads, writes, and slice accesses
      into the type system, providing abstraction with no runtime penalty.
      3c54fd96
  11. 30 Aug, 2018 1 commit
  12. 24 Aug, 2018 1 commit
  13. 23 Aug, 2018 2 commits
  14. 20 Aug, 2018 3 commits
  15. 16 Aug, 2018 2 commits
    • Andy Martin's avatar
      Add C#/Java generator behaviour for 'private' attribute (#4882) · c2c3a84a
      Andy Martin authored
      * Added 'private' attribute, supported when generating C# and Java
      
      * Added use of 'private' attribute in monster_test
      c2c3a84a
    • Uilian Ries's avatar
      Conan build packages on CI (#4590) (#4594) · 1f03becd
      Uilian Ries authored
      * Build Conan package on Travis CI (#4590)
      
      - Added multi package support on Linux, running on Travis CI
      - Only upload when branch is a tag and named "vX.Y.Z"
      - Replace Conan injection by Conan wrapper
      - Removed os_build os_arch -- Conan 1.0.1 hotfix
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Build Conan package on OSX (#4590)
      
      - Added jobs to build Flatbuffers on OSX running on Travis
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Build Conan package on Windows (#4590)
      
      - Added support necessary to build Flatbuffers on Windows (conan)
      - Added Appveyor jobs to build Conan package
      - Only build Conan package when release (tag)
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Reduce Conan CI support to simple scripts (#4590)
      
      - Removed msvc 10 x86_64 workaround
      - Updated conan remote address
      - Added Bincrafters' package tools
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Add fPIC option on Conan recipe (#4590)
      
      - Add fPIC as optional. It works on Linux and OSX
      - Update recipe metadata: author, homepage, license
      - Checking for flatc and flathash on Conan package
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Build Conan package on CI (#4590)
      
      - Add rule to run conan job only for tags
      - Run Conan on Linux, OSX and Windows
      - Update package tool to new interface
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Update Conan username (#4590)
      
      - Use google as default username
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      
      * Update OSX version on CI (#4590)
      
      - Use latest OSX 9.3 version to build Conan package
      Signed-off-by: 's avatarUilian Ries <uilianries@gmail.com>
      1f03becd
  16. 13 Aug, 2018 3 commits
    • kulswanand's avatar
      Proposing use of C++ header files and functions (#4869) · c7210094
      kulswanand authored
      * Proposing use of C++ header files and functions 
      
      Proposing use of C++ header files and functions instead of C header file and functions. 
      Here are few examples for comparison : 
      
      C                            C++
      <cstdio>                <iostream> & <fstream>
      printf()                     cout 
      fopen()                    ifstream
      etc ...
      
      Please let me know if there are any comments.
      
      * Updated diff based on review comments
      c7210094
    • iceboy's avatar
      Use string_view if _HAS_CXX17 is true (#4876) · 55289c55
      iceboy authored
      Current version of VC2017 is not setting __cplusplus to correct value, instead they use _MSC_VER, _MSVC_LANG and _HAS_CXX17 macros.
      55289c55
    • Wouter van Oortmerssen's avatar
      Fixed use of uoffset_t in verifier could cause wrap around. · ed2415eb
      Wouter van Oortmerssen authored
      The verifier must be resilient against any corrupt data, so
      now using size_t thru-out to ensure any 64-bit offsets can
      be represented.
      
      Also added verification of alignment.
      
      Change-Id: I87a22aa6b045c2d83b69b47a47153f2e15ad7e06
      Tested: on Linux, also with libfuzzer.
      ed2415eb
  17. 10 Aug, 2018 4 commits