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
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
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
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
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
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
694725beb0
Xcode fixes
2016-07-20 10:48:37 -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
Wouter van Oortmerssen
ffc0d6209a
Merge pull request #3954 from yakiro/master
...
fixed ArrayOutOfBoundsException in java example
2016-07-20 10:01:32 -07:00
Wouter van Oortmerssen
9fdb6dcf1f
Merge pull request #3951 from devantoine/patch-2
...
[PHP] Fix typo
2016-07-20 09:40:50 -07:00
Yakir Buskilla
298dd21ec8
fixed ArrayOutOfBoundsException in java example
2016-07-20 10:46:43 +03:00
Antoine Descamps
64fa8ba9a9
Fix typo
...
Related to https://github.com/google/flatbuffers/pull/3904#issuecomment-224724181
2016-07-19 12:22:37 +02:00
Wouter van Oortmerssen
a8d2eeee34
Merge pull request #3904 from devantoine/patch-1
...
Fix typo
2016-07-18 17:35:43 -07:00
Wouter van Oortmerssen
e21a61d458
Merge pull request #3902 from rgilles/master
...
Create a maven like project structure for java development + OSGi + generation for test
2016-07-18 14:13:36 -07:00
Wouter van Oortmerssen
410fb15a07
Merge pull request #3915 from Lakedaemon/clangFormat
...
clang formating header and code generators for cpp, general, js, php
2016-07-18 14:12:03 -07:00
Wouter van Oortmerssen
a69b19fa8f
Merge pull request #3948 from mortonfox/patch-1
...
Fix link to CONTRIBUTING
2016-07-18 11:12:43 -07:00
Morton Fox
58924538a3
Fix link to CONTRIBUTING
2016-07-16 00:26:50 -04:00
lakedaemon
e750268f0c
clang formating cpp code generator and add missing generated classes
2016-07-15 16:08:59 +02:00
lakedaemon
0328dedab5
clangFormating base class
2016-07-15 15:21:09 +02:00
Romain Gilles
9605dc5981
Added OSGi header generation for maven project.
...
This allow jar generated with maven to be used in OSGi environment.
2016-07-15 14:34:56 +02:00