1. 18 Apr, 2017 2 commits
  2. 17 Apr, 2017 2 commits
    • Wouter van Oortmerssen's avatar
      Fixed clang needing union copy constructor. · 728bb64f
      Wouter van Oortmerssen authored
      Move constructors are present, which it should use instead.
      
      This is a temp fix to make it compile, but eventually we should
      generate a proper copy constructor just in-case people want to
      copy objects with unions.
      
      Tested on: Linux, OS X.
      
      Change-Id: Idf85419995c96f5959061882157541573e306083
      728bb64f
    • Jason Stubbs's avatar
      [C++] fix bounds checking on integer parsing (#4250) · a07f0d42
      Jason Stubbs authored
      * fix bounds checking on integer parsing
      
      the previous code was allowing 255 for int8_t, similar for int16_t
      and int32_t, and even negative values for unsignd types.
      
      this patch fixes bounds checking for 8-bit, 16-bit and 32-bit types.
      testing for both acceptable values and unacceptable values at the
      boundaries are also improved.
      
      bounds checking on 64-bit types isn't addressed by this patch.
      
      * fix 'unary minus operator applied to unsigned type, result still unsigned'
      
      * fix & placement
      a07f0d42
  3. 13 Apr, 2017 2 commits
  4. 12 Apr, 2017 2 commits
  5. 10 Apr, 2017 1 commit
    • Kamil Rojewski's avatar
      TypeScript support (#4232) · 28e7dbd3
      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
      28e7dbd3
  6. 08 Apr, 2017 1 commit
  7. 30 Mar, 2017 1 commit
  8. 29 Mar, 2017 7 commits
  9. 28 Mar, 2017 2 commits
  10. 27 Mar, 2017 1 commit
    • Jesper Stemann Andersen's avatar
      Fixed building and warnings on Arduino (16 bit platform). (#4197) · 281284fa
      Jesper Stemann Andersen authored
      Building on Arduino fixed by conditional includes of cstdint and utility. In the Standard C++ for Arduino (port of uClibc++):
      * cstdint is not present.
      * utility is named utility.h.
      
      Replaced size_t with uoffset_t for Verifier::max_tables_, max_depth_, depth_, and num_tables_ to ensure 32-bit values are used (and not 16-bit) - gave rise to a warning.
      281284fa
  11. 21 Mar, 2017 1 commit
    • Lawrence Chan's avatar
      C++: Add default value handling to mutation/SetField code (#4230) · 1a27c701
      Lawrence Chan authored
      * Add default value handling to mutation/SetField code
      
      * Shorten reflection SetField impl
      
      * Modify impl to work with C++03
      
      * Add more mutation tests
      
      * Fail SetField if non-scalar
      
      * Add IsScalar/IsInteger/IsFloat for reflection::BaseType
      
      * Use new IsScalar/IsInteger/IsFloat in reflection SetField
      
      * Assume scalar is either int or float
      1a27c701
  12. 20 Mar, 2017 2 commits
  13. 18 Mar, 2017 2 commits
  14. 16 Mar, 2017 1 commit
  15. 15 Mar, 2017 3 commits
  16. 13 Mar, 2017 1 commit
  17. 10 Mar, 2017 2 commits
  18. 08 Mar, 2017 4 commits
  19. 03 Mar, 2017 2 commits
  20. 28 Feb, 2017 1 commit