- 12 Mar, 2015 2 commits
-
-
gregoire-astruc authored
* Tests for Release feature. * Check vector_downward.buf_ before passing to deallocator. * Assertions. * Shared test between unique_ptr and GetBufferPointer() * Unnecessary using directives. * Reallocate vector if released on clear operation. * Use allocator attribute. * Renamed `Release()` to `ReleaseBufferPointer()` * For consistency with `GetBufferPointer()` * Updated documentation for ReleaseBuffer. Change-Id: I108527778e56ae5127abf9e5b1be6b445ad75cb7
-
loverszhaokai authored
Change-Id: I106de8985cea572590d49c896b72c54f33e73bd2
-
- 09 Mar, 2015 1 commit
-
-
Wouter van Oortmerssen authored
build_apk.sh assumed pre-releases would be sorted towards the end, but instead they end up at the front (sort -n) causing the api selection loop to halt early. bug: 19213196 Change-Id: I210a18c16e81880229f154c4613f8b97d90ac9bd tested: on Linux.
-
- 23 Feb, 2015 1 commit
-
-
Grégoire Astruc authored
Cast to short for mono compatibility. Change-Id: I568059a21369b895fa52002fa231f7594f0f736c
-
- 17 Feb, 2015 2 commits
-
-
Alex Ames authored
-
Alex Ames authored
FlatBuffer schema files can now optionally specify a hash attribute that will allow someone writing json files to enter a string to be hashed rather than a specific value. The hashing algorithm to use is specified by the schema. Currently the only algorithms are fnv1 and fnv1a. There are 32 bit and 64 variatns for each. Additionally, a hashing command line tool was added so that you can see what a string will hash to without needing to inspect the flatbuffer binary blob. Change-Id: I0cb359d0e2dc7d2dc1874b446dc19a17cc77109d
-
- 13 Feb, 2015 1 commit
-
-
Stefan Eilemann authored
Change-Id: Ia69fc3098468eb64420215dc1068342ccbbb1ede
-
- 11 Feb, 2015 1 commit
-
-
Hyungjin Kim authored
The `<field>_nested_root()` is not viable from const object. (We usually get `const Monster *`.) Change-Id: I0d0adcb38dd974318608417ee3094c34fb9c480d
-
- 10 Feb, 2015 1 commit
-
-
Alex Ames authored
-
- 09 Feb, 2015 5 commits
-
-
Alex Ames authored
Added a call to $(strip) to the parameters of `flatbuffers_header_build_rules` so that newlines can be used when passing arguments to it. Change-Id: Ie2149acebcef91d28ce2cb4bfd204a209b4c4e2f
-
franramirez688 authored
Change-Id: Id9750cceaa57aad3c969cf12299aa60f21c29074
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
-
Wouter van Oortmerssen authored
-
- 04 Feb, 2015 6 commits
-
-
Wouter van Oortmerssen authored
Updated CONTRIBUTING.md with some tips. Change-Id: Id377621a98804293837fda25ef0758cf988eea37
-
Alex Ames authored
-
Wouter van Oortmerssen authored
Previously, if you were re-using instances of FlatBufferBuilder and an earlier buffer would use a 64bit item where later ones do not, you could be wasting space. Change-Id: Ic8090a38f97ce73194e991ba72bcfae74a7ace9f Tested: on Linux.
-
Florian Enner authored
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
-
Alex Ames authored
Previously Android.mk only had a rule for the Flatbuffers test. There is now an empty module definition so that flatbuffers can be included as an Android module in other projects. Additionally, android/jni/include.mk has been added which contains some utility functions that can be used by projects using Flatbuffers to generate header build rules and set up dependencies. A sample project has been added to the samples directory to demonstrate how to use flatbuffers with Android. Tested by compiling Android project on Linux. Change-Id: I25d6da40f6531777b22f7371187e0a2f4e903ad4
-
pjulien authored
The satellite data of the ``ByteBuffer`` cannot be modified in any way and stay thread safe in the presence of concurrent readers. This implementation is simple and does introduce an allocation, however without it multiple readers will quickly and continuously encounter ``IndexOutOfBoundsException`` exceptions. An alternative, but possibly more controversial, implementation would be to use ``Unsafe``. Using ``Unsafe``, it's possible to do an array copy with a provided buffer index. Change-Id: I851d4034e753b3be2931ee2249ec2c82dde43135
-
- 02 Feb, 2015 4 commits
-
-
Florian Enner authored
Change-Id: I62d10b639112788be3b0f670280bd50ef9fcf094
-
Florian Enner authored
init resets internal variables, but keeps memory that has been allocated for temporary storage Change-Id: If2aa7d27de3c2717cf4c82b1e4e4b6732e495cea
-
Wouter van Oortmerssen authored
Change-Id: I95c550df7019645b02417259522c7049865997cc Tested: on Windows.
-
Gabriel Martinez authored
-
- 28 Jan, 2015 1 commit
-
-
Gabriel Martinez authored
Tested: on Linux Bug: 16465909 Change-Id: I2f1a6def13e47716110426b00990c2c625c03251
-
- 26 Jan, 2015 7 commits
-
-
Wouter van Oortmerssen authored
optimization would cause vtable fields from previous tables to be written. Bug: 19046968 Change-Id: I781f7bcbceeaec0b499d4f1e4e5e8a1e750e0707 Tested: on Linux.
-
Wouter van Oortmerssen authored
Bug: 19067493 Change-Id: Ib32fef963306e27834c15e3bbabc60570924c1a9 Tested: on Linux.
-
Wouter van Oortmerssen authored
startObject() now only allocates a new vtable array when it needs to grow. Tested: on Linux. Change-Id: Idd041605afcb9487a34d63bda067172d797f437a
-
Wouter van Oortmerssen authored
If the schema didn't contain a namespace, paths would contain a leading /, causing files not to be written. Change-Id: I508772cbf6d18d464ef7d9f8842d0dbff14358a3 Tested: on Linux. Bug: 19067493
-
pjulien authored
and marks ``dataStart`` deprecated. Change-Id: I48409e20948117c5cf17a1bfabecf64b033eab27
-
Hiroshi Matsunaga authored
Change-Id: Ibdbd0e2f85284c1443403ed8c43acbd6e9de635f
-
Wouter van Oortmerssen authored
Change-Id: I72e92183a7b5f4145ea51fcec29257dc9553a461
-
- 21 Jan, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Unless in --strict-json mode. Also added strict_json option to the parser, which in addition controls if field names without quotes are allowed. Change-Id: Id56fe5c780bdb9170958050ffa8fa23cf2babe95 Tested: on Linux.
-
- 16 Jan, 2015 5 commits
-
-
Wouter van Oortmerssen authored
Tested: on Windows. Change-Id: I946dacf799eae835ec041ea759622f74b0384937
-
Patrick Julien authored
https://github.com/google/protobuf/blob/master/java/pom.xml This isn't good enough to publish to Maven Central but will at least allow users to publish to their local maven repository using 'mvn install' Change-Id: I91ea146cf7c5263fcf5d9823f70bb1ef0158f9a6 Tested: 'mvn install' runs succesfully and produces a .jar
-
Patrick Julien authored
Change-Id: I34ea778fc791ecce3a8948de51dea6fe4389a3c6
-
Patrick Julien authored
Change-Id: I58b411a2c0f1ee6b856d5b1eaa42787036da1384
-
Wouter van Oortmerssen authored
Bug: 16659276 Tested: on Linux & Windows. Change-Id: Ie7a73810345fad4cf0a3ad03dfaa5464e3ed5ac8
-
- 08 Jan, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: Id1cc75cee07fa2d3de3e7d346f6e2641e4692968
-
- 07 Jan, 2015 1 commit
-
-
Wouter van Oortmerssen authored
Change-Id: I1f310636f8b74366b5b0fc73c7e106424583fc93
-