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
18d67ed83b
Clarified in the docs how to get to the serialized bytes.
...
This was a frequent source of confusion, since in all implementations
the data doesn't start at offset 0 in the buffer.
Change-Id: I045966e65928e9acd9def84e215914ecb5510653
2016-08-10 17:53:40 -07:00
Wouter van Oortmerssen
205ddb175f
Added union namespacing test case.
...
Change-Id: I9a4f90889c311c454a9c19e78c7db3c79800b44e
Tested: on Linux.
2016-08-10 11:52:09 -07:00
Wouter van Oortmerssen
be908939da
Fixed __builtin_bswap16 not being available on GCC <4.8
...
See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
Change-Id: Idae99196c47e015a2ba2416aaf1526f77498ce5d
2016-08-10 10:49:17 -07:00
Wouter van Oortmerssen
c96fc7fcef
Added missing generated code from previous commits.
...
Change-Id: Ie2f1f65be451979d9f8d4da999b1c10737e867af
2016-08-08 12:18:07 -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
Robert
b36bd67b39
Merge pull request #3976 from gonzaloserrano/fix/gofmt
...
Make most of the Go code comply with gofmt (except enums).
2016-08-03 17:41:10 -04: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
TGIshib
867dfc5957
Merge remote-tracking branch 'refs/remotes/google/master'
2016-08-02 12:41:20 +03:00
Wouter van Oortmerssen
73d5bf46b4
Merge pull request #3975 from bhamiltoncx/validate-utf8
...
Allow Unicode values > U+FFFF in string literals, validate UTF-8 by default
2016-08-01 15:06:23 -07: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
TGIshib
52acb4b347
Merge remote-tracking branch 'refs/remotes/google/master'
2016-07-31 17:08:25 +03: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
TGIshib
4c861daa3e
Merge remote-tracking branch 'refs/remotes/google/master'
2016-07-28 21:58:45 +03:00
Caleb Epstein
c9ee9fb99d
Merge branch 'master' of https://github.com/google/flatbuffers
...
* 'master' of https://github.com/google/flatbuffers :
Added AppVeyor CI.
Removed pre-made VS2010 and XCode projects.
2016-07-28 08:33:35 -04:00
Caleb Epstein
50e13ef9c6
Need unique_ptr.get not pointee.get
2016-07-28 08:31:19 -04:00
Wouter van Oortmerssen
f624065eaa
Added AppVeyor CI.
...
Change-Id: I01cf630026e25382b585785b471bad21153338f6
2016-07-27 18:38:27 -07:00
Wouter van Oortmerssen
03adfa7b1a
Merge branch 'master' of https://github.com/google/flatbuffers
2016-07-27 17:20:35 -07:00
Wouter van Oortmerssen
97a9a82324
Removed pre-made VS2010 and XCode projects.
...
CMake is now required on all platforms.
Change-Id: Iad81d9244a05ed70ce8b8860d6b729a873f137c1
Tested: on Windows and OS X.
2016-07-27 17:10:37 -07:00
Wouter van Oortmerssen
307694e397
Merge pull request #3965 from Bklyn/master
...
Fix docs for object API usage
2016-07-27 13:41:22 -07:00
Michael Paulson
d268d11ca2
feat(test): Added mutation testing for scalar values.
...
This is a port of the tests found in test.cpp
2016-07-27 13:32:53 -07:00
Caleb Epstein
094f4d1bad
Fix docs for object API usage
2016-07-27 16:15:55 -04:00
Wouter van Oortmerssen
a0398ce0f5
Merge branch 'master' of https://github.com/google/flatbuffers
2016-07-27 12:29:21 -07:00
Jason Sanmiya
30c07f4e55
Fix Mac build.
...
The new line in the set(CMAKE_CXX_FLAGS...) line was getting insert
verbatim into the Makefile. Makefiles don't like new lines in their
assignment operators.
The newline escape fix works for CMake 3.0 and above, but since
we support 2.x, we need to use the legacy solution, which is to
split into two separate statements.
Tested: cmake -G"Unix Makefiles" works now on Mac.
Change-Id: I6f4655981b85087c4760c3d26ed0c97c4469ba93
2016-07-26 07:26:25 -07:00
Robert
fc19f746b0
Merge pull request #210 from splhack/add_enumnames_to_go
...
Add EnumNames to Go code
2016-07-25 20:44:33 -07:00
Michael Paulson
a351124cfd
chore(generate-code): Generate the JS code after mutation has been added.
2016-07-25 20:00:22 -07: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
2d427e0502
Pulled out EndianSwap into its own function.
...
Change-Id: I4a587102db8c435b739c92b6c464c94c4ea1fe42
2016-07-25 16:26:50 -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
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
TGIshib
b7a26d73ee
Merge remote-tracking branch 'refs/remotes/google/master'
2016-07-26 00:07:23 +03:00
Raman
1ba4d3c4c7
Update idl_gen_general.cpp
2016-07-25 23:04:01 +02: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
Raman
06c1ad5a73
Merge pull request #3 from TGIshib/key
...
Update idl_gen_general.cpp
2016-07-23 15:17:28 +03:00
Raman
38b3893211
Update idl_gen_general.cpp
2016-07-23 14:16:30 +02:00
Wouter van Oortmerssen
42e0b02149
Fixed missing \ in CMakeLists.txt that broke the build
2016-07-22 15:46:26 -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