aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-05Add Readme.android and Android.mk for java buildandroid-wear-8.1.0_r1android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-o-mr1-preview-2android-o-mr1-preview-1android-o-mr1-iot-preview-6android-cts-8.1_r9android-cts-8.1_r8android-cts-8.1_r7android-cts-8.1_r6android-cts-8.1_r5android-cts-8.1_r4android-cts-8.1_r3android-cts-8.1_r25android-cts-8.1_r24android-cts-8.1_r23android-cts-8.1_r22android-cts-8.1_r21android-cts-8.1_r20android-cts-8.1_r2android-cts-8.1_r19android-cts-8.1_r18android-cts-8.1_r17android-cts-8.1_r16android-cts-8.1_r15android-cts-8.1_r14android-cts-8.1_r13android-cts-8.1_r12android-cts-8.1_r11android-cts-8.1_r10android-cts-8.1_r1android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-cts-7.1_r18android-8.1.0_r9android-8.1.0_r81android-8.1.0_r80android-8.1.0_r8android-8.1.0_r79android-8.1.0_r78android-8.1.0_r77android-8.1.0_r76android-8.1.0_r75android-8.1.0_r74android-8.1.0_r73android-8.1.0_r72android-8.1.0_r71android-8.1.0_r70android-8.1.0_r7android-8.1.0_r69android-8.1.0_r68android-8.1.0_r67android-8.1.0_r66android-8.1.0_r65android-8.1.0_r64android-8.1.0_r63android-8.1.0_r62android-8.1.0_r61android-8.1.0_r60android-8.1.0_r6android-8.1.0_r53android-8.1.0_r52android-8.1.0_r51android-8.1.0_r50android-8.1.0_r5android-8.1.0_r48android-8.1.0_r47android-8.1.0_r46android-8.1.0_r45android-8.1.0_r43android-8.1.0_r42android-8.1.0_r41android-8.1.0_r40android-8.1.0_r4android-8.1.0_r39android-8.1.0_r38android-8.1.0_r37android-8.1.0_r36android-8.1.0_r35android-8.1.0_r33android-8.1.0_r32android-8.1.0_r31android-8.1.0_r30android-8.1.0_r3android-8.1.0_r29android-8.1.0_r28android-8.1.0_r27android-8.1.0_r26android-8.1.0_r25android-8.1.0_r23android-8.1.0_r22android-8.1.0_r21android-8.1.0_r20android-8.1.0_r2android-8.1.0_r19android-8.1.0_r18android-8.1.0_r17android-8.1.0_r16android-8.1.0_r15android-8.1.0_r14android-8.1.0_r13android-8.1.0_r12android-8.1.0_r11android-8.1.0_r10android-8.1.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r34android-8.0.0_r33android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releasesecurity-oc-mr1-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-mr1-wear-releaseoreo-mr1-vts-releaseoreo-mr1-security-releaseoreo-mr1-s1-releaseoreo-mr1-releaseoreo-mr1-devoreo-mr1-cuttlefish-testingoreo-mr1-cts-releaseoreo-m8-releaseoreo-m7-releaseoreo-m6-s4-releaseoreo-m6-s3-releaseoreo-m6-s2-releaseoreo-m5-releaseoreo-m4-s9-releaseoreo-m4-s8-releaseoreo-m4-s7-releaseoreo-m4-s6-releaseoreo-m4-s5-releaseoreo-m4-s4-releaseoreo-m4-s3-releaseoreo-m4-s2-releaseoreo-m4-s12-releaseoreo-m4-s11-releaseoreo-m4-s10-releaseoreo-m4-s1-releaseoreo-m3-releaseoreo-m2-s5-releaseoreo-m2-s4-releaseoreo-m2-s3-releaseoreo-m2-s2-releaseoreo-m2-s1-releaseoreo-m2-releaseoreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-devoreo-devoreo-cts-releaseo-mr1-iot-preview-6Siyamed Sinir
Test: mmm external/flatbuffers mmm external/noto-fonts/emoji-compat ./frameworks/support/gradlew -p frameworks/support support-emoji:connectedAndroidTest Bug: 36043651 Change-Id: I090518408abfe7da09f1646a69c3d77b5a08b1a8
2017-04-28DO NOT MERGE keep history after reset to ↵kuantung
cebdad4d2381ca4d6325121c4189ce0b754ecfeb
2017-04-26Initial empty repositoryandroid-o-iot-preview-5o-iot-preview-5kuantung
2017-02-15Updated version numbers to 1.6Wouter van Oortmerssen
Change-Id: I215fcc7581253f14171b513d4fc75da960b2064a
2017-02-15Round vector_downward initial size up (#4179)Sahil Jain
2017-02-13Added doc comments to the binary schema.Wouter van Oortmerssen
Change-Id: I87f291ab6e07b1425850cae25ed500db594f17c8 Tested: on Linux.
2017-02-13Fixed sorting assertion with some std::sort implementations.Wouter van Oortmerssen
Change-Id: Idd925c9cc5cd2a35e06f4d832734180f5c38378e Tested: on Linux.
2017-02-10JS: add package.json to publish the npm pacakge (#4166)Shintaro Abe
* JS: add package.json to publish the npm pacakge * JS: update package.json to set version and author
2017-02-10Added missing generated code.Wouter van Oortmerssen
Change-Id: If3d2e11627b6d08bc6433941208ead577aa0e3b9
2017-02-10Added --prefix-include option for generated includes.Wouter van Oortmerssen
Change-Id: I288cda33345362f9aec5cbe309e590bf64f328e1 Tested: on Linux.
2017-02-10Add move constructor to generated union class. (#4167)水樹素子
* Add move constructor to generated union class. * Unused default * Add generated code
2017-02-10Error C2668: 'Service::Version2::CreateServiceValues' : ambiguous call to ↵sjoblom65
overloaded function (#4161) * Update idl_gen_cpp.cpp Fix for: error C2668: 'Service::Version2::CreateServiceValues' : ambiguous call to overloaded function #4145 * Update idl_gen_cpp.cpp Also needed the same change in the getPostTable * Add files via upload New generation from running generate_test.bat * Add files via upload Lets try this without added line feeds * Added a test for a potential "ambiguous call to overloaded function" * Change to a better name of the table. Didn't like the Service in the name. * Reverted back to the original
2017-02-08Changes to make flatbuffers javascript compatible with the closure compiler.Wouter van Oortmerssen
Change-Id: Iab8d66a8f34910029deb8a5ff5ec7ba50c5b3421
2017-02-08Fixed missing 'Wouter van Oortmerssen
Change-Id: I25110bbb171a27626ec6416b810399069d590279
2017-02-08Fixed link to Google C++ Style Guide.Wouter van Oortmerssen
Change-Id: Ifb955f3daefedae2cb9930a365c4c7e0641776b4
2017-02-08Fixed vector test on WindowsWouter van Oortmerssen
2017-02-08Fixes for Windows compiler errors.Wouter van Oortmerssen
Change-Id: I909ea6866089f36f9cb79d435bbecd29623fd8f7
2017-02-08Fixed the Android build.Wouter van Oortmerssen
Change-Id: Iabb9448b4f161bba465d455c28bb826529649d30 Tested: on Android.
2017-02-08First attempt at SchemaLess FlatBuffers.Wouter van Oortmerssen
Change-Id: I86b9d002f3441ef9efdb70e059b8530ab2d74bb8 Tested: on Linux.
2017-02-08Added PULL_REQUEST_TEMPLATE.mdWouter van Oortmerssen
Change-Id: Iad9c09434f87219e384b294d6221f4cac7a839eb
2017-02-01JSON parser wasn't handling ulong values correctly.Wouter van Oortmerssen
It passed all scalar ints thru a int64_t, which would truncate uint64_t values with the upper bit set. Change-Id: I38fb8c68c911ae44d9863f8e35c2429ca0ab51e5 Tested: on Linux.
2017-02-01Add utility method to build a vector of struct in-place. (#4153)Benjamin Lerman
Change-Id: I6df195cbae621cf2bf6b4f3b56f68be80dc23152
2017-01-30Remove max_message_size arg, which is not passed to Deserialize func.Wouter van Oortmerssen
Change-Id: Icc7b4c1cf626f49d0529ff4f66503ea8381bf67c
2017-01-30A bug fix to the union vector feature in FlatBuffers.Wouter van Oortmerssen
Change-Id: I302245969f6ec2443572799732fce2aa7c071879
2017-01-27Merge branch 'master' of https://github.com/google/flatbuffersWouter van Oortmerssen
2017-01-27Added tracking of order of types declared.Wouter van Oortmerssen
Change-Id: Iade313c99f119dcf1619674260648a33f61dc030
2017-01-27Some small speed optimizations to the core copying functions.Wouter van Oortmerssen
Change-Id: Id8c1afb84f4ab0e2edca4290e3de5589fa06e578 Tested: on Linux.
2017-01-26Merge pull request #4146 from zchee/go-test-fix_structRobert
go: fix unknown field 'UOffset' to 'Pos'
2017-01-25Fix unused variable build warning on Mac.Wouter van Oortmerssen
Change-Id: I330187be6a96bfd388c2776f676d47a9145d5e4a
2017-01-25Moved union vector test to file dependent section.Wouter van Oortmerssen
Change-Id: I3a1fcf167eb0d0a51ef838e54246ef867e752218
2017-01-25Allow the flatbuffer compiler (flatc) to be built as a library.Wouter van Oortmerssen
Change-Id: I71baff427243f96be1596b01ff3405fdf39386d7
2017-01-25minor fixes to the union vector code styles (#4149)gbeili
2017-01-24Merge pull request #4148 from gbeili/vector_unionsjsanmiya
C++ Union Vector
2017-01-24Union VectorBei Li
2017-01-23Reword comment so that code editors can mark deprecation correctly (#4147)Florin Pățan
2017-01-22go: fix unknown field 'UOffset' to 'Pos'Koichi Shiraishi
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2017-01-18More native code gen functionality.Wouter van Oortmerssen
Allow tables to be mapped to native types directly. For example, a table representing a vector3 (eg. table Vec3 { x:float; y:float; z:float; }) can be mapped to a "mathfu::vec3" native type in NativeTables. This requires users to provide Pack and UnPack functions that convert between the Table and native types. This is done by adding the "native_type" attribute to the table definition. To support user-defined flatbuffers::Pack and flatbuffers::UnPack functions, support a "native_include" markup that will generate a corresponding Also add an UnPackTo function which allows users to pass in a pointer to a NativeTable object into which to UnPack the Table. The existing UnPack function is now simply: NativeTable* UnPack() { NativeTable* obj = new NativeTable(); Table::UnPackTo(obj); return obj; } Finally, allow native types to be given a default value as well which are set in the NativeTable constructor. This is done by providing a "native_default" attribute to the member of a table. Change-Id: Ic45cb48b0e6d7cfa5734b24819e54aa96d847cfd
2017-01-18Add no-op for padding variables to prevent clang compiler warning.Wouter van Oortmerssen
Change-Id: I119ee7109bfa2b0be0f468d2b2be459f45d1bb11
2017-01-18Fix compiler warning on Visual Studio.Wouter van Oortmerssen
Change-Id: Ifda5f2c32c6484508d5e12a463d6373798f1f523
2017-01-18Merge branch 'master' of https://github.com/google/flatbuffersWouter van Oortmerssen
2017-01-18Fixed unions not being parsed correctly in JSON.Wouter van Oortmerssen
This would happen if they were supplied in an order that does not match the schema relative to other fields. It now supports any ordering. Change-Id: I9d309cd4e6e5c470f01d9d431806eba4f9f46559 Tested: on Linux.
2017-01-18GenEnum: bit_flags: Remove useless conditions (#4141)Georges Savoundararadj
The conditions to add the "NONE" or "ANY" value in the enum were useless because the user cannot provide a zero value or a bitmask (for "ANY") in the bit_flags enum type.
2017-01-13Fix unused field warning in clang.Wouter van Oortmerssen
Change-Id: I71d590a1e5b2709f0e2dcf97faaebda5cb918fc7 Tested: on Linux.
2017-01-13Add CodeWriter utility class.Wouter van Oortmerssen
Helps simplify code generation code. Instead of this: code += "inline const " + cpp_qualified_name + " *Get"; code += name; code += "(const void *buf) {\n return flatbuffers::GetRoot<"; code += cpp_qualified_name + ">(buf);\n}\n\n"; You do this: code.SetValue("NAME", struct_def.name); code.SetValue("CPP_NAME", cpp_qualified_name); code += "inline const {{CPP_NAME}} *Get{{NAME}}(const void *buf) {"; code += " return flatbuffers::GetRoot<{{CPP_NAME}}>(buf);"; code += "}"; code += ""; Updated the CPP code generator to use the CodeWriter class. Most of the changes in the generated code are white-space changes, esp. around new lines (since the code generator class automatically appends new lines when appending a string). Actual code changes include: * Renamed "rehasher" to "_rehasher" for consistency with other args in Pack function. * Renamed "union_obj" to "obj: in UnPack function. * Always do "(void)_o;" to prevent unused variable warning in Create function (instead of only doing it if there are no fields) in order to avoid two-passes. * Renamed padding variables from __paddingX to paddingX__. "Each name that contains a double underscore (_ _) [...] is reserved to the implementation for any use." C++ standards 17.4.3.1.2. * Add braces around switch cases. * Calculate index as a separate statement in EnumName function, eg. const size_t index = ...; return EnumNamesX()[index]; vs. return EnumNamesX()[...]; * Stored end table offset in variable in Finish() functions, eg. const auto end = fbb_.EndTable(start_, ...); auto o = flatbuffers::Offset<T>(end); vs. auto o = flatbuffers::Offset<T>(fbb_.EndTable(start, ...)); * Separate reinterpret_cast calls from function calls in Union functions, eg. auto ptr = reinterpret_cast<const T *>(obj); return ptr->UnPack(resolver); vs. return reinterpret_cast<const T *>(obj)->UnPack(resolver); * Removed unecessary (void)(padding__X) no-ops from constructors, eg. Test(int16_t a, int8_t b) : ... { (void)__padding0; // <-- Removed this line. } In the idl_gen_cpp.cpp file itself, I refactored some code generation into new functions: GenParam, GenNativeTable, GenVerifyCall, GenBuilders, GenUnpackFieldStatement, and GenCreateParam. Change-Id: I727b1bd8719d05b7ce33cbce00eb58fda817b25d
2017-01-11Add a builder option to enable/disable vtables deduplication. (#4132)gbeili
* Add a builder option to enable/disable vtables deduplication. * address code review comments
2017-01-09Resolve Go fmt and vet warnings (#4134)Pascal S. de Kloe
* Resolve Go fmt and vet warnings. * Undo generated code gofmt.
2017-01-09Merge branch 'master' of https://github.com/google/flatbuffersWouter van Oortmerssen
2017-01-09Fixed GRPC method name generation.Wouter van Oortmerssen
Change-Id: I827b7e9aee1edb77752322455f7b6fafac16fb1d Tested: on Linux.
2017-01-09Cold part of make_space() code moved to reallocate member function. (#4130)Mateusz Pusz
Change makes make_space() code much friendlier for the compiler to inline which makes significant (measurable) performance improvements.
2017-01-04Re-applied reverted fix, adding missing codegen files.Wouter van Oortmerssen
Change-Id: I301d29835fb0baffd859950eb0fb3056e4f4d66b