1. 04 Mar, 2019 1 commit
  2. 28 Feb, 2019 1 commit
  3. 27 Feb, 2019 1 commit
    • naure's avatar
      Rust: Fix lifetime in union _as_ accessors (#5140) · 034275c6
      naure authored
      * Fix lifetime in union _as_ accessors
      
      In the accessors for union field, the return value is implicitly taking the lifetime of &self.
      This is irrelevant and prevents usages of the returned value, because it is needlessly bound to the parent field lifetime.
      
      This patch makes the return value inherit the lifetime of the data, like other methods do.
      034275c6
  4. 25 Feb, 2019 8 commits
  5. 22 Feb, 2019 1 commit
    • Brian Wellington's avatar
      Fix big-endian build. (#5205) · a1f14005
      Brian Wellington authored
      For some reason, Offset<T> is being considered a scalar, which
      causes EndianSwap to be passed an Offset<T>.  This doesn't work,
      as it does not support types with non-trivial constructors.  This
      change adds an overload to WriteScalar(), which works around this.
      a1f14005
  6. 21 Feb, 2019 5 commits
    • Eric Erhardt's avatar
      Remove byte* property in ByteBufferAllocator (#5191) · 0cdacdfb
      Eric Erhardt authored
      * Remove byte* property in ByteBufferAllocator.
      
      This allows consumers to read/write into native memory, but without
      having to always pin the managed `byte[]` when working with managed
      memory. This allows for users to not need to Dispose() ByteBuffers
      when they are using the default ByteArrayAllocator class.
      
      Instead, we use `Span<byte> GetSpan()` methods to get access to the
      underlying memory buffer.
      
      Fix #5181
      
      * Add a set of benchmark tests.
      
      * Add ReadOnly spans.
      
      This allows consumers to use ReadOnlyMemory<byte> as the backing storage
      for ByteBuffers, which is useful in read-only scenarios.
      
      * Run tests using ENABLE_SPAN_T in appveyor.
      
      * Fix FlatBuffers.Test.csproj to work on older MSBuild versions.
      
      * Change the test script to test UNSAFE_BYTEBUFFER
      
      * Address PR feedback.
      
      Remove IDisposable from ByteBuffer.
      
      * Respond to PR feedback.
      0cdacdfb
    • bwelling's avatar
      Improve endian detection. (#5204) · bb584420
      bwelling authored
      Add support for using __BYTE_ORDER__, to support platforms where g++
      doesn't explicitly define __BIG_ENDIAN__, like Solaris Sparc.
      bb584420
    • Marc Butler's avatar
      Add RPM packaging support (#5177) · 4567b131
      Marc Butler authored
      * Add RPM packaging support
      
      Using the existing PackageDebian as template add support for
      generating an rpm with the package target.
      
      * Restore debian package target
      
      Also add an option to advertise the fact.
      
      * Update package description
      
      C-n-p from README.md
      
      * Update rpm package maintainer
      4567b131
    • Kamil Rojewski's avatar
      Fixed vector of unions crash in java (#5190) · 8f8fb2b3
      Kamil Rojewski authored
      * Fixed vector of unions crash in java
      
      * Regenerated test code
      
      * Fixed windows tests
      8f8fb2b3
    • Efe Burak's avatar
      Added .net core project (#5187) · 69d761d1
      Efe Burak authored
      69d761d1
  7. 19 Feb, 2019 4 commits
  8. 15 Feb, 2019 2 commits
  9. 14 Feb, 2019 4 commits
  10. 11 Feb, 2019 4 commits
  11. 08 Feb, 2019 1 commit
  12. 07 Feb, 2019 1 commit
  13. 05 Feb, 2019 1 commit
  14. 04 Feb, 2019 2 commits
    • Travis Staley's avatar
      Changing array to be an associative array so that the Name function can work… · 31e34faa
      Travis Staley authored
      Changing array to be an associative array so that the Name function can work with non-sequential enums as well as those beginning at something other than zero. (#5151)
      
      Also including the resulting changes in php files.
      31e34faa
    • Jon Kunkee's avatar
      Only use __movsb on architectures that support it (#5147) · 4d98faa5
      Jon Kunkee authored
      With the introduction of Windows 10 on ARM (ARM64), code that assumes
      that Windows targets are always x86 or x86_64 targets needs to be
      updated.
      
      The hot function ReadUInt64 has been optimized in MSVC builds using the
      compiler intrinsic __movsb. Since this does not exist on ARM64 Windows,
      this change uses the pure C++ path that other platforms use instead.
      4d98faa5
  15. 29 Jan, 2019 1 commit
  16. 28 Jan, 2019 1 commit
  17. 24 Jan, 2019 2 commits