platform/upstream/flatbuffers.git
8 years agoFix 32bit-system integer overflow (test only)
Robert [Fri, 25 Sep 2015 20:57:17 +0000 (13:57 -0700)]
Fix 32bit-system integer overflow (test only)

For #277

8 years agoMerge pull request #280 from alexames/master
Wouter van Oortmerssen [Fri, 25 Sep 2015 17:38:50 +0000 (10:38 -0700)]
Merge pull request #280 from alexames/master

Removed call to pop_back on std::string.

8 years agoFixed .proto translation making scalars into required fields.
Wouter van Oortmerssen [Fri, 25 Sep 2015 16:21:31 +0000 (09:21 -0700)]
Fixed .proto translation making scalars into required fields.

Change-Id: If414d156b4e9bc7fead5f131823b2c419cdc4e2c
Tested: on Linux.

8 years agoRemoved call to pop_back on std::string.
Alex Ames [Thu, 24 Sep 2015 21:19:32 +0000 (14:19 -0700)]
Removed call to pop_back on std::string.

The pop_back function was added to strings in C++11 and it appears not
all compilers we target support it. The call to pop_back has been
replaced with a call to erase.

Tested on Linux. All unit tests pass.

8 years agoMerge pull request #274 from cogumbreiro/master
Wouter van Oortmerssen [Wed, 23 Sep 2015 19:37:45 +0000 (12:37 -0700)]
Merge pull request #274 from cogumbreiro/master

Fix an out-of bounds read when the element is bigger than the buffer.

8 years agoMerge pull request #275 from brunoqc/patch-1
Robert [Mon, 21 Sep 2015 22:13:24 +0000 (15:13 -0700)]
Merge pull request #275 from brunoqc/patch-1

Remove duplicate Go test

8 years agoRemove duplicate Go test
Bruno Bigras [Mon, 21 Sep 2015 21:51:16 +0000 (17:51 -0400)]
Remove duplicate Go test

8 years agoFix an out-of bounds read when the element is bigger than the buffer.
Tiago Cogumbreiro [Sat, 19 Sep 2015 01:38:47 +0000 (20:38 -0500)]
Fix an out-of bounds read when the element is bigger than the buffer.

Ensure the size of the buffer being checked is bigger than the element
of the buffer being checked. The buffer can be triggered when, for
example, the buffer is of length zero and we are checking for:

    Verify<uoffset_t>(buf_)

The condition above should fail.

8 years agoserialize boolean in JSON to "true/false" instead of "0/1"
Björn Reimer [Tue, 8 Sep 2015 09:00:35 +0000 (11:00 +0200)]
serialize boolean in JSON to "true/false" instead of "0/1"

Change-Id: I90cf519c00eaf9ccd9fcab8035a91b9205587c3b

8 years agoMerge pull request #271 from vijairaj/scoped-enums
Wouter van Oortmerssen [Wed, 16 Sep 2015 17:14:49 +0000 (10:14 -0700)]
Merge pull request #271 from vijairaj/scoped-enums

Implemented option --scoped-enum for C++ generator

8 years agoImplemented option --scoped-enum for C++ generator
vijairaj [Tue, 15 Sep 2015 08:11:29 +0000 (13:41 +0530)]
Implemented option --scoped-enum for C++ generator

This generates C++11 style scoped and strongly typed enums.
Enabling this option also implies --no-prefix.

8 years agoMerge pull request #266 from kadirahq/fix-travis-osx
Wouter van Oortmerssen [Tue, 15 Sep 2015 00:50:29 +0000 (17:50 -0700)]
Merge pull request #266 from kadirahq/fix-travis-osx

Fix before_install step on .travis.yml file for osx

8 years agoClarified use of unions in C++.
Wouter van Oortmerssen [Mon, 14 Sep 2015 18:00:12 +0000 (11:00 -0700)]
Clarified use of unions in C++.

Change-Id: I9654e0c6a45457c8e150f07dd5f7b39539266f9e

8 years agoFix Visual Studio 2012 build warning.
Jason Sanmiya [Fri, 11 Sep 2015 20:40:59 +0000 (13:40 -0700)]
Fix Visual Studio 2012 build warning.

Also, remove execute permissions on several source files.

Tested: Builds on Visual Studio 2012, and Linux.

Change-Id: Idaacb2ae8eba98ce2974218c2ab840e97a1d67e9

8 years agoMerge pull request #269 from teemuandersen/master
Wouter van Oortmerssen [Fri, 11 Sep 2015 21:23:53 +0000 (14:23 -0700)]
Merge pull request #269 from teemuandersen/master

Add @SuppressWarnings("all") to generated Java classes

8 years agoAdd @SuppressWarnings("unused") to generated Java classes
Teemu Andersén [Thu, 10 Sep 2015 16:56:50 +0000 (19:56 +0300)]
Add @SuppressWarnings("unused") to generated Java classes

Usually generators add @SuppressWarnings("all") to generated Java
classes to prevent IDEs from complaining about unused imports, etc.
Solving used imports seems pretty hard with current generator logic so
IMO this is the next best thing.

Yes, it’s appended to import block but that is the block that gives
these warnings in the first place.

8 years agoFix OSX related errors on travis
Muhammed Thanish [Thu, 10 Sep 2015 04:21:35 +0000 (09:51 +0530)]
Fix OSX related errors on travis

 - Install g++ and cmake only on Linux.
 - Use biicode only on Linux machines.

8 years agoImproved the speed of LoadFile() in debug mode.
Wouter van Oortmerssen [Wed, 9 Sep 2015 19:56:23 +0000 (12:56 -0700)]
Improved the speed of LoadFile() in debug mode.

Apparently, istreambuf_iterator has a lot of overhead.

Change-Id: I804f4e8f2b380b05e939edefe0e1e88cd10e920c
Tested: on Linux.

8 years agoFixed Android builds on Windows (generated schema rules).
Wouter van Oortmerssen [Fri, 28 Aug 2015 19:06:41 +0000 (12:06 -0700)]
Fixed Android builds on Windows (generated schema rules).

include.mk causes absolute paths to be generated, which doesn't
work on Windows (make doesn't like : in paths).

Change-Id: Ib06c9581620bde1e8452e0dd887d3986d517c4f5
Tested: on Windows, Linux.

8 years agoFixed a clang warning about signed shifts.
Wouter van Oortmerssen [Wed, 26 Aug 2015 23:47:59 +0000 (16:47 -0700)]
Fixed a clang warning about signed shifts.

Change-Id: I7c2bf87972ee0ba6811d6ed42e13300bff90e36f

8 years agoFix conversion of floats when generating json
Björn Reimer [Wed, 26 Aug 2015 15:30:07 +0000 (17:30 +0200)]
Fix conversion of floats when generating json

Change-Id: I01def42eda9b70308046c048099d85db8f889ede

8 years agofixed code generator for array of bools
Maxim Zaks [Sun, 16 Aug 2015 07:34:56 +0000 (09:34 +0200)]
fixed code generator for array of bools

Change-Id: I3cdd801b641bf180222203a37634598350d340e3

8 years agoMerge pull request #235 from FrankStain/master
Robert [Wed, 19 Aug 2015 21:22:20 +0000 (23:22 +0200)]
Merge pull request #235 from FrankStain/master

2Gb buffer size checks fixed for Python Builder

8 years agoMerge pull request #248 from aeneid/master
Wouter van Oortmerssen [Wed, 19 Aug 2015 18:43:22 +0000 (11:43 -0700)]
Merge pull request #248 from aeneid/master

Added Java and C# mutators

8 years agorebase
Maor Itzkovitch [Wed, 19 Aug 2015 18:32:08 +0000 (21:32 +0300)]
rebase

8 years agoClarified choice of types in Java/C# codegen.
Wouter van Oortmerssen [Wed, 19 Aug 2015 18:06:38 +0000 (11:06 -0700)]
Clarified choice of types in Java/C# codegen.

Change-Id: I1f094f350145d13b12cbe367bae7c623cfbbd8d3

8 years agoMerge remote-tracking branch 'upstream/master'
Maor Itzkovitch [Sat, 15 Aug 2015 11:48:59 +0000 (14:48 +0300)]
Merge remote-tracking branch 'upstream/master'

8 years agoadded vector mutators
Maor Itzkovitch [Sat, 15 Aug 2015 11:48:47 +0000 (14:48 +0300)]
added vector mutators

8 years agoAdded authors to support.md
Wouter van Oortmerssen [Fri, 14 Aug 2015 21:07:54 +0000 (14:07 -0700)]
Added authors to support.md

Change-Id: I8f12e60d29a1c587d991bf64011bdf4a4b0d7e5b

8 years agoIncorrect buffer size check fixed.
Frank Stein [Thu, 13 Aug 2015 21:50:39 +0000 (00:50 +0300)]
Incorrect buffer size check fixed.

8 years agoAdded a platform / language / feature support matrix to docs.
Wouter van Oortmerssen [Wed, 12 Aug 2015 19:05:55 +0000 (12:05 -0700)]
Added a platform / language / feature support matrix to docs.

This is just a start, will need to be extended.

Change-Id: I5a9ad671911942dcb83fdd2bae537deed751cbfd

8 years agoAdd missing Python files from type cast commit.
Wouter van Oortmerssen [Wed, 12 Aug 2015 17:17:10 +0000 (10:17 -0700)]
Add missing Python files from type cast commit.

Change-Id: I800119d8fe19f4c3e95772aba629ef8b2deb9e4b

8 years agoMerge pull request #253 from mormegil-cz/issue-252
Wouter van Oortmerssen [Wed, 12 Aug 2015 16:21:21 +0000 (09:21 -0700)]
Merge pull request #253 from mormegil-cz/issue-252

[Issue 252] Add type cast for default enum values in C#

8 years ago[Issue 252] Add type cast for default enum values in C#
Mormegil [Tue, 11 Aug 2015 16:01:43 +0000 (18:01 +0200)]
[Issue 252] Add type cast for default enum values in C#

When creating a \93CreateXxx(...)\94 method for a \93simple table\94 type,
enum-type fields with a non-zero default must have an explicit
cast for the respective argument default value, because in C#,
there is an implicit cast from int to an enum only for 0.

Also, added an example of such type into the example monster_test
type, so that we test this feature.

8 years agoMaxBufferSize() changed to MAX_BUFFER_SIZE. Also buffer will never grow more MAX_BUFF...
Frank Stein [Fri, 7 Aug 2015 18:19:02 +0000 (21:19 +0300)]
MaxBufferSize() changed to MAX_BUFFER_SIZE. Also buffer will never grow more MAX_BUFFER_SIZE.

8 years agorebased fork
Maor Itzkovitch [Fri, 7 Aug 2015 15:59:59 +0000 (18:59 +0300)]
rebased fork

8 years agoadded comments
Maor Itzkovitch [Fri, 7 Aug 2015 15:35:28 +0000 (18:35 +0300)]
added comments

8 years agoadded a successful test run console print
Maor Itzkovitch [Fri, 7 Aug 2015 15:12:19 +0000 (18:12 +0300)]
added a successful test run console print

9 years agoremoved console print from code
Maor Itzkovitch [Fri, 7 Aug 2015 07:57:37 +0000 (10:57 +0300)]
removed console print from code

9 years agofixed C# bytebuffer put methods
Maor Itzkovitch [Fri, 7 Aug 2015 07:51:15 +0000 (10:51 +0300)]
fixed C# bytebuffer put methods

9 years agobegin to correct C# bytebuffer behavior
Maor Itzkovitch [Fri, 7 Aug 2015 06:05:08 +0000 (09:05 +0300)]
begin to correct C# bytebuffer behavior

9 years agoAdded a link to other FPL libraries to the main page.
Wouter van Oortmerssen [Thu, 6 Aug 2015 00:32:14 +0000 (17:32 -0700)]
Added a link to other FPL libraries to the main page.

Change-Id: I45362806df6d4eff0b0b7521b7caf42c2ec0515c

9 years agoFix missing break statement in SetAnyValueS case.
Jon Simantov [Wed, 5 Aug 2015 22:45:02 +0000 (15:45 -0700)]
Fix missing break statement in SetAnyValueS case.

Causing SetAnyValueS to treat all scalars as integers.

Change-Id: Ib467b255e7f32a1478180a91e65def31676399eb

9 years agoMerge pull request #247 from stewartmiles/master
Wouter van Oortmerssen [Wed, 5 Aug 2015 20:58:17 +0000 (13:58 -0700)]
Merge pull request #247 from stewartmiles/master

Clarified the use of the deprecated flatc --gen-includes flag.

9 years agoChanged maximum force_align to match the C++ code generator.
Wouter van Oortmerssen [Wed, 5 Aug 2015 20:56:31 +0000 (13:56 -0700)]
Changed maximum force_align to match the C++ code generator.

Change-Id: I7df2b0172f5de6f7bdbd8778361794004cd06062
Tested: on Linux.

9 years agoClarified the use of the deprecated flatc --gen-includes flag.
Stewart Miles [Tue, 4 Aug 2015 18:40:45 +0000 (11:40 -0700)]
Clarified the use of the deprecated flatc --gen-includes flag.

Also, removed the flag from the Android makefile.

Tested:
Verified flatc builds successfully on Linux and regenerated the docs.

Change-Id: I7140daa10b7cb9a29b5ffd63c6b20489e72a5899

9 years agoFixed VS project file.
Wouter van Oortmerssen [Tue, 4 Aug 2015 00:56:09 +0000 (17:56 -0700)]
Fixed VS project file.

Tested: on Windows.

9 years agoFixed AddFlatBuffer using wrong buffer length.
Wouter van Oortmerssen [Tue, 4 Aug 2015 00:39:47 +0000 (17:39 -0700)]
Fixed AddFlatBuffer using wrong buffer length.

Also made the Xcode project link.

Tested: on OS X.

9 years agoReworked reflection.h to be more general.
Wouter van Oortmerssen [Fri, 31 Jul 2015 20:55:53 +0000 (13:55 -0700)]
Reworked reflection.h to be more general.

e.g. support generic reading/writing from structs/vectors etc.

Change-Id: I2eb6e24db088a72da444d5c8df7e506e53d5bc2d
Tested: on Linux.
Bug: 22660837

9 years agosmall refactor to GenSetter method
Maor Itzkovitch [Sat, 1 Aug 2015 16:28:22 +0000 (19:28 +0300)]
small refactor to GenSetter method

9 years agoextend java tests
Maor Itzkovitch [Sat, 1 Aug 2015 16:14:12 +0000 (19:14 +0300)]
extend java tests

9 years agoextended scalar mutator support
Maor Itzkovitch [Sat, 1 Aug 2015 16:07:10 +0000 (19:07 +0300)]
extended scalar mutator support

9 years agosupport for scalar mutators
Maor Itzkovitch [Sat, 1 Aug 2015 09:38:47 +0000 (12:38 +0300)]
support for scalar mutators

9 years agoFixed small inaccurracies in the schema grammar.
Wouter van Oortmerssen [Fri, 31 Jul 2015 19:26:23 +0000 (12:26 -0700)]
Fixed small inaccurracies in the schema grammar.

Change-Id: I6e9e66c3d7d67c54617bc892f612b7341bebd7e0

9 years agoAdded support for adding new tables/strings to an existing FlatBuffer.
Wouter van Oortmerssen [Thu, 30 Jul 2015 00:49:02 +0000 (17:49 -0700)]
Added support for adding new tables/strings to an existing FlatBuffer.

As part of the reflection support.

Change-Id: Ie0a8e233bca7dffa4cff7e564660035d97ff8902
Tested: on Linux.
Bug:22637258

9 years agoMerge pull request #241 from RevenantX/master
Wouter van Oortmerssen [Wed, 29 Jul 2015 18:36:03 +0000 (11:36 -0700)]
Merge pull request #241 from RevenantX/master

[BREAKING CHANGE] Base type safety in C#. Clear FlatBufferBuilder in C#.

9 years agodefault in switch.
RevenantX [Tue, 28 Jul 2015 21:45:26 +0000 (00:45 +0300)]
default in switch.

9 years agoremove unused funciton.
RevenantX [Tue, 28 Jul 2015 21:40:48 +0000 (00:40 +0300)]
remove unused funciton.

9 years agoBase type safety in C#. Clear FlatBufferBuilder in C#.
RevenantX [Tue, 28 Jul 2015 21:33:45 +0000 (00:33 +0300)]
Base type safety in C#. Clear FlatBufferBuilder in C#.

9 years agoUpdated documentation to use new css style.
Wouter van Oortmerssen [Wed, 22 Jul 2015 20:10:37 +0000 (13:10 -0700)]
Updated documentation to use new css style.

Change-Id: I05e2f8fd06026645a8e5da1703d757ad9de10b4f
Tested: on Linux.

9 years agoFixed compile error in older gcc's for trailing comma in enum.
Wouter van Oortmerssen [Wed, 22 Jul 2015 19:35:40 +0000 (12:35 -0700)]
Fixed compile error in older gcc's for trailing comma in enum.

Change-Id: I60f6da32fb2a30557fcf842624f68ca184f65e1f
Tested: on Linux.

9 years agoMerge pull request #237 from jonsimantov/master
Wouter van Oortmerssen [Wed, 22 Jul 2015 19:03:39 +0000 (12:03 -0700)]
Merge pull request #237 from jonsimantov/master

Add optional root table to SetString and ResizeVector, when your Flatbuffer isn't the schema's root type.

9 years agoUpdated pointer syntax to be consistent in SetString, etc.
Jon Simantov [Wed, 22 Jul 2015 18:46:14 +0000 (11:46 -0700)]
Updated pointer syntax to be consistent in SetString, etc.

9 years agoUse Object* for optional root_table in SetString/ResizeVector.
Jon Simantov [Wed, 22 Jul 2015 17:56:41 +0000 (10:56 -0700)]
Use Object* for optional root_table in SetString/ResizeVector.

Was previously using table name, but no reason not to just let the
calling code worry about getting the object.

9 years agoMerge pull request #238 from martell/master
Wouter van Oortmerssen [Wed, 22 Jul 2015 17:02:11 +0000 (10:02 -0700)]
Merge pull request #238 from martell/master

Add a libflatbuffers for other projects to use

9 years agoFixed reflection resizing code not checking strings in vectors.
Wouter van Oortmerssen [Wed, 22 Jul 2015 16:57:35 +0000 (09:57 -0700)]
Fixed reflection resizing code not checking strings in vectors.

Change-Id: I4081160a8281939ab282d7914ae396276c767882
Tested: on Linux.

9 years agoAdd a libflatbuffers for other projects to use
Martell Malone [Wed, 22 Jul 2015 12:18:59 +0000 (13:18 +0100)]
Add a libflatbuffers for other projects to use

9 years agoAdd optional root table name to SetString and ResizeVector.
Jon Simantov [Wed, 22 Jul 2015 09:01:56 +0000 (02:01 -0700)]
Add optional root table name to SetString and ResizeVector.

This allows you to use these functions with a flatbuffer whose root
table type does't correspond with the root table type of the schema.

If you don't specify the table name, it will use the root table from
the schema by default (mimicing the current behavior).

9 years ago2Gb buffer size checks fixed for Python Builder
Frank Stein [Mon, 13 Jul 2015 21:10:11 +0000 (00:10 +0300)]
2Gb buffer size checks fixed for Python Builder

9 years agoMerge pull request #233 from aeneid/master
Wouter van Oortmerssen [Mon, 13 Jul 2015 20:27:54 +0000 (13:27 -0700)]
Merge pull request #233 from aeneid/master

fix for parameter name clash in generated structs

9 years agocomment update
aeneid [Mon, 13 Jul 2015 19:58:54 +0000 (22:58 +0300)]
comment update

9 years agoapplied struct parameter fix to Go and Python generated classes
Maor Itzkovitch [Mon, 13 Jul 2015 19:53:59 +0000 (22:53 +0300)]
applied struct parameter fix to Go and Python generated classes

9 years agoFixed type specifiers in the grammar document.
Wouter van Oortmerssen [Fri, 10 Jul 2015 23:39:47 +0000 (16:39 -0700)]
Fixed type specifiers in the grammar document.

Change-Id: Ia6b976f0eb6a99d710bcd09cb56339580ff69f5b

9 years agobuilder.put statements now use correct argument names
Maor Itzkovitch [Mon, 13 Jul 2015 17:00:48 +0000 (20:00 +0300)]
builder.put statements now use correct argument names

9 years agocomment update
aeneid [Sun, 12 Jul 2015 19:12:58 +0000 (22:12 +0300)]
comment update

9 years agoPassed field name as prefix for nested structs
aeneid [Sun, 12 Jul 2015 19:10:57 +0000 (22:10 +0300)]
Passed field name as prefix for nested structs

This pull request should fix #232.
Pass field name instead of struct name as nameprefix for nested structures. Continuously concatenate nameprefix arguments to support deeper nested structures.

9 years agoA few schema documentation fixes.
Wouter van Oortmerssen [Thu, 9 Jul 2015 00:49:01 +0000 (17:49 -0700)]
A few schema documentation fixes.

Change-Id: I140e1322fc1bfb3ab8012e00d8f3006ee2e7ce95

9 years agoMerge pull request #230 from aeneid/master
Wouter van Oortmerssen [Wed, 8 Jul 2015 16:01:17 +0000 (09:01 -0700)]
Merge pull request #230 from aeneid/master

included stdio.h in include/flatbuffers/hash.h

9 years agoUpdate flathash.cpp
aeneid [Tue, 7 Jul 2015 05:14:00 +0000 (08:14 +0300)]
Update flathash.cpp

9 years agoUpdate hash.h
aeneid [Tue, 7 Jul 2015 05:13:08 +0000 (08:13 +0300)]
Update hash.h

9 years agoMerge pull request #227 from evanw/master
Wouter van Oortmerssen [Mon, 6 Jul 2015 20:32:44 +0000 (13:32 -0700)]
Merge pull request #227 from evanw/master

Round up allocation size to avoid misalignment (issue #226)

9 years agoMerge pull request #1 from aeneid/aeneid-patch-1
aeneid [Sun, 5 Jul 2015 17:27:20 +0000 (20:27 +0300)]
Merge pull request #1 from aeneid/aeneid-patch-1

added #include <stdio.h>

9 years agoadded #include <stdio.h>
aeneid [Sun, 5 Jul 2015 16:50:50 +0000 (19:50 +0300)]
added #include <stdio.h>

9 years agoRound up allocation size to avoid misalignment (issue #226)
Evan Wallace [Thu, 2 Jul 2015 21:05:45 +0000 (14:05 -0700)]
Round up allocation size to avoid misalignment (issue #226)

Before this change, requesting a large initial allocation could cause the
backing store to grow to an unaligned size. Since memory inside vector_downward
is relative to the end of the buffer, this then caused all memory in the buffer
to be misaligned and also misaligns any further loads and stores. Misaligned
loads and stores are undefined behavior and don't work in environments such as
emscripten (a JavaScript to C++ compiler).

9 years agoAllow customization of flatc cmdline arguments on Android.
Jon Simantov [Tue, 30 Jun 2015 17:15:58 +0000 (10:15 -0700)]
Allow customization of flatc cmdline arguments on Android.

On Android builds, set FLATBUFFERS_FLATC_ARGS to change the arguments
passed to the flatc cmdline. Do this in your Android makefile where
you include the flatbuffers include.mk (before or after).

For example FLATBUFFERS_FLATC_ARGS=--gen-mutable

The default value is --gen-includes although since that is deprecated
we could just make the default value blank.

Change-Id: I79fb35f50c3e21bbef18ad40ad3559cb026ffe8e

9 years agoMade warning settings in Xcode more aggressive.
Wouter van Oortmerssen [Mon, 29 Jun 2015 22:49:13 +0000 (15:49 -0700)]
Made warning settings in Xcode more aggressive.

Tested: on OS X.

9 years agoFixed null root_table access in binary schema generation.
Wouter van Oortmerssen [Mon, 29 Jun 2015 22:21:48 +0000 (15:21 -0700)]
Fixed null root_table access in binary schema generation.

Change-Id: Ia2b7abc10bee52814e815befcad6a89697295d8f
Tested: on Linux.

9 years agoReflection: generically copy (parts of) FlatBuffers.
Wouter van Oortmerssen [Tue, 23 Jun 2015 23:06:35 +0000 (16:06 -0700)]
Reflection: generically copy (parts of) FlatBuffers.

Change-Id: Ief3f1507c003079eac90c2bb6c2abd64a80a0a34
Tested: on Linux.

9 years agoMerge pull request #222 from rw/go-update-panics
Robert [Mon, 29 Jun 2015 22:10:44 +0000 (18:10 -0400)]
Merge pull request #222 from rw/go-update-panics

Panic when nesting strings. Test panic scenarios.

9 years agoMerge pull request #224 from rubber-duck/master
gwvo [Mon, 29 Jun 2015 17:44:11 +0000 (10:44 -0700)]
Merge pull request #224 from rubber-duck/master

Fixed argument value to correct type

9 years agoMerge pull request #223 from belm0/csharp_docs
gwvo [Mon, 29 Jun 2015 16:55:38 +0000 (09:55 -0700)]
Merge pull request #223 from belm0/csharp_docs

Java/C-sharp docs: fix typo, clarify parser availability.

9 years agoFixed argument value to correct type
Rafael Munitić [Fri, 26 Jun 2015 19:28:39 +0000 (21:28 +0200)]
Fixed argument value to correct type

9 years agoJava/C-sharp docs: fix typo, clarify parser availability.
John Belmonte [Thu, 25 Jun 2015 21:42:41 +0000 (14:42 -0700)]
Java/C-sharp docs: fix typo, clarify parser availability.

9 years agoPanic when nesting strings. Test panic scenarios.
rw [Wed, 24 Jun 2015 15:53:44 +0000 (11:53 -0400)]
Panic when nesting strings. Test panic scenarios.

Also add a new `insideObject` boolean to the Builder to track whether an
object is currently being constructed. This fixes a bug with objects
that have zero fields.

9 years agoFixed possible crash from reference to non-static variable.
Wouter van Oortmerssen [Mon, 22 Jun 2015 17:23:42 +0000 (10:23 -0700)]
Fixed possible crash from reference to non-static variable.

Change-Id: I1842098a7ef461e2e92dd35d79d8ca303e814867
Tested: on Linux.

9 years agoSmall improvements to the C++ API.
Wouter van Oortmerssen [Wed, 17 Jun 2015 23:56:50 +0000 (16:56 -0700)]
Small improvements to the C++ API.

Change-Id: Ib30ffbbd140a8b82fe664129fa4e8c55836267f8
Tested: on Linux.

9 years agoChanged VS flatc test settings to match Linux.
Wouter van Oortmerssen [Wed, 17 Jun 2015 17:27:05 +0000 (10:27 -0700)]
Changed VS flatc test settings to match Linux.

9 years agoMerge pull request #217 from amoldeshpande/master
gwvo [Wed, 17 Jun 2015 17:10:50 +0000 (10:10 -0700)]
Merge pull request #217 from amoldeshpande/master

option to generate one file for C#

9 years agoMerge branch 'master' of https://github.com/amoldeshpande/flatbuffers
Amol Deshpande [Tue, 16 Jun 2015 14:23:29 +0000 (07:23 -0700)]
Merge branch 'master' of https://github.com/amoldeshpande/flatbuffers

9 years agoMerge branch 'master' of https://github.com/google/flatbuffers
Amol Deshpande [Tue, 16 Jun 2015 14:16:59 +0000 (07:16 -0700)]
Merge branch 'master' of https://github.com/google/flatbuffers

Conflicts:
src/flatc.cpp
src/idl_gen_general.cpp