Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I9cf9fe1e2572d3f9c4066624a87249ca1e62a297
|
|
Change-Id: I8808b0b419981ba7d0699da4a1effb0b660a21cb
|
|
|
|
`Equipment` is a union, not an enum.
|
|
Also added a test.
Tested on: Linux.
Change-Id: I7b3230f8f6043eec139d5e3e8c9cb45814124274
|
|
Each target that will be installed will also generate a target that will be
included by CMake config file.
|
|
|
|
* Remove copy constructor to make flatbuffers struct trivially copyable + add tests.
* Add support non c++11 compliant compilers.
* Fix std::trivially_copyiable test for non-C++11 compliant compilers.
* Fix trivially_copyable not part of glibc < 5 even with c++11 switch enabled.
|
|
|
|
|
|
Change-Id: I1d9d301412fe0a036f12eb2cc82a3fbee5bb838d
|
|
|
|
|
|
|
|
|
|
Change-Id: Ie28dda5e1854eeff3e254e975925ff846c137008
|
|
VerifyObject called VerifyTableStart() but not EndTable(). This made Verifier::VerifyComplexity() increase depth_ with each table, not with the depth of tables.
https://groups.google.com/forum/#!topic/flatbuffers/OpxtW5UFAdg
|
|
In some debug environments using vector[i] does bounds checking even
though the standard specifies that it should not. Using
*(vector.begin()) sidesteps this though, giving the same result without
the bounds checking.
|
|
|
|
* add _Nullable Support for C++ interface
* generate @Nullable for Java generated code
|
|
Report a build failure when any Android build fails.
|
|
The travis script was only failing if the last Android build fails.
This changes the script to report a failure if any of the Android
projects fail to build.
|
|
f2b3705c2c62c40afdef96f73f0aeaf32b4c8e0e caused Android builds
to fail. This switches limit constants to use limits templates in
stl_emulation.h.
|
|
Use flatbuffer unique_ptr instead of std's.
|
|
Stlport does not have std unique_ptr, so using the one provided by
flatbuffers.
Also fixing a problem with the flatbuffer unique_ptr, and a test.
|
|
This CL also introduces the following changes to allow the generation of the
Go library for flatbuffers:
- add support for --gen-onefile for Go to simplify the build rule (mapping each
input .fbs to a single separate .go file)
- add a new --go-import flag to override the default import line (currently
github.com/google/flatbuffers/go)
- add new go_library in BUILD for flatbuffer (for files in flatbuffers/go)
(mirrored from cr/171126159)
Change-Id: I83e705a9a9d9544837af0baf9366ec37757799aa
|
|
|
|
* add _Nullable Support for C++ interface
* add _Nullable Support for C++ interface
|
|
- Allowed enums to be declared before use.
- Generalized parsing of `required`.
- Reworked escaping of namespaces.
- Escaping field names that are C++ keywords.
- Many smaller fixes.
Change-Id: Ie580de7b70dc208f676f4f71bb0d061808648b8d
Tested: on Linux.
|
|
* Add explicit keyword on C++ generated constructors for Builder structs
* Add missing generated code for review
|
|
|
|
* Fix issue #4389, if field is ommitted the return type is the same for python generator
* Fix issue #4389, bytes is returned when field is omitted
* Fix issue #4389, added generated python code after generator modification
|
|
* Add template version for As method.
* Fix compilation error on Linux.
* Fix linux issue (2).
* Linux fix (3)
* Add few tests.
|
|
Change-Id: Id335980daf909e885ed26a21b64623b78d01fb49
Tested: on OS X.
|
|
This prevented any keywords showing up as JSON field names, for example.
Change-Id: Ie9d0cada96778e06016ca02ca96d052410a37038
Tested: on Linux.
|
|
Change-Id: I83453d074685fa57bbf1c7c87b1d9392ce972085
Tested: on Linux.
|
|
* Add constant accessors to C++ unions
* Remove redundant const pointer return type
* Update generate_code.bat to reflect generate_code.sh
* Add updated generated files
* Remove extra space from generated code
* Update generated files
* Change directory back to tests after generating code
|
|
* flatbuffers: Move EndianSwap template to flatbuffers/base.h
Clang complains
call to function 'EndianSwap' that is neither visible in the template definition nor found by argument-dependent lookup
return EndianSwap(t);
This seems to be due to limitation of two-phase lookup of dependent names in template definitions
Its not being found using associated namespaces therefore
it has to be made visible at the template definition site as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* use __builtin_bswap16 when building with clang
clang pretends to be gcc 4.2.0 and therefore the code does
not use __builtin_bswap16 but tries to synthesize it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
* Fix DetachedBuffer move assignment lifetime
DetachedBuffer move assignment now destroys it's own content,
rather than waiting for the destructor of other.
See more under #4435
Add missing function return type
* Rename empty_assign to reset
Reset after destroy
reset() now operates on itself
|
|
Change-Id: I1ccd52a847930fa636d24f9490d57577b8775d08
|
|
Change-Id: I480a08f445858bce3d0336c2b22da30d64f90012
|
|
|
|
#4423
|
|
* Allow prefix/suffix of C++ Object API classes to be customised
* Address review comments
|
|
|
|
|
|
It pulls in a LOT of dependencies, this will need to be done better.
Change-Id: Ib27effead194f6836facca01e9454a6037ad837a
|
|
A Namespace object is now guaranteed unique.
This cleaned up some old workarounds and latent bugs.
Change-Id: Ic3f12d89947871b03b2c449ba51b3186f953adde
Tested: on Linux.
Bug: 21336857
|
|
This is something the format supports, but none of the builders
were doing. Can save 10-20% on FlatBuffer binary size!
Also fixed the Go tests.
Change-Id: I616c56ce9bbcfcaee23aa24f0532fcb60b6a8c75
Tested: on Linux.
|