- 09 Dec, 2016 2 commits
-
-
Manolama authored
This was causing build failures with tools dependent on Flatbuffers in Go. E.g. go/src/github.com/google/flatbuffers/go/sizes.go:50: undefined: unsafe in unsafe.Pointer
- 07 Dec, 2016 3 commits
- 05 Dec, 2016 1 commit
-
-
Ronak Jain authored
* 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
-
- 02 Dec, 2016 2 commits
-
-
Wouter van Oortmerssen authored
The following changes have been made to the C++ codegen to enable writing generic code that uses the Table and NativeTable types. - Adds TableType and NativeTableType typedefs to NativeTable and Table structs. - Adds GetFullyQualifiedName() to NativeTables if --gen-name-strings is set. - Adds a static Pack function to Tables that simply calls the global CreateX functions. See cr/140391505 as an example of improved usage. From cl/140529288. Change-Id: Idec137c16129e15c1783f94fabdcea24aeeaaef6
-
Wouter van Oortmerssen authored
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
-
- 21 Nov, 2016 1 commit
-
-
https://github.com/google/flatbuffersWouter van Oortmerssen authored
Change-Id: I02b00b22cdd2d1bd32de3273ff69185c9b0f4e5b
-
- 18 Nov, 2016 2 commits
-
-
The Gitter Badger authored
-
benssson authored
account underlying buffer's byte offset.
-
- 16 Nov, 2016 1 commit
-
-
Antoine Descamps authored
I've faced an issue where I want to serialize UTF-8 emojis and FlatBufferBuilder::is_utf8 would return false on them. I was not able to add the corresponding hexadecimal code because I don't understand how the whole thing works but what i've done is using the `mb_detect_encoding` function which handles correctly all supposed UTF-8 characters.
-
- 09 Nov, 2016 1 commit
-
-
garretmcgraw authored
Making flatbuffers JSON parsing deal with unexpected null values when unknown JSON is allowed. (#4083)
-
- 07 Nov, 2016 3 commits
-
-
Michael Paulson authored
* chore(lint) I accidentally let 2 pieces of lint in with my generated code. * fix(generate-code): I did not generate all the required code for tests.
-
-
Wouter van Oortmerssen authored
Fixed generation of a trailing comma and removed unnecessary use of a lambda. Change-Id: I9993f6eb83e2ebc36fc40295a2059c340c1fbe03 Tested: on Linux.
-
- 02 Nov, 2016 1 commit
-
-
The Gitter Badger authored
-
- 26 Oct, 2016 1 commit
-
-
benssson authored
account underlying buffer's byte offset.
-
- 24 Oct, 2016 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ib0b1692044f35e374a0f7c0359c94319f4a25619
-
- 22 Oct, 2016 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I06fb61edf018adf0f26a81de4596b4972226e466 Tested: on Android. Bug: 30263829
-
- 21 Oct, 2016 4 commits
-
-
-
Wouter van Oortmerssen authored
Also fixed structs not being created inline in the tutorial, which would actually have bad consequences if used. Change-Id: Idce215c61a1b24a297cee76f625052bb2722e970
-
cajun-rat authored
* Make parameter order in jsdocs match function When the order doesn't match the Google Closure Javascript compiler generates warnings * Prefix optional parameters with opt_ The Closure Compiler emits warnings when this isn't the case
-
Baptiste Lepilleur authored
* Java: emit "signed" equivalent of unsigned default value in generated code and add "L" suffix to long default value. * Updated generated code * Only convert ulong to "signed" equivalent. ubyte and ushort don't need specific handling as "user facing" type is int. uint need 'L' suffix as "user facing" type is long. * Added missing cast to primitive type of default value which is in "user facing" type in builder.add<type>() calls. * Do not cast default value to actual type in C#.
-
- 19 Oct, 2016 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Ia63e41d0304e8668ea4ce09a4c31dd999eb96994 Tested: on Linux. Bug: 32218623
-
- 17 Oct, 2016 6 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I6d0e8469bfa5b4c8a3f1cb119e186f4cf62c76ae
-
Wouter van Oortmerssen authored
Tested on Linux. Change-Id: Ie18d6857f9ae8b1c3953a116203b4a8bb70a2ede
-
Wouter van Oortmerssen authored
Change-Id: I5f538d12ea37d11d2e239ddde32eefcdd91e347b Tested: on Linux.
-
-
Zhe Wang authored
-
Wouter van Oortmerssen authored
Change-Id: I945890ce667a2f5a6c0495e78fd5326ed33b9914 Tested: on Linux. Bug: 30135763
-
- 12 Oct, 2016 8 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I2cab7a1f68b8e643c1057e0a366572421a94ed41 Tested: on Linux.
-
Wouter van Oortmerssen authored
Change-Id: I814008b6eeffec9bd4b8810e4b29db9ea6218bb8
-
Wouter van Oortmerssen authored
Change-Id: Ifb977411b65f8721cf9db891d7a62798bd593c0c
-
-
Wouter van Oortmerssen authored
Bug: 30736848 Signed-off-by:
Wouter van Oortmerssen <wvo@google.com>
-
Wouter van Oortmerssen authored
These are useful for streaming FlatBuffers. The functionality ensures proper alignment of the whole buffer. Tested: on OS X. Bug: 27123865 Change-Id: Ic7d75a618c1bb470ea44c4dcf202ff71f2b3f4f1 Signed-off-by:
Wouter van Oortmerssen <wvo@google.com>
-
Wouter van Oortmerssen authored
Change-Id: I4c27892c249527980d8f52a2cca801dace70289f
-
Wouter van Oortmerssen authored
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
-
- 07 Oct, 2016 1 commit
-
-
Baptiste Lepilleur authored
flatc java generator: namespace_test2.fbs is missing namespace prefix for referToA2() return type (#4040) * Fix flatc generating incorrect java/c# code for namespace_test2.fbs. In code for TableInC, method referToA2() returned type SecondTableInA instead of NamespaceA.SecondTableInA. * Updated generated code. * Fixed indendation.
-