1. 08 Feb, 2018 2 commits
  2. 05 Feb, 2018 2 commits
    • Sergey Avseyev's avatar
      Fix compiler errors in parser (#4612) · 6a1acdc2
      Sergey Avseyev authored
      src/idl_parser.cpp: In member function 'flatbuffers::CheckedError flatbuffers::Parser::ParseHexNum(int, uint64_t*)':
      src/idl_parser.cpp:220:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
           if (!isxdigit(static_cast<const unsigned char>(cursor_[i])))
                                                                    ^
      src/idl_parser.cpp: In member function 'flatbuffers::CheckedError flatbuffers::Parser::Next()':
      src/idl_parser.cpp:260:62: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
               if(!isdigit(static_cast<const unsigned char>(*cursor_))) return NoError();
                                                                    ^
      cc1plus: all warnings being treated as errors
      6a1acdc2
    • Joe Schafer's avatar
      Add initial Bazel WORKSPACE and BUILD (#4608) · c6964225
      Joe Schafer authored
      For #4574.
      
      To test:
      
          bazel test --verbose_failures //:flatbuffers_test
      c6964225
  3. 29 Jan, 2018 1 commit
    • Wouter van Oortmerssen's avatar
      Cleaned up & fixed buffer alignment handling. · e93d2bda
      Wouter van Oortmerssen authored
      - Fixed ForceVectorAlignment (and possibly other call-sites) not
        setting minalign_.
      - Fixed flipped alignment parameters in CopyTable (reflection).
      - Made aligment for FlatBufferBuilder internal buffer configurable
        (useful when reading a constructed buffer directly).
      - Ensured Alignment rounding is always up.
      
      Change-Id: I33ca4887d92a09cb11a369c14a109f4b07ae707a
      Tested: on Linux.
      e93d2bda
  4. 22 Jan, 2018 4 commits
  5. 18 Jan, 2018 7 commits
  6. 16 Jan, 2018 1 commit
  7. 12 Jan, 2018 1 commit
  8. 11 Jan, 2018 1 commit
    • Wouter van Oortmerssen's avatar
      Reduced FlatBufferBuilder from 3 buffers to 1 · 79b80f84
      Wouter van Oortmerssen authored
      Previously, FlatBufferBuilder used 3 resizable buffers:
      - serialization (vector_downward)
      - field offsets (std::vector)
      - vtable offsets (std::vector)
      
      Since the serialization buffer grows downwards, the bottom part of
      it can be used as a "scratchpad" storage for the other two. Since
      field offsets are only accumulated during table construction, and
      vtable offsets only after table construction, the two can trivially
      share the same storage.
      
      Not only does this reduce the amount of allocation, it also removes
      the bulk of std::vector usage from FlatBufferBuilder which was
      the #1 cause of slow-down in debug mode, see e.g.:
      https://stackoverflow.com/questions/36085285/any-way-to-improve-flatbuffer-performance-in-debug-c-msvc
      
      Change-Id: I0224cf2f2a863d2d7ef762bc9163b52fdc149522
      Tested: on Linux.
      79b80f84
  9. 08 Jan, 2018 1 commit
  10. 05 Jan, 2018 1 commit
  11. 04 Jan, 2018 4 commits
  12. 28 Dec, 2017 4 commits
  13. 21 Dec, 2017 5 commits
  14. 18 Dec, 2017 2 commits
  15. 14 Dec, 2017 2 commits
    • Robert's avatar
      Merge pull request #4516 from mikeholler/travis · 4071b6f6
      Robert authored
      Add support for Python lib continuous deployment.
      4071b6f6
    • Kamil Rojewski's avatar
      Fix for strictPropertyInitialization for TS (#4540) · 142401f5
      Kamil Rojewski authored
      * Eclipse ignore
      
      * TypeScript support
      
      * Prefixing enums
      
      * Test results
      
      * Merged JS and TS generators
      
      * Fixed AppVeyor build problems
      
      * Fixed more AppVeyor build problems
      
      * Fixed more AppVeyor build problems
      
      * Changed TS flag to options struct
      
      * Storing options by value
      
      * Removed unneeded const
      
      * Re-export support for unions
      
      * Uint support
      
      * Casting bools to numbers for mutation
      
      * TS shell tests
      
      * Reverted generates js test file to original version
      
      * Backing up js tests and properly generating test data
      
      * Not importing flatbuffers for TS test generation
      
      * Not overwriting generated js for tests
      
      * AppVeyor test fixes
      
      * Generating the most strict TS code possible
      
      * Not returning null when creating vectors
      
      * Not returning null from struct contructors
      
      * Vector of unions for ts/js
      
      * Sanity check for languages
      
      * Indentation fix + output test files
      
      * Vectors of unions for php
      
      * Fixes to union vector handling + tests
      
      * Fix for strictPropertyInitialization
      142401f5
  16. 13 Dec, 2017 1 commit
  17. 07 Dec, 2017 1 commit