summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2014-08-12File identifier feature.Wouter van Oortmerssen4-3/+48
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
2014-07-31A few document clarifications for Java & Internals.Wouter van Oortmerssen5-14/+27
Change-Id: I770b53cf7d82c860422c1fe6193fb597d9c9495c
2014-07-25Extended symbolic enum parsing in JSON for integers and OR-ing.Wouter van Oortmerssen5-3/+38
Change-Id: Iedbd9914a1ca3897776fb92aa9a1fdfc4603da3c Tested: on Windows and Linux
2014-07-21Updated benchmark chart with stats for pugixml.Wouter van Oortmerssen2-26/+24
Change-Id: I23d7db5b62ca52fee49e1bedcf7d7d8d74957cf8 Tested: on Windows.
2014-07-21Added a `bit_flags` attribute to enum declarations that 1<<N every value.Wouter van Oortmerssen2-0/+5
Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c Tested: on Windows and Linux Bug: 16186562
2014-07-21Port FlatBuffers to Go.rw8-20/+230
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
2014-07-11flatc can now convert flatbuffer binary files into json.Wouter van Oortmerssen2-12/+22
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
2014-07-09Added a "strict JSON" mode to the text generator and compilerWouter van Oortmerssen3-5/+14
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.
2014-07-08Added functionality to assign field ids manually in a schemaWouter van Oortmerssen3-8/+35
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
2014-07-02Made declaring the underlying type of an enum mandatory.Wouter van Oortmerssen1-2/+1
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
2014-07-01Add buffer verification functionality to FlatBuffersWouter van Oortmerssen1-2/+35
Bug: 15732628 Change-Id: I0b7cb65982d6b8957d5a899cca7d2b5d2ef53206 Tested: On Windows, OS X and Linux
2014-06-23Doc clarifications (Java vectors, test working dir, benchmark fix).Wouter van Oortmerssen6-8/+24
Change-Id: If8cc05669d82df892e1d4e11f7fbbd68b2dc05bf
2014-06-17Documentation changes to clarify FlatBuffer internals.Wouter van Oortmerssen4-19/+21
Change-Id: I3759a07385f0d8d172ca2f88ac1759b71bee5a6a
2014-06-17Fixed the web pages not scrolling by regenerating with doxygen.Wouter van Oortmerssen15-164/+230
Change-Id: Id1269f85ec2f522c8d4b0d05f84d050b42d70d60 Tested: on Android
2014-06-11Added project files for Visual Studio and Xcode.Wouter van Oortmerssen2-5/+9
Change-Id: Ife9775fdedc9e084c1e826ef13dff06a1b1b2ec2 Tested: on Windows and OS X.
2014-06-10Initial commit of the FlatBuffers code.Wouter van Oortmerssen62-0/+7103
Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920 Tested: using VS2010 / Xcode / gcc on Linux.