summaryrefslogtreecommitdiff
path: root/tests/MyGame/Example/Stat.java
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10C#/Java generated code version updatesWouter van Oortmerssen1-1/+1
2021-01-07[C++, JSON] Fix nullptr access when reading a key with a default value. (#6375)Vladimir Glavnyy1-0/+30
This commit fixes handling of default and NULL `key` fields in `Parser::ParseVector` (#5928). The JSON generator updated. It outputs `key` fields even if the `--force-defaults` option is inactive. Additional test cases for `key` added.
2020-03-12pre-tag version bump for 1.12v1.12.0Wouter van Oortmerssen1-1/+1
Change-Id: I84a9365e9d8a1afe333b1df85058401ffe0a6b7c
2019-09-23Java: Added access object for vector of struct and vector of tables. (#5233)Kulikov Alexey1-0/+7
* Java: Added access object for vector of struct and vector of tables. * Java: Workarounds removed when accessing the union vector.
2019-06-17Add FLATBUFFERS_COMPATIBILITY string (#5381)Vladimir Glavnyy1-2/+3
* Add FLATBUFFERS_COMPATIBILITY string - Add a new __reset method NET/JAVA which hides internal state * Resolve PR notes * Use operator new() to __init of Struct and Table * Restrict visibility of C# Table/Struct to internal level
2019-05-31Break internal Java/C# APIsWouter van Oortmerssen1-3/+3
This is done on purpose, to avoid API version mismatches that can cause bad decoding results, see: https://github.com/google/flatbuffers/issues/5368 Change-Id: I2c857438377e080caad0e2d8bcc758c9b19bd6ec
2019-05-31Enforce matching version in Java and C#.Wouter van Oortmerssen1-1/+1
Change-Id: I7f1f12f2f97e5227e0dabc2965ce66a6d41c229c
2019-02-25Java: Calculation of vtable and vtable size moved to the __init method. (#5210)Kulikov Alexey1-1/+1
vtable and vtable size depends only on `Table#bb_pos` but calculated in `Table#_offset` method on each field lookup. Doing this with every call of `Table#__offset` is redundant. These values can be read once with change of `Table#bb_pos` and reused for any field lookup.
2019-02-21Fixed vector of unions crash in java (#5190)Kamil Rojewski1-1/+2
* Fixed vector of unions crash in java * Regenerated test code * Fixed windows tests
2018-11-02Fixed missing code from @javax.annotation PR.Wouter van Oortmerssen1-3/+1
https://github.com/google/flatbuffers/pull/4986 missed part of the implementation. Change-Id: Ie41771eb018a550c289c77ebe9ef5c50d1ad6751
2018-10-08Add @javax.annotation.Generated to generated flatbuffer Java types (#4986)Rikard Lundmark1-0/+1
* Add @javax.annotation.Generated to generated flatbuffer Java types. * Updating test goldens.
2018-03-02Java + C#, reuse object in lookup_by_key (#4648)Mitchel1-0/+1
* Java + C#, reuse object in lookup_by_key * Java + C#, reuse object in lookup_by_key
2016-10-21Java: fix unsigned default value code generation and add 'L' suffix for long ↵Baptiste Lepilleur1-3/+3
default value (#4051) * Java: emit "signed" equivalent of unsigned default value in generated code and add "L" suffix to long default value. * Updated generated code * Only convert ulong to "signed" equivalent. ubyte and ushort don't need specific handling as "user facing" type is int. uint need 'L' suffix as "user facing" type is long. * Added missing cast to primitive type of default value which is in "user facing" type in builder.add<type>() calls. * Do not cast default value to actual type in C#.
2016-08-31Switched C# accessors from classes to structsWouter van Oortmerssen1-2/+3
2016-07-15clang formating cpp code generator and add missing generated classeslakedaemon1-1/+1
2016-05-26sharing the Flatbuffers warninglakedaemon1-1/+1
2015-11-23Fix C# vector of enum code generationDonnell1-3/+3
Fixes a bug where the logic to determine when to use a C# enum flags both enums and vectors of enums. This causes the C# generator to generate code that doesn't compile for tables that contain vectors of enums. The fix also consolidates type generation functions a bit and adds some additional casting functions for clarity.
2015-10-13Added support for imports and many other .proto features.Wouter van Oortmerssen1-0/+1
Change-Id: I6600021b7ec8c486794349511232c3e604421c5b Tested: on Linux.
2015-08-07begin to correct C# bytebuffer behaviorMaor Itzkovitch1-1/+1
2015-08-01extended scalar mutator supportMaor Itzkovitch1-2/+2
2015-08-01support for scalar mutatorsMaor Itzkovitch1-0/+2
2015-04-10Seal all classes in Java/C#Advay Mengle1-1/+1
Makes enums/structs/tables unsubclassable (final or sealed) and prevents instantiation of enum classes (which are solely static constants). Tested (Mac OS 10.10.2): 1. run flattests 2. cd tests && ../flatc -c monster_test.fbs && ../flatc -j monster_test.fbs && ../flatc -g monster_test.fbs && ../flatc -n monster_test.fbs # Note deltas for C# and Java. 3. ./JavaTest.sh **Breaking api change** Change-Id: Ie008c941c36d212690da58ddc72c9b228eb7a093
2015-03-23Unsigned types in Java now return bigger size signed types.Wouter van Oortmerssen1-3/+7
(Java doesn't support unsigned types). ubyte/ushort return as int uint returns as long (all with correct masking) ulong still returns as long, as before. Tested: on Linux & Windows. Bug 17521464 Change-Id: Id6bc8f38fc8c1a2f4e6733c6980dc6b6e322b452
2015-02-04added reuse option for root objectsFlorian Enner1-1/+2
getRootAs..() function now has a second implementation that accepts an existing object to allow object reuse, much like all other methods that refer to objects. Change-Id: Iffef567c903a130761ef7de98867e5465d29a04d
2014-09-25Fixed bug in convenient constructors for Java/C#Wouter van Oortmerssen1-0/+35
Also fixed Go unit tests not being up to date with recent schema changes. Change-Id: I42e619f9c5ea05f6f937c68a5c8a92462c46bce3 Tested: on Linux and Windows.