Kazuki Sakamoto
5f351a35a2
Add EnumNames to Go code
...
Tested: on Darwin
2016-07-25 19:37:16 -07:00
Wouter van Oortmerssen
f98870715a
Adding missing generated code from recent commits.
...
Also updated generated_code.sh to prevent this from happening in
the future.
Change-Id: Ib282e9b6c762a79d4b4e09bee06b14781cd2a4c1
2016-07-25 15:01:37 -07:00
Wouter van Oortmerssen
f61f0449c7
Merge pull request #3935 from kazimuth/jsns
...
Add @namespace annotation to namespaces in javascript
2016-07-25 10:47:46 -07:00
Robert
a56c6e5195
Merge pull request #363 from danring/fix-341
...
Emit GetRootAs methods for all types in Go and Python
2016-07-22 15:12:35 -07:00
Wouter van Oortmerssen
5efa22447e
Fixed conversion warning in generated code.
2016-07-20 18:17:33 -07:00
Wouter van Oortmerssen
bdd668df7b
Fixed VS2010 build
2016-07-20 18:13:11 -07:00
Wouter van Oortmerssen
05b00c50ad
Added way to test two schemas for safe evolution.
...
Change-Id: I1dfc867e6df5932ab61dad431eb3cb02f15d04df
Tested: on Linux.
Bug: 30202327
2016-07-20 17:56:59 -07:00
Wouter van Oortmerssen
77e9122681
Merge "This is a minimal amount of #ifdef's to make stlport work." into ub-games-master
2016-07-21 00:55:05 +00:00
Wouter van Oortmerssen
e067040375
Fixed unused parameter warning.
...
Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd
2016-07-20 17:52:41 -07:00
Wouter van Oortmerssen
370e101a69
Added missing Go generated files.
...
Change-Id: I9d738e84ab2e01ec117c825ade44cc865cf5f1c2
2016-07-20 17:43:03 -07:00
Wouter van Oortmerssen
91f5cf357c
Merge branch 'master' of https://github.com/google/flatbuffers into grpc2
2016-07-20 17:41:36 -07:00
Wouter van Oortmerssen
7c7c571bbe
This is a minimal amount of #ifdef's to make stlport work.
...
Minimal, in the sense that this will only allow flatbuffers.h +
generated code to work. Everything else (tests, parsing, reflection
etc.) may still not compile with stlport.
Functionality has been reduced, some utility functions are not
available.
Tested: on Linux (no stlport), Android (stlport).
Change-Id: I3f8b6a88258c07d78964dd455fb9f99f65266301
2016-07-20 17:29:47 -07:00
Wouter van Oortmerssen
3101e327c0
Added optional object based API for C++.
...
Change-Id: If927f3ea3fb3723088fa287f24bdd1ad43c8d1d1
Tested: on Linux.
2016-07-20 14:58:57 -07:00
Wouter van Oortmerssen
46bf9f5177
Merge pull request #259 from kadirahq/golang-mutators
...
(Go) Add setter methods for scalar values.
2016-07-20 10:51:30 -07:00
Wouter van Oortmerssen
ce3e7fbd72
VS2010 fixes
2016-07-20 10:41:26 -07:00
Muhammed Thanish
53e9606ea2
Implement mutators for Go
2016-07-20 22:58:22 +05:30
lakedaemon
e750268f0c
clang formating cpp code generator and add missing generated classes
2016-07-15 16:08:59 +02:00
Wouter van Oortmerssen
b22db6e8eb
Merge pull request #3905 from bog-dan-ro/master
...
Verifier computes the buffersize, useful when streaming multiple flatbuffers
2016-07-14 10:55:22 -07:00
Wouter van Oortmerssen
14e7e8260e
Merge pull request #3939 from TGIshib/hex-bug
...
Fixed bug with negative hex constants (2).
2016-07-14 10:47:34 -07:00
BogDan Vatra
3a1f776132
Verify everything in one shot
2016-07-14 20:16:07 +03:00
BogDan Vatra
4b53762cf2
Verifier computes the buffersize, useful for streaming
...
Close #3898
2016-07-14 20:15:44 +03:00
Raman
0d56276102
Update test.cpp
2016-07-14 18:51:23 +02:00
Raman
98c7a0c169
Update test.cpp
2016-07-14 10:30:06 +02:00
Raman
676f0712fd
Update test.cpp
2016-07-14 10:01:08 +02:00
Raman
db99c1aa64
Update test.cpp
2016-07-12 19:55:35 +02:00
daksenik
aade31b263
Fixed spaces. Removed redundant == nullptr. Vectors pointers made const.
2016-07-11 20:27:38 +03:00
James Gilles
4a49493e27
js:add @namespace annotation to namespaces
2016-07-11 01:40:38 -04:00
Raman
22697722d9
Update test.cpp
2016-07-09 12:51:06 +02:00
daksenik
1661f3a2e8
Added function GenSimpleParam. Tests added.
2016-07-09 13:00:21 +03:00
Raman
5043764247
Update test.cpp
2016-07-04 21:55:44 +02:00
Wouter van Oortmerssen
48f37f9e0a
Added GRPC code generator to flatc.
...
Also added simple (in-process) test.
Change-Id: I38580d554dd52f590e3396ec4846e07546dcf07d
Tested: on Linux.
2016-06-29 15:51:44 -07:00
Wouter van Oortmerssen
57ba8a4d46
Merge branch 'master' of https://github.com/google/flatbuffers
2016-06-20 16:41:40 -07:00
Wouter van Oortmerssen
9e6c5f9f2c
JSON Parser allows union type fields to come after unions.
...
This is useful because many JSON generators will sort the fields,
cause X_type to follow X.
Change-Id: I00ef3ac05418224fc05aee93e6b3b3597e73ffe3
Tested: on Linux.
Bug: 29221752
2016-06-20 16:30:14 -07:00
Wouter van Oortmerssen
3639032d1e
Allow unions of table types with the same name but from different namespaces.
...
Also fixed most codegenerators using the wrong namespace when multiple
namespace were used in a file, with some files not being generated.
Change-Id: Ib42969221239d7244e431cbd667ef69200fc415f
Tested: on Linux.
Bug: 29338474
2016-06-20 11:47:04 -07:00
rw
fd43d3709e
Fix test using compat.binary_types (from March).
2016-06-18 01:12:56 -07:00
Wouter van Oortmerssen
6e177bf03f
Merge branch 'master' of https://github.com/google/flatbuffers
2016-06-17 17:44:00 -07:00
Wouter van Oortmerssen
d3ac0bc149
Added conversion operations that can be used inline in JSON.
...
e.g.: { myfield: cos(rad(180)) } is equivalent to writing { myfield: -1.0 }
Bug: 29338398
Change-Id: I6fc4ef1fd10bda3ba78cba464414dd071a2f50ca
Tested: on Linux.
2016-06-15 14:54:44 -07:00
Wouter van Oortmerssen
afa276288c
Added additional convenience overloads to CreateVector().
...
Bug: 29337887, 29336299
Change-Id: Iad8b3b2263f6cea7ee7e45994369194960df293b
Tested: on Linux.
2016-06-15 14:31:34 -07:00
Dan Ring
4832238708
Add tests for GetRootAs* in Go and Python
2016-06-14 18:41:33 -04:00
Dan Ring
1f8e3c13e6
Emit GetRootAs methods for all types in Go and Python
2016-06-14 18:41:33 -04:00
Wouter van Oortmerssen
5a401aef57
Merge pull request #3897 from Lakedaemon/namespaceWork
...
Namespace work
2016-06-13 15:16:28 -07:00
Wouter van Oortmerssen
bafd48d96c
Merge branch 'master' of https://github.com/google/flatbuffers into fuzzer2
2016-06-08 11:51:49 -07:00
Wouter van Oortmerssen
2bdf44a25d
Added a way to get mutable tables out of a mutable vector of tables.
...
Change-Id: I8f9ef1d14f86671ced929c7a159115b1d8510327
Tested: on Linux.
2016-06-06 17:38:21 -07:00
lakedaemon
a3a2bf890f
Better C++ namespace management
2016-06-02 23:11:51 +02:00
lakedaemon
a9194c4c68
cpp generator : pulling all methods inside the class
2016-06-02 21:56:27 +02:00
lakedaemon
cd1493b082
sharing the Flatbuffers warning
2016-05-26 15:26:58 +02:00
Wouter van Oortmerssen
a98bff3ea1
Add simple libfuzzer based test.
...
This tests the verifier and the parser.
Tested: on Linux.
Bug: 27230459
Change-Id: I3417faba9385dc941199c57a08d8a50c2faec1aa
2016-05-25 17:25:40 -07:00
Ben Gertzfield
6704b19db6
Handle \u-escaped surrogate pairs correctly in IDL parser
2016-05-23 16:38:55 -07:00
Wouter van Oortmerssen
64b91da9cf
Uncomment the corpus attribute since b/28762769 is fixed,
...
add more items to the corpus (taken from the ClusterFuzz-generated corpus).
(mirrored from cl 122690857)
Change-Id: I98c7672169a9a27fe18bedae8501e6fb85a0681d
2016-05-23 16:37:57 -07:00
Wouter van Oortmerssen
fe9787e58d
Add a fuzzer for flatbuffers, derived from the one used in Chromium:
...
https://code.google.com/p/chromium/codesearch#chromium/src/testing/libfuzzer/fuzzers/flatbuffers_verifier_fuzzer.cc
(mirrored from cl 122676317)
Change-Id: I0074af435cf37f5e6368b040563c3733d9e02345
2016-05-23 16:35:20 -07:00