34aea4361f829d3e4f1e4d50324e155ad4adec67 |
|
20-Nov-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Updated version numbers to 1.8.0 Change-Id: I9cf9fe1e2572d3f9c4066624a87249ca1e62a297
/external/flatbuffers/src/flatc.cpp
|
01bac38c84fe8511042eb0775c6135b7429a0269 |
|
16-Oct-2017 |
Yonggang Li <leeygang@gmail.com> |
Nullable java (#4455) * add _Nullable Support for C++ interface * generate @Nullable for Java generated code
/external/flatbuffers/src/flatc.cpp
|
a0e5d78353ac07b9fd6cbbbc1c372c4d6dadf49c |
|
09-Oct-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Add new flatbuffer_go_library to generate Go library for flatbuffers This CL also introduces the following changes to allow the generation of the Go library for flatbuffers: - add support for --gen-onefile for Go to simplify the build rule (mapping each input .fbs to a single separate .go file) - add a new --go-import flag to override the default import line (currently github.com/google/flatbuffers/go) - add new go_library in BUILD for flatbuffer (for files in flatbuffers/go) (mirrored from cr/171126159) Change-Id: I83e705a9a9d9544837af0baf9366ec37757799aa
/external/flatbuffers/src/flatc.cpp
|
30e7d161049482a8196036e0726fd25227498aa6 |
|
09-Oct-2017 |
Yonggang Li <leeygang@gmail.com> |
_Nullable cpp interface (#4451) * add _Nullable Support for C++ interface * add _Nullable Support for C++ interface
/external/flatbuffers/src/flatc.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/flatc.cpp
|
72a99abfb7db64dc49720b28b41f382b5ec7cde0 |
|
25-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added support for mini-reflection tables. Change-Id: I83453d074685fa57bbf1c7c87b1d9392ce972085 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
1d444f63d38af7f7f34f71670677e9fe970ca8bd |
|
12-Sep-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Fixed .proto not being accepted as schema file. Change-Id: I1ccd52a847930fa636d24f9490d57577b8775d08
/external/flatbuffers/src/flatc.cpp
|
5fa00630afaaf676595bebbc7348c960d6c0de5a |
|
07-Sep-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Forgot to bump flatc version to 1.7.1 Change-Id: I480a08f445858bce3d0336c2b22da30d64f90012
/external/flatbuffers/src/flatc.cpp
|
d5b4db06922a9d81ab767abe3dfe2f54f267b8c2 |
|
31-Aug-2017 |
endorph-soft <endorph@endorph.net> |
C++ Customise prefix/suffix of object API [Issue #4419] (#4422) * Allow prefix/suffix of C++ Object API classes to be customised * Address review comments
/external/flatbuffers/src/flatc.cpp
|
a6a3f5925393146e879ba03d919a3380b9af7994 |
|
11-Aug-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Make flatc not silently skip schema files not ending in .fbs Change-Id: I58463b321703b2ef0dc3f3062633909b86eca1a9 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
6f94fb51b14a1f9cc8b4fcc14744a6c334e644cb |
|
17-Jun-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Updated version numbers to 1.7.0 Change-Id: If2802ca48b61cfa7e5ec131e2a268400523217e2
/external/flatbuffers/src/flatc.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/flatc.cpp
|
c559eb451e7783b72c44e27db375158edaa498b7 |
|
13-May-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Made codegen always output a file, even on an empty schema. Previously, we had a check to simply skip such files, but this tends to make build systems unhappy. This only affects C++ and JS, since other language output per-class files. Change-Id: I54224642725bbafb9f6e1654ed3693e62ca9f7d7 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
93c0960c3abdd5f3f7cdc9c4981732fde7be5e4e |
|
10-May-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added --keep-prefix to not strip schema include path in C++ includes. Change-Id: I3c6356fc6664072796f273096df64829108b4a34 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
28e7dbd3d38ae430a5a9c17a36e9321f74476087 |
|
10-Apr-2017 |
Kamil Rojewski <krojew@users.noreply.github.com> |
TypeScript support (#4232) * 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
/external/flatbuffers/src/flatc.cpp
|
b8f5f844379e6e6ba52296787a396cffd1d9e5bb |
|
21-Mar-2017 |
Flier Lu <flier@users.noreply.github.com> |
add command line argument for go namespace (#4222)
/external/flatbuffers/src/flatc.cpp
|
f2071e4f80bf7ccd924337c7bf1bf33c79e3fc3e |
|
21-Mar-2017 |
Alexander Gallego <gallego.alexx@gmail.com> |
Add arbitrary string type to the native object API (#4218) * Custom strings are very common for optimizations around small objects or growth style optimizations, i.e.: grow at 1.57 times vs doubling vs.. A second common strategy is to cooperate w/ the memory allocator see FBString[1] and seastar[2] string for examples. [1] fbstring: https://github.com/facebook/folly/blob/master/folly/docs/FBString.md [2] sstring: https://github.com/scylladb/seastar/blob/master/core/sstring.hh
/external/flatbuffers/src/flatc.cpp
|
3a2d3a232f41ebd82528d3b6c885f3c4279a4e3f |
|
15-Feb-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Removed spurious "aa" from flatc usage message. Change-Id: Ia1812d594882ce6c51002d07827ccec267d138bb
/external/flatbuffers/src/flatc.cpp
|
cebdad4d2381ca4d6325121c4189ce0b754ecfeb |
|
15-Feb-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Updated version numbers to 1.6 Change-Id: I215fcc7581253f14171b513d4fc75da960b2064a
/external/flatbuffers/src/flatc.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/flatc.cpp
|
2272229983bcd40aa6b0e41612a793f56f136ea6 |
|
10-Feb-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Added --prefix-include option for generated includes. Change-Id: I288cda33345362f9aec5cbe309e590bf64f328e1 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
d7ba17dfe5b07e9197dd6bb3ed07c38e6a4a4da7 |
|
09-Feb-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Changes to make flatbuffers javascript compatible with the closure compiler. Change-Id: Iab8d66a8f34910029deb8a5ff5ec7ba50c5b3421
/external/flatbuffers/src/flatc.cpp
|
b395359b6ef8613b3b156f12f9a9e1d924953b35 |
|
25-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Allow the flatbuffer compiler (flatc) to be built as a library. Change-Id: I71baff427243f96be1596b01ff3405fdf39386d7
/external/flatbuffers/src/flatc.cpp
|
68bbe983e9819bcbcd214cf84d73a440863ed6ca |
|
24-Jan-2017 |
Bei Li <bei@google.com> |
Union Vector
/external/flatbuffers/src/flatc.cpp
|
b29ba4c70c7b8ef415e37809574ac74a9bf0b632 |
|
03-Jan-2017 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Updated version to 1.5 Change-Id: I34007829cdd3ad024df21f68bb369016d5d21131
/external/flatbuffers/src/flatc.cpp
|
ccba2edb7c7a9e2de82dd3a24961c19a00c8de44 |
|
14-Dec-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Made GRPC generator missing into a warning. Change-Id: Iceb1f5b78cff6227905b8a23eb70e9ef6ce909ed
/external/flatbuffers/src/flatc.cpp
|
a31ddd2bb38f719996137c9c35bc702f2abaefa5 |
|
05-Dec-2016 |
Ronak Jain <ronakjain@outlook.in> |
Support for Golang GRPC (Experimental) (#4082) * support for grpc golang * refactored grpc go generator * added grpc-go test and refactored * refactored idl_gen_grpc.cpp * fixed grpc generate method name * refactored flatc and fixed line length issue * added codec to go lib and fixed formatting issues * fixed spacing issues
/external/flatbuffers/src/flatc.cpp
|
d9fe4e2769045f0b90f7a82c03c7a3693fd14fff |
|
13-Oct-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Allow other pointer types than unique_ptr for object API. Change-Id: I945890ce667a2f5a6c0495e78fd5326ed33b9914 Tested: on Linux. Bug: 30135763
/external/flatbuffers/src/flatc.cpp
|
3368407affe57bdaf11d9e89fb1087c4e15d3457 |
|
14-Sep-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Add a --conform-includes flag to specify include path for the conform schema (mirrored from cl 133146933) Change-Id: I61385289728777cae83139fef0229001d92382ca
/external/flatbuffers/src/flatc.cpp
|
756050b62ccf48f54a64c759988318d2a94bb0db |
|
25-Aug-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed "unknown command-line argument" output format. Change-Id: Idd49bc61118c29d6d7364d2cd54a6f7932917570
/external/flatbuffers/src/flatc.cpp
|
eba6b6f7c93cab4b945f1e39d9ef413d51d3711d |
|
16-Aug-2016 |
Wouter van Oortmerssen <wvo@google.com> |
1.4 prep fixes Change-Id: I001ad8dd5f95e6e5ad43daf956663218d19f5c96
/external/flatbuffers/src/flatc.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/flatc.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/flatc.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/flatc.cpp
|
3101e327c04f14f9345f60fd184aa3034e2faadf |
|
02-Jul-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Added optional object based API for C++. Change-Id: If927f3ea3fb3723088fa287f24bdd1ad43c8d1d1 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
f0b2cc8f6eb884606dd4b3cf2ec0b6eb71736235 |
|
09-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.cpp
|
ffbc93526ecc048bdb867ebcfae66e2bb851c145 |
|
09-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.cpp
|
4bb6ab3cd557d850b0e848261ff980ffd5918316 |
|
05-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.cpp
|
4f8abaaf10dc6f092960626ee88e47250aa55653 |
|
04-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.cpp
|
9fd4d664388853a93cdcea17bc51daed8cfb4322 |
|
04-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.cpp
|
ff57f52b7229e70a7029c9c50b58a841768359a6 |
|
04-Jul-2016 |
Raman <justzeddicus@gmail.com> |
Update flatc.cpp
/external/flatbuffers/src/flatc.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/flatc.cpp
|
35f6bb506018976a923b67fb14dd1eb5e30e08b9 |
|
29-Mar-2016 |
Nnamdi <nnamdio@gmail.com> |
Added --gen-name-strings command line option. To support the use case described in issue google/flatbuffers#3826, a new command line option --gen-name-strings has been added, which will cause a static GetFullyQualifiedName function to be added to the C++ output for tables/structs.
/external/flatbuffers/src/flatc.cpp
|
38662548c74f8c844ca30c99f5753cd8309b2d08 |
|
03-Feb-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Bumped version to 1.3.0 Change-Id: I080041e533153b2bb2db53f030761852e95c88fa
/external/flatbuffers/src/flatc.cpp
|
ac655b3ff0ab9a7901f03c0b2a21e57e0e564b79 |
|
01-Feb-2016 |
Eddie Scholtz <eascholtz@gmail.com> |
Remove -v as option for printing version # (based on PR feedback).
/external/flatbuffers/src/flatc.cpp
|
0b3cd33e550fabdcde76739d40abf9c6c55f7fa3 |
|
01-Feb-2016 |
Eddie Scholtz <eascholtz@gmail.com> |
Add __DATE__ to FLATC_VERSION based on PR feedback.
/external/flatbuffers/src/flatc.cpp
|
e43d127effaa901b6d38e63030181f90e5455c26 |
|
30-Jan-2016 |
Eddie Scholtz <eascholtz@gmail.com> |
Add -v --version arg support to the flatc command.
/external/flatbuffers/src/flatc.cpp
|
d75d29e2feb23debf2745c185a328294aa80d8be |
|
19-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Merge branch 'master' of https://github.com/google/flatbuffers
|
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
|
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/flatc.cpp
|
42c20d7a6940b951f2523aa957000a79697bea59 |
|
08-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Make flatc check for binary files to avoid accidental parsing. Binary file arguments to flatc have to be preceded by -- to identify them, forgetting this however results in them being attempted to be parsed as schema/json, with cryptic errors. This instead gives an error if 0 bytes are contained in your text file. Bug: 22069056 Change-Id: I226bf651dcb016f18d7c8ffadcf23466a1fc0b87 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
63b526db52d562b45c64f1dc6b8185fe8c42c19e |
|
08-Jan-2016 |
Wouter van Oortmerssen <wvo@google.com> |
Ensured code is not generated directly from .proto files. The parser state generated from the .proto conversion process is not exactly the same as what you get by parsing the generated schema, which can cause problems. This check enforces that you first convert the .proto, then generate code from the new schema. Change-Id: I04b53af9288d87e256d1cc109388332fefb3a09f Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
f243109524eb7a62cd2556e2ffc7e70920427973 |
|
22-Dec-2015 |
Nalinichandra Penke <chandrapenke@gmail.com> |
Fix #2775: Add option to flatc to skip unknown fields in JSON
/external/flatbuffers/src/flatc.cpp
|
b0d5bb1c4bafda99ffe37c2c304453f6ed45707c |
|
07-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed language for generators not being set correctly. Change-Id: I36c1f05efa836b32635e3274ac0ba976a8961bdd Tested: on Linux.
/external/flatbuffers/src/flatc.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/flatc.cpp
|
47478117d8df4ea4a4b052dd15e07712913486c7 |
|
01-Dec-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed implicit dereference in flatc. Change-Id: If2e62a325b47399561b4c20d2def55ede4831d19 Tested: on Linux.
/external/flatbuffers/src/flatc.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/flatc.cpp
|
d7b4a31e93004e17fb320682b1801c1aaa9e7afc |
|
26-Nov-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added long form options for all generators (--cpp etc.) Short-form versions are still supported, but are deprecated. Change-Id: I15f70ca8d69ba5790368205caa9603b65e1b7fff Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
5ce86826718c938e38b0f57e4bc5840fe15a1565 |
|
05-Nov-2015 |
Shuhei Taunma <chobieee@gmail.com> |
(PHP) add experimental support for PHP language. * codegen for all basic features: WIP (probably implemented all basic feature) * JSON parsing: NO * Simple mutation: NO * Reflection: NO * Buffer verifier: NO (will be add later) * Testing: basic: Yes * Testing: fuzz: Yes * Performance: Not bad * Platform: Supported Linux, OS X, Windows (has 32bit integer limitation) * Engine Unity: No flatc --php monster_test.fbs <?php //include neccessary files. $fbb = new Google\FlatBuffers\FlatBufferBuilder(1); $str = $fbb->createString("monster"); \MyGame\Example\Monster::startMonster($fbb); \MyGame\Example\Monster::addHp($fbb, 80); \MyGame\Example\Monster::addName($fbb, $str); $mon = \MyGame\Example\Monster::endMonster($fbb); $fbb->finish($mon); echo $fbb->sizedByteArray(); PHP 5.4 higher Currently, we do not register this library to packagist as still experimental and versioning problem. If you intended to use flatbuffers with composer. add repostiories section to composer.json like below. "repositories": [{ "type": "vcs", "url": "https://github.com/google/flatbuffers" }], and just put google/flatbuffers. "require": { "google/flatbuffers": "*" } * PHP's integer is platform dependant. we strongly recommend use 64bit machine and don't use uint, ulong types as prevent overflow issue. ref: http://php.net/manual/en/language.types.integer.php * php don't support float type. floating point numbers are always parsed as double precision internally. ref: http://php.net/manual/en/language.types.float.php * ByteBuffer is little bit slow implemnentation due to many chr/ord function calls. Especially encoding objects. This is expected performance as PHP5 has parsing arguments overhead. probably we'll add C-extension. Basically, PHP implementation respects Java and C# implementation. Note: ByteBuffer and FlatBuffersBuilder class are not intended to use other purposes. we may change internal API foreseeable future. PSR-2, PSR-4 standards. Implemented simple assertion class (respect JavaScript testcase implementation) as we prefer small code base. this also keeps CI iteration speed. we'll choose phpunit or something when the test cases grown.
/external/flatbuffers/src/flatc.cpp
|
2107a7d5142f0b47bd22fc7581dea1abe9c1e61f |
|
29-Oct-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed assert in flatc converting to text. Change-Id: Idac375b22aa9beaba162084cc3396f5536a4e721 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
224e33ed09235628938970f6c672d6e2a69f5c6c |
|
17-Aug-2015 |
Evan Wallace <evan.exe@gmail.com> |
Add support for JavaScript code generation This adds a JavaScript language target. The generated JavaScript uses Google Closure Compiler type annotations and can be compiled using the advanced compilation mode, which performs type checking and optimizations such as inlining and dead code elimination. The generated JavaScript also exports all generated symbols for use with Node.js and RequireJS. This export behavior can be turned off with the --no-js-exports flag for use with Google Closure Compiler.
/external/flatbuffers/src/flatc.cpp
|
c02b16e19590bb53baf0482d254109030442eaed |
|
15-Sep-2015 |
vijairaj <vijairaj.r@gmail.com> |
Implemented option --scoped-enum for C++ generator This generates C++11 style scoped and strongly typed enums. Enabling this option also implies --no-prefix.
/external/flatbuffers/src/flatc.cpp
|
5db12e9907e52bdbee9af5725df166eeda184a06 |
|
11-Sep-2015 |
Jason Sanmiya <jsanmiya@google.com> |
Fix Visual Studio 2012 build warning. Also, remove execute permissions on several source files. Tested: Builds on Visual Studio 2012, and Linux. Change-Id: Idaacb2ae8eba98ce2974218c2ab840e97a1d67e9
/external/flatbuffers/src/flatc.cpp
|
6aeb09b297860061047fa89b4f1129519cc7cf0b |
|
04-Aug-2015 |
Stewart Miles <smiles@google.com> |
Clarified the use of the deprecated flatc --gen-includes flag. Also, removed the flag from the Android makefile. Tested: Verified flatc builds successfully on Linux and regenerated the docs. Change-Id: I7140daa10b7cb9a29b5ffd63c6b20489e72a5899
/external/flatbuffers/src/flatc.cpp
|
dca3ccf5fdae77a43a5f6779349c80f27ddeb2eb |
|
26-Jun-2015 |
Rafael Munitić <rafael.munitic@gmail.com> |
Fixed argument value to correct type
/external/flatbuffers/src/flatc.cpp
|
ad3fd6ecbfdd7cfc13e00fc8b7ebd49f7efdee2b |
|
16-Jun-2015 |
Amol Deshpande <amol.deshpande@outlook.com> |
merge
/external/flatbuffers/src/flatc.cpp
|
40fffc8fff1c725add39482785b35386a7f8cf9c |
|
13-Jun-2015 |
Amol Deshpande <amol.deshpande@outlook.com> |
fix code formatting and bug with losing enums when using --gen-onefile
/external/flatbuffers/src/flatc.cpp
|
2f761418138819bbe04be92b8595c52cca089ce8 |
|
07-Jun-2015 |
Amol Deshpande <amol.deshpande@outlook.com> |
option to generate one file for C#
/external/flatbuffers/src/flatc.cpp
|
ecf5a6a580980af8f6ef83b513011f35dddc0c2b |
|
28-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added --defaults-json to output fields at default value. 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.
/external/flatbuffers/src/flatc.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/flatc.cpp
|
f59bfdd084967db21adfeb9a05e212feed4f563b |
|
07-May-2015 |
Jason Sanmiya <jsanmiya@google.com> |
Add missing newline in help text for flatc. Tested: Help text displays correctly now. Change-Id: Ibbdc810ae41e24321860879064bdc64f78a67cb9
/external/flatbuffers/src/flatc.cpp
|
c49c6da80346c6d648afd94257ea2942489d3018 |
|
04-May-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Added extra checks for reading binaries in flatc By default, disallow reading binaries that do not correspond to the schema file_identifier. Override with --raw-binary Change-Id: I24822c0e4c80dab4e5a238ae2b6e601a09025c27 Tested: on Linux.
/external/flatbuffers/src/flatc.cpp
|
3ec5dddb00dac9ae72a2f6808ed28b06cb64cdab |
|
28-Apr-2015 |
Wouter van Oortmerssen <wvo@google.com> |
Mutable FlatBuffers: in-place updates. 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
/external/flatbuffers/src/flatc.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/flatc.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/flatc.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/flatc.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/flatc.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/flatc.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/flatc.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/flatc.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/flatc.cpp
|
9a1f7be6fd318ddd9545926b5925cf0a10a083e4 |
|
09-Sep-2014 |
evolutional <oli@evolutional.co.uk> |
Initial commit of .NET port of FlatBuffers Include C# codegen in flatc and .NET FlatBuffer access via the FlatBufferBuilder class Tested: on Windows. Change-Id: If5228a8df60a10e0751b245c6c64530264ea2d8a
/external/flatbuffers/src/flatc.cpp
|
ffb3dec573280414d9a3bf7b0d6c6289668a63df |
|
22-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Prefixing of enum value identifiers in C++ is now optional. See -P option to flatc. Bug: 16814856 Change-Id: I855973df6afa27e0efa27cf9c4b4aee8a1fcdd22 Tested: on OS X.
/external/flatbuffers/src/flatc.cpp
|
51ba48ae40fb939722af3a2629a8a93c652ba47d |
|
22-Aug-2014 |
Wouter van Oortmerssen <wvo@google.com> |
flatc now outputs the filename with error messages. Bug: 16683956 Change-Id: Id8435e868899ca0bbf0add84852a54bfaea63b4a Tested: on OS X.
/external/flatbuffers/src/flatc.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/flatc.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/flatc.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/flatc.cpp
|
63f21cb2a5235c2e2326bc3890f77a3ec50b9996 |
|
22-Jul-2014 |
Stewart Miles <smiles@google.com> |
Merge "Terminate the output directory argument of flatc." into ub-games-master
|
60acef94e1c3b9b8bf6e94e8b06ff3651dab0627 |
|
22-Jul-2014 |
Stewart Miles <smiles@google.com> |
Terminate the output directory argument of flatc. 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
/external/flatbuffers/src/flatc.cpp
|
9143a93312b65955511838fafddf56301716be41 |
|
16-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Small fixes to the core C++ FlatBuffers implementation. - 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.
/external/flatbuffers/src/flatc.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/flatc.cpp
|
df2e0db63d22a37f69efc57444ce8ff35317ec5e |
|
11-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
flatc can now convert flatbuffer binary files into json. 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
/external/flatbuffers/src/flatc.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/flatc.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/flatc.cpp
|
f0b3c75779ead7bad94955559865675087eb4f61 |
|
02-Jul-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Fixed flatc not stripping the path from the base filename. 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
/external/flatbuffers/src/flatc.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/flatc.cpp
|