1. 04 May, 2015 1 commit
  2. 29 Apr, 2015 1 commit
    • Wouter van Oortmerssen's avatar
      Mutable FlatBuffers: in-place updates. · 3ec5dddb
      Wouter van Oortmerssen authored
      This commit contains the first step in providing mutable FlatBuffers,
      non-const accessors and mutation functions for existing fields generated
      from --gen-mutable.
      
      Change-Id: Iebee3975f05c1001f8e22824725edeaa6d85fbee
      Tested: on Linux.
      Bug: 15777024
      3ec5dddb
  3. 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
  4. 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
  5. 10 Apr, 2015 1 commit
    • Advay Mengle's avatar
      Seal all classes in Java/C# · 557c57eb
      Advay Mengle authored
      Makes enums/structs/tables unsubclassable (final or sealed) and
      prevents instantiation of enum classes (which are solely static
      constants).
      
      Tested (Mac OS 10.10.2):
      1. run flattests
      2. cd tests && ../flatc -c monster_test.fbs && ../flatc -j
      monster_test.fbs && ../flatc -g monster_test.fbs && ../flatc -n
      monster_test.fbs  # Note deltas for C# and Java.
      3. ./JavaTest.sh
      
      **Breaking api change**
      
      Change-Id: Ie008c941c36d212690da58ddc72c9b228eb7a093
      557c57eb
  6. 06 Apr, 2015 4 commits
  7. 02 Apr, 2015 2 commits
    • 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
    • Advay Mengle's avatar
      Generate Java doc comments in JavaDoc style · b8708bee
      Advay Mengle authored
      Tested by regenerating all tests/ generated sources; note that only
      Monster.java changes.  Ran flattests as well.
      
      Change-Id: I65b6ea7d208b0ccd6a0b34761162fed6ba391fc5
      b8708bee
  8. 30 Mar, 2015 1 commit
  9. 27 Mar, 2015 1 commit
    • Jason Sanmiya's avatar
      Fix Mac ndk-build error on motive, pie_noon, pindrop. · e8598950
      Jason Sanmiya authored
      We were looking for 'flatc' in motive/bin/Debug/flatc,
      on Mac. It's actually built to flatbuffers/Debug/flatc.
      
      Tested: OS X Yosemite, ndk-r10d. Also tested on Linux.
      Change-Id: I9f1ecfe00c5f42fd9b6808b5a5da1c920487a4c2
      e8598950
  10. 24 Mar, 2015 1 commit
  11. 13 Mar, 2015 3 commits
  12. 12 Mar, 2015 5 commits
    • Ben Harper's avatar
      Add CreateByteVector function to Go's builder · 6a012634
      Ben Harper authored
      This function gets around the inefficiency of populating a [ubyte] vector
      byte by byte. Since ubyte vectors are probably the most commonly used type
      of generic byte buffer, this seems like a worthwhile thing to create a
      fast path for.
      
      Benchmarks show a 6x improvement in throughput on x64.
      
      There is a new test verifying the functionality of the function.
      
      Change-Id: I82e0228ae0f815dd7ea89bf168b8c1925f3ce0d7
      6a012634
    • Max Galkin's avatar
      Make FuzzTest2 fuzzier. · 44644052
      Max Galkin authored
      1. Random table fields are now marked deprecated. The deprecation rate is adjustable, default is ~10% of fields.
      2. Vector type previously produced a dummy field, now a trivial ubyte vector is generated instead.
      3. The fuzzed "instances" were previously generated with identical data, now they are randomized: I suppose such was the intent from the beginning, just wasn't implemented.
      
      I ran the new test with a few different settings and random seeds (but only on Windows + VS2015), and it always passed.
      
      Change-Id: I2014686b6680aec24049ccda3f6deffe5205a83e
      44644052
    • Max Galkin's avatar
      Fix for VS 2015 stricter warnings about "shadowed" names. · c3807fa3
      Max Galkin authored
      This change renames a few variables to fix the build in VS 2015.
      
      VS 2015 new warnings:
      http://blogs.msdn.com/b/vcblog/archive/2014/11/12/improvements-to-warnings-in-the-c-compiler.aspx
      
      Change-Id: Ic9c3f75ee717f0125960c813df442ed4fbcceb4a
      c3807fa3
    • gregoire-astruc's avatar
      Implementation of a buffer release strategy. · a360958b
      gregoire-astruc authored
      * Tests for Release feature.
      * Check vector_downward.buf_ before passing to deallocator.
      * Assertions.
      * Shared test between unique_ptr and GetBufferPointer()
      * Unnecessary using directives.
      * Reallocate vector if released on clear operation.
      * Use allocator attribute.
      * Renamed `Release()` to `ReleaseBufferPointer()`
      * For consistency with `GetBufferPointer()`
      * Updated documentation for ReleaseBuffer.
      
      Change-Id: I108527778e56ae5127abf9e5b1be6b445ad75cb7
      a360958b
    • loverszhaokai's avatar
      Added Copyright headers · 432f3f26
      loverszhaokai authored
      Change-Id: I106de8985cea572590d49c896b72c54f33e73bd2
      432f3f26
  13. 09 Mar, 2015 1 commit
  14. 23 Feb, 2015 1 commit
  15. 17 Feb, 2015 2 commits
    • Alex Ames's avatar
    • 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. 13 Feb, 2015 1 commit
  17. 11 Feb, 2015 1 commit
  18. 10 Feb, 2015 1 commit
  19. 09 Feb, 2015 5 commits
  20. 04 Feb, 2015 5 commits