| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
|
|
|
|
|
| |
We no longer need this, now that we have finished the switch to C++11
and are using std::unique_ptr.
|
| |
|
| |
|
|
|
|
|
| |
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
|
|
|
|
| |
This includes all internal changes from around May 20 to now.
|
|
|
|
| |
dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involved fixing a few important bugs in the
Ruby implementation -- mostly cases of mixing
upb field types and descriptor types (upb field
types do not distinguish between int/sint/fixed/sfixed
like descriptor types do).
Also added protobuf-specific exceptions so parse
errors can be caught specifically.
Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
|
| |
|
|
|
|
|
| |
put built libraries. This directory hides the one that contains
ruby_generated_code.proto and ruby_generated_code.rb.
|
|
|
|
| |
src/google/compiler/ruby depend on these two files, but they were missed in language distributions other than ruby
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |\
| | |
| | | |
MSVC protoc compiler fix
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
<stdint.h> is not part of the standard, so I've added a workaround.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| |/ |
|
| | |
|
|/
|
|
|
|
| |
system. The Ruby module build now uses an amalgamated distribution of
upb, and successfully builds a Ruby gem called 'google-protobuf' with
module 'google/protobuf'.
|
|
This adds a Ruby extension in ruby/ that is based on the 'upb' library
(now included as a submodule), and adds support for Ruby code generation
to the protoc compiler.
|