gonzaloserrano
ec20233fab
Make most of the Go code comply with gofmt (except enums).
...
Enums are not fixed because depending on they have comments or not they
will be aligned alogn the asssignment character.
2016-08-02 18:21:47 +02:00
Muhammed Thanish
53e9606ea2
Implement mutators for Go
2016-07-20 22:58:22 +05:30
Wouter van Oortmerssen
afa276288c
Added additional convenience overloads to CreateVector().
...
Bug: 29337887, 29336299
Change-Id: Iad8b3b2263f6cea7ee7e45994369194960df293b
Tested: on Linux.
2016-06-15 14:31:34 -07:00
lakedaemon
cd1493b082
sharing the Flatbuffers warning
2016-05-26 15:26:58 +02:00
Wouter van Oortmerssen
fd542c71e3
Fixed float suffix not being added on implicit float defaults.
...
Change-Id: I8dcbb5e93836356511d411ef86452babd3dd3c0b
Tested: on Linux.
2016-04-20 12:06:32 -07:00
Wouter van Oortmerssen
4d7890c2c9
Fixed whole-number float default values missing a .0 suffix.
...
A previous commit that added "f" for C++/Java/C# would break
on gcc of constants like 3f, which are now output as 3.0f
Tested: on Linux
Change-Id: If9cabbe3c6d6948a5050b8b123bda9c06e181f52
2016-04-18 11:50:46 -07:00
Wouter van Oortmerssen
29d957ed5e
Fixed missing "f" on float default values in C++/Java/C#
...
Bug: 28145201
Change-Id: I5a1818c40c2f4fbd00cfec3362040407976f7a39
Tested: on Linux.
2016-04-13 17:29:03 -07:00
Wouter van Oortmerssen
4d7810424c
Allow structs to be parsed in JSON with out of order fields.
...
Also simplified the code and made it faster.
Change-Id: I1d83b1165a4a9a4380d1bfb5538769c012d2d367
Tested: on Linux.
2015-10-28 17:54:11 -07:00
Maxim Zaks
ac10873e26
fixed code generator for array of bools
...
Change-Id: I3cdd801b641bf180222203a37634598350d340e3
2015-08-19 14:39:06 -07:00
rw
f02646e357
Remove all string allocations during parsing.
...
Change the signature for 'string' getters and settings to use byte
slices instead of strings.
2015-04-02 11:56:55 -07:00
Ben Harper
8fb6c4f764
Add byte slice accessor to Go code
2015-04-01 16:47:10 +02:00
Wouter van Oortmerssen
7ef2fc2517
Regenerated test code + fixed typo in C# FlatBufferBuilder
...
Change-Id: Ifa6d9459c53ae60b9bf936d9468ec971ee282f14
Tested: on Linux and Windows.
2015-03-13 13:05:28 -07:00
Wouter van Oortmerssen
4fb5a764df
Support for booleans in the Java/C# API
...
Change-Id: I72e92183a7b5f4145ea51fcec29257dc9553a461
2015-01-26 13:08:44 -08:00
Wouter van Oortmerssen
d38b9af243
Added .proto parsing and convertion to .fbs.
...
Bug: 15777858
Change-Id: Iabef9b8c8044e593bb89510feebdee00d2f1840b
Tested: on Linux and Windows.
2014-10-15 17:42:31 -07:00
Wouter van Oortmerssen
18cf19f876
Fixed bug in convenient constructors for Java/C#
...
Also fixed Go unit tests not being up to date with recent schema
changes.
Change-Id: I42e619f9c5ea05f6f937c68a5c8a92462c46bce3
Tested: on Linux and Windows.
2014-09-25 15:53:56 -07:00
Gabriel Martinez
730c0cadde
Output multiline doc comments over multiple lines
...
Tested: on Linux
Bug: 15779934
Change-Id: I6f822f1705e443d8721ea208dcb021aad3c8715c
2014-09-25 11:17:53 -07:00
rw
ef03cf46e4
Fix vector of strings for Go
...
Mirrors Java patch 39d4b7e2bf
Change-Id: If8d0ab29f6eb508a156d468aeb0a9d5410149e53
2014-09-23 17:25:50 -07:00
rw
417cb878c3
Fixed possible alignment issue in Go
...
Java patch with same purpose:
cdb0dca39d
Change-Id: I57d268cc0064843779eb7812a9e69326d9ab2498
Tested: on Darwin
2014-09-04 17:35:08 -07:00
Wouter van Oortmerssen
127d35085a
Added a bit_flags attribute to enum declarations that 1<<N every value.
...
Change-Id: Ib9ec0cb3ddec60b1ca124eaf815fb1ae0cc53e1c
Tested: on Windows and Linux
Bug: 16186562
2014-07-21 16:40:39 -07:00
Wouter van Oortmerssen
3e201a99b2
A feature that officially supports nested FlatBuffers.
...
Generates convenient accessors for the nested root.
Change-Id: Ic0b1531de7ace475ff2a7b1f430d27f41c838430
Tested: on Windows.
2014-07-21 16:40:39 -07:00
rw
74d5f3701f
Port FlatBuffers to Go.
...
Implement code generation and runtime library for Go, derived from the
Java implementation. Additionally, the test suite verifies:
- the exact bytes in the Builder buffer during object construction,
- vtable deduplication, and
- table construction, via a fuzzer derived from the C++ implementation.
Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
2014-07-21 16:40:39 -07:00