Wouter van Oortmerssen
d2bc73bbbe
Merge pull request #3761 from msb-at-yahoo/fix-gcc-4.4-build
...
fix gcc-4.4 build: -Werror=unused-result is not supported
2016-02-10 16:13:59 -08:00
maurice barnum
697cad7027
fix gcc-4.4 build: -Werror=unused-result is not supported
2016-02-11 00:05:04 +00:00
Wouter van Oortmerssen
472fb12273
Merge branch 'master' of https://github.com/google/flatbuffers
2016-02-10 13:51:10 -08:00
Wouter van Oortmerssen
d779308b3e
Fixed enum declaration values being parsed as int.
...
This caused values in the uint range to be made negative values.
Change-Id: Ia4284747f48508b589c034ff3aae0d141e96eb3c
Tested: on Linux.
2016-02-10 11:25:31 -08:00
Wouter van Oortmerssen
a03f3287b3
Merge pull request #3760 from rw/python-remove-ctypes-dependency
...
Python: remove ctypes dependency in runtime library.
2016-02-08 14:35:45 -08:00
rw
a88cf317fd
Python: remove ctypes dependency in runtime library.
2016-02-08 14:15:02 -08:00
Wouter van Oortmerssen
38662548c7
Bumped version to 1.3.0
...
Change-Id: I080041e533153b2bb2db53f030761852e95c88fa
v1.3.0
2016-02-03 10:52:33 -08:00
Wouter van Oortmerssen
5973b778b1
Merge pull request #3749 from escholtz/flatc-version
...
Add -v --version arg support to the flatc command.
2016-02-03 10:03:40 -08:00
Eddie Scholtz
ac655b3ff0
Remove -v as option for printing version # (based on PR feedback).
2016-02-01 13:54:09 -08:00
Eddie Scholtz
0b3cd33e55
Add __DATE__ to FLATC_VERSION based on PR feedback.
2016-02-01 13:43:05 -08:00
Wouter van Oortmerssen
d7a86eb029
Merge pull request #3739 from Mandar-Shinde/master
...
Update readme.md for github
2016-02-01 11:33:44 -08:00
Mandar
757d830f4e
Updated text in section "Supported programming languages"
2016-02-02 00:18:00 +05:30
Eddie Scholtz
e43d127eff
Add -v --version arg support to the flatc command.
2016-01-29 15:01:54 -08:00
Wouter van Oortmerssen
9b8a814c3f
Merge pull request #3742 from evolutional/cs-partial
...
Added support for C# partial class generation using attribute
2016-01-27 16:18:21 -08:00
Mandar
8b4c0b94dc
Update readme.md
2016-01-22 22:27:47 +05:30
Oli Wilkinson
dbf6702371
Added support for C# partial class generation when the csharp_partial attribute is used on a table/struct.
2016-01-21 15:42:30 +00:00
Wouter van Oortmerssen
491e970943
Merge branch 'master' of https://github.com/google/flatbuffers
2016-01-20 18:11:51 -08:00
Wouter van Oortmerssen
9a54c44742
Re-Added accidentally deleted sample generated file.
...
Change-Id: Ie3b31719f7b133ec4aea64f00f2029566558cb18
Tested: Linux.
2016-01-20 18:09:53 -08:00
Wouter van Oortmerssen
9dfc3d61ee
Merge pull request #3735 from evolutional/vs2010-buildfix
...
Buildfix for VS2010
2016-01-20 13:49:40 -08:00
Wouter van Oortmerssen
db0727e943
Merge pull request #3734 from evolutional/cs-forcedefaults
...
Implemented ForceDefaults option on C# FlatBufferBuilder.
2016-01-20 13:46:49 -08:00
Wouter van Oortmerssen
abd6a1427e
Merge pull request #3729 from fichter/master
...
Fix build error when flatc binary is missing in path.
2016-01-20 13:35:25 -08:00
Wouter van Oortmerssen
0afac8f75a
Merge branch 'master' of https://github.com/google/flatbuffers
2016-01-20 13:30:09 -08:00
Wouter van Oortmerssen
519dcdd0b2
Fixed Python unit test breakage.
...
Test was testing for a field to be None, even though it is populated
in one particular instance.
Change-Id: Id19848d01498d4c0a684efdb2bf49ff12c5b6758
Tested: on Linux.
2016-01-20 13:04:03 -08:00
Oli Wilkinson
112a619ec1
Disabled assignment operator of TableKeyComparator; was causing warning C4512 on VS2010 and thus causing the build to fail.
2016-01-20 18:59:51 +00:00
Oli Wilkinson
fff4590faf
Implemented ForceDefaults option on C# FlatBufferBuilder.
...
Tested on: Windows, Unit Tests
2016-01-20 17:25:58 +00:00
Wouter van Oortmerssen
41395d981d
Merge pull request #3707 from evolutional/vs-gitignore
...
Added Visual Studio transient files to .gitignore
2016-01-19 18:01:34 -08:00
Robert
b7d97ff3de
Merge pull request #3491 from faizanrashid/master
...
[BUG FIX] [MINOR] Fix encoding with unicode characters.
2016-01-19 17:56:26 -08:00
Wouter van Oortmerssen
bf07c37a53
Merge branch 'master' of https://github.com/google/flatbuffers
2016-01-19 15:56:26 -08:00
Wouter van Oortmerssen
2ab7ebc82b
Merge pull request #3510 from jaakristioja/patch-1
...
Fixed comment typo
2016-01-19 15:36:45 -08:00
Mark Klara
0ece042162
Silenced unused variable warnings.
...
When built for release, builds were failing with unused
variable warnings, since they were only used in `assert()`
calls.
I added explicit void casting to any potentially unused variables.
Change-Id: I9947ba46891fdda5aa925caa950642dedd4e009f
2016-01-19 15:30:41 -08: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
d75d29e2fe
Merge branch 'master' of https://github.com/google/flatbuffers
2016-01-19 14:10:49 -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
e848137ded
Added min/max values for enums/unions.
...
Bug: 21642898
Change-Id: Ifaf0b3c4274fe30ef29507ba1c1216d700efe85b
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
7d70082590
Merge pull request #3706 from evolutional/fix-3506
...
Check (& skip) of the utf-8 byte order mark
2016-01-19 11:10:07 -08:00
Wouter van Oortmerssen
8472b5f224
Merge pull request #3513 from evolutional/fix-3500
...
Java/C#: generation of typed helpers when using nested_flatbuffers
2016-01-19 10:40:02 -08:00
Wouter van Oortmerssen
6136dd490a
Merge pull request #3498 from ncpenke/gcc-4.4.3-support
...
Gcc 4.4.3 support
2016-01-19 10:27:57 -08:00
Rene Fichter
3de82050ce
Fix build error when flatc binary is missing in PATH.
2016-01-19 13:02:25 +01:00
Oli Wilkinson
f1ab30a490
Added Visual Studio transient files to .gitignore
2016-01-18 20:54:22 +00:00
Oli Wilkinson
cbe8747b59
Added check (& skipping) of the utf-8 byte order mark (0xEF BB BF) at the beginning of the file
2016-01-18 20:14:39 +00:00
Oli Wilkinson
eaa2b414b2
Added generation of typed helpers when using nested_flatbuffers in Java/C#. Fixes #3500
2016-01-18 15:23:14 +00:00
Jaak Ristioja
77a6a786b8
Fixed comment typo
2016-01-13 15:30:27 +02:00
Chandra Penke
b63ebad49d
Fix #3497 : Add support for compiling in g++ 4.4 and 4.5
...
- Removed uses of lambda expressions
- Added custom defines for constexpr and nullptr
- Removed trailing comma of last value from generated enums
2016-01-09 06:30:50 -06:00
Wouter van Oortmerssen
42c20d7a69
Make flatc check for binary files to avoid accidental parsing.
...
Binary file arguments to flatc have to be preceded by -- to
identify them, forgetting this however results in them being
attempted to be parsed as schema/json, with cryptic errors.
This instead gives an error if 0 bytes are contained in your
text file.
Bug: 22069056
Change-Id: I226bf651dcb016f18d7c8ffadcf23466a1fc0b87
Tested: on Linux.
2016-01-08 13:10:25 -08:00
Wouter van Oortmerssen
63b526db52
Ensured code is not generated directly from .proto files.
...
The parser state generated from the .proto conversion process is
not exactly the same as what you get by parsing the generated
schema, which can cause problems. This check enforces that you
first convert the .proto, then generate code from the new schema.
Change-Id: I04b53af9288d87e256d1cc109388332fefb3a09f
Tested: on Linux.
2016-01-08 11:39:56 -08:00
Wouter van Oortmerssen
514d274a45
Added android static library target for text parsing/generation etc.
...
Change-Id: If24e3eea90cef2a0d6a9d98fb503d2e3ec34ceed
Tested: on Linux.
2016-01-06 17:48:19 -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
Robert
b4d29970f4
Merge pull request #2098 from faizanrashid/issue-1741
...
[BUG] [MINOR] Use buffer for specific py versions
2016-01-06 16:13:59 -08:00
Wouter van Oortmerssen
586fdee89b
Merge pull request #3494 from parnic/fix-vs2012-static-analysis
...
Fixed MS static analysis warnings
2016-01-06 12:34:08 -08:00