- 18 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
This PR did not work in all JS environments and caused downstream breakage. Change-Id: Ib565129e26622d02bad2d45816bd05f6b961b994
-
Wouter van Oortmerssen authored
It now at least works in simple cases. Change-Id: I3af0738e676e62166b69accaa6bd19f531fbe5ee Tested: on Linux.
-
- 17 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Move constructors are present, which it should use instead. This is a temp fix to make it compile, but eventually we should generate a proper copy constructor just in-case people want to copy objects with unions. Tested on: Linux, OS X. Change-Id: Idf85419995c96f5959061882157541573e306083
-
Jason Stubbs authored
* fix bounds checking on integer parsing the previous code was allowing 255 for int8_t, similar for int16_t and int32_t, and even negative values for unsignd types. this patch fixes bounds checking for 8-bit, 16-bit and 32-bit types. testing for both acceptable values and unacceptable values at the boundaries are also improved. bounds checking on 64-bit types isn't addressed by this patch. * fix 'unary minus operator applied to unsigned type, result still unsigned' * fix & placement
-
- 13 Apr, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I19662241d56560c064cff73dbebfb2a81d226934
-
Wouter van Oortmerssen authored
(C++ only for now). Also fixed vector of union support in the object API. Bug: 36902939 Change-Id: I935f4cc2c303a4728e26c7916a8ec0adcd6f84cb Tested: on Linux.
-
- 12 Apr, 2017 2 commits
-
-
schoetbi authored
In Debug mode it is checked that iterator begin is less than end therefore the operator< in class VectorIterator is needed
-
chronoxor authored
* Fix Visual Studio 2017 new warning (C4244: 'argument': conversion from 'int' to 'const char', possible loss of data) * Fix Visual Studio 2017 pedantic warnings * Fix Visual Studio 2017 pedantic warnings
-
- 10 Apr, 2017 1 commit
-
-
Kamil Rojewski authored
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data
-
- 08 Apr, 2017 1 commit
-
-
Iain van der Bloat authored
-
- 30 Mar, 2017 1 commit
-
-
moti authored
* Use noexcept in union type move ctor/Add move assingment * Add NOEXCEPT macro to deal with _MS_VER/Remove delegating ctor in union type class * Add FLATBUFFERS_NOEXCEPT to generated union class
-
- 29 Mar, 2017 7 commits
-
-
Wouter van Oortmerssen authored
Change-Id: I4f66a96ba581704c1a384cc700b8fb731d3eeed4
-
Wouter van Oortmerssen authored
Change-Id: I59159fb7205e4802f041b749d502a8f305d4176c
-
Wouter van Oortmerssen authored
Change-Id: I6c253b0ded187a4945f5e862aae721cf4fda6398
-
Wouter van Oortmerssen authored
Mutable functions should return a non-const reference to the member variable. Change-Id: I833077d2c9a38a5d71868e43aca6b250d79b6625
-
Wouter van Oortmerssen authored
Change-Id: I1affced255eb96977119d8480793b5bba42f065f
-
Spencer Bench authored
* C#: Fixed possible conflicts between usings and user-supplied namespace C#: Added the global qualifier to using directives to prevent possible conflicts with the user-supplied namespace. Also prevents unintentional type hiding. Resolves issue #4242. * Updated C# generated code files
-
tianyapiaozi authored
* Support binary search for struct in cpp CreateVectorOfSortedStruct is provided for convenience. * fix continuous-integration error * add generated files * compile Ability.cs in csharp test * compile Ability.cs in csharp * modify according to code review
-
- 28 Mar, 2017 2 commits
-
-
Wouter van Oortmerssen authored
Vector<Offset<T>> to Vector<Offset<U>> if U is a base class of T. This is useful for when you want to generically iterate over a vector of objects that derive from flatbuffers::Table. Change-Id: I59161e3b9f40501f72e02b46509be9dc8ab86c6b
-
Wouter van Oortmerssen authored
Change-Id: I8bf575ba6dc795d2d2eec02fa8977dcc2594eaa6
-
- 27 Mar, 2017 1 commit
-
-
Jesper Stemann Andersen authored
Building on Arduino fixed by conditional includes of cstdint and utility. In the Standard C++ for Arduino (port of uClibc++): * cstdint is not present. * utility is named utility.h. Replaced size_t with uoffset_t for Verifier::max_tables_, max_depth_, depth_, and num_tables_ to ensure 32-bit values are used (and not 16-bit) - gave rise to a warning.
-
- 21 Mar, 2017 1 commit
-
-
Lawrence Chan authored
* Add default value handling to mutation/SetField code * Shorten reflection SetField impl * Modify impl to work with C++03 * Add more mutation tests * Fail SetField if non-scalar * Add IsScalar/IsInteger/IsFloat for reflection::BaseType * Use new IsScalar/IsInteger/IsFloat in reflection SetField * Assume scalar is either int or float
-
- 20 Mar, 2017 2 commits
-
-
Flier Lu authored
-
Alexander Gallego authored
* Custom strings are very common for optimizations around small objects or growth style optimizations, i.e.: grow at 1.57 times vs doubling vs.. A second common strategy is to cooperate w/ the memory allocator see FBString[1] and seastar[2] string for examples. [1] fbstring: https://github.com/facebook/folly/blob/master/folly/docs/FBString.md [2] sstring: https://github.com/scylladb/seastar/blob/master/core/sstring.hh
-
- 18 Mar, 2017 2 commits
-
-
Jun Hyeon, Nam authored
for convenience
-
Jun Hyeon, Nam authored
1. modified the function that omitted inline. 2. changed the static global functions to inline functions.
-
- 16 Mar, 2017 1 commit
-
-
Flier Lu authored
* add _ postfix to identiy conflict golang keyword * make VS2010 happy
-
- 15 Mar, 2017 3 commits
-
-
Aaron Hudon authored
--javascript flag does not work in the 1.6 flatc.exe, changed to --js
-
Koichi Shiraishi authored
Signed-off-by:
Koichi Shiraishi <zchee.io@gmail.com>
-
Koichi Shiraishi authored
Signed-off-by:
Koichi Shiraishi <zchee.io@gmail.com>
-
- 13 Mar, 2017 1 commit
-
-
Alexander Theißen authored
-
- 10 Mar, 2017 2 commits
-
-
chronoxor authored
* Pedantic Visual Studio build (/W4 /WX) * Pedantic Visual Studio build (/W4 /WX) * Pedantic Visual Studio build (/W4 /WX) * Remove /wd4512 from CMakeLists.txt * Suppress Visual Studio 4512 warning ('class' : assignment operator could not be generated)
-
Louis-Paul CORDIER authored
* NoError was returning on DoParse method when file was empty. * change NoError message in DoParse.
-
- 08 Mar, 2017 4 commits
-
-
chronoxor authored
* VS2015 warning "conditional expression is constant" * VS2015 warning "conditional expression is constant"
-
Dale Lukas Peterson authored
-
Christian Helmich authored
-
Hadriel Kaplan authored
-
- 03 Mar, 2017 2 commits
-
-
Zarian Waheed authored
-
xiaohaoliang authored
optimization of FlatBufferBuilder::CreateVector() 1. optimization of FlatBufferBuilder::CreateVector() for "1 == sizeof(T)" ( such as [byte], [ubyte]). 2. For my project, it was about 10x improvement on flatbuffers serialization. 3. why not "string": "string, which may only hold UTF-8 or 7-bit ASCII. For other text encodings or general binary data use vectors ([byte] or [ubyte]) instead."
-
- 28 Feb, 2017 1 commit
-
-
Raman authored
* Fixed problem with uint keys * removed excess check * Resolved problem with big uint, ubyte keys in Java
-