Zhaoxuan Jiang
33e2d80791
[Dart] Generate constant values map for enums ( #6025 )
...
Dart schema compiler generated a static getter for enum values, which
always created a new map instance for its callers. See #5819 .
Now it generates const map for better performance
and readability.
2020-07-10 17:42:22 -07:00
Maxim Zaks
5aa443d98c
[Dart] Adding FlexBuffers support ( #5853 )
...
* Adding FlexBuffers support for Dart language
2020-05-18 07:50:39 -07:00
Dan Field
91399ad055
fix union type names ( #5902 )
...
* fix union type names
* fix up generation and test
* format
* update codegen
2020-05-13 10:26:32 -07:00
Wouter van Oortmerssen
6df40a2471
pre-tag version bump for 1.12
...
Change-Id: I84a9365e9d8a1afe333b1df85058401ffe0a6b7c
2020-03-12 15:33:39 -07:00
Light Lin
ce3a1c43a2
[Dart] Fix prepare space for writeListInt64 and writeListUint64 ( #5654 )
...
* Fix prepare space for writeListInt64 and
writeListUint64
* Fix align issues
2019-12-18 11:23:54 -08:00
Jaemin Park
4b870aca98
[Javascript] Fix syntax error for signed enum ( #5503 )
...
* wrap quotes to enum name map to prevent syntax errorn when enum value is negative
* Add a test that covers signed enum case
2019-09-05 10:22:04 -07:00
Wouter van Oortmerssen
9e7e8cbe9f
Bumped version to 1.11.0
...
Change-Id: I0c87ad2cf8f8768cf40c5b7abea0add087a5518a
2019-04-24 11:34:53 -07:00
Wouter van Oortmerssen
600f3fbcd4
Reduced force_align in tests to 8, to work with --object-api.
...
More detail:
https://github.com/google/flatbuffers/projects/6#card-17401359
See also the .md changes in this commit.
Change-Id: Idfa68b2fd3bdb19979833737d3a3cf83ec1d6775
2019-02-07 14:51:04 -08:00
Wouter van Oortmerssen
160e8f2fdc
Disallowed 0 byte structs.
...
This is because they are incompatible with C++ and possibly other
languages that make them minimum size 1 (to make sure multiple
such objects don't reside at the same address). Forcing them to size
1 was also not practical, as that is requires updating the logic
of a lot of implementations and thus possibly backwards incompatible.
More here: https://github.com/google/flatbuffers/issues/4122
Change-Id: I2bfdc8597b7cfd2235bb4074bb2ae06f81f8e57d
2018-10-29 17:40:19 -07:00
Wouter van Oortmerssen
c0698cc33f
Bumped version to 1.10.1 for all languages.
...
Change-Id: I9a6256d90ea800834a887afdcf888df412018933
2018-10-03 12:48:47 -07:00
Wouter van Oortmerssen
ea9d60bbdf
Added missing dart/ts test changes.
...
Change-Id: I836091193485b890710f1df779d4d770f729a27a
2018-08-20 12:05:37 -07:00
Dan Field
fd40cc61a4
Ensure strings are null terminated when written from Dart ( #4862 )
...
* Update for Dart 2.x constants
* Fix strings, update test, add CHANGELOG for Dart
2018-08-09 09:50:54 -07:00
Dan Field
2361dfb66a
Update for Dart 2.x constants ( #4842 )
2018-07-26 14:21:23 -07:00
Dan Field
88912640d0
Add [Dart] support ( #4676 )
...
* Add [Dart] support
* fix enum vectors
* Allow for opt out of string interning
* fix comment style, make interning opt in
* remove Offset<T>, prefer int
* avoid creating unnecessary vtable objects
* start work on tests - do not generate builder if struct has 0 fields - add int64
* support reading structs properly
* correctly handle reading vectors of structs, dartfmt
* support structs, fix unnecessary prepares
* fix bool customizations
* undo unintentional removal of file
* docs updates, complete tutorial, bug fix for codegen
* more documentation
* Update docs, add to doxygen file
* update package structure, add samples script/code
* rearrange sample
* Tests
* Add readme for pub
* cleanup package for pub
* update docs for renamed file
* remove custom matcher, use `closeTo` instead
* remove unintentional file
* remove unintended file checkin
* use auto, move method, cleanup
* refactor to ObjectBuilders, add Builders
* Update tests, examples
* Add files missing from previous commit
* documentation and example updates
* Update LICENSE, make dartanalyzer happy, fix minor bugs, get rid of duplicate files, publish script
* fix sample for slightly different schema
* Update pubspec.yaml
2018-05-18 11:06:15 -07:00