- 14 May, 2015 1 commit
-
-
Wouter van Oortmerssen authored
-
- 13 May, 2015 3 commits
- 12 May, 2015 2 commits
-
-
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)
-
Robert authored
Go speed improvements
-
- 11 May, 2015 4 commits
-
-
gwvo authored
Issue #188
-
gwvo authored
Added a default constructor for Java's FlatBufferBuilder.
-
Wouter van Oortmerssen authored
Change-Id: Ib561430b235eddf4bfe20f68409e1dfdb359ef2b Tested: on Linux.
-
Jean-Baptiste "Jiboo" Lepesme authored
Default's size of 1024b like in cpp. Fixes #190.
-
- 09 May, 2015 5 commits
- 08 May, 2015 5 commits
-
-
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
-
pjulien authored
Change-Id: I17a7896e257c0ab7e4cd1b22c928d4cee21fbf11
-
pjulien authored
Allows adding an already encoded UTF-8 string directly without having to convert to a ``String`` first. Change-Id: I23f9c738eec18fd35f4c14f58dbd0f6cf0970dc7
-
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.
-
Brett Cooley authored
Merge "Initial support for propagating namespaces from schema files to generated code" into ub-games-master
-
- 07 May, 2015 1 commit
-
-
Jason Sanmiya authored
Tested: Help text displays correctly now. Change-Id: Ibbdc810ae41e24321860879064bdc64f78a67cb9
-
- 06 May, 2015 3 commits
-
-
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
-
yinlei authored
Change-Id: I475ef9454f51f1b7ec2a7f9086d711359456677a
-
Brett Cooley authored
Change-Id: Ifc10c54845ea7553586d1896d509314d68e9ab0f
-
- 04 May, 2015 5 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
* changes: Added accessor for file_extension in generated code. Added missing --gen-mutable to CMakeLists.txt
-
Wouter van Oortmerssen authored
By default, disallow reading binaries that do not correspond to the schema file_identifier. Override with --raw-binary Change-Id: I24822c0e4c80dab4e5a238ae2b6e601a09025c27 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I2de7d14dbb1f7b8f81022dd2c9da65060ae49300 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I56392340de4439d05fa8f06a7336ff72c6f9346d Tested: on Linux
-
- 29 Apr, 2015 2 commits
-
-
Jason Sanmiya authored
-
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
-
- 28 Apr, 2015 1 commit
-
-
Jason Sanmiya authored
Change-Id: Ib9d31d08daba7ce54b864417ae93bf479702861b
-
- 15 Apr, 2015 2 commits
-
-
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
-
franchuti688 authored
added bii-travis.sh and readme.md files; added build status section with travis and biicode build systems Change-Id: I93acd1ca9497416ade6293d63b5311c4c31b880f
-
- 13 Apr, 2015 1 commit
-
-
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
-
- 10 Apr, 2015 1 commit
-
-
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
-
- 06 Apr, 2015 4 commits
-
-
Joël Lamotte authored
Change-Id: Ie44419026eca94bce0a2857abef95a82e78cfc3e
-
Ben Harper authored
Change-Id: I15cc8924d6607bd93068c762fd67e6088cfd9789
-
Kyle Jones authored
Change-Id: If08b2d839489d40e977de794b13584fa66ff32c1
-
INADA Naoki authored
Change-Id: I1c5fbd019cc233e1d551887ff5fb740420c18c2b
-