- 31 May, 2019 4 commits
-
-
Alexander Gallego authored
* c++: Add command line option to add extra includes to gen files Fixes #5351 We have an ability to pass custom types for strings, allocators, etc but have no way to tell the generator to include the classes in gen code * c++: remove std::strtok for std::string methods. passes msvc compile * generate_code.sh: add --cpp-includes to the test gen script * tests:generate.bat: update code gen scripts w/ --cpp-includes * cpp: use command line parsing for extra includes s/--cpp-includes/--cpp-include/g Simplify command line parsing of includes by using a std::vector. * cpp: idl.h: move std::vector for cpp_includes as the last member msvc does not understand initalization list on our CI server * cpp:msvc: CI fails on for-range loops * cpp:codegen: fix error reporting on flatcc * as per code review: remove unwated --cpp-include in the tests/generate_code.{sh,bat}
-
Wouter van Oortmerssen authored
This is done on purpose, to avoid API version mismatches that can cause bad decoding results, see: https://github.com/google/flatbuffers/issues/5368 Change-Id: I2c857438377e080caad0e2d8bcc758c9b19bd6ec
-
Wouter van Oortmerssen authored
Change-Id: I7f1f12f2f97e5227e0dabc2965ce66a6d41c229c
-
360 CodeSafe authored
add an assert to make sure that `key_field` is not a null pointer.
-
- 30 May, 2019 4 commits
-
-
mugisoba authored
-
emkornfield authored
* Fix Undefined behavior for zero length vectors * Change fix for UBSan
-
iceboy authored
-
Marc Butler authored
For schema enums with the bit_flags attribute, generate the corresponding System.FlagsAttribute in generated Csharp code.
-
- 23 May, 2019 1 commit
-
-
aardappel authored
-
- 22 May, 2019 5 commits
- 21 May, 2019 3 commits
-
-
Siddhartha Bagaria authored
-
jonsimantov authored
-
Siddhartha Bagaria authored
-
- 20 May, 2019 2 commits
-
-
David Reiss authored
Fixes #5357 (regression introduced by #5235)
-
David Cowan authored
* Added a cpp UnPackSizePrefixed<struct_name> generated helper function Missing helper function added to the cpp API generator for unpacking size prefixed structures * Added generated test files
-
- 17 May, 2019 1 commit
-
-
David Reiss authored
* [Go] Make enums into real types, add String() This changes the generated code for enums: instead of type aliases, they're now distinct types, allowing for better type-checking. Some client code may have to be changed to add casts. Enum types now have a String() method, so they implement fmt.Stringer. An EnumValues map is now generated, in addition to the existing EnumNames map, to easily map strings to values. Generated enum files are now gofmt-clean. Fixes #5207 * use example.ColorGreen explicitly * use valid enum value in mutation test, add new test for "invalid" enum * add length check and comment
-
- 16 May, 2019 3 commits
-
-
Siarhei Fiedartsou authored
-
mmoscicki2 authored
Before this commit tests for iterators passed, even if the code inside the loop has not been executed.
-
Björn Harrtell authored
* WIP size prefix support * Consider size prefix in overloaded variant * Work on code gen * Disabled helper functions in code gen * Enabled helper functions in code gen * Fix size prefixed test * Fix bad function call * Add SIZE_PREFIX_LENGTH * Fix review comments
-
- 13 May, 2019 1 commit
-
-
iceboy authored
* use fixed order for golang imports * grumble
-
- 09 May, 2019 4 commits
-
-
Vladimir Glavnyy authored
-
Vladimir Glavnyy authored
* Set default CRTReportMode for the `flatc` target * Add util.cpp to GRPC test target * Fix path to util.h
-
Vladimir Glavnyy authored
- update C++ monster_test::Color to unsigned type - update Go Color:ubyte in the go_test.go - add workaround for unsigned enum in java test - sync generate.bat and generate.sh
-
Vladimir Glavnyy authored
-- MSVC2010 doesn't support indexed access to \0-terminator.
-
- 08 May, 2019 1 commit
-
-
Will Stott authored
-
- 06 May, 2019 3 commits
-
-
Malthe Borch authored
* Use a hash table to index existing vtables This allows for quick deduplication even in situations where there might be thousands of vtables due to 'combinatoric explosion'. This fixes issue #5301. * Refactor 0-offset trimming * Improve deduplication benchmark The routine now generates a set of realistic logical layouts and uses a timer function that randomly picks a layout for each iteration. The benchmark runs in batches of # of logical layouts = 1, 10, 100, 1000. (Note that due to alignment, the actual number of vtables is usually slightly higher.)
-
Vladimir Glavnyy authored
- add monster_extra.fbs - add monsterdata_extra.json
-
Lee Mracek authored
-
- 02 May, 2019 2 commits
-
-
Vladimir Glavnyy authored
- MonsterExtra table a root table - add mosterdata_extra.json
-
Vladimir Glavnyy authored
* Fix issues with uint64 enums - hide the implementation of enums from code generators - fix uint64 the issue in the cpp-generator - fix #5108 - new tests - enums with bit_flags attribute should be unsigned * Refine objectives of EnumDef's FindByValue and ReverseLookup methods - move EnumDef::ReverseLookup implementation to idl_parser.cpp - fix typos * Make the IsUInt64 method private
-
- 29 Apr, 2019 1 commit
-
-
László Csomor authored
-
- 27 Apr, 2019 1 commit
-
-
jean-airoldie authored
* Added Clone, Debug and Default
-
- 24 Apr, 2019 4 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I57ccbe0b9ccbbec65ca04f9db3cbd62243480d92
-
Wouter van Oortmerssen authored
Change-Id: I402d857eef9f3e5f3765427c5d3b868ed5a3a22e
-
Wouter van Oortmerssen authored
Change-Id: I716f6b915adfa6682b5d864857abf7d491d788b5
-
Wouter van Oortmerssen authored
Change-Id: I0c87ad2cf8f8768cf40c5b7abea0add087a5518a
-