Chris Fallin
a2bea0a001
Properly support maps in Ruby protoc and another bugfix.
...
Previously, we supported map fields in the Ruby DSL. However, we never
connected the final link in the chain and generated `map` DSL commands
for map fields in `.proto` files. My apologies -- I had been testing
with the DSL directly so I missed this.
Also fixed a handlerdata-setup-infinite-loop when a map value field's
type is its containing message.
10 years ago
Feng Xiao
43beb6268b
Merge pull request #201 from gordana-cmiljanovic-imgtec/mips-atomic-ops-fix
...
MIPS: remove immediate constraint within CompareAndSwap.
10 years ago
Chris Fallin
504d124287
Merge pull request #203 from pherl/gitignore
...
Add java compiled targets and several tests target into .gitignore.
10 years ago
Jisi Liu
7af23e88be
Add java compiled targets and several tests target into .gitignore.
10 years ago
Gordana Cmiljanovic
b61b0c3304
MIPS: remove immediate constraint within CompareAndSwap.
...
Improper use of immediate constraint is slightly non-optimal with gcc/gnu-as
but may cause breakage with clang.
10 years ago
Chris Fallin
2e5123a399
Merge pull request #197 from nsuke/protoc-export-ruby
...
Add missing LIBPROTOC_EXPORT to ruby generator
10 years ago
Nobuaki Sukegawa
de525ec219
Add missing LIBPROTOC_EXPORT to ruby generator
10 years ago
Joshua Haberman
20490e33ca
Merge pull request #189 from cfallin/update-ruby-upb
...
Updated to latest upb and added test for JSON map operation.
10 years ago
Chris Fallin
06bf6308ea
README.md update for Ruby gem.
10 years ago
Chris Fallin
e7e79a43ed
Merge pull request #190 from isaiah/to_ary
...
add #to_ary to RepeatedField
10 years ago
Isaiah Peng
ee5f6e9a35
add #to_ary to RepeatedField
10 years ago
Feng Xiao
a22bc812a4
Merge pull request #186 from ennerf/win32-msvc-fix
...
MSVC protoc compiler fix
10 years ago
Chris Fallin
a50759254f
Updated to latest upb and added test for JSON map operation.
10 years ago
Joshua Haberman
17e4419188
Merge pull request #168 from cfallin/ruby-oneof
...
Support oneofs in MRI Ruby C extension.
10 years ago
Chris Fallin
a3953da536
Updated based on code-review comments.
10 years ago
Chris Fallin
eb33f9d3d6
Updated based on code-review comments.
10 years ago
Florian Enner
e544b38815
removed accidental whitespace
10 years ago
Florian Enner
e1e86b02a8
replaced type fix with the recommended way
10 years ago
Florian Enner
df4730ca9c
fixed MSVC compile error
...
<stdint.h> is not part of the standard, so I've added a workaround.
10 years ago
Florian Enner
ec53b8cb60
added missing ruby generator to msvc project
...
https://github.com/google/protobuf/issues/87
10 years ago
Feng Xiao
8ccaa42ffb
Remove deleted files from Makefile.am.
10 years ago
Feng Xiao
76cb776d94
Merge pull request #180 from ned14/master
...
Fix illegal C++ use of reinterpret_cast<> to cast between nullptr_t and a pointer
10 years ago
Feng Xiao
ae11803d77
Delete unused files.
10 years ago
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f01c1441bc
Fix illegal C++ use of reinterpret_cast<> to cast between nullptr_t and a pointer.
10 years ago
Chris Fallin
07b8b0f28d
Addressed code-review comments.
10 years ago
Chris Fallin
9de35e7421
Addressed code-review comments.
10 years ago
Chris Fallin
e2debef5d8
Ruby extension: added oneof accessor.
10 years ago
Chris Fallin
e1b7d38d9a
Addressed code-review comments.
10 years ago
Chris Fallin
b0670ddae7
Fix golden-file Ruby test to work with out-of-tree builds.
10 years ago
Chris Fallin
3f3820d8f8
Two tests for Ruby code generator:
...
- A golden-file test that ensures protoc produces known-valid output.
- A Ruby test that loads that golden file and ensures it actually works
with the extension.
This split strategy allows us to test end-to-end without needing to
integrate the Ruby gem build system and the protoc build system. This is
desirable because we do not want a gem build/install to depend on
building protoc, and we do not want building protoc to depend on
building and testing the gem.
10 years ago
Chris Fallin
7c4bbf07a5
Support oneofs in the Ruby code generator.
10 years ago
Chris Fallin
fcd8889d5b
Support oneofs in MRI Ruby C extension.
10 years ago
Joshua Haberman
5446deaea7
Merge pull request #155 from cfallin/ruby-maps
...
Support for maps in the MRI C Ruby extension.
10 years ago
Chris Fallin
ace4212e60
Line-wraps at 80 chars.
10 years ago
Feng Xiao
052e0205a7
Merge pull request #160 from zhangkun83/master
...
Include names.h as java_names.h in the opensource tree
10 years ago
Chris Fallin
addd26cbb3
Addressed code-review comments.
10 years ago
zhangkun83
a6b3ab09e8
Align backslash vertically
10 years ago
zhangkun83
aa1713d9a4
Include names.h as java_names.h in the opensource tree
10 years ago
Chris Fallin
97b663a8be
Update upb amalgamation.
10 years ago
Chris Fallin
4c92289766
Addressed code-review comments.
10 years ago
Chris Fallin
80276ac021
Addressed code-review comments.
10 years ago
Chris Fallin
fd1a3ff11d
Support for maps in the MRI C Ruby extension.
...
This adds the Map container and support for parsing and serializing maps
in the protobuf wire format (as defined by the C++ implementation, with
MapEntry submessages in a repeated field). JSON map
serialization/parsing are not yet supported as these will require some
changes to upb as well.
10 years ago
Feng Xiao
644a6a1da7
Merge pull request #143 from Ivoz/patch-1
...
Update python version / setuptools instructions
10 years ago
Feng Xiao
b60a6df9ae
Merge pull request #46 from adalq/version
...
Add __version__
10 years ago
Feng Xiao
bc3af606a7
Merge pull request #139 from c0nk/master
...
Improved little endian byte order detection
10 years ago
Matt Iversen
4186d4c9c9
Update python version / setuptools instructions
...
Reflect the change that protobuf should now only be supporting 2.6+ (I'd guess note python 3.x+ when its supported in implementation)
Refer to the Python Packaging User Guide for installing setuptools (and pip) instead of out of date telecommunity guide.
10 years ago
Kal Conley
c3e928021f
Improved little endian byte order detection
...
Including <sys/param.h> on Mac/iOS doesn't define __BYTE_ORDER so
PROTOBUF_LITTLE_ENDIAN was never being defined. This commit adds a check
for the __LITTLE_ENDIAN__ macro which is defined by clang and Apple gcc on
little endian architectures.
10 years ago
Adal Chiriliuc
4f0170d465
Updated __version__
10 years ago
Joshua Haberman
59692c3fc0
Merge pull request #136 from cfallin/ruby-proto3-only
...
Support Ruby code generation only for proto3.
10 years ago
Chris Fallin
5ce69e991a
Support Ruby code generation only for proto3.
10 years ago