Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix hash computation for JRuby's RubyMessage | Brendan Ribera | 2016-09-20 | 1 | -2/+17 | |
| | | | | | | | | | | `System.identityHashCode` returns a hash that does not consider a Message's values. This means two Messages with identical values will not have identical hashCodes. This patch uses the pattern from RubyMap to combine the hashCodes from all values in a given message and produce a unique, consistent, value-based hash. | |||||
* | Merge pull request #2037 from abscondment/fix-2036-ruby-hash | Joshua Haberman | 2016-09-18 | 2 | -8/+9 | |
|\ | | | | | Fix #2036 (Ruby `hash` broken for Messages with repeated fields.) | |||||
| * | fix #2036: use `rb_hash_*` to accumulate hashes | Brendan Ribera | 2016-08-30 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | Instead of shifting/xoring the hash at each field, use the built-in ruby apis for generating a hash from multiple input values. Now returns a Fixnum. | |||||
| * | failing test for #2036: | Brendan Ribera | 2016-08-30 | 1 | -1/+4 | |
| | | | | | | | | | | * add a repeated field to the tested hash * also assert that two messages with identical values produce identical hashes | |||||
* | | Merge remote-tracking branch 'origin/3.0.x' into merge | Jisi Liu | 2016-09-14 | 2 | -2/+2 | |
|\ \ | |/ |/| | ||||||
| * | Bump version number to 3.0.2 | Jisi Liu | 2016-09-02 | 2 | -2/+2 | |
| | | ||||||
| * | Merge pull request #2012 from haberman/rubymapgcfix | Joshua Haberman | 2016-08-30 | 4 | -9/+59 | |
| | | | | | | Ruby: make sure map parsing frames are GC-rooted. | |||||
* | | upb bugfix: JSON map entry keys were passing the wrong closure. | Josh Haberman | 2016-08-29 | 1 | -1/+1 | |
| | | ||||||
* | | Ruby: make sure map parsing frames are GC-rooted. | Josh Haberman | 2016-08-26 | 3 | -8/+58 | |
| | | ||||||
* | | Fixing regular expression... | Nicolas Noble | 2016-08-23 | 1 | -1/+1 | |
| | | | | | | This will allow loading the extension for Ruby 2.1.10... | |||||
* | | Merge pull request #1878 from haberman/rubywkt | Joshua Haberman | 2016-08-01 | 3 | -2/+336 | |
|\ \ | |/ |/| | Ruby: added API support for well-known types. | |||||
| * | Ruby: added custom Struct exception type and fixed Makefile.am. | Josh Haberman | 2016-08-01 | 2 | -11/+41 | |
| | | ||||||
| * | Fix for JRuby (assert_true is not present). | Josh Haberman | 2016-07-28 | 2 | -3/+3 | |
| | | ||||||
| * | Ruby: added API support for well-known types. | Josh Haberman | 2016-07-28 | 2 | -0/+304 | |
| | | ||||||
* | | Merge pull request #1847 from haberman/GAfixes | Joshua Haberman | 2016-07-26 | 4 | -3/+15 | |
|\| | | | | | GA fixes | |||||
| * | Added unit test for PascalCasing package names in Ruby. | Josh Haberman | 2016-07-25 | 4 | -1/+13 | |
| | | ||||||
| * | Merge pull request #1837 from haberman/rubygencodename | Joshua Haberman | 2016-07-25 | 2 | -2/+2 | |
| |\ | | | | | | | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb. | |||||
| | * | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb. | Josh Haberman | 2016-07-25 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code. | |||||
* | | | remove extra zeros. | Jisi Liu | 2016-07-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Make jruby still depend on beta-4 | Jisi Liu | 2016-07-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Bump version number for GA | Jisi Liu | 2016-07-25 | 2 | -2/+2 | |
|/ / | ||||||
* | | Merge pull request #1821 from haberman/rubyfreezestr | Joshua Haberman | 2016-07-25 | 11 | -83/+132 | |
|\ \ | |/ |/| | Ruby: encode and freeze strings when the are assigned or decoded. | |||||
| * | Ruby: fixed string freezing for JRuby. | Josh Haberman | 2016-07-25 | 5 | -25/+30 | |
| | | ||||||
| * | Ruby: encode and freeze strings when the are assigned or decoded. | Josh Haberman | 2016-07-21 | 7 | -60/+104 | |
| | | ||||||
* | | Add more tests to jenkins. | Feng Xiao | 2016-07-21 | 1 | -1/+1 | |
|/ | | | | | | | | | | | 1. Added ruby22 and jruby tests to jenkins. 2. Added javascript tests to jenkins. 3. Added golang tests to jenkins. 4. Removed ruby19/ruby20 tests from travis. Support for ruby 2.0 has ended since 2016/02/24. https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/ Change-Id: Ie984b06772335352a4be7067ab2485f923875685 | |||||
* | Update version number to 3.0.0-beta-4 | Feng Xiao | 2016-07-13 | 2 | -2/+2 | |
| | ||||||
* | Fix spelling in strings and comments | Otto Kekäläinen | 2016-07-03 | 2 | -2/+2 | |
| | ||||||
* | Fixed oneof behavior for enums and fixed JRuby. | Josh Haberman | 2016-05-18 | 3 | -11/+24 | |
| | ||||||
* | Ruby oneofs: return default instead of nil for unset fields. | Josh Haberman | 2016-05-18 | 2 | -20/+42 | |
| | ||||||
* | Update version numbers for other languages | Jisi Liu | 2016-05-10 | 1 | -1/+1 | |
| | ||||||
* | Properly generating well known proto files for the macos build. | Nicolas "Pixel" Noble | 2016-05-04 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #1473 from nicolasnoble/rake-tweaks | Joshua Haberman | 2016-05-03 | 3 | -31/+43 | |
|\ | | | | | Few tweaks to the rakefile to permit native gems compilation with the proto files generation. | |||||
| * | Addressing concerns. | Nicolas "Pixel" Noble | 2016-04-30 | 1 | -1/+9 | |
| | | ||||||
| * | Few tweaks to the rakefile to permit native gems compilation with the proto ↵ | Nicolas "Pixel" Noble | 2016-04-29 | 3 | -32/+36 | |
| | | | | | | | | files generation. | |||||
* | | Merge pull request #1462 from acozzette/ruby-2.3 | Adam Cozzette | 2016-04-28 | 1 | -2/+2 | |
|\ \ | |/ |/| | Added dig and bsearch_index to RepeatedField methods forwarded to array | |||||
| * | Added dig and bsearch_index to RepeatedField methods forwarded to array | Adam Cozzette | 2016-04-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | This fixes the test_acts_likes_an_array test in RepeatedFieldTest, which checks that repeated fields respond to the same methods as regular Ruby arrays. The bsearch_index and dig array methods seem to be new in Ruby 2.3 and so we should support those. | |||||
* | | Updated upb and simplified ruby code a bit with new upb method. | Josh Haberman | 2016-04-22 | 4 | -1222/+1552 | |
|/ | ||||||
* | Bugfix for JSON error case. | Josh Haberman | 2016-04-14 | 1 | -1/+1 | |
| | ||||||
* | Remove no longer applicable documentation from README.md. | Josh Haberman | 2016-04-14 | 1 | -68/+0 | |
| | ||||||
* | Ruby JSON: always accept both camelCase and original field names. | Josh Haberman | 2016-04-14 | 7 | -33/+82 | |
| | | | | | | | | For JSON encoding we provide a new option to decide at encode time whether to use camelCase or original proto field names: json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true) | |||||
* | Documented the JSON change and compatibility flags. | Josh Haberman | 2016-04-14 | 1 | -13/+83 | |
| | ||||||
* | Updated upb: picked up legacy JSON flags to help Ruby users migrate. | Josh Haberman | 2016-04-14 | 2 | -1354/+1573 | |
| | | | | | | | | | | | | | The flags are: UPB_JSON_ACCEPT_LEGACY_FIELD_NAMES UPB_JSON_WRITE_LEGACY_FIELD_NAMES The first just allows the parser to accept the old field names. The second makes the printer print the old field names. These flags are intended to be temporary, as a migration aid for users. | |||||
* | Merge pull request #1139 from haberman/rubyjsoncamel | Joshua Haberman | 2016-03-04 | 6 | -532/+1156 | |
|\ | | | | | Changed Ruby to properly camelCase its JSON by default. | |||||
| * | Updated upb from latest changes. | Josh Haberman | 2016-02-18 | 2 | -244/+133 | |
| | | ||||||
| * | Changed Ruby to properly camelCase its JSON by default. | Josh Haberman | 2016-02-18 | 6 | -417/+1152 | |
| | | ||||||
* | | Generate well-known types in Ruby extension and prune unneeded proto2 ↵ | Josh Haberman | 2016-03-03 | 2 | -75/+44 | |
|/ | | | | dependencies. | |||||
* | Merge pull request #1224 from google/rubysentinel | Joshua Haberman | 2016-02-16 | 1 | -9/+9 | |
|\ | | | | | Removed 'optional' from proto3 syntax file. | |||||
| * | Removed 'optional' from proto3 syntax file. | Josh Haberman | 2016-02-10 | 1 | -9/+9 | |
| | | ||||||
* | | Merge pull request #1144 from dongjoon-hyun/remove_redundant_the | Joshua Haberman | 2016-02-11 | 1 | -1/+1 | |
|\ \ | | | | | | | Remove redundant `the`. | |||||
| * | | Remove redundant `the` in comments. | Dongjoon Hyun | 2016-02-03 | 1 | -1/+1 | |
| | | |