Wouter van Oortmerssen
5d3cf440e5
Updated Lobster test for optional bools/enums
...
The codegen for this was already correct, just added more tests
2020-10-02 10:53:47 -07:00
Wouter van Oortmerssen
f3003e08d0
[Lobster] missed a test
2020-08-18 14:29:44 -07:00
Wouter van Oortmerssen
d713a00843
[CMake] enabled multi-core builds in VS projects
2020-08-18 14:00:22 -07:00
Wouter van Oortmerssen
77f966f89f
[Lobster] optional scalars support
2020-08-18 14:00:02 -07:00
Wouter van Oortmerssen
94a78e3853
Fixed: Access violation and ASAN/UNSAN failures with sorted tables
...
https://github.com/google/flatbuffers/issues/5945
2020-06-08 09:50:40 -07:00
Wouter van Oortmerssen
f12cca8bcb
Attempt at adding Github Actions CI
2020-05-05 13:56:37 -07:00
Wouter van Oortmerssen
40ba170c94
Fixed text in internals doc that implied structs can be root
2020-04-23 09:28:22 -07:00
Wouter van Oortmerssen
697147a2e6
updated maven build files
...
Change-Id: I33c69978fe7a22485a7fd5ceb7a480e84e8bcdb3
2020-03-16 11:33:42 -07:00
Wouter van Oortmerssen
6df40a2471
pre-tag version bump for 1.12
...
Change-Id: I84a9365e9d8a1afe333b1df85058401ffe0a6b7c
2020-03-12 15:33:39 -07:00
Wouter van Oortmerssen
89b6183ee9
Fix Python min alignment
...
This was accidentally deleted in:
https://github.com/google/flatbuffers/commit/9fa8245e81a2fd8ad19f9ae8f3da3a00e796e462
Change-Id: I8cad721e075279f6a67aca81259f73fb75aba482
2020-03-09 16:46:41 -07:00
Wouter van Oortmerssen
f73d205bc7
Removed assert that wasn't backwards compatible.
...
Change-Id: I8e74d6fddf91fe955fffc572af9d671160325731
2020-03-05 17:21:47 -08:00
Wouter van Oortmerssen
7c37abe92d
[C#] add ObjectAPI Serialization Utility ( #5785 )
...
* [C#] add ObjectAPI Serialization Utility
* set InitialBufferSize to 64k
* rename SerializeToFlatBuffers to SerializeToBinary
2020-03-05 09:33:22 -08:00
Wouter van Oortmerssen
4749e77b0e
Fixed docs on how to obtain parser error.
...
Change-Id: Ib3ffbdf51ef6af1f5c8267b84b84dceed9d4a838
2020-03-02 12:16:02 -08:00
Wouter van Oortmerssen
8f56990f6c
FlexBuffers: C++: scalar-only typed vectors were not aligned.
...
This means data written with older versions of this code has
potentially misaligned data, which we'll need to support.
This isn't a problem on most architectures, but could be on
older ARM chips. To support them properly may require swapping
out uses of `flatbuffers::ReadScalar` with a version that does a
memcpy internally.
Change-Id: Ib352aab4a586f3a8c6602fb25488dcfff61e06e0
2020-02-06 11:56:28 -08:00
Wouter van Oortmerssen
55686100aa
Changed direct calls to strtod to use StringToNumber
...
StringToNumber will correctly use locale-insensitive functions
when available.
Change-Id: I6bde11039a541634186f8f791012af2eb0d86b8d
2020-01-09 11:48:09 -08:00
Wouter van Oortmerssen
3cd9b6434a
Removed code_generators.cpp from library targets
...
Change-Id: Ia6e032a77983bf1838b8675f51d1c910acc991d8
2020-01-02 08:50:39 -08:00
Wouter van Oortmerssen
31f8799083
Minor doc updates: FlexBuffers C#, Discord, CppUsage.
...
Change-Id: Ie34ff580eb2f41ff35f85271b10865f4a14d0dca
2019-12-26 12:36:41 -08:00
Wouter van Oortmerssen
3a70e0b308
Fixed struct initialization error on older versions of C#
...
"'this' object cannot be used before all of its fields are assigned to"
Change-Id: Icccdcc0d0be0fe0b87abe0eb28fe1cc91116fcfb
2019-12-23 17:35:54 -08:00
Wouter van Oortmerssen
9b13201356
Fixed warnings in FlexBuffers.java
...
- Missing return statement <- bug!
- Missing hashCode function.
Change-Id: I6333cac72adf8ead92ab2e6c7215650ce4571a73
2019-12-23 17:11:57 -08:00
Wouter van Oortmerssen
5e3916050c
Fixed out of date licenses on gRPC Python files.
...
Change-Id: Ia6c3bf5d7da795db46c0baa8e9c7591de3400517
2019-12-23 14:01:41 -08:00
Wouter van Oortmerssen
c957550511
Removed test proto output.
...
Change-Id: Iaf64bec068d03dd1b75670e9a28dde7392ebddb5
2019-12-23 12:33:16 -08:00
Wouter van Oortmerssen
3e8f15df90
Fix for FlexBuffers FBT_VECTOR_STRING size bit-width.
...
For details, test.cpp/FlexBuffersDeprecatedTest(), and also
https://github.com/google/flatbuffers/issues/5627
Change-Id: I6e86e1138a5777e31055cfa2f79276d44732efbc
2019-12-23 11:49:59 -08:00
Wouter van Oortmerssen
d7530ae961
Fixed enum min/max values not properly escaped.
...
Change-Id: I503fbfaff1d2579807ca71a07cca8363dff75e52
2019-12-05 14:28:36 -08:00
Wouter van Oortmerssen
33d5dd9bdd
Improved pull request & clang-format instructions.
...
Change-Id: Ia439bcc61bac5788792244d10e573b1fba54b347
2019-11-07 14:37:33 -08:00
Wouter van Oortmerssen
e837d5a296
Fixed deprecated method in GRPC Java test.
...
Change-Id: Iccae8fe9409adbf3cd3013a5cf3368e068175ad3
2019-11-04 17:23:01 -08:00
Wouter van Oortmerssen
9834ee9787
Fixed Apache license not using canonical version.
...
Now identical to https://www.apache.org/licenses/LICENSE-2.0.txt
Change-Id: I6eab8bdee2472107dfc72265e204fdd16f3abc2e
2019-11-04 17:15:56 -08:00
Wouter van Oortmerssen
df3e8bf4a7
Fixed warnings generated by recent JSON sorting feature.
...
Change-Id: I6fd6283b616c7a39bb878b1610e4ddf6e208fa0a
2019-10-17 15:16:40 -07:00
Wouter van Oortmerssen
32f47ad247
Fixed JSON parser not sorting vectors of tables/structs with key.
...
Change-Id: Iacc0c8513af80a736700e6cbaf513ebdf8e3ac89
2019-10-10 15:25:39 -07:00
Wouter van Oortmerssen
f1147f65bb
Fixed Android STLPort related error.
...
Change-Id: I59ff072e526fc63b3215767a4d4a2a8944b65654
2019-09-30 12:12:36 -07:00
Wouter van Oortmerssen
917687c7a6
Fixed Reflection Verifier not handling vectors of unions.
...
Change-Id: Ie94386ff8e10fd2a964bd9155139b50953746a37
2019-09-16 17:48:54 -07:00
Wouter van Oortmerssen
f9277e691d
Fixed GenerateText not handling vectors of unions.
...
Change-Id: Ie82abaf178495c4692e7d10be6b4a13f2fa1bee6
2019-09-16 14:44:14 -07:00
Wouter van Oortmerssen
bd31dd2425
Clarified value reuse in FlexBuffers
...
Change-Id: Ib771bfa46ccdf38eff25be857b1b73f8b300c649
2019-08-26 14:59:21 -07:00
Wouter van Oortmerssen
65b67d2132
Fixed test build invocation of arrays_test.fbs
...
Change-Id: Idfc8d9cfbdefda44f803a6232700842ee6b6bffd
2019-08-26 14:33:38 -07:00
Wouter van Oortmerssen
1fbb711324
FlexBuffers: allow any values to be shared.
...
(see comments in the code).
Change-Id: I5603abb0db436145739653692644bbcfd3c946e3
2019-08-26 14:17:52 -07:00
Wouter van Oortmerssen
cd75a36587
Android: remove app_dummy() calls
...
Change-Id: I0ebd4502f98d009ce5afe8c8bafb629284f0366c
2019-08-23 14:33:16 -07:00
Wouter van Oortmerssen
ec6b0bf297
Fixed STLPort Android compile error
...
Change-Id: I3595b9c6803718f34ce61fdfc367da97b50dc444
2019-08-23 14:17:33 -07:00
Wouter van Oortmerssen
b97b342f59
Fixed missing generated code.
...
Change-Id: Iaa0633167c2a4d4543fc4de2af58112d60d5d1e6
2019-08-19 17:57:23 -07:00
Wouter van Oortmerssen
c953fa572b
Renamed stale label from "wontfix" to "stale".
...
Change-Id: Iea88624d9d90e029a64cab9edf4e7c1cfc005e4a
2019-07-29 11:43:54 -07:00
Wouter van Oortmerssen
a1f7ecd148
Made stale.yml friendlier.
2019-07-26 18:56:56 -07:00
Wouter van Oortmerssen
d7c2b388ef
Add .github/stale.yml to auto close stale issues and PRs.
...
See https://probot.github.io/apps/stale/
Change-Id: I8176eeb21dbcd516f1d6f7b1e8c28602cdd9332a
2019-07-26 17:49:40 -07:00
Wouter van Oortmerssen
d4fa984f1d
Added missing Kotlin generated code change.
...
Change-Id: I7eeee6519b6dc619691437e44272cf5424d0d4ca
2019-07-25 11:08:06 -07:00
Wouter van Oortmerssen
ff1a22a05f
Fixed broken Utf8Old.java
...
This would not correctly encode/decode strings when substituted for
the default Utf8Safe.java
Change-Id: Ib303697663b5b8cbf6888492f5255b2a45384c04
2019-06-24 16:54:28 -07:00
Wouter van Oortmerssen
123c7a4890
Updated missing generated code for PR #5313 (fixed arrays)
...
Change-Id: I249140119e6241beb5aec5670d0e5ccddc8f5251
2019-06-20 10:21:10 -07:00
Wouter van Oortmerssen
b652fcc3a7
Break internal Java/C# APIs
...
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
2019-05-31 13:00:55 -07:00
Wouter van Oortmerssen
c978b9ef1f
Enforce matching version in Java and C#.
...
Change-Id: I7f1f12f2f97e5227e0dabc2965ce66a6d41c229c
2019-05-31 12:15:19 -07:00
aardappel
43dbac5d25
Lobster: added builder API for tables
2019-05-22 19:42:13 -07:00
aardappel
53ea1ab1bd
Lobster documentation fixes
2019-05-22 16:01:51 -07:00
aardappel
b10b050ab9
Made Lobster builder offsets strongly typed
2019-05-22 15:55:28 -07:00
aardappel
563dcd6893
Made Lobster API use strongly typed enums
2019-05-22 15:28:16 -07:00
aardappel
30ac512a54
Fixed Lobster implementation to work with latest language features
2019-05-22 11:48:10 -07:00
aardappel
b04736f9bd
Fixed warnings in idl_gen_go.cpp
2019-05-21 18:54:26 -07:00
Wouter van Oortmerssen
ac14c8906f
Update GRPC Java generated file.
...
Change-Id: I57ccbe0b9ccbbec65ca04f9db3cbd62243480d92
2019-04-24 12:34:42 -07:00
Wouter van Oortmerssen
9936adf473
[maven-release-plugin] prepare for next development iteration
...
Change-Id: I402d857eef9f3e5f3765427c5d3b868ed5a3a22e
2019-04-24 12:09:50 -07:00
Wouter van Oortmerssen
bf9eb67ab9
[maven-release-plugin] prepare release 1.11.0
...
Change-Id: I716f6b915adfa6682b5d864857abf7d491d788b5
2019-04-24 12:09:44 -07:00
Wouter van Oortmerssen
9e7e8cbe9f
Bumped version to 1.11.0
...
Change-Id: I0c87ad2cf8f8768cf40c5b7abea0add087a5518a
2019-04-24 11:34:53 -07:00
Wouter van Oortmerssen
2032b94f61
Fixed file access test in the wrong location.
...
Change-Id: I520339b442306204563d97743efe988eab459c08
2019-04-22 09:58:29 -07:00
Wouter van Oortmerssen
5b43e4bbb8
Fix heap-buffer-overflow if there is a struct within a union
...
The validator previously did not check if a struct within a union was
valid, causing a heap buffer overflow. Add a check to make sure that
the struct is valid in this case.
Change-Id: I87d41b12fdfc2a99406789531ba92b841c063c76
2019-04-19 11:49:49 -07:00
Wouter van Oortmerssen
f55d4388e0
Update snap to use "flatbuffers" as name
2019-04-18 13:50:04 -07:00
Wouter van Oortmerssen
d07a3d2f4c
Fixed VS2010 build.
...
Change-Id: I3ee68c5f250d6baa02060ab2ecbc0f0fe254a9d8
2019-04-11 16:14:38 -07:00
Wouter van Oortmerssen
640df2c1f5
Allow Set() methods to handle reference types
...
Change-Id: I487ded77d28490189dd5d38236cb04bffaf5f11a
2019-04-11 14:18:21 -07:00
Wouter van Oortmerssen
02e73e1ae9
Further fixes to make minireflect compatible with old behavior.
...
Change-Id: I92c257ec4ab4a0cf4676bd98523b766ce25bf4f6
2019-03-21 15:08:04 -07:00
Wouter van Oortmerssen
fd51fadaac
Fixed vector_delimited excluding delimiter
...
Change-Id: I3e758d44b9845d6df91332bb609b4b7ad88659ac
2019-03-18 12:07:36 -07:00
Wouter van Oortmerssen
11198f10f5
Fixed shadowing warning in older gcc for vector_delimited
...
Change-Id: Ia4d56a5eb086f86eb5d1ad6ddae64e4a51bf3aa3
2019-03-18 10:03:43 -07:00
Wouter van Oortmerssen
3b23ff18ea
Made ToStringVisitor backwards compatible with older behavior.
...
This to support code that relied on tables being multiline,
but not vectors.
This behavior was changed in:
https://github.com/google/flatbuffers/commit/b1a925dfc2ac78508aee89029e950057405f0a0a#diff-c45c8fbffbc64f7ff4aa2978612b10d8
Change-Id: I4c95471b643b2b3fab95e06b1294e19d686b492c
2019-03-14 12:00:44 -07:00
Wouter van Oortmerssen
4f066c39ce
Made JS enum declarations compatible with google closure
...
Original change by: https://github.com/alexames
Change-Id: Ib65bd02156d1c3637ed278a8334a2307caacaa44
2019-03-11 14:33:07 -07:00
Wouter van Oortmerssen
ca68d8b043
Disabled constexpr for hashing functions.
...
This was incompatible with -Wc++98-c++11-compat on some platforms,
due to local variables in the function.
Change-Id: Idef510c2cefe944eef2e0656f5a219c2158063e6
2019-03-11 14:02:20 -07:00
Wouter van Oortmerssen
eb2a81f73d
[C++] Object API: document custom string type requirements,
...
implement better custom string type constructor alternative
for Unpack() and fix bug with vector of custom string types
in Pack().
Squashed commit of the following:
commit e9519c647e
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Tue Mar 5 18:24:49 2019 +0100
tests: regenerate code, reverts change to CreateVectorOfStrings().
commit 117e3b0679
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Tue Mar 5 18:15:05 2019 +0100
idl_gen_cpp.cpp: move clang-format on/off outside of declaration, so they are kept properly aligned automatically.
commit 4791923806
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Tue Mar 5 18:11:40 2019 +0100
idl_gen_cpp.cpp: full clang-format run with provided Google format file, enforce 80 lines width.
commit 2f0402f9ff
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Tue Mar 5 18:09:32 2019 +0100
CppUsage: address requested changes.
idl_gen_cpp.cpp: fix formatting, keep CreateVectorOfStrings for normal string cases.
commit 371d4e0b79
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Fri Mar 1 16:35:29 2019 +0100
Fix compile error with a vector of non-std::strings. CreateVectorOfStrings() expects a vector of std::string types, but that's not always the case.
commit 92b90d7f0f
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Fri Mar 1 16:15:36 2019 +0100
Document requirement for custom string types to implement empty() and be constructible from std::string.
Add new option --cpp-str-flex-ctor to construct custom string types not via std::string, but (char * + length).
commit 28cb2e92d5
Author: Luca Longinotti <luca.longinotti@inivation.com >
Date: Fri Mar 1 14:31:17 2019 +0100
idl_gen_cpp.cpp: clang-format run, to better separate changes in content from formatting.
Change-Id: I4887ba2f2c632b9e7a8c938659b088cd95690870
2019-03-11 09:42:02 -07:00
Wouter van Oortmerssen
e237f53bfc
Removed -Wc++98-compat-extra-semi for compatibility with older clang.
...
Change-Id: I6dfadb5289a4396ad2f3d16baf1bdb99c7534174
2019-03-07 15:15:22 -08:00
Wouter van Oortmerssen
71628dad0d
Fixed vector of union JSON parsing.
...
This for some reason never had a test case, and was broken.
Change-Id: If832f5eb8b6c5ba8a75257464892634b38719c55
2019-03-07 15:05:00 -08:00
Wouter van Oortmerssen
f89badd30f
Attempting to make travis not kill the Android build.
...
Change-Id: Icdff8a90338bd2ff79ff76fe1ebaa3481da8dea4
2019-02-25 14:10:56 -08:00
Wouter van Oortmerssen
9bf9b18f0a
Added -Wc++98-compat-extra-semi
...
And fixed 2 more extra semi-colons.
Change-Id: I1ee08e5b2f67cd0c886847c05cd4d63cfcafec3e
2019-02-25 11:42:37 -08:00
Wouter van Oortmerssen
537c6ec1e6
Added -Wextra-semi to Clang build.
...
Also fixed warnings this generated.
Change-Id: If3607907b2dd609f854b7b81225d9cf66af75a60
2019-02-25 09:14:56 -08:00
Wouter van Oortmerssen
957d167199
Fixed use of WIN32 needs to be _WIN32.
...
Change-Id: Ie1f88ac5613cc09ed1074608dd6517ae20c7973d
2019-02-19 10:49:55 -08:00
Wouter van Oortmerssen
78c50e340b
Fix AppVeyor script not including CMake dir
...
Change-Id: I737a74dd4d31ca6d1559958f4c76e61e1f0a2c64
2019-02-14 16:21:07 -08:00
Wouter van Oortmerssen
cf47f27164
Turn on -Werror=unused-private-field for Clang.
...
Change-Id: Ibabc1456baf190eba191ebe0b81e3d73a4acc98f
2019-02-11 09:55:48 -08:00
Wouter van Oortmerssen
cc7f9b89f3
Made FLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE #ifdef out less
...
This is to protect against cases where part of a project is
compiled with or without this flag, making for very fragile
and hard to find bugs, such as sizeof(Verifier) changing.
Change-Id: I01c895cdc5b44f860e4b0b9c9613bff1983e2b9d
See: https://bugs.chromium.org/p/chromium/issues/detail?id=929847
2019-02-07 16:34:25 -08:00
Wouter van Oortmerssen
600f3fbcd4
Reduced force_align in tests to 8, to work with --object-api.
...
More detail:
https://github.com/google/flatbuffers/projects/6#card-17401359
See also the .md changes in this commit.
Change-Id: Idfa68b2fd3bdb19979833737d3a3cf83ec1d6775
2019-02-07 14:51:04 -08:00
Wouter van Oortmerssen
a821b15634
Added -Werror=implicit-fallthrough=2 to GCC 7 build.
...
Change-Id: I3f23bb1478763334dbc7e43579555518fb2412c2
2018-12-26 16:03:07 -08:00
Wouter van Oortmerssen
f575b02fda
Make string/vector field serialization order not depend on optimizer.
...
Multiple calls of e.g. CreateString inside a call to a CreateTable
could cause those strings to end up in different locations in the
wire format, since order or argument evaluation is undefined.
This is allowed by the FlatBuffer format, but it is not helpful,
especially when debugging the contents of binaries, or comparing
against a "golden" binary for tests etc.
Now making sure that all the CreateTableDirect calls first serialize
sub strings/vectors before calling CreateTable.
Also made similar changes to the serialization of "binary schemas".
Change-Id: I5747c4038b37a0d400aca2bc592bec751cf5c172
2018-11-16 17:08:35 -08:00
Wouter van Oortmerssen
f445c1eb4a
Fixed STLPort build
...
Change-Id: I2b9508f547667695475be64fa56f64f129603fd4
2018-11-05 16:33:35 -08:00
Wouter van Oortmerssen
980a6d66d3
Fixed vectors of enums in object API serialized incorrectly.
...
And also added tests for them.
Change-Id: I91af1904105435601287291412e82d5066f476a5
Tested: on Linux.
2018-11-05 14:33:36 -08:00
Wouter van Oortmerssen
21591916af
Fixed missing code from @javax.annotation PR.
...
https://github.com/google/flatbuffers/pull/4986 missed part of the
implementation.
Change-Id: Ie41771eb018a550c289c77ebe9ef5c50d1ad6751
2018-11-02 11:40:21 -07:00
Wouter van Oortmerssen
160e8f2fdc
Disallowed 0 byte structs.
...
This is because they are incompatible with C++ and possibly other
languages that make them minimum size 1 (to make sure multiple
such objects don't reside at the same address). Forcing them to size
1 was also not practical, as that is requires updating the logic
of a lot of implementations and thus possibly backwards incompatible.
More here: https://github.com/google/flatbuffers/issues/4122
Change-Id: I2bfdc8597b7cfd2235bb4074bb2ae06f81f8e57d
2018-10-29 17:40:19 -07:00
Wouter van Oortmerssen
705577de51
Revert "Convert net/FlatBuffers project to be compatible with netstandard ( #4811 )"
...
This reverts commit 72b05bc865 .
Change-Id: I17510b7fa49b9861ce0a870b16f5c14a41082db5
2018-10-29 17:21:30 -07:00
Wouter van Oortmerssen
bd20a60d6a
Fixed Java gRPC version numbers.
...
Change-Id: Iff00a48b370f45f80d68e6c6929483d608ce1885
2018-10-25 13:48:41 -07:00
Wouter van Oortmerssen
b78c4332be
Fixed npm publish appending multiple copies into .mjs
...
Change-Id: Id8c373b0f77d9a0f4922257339abb4e01e06c2d4
2018-10-25 13:48:41 -07:00
Wouter van Oortmerssen
c0698cc33f
Bumped version to 1.10.1 for all languages.
...
Change-Id: I9a6256d90ea800834a887afdcf888df412018933
2018-10-03 12:48:47 -07:00
Wouter van Oortmerssen
ea8a4296e7
Updated TestAll.sh with Rust.
...
Change-Id: I751f3bbd85eb1b521e1533c68f95442af0d18b8a
2018-10-03 12:27:27 -07:00
Wouter van Oortmerssen
873a60b0d8
Updated readme.md
...
Change-Id: I9b0664a3bde44a4ee44ef0fd117d0e4bedc132d9
2018-09-21 10:42:00 -07:00
Wouter van Oortmerssen
4b10656f9b
Changed JS/TS codegen to use stable non-compiler dependent hash.
...
Different implementations of std::hash kept littering commits with
namespace changes.
Change-Id: Ic2d4fdcd76f8fef9802bc1572eb74ae7427085e3
2018-09-21 09:42:43 -07:00
Wouter van Oortmerssen
e317b148dc
Added missing Dart codegen files.
...
Change-Id: Ic97f5b50fa191f967672c404f737d302462fc6ac
2018-09-21 09:42:43 -07:00
Wouter van Oortmerssen
1f5eae5d6a
Revert "Performance Increase of Vector of Structures using .NET BlockCopy ( #4830 )"
...
This reverts commit 7b50004ec9 .
Change-Id: I09d6869c16aa3c7fadc537fc9c76eaa3cf7ee7ea
2018-08-20 12:08:21 -07:00
Wouter van Oortmerssen
ea9d60bbdf
Added missing dart/ts test changes.
...
Change-Id: I836091193485b890710f1df779d4d770f729a27a
2018-08-20 12:05:37 -07:00
Wouter van Oortmerssen
ed2415eb72
Fixed use of uoffset_t in verifier could cause wrap around.
...
The verifier must be resilient against any corrupt data, so
now using size_t thru-out to ensure any 64-bit offsets can
be represented.
Also added verification of alignment.
Change-Id: I87a22aa6b045c2d83b69b47a47153f2e15ad7e06
Tested: on Linux, also with libfuzzer.
2018-08-13 14:52:50 -07:00
Wouter van Oortmerssen
38a6623f34
Temporarily disabled Android CI until fix.
...
Change-Id: I0c6758db7b4007e84b7ab8daaecd233711df8cab
2018-08-06 16:52:09 -07:00
Wouter van Oortmerssen
fc3ce7d1ab
Fixed VS2010 compile error.
...
Change-Id: Ibd970d30b51f77a2ac9c125e400c9f1b19a81cbc
2018-08-06 12:06:59 -07:00
aardappel
4898809eca
FlatBuffers implementation for the Lobster programming language
...
Language, see: http://strlen.com/lobster/ and https://github.com/aardappel/lobster
2018-07-29 13:23:00 -07:00
Wouter van Oortmerssen
c80f8d18c1
Fixed FlatBufferBuilder::Required not checking vtable size.
...
As reported in: https://github.com/google/flatbuffers/issues/4846
Tested: on Linux.
Change-Id: Id5e82dc5a46a681119cfe5a15415d522aac0e1f2
2018-07-27 12:41:50 -07:00
Wouter van Oortmerssen
6e185d06a7
Fixed minalign in Lua being reset on StartObject
...
Change-Id: I9cd62b38c8dc526f069726a88baef63e4b0dae57
2018-07-23 16:36:21 -07:00
Wouter van Oortmerssen
0cd8daf14e
Missing Lua generated files
...
Change-Id: Id668ade474805dd9c7e108a478db3551d6a62b48
2018-07-16 16:44:49 -07:00