85b131a719b3ca554a6cf4840f8ec27feb60ec07 |
|
05-Dec-2017 |
Bastien Brunnenstein <Meoo@users.noreply.github.com> |
Replace the non standard M_PI with a constant (#4528)
/external/flatbuffers/src/idl_parser.cpp
|
53a897731e23320e67602d3d4c56e09caffb98ca |
|
01-Dec-2017 |
rmawatson <rmawatson@hotmail.com> |
this is allow custom allocator for obj-api structs/tables. (#4520) added "native_custom_alloc" attribute to tables/structs, eg. table parent_table( native_custom_alloc:"custom_alloc_name" ) { ... } with a custom allocator defined as template <typename T> class custom_alloc_name : public std::allocator<T> { public: typedef T* pointer; template <class U> struct rebind { typedef custom_alloc_name<U> other; }; pointer allocate(const std::size_t n) { return ....; } void deallocate(T* ptr, std::size_t n) { ... } custom_alloc_name() throw() {} template <class U> custom_alloc_name(const custom_alloc_name<U>&) throw() {} }; };
/external/flatbuffers/src/idl_parser.cpp
|
9c3920d0ab90e9442759c6b41c28af577759a692 |
|
03-Oct-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Improved .proto conversion. - Allowed enums to be declared before use. - Generalized parsing of `required`. - Reworked escaping of namespaces. - Escaping field names that are C++ keywords. - Many smaller fixes. Change-Id: Ie580de7b70dc208f676f4f71bb0d061808648b8d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
03e2899985849dbffa3178ae76c00288f7aca79b |
|
22-Sep-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Made the parser not have any hard-coded keywords. This prevented any keywords showing up as JSON field names, for example. Change-Id: Ie9d0cada96778e06016ca02ca96d052410a37038 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
321a1c9dc0bb2205feb1bb9fd079546403aa852f |
|
24-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Cleaned up namespace handling. A Namespace object is now guaranteed unique. This cleaned up some old workarounds and latent bugs. Change-Id: Ic3f12d89947871b03b2c449ba51b3186f953adde Tested: on Linux. Bug: 21336857
/external/flatbuffers/src/idl_parser.cpp
|
ac1015e3c417ecb18d8f449a4e6aaaff3c4f53b9 |
|
21-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Trimmed vtables of trailing zeroes. This is something the format supports, but none of the builders were doing. Can save 10-20% on FlatBuffer binary size! Also fixed the Go tests. Change-Id: I616c56ce9bbcfcaee23aa24f0532fcb60b6a8c75 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
69776b9e7eddd7aa9388f67d06f668e257f02704 |
|
14-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed .proto -> .fbs translating type bytes incorrectly. Change-Id: Idb607360123d12c73dd1e045305007120b12131b Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
432e7582c65aeb65b582724f601fc3202ecf9017 |
|
14-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed file_identifier/extension leaking from included file. Change-Id: I470143411e4ce6322e018a27bcc9cd40c15d9bf1 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
dca33ddb75a035344cb6ea3e38b9123dcce9b5fd |
|
14-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed root_type leaking in from included files. Change-Id: I9378e375901f8a883eaeb2182955d690c358ed4b Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
46bb05d95226c72cc85242eee386465860786333 |
|
11-Aug-2017 |
Kamil Rojewski <krojew@users.noreply.github.com> |
Vector of unions for TS/JS and PHP (#4404) * Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible * Not returning null when creating vectors * Not returning null from struct contructors * Vector of unions for ts/js * Sanity check for languages * Indentation fix + output test files * Vectors of unions for php * Fixes to union vector handling + tests
/external/flatbuffers/src/idl_parser.cpp
|
7cc72e4b11df064391a909ee7fa0ee5dd7630f9b |
|
11-Aug-2017 |
Kamil Rojewski <krojew@users.noreply.github.com> |
Copying required field to union type vector (#4407) * Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible * Not returning null when creating vectors * Not returning null from struct contructors * Copying required field to union type vector * Removed unneccessary bool
/external/flatbuffers/src/idl_parser.cpp
|
8a58aafda12bd1b9f7f228dc5f0583cf4f4afe87 |
|
10-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Make it an error if a field has the same name as a table. Change-Id: Ie5a3bb5a3643cd48e1cc75fe170a7b8a7c2cc8ed Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
a2b1bfc1075e8e5ae7b347a04cbb796524f2c5c9 |
|
04-Aug-2017 |
rouzier <rouzier@gmail.com> |
[c++] Add support for boolean types in flexbuffers (#4386) * Add support for boolean types in flexbuffers * Simplify casting number <=> boolean * Added comments for tests * Add proper support for Booleans * Bad rebase * No special case for strings * Removed unused test * Simplify logic
/external/flatbuffers/src/idl_parser.cpp
|
f2b3705c2c62c40afdef96f73f0aeaf32b4c8e0e |
|
02-Aug-2017 |
MikkelFJ <mikkelfj@gmail.com> |
Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) * Add type aliases * Add generated code * Rebase master
/external/flatbuffers/src/idl_parser.cpp
|
89a68942acdeeb51ceb102d19153dcc23ba8c0dd |
|
28-Jul-2017 |
Christian Helmich <kagekirin@gmail.com> |
Added support for nested flatbuffers serializing to json (#4391) * added bool for nested_flatbuffer setting bool flag nested_flatbuffer according to attributes setting nested type * added JSON serialization for nested flatbuffers * simplified lookup of nested_flatbuffer StructDef * added nested_flatbuffer parsing workound relying on flexbuffers * moved nested flatbuffer parsing into its own function for clarity removed flexbuffers workound to simplify and speed up nested_flatbuffer parsing added support for 'legacy' nested_flatbuffers, ubyte arrays * inlined functions for nested parser init/clean since only used once * whitespace formatting * changed type of FieldDef.nested_flatbuffer from bool to StructDef* removed subsequent type lookups * removed copies of unrequired data when initializing nested parser * applied changes requested by reviewer * removed superfluous lookup of nested_flatbuffer field attributes * renamed camelCased variables to snake_case
/external/flatbuffers/src/idl_parser.cpp
|
a8923222033763f1a74f836c656af19d9f620378 |
|
13-Jul-2017 |
Stewart Miles <smiles@google.com> |
C++98 (stlport) support for core FlatBuffers and FlexBuffers. * Added internal - limited - implementation of flatbuffers::unique_ptr for STLs that don't ship with std::unique_ptr. In C++11 and beyond this is just an alias for std::unique_ptr. * Aliased used type traits structs is_scalar is_floating_point is_unsigned into flatbuffers namespace so they can be replaced in C++98 implementations. Right now these point at stlport's TR1 implementations. * Wrapped vector::data() in vector_data(). * Wrapped vector::emplace_back() in vector_emplace_back(). * Wrapper string::back() in string_back(). * Added variants of FlatBufferBuilder::CreateVector() and FlatBufferBuilder::CreateVectorOfStructs() that allow the use of plain function pointers. Generated code has also been modified to use plain functions to build objects rather than std::function() so all generated code will work in C++98 applications. * Added flexbuffers::Builder::Vector(), flexbuffers::Builder::TypedVector() and flexbuffers::Builder::Map() methods that allow the use of plain function pointers. * Changed Parser to internally use plain function pointers when parsing table and vector delimiters. * Added specializations of NumToString() for 64-bit types that aren't supported by stringstream in stlport. * Overloaded numeric_limits for 64-bit types not supported by stlport. * Replaced build_apk.sh (which was broken by deprecation of the "android" tool in the Android SDK) with build.gradle and the appropriate gradle wrapper to build an APK. * Switched Android build to build against all STL variants. * Updated travis configuration to build Android test and sample. Tested: * Verified all tests continue to work on Linux, OSX and Android. * Verified Travis build is green. Change-Id: I9e634363793f85b9f141d21454b10686020a2065
/external/flatbuffers/src/idl_parser.cpp
|
2e2063cbeb6ea95c804796c443153f71797c3629 |
|
19-Jul-2017 |
schoetbi <schoetbi@users.noreply.github.com> |
idl_parser.cpp ignores $schema in input json (#4382) * idl_parser.cpp ignores $schema in input json #4381 * idl_parser.cpp: Fixed ci error signed unsigned comparison * idl_parser.cpp: replaced case insensitive search for $schema with case sensitive search * idl_parser.cpp: Expecting a string constant after $schema #4382
/external/flatbuffers/src/idl_parser.cpp
|
0e85eeef2c6ed3eb9ec201aaea6caa62612a8522 |
|
26-Jun-2017 |
Robbie McElrath <robbiemcelrath@gmail.com> |
Make inter-file cycles compile (#4364)
/external/flatbuffers/src/idl_parser.cpp
|
f325cce6fdfc0c85e081fe90c7267fb0e8c79878 |
|
16-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Initial support for parsing (and generating) Protobuf ASCII. Change-Id: I955b4b3eed27f26773d7dc0acceff13c88d1333d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
35cbd23f63003f86b72889d47a7f5afb1fc6de51 |
|
16-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed missing lambda return type. Change-Id: I48d41a240c8bf362b1f931f20a3ed9ae64f2d295
/external/flatbuffers/src/idl_parser.cpp
|
8f864aad7b875d645236be59ab1037051b12ba10 |
|
06-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added (nested) FlexBuffer JSON parsing and output. FlexBuffer parser is just 40 lines of code (on top of existing parser!). Change-Id: Idebebadafb661ca5333f5621139031f6df3c3e1a Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
dddd0865cb161a081afbdfa11919622a49f4141a |
|
03-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added nested FlexBuffer parsing Change-Id: I918b66eb5646d035e3aae675f745802eb54b03ea
/external/flatbuffers/src/idl_parser.cpp
|
b1740688bfbebc0d7fa2d8106d5c0eaa8c6e27d8 |
|
08-Jun-2017 |
Guillaume Giraud <Guillaume227@users.noreply.github.com> |
[cpp] Json parsing: adding support for parsing nested lists and top level lists (#4338) * Extended json parsing capability: add support for parsing nested lists and top level lists * Stylistic conformance with surrounding code + generalized comments * More code tidy-up for stylistic conformance with surrounding code * Blank lines * Reverted changes related to top-level list parsing * Styling: newline before else * Taking out ProcessTableFields which is no longer needed as the top level list change was reverted.
/external/flatbuffers/src/idl_parser.cpp
|
e9f1f4d9b7fb41f9f66a24ef03ccbea1780d2674 |
|
03-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Disallowing field name same as table name. Change-Id: I4b5d822cc4eda975949d1b7cf33674c5bbf9d4b1 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
642254bee60e7c7cd793f8f636a9351f883ea97a |
|
02-Jun-2017 |
Pavel Kalinnikov <pavelkalinnikov@gmail.com> |
Track included files in PATH-agnostic way. (#4329) * Track included files in PATH-agnostic way. Use full paths as keys in the map of included files. Store logical include path as a value, in order to put it to the generated file. * Fix tests by accepting null |include_filename|. * Fix self-includes code generators.
/external/flatbuffers/src/idl_parser.cpp
|
22743ca45a3f835df423eb608837022a4a57dcc0 |
|
25-May-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed --keep-prefix functionality. Changing to keep include prefixes had two side effects: the main file being parsed wasn't filtered out anymore, and include directory paths would be added to the path in the include statement. Also moved the include_test*.fbs files to sub directories so we can actually test the handling of -I etc. tested: on Linux. Change-Id: Ibae095cea7ab0cccbac15cfb5171719f6b5cad8c
/external/flatbuffers/src/idl_parser.cpp
|
aaf5598a032314767721fead8a0acf9ca37c5e09 |
|
19-May-2017 |
Wouter van Oortmerssen <wvo@google.com> |
Standardized internal path handling on Posix separators. There were several possible bugs involving paths not being recognized as being the same on Windows. Rather than trying to ensure all code deals with / and \ correctly, paths now get transformed to / on input, fixing all current and future such bugs. Tested: on OS X.
/external/flatbuffers/src/idl_parser.cpp
|
55dec4d2f8817ede5a98d302d0b947c759f97098 |
|
18-May-2017 |
sfariv <saeid.farivar@gmail.com> |
added check for presence of required fields. (flatc) c++ (#4316) * added check for presence of required fields. * updates to resolve Travis CI build error. * fixes for resolving appveyor build errors. * fixes for resolving appveyor build errors. * fixes for resolving appveyor build errors. * updates per aardappel's comments. * updated a variable's name. * updates per aardappel's comments.
/external/flatbuffers/src/idl_parser.cpp
|
9d01bfaea3befaa0e12b0b310cadc1ed036ecfe3 |
|
11-May-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added error message for union values out of range. Change-Id: I481afcde6a554d1cad519ff95acac7f38a7f4ee5 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
370693a200cf2a6eb58be5d17fe6482f3e05c067 |
|
20-Apr-2017 |
Dmitry Ermolov <epdmitry@yandex.ru> |
Specify `std' namespace for remove function (#4268)
/external/flatbuffers/src/idl_parser.cpp
|
46497e4f9ad2f8193dc12cad02d525f93c8f4fd0 |
|
18-Apr-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed hashed values in JSON for signed ints. Change-Id: Iae389c6dc9776058b39f4017d30efbf9580aced1 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
a07f0d428d1175ae52b2f91357f535927c9d6287 |
|
17-Apr-2017 |
Jason Stubbs <jason.stubbs@esp-webtech.com> |
[C++] fix bounds checking on integer parsing (#4250) * fix bounds checking on integer parsing the previous code was allowing 255 for int8_t, similar for int16_t and int32_t, and even negative values for unsignd types. this patch fixes bounds checking for 8-bit, 16-bit and 32-bit types. testing for both acceptable values and unacceptable values at the boundaries are also improved. bounds checking on 64-bit types isn't addressed by this patch. * fix 'unary minus operator applied to unsigned type, result still unsigned' * fix & placement
/external/flatbuffers/src/idl_parser.cpp
|
b0752e179bdbae516125cccacd7aebcfd83033a9 |
|
11-Apr-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added support for structs and strings in unions. (C++ only for now). Also fixed vector of union support in the object API. Bug: 36902939 Change-Id: I935f4cc2c303a4728e26c7916a8ec0adcd6f84cb Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
e7e4dc755d98ea33ef8e0dedb86f6cc466a89074 |
|
10-Mar-2017 |
Louis-Paul CORDIER <lp.cordier@dynamixyz.com> |
NoError was returning on DoParse method when file was empty (#4208) * NoError was returning on DoParse method when file was empty. * change NoError message in DoParse.
/external/flatbuffers/src/idl_parser.cpp
|
1fb6b9ee6f817befae08f39549d5bd80de3931cc |
|
14-Feb-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added doc comments to the binary schema. Change-Id: I87f291ab6e07b1425850cae25ed500db594f17c8 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
29574282a283ddc7904d096d27b783b794da7e91 |
|
31-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
JSON parser wasn't handling ulong values correctly. 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.
/external/flatbuffers/src/idl_parser.cpp
|
9b3d8b318a3bc9d71d08b50d723996f556557c86 |
|
28-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added tracking of order of types declared. Change-Id: Iade313c99f119dcf1619674260648a33f61dc030
/external/flatbuffers/src/idl_parser.cpp
|
68bbe983e9819bcbcd214cf84d73a440863ed6ca |
|
24-Jan-2017 |
Bei Li <bei@google.com> |
Union Vector
/external/flatbuffers/src/idl_parser.cpp
|
3f936c5655d2e802db101c73c42ebaab4ed476aa |
|
19-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
More native code gen functionality. 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
/external/flatbuffers/src/idl_parser.cpp
|
eac2905568ec764f2d6fb0864ff95acec419d163 |
|
18-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed unions not being parsed correctly in JSON. 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.
/external/flatbuffers/src/idl_parser.cpp
|
8c1a723ba55d1574590eba801d64afab9c49e017 |
|
10-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed GRPC method name generation. Change-Id: I827b7e9aee1edb77752322455f7b6fafac16fb1d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
fea6b525ee57bf61d307abc16ade8d9041a3a01d |
|
03-Jan-2017 |
Yonggang Li <leeygang@gmail.com> |
fix memory leak (#4126)
/external/flatbuffers/src/idl_parser.cpp
|
641b397f8b79701b44184a52b5b9c6da98eb7580 |
|
02-Dec-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Allows structs to be stored directly as member variables. Introduce a "native_inline" attribute that can be applied on fields that are structs. This results in NativeTable code generation that sets the struct "inline" rather than storing it in a pointer. From cl/140527470. Change-Id: I208724f552b8b921b20923e0bf82f42cb3582416
/external/flatbuffers/src/idl_parser.cpp
|
c05803bf9683f3e8dff76bf85d6030ec00823564 |
|
09-Nov-2016 |
garretmcgraw <garret.mcgraw@videon-central.com> |
Making flatbuffers JSON parsing deal with unexpected null values when unknown JSON is allowed. (#4083)
/external/flatbuffers/src/idl_parser.cpp
|
6862b2ff08021c7ba474334a6e2a3f3b1fc0dee5 |
|
18-Oct-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added functionality to obtain a buffer pointer from a root. Change-Id: Ia63e41d0304e8668ea4ce09a4c31dd999eb96994 Tested: on Linux. Bug: 32218623
/external/flatbuffers/src/idl_parser.cpp
|
dc38f93ca86984198d796452c68d70e9727b3ff0 |
|
12-Oct-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge branch 'master' of https://github.com/google/flatbuffers
|
ab51b030939e02e55cac6f9e779d8696013819a9 |
|
08-Oct-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed line numbers being off in multi-line comments. Change-Id: I4c27892c249527980d8f52a2cca801dace70289f
/external/flatbuffers/src/idl_parser.cpp
|
dc2fa215b854b31aa9a7f8c959ce08297ec79e23 |
|
06-Oct-2016 |
Wouter van Oortmerssen <wvo@google.com> |
External references for the object API thru a resolver function. This allows hashed string fields to be used for lookup of any C++ objects, a pointer to which are then stored in the object besides the original hash for easy access. Change-Id: I2247a13c349b905f1c54660becde2c818ad23e97 Tested: on Linux. Bug: 30204449
/external/flatbuffers/src/idl_parser.cpp
|
f6c1a1ebcfa0be5a7317776f7094e3788e6318d5 |
|
21-Sep-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge pull request #4025 from paszea/reflection_fqn serialize fully qualified struct & enum name in schema binary
|
df0991b7ded0533554d3665e782273b6c8736376 |
|
14-Sep-2016 |
Xun Liu <xun@pinterest.com> |
serialize fully qualified struct & enum name in schema binary
/external/flatbuffers/src/idl_parser.cpp
|
b6ba322a0411925757196a1ca6f3a1a87f46831e |
|
26-Aug-2016 |
Sahil Jain <sahil@sahiljain.ca> |
Return error when full string cannot be parsed into int
/external/flatbuffers/src/idl_parser.cpp
|
f6416d847186802e03d2fa3c05963ec377c146fc |
|
01-Aug-2016 |
Ben Hamilton <beng@fb.com> |
Validate UTF-8 by default when parsing IDL. Support Unicode values > U+FFFF in parse
/external/flatbuffers/src/idl_parser.cpp
|
d70f5ac6b02f250dca8e2c6e8f59a4223d1f66f6 |
|
29-Jul-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added backwards compatible --no-union-value-namespacing Change-Id: Ia78dd3b0f213e9ffa49dcec699dcbb21fe6517da Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
05b00c50ad07a30974681005ef553eb546a12ce1 |
|
21-Jul-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added way to test two schemas for safe evolution. Change-Id: I1dfc867e6df5932ab61dad431eb3cb02f15d04df Tested: on Linux. Bug: 30202327
/external/flatbuffers/src/idl_parser.cpp
|
f6f88e567ef7f2d282991c761ad2c8d106f6b183 |
|
12-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update idl_parser.cpp
/external/flatbuffers/src/idl_parser.cpp
|
5f2b4e787231fd2f3dc09a2ab3dd50ca327319f2 |
|
09-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update idl_parser.cpp
/external/flatbuffers/src/idl_parser.cpp
|
72e8219a65da19dc42874247b7ce49df141b48dc |
|
05-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update idl_parser.cpp
/external/flatbuffers/src/idl_parser.cpp
|
48f37f9e0a04f2b60046dda7fef20a8b0ebc1a70 |
|
14-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added GRPC code generator to flatc. Also added simple (in-process) test. Change-Id: I38580d554dd52f590e3396ec4846e07546dcf07d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
9e6c5f9f2c543a5ca608e8c1c4c9205139a87dcd |
|
21-Jun-2016 |
Wouter van Oortmerssen <wvo@google.com> |
JSON Parser allows union type fields to come after unions. This is useful because many JSON generators will sort the fields, cause X_type to follow X. Change-Id: I00ef3ac05418224fc05aee93e6b3b3597e73ffe3 Tested: on Linux. Bug: 29221752
/external/flatbuffers/src/idl_parser.cpp
|
3639032d1e2224663202f79ca33c5039eed95f29 |
|
18-Jun-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Allow unions of table types with the same name but from different namespaces. Also fixed most codegenerators using the wrong namespace when multiple namespace were used in a file, with some files not being generated. Change-Id: Ib42969221239d7244e431cbd667ef69200fc415f Tested: on Linux. Bug: 29338474
/external/flatbuffers/src/idl_parser.cpp
|
d3ac0bc149a9e62feec8e3a00f10ca88491e2254 |
|
15-Jun-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added conversion operations that can be used inline in JSON. e.g.: { myfield: cos(rad(180)) } is equivalent to writing { myfield: -1.0 } Bug: 29338398 Change-Id: I6fc4ef1fd10bda3ba78cba464414dd071a2f50ca Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
e92ae5199d52fd59540a800bec7eef46cd778257 |
|
02-Jun-2016 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed compile errors on Windows
/external/flatbuffers/src/idl_parser.cpp
|
6704b19db65727d9afbc74e92733516693df9b18 |
|
28-Apr-2016 |
Ben Gertzfield <beng@fb.com> |
Handle \u-escaped surrogate pairs correctly in IDL parser
/external/flatbuffers/src/idl_parser.cpp
|
3400727ffff0c0ab5b834632fea91948f7f43d66 |
|
29-Apr-2016 |
Ben Gertzfield <beng@fb.com> |
Fix undefined behavior in CheckBitsFit bit-shift on size_t
/external/flatbuffers/src/idl_parser.cpp
|
f6330ab8f137871f786fc72a7700b54da21f0603 |
|
22-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed SkipByteOrderMark advancing cursor_ too early. Change-Id: Ie60f01d935ca6b4aa6ce0eab7598602ac0758342 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
fd542c71e35774f640073cb6fb3fa939d2f19f87 |
|
20-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed float suffix not being added on implicit float defaults. Change-Id: I8dcbb5e93836356511d411ef86452babd3dd3c0b Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
4d7890c2c912d926f5e7a11cc2106bb37b5f0158 |
|
18-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed whole-number float default values missing a .0 suffix. A previous commit that added "f" for C++/Java/C# would break on gcc of constants like 3f, which are now output as 3.0f Tested: on Linux Change-Id: If9cabbe3c6d6948a5050b8b123bda9c06e181f52
/external/flatbuffers/src/idl_parser.cpp
|
72fc45aa6acbc11052c6baa462fac26c5075392a |
|
12-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Made user-defined attributes available in the reflection data. Tested: on Linux. Bug: 27923233 Change-Id: Ic16675650e4a8e138c163f1e2131a3aad7008ada
/external/flatbuffers/src/idl_parser.cpp
|
83dc5ed4a7267c78fb3f00e972de4db30762166d |
|
11-Apr-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed JSON integers as strings not being parsed correctly. Change-Id: If34aef46ef619e06de799cff14948b02e98da86d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
e6b79f00022aee3108427977c9823ff57154e1c6 |
|
10-Mar-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added stream & idempotent annotations for RPCs. Change-Id: Ia8651c1051808fdda0dc0ba52ec991777f868e88 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
1a63eb46bbbb9a0e0d269b2fc0ec31c552871128 |
|
08-Mar-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added RPC declarations to the schema parser. This is the first step in RPC support. Actual code generation to follow. Change-Id: I96c40fec3db671d100dd9eb509a71c5cbe55bfb2 Tested: on Linux. Bug: 20122696
/external/flatbuffers/src/idl_parser.cpp
|
fbc8af40e34bebbbbf287bee25e3e4aab81213c3 |
|
08-Mar-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Allow JSON numeric fields to be specified by a numeric data in a string. Change-Id: I6a3fae1e71434a7384edc39b8602bd84a0432edb Tested: on Linux. Bug: 24140897
/external/flatbuffers/src/idl_parser.cpp
|
cbab26673b99b0a5dff9907fbe08e1efc211f1ff |
|
22-Feb-2016 |
Nalinichandra Penke <chandrapenke@gmail.com> |
Fix #3775: Skip unknown field names if they're quoted
/external/flatbuffers/src/idl_parser.cpp
|
20c0082ee5bfeeecaa443c001a89934e9448ffa4 |
|
13-Feb-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed namespace code generation for C++ The code generator was assuming all declarations for the current file sit in the same namepace. Now uses the "on demand" namespace switching we had for the forward declarations. Also fixed a bug related to namespace lookup. Change-Id: Ib54a3efbc752cbb9590302fa0707c0c73448db3d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
d779308b3e48124dae91896700bf3cc12b5251e3 |
|
10-Feb-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed enum declaration values being parsed as int. This caused values in the uint range to be made negative values. Change-Id: Ia4284747f48508b589c034ff3aae0d141e96eb3c Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
d75d29e2feb23debf2745c185a328294aa80d8be |
|
19-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge branch 'master' of https://github.com/google/flatbuffers
|
049f3f7907e9fc8eb1ecd7c3775139de65552585 |
|
09-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added support for parsing JSON null value. These cause the field in question to be skipped. Bug: 16550393 Change-Id: Id05104e89818ee773b8a91fdcc86e18061b9a82f Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
7d70082590dcc4f8af4d10ebd1cf247ae9f230b7 |
|
19-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge pull request #3706 from evolutional/fix-3506 Check (& skip) of the utf-8 byte order mark
|
6136dd490a4d559195f8f73dc2d826d90ecc6cb2 |
|
19-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge pull request #3498 from ncpenke/gcc-4.4.3-support Gcc 4.4.3 support
|
cbe8747b59d143ad2bfe73ecc838b711f8102886 |
|
18-Jan-2016 |
Oli Wilkinson <Oli Wilkinson> |
Added check (& skipping) of the utf-8 byte order mark (0xEF BB BF) at the beginning of the file
/external/flatbuffers/src/idl_parser.cpp
|
b63ebad49dc0ff3456c787f9b689144f6e8860c7 |
|
06-Jan-2016 |
Chandra Penke <chandrapenke@gmail.com> |
Fix #3497: Add support for compiling in g++ 4.4 and 4.5 - Removed uses of lambda expressions - Added custom defines for constexpr and nullptr - Removed trailing comma of last value from generated enums
/external/flatbuffers/src/idl_parser.cpp
|
586fdee89b402f4d4c4d8a4c9d8b16e58b737d2e |
|
06-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge pull request #3494 from parnic/fix-vs2012-static-analysis Fixed MS static analysis warnings
|
30013b4ff80dd7d4fde56e1b2b8b988feed6437f |
|
05-Jan-2016 |
Chris Pickett <github@parnic.com> |
Fixed MS static analysis warnings Cleaned up a few warnings to allow VS2012 to compile idl_parser and idl_gen_text (for exporting binary protobuf blobs as JSON) cleanly under static analysis.
/external/flatbuffers/src/idl_parser.cpp
|
e0b2f81885b09ffba4ec89bfd2c9796d3be01865 |
|
05-Jan-2016 |
Chris Pickett <github@parnic.com> |
Fixed compile warning with VS2012 flatbuffers\src\idl_parser.cpp(1516): warning C4244: 'argument' : conversion from 'int' to 'char', possible loss of data
/external/flatbuffers/src/idl_parser.cpp
|
0e1601b80de3c69cf49894d58840856f2077731b |
|
05-Jan-2016 |
Chris Pickett <github@parnic.com> |
Fixed compile warning with VS2012 flatbuffers\src\idl_parser.cpp(1525): warning C4127: conditional expression is constant flatbuffers\src\idl_parser.cpp(1546): warning C4127: conditional expression is constant
/external/flatbuffers/src/idl_parser.cpp
|
a6a38f6035744122050b8914a0c1691bdff4daf7 |
|
04-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge branch 'master' of https://github.com/google/flatbuffers Fixed conflicts and added missing generated files. Change-Id: I4321c798543292d814c2c9e8b238c203b7526c7b
|
451272b61840a3c2b12edeb23b18c9bd0b2aa508 |
|
30-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Made error checking macros less prone to clashes. Change-Id: Ieb252ce01446551699d935507bc95ee286fe1ddd Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
13d0594b4c8cd6677ddb43ecdbd2d7d3300b6208 |
|
22-Dec-2015 |
Nalinichandra Penke <chandrapenke@gmail.com> |
Fix #2775: Add parser option to skip unknown JSON fields
/external/flatbuffers/src/idl_parser.cpp
|
40a33b1d0683d3d732620b7f8adb6c34678a5910 |
|
10-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Replaced exception handling in the parser with error checking. This to allow the code to run on a greater range of build configurations (that don't allow exceptions/RTTI). If anyone ever doubts the usefulness of exception handling, please show them this commit. Change-Id: If7190babdde93c3f9cd97b8e1ab447bf0c81696d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
4dcaec7938e0a9fe9f0451fe296b6151e3554275 |
|
10-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed root_type not accepting namespaced types. Change-Id: I272f377742cc0a2c1bfccaa641b54eb9a8c762b6 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
45bda6e08de1436e8a25e791b776e0bcc38f232b |
|
01-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added --gen-all to generate code for a schema and all its includes. Also refactored the way options are stored. Change-Id: I709ac908cd2aba396c9c282725cf1d42ccce0882 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
3881bbd6517f97deb239f32ff5ebec8db86e902f |
|
01-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Multiple schemas parsed by flatc are now parsed independently. It used to be such that later schemas could depend on earlier schemas. This was a convenience from days before include files were implemented. Nowadays they cause subtle bugs rather than being useful, so this functionality has been removed. You now need to explicitly include files you depend upon. Change-Id: Id8292c3c621fc38fbd796da2d2cbdd63efc230d1 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
1075c80e8aa85462893a1996b947da04d9fc6f85 |
|
26-Nov-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed crash related to flatc parsing duplicate input files. Thanks @Chaosvex for reporting. Change-Id: I73f60ab0bf875a3e0849eaec5f42f6d036881094 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
721d21923efe8fabd2e1df0f94891a47f8eb9000 |
|
05-Nov-2015 |
Shuhei Tanuma <chobieee@gmail.com> |
Don't hide function parameter
/external/flatbuffers/src/idl_parser.cpp
|
4d7810424c8f964dbcb8dd3179d8c46cd896c4dc |
|
29-Sep-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Allow structs to be parsed in JSON with out of order fields. Also simplified the code and made it faster. Change-Id: I1d83b1165a4a9a4380d1bfb5538769c012d2d367 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
d236dea13d2fdb9ad596679868eb4204c1562151 |
|
28-Oct-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Improved C++ asserts for nesting and not finishing buffers. Change-Id: I82a392bd262b13e978df748bc54b7ac43aec1e15 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
ace304513fc197b264da9543a5c63ad2514d07aa |
|
20-Oct-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixes for JS generator in Xcode
/external/flatbuffers/src/idl_parser.cpp
|
1917e577a23365508b08c7c8b082ab6a2a1ed6ef |
|
20-Oct-2015 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixes for JS generator in VS
/external/flatbuffers/src/idl_parser.cpp
|
94680f5483593b1a48c79b516d153fd432b3f2e8 |
|
06-Oct-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added support for imports and many other .proto features. Change-Id: I6600021b7ec8c486794349511232c3e604421c5b Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
2abe24b9ddd22fd095d96f002fb8c16b4edc36d2 |
|
28-Sep-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Made .proto parsing understand nested declarations. Bug: 24401812 Change-Id: I196a03b8c5ef0bcd3c26178239c764e40ca1950d Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
feb481661094db2a73912f8e2d32bac9473ca47f |
|
25-Sep-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed .proto translation making scalars into required fields. Change-Id: If414d156b4e9bc7fead5f131823b2c419cdc4e2c Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
aeff09d724eed05eaa2ae50bbcc95bdb5572d569 |
|
27-Aug-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed a clang warning about signed shifts. Change-Id: I7c2bf87972ee0ba6811d6ed42e13300bff90e36f
/external/flatbuffers/src/idl_parser.cpp
|
45cc503bbdad33849c62d11e152fab2f852892db |
|
05-Aug-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Changed maximum force_align to match the C++ code generator. Change-Id: I7df2b0172f5de6f7bdbd8778361794004cd06062 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
36c7e9a9625b65332e16615897f1ef9c1b99e203 |
|
30-Jun-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed null root_table access in binary schema generation. Change-Id: Ia2b7abc10bee52814e815befcad6a89697295d8f Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
cb2b2be54eb52fb009f30f5ca300165a95fa5df6 |
|
24-Jun-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Reflection: generically copy (parts of) FlatBuffers. Change-Id: Ief3f1507c003079eac90c2bb6c2abd64a80a0a34 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
1e6f8f5b8c4d0407d7db750858e7863e07091958 |
|
22-Jun-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed possible crash from reference to non-static variable. Change-Id: I1842098a7ef461e2e92dd35d79d8ca303e814867 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
622b8d05cf69cc26babc6a043d1f7a4153755652 |
|
16-Jun-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed warnings on Windows
/external/flatbuffers/src/idl_parser.cpp
|
81312c21281430449aef20f7a71ad9e0962791d3 |
|
22-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Initial reflection and resizing functionality. Tested: on Linux. Change-Id: I8f7bccf9b1ad87fea788f85e23fa69435758feca
/external/flatbuffers/src/idl_parser.cpp
|
5f091c46ce04c004e4a2dff3965a24e22025850a |
|
15-Jun-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Allowing _ as first character of identifiers in .fbs/.json. Change-Id: Ie2cb42632f6a907a38e10b2c9be1536cf330b2fa Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
3b070310f03326597666babf6654aa983d063bb2 |
|
20-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed -Wunused-result warning. Change-Id: Iea5fab66047ac0a5057a743dbb1fdb27c063188c Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
48dfc69ee613a176f13b04c2310adb7a08fe6737 |
|
16-Dec-2014 |
rw <me@rwinslow.com> |
Port FlatBuffers to Python. 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)
/external/flatbuffers/src/idl_parser.cpp
|
4d213c2d06fa17bec1dc87d16d02b8d94bc4fc58 |
|
12-May-2015 |
Robert <me@rwinslow.com> |
Merge pull request #165 from rw/go-faster Go speed improvements
|
8896587faf7b9f0150b930861757edd8a3328628 |
|
11-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed schemas inheriting namespace from included schemas. Change-Id: Ib561430b235eddf4bfe20f68409e1dfdb359ef2b Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
5d68493df4848e46a58df1baaa562e520dc7ae39 |
|
10-May-2015 |
rw <me@rwinslow.com> |
update CheckClash for string accesses
/external/flatbuffers/src/idl_parser.cpp
|
39833d7cf051e4a2ecfb342419a86dc02c7e77aa |
|
09-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added namespaced way to refer to types in schemas. 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.
/external/flatbuffers/src/idl_parser.cpp
|
249f71a12bb950eefa9768d461db9bf084432d55 |
|
06-May-2015 |
Brett Cooley <cooley@google.com> |
Initial support for propagating namespaces from schema files to generated code Change-Id: Ifc10c54845ea7553586d1896d509314d68e9ab0f
/external/flatbuffers/src/idl_parser.cpp
|
a8d6962ac2fbf5075ee5f58877d488eb74ed32df |
|
14-Apr-2015 |
Mormegil <mormegil@centrum.cz> |
Tolerate DOS-style EOL in IDL line comments 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
/external/flatbuffers/src/idl_parser.cpp
|
3ad853630c6bf76a9c8fc2a15e3fc40cd52de691 |
|
31-Mar-2015 |
Advay Mengle <advay.mengle.dev1@gmail.com> |
Generate appropriate schema doc comments from .proto files - Add parse handling of .proto struct and field doc comments (enums and their values were already handled) - Add FBS generation handling of doc comments for structs, their fields, enums, and their values (requires linking idl_gen_general in the test binary build) - Tested using test.proto|golden with doc comments added. Xcode run of flattest passes. Change-Id: Idff64dd8064afba227174ab77d2c7be22d006628
/external/flatbuffers/src/idl_parser.cpp
|
c3807fa39dda5445924ef77253efb446459f6e56 |
|
07-Mar-2015 |
Max Galkin <maksim.galkin@gmail.com> |
Fix for VS 2015 stricter warnings about "shadowed" names. 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
/external/flatbuffers/src/idl_parser.cpp
|
d575321eba7f83f40de5fb23685ed3cdb47bc9cc |
|
14-Feb-2015 |
Alex Ames <amablue@google.com> |
Added the hash attribute to ints and longs. FlatBuffer schema files can now optionally specify a hash attribute that will allow someone writing json files to enter a string to be hashed rather than a specific value. The hashing algorithm to use is specified by the schema. Currently the only algorithms are fnv1 and fnv1a. There are 32 bit and 64 variatns for each. Additionally, a hashing command line tool was added so that you can see what a string will hash to without needing to inspect the flatbuffer binary blob. Change-Id: I0cb359d0e2dc7d2dc1874b446dc19a17cc77109d
/external/flatbuffers/src/idl_parser.cpp
|
df4909e5f6b7e60a90b32973567d24b90608c6fb |
|
04-Nov-2014 |
Gabriel Martinez <gabrielma@google.com> |
Add options to print build rule dependencies Tested: on Linux Bug: 16465909 Change-Id: I2f1a6def13e47716110426b00990c2c625c03251
/external/flatbuffers/src/idl_parser.cpp
|
7cf74cb8644262f8ca02d69705bbc394d66514ce |
|
08-Jan-2015 |
Hiroshi Matsunaga <hiroshi.82.matsunaga@gmail.com> |
cursor_ is not directly represent the hexadecimal Change-Id: Ibdbd0e2f85284c1443403ed8c43acbd6e9de635f
/external/flatbuffers/src/idl_parser.cpp
|
6c2dc41e0df3d6edc8cd8f452dd7a8ad7ff840c0 |
|
17-Jan-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Parser will allow a table or vector to have a trailing comma. 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.
/external/flatbuffers/src/idl_parser.cpp
|
3550899987f9590357dec34d302380874bb2311c |
|
08-Jan-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Sorted Vector & binary search functionality. Bug: 16659276 Tested: on Linux & Windows. Change-Id: Ie7a73810345fad4cf0a3ad03dfaa5464e3ed5ac8
/external/flatbuffers/src/idl_parser.cpp
|
0952143971bdbb5ef20dae8a865e811a0e31b4b3 |
|
18-Nov-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added user defined attribute declarations. This is such that if you mis-spell an attribute, it doesn't get silently ignored. Bug: 18294628 Change-Id: I10013f5b2a21048b7daba2e9410678f528e09761 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
07d5965c812fa5e82dc4d3eb32b37540b7c91598 |
|
22-Oct-2014 |
Zbigniew Mandziejewicz <shaxbee@gmail.com> |
Fixes #90 - flatc chokes on IDL files starting with a comment Change-Id: I5ab692ceb6809493720c1bff69a2e3210efd4618
/external/flatbuffers/src/idl_parser.cpp
|
d38b9af243d8dcfc53ab69c79e0ce404759240d4 |
|
27-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added .proto parsing and convertion to .fbs. Bug: 15777858 Change-Id: Iabef9b8c8044e593bb89510feebdee00d2f1840b Tested: on Linux and Windows.
/external/flatbuffers/src/idl_parser.cpp
|
730c0cadde2302efa1487d672a1e2f53680ce2ea |
|
24-Sep-2014 |
Gabriel Martinez <gabrielma@google.com> |
Output multiline doc comments over multiple lines Tested: on Linux Bug: 15779934 Change-Id: I6f822f1705e443d8721ea208dcb021aad3c8715c
/external/flatbuffers/src/idl_parser.cpp
|
7b8053570e4407cedfde8d32f6a3c59e5585ef7b |
|
23-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Enums in C++ are now strongly typed. Accessors and constructors now take enum types rather than ints. Bug: 16570507 Change-Id: I4b50fd64ad2e662ea2481bc0ccea784326fb31c0 Tested: on Linux and Windows.
/external/flatbuffers/src/idl_parser.cpp
|
85c9c83844b494b5422e6ad2fbe8ec1a183d96be |
|
23-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Made flatc error messages look like what other compilers output. Looks like MSVC on Windows and like gcc everywhere else. For enhanced IDE clickability. Bug: 17208371 Change-Id: Ie3e02658fccd3edfd464b4bacf4bc68c613a8570 Tested: on Linux and Windows.
/external/flatbuffers/src/idl_parser.cpp
|
30642c5a6f0fe2728d5b05cd272880d325c18cf6 |
|
23-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added option to flatc to generate dependent header statements. Bug: 17322776 Change-Id: I3a4d3cb4ccd40bc3200a87653aa0ab8ecb90ce60 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
517c964fe2099ecc0810db33cfd45b406b3f3132 |
|
20-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Support for required fields. Change-Id: I560c7ca11b3d665eecafb528f3737b7e139ca9b0 Tested: on Linux and Windows.
/external/flatbuffers/src/idl_parser.cpp
|
557c88c0396220e79e9a43c07f8393a5c68b739d |
|
17-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Refactored the Java and C# code generators into one. 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.
/external/flatbuffers/src/idl_parser.cpp
|
e57b86bb9f17cabc5bf5b4afe78153dde55f46ea |
|
12-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
The parser and flatc now allow include directories to be specified. Bug: 17139854 Change-Id: I0eac65d054951e00a8811ad1d80ba8c37012dbf0 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
09a2999c66abc92e5c33fdef75c63dec81f90a3a |
|
05-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Implemented the file identifier functionality for Java. Also fixed flatc not outputting these identifiers for files compiled on the command-line. Bug: 16983987 Change-Id: I8b714cfea3a8e144fa52133f62b2f7eda6eb044a Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
11f25386100ce50e114ec52d5487027af2912ebf |
|
04-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Made "field set more than once" check in JSON parser faster. Change-Id: I3ecc1aa610526c270faa56cc5266f14cd81db247 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
57b614587c45ce5751ef5533c34131273be01cf2 |
|
03-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Setting a field twice in a JSON object now gives error. Before, it would crash in FlatBufferBuilder. Bug: 17357164 Change-Id: I6e6dbada5261745220345379eb53eb3eb113e8f8 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
15dc1a86cd9e1fd22a46fde1a3632418eb8d9466 |
|
03-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed flatc silently accepting non-scalars as default values. Bug: 17304016 Change-Id: I4873f8ef32fbb2657f15fc53a2c8f767e10f2d96 Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
8e40902d5284ac479baea5a8ba5eeb31c8edb1a9 |
|
03-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed compiler warning for int to char conversion. Change-Id: Idc6c152ebf9e733ac72c01f3888b69e3b5f33aa9 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
c553b6b950870b299b40e0153818430c649b76cf |
|
22-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
The list of enum values is now allowed to end in a comma. Bug: 16490424 Change-Id: Ic3dd5f06efb5cf2dc4aefbd3f2db64c7b59b6b93 Tested: on OS X.
/external/flatbuffers/src/idl_parser.cpp
|
541b06759f72dcff9008478da797957e6fbabb45 |
|
22-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Checking for clashes between field names and generated field names. This happens when the schema is parsed, to avoid compile time errors later, which would be harder to understand. Bug: 16325216 Change-Id: I24cabf1adaf1700796b91e3a9641bca43a68bfbd Tested: on OS X.
/external/flatbuffers/src/idl_parser.cpp
|
30af866e5ac9eb60f1998ebbe6fc77c1c3834cc1 |
|
21-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
flatc now creates the output directory if it doesn't exist yet. 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
/external/flatbuffers/src/idl_parser.cpp
|
ebac1e1940b16e096e500ae95381706397d86fee |
|
20-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Support all JSON escape codes (including \u) for parsing & text gen. Bug: 16624362 Change-Id: Ia09ea404c0c11dd1dc6993a8cbd155bf8152b65f Tested: on Windows & Linux.
/external/flatbuffers/src/idl_parser.cpp
|
c2ba7fd251b9da9fd2f0210818cc0221682f29c4 |
|
20-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Referring to types from other namespaces in C++ now works correctly. Previously, it would ignore the fact that the type comes from a different namespace. Now they are pre-declared in their own namespace, and referenced with a qualified name if necessary. Bug: 16851682 Change-Id: I5cb625b86d28e7436b9e93c70a0fa16a600d9884 Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
be894f09df2383844d6c19b1d173fec105451e0f |
|
19-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Schemas now support include files. Bug: 15521443 Change-Id: I2e1ef97e7225a1a0ecf2ca65e31d49d443003747 Tested: on Linux.
/external/flatbuffers/src/idl_parser.cpp
|
0b47e69d4d6cb6905388f28760a6a90e96380a82 |
|
13-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Parser now allows empty tables in JSON Bug: 16870719 Change-Id: Ia5fdce49a67b1aa621ab1e37a815e2a3293257b6 Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
5da7bda826a98fa92eb1356907afa631bfa9c1b1 |
|
01-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
File identifier feature. 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
/external/flatbuffers/src/idl_parser.cpp
|
be3c8742585326447a6f9e776ad90a6b0fceb953 |
|
12-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed bugs that could cause struct values not to be stored or misaligned Change-Id: Ie36fe581c000fa4571c96fafd39a9e12fa29e1ca Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
8f80fecc445cb733615ad0186358d4e3789ab377 |
|
29-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Made FlatBuffers compile correctly with -pedantic Change-Id: I88b5993219e10e2dfb60ff98d6594d19871988fc Tested: on Linux
/external/flatbuffers/src/idl_parser.cpp
|
9c3de1e2a0591c2526453cf85260c09e3c624189 |
|
26-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Extended symbolic enum parsing in JSON for integers and OR-ing. Change-Id: Iedbd9914a1ca3897776fb92aa9a1fdfc4603da3c Tested: on Windows and Linux
/external/flatbuffers/src/idl_parser.cpp
|
127d35085a22cb33034f608ee21d65a655d1582c |
|
18-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added a `bit_flags` attribute to enum declarations that 1<<N every value. Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c Tested: on Windows and Linux Bug: 16186562
/external/flatbuffers/src/idl_parser.cpp
|
3e201a99b2f23c8c8475e43803d122b105db9a68 |
|
16-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
A feature that officially supports nested FlatBuffers. Generates convenient accessors for the nested root. Change-Id: Ic0b1531de7ace475ff2a7b1f430d27f41c838430 Tested: on Windows.
/external/flatbuffers/src/idl_parser.cpp
|
74d5f3701fd19ca13b8fe69d1cf54002e11416da |
|
12-Jul-2014 |
rw <me@rwinslow.com> |
Port FlatBuffers to Go. 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
/external/flatbuffers/src/idl_parser.cpp
|
3fb6a86d020f7423553a4e2dbba637b56d7760f6 |
|
15-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
JSON parsing & text generation is now enum-identifier aware. 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
/external/flatbuffers/src/idl_parser.cpp
|
93df5697a04e406929d7a3fa1f17904d2859e36d |
|
10-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Parser now correctly reads floats in scientific notation. Change-Id: I7abb14a4b6c596674d6aff2b9de6e63603c0d2dc Tested: on Windows and Linux.
/external/flatbuffers/src/idl_parser.cpp
|
2208de0676c579e28e9ccaf3c1757646c0c083de |
|
09-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed namespace declaration not being cleared between files. Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984 Tested: on OS X.
/external/flatbuffers/src/idl_parser.cpp
|
75349ae8c39d01e7e2b5779a18ace750c08e2fd9 |
|
09-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed incorrect verifier code for nested tables. 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.
/external/flatbuffers/src/idl_parser.cpp
|
7fcbe723fc821785abfec0348023d9ebf5b4db96 |
|
09-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added a "strict JSON" mode to the text generator and compiler 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.
/external/flatbuffers/src/idl_parser.cpp
|
9140144d5161124623a27cf8b8038f6e7c9bb74d |
|
08-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Added functionality to assign field ids manually in a schema 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
/external/flatbuffers/src/idl_parser.cpp
|
a5f50019bc979c352bb7e0c08b8bbfd8ab06af4d |
|
02-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Made declaring the underlying type of an enum mandatory. 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
/external/flatbuffers/src/idl_parser.cpp
|
1256307a388f05917b112253ef79e9b79ff76e1d |
|
01-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Switched VS build to -W4, and fixed all resulting warnings. Change-Id: I654217cbd01a3a449503d95753e19b672ec7ec23 Tested: on Windows, Linux
/external/flatbuffers/src/idl_parser.cpp
|
65cfa18855abc712faa1bf0cb5c3b88ab8df4b28 |
|
23-Jun-2014 |
Wouter van Oortmerssen <wvo@google.com> |
force_align was applied after struct size was set. Change-Id: I9a35afac41f27dfdbc5e793c41ec768732cdc2a1 Tested: on Windows.
/external/flatbuffers/src/idl_parser.cpp
|
26a30738a4fa4e92300821fd761764ec8df2dcf2 |
|
28-Jan-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Initial commit of the FlatBuffers code. Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920 Tested: using VS2010 / Xcode / gcc on Linux.
/external/flatbuffers/src/idl_parser.cpp
|