- 21 Dec, 2016 1 commit
-
-
wvo authored
Change-Id: Ie854ace69a21ef685e1ade5584f9d9ce4e8b41f1
-
- 20 Dec, 2016 5 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I11548bfa3cfe307598eb59c56412974c349d614d
-
Wouter van Oortmerssen authored
Change-Id: Id7053e4cb5a085a4b047c86ff1f2269329ff7f54
-
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
Bug: 22346508 Change-Id: I3f6e6b2811adaaf9d79faca8cdd00af3927299b5
-
- 19 Dec, 2016 2 commits
-
-
Wouter van Oortmerssen authored
From cl/142307012. Change-Id: I54d550573f6506b92ad18e7cc90bcd8589259e52
-
Wouter van Oortmerssen authored
Unions own the NativeTable* value member because they need to destroy them when the Union goes out of scope. Currently, the data is destroyed by calling delete, which means that the member needs to be allocated with new. However, making the allocation the responsibility of the client and the destruction the responsibility of the Union can lead to potential errors. Adding a Set function will ensure that the memory is allocated correctly so that it can be deleted later. From cl/142161569. Change-Id: I4605f26d2749164819bfae0140e5fae08442b50a
-
- 16 Dec, 2016 2 commits
-
-
Zarian Waheed authored
* Changes for verifying a buffer dynamically using reflection. * Fixing build issues on linux and applied code reformatting. * Fixing the file order in cmake file that was messing up the macro based code inclusion. Added tests for reflection based verification. * Changes for verifying a buffer dynamically using reflection. Fixing build issues on linux and applied code reformatting. Fixing the file order in cmake file that was messing up the macro based code inclusion. Added tests for reflection based verification. * Incorporated the code review changes that were requested: 1. Changed the Verify function signature. 2. Changed the variable names to use snake_case. 3. Added better comments. 4. Refactored duplicate code. 5. Changed the verifier class so that it has the same size when compiled with or without FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE macro. * Setting FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE and FLATBUFFERS_DEBUG_VERIFICATION_FAILURE through cmake for flattests so that it gets propagted to all translation units of flattests. * Making the Verifier struct fields the same in all cases. Also reverting the target_compile_definitions change in cmake file because build machine on travis does not have cmake version 3.0 or higher which was the version when target_compile_definitions was added in cmake. * Defining macros through cmake in a portable way using functions that are available in cmake 2.8.
-
krupnov authored
* random access iterator for vector added * Style changes
-
- 14 Dec, 2016 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I7d23fa3416feb78ea18d2c451e7b4e1d9be11bfc
-
Wouter van Oortmerssen authored
Change-Id: Iceb1f5b78cff6227905b8a23eb70e9ef6ce909ed
-
- 13 Dec, 2016 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Iff630905b5f90814c5f728e3c0e10f7fcd67c7fe
-
- 12 Dec, 2016 1 commit
-
-
Ricardo Quesada authored
update json with documentation removed comments
-
- 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 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I6d0e8469bfa5b4c8a3f1cb119e186f4cf62c76ae
-