Wouter van Oortmerssen
424fc0c3ac
Fixed inconsistent use of namespace directory prefixing.
...
Change-Id: I2cab7a1f68b8e643c1057e0a366572421a94ed41
Tested: on Linux.
2016-10-12 16:05:57 -07:00
Wouter van Oortmerssen
dc38f93ca8
Merge branch 'master' of https://github.com/google/flatbuffers
2016-10-12 14:39:36 -07:00
Wouter van Oortmerssen
ab51b03093
Fixed line numbers being off in multi-line comments.
...
Change-Id: I4c27892c249527980d8f52a2cca801dace70289f
2016-10-12 11:22:20 -07:00
Wouter van Oortmerssen
dc2fa215b8
External references for the object API thru a resolver function.
...
This allows hashed string fields to be used for lookup of any
C++ objects, a pointer to which are then stored in the object
besides the original hash for easy access.
Change-Id: I2247a13c349b905f1c54660becde2c818ad23e97
Tested: on Linux.
Bug: 30204449
2016-10-12 11:22:20 -07:00
Baptiste Lepilleur
199157e8f4
flatc java generator: namespace_test2.fbs is missing namespace prefix for referToA2() return type ( #4040 )
...
* Fix flatc generating incorrect java/c# code for namespace_test2.fbs. In code for TableInC, method referToA2() returned type SecondTableInA instead of NamespaceA.SecondTableInA.
* Updated generated code.
* Fixed indendation.
2016-10-07 09:42:29 -07:00
jbrads
b075b8c49d
Generate type traits for unions to map a type to the corresponding u… ( #4032 )
...
* Generate type traits for unions to map a type to the corresponding union enum value.
* Fixed break with union enum type traits when type is in a namespace.
* Fixed spacing and variable names in type traits generation to match style guidelines.
* Fixed spacing in type traits generation to match style guidelines.
* Regenerated test schema header.
2016-10-03 14:14:25 -07:00
Wouter van Oortmerssen
f6c1a1ebcf
Merge pull request #4025 from paszea/reflection_fqn
...
serialize fully qualified struct & enum name in schema binary
2016-09-21 11:06:34 -07:00
Jason Sanmiya
b2e55c556e
Merge "Fix Windows warnings." into ub-games-master
2016-09-15 18:42:42 +00:00
Xun Liu
df0991b7de
serialize fully qualified struct & enum name in schema binary
2016-09-15 10:42:23 -07:00
Wouter van Oortmerssen
3368407aff
Add a --conform-includes flag to specify include path for the conform schema
...
(mirrored from cl 133146933)
Change-Id: I61385289728777cae83139fef0229001d92382ca
2016-09-14 11:39:33 -07:00
Wouter van Oortmerssen
09ee46a83e
Merge pull request #4020 from albertofem/feature/allow_public_accessor_net
...
Allow access to underlying ByteBuffer in C#
2016-09-12 10:35:16 -07:00
Alberto Fernández
02dfa64a89
Allow access to underlying ByteBuffer
2016-09-12 09:35:08 +02:00
Wouter van Oortmerssen
f136570417
Merge pull request #4004 from sahiljain/fix-3909
...
Return error when full string cannot be parsed into int
2016-09-09 17:01:05 -07:00
Sahil Jain
b6ba322a04
Return error when full string cannot be parsed into int
2016-09-09 19:47:20 -04:00
Jason Sanmiya
985de211af
Fix Windows warnings.
...
Cmake issued a warning when the variable is in quotation marks
in an if statement.
Visual Studio upgrades constants to int and issues a truncation
warning, so inserted a cast.
Change-Id: I60cdcb5c2565cd5e97f80b9c2ff1e6abc32b1deb
Tested: Builds without warning on VS2015.
2016-09-09 14:51:33 -07:00
Wouter van Oortmerssen
52ca75506a
Switched C# accessors from classes to structs
2016-08-31 17:34:51 -07:00
TGIshib
722b903f89
Remove languages check
2016-08-27 01:21:15 +03:00
TGIshib
2ff6152204
Update idl_gen_general.cpp
2016-08-27 00:42:06 +03:00
Wouter van Oortmerssen
481d332e72
Fixed compile error in LookupByKey fix.
...
Change-Id: Ice94f09197235cf71b41a22d0767bd7b119284e1
2016-08-26 14:18:04 -07:00
Wouter van Oortmerssen
e1f8037cb5
Fixed Java LookupByKey functionality for Java 1.6
...
Tested: on Linux.
Change-Id: Iea336f75a3b6e722743563813c3c9ed9db4d02fe
2016-08-26 13:58:16 -07:00
Wouter van Oortmerssen
49ee30a207
Merge pull request #3978 from TGIshib/key
...
Find by key on C# and Java (2)
2016-08-26 12:03:28 -07:00
TGIshib
7c69c5dc3d
Fix lookupByKey, improve compareStrings
2016-08-26 19:41:32 +03:00
Wouter van Oortmerssen
c1b0abe079
Merge branch 'master' of https://github.com/google/flatbuffers
2016-08-24 18:07:18 -07:00
Wouter van Oortmerssen
b04e21db16
Fixed --scoped-enums not always generating type prefixes.
...
Change-Id: Ib5b0ae75617e18094ac31eb5e11d10e5d592cf9b
Tested: on Linux.
2016-08-24 18:05:49 -07:00
Wouter van Oortmerssen
756050b62c
Fixed "unknown command-line argument" output format.
...
Change-Id: Idd49bc61118c29d6d7364d2cd54a6f7932917570
2016-08-24 17:09:25 -07:00
Wouter van Oortmerssen
2da0821286
Merge pull request #3994 from royalharsh/python_grpc
...
Initial grpc support for other languages
2016-08-24 14:59:32 -07:00
Harsh Vardhan
2e7806ede0
Initial support to add other languages to flatbuffers
2016-08-24 23:42:59 +05:30
Wouter van Oortmerssen
96ab6ade5a
Merge pull request #3993 from bhamiltoncx/generate-text-failure
...
Allow GenerateText() to indicate failure to encode flatbuffer to JSON
2016-08-22 11:32:52 -07:00
TGIshib
9f16090f90
Improve LookupByKey , update docs
2016-08-22 18:10:52 +03:00
rw
c4ba502f57
Remove invalid vector item heap alloc
...
Fixes #3986
2016-08-20 20:33:36 -07:00
Ben Hamilton
94d5643f97
Allow GenerateText() to indicate failure to encode flatbuffer to JSON (i.e., non-UTF-8 string data)
2016-08-18 10:23:26 -07:00
Wouter van Oortmerssen
eba6b6f7c9
1.4 prep fixes
...
Change-Id: I001ad8dd5f95e6e5ad43daf956663218d19f5c96
2016-08-15 17:29:35 -07:00
TGIshib
fa74ce6d16
Update idl_gen_general.cpp
2016-08-15 13:30:30 +03:00
TGIshib
8fdced4e11
Update
2016-08-14 14:58:51 +03:00
TGIshib
9031597f49
Merge remote-tracking branch 'refs/remotes/google/master' into key
2016-08-13 16:28:38 +03:00
Wouter van Oortmerssen
a0b8f669ee
Added "Direct" suffix to vector/string object creation functions.
...
They were overloaded, but also had default arguments, so would
become ambiguous when used with few arguments.
Change-Id: Ifac7f3ea3a6391d971dfeda8e33129c8c38d6f12
Tested: on Linux.
2016-08-12 11:12:12 -07:00
Wouter van Oortmerssen
026c6ddb17
Merge branch 'master' of https://github.com/google/flatbuffers
2016-08-08 12:17:10 -07:00
Wouter van Oortmerssen
3eebba789f
Fixed incorrect generated code on convenient vector constructors.
...
Change-Id: Ib283eade157a436e0f3ca0e68d74e7dc6c51c65b
2016-08-08 12:16:10 -07:00
TGIshib
dc7f5bc0d8
Remake
2016-08-03 13:29:50 +03:00
gonzaloserrano
ec20233fab
Make most of the Go code comply with gofmt (except enums).
...
Enums are not fixed because depending on they have comments or not they
will be aligned alogn the asssignment character.
2016-08-02 18:21:47 +02:00
Ben Hamilton
f6416d8471
Validate UTF-8 by default when parsing IDL. Support Unicode values > U+FFFF in parse
2016-08-01 14:05:24 -07:00
Wouter van Oortmerssen
d70f5ac6b0
Added backwards compatible --no-union-value-namespacing
...
Change-Id: Ia78dd3b0f213e9ffa49dcec699dcbb21fe6517da
Tested: on Linux.
2016-07-29 11:35:08 -07:00
Wouter van Oortmerssen
c9b9fd0407
Merge remote-tracking branch 'mbp/mutable-js' into ghfix
2016-07-29 11:32:00 -07:00
Caleb Epstein
6897bb99bb
Use fully qualified names of structs in UnPack
2016-07-28 15:22:29 -04:00
Michael Paulson
0230a7173f
feat(mutable-js): The mutable Scalar generation.
...
This is just the initial commit to start the conversation on adding mutation to javascript.
2016-07-25 20:00:22 -07:00
Kazuki Sakamoto
5f351a35a2
Add EnumNames to Go code
...
Tested: on Darwin
2016-07-25 19:37:16 -07:00
Wouter van Oortmerssen
1bba4fd9ea
Fixed reflection.h not modifying certain table configurations.
...
It would write 64bits offsets instead of 32bit ones, and update
the vtable pointer before the fields were processed.
Change-Id: I0c0fa942bbd3b42839294f5653ba8fa048612624
Tested: on Linux.
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