Romain Gilles [Mon, 29 Aug 2016 09:26:31 +0000 (11:26 +0200)]
Isolate the complied Java classes into a target folder + log java version.
It is a common practice to put all the compiled classes into a
dedicated folder in order to:
- avoid to mix the code and the complied classes
- to allow a simple way to remove the complied classes
Add log of java version in order to make it explicit to the end user.
Wouter van Oortmerssen [Fri, 26 Aug 2016 22:26:40 +0000 (15:26 -0700)]
Merge pull request #4007 from TGIshib/key
lookupByKey corrections
TGIshib [Fri, 26 Aug 2016 22:21:15 +0000 (01:21 +0300)]
Remove languages check
TGIshib [Fri, 26 Aug 2016 21:42:06 +0000 (00:42 +0300)]
Update idl_gen_general.cpp
TGIshib [Fri, 26 Aug 2016 21:35:06 +0000 (00:35 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master' into key
# Conflicts:
# src/idl_gen_general.cpp
Wouter van Oortmerssen [Fri, 26 Aug 2016 21:18:04 +0000 (14:18 -0700)]
Fixed compile error in LookupByKey fix.
Change-Id: Ice94f09197235cf71b41a22d0767bd7b119284e1
TGIshib [Fri, 26 Aug 2016 21:04:25 +0000 (00:04 +0300)]
Last idl_gen_general.cpp update
Wouter van Oortmerssen [Fri, 26 Aug 2016 21:02:00 +0000 (14:02 -0700)]
Undo compile Java classes into target folder.
This was causing class loader errors on Java 1.6.
Change-Id: Id1d9e7e369aad639115664c43a867c4d3a82f9f1
Tested: on Linux.
Wouter van Oortmerssen [Fri, 26 Aug 2016 20:57:40 +0000 (13:57 -0700)]
Fixed Java LookupByKey functionality for Java 1.6
Tested: on Linux.
Change-Id: Iea336f75a3b6e722743563813c3c9ed9db4d02fe
TGIshib [Fri, 26 Aug 2016 20:47:23 +0000 (23:47 +0300)]
Update idl_gen_general.cpp
TGIshib [Fri, 26 Aug 2016 20:15:25 +0000 (23:15 +0300)]
Correct idl_gen_general
Wouter van Oortmerssen [Fri, 26 Aug 2016 19:03:28 +0000 (12:03 -0700)]
Merge pull request #3978 from TGIshib/key
Find by key on C# and Java (2)
TGIshib [Fri, 26 Aug 2016 16:41:32 +0000 (19:41 +0300)]
Fix lookupByKey, improve compareStrings
Wouter van Oortmerssen [Fri, 26 Aug 2016 16:22:29 +0000 (09:22 -0700)]
Merge pull request #4003 from rgilles/master
Isolate the complied Java classes into a target folder.
Romain Gilles [Thu, 25 Aug 2016 08:40:41 +0000 (10:40 +0200)]
Isolate the complied Java classes into a target folder.
It is a common practice to put all the compiled classes into a
dedicated folder in order to:
- void to mixing the code and the complied classes
- to allow a simple way to remove the complied classes
Wouter van Oortmerssen [Thu, 25 Aug 2016 01:07:18 +0000 (18:07 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers
Wouter van Oortmerssen [Thu, 25 Aug 2016 00:27:43 +0000 (17:27 -0700)]
Fixed --scoped-enums not always generating type prefixes.
Change-Id: Ib5b0ae75617e18094ac31eb5e11d10e5d592cf9b
Tested: on Linux.
Wouter van Oortmerssen [Thu, 25 Aug 2016 00:09:25 +0000 (17:09 -0700)]
Fixed "unknown command-line argument" output format.
Change-Id: Idd49bc61118c29d6d7364d2cd54a6f7932917570
Wouter van Oortmerssen [Wed, 24 Aug 2016 22:03:31 +0000 (15:03 -0700)]
Merge pull request #4001 from vitalyisaev2/master
Debianization with CPack
Wouter van Oortmerssen [Wed, 24 Aug 2016 21:59:32 +0000 (14:59 -0700)]
Merge pull request #3994 from royalharsh/python_grpc
Initial grpc support for other languages
Vitaly Isaev [Wed, 13 May 2015 12:15:59 +0000 (15:15 +0300)]
Debianization with CPack
Harsh Vardhan [Fri, 19 Aug 2016 05:11:11 +0000 (10:41 +0530)]
Initial support to add other languages to flatbuffers
Wouter van Oortmerssen [Wed, 24 Aug 2016 17:34:32 +0000 (10:34 -0700)]
Merge pull request #4000 from sahiljain/fix-3966
Remove Struct::GetPointer() useless method
Wouter van Oortmerssen [Wed, 24 Aug 2016 16:26:06 +0000 (09:26 -0700)]
Merge pull request #2133 from evolutional/cs-bounds-check
C#: added #define BYTEBUFFER_NO_BOUNDS_CHECK
Sahil Jain [Wed, 24 Aug 2016 08:12:25 +0000 (04:12 -0400)]
Remove Struct::GetPointer() useless method
Wouter van Oortmerssen [Mon, 22 Aug 2016 18:32:52 +0000 (11:32 -0700)]
Merge pull request #3993 from bhamiltoncx/generate-text-failure
Allow GenerateText() to indicate failure to encode flatbuffer to JSON
TGIshib [Mon, 22 Aug 2016 15:10:52 +0000 (18:10 +0300)]
Improve `LookupByKey` , update docs
Robert [Sun, 21 Aug 2016 05:07:10 +0000 (22:07 -0700)]
Merge pull request #3995 from rw/go-remove-unused-initializer
Remove invalid vector item heap alloc
rw [Sun, 21 Aug 2016 03:33:36 +0000 (20:33 -0700)]
Remove invalid vector item heap alloc
Fixes #3986
Ben Hamilton [Thu, 18 Aug 2016 17:14:32 +0000 (10:14 -0700)]
Allow GenerateText() to indicate failure to encode flatbuffer to JSON (i.e., non-UTF-8 string data)
Wouter van Oortmerssen [Wed, 17 Aug 2016 16:03:46 +0000 (09:03 -0700)]
Merge pull request #3992 from akazakov/master
Add byte array and unintialized array creation to FlatBufferBuilder
Artem Kazakov [Mon, 15 Aug 2016 12:56:33 +0000 (08:56 -0400)]
add byte array and unintialized array creation to FlatBufferBuilder
Wouter van Oortmerssen [Tue, 16 Aug 2016 00:29:35 +0000 (17:29 -0700)]
1.4 prep fixes
Change-Id: I001ad8dd5f95e6e5ad43daf956663218d19f5c96
TGIshib [Mon, 15 Aug 2016 10:30:30 +0000 (13:30 +0300)]
Update idl_gen_general.cpp
TGIshib [Sun, 14 Aug 2016 11:58:51 +0000 (14:58 +0300)]
Update
TGIshib [Sat, 13 Aug 2016 13:28:38 +0000 (16:28 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master' into key
Wouter van Oortmerssen [Fri, 12 Aug 2016 18:12:12 +0000 (11:12 -0700)]
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.
Wouter van Oortmerssen [Thu, 11 Aug 2016 00:53:40 +0000 (17:53 -0700)]
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
Wouter van Oortmerssen [Wed, 10 Aug 2016 18:41:38 +0000 (11:41 -0700)]
Added union namespacing test case.
Change-Id: I9a4f90889c311c454a9c19e78c7db3c79800b44e
Tested: on Linux.
Wouter van Oortmerssen [Wed, 10 Aug 2016 17:09:39 +0000 (10:09 -0700)]
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
Wouter van Oortmerssen [Mon, 8 Aug 2016 19:18:07 +0000 (12:18 -0700)]
Added missing generated code from previous commits.
Change-Id: Ie2f1f65be451979d9f8d4da999b1c10737e867af
Wouter van Oortmerssen [Mon, 8 Aug 2016 19:17:10 +0000 (12:17 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers
Wouter van Oortmerssen [Mon, 8 Aug 2016 19:16:10 +0000 (12:16 -0700)]
Fixed incorrect generated code on convenient vector constructors.
Change-Id: Ib283eade157a436e0f3ca0e68d74e7dc6c51c65b
Robert [Wed, 3 Aug 2016 21:41:10 +0000 (17:41 -0400)]
Merge pull request #3976 from gonzaloserrano/fix/gofmt
Make most of the Go code comply with gofmt (except enums).
TGIshib [Wed, 3 Aug 2016 10:29:50 +0000 (13:29 +0300)]
Remake
gonzaloserrano [Thu, 7 Jul 2016 10:55:36 +0000 (12:55 +0200)]
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.
TGIshib [Tue, 2 Aug 2016 09:41:20 +0000 (12:41 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master'
Wouter van Oortmerssen [Mon, 1 Aug 2016 22:06:23 +0000 (15:06 -0700)]
Merge pull request #3975 from bhamiltoncx/validate-utf8
Allow Unicode values > U+FFFF in string literals, validate UTF-8 by default
Ben Hamilton [Mon, 1 Aug 2016 21:04:51 +0000 (14:04 -0700)]
Validate UTF-8 by default when parsing IDL. Support Unicode values > U+FFFF in parse
TGIshib [Sun, 31 Jul 2016 14:08:25 +0000 (17:08 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master'
Wouter van Oortmerssen [Fri, 29 Jul 2016 17:45:32 +0000 (10:45 -0700)]
Added backwards compatible --no-union-value-namespacing
Change-Id: Ia78dd3b0f213e9ffa49dcec699dcbb21fe6517da
Tested: on Linux.
Wouter van Oortmerssen [Fri, 29 Jul 2016 18:32:00 +0000 (11:32 -0700)]
Merge remote-tracking branch 'mbp/mutable-js' into ghfix
Caleb Epstein [Thu, 28 Jul 2016 19:22:29 +0000 (15:22 -0400)]
Use fully qualified names of structs in UnPack
TGIshib [Thu, 28 Jul 2016 18:58:45 +0000 (21:58 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master'
Caleb Epstein [Thu, 28 Jul 2016 12:32:05 +0000 (08:32 -0400)]
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.
Caleb Epstein [Thu, 28 Jul 2016 12:28:39 +0000 (08:28 -0400)]
Need unique_ptr.get not pointee.get
Wouter van Oortmerssen [Thu, 28 Jul 2016 00:34:00 +0000 (17:34 -0700)]
Added AppVeyor CI.
Change-Id: I01cf630026e25382b585785b471bad21153338f6
Wouter van Oortmerssen [Thu, 28 Jul 2016 00:20:35 +0000 (17:20 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers
Wouter van Oortmerssen [Thu, 28 Jul 2016 00:10:37 +0000 (17:10 -0700)]
Removed pre-made VS2010 and XCode projects.
CMake is now required on all platforms.
Change-Id: Iad81d9244a05ed70ce8b8860d6b729a873f137c1
Tested: on Windows and OS X.
Wouter van Oortmerssen [Wed, 27 Jul 2016 20:41:22 +0000 (13:41 -0700)]
Merge pull request #3965 from Bklyn/master
Fix docs for object API usage
Michael Paulson [Wed, 27 Jul 2016 20:32:53 +0000 (13:32 -0700)]
feat(test): Added mutation testing for scalar values.
This is a port of the tests found in test.cpp
Caleb Epstein [Wed, 27 Jul 2016 20:02:49 +0000 (16:02 -0400)]
Fix docs for object API usage
Wouter van Oortmerssen [Wed, 27 Jul 2016 19:29:21 +0000 (12:29 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers
Jason Sanmiya [Sat, 23 Jul 2016 02:04:23 +0000 (19:04 -0700)]
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
Robert [Tue, 26 Jul 2016 03:44:33 +0000 (20:44 -0700)]
Merge pull request #210 from splhack/add_enumnames_to_go
Add EnumNames to Go code
Michael Paulson [Mon, 25 Jul 2016 21:33:46 +0000 (14:33 -0700)]
chore(generate-code): Generate the JS code after mutation has been added.
Michael Paulson [Fri, 22 Jul 2016 18:11:56 +0000 (11:11 -0700)]
feat(mutable-js): The mutable Scalar generation.
This is just the initial commit to start the conversation on adding mutation to javascript.
Kazuki Sakamoto [Tue, 26 Jul 2016 02:37:16 +0000 (19:37 -0700)]
Add EnumNames to Go code
Tested: on Darwin
Wouter van Oortmerssen [Mon, 25 Jul 2016 23:26:50 +0000 (16:26 -0700)]
Pulled out EndianSwap into its own function.
Change-Id: I4a587102db8c435b739c92b6c464c94c4ea1fe42
Wouter van Oortmerssen [Mon, 25 Jul 2016 21:43:41 +0000 (14:43 -0700)]
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.
Wouter van Oortmerssen [Mon, 25 Jul 2016 21:42:58 +0000 (14:42 -0700)]
Adding missing generated code from recent commits.
Also updated generated_code.sh to prevent this from happening in
the future.
Change-Id: Ib282e9b6c762a79d4b4e09bee06b14781cd2a4c1
TGIshib [Mon, 25 Jul 2016 21:07:23 +0000 (00:07 +0300)]
Merge remote-tracking branch 'refs/remotes/google/master'
Raman [Mon, 25 Jul 2016 21:04:01 +0000 (23:04 +0200)]
Update idl_gen_general.cpp
Wouter van Oortmerssen [Mon, 25 Jul 2016 17:47:46 +0000 (10:47 -0700)]
Merge pull request #3935 from kazimuth/jsns
Add @namespace annotation to namespaces in javascript
Raman [Sat, 23 Jul 2016 12:17:28 +0000 (15:17 +0300)]
Merge pull request #3 from TGIshib/key
Update idl_gen_general.cpp
Raman [Sat, 23 Jul 2016 12:16:30 +0000 (14:16 +0200)]
Update idl_gen_general.cpp
Wouter van Oortmerssen [Fri, 22 Jul 2016 22:46:26 +0000 (15:46 -0700)]
Fixed missing \ in CMakeLists.txt that broke the build
Robert [Fri, 22 Jul 2016 22:12:35 +0000 (15:12 -0700)]
Merge pull request #363 from danring/fix-341
Emit GetRootAs methods for all types in Go and Python
Wouter van Oortmerssen [Thu, 21 Jul 2016 01:17:33 +0000 (18:17 -0700)]
Fixed conversion warning in generated code.
Wouter van Oortmerssen [Thu, 21 Jul 2016 01:13:11 +0000 (18:13 -0700)]
Fixed VS2010 build
Wouter van Oortmerssen [Thu, 21 Jul 2016 00:24:50 +0000 (17:24 -0700)]
Added way to test two schemas for safe evolution.
Change-Id: I1dfc867e6df5932ab61dad431eb3cb02f15d04df
Tested: on Linux.
Bug:
30202327
Wouter van Oortmerssen [Thu, 21 Jul 2016 00:55:05 +0000 (00:55 +0000)]
Merge "This is a minimal amount of #ifdef's to make stlport work." into ub-games-master
Wouter van Oortmerssen [Thu, 21 Jul 2016 00:52:41 +0000 (17:52 -0700)]
Fixed unused parameter warning.
Change-Id: I7a2576c6f366b89ef3e1f83941f90294ca7a07fd
Wouter van Oortmerssen [Thu, 21 Jul 2016 00:43:03 +0000 (17:43 -0700)]
Added missing Go generated files.
Change-Id: I9d738e84ab2e01ec117c825ade44cc865cf5f1c2
Wouter van Oortmerssen [Thu, 21 Jul 2016 00:41:36 +0000 (17:41 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers into grpc2
Wouter van Oortmerssen [Wed, 20 Jul 2016 21:18:09 +0000 (14:18 -0700)]
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
Wouter van Oortmerssen [Sat, 2 Jul 2016 01:08:51 +0000 (18:08 -0700)]
Added optional object based API for C++.
Change-Id: If927f3ea3fb3723088fa287f24bdd1ad43c8d1d1
Tested: on Linux.
Wouter van Oortmerssen [Wed, 20 Jul 2016 17:51:30 +0000 (10:51 -0700)]
Merge pull request #259 from kadirahq/golang-mutators
(Go) Add setter methods for scalar values.
Wouter van Oortmerssen [Wed, 20 Jul 2016 17:48:37 +0000 (10:48 -0700)]
Xcode fixes
Wouter van Oortmerssen [Wed, 20 Jul 2016 17:41:26 +0000 (10:41 -0700)]
VS2010 fixes
Muhammed Thanish [Wed, 20 Jul 2016 17:28:22 +0000 (22:58 +0530)]
Implement mutators for Go
Wouter van Oortmerssen [Wed, 20 Jul 2016 17:01:32 +0000 (10:01 -0700)]
Merge pull request #3954 from yakiro/master
fixed ArrayOutOfBoundsException in java example
Wouter van Oortmerssen [Wed, 20 Jul 2016 16:40:50 +0000 (09:40 -0700)]
Merge pull request #3951 from devantoine/patch-2
[PHP] Fix typo
Yakir Buskilla [Wed, 20 Jul 2016 07:46:43 +0000 (10:46 +0300)]
fixed ArrayOutOfBoundsException in java example
Antoine Descamps [Tue, 19 Jul 2016 10:22:37 +0000 (12:22 +0200)]
Fix typo
Related to https://github.com/google/flatbuffers/pull/3904#issuecomment-
224724181
Wouter van Oortmerssen [Tue, 19 Jul 2016 00:35:43 +0000 (17:35 -0700)]
Merge pull request #3904 from devantoine/patch-1
Fix typo
Wouter van Oortmerssen [Mon, 18 Jul 2016 21:13:36 +0000 (14:13 -0700)]
Merge pull request #3902 from rgilles/master
Create a maven like project structure for java development + OSGi + generation for test
Wouter van Oortmerssen [Mon, 18 Jul 2016 21:12:03 +0000 (14:12 -0700)]
Merge pull request #3915 from Lakedaemon/clangFormat
clang formating header and code generators for cpp, general, js, php
Wouter van Oortmerssen [Mon, 18 Jul 2016 18:12:43 +0000 (11:12 -0700)]
Merge pull request #3948 from mortonfox/patch-1
Fix link to CONTRIBUTING
Morton Fox [Sat, 16 Jul 2016 04:26:50 +0000 (00:26 -0400)]
Fix link to CONTRIBUTING