Wouter van Oortmerssen
e9202d85bd
Add missing Python files from type cast commit.
...
Change-Id: I800119d8fe19f4c3e95772aba629ef8b2deb9e4b
2015-08-12 10:17:10 -07:00
Wouter van Oortmerssen
9a1ab5006f
Merge pull request #253 from mormegil-cz/issue-252
...
[Issue 252] Add type cast for default enum values in C#
2015-08-12 09:21:21 -07:00
Mormegil
25c99273d3
[Issue 252] Add type cast for default enum values in C#
...
When creating a CreateXxx(...) method for a simple table 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.
2015-08-11 18:07:38 +02:00
Frank Stein
7bcbb19569
MaxBufferSize() changed to MAX_BUFFER_SIZE. Also buffer will never grow more MAX_BUFFER_SIZE.
2015-08-07 21:19:02 +03:00
Maor Itzkovitch
b062af4c8c
rebased fork
2015-08-07 18:59:59 +03:00
Maor Itzkovitch
0956719726
added comments
2015-08-07 18:35:28 +03:00
Maor Itzkovitch
766eaad4e7
added a successful test run console print
2015-08-07 18:12:19 +03:00
Maor Itzkovitch
3a74c33ba5
removed console print from code
2015-08-07 10:57:37 +03:00
Maor Itzkovitch
e4c3bf3d2c
fixed C# bytebuffer put methods
2015-08-07 10:51:15 +03:00
Maor Itzkovitch
7196c36842
begin to correct C# bytebuffer behavior
2015-08-07 09:05:08 +03:00
Wouter van Oortmerssen
e151160560
Added a link to other FPL libraries to the main page.
...
Change-Id: I45362806df6d4eff0b0b7521b7caf42c2ec0515c
2015-08-05 17:32:14 -07:00
Jon Simantov
dac63a227e
Fix missing break statement in SetAnyValueS case.
...
Causing SetAnyValueS to treat all scalars as integers.
Change-Id: Ib467b255e7f32a1478180a91e65def31676399eb
2015-08-05 16:06:47 -07:00
Wouter van Oortmerssen
986b52d849
Merge pull request #247 from stewartmiles/master
...
Clarified the use of the deprecated flatc --gen-includes flag.
2015-08-05 13:58:17 -07:00
Wouter van Oortmerssen
45cc503bbd
Changed maximum force_align to match the C++ code generator.
...
Change-Id: I7df2b0172f5de6f7bdbd8778361794004cd06062
Tested: on Linux.
2015-08-05 13:56:31 -07:00
Stewart Miles
6aeb09b297
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
2015-08-05 13:26:13 -07:00
Wouter van Oortmerssen
210c0ece54
Fixed VS project file.
...
Tested: on Windows.
2015-08-03 17:56:09 -07:00
Wouter van Oortmerssen
ad84b5b8fa
Fixed AddFlatBuffer using wrong buffer length.
...
Also made the Xcode project link.
Tested: on OS X.
2015-08-03 17:39:47 -07:00
Wouter van Oortmerssen
7101224d86
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
2015-08-03 16:42:05 -07:00
Maor Itzkovitch
6be146d67f
small refactor to GenSetter method
2015-08-01 19:28:22 +03:00
Maor Itzkovitch
f706a42951
extend java tests
2015-08-01 19:14:12 +03:00
Maor Itzkovitch
e24afd838a
extended scalar mutator support
2015-08-01 19:08:22 +03:00
Maor Itzkovitch
81c2b185ef
support for scalar mutators
2015-08-01 12:38:47 +03:00
Wouter van Oortmerssen
0e064e415b
Fixed small inaccurracies in the schema grammar.
...
Change-Id: I6e9e66c3d7d67c54617bc892f612b7341bebd7e0
2015-07-31 12:26:23 -07:00
Wouter van Oortmerssen
4998ad7365
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
2015-07-31 09:44:25 -07:00
Wouter van Oortmerssen
9a30d3d0df
Merge pull request #241 from RevenantX/master
...
[BREAKING CHANGE] Base type safety in C#. Clear FlatBufferBuilder in C#.
2015-07-29 11:36:03 -07:00
RevenantX
0b761ece4d
default in switch.
2015-07-29 00:45:26 +03:00
RevenantX
01249c1d48
remove unused funciton.
2015-07-29 00:40:48 +03:00
RevenantX
588564d74f
Base type safety in C#. Clear FlatBufferBuilder in C#.
2015-07-29 00:33:45 +03:00
Wouter van Oortmerssen
6e192fa408
Updated documentation to use new css style.
...
Change-Id: I05e2f8fd06026645a8e5da1703d757ad9de10b4f
Tested: on Linux.
2015-07-22 13:10:37 -07:00
Wouter van Oortmerssen
12ca3e054e
Fixed compile error in older gcc's for trailing comma in enum.
...
Change-Id: I60f6da32fb2a30557fcf842624f68ca184f65e1f
Tested: on Linux.
2015-07-22 12:35:40 -07:00
Wouter van Oortmerssen
62af533820
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.
2015-07-22 12:03:39 -07:00
Jon Simantov
b56020ad3b
Updated pointer syntax to be consistent in SetString, etc.
2015-07-22 11:46:14 -07:00
Jon Simantov
6e160f4c59
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.
2015-07-22 10:56:41 -07:00
Wouter van Oortmerssen
07e77ad0ff
Merge pull request #238 from martell/master
...
Add a libflatbuffers for other projects to use
2015-07-22 10:02:11 -07:00
Wouter van Oortmerssen
b6380aceac
Fixed reflection resizing code not checking strings in vectors.
...
Change-Id: I4081160a8281939ab282d7914ae396276c767882
Tested: on Linux.
2015-07-22 09:57:35 -07:00
Martell Malone
79d3cb6a6c
Add a libflatbuffers for other projects to use
2015-07-22 17:53:19 +01:00
Jon Simantov
a4de6de700
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).
2015-07-22 02:01:56 -07:00
Frank Stein
a1d801c375
2Gb buffer size checks fixed for Python Builder
2015-07-14 00:10:11 +03:00
Wouter van Oortmerssen
f66e93cd8d
Merge pull request #233 from aeneid/master
...
fix for parameter name clash in generated structs
2015-07-13 13:27:54 -07:00
aeneid
59a09cb1d0
comment update
2015-07-13 22:58:54 +03:00
Maor Itzkovitch
c23c620d26
applied struct parameter fix to Go and Python generated classes
2015-07-13 22:53:59 +03:00
Wouter van Oortmerssen
4798456df6
Fixed type specifiers in the grammar document.
...
Change-Id: Ia6b976f0eb6a99d710bcd09cb56339580ff69f5b
2015-07-13 10:31:10 -07:00
Maor Itzkovitch
147fbb4285
builder.put statements now use correct argument names
2015-07-13 20:00:48 +03:00
aeneid
a9ae9bdcab
comment update
2015-07-12 22:12:58 +03:00
aeneid
f7d8102b35
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.
2015-07-12 22:10:57 +03:00
Wouter van Oortmerssen
d0e9bc6a75
A few schema documentation fixes.
...
Change-Id: I140e1322fc1bfb3ab8012e00d8f3006ee2e7ce95
2015-07-08 17:49:49 -07:00
Wouter van Oortmerssen
d863df8683
Merge pull request #230 from aeneid/master
...
included stdio.h in include/flatbuffers/hash.h
2015-07-08 09:01:17 -07:00
aeneid
4834634766
Update flathash.cpp
2015-07-07 08:14:00 +03:00
aeneid
a4c893dbe2
Update hash.h
2015-07-07 08:13:08 +03:00
Wouter van Oortmerssen
8833255ed3
Merge pull request #227 from evanw/master
...
Round up allocation size to avoid misalignment (issue #226 )
2015-07-06 13:32:44 -07:00