- Aug 05, 2015
-
-
Stewart Miles authored
Also, removed the flag from the Android makefile. Tested: Verified flatc builds successfully on Linux and regenerated the docs. Change-Id: I7140daa10b7cb9a29b5ffd63c6b20489e72a5899
-
- Jun 26, 2015
-
-
Rafael Munitić authored
-
- Jun 16, 2015
-
-
Amol Deshpande authored
-
- Jun 15, 2015
-
-
Wouter van Oortmerssen authored
Tested: on Linux. Change-Id: I8f7bccf9b1ad87fea788f85e23fa69435758feca
-
Wouter van Oortmerssen authored
--gen-includes is now deprecate but still accepted. --no-includes can be used instead when needed. Change-Id: I2cd46d193032b9b7c31c76c6f655e9333d3a393a Tested: on Linux.
-
- Jun 13, 2015
-
-
Amol Deshpande authored
-
- Jun 07, 2015
-
-
Amol Deshpande authored
-
- May 27, 2015
-
-
Wouter van Oortmerssen authored
Normal behavior is to not output fields that happen to have the default value, since those will be reproduced anyway when turned into a FlatBuffer binary. This however can be problematic when using JSON to interop with other system since they might not know this default value. This flatc option (and also flag to GenerateText) will force those fields to be output anyway. Tested: on Linux.
-
- May 12, 2015
-
-
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)
-
- May 07, 2015
-
-
Jason Sanmiya authored
Tested: Help text displays correctly now. Change-Id: Ibbdc810ae41e24321860879064bdc64f78a67cb9
-
- May 04, 2015
-
-
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.
-
- Apr 29, 2015
-
-
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
-
- Mar 12, 2015
-
-
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
-
- Jan 28, 2015
-
-
Gabriel Martinez authored
Tested: on Linux Bug: 16465909 Change-Id: I2f1a6def13e47716110426b00990c2c625c03251
-
- Jan 21, 2015
-
-
Wouter van Oortmerssen authored
Unless in --strict-json mode. Also added strict_json option to the parser, which in addition controls if field names without quotes are allowed. Change-Id: Id56fe5c780bdb9170958050ffa8fa23cf2babe95 Tested: on Linux.
-
- Oct 16, 2014
-
-
Wouter van Oortmerssen authored
Bug: 15777858 Change-Id: Iabef9b8c8044e593bb89510feebdee00d2f1840b Tested: on Linux and Windows.
-
- Sep 24, 2014
-
-
Wouter van Oortmerssen authored
Looks like MSVC on Windows and like gcc everywhere else. For enhanced IDE clickability. Bug: 17208371 Change-Id: Ie3e02658fccd3edfd464b4bacf4bc68c613a8570 Tested: on Linux and Windows.
-
- Sep 23, 2014
-
-
Wouter van Oortmerssen authored
Bug: 17322776 Change-Id: I3a4d3cb4ccd40bc3200a87653aa0ab8ecb90ce60 Tested: on Linux.
-
- Sep 18, 2014
-
-
Wouter van Oortmerssen authored
Also made the C# implementation support unsigned types, and made it more like the Java version. Bug: 17359988 Change-Id: If5305c08cd5c97f35426639516ce05e53bbec36c Tested: on Linux and Windows.
-
- Sep 15, 2014
-
-
Wouter van Oortmerssen authored
Bug: 17139854 Change-Id: I0eac65d054951e00a8811ad1d80ba8c37012dbf0 Tested: on Linux.
-
evolutional authored
Include C# codegen in flatc and .NET FlatBuffer access via the FlatBufferBuilder class Tested: on Windows. Change-Id: If5228a8df60a10e0751b245c6c64530264ea2d8a
-
- Aug 22, 2014
-
-
Wouter van Oortmerssen authored
See -P option to flatc. Bug: 16814856 Change-Id: I855973df6afa27e0efa27cf9c4b4aee8a1fcdd22 Tested: on OS X.
-
Wouter van Oortmerssen authored
Bug: 16683956 Change-Id: Id8435e868899ca0bbf0add84852a54bfaea63b4a Tested: on OS X.
-
Wouter van Oortmerssen authored
Also cleaned up the general mkdir functionality. Tested: on OS X. Tested that a command line like: ./flatc -j -o foo/bar/baz tests/monster_test.fbs generates files in foo/bar/baz/MyGame/Example/*.java which previously didn't exist. Windows code was previously tested but has been moved, so needs to be tested again. Change-Id: Iee943121b3be4f92961a3ec94c2cb578165f114a
-
- Aug 19, 2014
-
-
Wouter van Oortmerssen authored
Bug: 15521443 Change-Id: I2e1ef97e7225a1a0ecf2ca65e31d49d443003747 Tested: on Linux.
-
- Aug 12, 2014
-
-
Wouter van Oortmerssen authored
Allows you to add, and test for the presence of a magic 4-char string in a FlatBuffer. Tested: on OS X. Change-Id: I090692a9e4fb53bed3543279a28563e67132cba0
-
- Jul 22, 2014
-
-
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
-
- Jul 21, 2014
-
-
Wouter van Oortmerssen authored
- Ensured weak linkage with the version string is not used on Windows, especially cygwin (which throws a linker error). - Avoided a VS debug error for taking the address of the first element of an empty vector. - Made copy/assignment constructors for downward_vector and FlatBufferBuilder private, to avoid people unintentionally making expensive copies. - Using the more correct _WIN32 instead of WIN32 Change-Id: I801b5c8b159e3721af6d1ef0978a3247ba168bab Tested: on Windows (VS + Cygwin) and Linux.
-
rw authored
Implement code generation and runtime library for Go, derived from the Java implementation. Additionally, the test suite verifies: - the exact bytes in the Builder buffer during object construction, - vtable deduplication, and - table construction, via a fuzzer derived from the C++ implementation. Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
-
- Jul 11, 2014
-
-
Wouter van Oortmerssen authored
Also removed it appending _wire to filenames, renamed the json golden file to .golden to not clash with generated files. Bug: 15781201 Change-Id: I8322861e50d1e5b6a5ab5e4b5e5d8ae13c356eb2 Tested: on Windows and Linux
-
- Jul 09, 2014
-
-
Wouter van Oortmerssen authored
This will add quotes around field names, as required by the official standard. By default it will leave quotes out, as it is more readable, more compact, and is accepted by almost all JSON parsers. The -S switch to flatc turns on strict mode. As per rfc 7159. Change-Id: Ibabe9c8162c47339d00ec581d18721a2ba40c6d0 Tested: on Windows.
-
- Jul 08, 2014
-
-
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
-
- Jul 02, 2014
-
-
Wouter van Oortmerssen authored
This caused two bugs when used with a path: not being able to save the generated files, and preprocessor defines with / characters in them. Bug: 15676771 Tested: on Windows Change-Id: I62a3c45d22e2545fdaad83728d83a42a6efa37f9
-
- Jun 10, 2014
-
-
Wouter van Oortmerssen authored
Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920 Tested: using VS2010 / Xcode / gcc on Linux.
-