platform/upstream/flatbuffers.git
10 years agoFixed helper function CreateVectorOfStructs calling wrong variant.
Wouter van Oortmerssen [Wed, 2 Jul 2014 18:19:02 +0000 (11:19 -0700)]
Fixed helper function CreateVectorOfStructs calling wrong variant.

Change-Id: I4fd2a309276590227921ede467503f56b65ac689
Tested: on Windows and Linux

10 years agoFixed flatc not stripping the path from the base filename.
Wouter van Oortmerssen [Wed, 2 Jul 2014 17:32:32 +0000 (10:32 -0700)]
Fixed flatc not stripping the path from the base filename.

This caused two bugs when used with a path: not being able to save
the generated files, and preprocessor defines with / characters in
them.

Bug: 15676771

Tested: on Windows

Change-Id: I62a3c45d22e2545fdaad83728d83a42a6efa37f9

10 years agoFixed a bugs in the Java runtime that could cause an index out of bounds exception.
Wouter van Oortmerssen [Wed, 2 Jul 2014 00:56:12 +0000 (17:56 -0700)]
Fixed a bugs in the Java runtime that could cause an index out of bounds exception.

Tested: on Windows.

Change-Id: I0d4cdafc21690eb9a509ba31f21e80dacfb602ff

10 years agoSwitched VS build to -W4, and fixed all resulting warnings.
Wouter van Oortmerssen [Mon, 30 Jun 2014 22:56:31 +0000 (15:56 -0700)]
Switched VS build to -W4, and fixed all resulting warnings.

Change-Id: I654217cbd01a3a449503d95753e19b672ec7ec23
Tested: on Windows, Linux

10 years agoAdd buffer verification functionality to FlatBuffers
Wouter van Oortmerssen [Fri, 27 Jun 2014 23:44:53 +0000 (16:44 -0700)]
Add buffer verification functionality to FlatBuffers

Bug: 15732628
Change-Id: I0b7cb65982d6b8957d5a899cca7d2b5d2ef53206
Tested: On Windows, OS X and Linux

10 years agoGenerated C++ headers now have include guards.
Wouter van Oortmerssen [Mon, 23 Jun 2014 23:42:04 +0000 (16:42 -0700)]
Generated C++ headers now have include guards.

Bug: 15700355
Change-Id: Iceccb5b344e394e399092ffaa81f9cad2f0418ab
Tested: on Windows

10 years agoMerge "license is a comment, not an echo" into ub-games-master
Wouter van Oortmerssen [Mon, 23 Jun 2014 23:13:20 +0000 (23:13 +0000)]
Merge "license is a comment, not an echo" into ub-games-master

10 years agoMerge "show absolute path to user when aborting" into ub-games-master
Wouter van Oortmerssen [Mon, 23 Jun 2014 23:13:09 +0000 (23:13 +0000)]
Merge "show absolute path to user when aborting" into ub-games-master

10 years agoMerge "sh script for JavaTest" into ub-games-master
Wouter van Oortmerssen [Mon, 23 Jun 2014 23:12:57 +0000 (23:12 +0000)]
Merge "sh script for JavaTest" into ub-games-master

10 years agoJSON text output now optionally doesn't output linefeeds either.
Wouter van Oortmerssen [Mon, 23 Jun 2014 21:14:31 +0000 (14:14 -0700)]
JSON text output now optionally doesn't output linefeeds either.

Change-Id: Iedac80ee00b27a97c21c7b4ac7c9792e5bafbcc8
Tested: On Windows

10 years agoDoc clarifications (Java vectors, test working dir, benchmark fix).
Wouter van Oortmerssen [Mon, 23 Jun 2014 20:33:34 +0000 (13:33 -0700)]
Doc clarifications (Java vectors, test working dir, benchmark fix).

Change-Id: If8cc05669d82df892e1d4e11f7fbbd68b2dc05bf

10 years agolicense is a comment, not an echo
rw [Mon, 23 Jun 2014 20:37:32 +0000 (13:37 -0700)]
license is a comment, not an echo

10 years agoforce_align was applied after struct size was set.
Wouter van Oortmerssen [Mon, 23 Jun 2014 18:34:19 +0000 (11:34 -0700)]
force_align was applied after struct size was set.

Change-Id: I9a35afac41f27dfdbc5e793c41ec768732cdc2a1
Tested: on Windows.

10 years agoFixed bug that caused creating 0-length arrays to crash
Wouter van Oortmerssen [Mon, 23 Jun 2014 17:55:04 +0000 (10:55 -0700)]
Fixed bug that caused creating 0-length arrays to crash

Change-Id: Ibb0da5b57a2f63804c071863d8c60b845e0aece7
Tested: on Windows

10 years agoshow absolute path to user when aborting
rw [Fri, 20 Jun 2014 23:51:32 +0000 (16:51 -0700)]
show absolute path to user when aborting

10 years agosh script for JavaTest
rw [Fri, 20 Jun 2014 23:21:49 +0000 (16:21 -0700)]
sh script for JavaTest

10 years agoMerge "Fixed various compiler warnings (most related to a 64bit size_t)." into ub...
Wouter van Oortmerssen [Thu, 19 Jun 2014 22:01:45 +0000 (22:01 +0000)]
Merge "Fixed various compiler warnings (most related to a 64bit size_t)." into ub-games-master

10 years agoFixed various compiler warnings (most related to a 64bit size_t).
Wouter van Oortmerssen [Thu, 19 Jun 2014 18:37:54 +0000 (11:37 -0700)]
Fixed various compiler warnings (most related to a 64bit size_t).

Change-Id: Ic2e0565ebc5243fc0be780bfbcb221d5170569fd
Tested: on VS2010

10 years agoAdded 64bit configuration to VS project, and fixed dangling project references.
Wouter van Oortmerssen [Thu, 19 Jun 2014 18:27:07 +0000 (11:27 -0700)]
Added 64bit configuration to VS project, and fixed dangling project references.

Change-Id: I7a0713e3357fc421fcaa6771c9440f2b2f5f58f6
Tested: with VS2010

10 years agoFix compilation with VS 2013 missing header
Barak Amar [Tue, 17 Jun 2014 19:31:25 +0000 (22:31 +0300)]
Fix compilation with VS 2013 missing header

10 years agoDocumentation changes to clarify FlatBuffer internals.
Wouter van Oortmerssen [Wed, 18 Jun 2014 00:48:06 +0000 (17:48 -0700)]
Documentation changes to clarify FlatBuffer internals.

Change-Id: I3759a07385f0d8d172ca2f88ac1759b71bee5a6a

10 years agoFixed a bug in the Java code generation that would generate the wrong identifier...
Wouter van Oortmerssen [Wed, 18 Jun 2014 00:25:57 +0000 (17:25 -0700)]
Fixed a bug in the Java code generation that would generate the wrong identifier in some cases.
Also added a safety check for buffers growing past 2 gigabytes.

Change-Id: I2bca7159f606cf1c08c4391e88ef9b4c8363be06
Tested: With the Java sdk.

10 years agoFixed the web pages not scrolling by regenerating with doxygen.
Wouter van Oortmerssen [Tue, 17 Jun 2014 18:10:53 +0000 (11:10 -0700)]
Fixed the web pages not scrolling by regenerating with doxygen.

Change-Id: Id1269f85ec2f522c8d4b0d05f84d050b42d70d60
Tested: on Android

10 years agoRemoved all unnecessary files from the Xcode project
Wouter van Oortmerssen [Fri, 13 Jun 2014 18:11:54 +0000 (11:11 -0700)]
Removed all unnecessary files from the Xcode project

Change-Id: I60c20e184f51906e6e2fb3880d593584aac0e2fb
Tested: on OS X

10 years agoRemoved two user-specific files from the Xcode project
Wouter van Oortmerssen [Thu, 12 Jun 2014 18:32:55 +0000 (11:32 -0700)]
Removed two user-specific files from the Xcode project

Tested: on OS X.

Change-Id: I19950092140288916651f8c956d05e8c7879c717

10 years agoAdded project files for Visual Studio and Xcode.
Wouter van Oortmerssen [Wed, 11 Jun 2014 20:53:32 +0000 (13:53 -0700)]
Added project files for Visual Studio and Xcode.

Change-Id: Ife9775fdedc9e084c1e826ef13dff06a1b1b2ec2
Tested: on Windows and OS X.

10 years agoInitial commit of the FlatBuffers code.
Wouter van Oortmerssen [Tue, 28 Jan 2014 00:52:49 +0000 (16:52 -0800)]
Initial commit of the FlatBuffers code.

Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920
Tested: using VS2010 / Xcode / gcc on Linux.

10 years agoInitial empty repository
Baligh Uddin [Tue, 28 Jan 2014 00:13:27 +0000 (16:13 -0800)]
Initial empty repository