- 21 Jul, 2014 5 commits
-
-
Wouter van Oortmerssen authored
Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c Tested: on Windows and Linux Bug: 16186562
-
Wouter van Oortmerssen authored
Also fixes a potential big-endian bug, and makes iterators work correctly with pointer types. Change-Id: Ib7f88fe9e6053d1a9afa7895fba0695627c158b1 Tested: on Windows and Linux
-
Wouter van Oortmerssen authored
Generates convenient accessors for the nested root. Change-Id: Ic0b1531de7ace475ff2a7b1f430d27f41c838430 Tested: on Windows.
-
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
-
- 15 Jul, 2014 1 commit
-
-
Wouter van Oortmerssen authored
When Parsing JSON, it will read enums either as int values, identifiers specific to the enum type, or strings containing those identifiers. When generating text, it will output enum identifiers by default (this can be turned off in favor of integers, like before). Change-Id: If28b0a1f8f27de79aff3e626f40c0c0b271c325a Tested: on Windows and Linux Bug: 16214968
-
- 14 Jul, 2014 2 commits
-
-
Bas Zalmstra authored
Change-Id: I6310edd554fba494a76e47b03d3c2bc07b90795d
-
Matthew Endsley authored
This includes generic big endian support for msvc by mapping the Microsoft byte swap instrinsics _bytes_swap_* to the gcc counterpart names.
-
- 11 Jul, 2014 3 commits
-
-
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
-
Wouter van Oortmerssen authored
Bug: 15856217 Change-Id: I9163d13ca26c2d53064f5289c993692be711685f Tested: on Windows
-
Wouter van Oortmerssen authored
bug: 15777627 Change-Id: I9389de46ea883ab0ef1beab9370e5c8e96b4d0b5 Tested: on Windows and Linux
-
- 10 Jul, 2014 4 commits
-
-
Wouter van Oortmerssen authored
The previous version only was included for users of FlatBufferBuilder, this one should also work for programs that only ever read FlatBuffers. Bug: 15762139 Change-Id: Ifceb337ffc1dd9dd09d77c3848cad8707e5c3726 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I7abb14a4b6c596674d6aff2b9de6e63603c0d2dc Tested: on Windows and Linux.
-
Wouter van Oortmerssen authored
Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984 Tested: on OS X.
-
Wouter van Oortmerssen authored
It was outputting the type instead of the field name, and didn't deal with NULL fields. Added test case. Also fixed token enums having the wrong value, resulting in unreadable error messages. Change-Id: Icd9b4d22f417bfad5824c0f58e067ce3f2e2dc6f Tested: on Windows and Linux.
-
- 09 Jul, 2014 2 commits
-
-
Wouter van Oortmerssen authored
In the generated code, the type of the vector was used for the element size, instead of the vector element type. Change-Id: Ie16d5221a61474365292c948fd3af99e2a7716c7 Tested: on Windows.
-
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.
-
- 08 Jul, 2014 1 commit
-
-
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
-
- 02 Jul, 2014 6 commits
-
-
Wouter van Oortmerssen authored
This is a breaking change, anyone having schema files with enums that do not specify a type will get a specialized error: must specify the underlying integer type for this enum (e.g. ': short', which was the default). All of the samples and docs already had a type specified, so hopefully this will affect very few people. Bug: 15777205 Change-Id: I9b8d7c0827867f7efb6c217346db7e402695eff0 Tested: on Windows
-
Wouter van Oortmerssen authored
Change-Id: I4fd2a309276590227921ede467503f56b65ac689 Tested: on Windows and Linux
-
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
-
Wouter van Oortmerssen authored
Tested: on Windows. Change-Id: I0d4cdafc21690eb9a509ba31f21e80dacfb602ff
-
Wouter van Oortmerssen authored
Change-Id: I654217cbd01a3a449503d95753e19b672ec7ec23 Tested: on Windows, Linux
-
Wouter van Oortmerssen authored
Bug: 15732628 Change-Id: I0b7cb65982d6b8957d5a899cca7d2b5d2ef53206 Tested: On Windows, OS X and Linux
-
- 24 Jun, 2014 1 commit
-
-
Wouter van Oortmerssen authored
Bug: 15700355 Change-Id: Iceccb5b344e394e399092ffaa81f9cad2f0418ab Tested: on Windows
-
- 23 Jun, 2014 8 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Change-Id: Iedac80ee00b27a97c21c7b4ac7c9792e5bafbcc8 Tested: On Windows
-
Wouter van Oortmerssen authored
Change-Id: If8cc05669d82df892e1d4e11f7fbbd68b2dc05bf
-
rw authored
-
Wouter van Oortmerssen authored
Change-Id: I9a35afac41f27dfdbc5e793c41ec768732cdc2a1 Tested: on Windows.
-
Wouter van Oortmerssen authored
Change-Id: Ibb0da5b57a2f63804c071863d8c60b845e0aece7 Tested: on Windows
-
- 20 Jun, 2014 2 commits
- 19 Jun, 2014 4 commits
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Change-Id: Ic2e0565ebc5243fc0be780bfbcb221d5170569fd Tested: on VS2010
-
Wouter van Oortmerssen authored
Change-Id: I7a0713e3357fc421fcaa6771c9440f2b2f5f58f6 Tested: with VS2010
-
Barak Amar authored
-
- 18 Jun, 2014 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I3759a07385f0d8d172ca2f88ac1759b71bee5a6a
-