Wouter van Oortmerssen
a649cb7db5
Merge pull request #3822 from cage433/tutorial-java-type-error
...
Tutorial's Java example uses incorrect types
2016-03-23 12:45:24 -07: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
Will Gardner
ce4d3316d3
Allow builds on platforms with unsigned chars by default
...
Certain architectures, such as ARM, use unsigned chars by default
so require the `-fsigned-char` for certain value comparisons to
make sense and in order to compile.
2016-03-14 16:19:38 +00:00
Wouter van Oortmerssen
e6b79f0002
Added stream & idempotent annotations for RPCs.
...
Change-Id: Ia8651c1051808fdda0dc0ba52ec991777f868e88
Tested: on Linux.
2016-03-09 15:03:05 -08: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
91c27148c0
Merge pull request #3805 from artiom/patch-1
...
Update google user group link
2016-03-09 09:58:51 -08:00
Alex Kerfoot
1e7310e6cd
Fix CreateString with already-encoded string or bytearray in Python 2.7.
...
There was no way to pass an already-encoded string to
`builder.CreateString` in Python 2.7:
- Passing a `bytearray` raised a TypeError because `bytearray` was not
recognized as an instance of `compat.binary_type`.
- Passing a utf-8 encoded `str` would cause the string to be
double-encoded, because `compat.string_types = (basestring,)` and
`basestring` is the base class of `str` and `unicode`, so the logic
would never reach the `elif isinstance(s, compat.binary_type)` case.
- Converting a utf-8 encoded bytearray to `bytes` like
`builder.CreateString(bytes(encoded_string))` does not work because
in Python 2.7, bytes is just an alias for `str` so it behaves as
above.
This change allows either `bytes` or `bytearray` as an already-encoded
string to be passed to `CreateString` in versions of Python that support
`bytearray`, and falls back to `str` in older versions.
In Python 2, it restricts unencoded string types to `unicode`, so `str`
can be used as an encoded, binary representaiton.
2016-03-08 16:05:02 -08:00
artiom
b49a7d146d
Update google user group link
...
Original link returns 404.
2016-03-08 23:57:12 +00:00
Wouter van Oortmerssen
fbc8af40e3
Allow JSON numeric fields to be specified by a numeric data in a string.
...
Change-Id: I6a3fae1e71434a7384edc39b8602bd84a0432edb
Tested: on Linux.
Bug: 24140897
2016-03-07 17:22:51 -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
3cd9181ef8
Fixed Java pom.xml file still having wrong version number.
...
Change-Id: I95bc50ecd3b49d91fb81477a8818e3c1f253ff77
2016-03-07 14:15:01 -08:00
Wouter van Oortmerssen
81e4d3c6c3
Moved the build dir to build_ide to not clash with BUILD files.
...
Change-Id: I9576e130142acc697fadbfb6aacfd5969f25866a
Tested: on Windows.
Bug: 27426239
2016-03-07 12:58:36 -08:00
Wouter van Oortmerssen
958fc6ec49
Added support for easy string pooling.
...
Change-Id: I790cf681c1bffff800d77afb0e2f908d1c827679
Tested: on Linux.
Bug: 26186542
2016-03-07 12:58:36 -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
Wouter van Oortmerssen
51d48bd953
Merge pull request #3793 from yurivict/master
...
Fixed missing -lc++abi on FreeBSD.
2016-03-02 17:46:30 -08:00
Yuri
26f15bcd77
Fixed missing -lc++abi on FreeBSD.
2016-03-02 17:15:42 -08:00
Wouter van Oortmerssen
412b8d2c80
Merge pull request #3788 from franc0is/layout-typo
...
Fix small typo in documentation navigation
2016-02-26 10:14:39 -08:00
Wouter van Oortmerssen
617fedf349
Merge pull request #3765 from Mischanix/js-typed-arrays
...
Javascript helper to get typed array views
2016-02-26 09:51:50 -08:00
Wouter van Oortmerssen
59caa536ed
Merge pull request #3784 from evanw/fix-for-3773
...
Fix #3773 : Generated JS now avoids the flatbuffers object
2016-02-26 09:37:55 -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
Evan Wallace
31b30335f6
Fix #3773 : Generated JS now avoids the flatbuffers object
2016-02-25 01:06:16 -08:00
Wouter van Oortmerssen
959866b848
Merge pull request #3776 from ncpenke/fix-bug-skipping-unknown-fields
...
Fix bug skipping unknown fields
2016-02-22 13:38:14 -08:00
Nalinichandra Penke
cbab26673b
Fix #3775 : Skip unknown field names if they're quoted
2016-02-22 14:34:20 -06:00
ncpenke
1cf5e3f751
Merge pull request #4 from google/master
...
Catchup
2016-02-22 14:34:05 -06:00
Wouter van Oortmerssen
9a76ce8a65
Disabled broken biicode builds on Travis for the moment.
...
Change-Id: I834e6da091ea704a3fe599a5b99f338d29cd3bf1
2016-02-22 11:33:14 -08:00
Wouter van Oortmerssen
574404e2ee
Merge branch 'master' of https://github.com/google/flatbuffers
2016-02-17 13:29:34 -08:00
Wouter van Oortmerssen
20c0082ee5
Fixed namespace code generation for C++
...
The code generator was assuming all declarations for the current
file sit in the same namepace. Now uses the "on demand" namespace
switching we had for the forward declarations.
Also fixed a bug related to namespace lookup.
Change-Id: Ib54a3efbc752cbb9590302fa0707c0c73448db3d
Tested: on Linux.
2016-02-17 11:26:38 -08:00
Robert Nix
9d92aeb182
Add helper for javascript typed arrays
...
For scalar vector fields, emit an Array helper that
returns a typed array view of the underlying bytes buffer.
2016-02-12 12:41:28 -06:00
Robert Nix
2f5d7ae645
Fix javascript unicode test
...
The generated buffer should be tested for semantic equivalence
to the correct buffer, instead of being tested for bytewise
equality.
2016-02-12 12:31:25 -06:00
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