1. 19 May, 2015 1 commit
  2. 18 May, 2015 1 commit
  3. 15 May, 2015 2 commits
  4. 14 May, 2015 2 commits
  5. 13 May, 2015 3 commits
  6. 12 May, 2015 2 commits
    • rw's avatar
      Port FlatBuffers to Python. · 48dfc69e
      rw authored
      Implement code generation and self-contained runtime library for Python.
      
      The test suite verifies:
        - Correctness of generated Python code by comparing output to that of
          the other language ports.
        - The exact bytes in the Builder buffer during many scenarios.
        - Vtable deduplication correctness.
        - Edge cases for table construction, via a fuzzer derived from the Go
          implementation.
        - All code is simultaneously valid in Python 2.6, 2.7, and 3.4.
      
      The test suite includes benchmarks for:
        - Building 'gold' data.
        - Parsing 'gold' data.
        - Deduplicating vtables.
      
      All tests pass on this author's system for the following Python
      implementations:
        - CPython 2.6.7
        - CPython 2.7.8
        - CPython 3.4.2
        - PyPy 2.5.0 (CPython 2.7.8 compatible)
      48dfc69e
    • Robert's avatar
      Merge pull request #165 from rw/go-faster · 4d213c2d
      Robert authored
      Go speed improvements
      4d213c2d
  7. 11 May, 2015 4 commits
  8. 09 May, 2015 5 commits
  9. 08 May, 2015 5 commits
    • Mormegil's avatar
      Union accessors in C# should use generic type for the table · 221193ea
      Mormegil authored
      When accessing a union field, we should return the same object type
      as was given to the method, i.e. the parameter should have a generic
      type for any Table-derived type. This way, we do not need to make
      superfluous casts (which also reduce type safety) like
      
      var myUnionType = (MyUnionType)buff.GetUnionField(new MyUnionType());
      
      when we can do just
      var myUnionType = buff.GetUnionField(new MyUnionType());
      
      Change-Id: Idac1b638e46cc50b1f2dc19f10741481202b1515
      221193ea
    • pjulien's avatar
      set version for next dev cycle · f7d24f60
      pjulien authored
      Change-Id: I17a7896e257c0ab7e4cd1b22c928d4cee21fbf11
      f7d24f60
    • pjulien's avatar
      Initially discussed in #178. · e5a1a312
      pjulien authored
      Allows adding an already encoded UTF-8 string directly without
      having to convert to a ``String`` first.
      
      Change-Id: I23f9c738eec18fd35f4c14f58dbd0f6cf0970dc7
      e5a1a312
    • Wouter van Oortmerssen's avatar
      Added namespaced way to refer to types in schemas. · 39833d7c
      Wouter van Oortmerssen authored
      Also made proper namespacing work for enums.
      
      You can now say namespace.MyTable as the type when declaring
      a field that refers to a type in a different namespace.
      
      Previously, it would work just referring to MyTable, however
      with the recent commit fixing namespaced types this now
      is ambiguous.
      
      Change-Id: Ieaa3f4ac1662b8c4dc1f16e1898ea3cdb02e10fd
      Tested: on Linux.
      39833d7c
    • Brett Cooley's avatar
      Merge "Initial support for propagating namespaces from schema files to generated… · ecb27817
      Brett Cooley authored
      Merge "Initial support for propagating namespaces from schema files to generated code" into ub-games-master
      ecb27817
  10. 07 May, 2015 1 commit
  11. 06 May, 2015 3 commits
    • Mormegil's avatar
      [BREAKING CHANGE] Field accessors should use property getters in C# · 0ee1b99c
      Mormegil authored
      In C#, plain field accessors should not be nonparametric methods
      but should be standard property getters.
      
      The accessor methods with parameters were renamed to `GetXxx`
      because a method cannot be named identically to a property.
      
      Also, `ByteBuffer.Position`, `FlatBufferBuilder.Offset` and
      `FlatBufferBuilder.DataBuffer` are now properties instead
      of nonparametric accessor methods, for more idiomatic C# style.
      
      This is a breaking change, all client C# code accessing these
      fields needs to be changed (i.e. remove those `()` or add the
      `Get` prefix).
      
      Issue: #77
      Change-Id: Iaabe9ada076e5ea2c69911cf6170fdda2df3487e
      0ee1b99c
    • yinlei's avatar
      Fix u_int8_t to uint8_t · a50711ad
      yinlei authored
      Change-Id: I475ef9454f51f1b7ec2a7f9086d711359456677a
      a50711ad
    • Brett Cooley's avatar
      Initial support for propagating namespaces from schema files to generated code · 249f71a1
      Brett Cooley authored
      Change-Id: Ifc10c54845ea7553586d1896d509314d68e9ab0f
      249f71a1
  12. 04 May, 2015 5 commits
  13. 29 Apr, 2015 2 commits
  14. 28 Apr, 2015 1 commit
  15. 15 Apr, 2015 2 commits
    • Mormegil's avatar
      Tolerate DOS-style EOL in IDL line comments · a8d6962a
      Mormegil authored
      If an IDL file uses DOS-style EOLs (CR+LF), line comments need to
      ignore the second linebreak character, otherwise, as is currently
      the case, the parsed documentation comment includes a trailing `\r`
      character, which is then output verbatim into the output source
      code by flatc.
      
      Change-Id: I39591631995a980622d20a4a32315178b33f18f6
      a8d6962a
    • franchuti688's avatar
      added .travis.yml file (build with original and biicode building); · 23f75f59
      franchuti688 authored
      added bii-travis.sh and readme.md files; added build status section with travis and biicode build
      systems
      
      Change-Id: I93acd1ca9497416ade6293d63b5311c4c31b880f
      23f75f59
  16. 13 Apr, 2015 1 commit
    • Mormegil's avatar
      Enums use native enums in C# · e3b432cb
      Mormegil authored
      Enums should not be (badly) emulated with classes in C# but should
      use native C# enums instead. Java implementation made an explicit
      choice not to use the (more complex) Java enums, but C# enums are
      just light-weight syntactic coating over integral types.
      
      Fixes issue #171.
      
      Change-Id: I9f4d6ba5324400a1e52982e49b58603cb7d7cca7
      e3b432cb