Wouter van Oortmerssen
af21b9064d
Change docs to not encourage use of 1 byte buffers.
...
Change-Id: Ib0b1692044f35e374a0f7c0359c94319f4a25619
2016-10-24 10:29:09 -07:00
Wouter van Oortmerssen
dae513e0e7
Made nesting vs inline clearer in the docs.
...
Also fixed structs not being created inline in the tutorial,
which would actually have bad consequences if used.
Change-Id: Idce215c61a1b24a297cee76f625052bb2722e970
2016-10-21 15:22:14 -07:00
Wouter van Oortmerssen
d9fe4e2769
Allow other pointer types than unique_ptr for object API.
...
Change-Id: I945890ce667a2f5a6c0495e78fd5326ed33b9914
Tested: on Linux.
Bug: 30135763
2016-10-17 09:54:52 -07:00
Wouter van Oortmerssen
f9025eeb52
Clarified tutorial w.r.t reading/writing buffers.
...
Bug: 30736848
Signed-off-by: Wouter van Oortmerssen <wvo@google.com >
2016-10-12 14:30:31 -07:00
Wouter van Oortmerssen
dc2fa215b8
External references for the object API thru a resolver function.
...
This allows hashed string fields to be used for lookup of any
C++ objects, a pointer to which are then stored in the object
besides the original hash for easy access.
Change-Id: I2247a13c349b905f1c54660becde2c818ad23e97
Tested: on Linux.
Bug: 30204449
2016-10-12 11:22:20 -07:00
Wouter van Oortmerssen
49ee30a207
Merge pull request #3978 from TGIshib/key
...
Find by key on C# and Java (2)
2016-08-26 12:03:28 -07:00
TGIshib
9f16090f90
Improve LookupByKey , update docs
2016-08-22 18:10:52 +03:00
Wouter van Oortmerssen
eba6b6f7c9
1.4 prep fixes
...
Change-Id: I001ad8dd5f95e6e5ad43daf956663218d19f5c96
2016-08-15 17:29:35 -07:00
Wouter van Oortmerssen
18d67ed83b
Clarified in the docs how to get to the serialized bytes.
...
This was a frequent source of confusion, since in all implementations
the data doesn't start at offset 0 in the buffer.
Change-Id: I045966e65928e9acd9def84e215914ecb5510653
2016-08-10 17:53:40 -07:00
Caleb Epstein
c9ee9fb99d
Merge branch 'master' of https://github.com/google/flatbuffers
...
* 'master' of https://github.com/google/flatbuffers :
Added AppVeyor CI.
Removed pre-made VS2010 and XCode projects.
2016-07-28 08:33:35 -04:00
Caleb Epstein
50e13ef9c6
Need unique_ptr.get not pointee.get
2016-07-28 08:31:19 -04:00
Wouter van Oortmerssen
03adfa7b1a
Merge branch 'master' of https://github.com/google/flatbuffers
2016-07-27 17:20:35 -07:00
Wouter van Oortmerssen
97a9a82324
Removed pre-made VS2010 and XCode projects.
...
CMake is now required on all platforms.
Change-Id: Iad81d9244a05ed70ce8b8860d6b729a873f137c1
Tested: on Windows and OS X.
2016-07-27 17:10:37 -07:00
Caleb Epstein
094f4d1bad
Fix docs for object API usage
2016-07-27 16:15:55 -04:00
Wouter van Oortmerssen
05b00c50ad
Added way to test two schemas for safe evolution.
...
Change-Id: I1dfc867e6df5932ab61dad431eb3cb02f15d04df
Tested: on Linux.
Bug: 30202327
2016-07-20 17:56:59 -07:00
Wouter van Oortmerssen
91f5cf357c
Merge branch 'master' of https://github.com/google/flatbuffers into grpc2
2016-07-20 17:41:36 -07:00
Wouter van Oortmerssen
3101e327c0
Added optional object based API for C++.
...
Change-Id: If927f3ea3fb3723088fa287f24bdd1ad43c8d1d1
Tested: on Linux.
2016-07-20 14:58:57 -07:00
Muhammed Thanish
53e9606ea2
Implement mutators for Go
2016-07-20 22:58:22 +05:30
Yakir Buskilla
298dd21ec8
fixed ArrayOutOfBoundsException in java example
2016-07-20 10:46:43 +03:00
Louis Cognault
c94cb6dae9
Fixed typo
...
is => it
2016-07-01 17:22:36 +02:00
Wouter van Oortmerssen
48f37f9e0a
Added GRPC code generator to flatc.
...
Also added simple (in-process) test.
Change-Id: I38580d554dd52f590e3396ec4846e07546dcf07d
Tested: on Linux.
2016-06-29 15:51:44 -07:00
Wouter van Oortmerssen
d3ac0bc149
Added conversion operations that can be used inline in JSON.
...
e.g.: { myfield: cos(rad(180)) } is equivalent to writing { myfield: -1.0 }
Bug: 29338398
Change-Id: I6fc4ef1fd10bda3ba78cba464414dd071a2f50ca
Tested: on Linux.
2016-06-15 14:54:44 -07:00
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
Wouter van Oortmerssen
a82dbb6e01
Fixed Google Groups link in documentation.
...
Change-Id: I64307ccd0a6f23a7c3860d602813e637415e7c91
2016-05-23 14:08:21 -07:00
Mahmut Ali ÖZKURAN
747a8c628e
Fixed Library Location in CppUsage.md
...
Fixed Library Location
"https://github.com/google/flatbuffers/tree/master/include/flatbuffers "
in CppUsage.md
2016-05-18 12:02:32 +03:00
Wouter van Oortmerssen
ec1daef858
Merge pull request #3832 from mikkelfj/c_docs
...
Documentation for C bindings
2016-04-08 10:54:27 -07:00
Mikkel Fahnøe Jørgensen
7d396bc2e7
Update C documentation with supported MSVC versions, and other minor updates.
2016-04-07 18:52:00 +02:00
Wouter van Oortmerssen
5e3f9d5175
Merge branch 'master' of https://github.com/google/flatbuffers
2016-04-04 16:55:25 -07:00
Mikkel Fahnøe Jørgensen
1db9783bfc
Remove details on FlatCC builds that would easily become outdated
2016-04-04 16:33:20 +02:00
Mikkel Fahnøe Jørgensen
5b38134431
Document FlatCC support for Windows
2016-04-03 21:37:57 +02:00
Mikkel Fahnøe Jørgensen
7d9779fc67
Move some C specifics out of tutorial and clarify platform support
2016-03-28 22:52:10 +02:00
Mikkel Fahnøe Jørgensen
9b8c91c90b
Add C support in README, minor updates in other C doc
2016-03-26 09:22:56 +01:00
Mikkel Fahnøe Jørgensen
47d4b46950
Documentation for C bindings
2016-03-26 00:28:31 +01:00
Alex McGuire
68c69b3717
Tutorial's Java example uses incorrect types
...
`FlatBufferBuilder.createString` returns an int offset, not a string
2016-03-20 12:59:39 +00:00
Wouter van Oortmerssen
1a63eb46bb
Added RPC declarations to the schema parser.
...
This is the first step in RPC support. Actual code generation
to follow.
Change-Id: I96c40fec3db671d100dd9eb509a71c5cbe55bfb2
Tested: on Linux.
Bug: 20122696
2016-03-09 13:47:40 -08:00
Wouter van Oortmerssen
709e720839
Merge branch 'master' of https://github.com/google/flatbuffers
2016-03-07 15:04:18 -08:00
Wouter van Oortmerssen
19afcdc704
Clarified how to test for the presence of fields.
...
This is FAQ on the issue tracker.
Bug: 26863353
Change-Id: I227e10a5c0134dbe7fd7f59e64cd57a0752c568e
2016-03-07 12:58:36 -08:00
François Baldassari
3d5f7f64f8
Remove erroneous extra character
2016-02-26 09:03:22 -08:00
François Baldassari
66126cc32d
Fix typo in documentation navigation
2016-02-26 09:00:46 -08:00
Oli Wilkinson
fff4590faf
Implemented ForceDefaults option on C# FlatBufferBuilder.
...
Tested on: Windows, Unit Tests
2016-01-20 17:25:58 +00:00
Mark Klara
69a31b807a
Revamping the FlatBuffers docs.
...
Adding an API reference for the supported languages.
General docs cleanup, including a new `tutorial` section that
supports all of the supported languages.
Added samples for each supported language to mirror the new
tutorial page.
Cleaned up all the links by making them `@ref` style links,
instead of referencing the names of the generated `.html` files.
Removed all generated files that were unnecessarily committed.
Also fixed the C# tests (two were failing due to a missing file).
Bug: b/25801305
Tested: Tested all samples on Ubuntu, Mac, and Android. Docs were
generated using doxygen and viewed on Chrome.
Change-Id: I2acaba6e332a15ae2deff5f26a4a25da7bd2c954
2016-01-19 14:31:17 -08:00
Wouter van Oortmerssen
049f3f7907
Added support for parsing JSON null value.
...
These cause the field in question to be skipped.
Bug: 16550393
Change-Id: Id05104e89818ee773b8a91fdcc86e18061b9a82f
Tested: on Linux.
2016-01-19 14:05:27 -08:00
Wouter van Oortmerssen
f8c1980fdf
Added schema evolution examples to the docs.
...
Bug: 26296711
Change-Id: I225067d82ac0f8bd71b2b97b1672517ca86cc3b9
Tested: on Linux.
2016-01-19 12:29:53 -08:00
Wouter van Oortmerssen
6beafd14e0
Updated docs to point to benchmark source code location.
...
Change-Id: If4c8fac6a421ac6436cab0dd7a0ae822a32e90bf
2016-01-06 16:51:00 -08:00
Wouter van Oortmerssen
4e4a5142fb
Clarified binary encoding with an example.
...
Change-Id: I60c900a2f7cbd88fe264f7b0dc78ef86b1580655
Tested: in Chrome.
2016-01-04 09:53:21 -08:00
Wouter van Oortmerssen
45bda6e08d
Added --gen-all to generate code for a schema and all its includes.
...
Also refactored the way options are stored.
Change-Id: I709ac908cd2aba396c9c282725cf1d42ccce0882
Tested: on Linux.
2015-12-04 09:44:31 -08:00
Wouter van Oortmerssen
3881bbd651
Multiple schemas parsed by flatc are now parsed independently.
...
It used to be such that later schemas could depend on earlier
schemas. This was a convenience from days before include files
were implemented. Nowadays they cause subtle bugs rather than being
useful, so this functionality has been removed.
You now need to explicitly include files you depend upon.
Change-Id: Id8292c3c621fc38fbd796da2d2cbdd63efc230d1
Tested: on Linux.
2015-12-02 11:12:39 -08:00
Wouter van Oortmerssen
d7b4a31e93
Added long form options for all generators (--cpp etc.)
...
Short-form versions are still supported, but are deprecated.
Change-Id: I15f70ca8d69ba5790368205caa9603b65e1b7fff
Tested: on Linux.
2015-12-02 11:12:39 -08:00
Wouter van Oortmerssen
9dc5d378b1
Updated supported languages in the docs.
...
Change-Id: I607f5f33b609c47fe32342f5e9d066f61f5546cd
2015-11-09 17:25:17 -08:00
Wouter van Oortmerssen
3f79e05585
Added new documentation links.
...
Change-Id: Ib5234a97a863be08c3bb0f9329204bc3a7effccb
2015-11-06 09:51:19 -08:00