1. 19 Aug, 2014 1 commit
  2. 13 Aug, 2014 3 commits
  3. 12 Aug, 2014 4 commits
  4. 31 Jul, 2014 1 commit
  5. 29 Jul, 2014 2 commits
  6. 28 Jul, 2014 2 commits
  7. 25 Jul, 2014 3 commits
  8. 24 Jul, 2014 1 commit
  9. 20 Jul, 2014 1 commit
  10. 22 Jul, 2014 2 commits
    • Stewart Miles's avatar
      Terminate the output directory argument of flatc. · 60acef94
      Stewart Miles authored
      Given the command
      
      flatc -o . -c test.fbs
      
      it would generate header file
      
      .test_generated.h
      
      rather than
      
      ./test_generated.h
      
      This fixes this issue.
      
      Tested:
      Manually verified that flatc generates the correct output files given output
      paths ending with and without '/' on Linux and Windows.
      
      Bug: 16464827
      Change-Id: I854cb881286f22690f1885f942cf3fd2fc59ca8d
      60acef94
    • Alex Ames's avatar
      Corrected the order of the comments on namespace close parens · 3f53f73c
      Alex Ames authored
      Also removed the semicolon on the bracket. It makes -pedanic unhappy.
      
      Bug: 16399323
      Change-Id: I16ec0d67af13c3ca0bc6285741f5a95658d262bd
      3f53f73c
  11. 21 Jul, 2014 6 commits
  12. 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
  13. 14 Jul, 2014 2 commits
  14. 11 Jul, 2014 3 commits
  15. 10 Jul, 2014 4 commits
  16. 09 Jul, 2014 2 commits
  17. 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
  18. 02 Jul, 2014 1 commit
    • Wouter van Oortmerssen's avatar
      Made declaring the underlying type of an enum mandatory. · a5f50019
      Wouter van Oortmerssen authored
      This is a breaking change, anyone having schema files with enums
      that do not specify a type will get a specialized error:
      
      must specify the underlying integer type for this
      enum (e.g. ': short', which was the default).
      
      All of the samples and docs already had a type specified,
      so hopefully this will affect very few people.
      
      Bug: 15777205
      Change-Id: I9b8d7c0827867f7efb6c217346db7e402695eff0
      Tested: on Windows
      a5f50019