- May 16, 2018
-
-
Petr Hosek authored
Change-Id: Ia38c7f79ceab917b776af8cab66d51f520b1876f
-
- Apr 04, 2018
-
-
Damien Miller authored
Change-Id: I393ba3f7460d59c360ee68a23b6b20e1e95a96ad
-
- Mar 05, 2018
-
-
Damien Miller authored
Upstream obtained from existing git remote SEC-17 Change-Id: I6ab4a6e93b2641aac5e95c0ed8fccf00153d6a93
-
- Sep 27, 2017
-
-
Benjamin Lerman authored
This is necessary because the generated header for the dependency will be part of the header for the generated target. Change-Id: I1a6050f905d42d82565bff8fc32bf23fec69cfc8
-
- Jan 30, 2017
-
-
Benjamin Lerman authored
Change-Id: I5141428779483240e25ccc2629fab6f179376bdb
-
- Jan 25, 2017
-
-
Benjamin Lerman authored
Because includes are generated without directory, this exports the directory where generated headers are produced to the include path of the dependent target. Change-Id: I8058553f69aadf29cc1a2926fc27664d023e6e1d
-
- Jan 24, 2017
-
-
Benjamin Lerman authored
Change-Id: I24dec21ce0fe472cd7cde77e883a9eabbb45b87a
-
- Jan 19, 2017
-
-
Benjamin Lerman authored
Change-Id: I77a9ca293e0cafd8949b33730e27fcb7c8a215e7
-
- Jan 03, 2017
-
-
Wouter van Oortmerssen authored
Change-Id: I34007829cdd3ad024df21f68bb369016d5d21131
-
Yonggang Li authored
-
- Dec 28, 2016
-
-
CarsarSky authored
-
- Dec 22, 2016
-
-
-
Wouter van Oortmerssen authored
Change-Id: I60418d597b497c3cfa655ad76b3128351e9139f2
-
Ankur Dave authored
3a1f7761 added a required identifier parameter to Verifier::VerifyBuffer but did not update the templated call site in BufferRef. This causes errors like the following when trying to instantiate the call site by calling BufferRef::Verify(): include/flatbuffers/flatbuffers.h: In instantiation of ‘bool flatbuffers::BufferRef<T>::Verify() [with T = MyType]’: MyApp.cpp:16:3: required from here include/flatbuffers/flatbuffers.h:1421:37: error: no matching function for call to ‘flatbuffers::Verifier::VerifyBuffer()’ return verifier.VerifyBuffer<T>(); ^ include/flatbuffers/flatbuffers.h:1421:37: note: candidate is: include/flatbuffers/flatbuffers.h:1352:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ include/flatbuffers/flatbuffers.h:1352:29: note: template argument deduction/substitution failed: include/flatbuffers/flatbuffers.h:1421:37: note: candidate expects 1 argument, 0 provided return verifier.VerifyBuffer<T>(); ^ This commit fixes the BufferRef call site by adding a nullptr argument.
-
Zarian Waheed authored
* Added helper methods to access struct through reflection. Also added unit test for it. * Added a TODO comment to check for the is_struct flag.
-
Wouter van Oortmerssen authored
Change-Id: I556e1c103e8501dc144b16c8698463253de6f4fb
-
Wouter van Oortmerssen authored
Change-Id: I12b31227d4545a8897f638754d6a9ccd029f177e
-
- Dec 21, 2016
-
-
wvo authored
Change-Id: Ie854ace69a21ef685e1ade5584f9d9ce4e8b41f1
-
- Dec 20, 2016
-
-
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
-
- Dec 19, 2016
-
-
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
-
- Dec 16, 2016
-
-
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
-
- Dec 14, 2016
-
-
Wouter van Oortmerssen authored
Change-Id: I7d23fa3416feb78ea18d2c451e7b4e1d9be11bfc
-
Wouter van Oortmerssen authored
Change-Id: Iceb1f5b78cff6227905b8a23eb70e9ef6ce909ed
-
- Dec 13, 2016
-
-
Wouter van Oortmerssen authored
Change-Id: Iff630905b5f90814c5f728e3c0e10f7fcd67c7fe
-
- Dec 12, 2016
-
-
Ricardo Quesada authored
update json with documentation removed comments
-
- Dec 09, 2016
-
-
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
- Dec 07, 2016
- Dec 05, 2016
-
-
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
-
- Dec 02, 2016
-
-
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
-
- Nov 21, 2016
-
-
https://github.com/google/flatbuffersWouter van Oortmerssen authored
Change-Id: I02b00b22cdd2d1bd32de3273ff69185c9b0f4e5b
-