1. 15 Apr, 2019 1 commit
  2. 11 Apr, 2019 4 commits
  3. 08 Apr, 2019 3 commits
  4. 05 Apr, 2019 5 commits
  5. 04 Apr, 2019 1 commit
  6. 01 Apr, 2019 1 commit
  7. 28 Mar, 2019 1 commit
  8. 25 Mar, 2019 4 commits
  9. 21 Mar, 2019 3 commits
  10. 18 Mar, 2019 3 commits
  11. 14 Mar, 2019 1 commit
  12. 11 Mar, 2019 5 commits
    • Wouter van Oortmerssen's avatar
      Made JS enum declarations compatible with google closure · 4f066c39
      Wouter van Oortmerssen authored
      Original change by: https://github.com/alexames
      
      Change-Id: Ib65bd02156d1c3637ed278a8334a2307caacaa44
      4f066c39
    • Wouter van Oortmerssen's avatar
      Disabled constexpr for hashing functions. · ca68d8b0
      Wouter van Oortmerssen authored
      This was incompatible with -Wc++98-c++11-compat on some platforms,
      due to local variables in the function.
      
      Change-Id: Idef510c2cefe944eef2e0656f5a219c2158063e6
      ca68d8b0
    • Vladimir Glavnyy's avatar
    • Randal Stevens's avatar
      Fix typo in dart documentation (#5230) · 73a648b6
      Randal Stevens authored
      73a648b6
    • Wouter van Oortmerssen's avatar
      [C++] Object API: document custom string type requirements, · eb2a81f7
      Wouter van Oortmerssen authored
      implement better custom string type constructor alternative
      for Unpack() and fix bug with vector of custom string types
      in Pack().
      
      Squashed commit of the following:
      
      commit e9519c647ef949b22756ed660839dd3af854881c
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Tue Mar 5 18:24:49 2019 +0100
      
          tests: regenerate code, reverts change to CreateVectorOfStrings().
      
      commit 117e3b0679209f2aa55cbee18c4036e7da4bd4b3
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Tue Mar 5 18:15:05 2019 +0100
      
          idl_gen_cpp.cpp: move clang-format on/off outside of declaration, so they are kept properly aligned automatically.
      
      commit 4791923806965637d5b13f7003329bfbb2fdf18b
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Tue Mar 5 18:11:40 2019 +0100
      
          idl_gen_cpp.cpp: full clang-format run with provided Google format file, enforce 80 lines width.
      
      commit 2f0402f9ff43b1af0a29806932e08e6d64373345
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Tue Mar 5 18:09:32 2019 +0100
      
          CppUsage: address requested changes.
          idl_gen_cpp.cpp: fix formatting, keep CreateVectorOfStrings for normal string cases.
      
      commit 371d4e0b7972a59e5cff418c44e4043c016ce56a
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Fri Mar 1 16:35:29 2019 +0100
      
          Fix compile error with a vector of non-std::strings. CreateVectorOfStrings() expects a vector of std::string types, but that's not always the case.
      
      commit 92b90d7f0fbcfc837a94aa06bedccec0f7b4bb62
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Fri Mar 1 16:15:36 2019 +0100
      
          Document requirement for custom string types to implement empty() and be constructible from std::string.
          Add new option --cpp-str-flex-ctor to construct custom string types not via std::string, but (char * + length).
      
      commit 28cb2e92d5b7684b5df5184da3a3fad2d0cda733
      Author: Luca Longinotti <luca.longinotti@inivation.com>
      Date:   Fri Mar 1 14:31:17 2019 +0100
      
          idl_gen_cpp.cpp: clang-format run, to better separate changes in content from formatting.
      
      Change-Id: I4887ba2f2c632b9e7a8c938659b088cd95690870
      eb2a81f7
  13. 09 Mar, 2019 1 commit
  14. 08 Mar, 2019 2 commits
    • Mathias Svensson's avatar
      4f10da8d
    • tymcauley's avatar
      Fix rust crate for big-endian targets (#5229) · 9e82ee25
      tymcauley authored
      Thanks for tackling this, @tymcauley !
      
      * big endian docker test -- wip
      
      * tweaks
      
      * tweaks
      
      * tweaks
      
      * docker tweaks
      
      * fix conditional compilation issues
      
      * reactivate other docker tests
      
      * try some more cross-platform config (from tymcauley)
      
      * Update tests/docker/languages/Dockerfile.testing.rust.big_endian.1_30_1
      Co-Authored-By: 's avatarrw <rw@users.noreply.github.com>
      
      * Update tests/docker/languages/Dockerfile.testing.rust.big_endian.1_30_1
      Co-Authored-By: 's avatarrw <rw@users.noreply.github.com>
      
      * Update tests/docker/languages/Dockerfile.testing.rust.big_endian.1_30_1
      Co-Authored-By: 's avatarrw <rw@users.noreply.github.com>
      
      * Resolved Rust warnings during big-endian builds.
      
      * Unify Rust test suites for x86 and MIPS builds.
      
      Note that I had to add four extra packages to the MIPS `Dockerfile`:
      `libexpat1`, `libmagic1`, `libmpdec2`, and `libreadline7`. For a reason
      I couldn't identify, even the simplest Rust MIPS binaries run with
      `qemu-mips` would fail with a segfault when run through this
      `Dockerfile`. After installing the `gdb-multiarch` package to attempt to
      debug the issue, the binaries ran successfully. I pared down the
      packages installed by `gdb-multiarch`, and these four packages are the
      minimum subset necessary to get Rust MIPS binaries running under
      `qemu-mips`.
      
      * Changed Rust tests to use `Vector`s instead of direct-slice-access.
      
      The direct-slice-access method is not available on big-endian targets,
      but `flatbuffers::Vector`s provide an array interface that is available
      on all platforms.
      
      * Resolved FooStruct endianness issues using explicit struct constructor.
      
      This more closely resembles how FlatBuffers structs are constructed in
      generated Rust code.
      
      * Added explanation of how `FooStruct` parallels generated struct code.
      
      Also collected duplicate implementations of `FooStruct` into a common
      location.
      9e82ee25
  15. 07 Mar, 2019 3 commits
    • Wouter van Oortmerssen's avatar
      Removed -Wc++98-compat-extra-semi for compatibility with older clang. · e237f53b
      Wouter van Oortmerssen authored
      Change-Id: I6dfadb5289a4396ad2f3d16baf1bdb99c7534174
      e237f53b
    • Austin Schuh's avatar
      Bazel ci (#5228) · 98be491e
      Austin Schuh authored
      * Stop building for Windows until the build passes
      
      ERROR: D:/b/bk-windows-java8-bd0z/bazel/flatbuffers/BUILD:123:1: Couldn't build file _objs/flatbuffers_test/test.obj: undeclared inclusion(s) in rule '//:flatbuffers_test':
      this rule is missing dependency declarations for the following files included by 'tests/test.cpp':
        'tests/monster_test_generated.h'
        'tests/monster_extra_generated.h'
      
      The files in tests are being found instead of the generated files since
      Windows doesn't have any sandboxing.  For now, let's disable the rules
      and come back to it.
      
      * Fix buildifier warnings
      
      Clean up docstrings and add a module docstring.
      98be491e
    • Wouter van Oortmerssen's avatar
      Fixed vector of union JSON parsing. · 71628dad
      Wouter van Oortmerssen authored
      This for some reason never had a test case, and was broken.
      
      Change-Id: If832f5eb8b6c5ba8a75257464892634b38719c55
      71628dad
  16. 06 Mar, 2019 2 commits