1. 21 Jul, 2014 5 commits
    • Wouter van Oortmerssen's avatar
      Added a `bit_flags` attribute to enum declarations that 1<<N every value. · 127d3508
      Wouter van Oortmerssen authored
      Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c
      Tested: on Windows and Linux
      Bug: 16186562
      127d3508
    • Wouter van Oortmerssen's avatar
      Made sure tests.cpp is testing the new vector iterator functionality. · bd86bf60
      Wouter van Oortmerssen authored
      Also fixes a potential big-endian bug, and makes iterators work
      correctly with pointer types.
      
      Change-Id: Ib7f88fe9e6053d1a9afa7895fba0695627c158b1
      Tested: on Windows and Linux
      bd86bf60
    • Wouter van Oortmerssen's avatar
      A feature that officially supports nested FlatBuffers. · 3e201a99
      Wouter van Oortmerssen authored
      Generates convenient accessors for the nested root.
      
      Change-Id: Ic0b1531de7ace475ff2a7b1f430d27f41c838430
      Tested: on Windows.
      3e201a99
    • Wouter van Oortmerssen's avatar
      Small fixes to the core C++ FlatBuffers implementation. · 9143a933
      Wouter van Oortmerssen authored
      - Ensured weak linkage with the version string is not used on Windows,
        especially cygwin (which throws a linker error).
      - Avoided a VS debug error for taking the address of the first element
        of an empty vector.
      - Made copy/assignment constructors for downward_vector and
        FlatBufferBuilder private, to avoid people unintentionally making
        expensive copies.
      - Using the more correct _WIN32 instead of WIN32
      
      Change-Id: I801b5c8b159e3721af6d1ef0978a3247ba168bab
      Tested: on Windows (VS + Cygwin) and Linux.
      9143a933
    • rw's avatar
      Port FlatBuffers to Go. · 74d5f370
      rw authored
      Implement code generation and runtime library for Go, derived from the
      Java implementation. Additionally, the test suite verifies:
      
       - the exact bytes in the Builder buffer during object construction,
       - vtable deduplication, and
       - table construction, via a fuzzer derived from the C++ implementation.
      
      Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
      74d5f370
  2. 15 Jul, 2014 1 commit
    • Wouter van Oortmerssen's avatar
      JSON parsing & text generation is now enum-identifier aware. · 3fb6a86d
      Wouter van Oortmerssen authored
      When Parsing JSON, it will read enums either as int values, identifiers
      specific to the enum type, or strings containing those identifiers.
      
      When generating text, it will output enum identifiers by default
      (this can be turned off in favor of integers, like before).
      
      Change-Id: If28b0a1f8f27de79aff3e626f40c0c0b271c325a
      Tested: on Windows and Linux
      Bug: 16214968
      3fb6a86d
  3. 14 Jul, 2014 2 commits
  4. 11 Jul, 2014 3 commits
  5. 10 Jul, 2014 4 commits
  6. 09 Jul, 2014 2 commits
  7. 08 Jul, 2014 1 commit
    • Wouter van Oortmerssen's avatar
      Added functionality to assign field ids manually in a schema · 9140144d
      Wouter van Oortmerssen authored
      New attribute:
      
      -   `id: n` (on a table field): manually set the field identifier to `n`.
          If you use this attribute, you must use it on ALL fields of this table,
          and the numbers must be a contiguous range from 0 onwards.
          Additionally, since a union type effectively adds two fields, its
          id must be that of the second field (the first field is the type
          field and not explicitly declared in the schema).
          For example, if the last field before the union field had id 6,
          the union field should have id 8, and the unions type field will
          implicitly be 7.
          IDs allow the fields to be placed in any order in the schema.
          When a new field is added to the schema is must use the next available ID.
      
      Change-Id: I8690f105f3a2d31fdcb75a4fab4130692b12c62f
      Tested: on Windows
      9140144d
  8. 02 Jul, 2014 6 commits
  9. 24 Jun, 2014 1 commit
  10. 23 Jun, 2014 8 commits
  11. 20 Jun, 2014 2 commits
  12. 19 Jun, 2014 4 commits
  13. 18 Jun, 2014 1 commit