Skip to content
Snippets Groups Projects
  1. Aug 05, 2015
  2. Jun 29, 2015
  3. Jun 22, 2015
  4. Jun 16, 2015
  5. Jun 15, 2015
  6. May 20, 2015
  7. May 12, 2015
    • 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
  8. May 11, 2015
  9. May 09, 2015
  10. May 08, 2015
    • 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
  11. May 06, 2015
  12. Apr 15, 2015
    • 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
  13. Apr 02, 2015
    • Advay Mengle's avatar
      Generate appropriate schema doc comments from .proto files · 3ad85363
      Advay Mengle authored
      - Add parse handling of .proto struct and field doc comments (enums and
      their values were already handled)
      - Add FBS generation handling of doc comments for structs, their
      fields, enums, and their values (requires linking idl_gen_general in
      the test binary build)
      - Tested using test.proto|golden with doc comments added.  Xcode run of
      flattest passes.
      
      Change-Id: Idff64dd8064afba227174ab77d2c7be22d006628
      3ad85363
  14. Mar 12, 2015
  15. Feb 17, 2015
    • Alex Ames's avatar
      Added the hash attribute to ints and longs. · d575321e
      Alex Ames authored
      FlatBuffer schema files can now optionally specify a hash attribute that
      will allow someone writing json files to enter a string to be hashed
      rather than a specific value. The hashing algorithm to use is specified
      by the schema.
      
      Currently the only algorithms are fnv1 and fnv1a. There are 32 bit and
      64 variatns for each. Additionally, a hashing command line tool was
      added so that you can see what a string will hash to without needing to
      inspect the flatbuffer binary blob.
      
      Change-Id: I0cb359d0e2dc7d2dc1874b446dc19a17cc77109d
      d575321e
  16. Jan 28, 2015
  17. Jan 26, 2015
  18. Jan 21, 2015
  19. Jan 16, 2015
  20. Nov 19, 2014
  21. Nov 08, 2014
  22. Oct 16, 2014
  23. Sep 25, 2014
  24. Sep 24, 2014
  25. Sep 23, 2014
  26. Sep 22, 2014
  27. Sep 18, 2014
  28. Sep 15, 2014
  29. Sep 05, 2014
  30. Sep 04, 2014
  31. Sep 03, 2014
  32. Aug 22, 2014
Loading