Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | Merge pull request #997 from anderscarling/better_errors | Joshua Haberman | 2016-02-11 | 3 | -6/+47 |
|\ \ \ | |_|/ |/| | | ruby: Better exception text for common cases | ||||
| * | | Invoke super implementation instead of raising error | Anders Carling | 2015-11-23 | 1 | -2/+2 |
| | | | |||||
| * | | Add field name to initialization map exceptions | Anders Carling | 2015-11-20 | 3 | -5/+22 |
| | | | |||||
| * | | Use same exception class in ruby and jruby | Anders Carling | 2015-11-20 | 1 | -1/+1 |
| | | | |||||
| * | | Raise NoMethodError for unknown fields | Anders Carling | 2015-11-20 | 3 | -1/+25 |
| | | | | | | | | | | | | More informative and more ruby-like | ||||
* | | | Actually enabling cross compilation. | Nicolas "Pixel" Noble | 2016-02-06 | 1 | -1/+7 |
| | | | |||||
* | | | Removing usage of git - not everyone grabs the gem using it. | Nicolas "Pixel" Noble | 2016-02-06 | 1 | -2/+2 |
| | | | |||||
* | | | Add rake-compiler-dock as a dep. | Josh Haberman | 2016-02-04 | 2 | -3/+6 |
| | | | |||||
* | | | Added support for binary gems. | Josh Haberman | 2016-02-04 | 3 | -3/+12 |
| |/ |/| | |||||
* | | Fixed Ruby conformance tests by running them under rvm Ruby. | Josh Haberman | 2016-01-11 | 3 | -5/+4 |
| | | |||||
* | | Added debugging output to debug type= problem on Travis. | Josh Haberman | 2016-01-11 | 2 | -2/+3 |
| | | |||||
* | | Allow conformance test runner to tolerate crashes, and re-enable conformance ↵ | Josh Haberman | 2016-01-11 | 1 | -4/+1 |
| | | | | | | | | tests. | ||||
* | | Disable conformance tests for csharp and ruby. | Feng Xiao | 2015-12-21 | 1 | -3/+5 |
| | | | | | | | | The testee program of these two languages crashes on some test input. | ||||
* | | Update version numbers. | Feng Xiao | 2015-12-21 | 1 | -1/+1 |
|/ | | | | | Version number for beta languages is updated to v3.0.0-beta-2. Version number for alpha languages is updated to v3.0.0-alpha-5. | ||||
* | A very small fix to silence some warnings. | Josh Haberman | 2015-09-28 | 2 | -2/+7 |
| | | | | | | | Also updated the Gemfile.lock since alpha-4 has been pushed to RubyGems. Change-Id: I8ddc5f125f28aa9a33c88dfe48251a75a877e1d3 | ||||
* | Make jruby use Java 3.0.0-alpha-3. | Feng Xiao | 2015-08-26 | 1 | -1/+1 |
| | |||||
* | Update version number. | Feng Xiao | 2015-08-26 | 3 | -3/+3 |
| | | | | | Protoc, C++ runtime and Java runtime are updated to v3.0.0-beta-1, other languages are updated to v3.0.0-alpha-4. | ||||
* | Merge pull request #584 from haberman/cwarnings | Joshua Haberman | 2015-08-21 | 7 | -249/+354 |
|\ | | | | | Ruby: Conform to C89/C90 variable declaration rules. | ||||
| * | Return TypedData_Wrap_Struct directly. | Josh Haberman | 2015-08-20 | 2 | -4/+2 |
| | | | | | | | | Change-Id: I6cf77f01370204ad4bc7b345a040a9a3de1706a0 | ||||
| * | Conform to C89/C90 variable declaration rules. | Josh Haberman | 2015-07-10 | 7 | -247/+354 |
| | | | | | | | | | | | | | | | | | | | | | | | | While we are C99 in general, the Ruby build system for building C extensions enables several flags that throw warnings for C89/C90 variable ordering rules. To avoid spewing a million warnings (or trying to specifically override these warnings with command-line flags, which would be tricky and possibly fragile) we conform to Ruby's world of C89/C90. Change-Id: I0e03e62d95068dfdfde112df0fb16a248a2f32a0 | ||||
* | | Fixed several Ruby conformance test cases through upb update. | Josh Haberman | 2015-08-12 | 2 | -108/+141 |
| | | | | | | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9 | ||||
* | | Fixed lint errors and responded to CR comments. | Josh Haberman | 2015-07-17 | 1 | -1/+1 |
| | | | | | | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910 | ||||
* | | Exclude JRuby from conformance tests for now. | Josh Haberman | 2015-07-17 | 1 | -7/+16 |
| | | | | | | | | Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8 | ||||
* | | Added Ruby to conformance tests. | Josh Haberman | 2015-07-16 | 8 | -541/+498 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Worked around memory leak bug in Ruby interpreter. | Josh Haberman | 2015-07-08 | 1 | -1/+13 |
|/ | | | | | Change-Id: I8e2b425f9008e6b82d41d59783bb8b04af1f886f Fixes: https://github.com/google/protobuf/issues/474. | ||||
* | Update upb to fix two bugs in the Ruby library. | Josh Haberman | 2015-06-22 | 2 | -19/+54 |
| | | | | | | Fixes: https://github.com/google/protobuf/issues/502 https://github.com/google/protobuf/issues/425 | ||||
* | Fixed compiler warnings and added -std=c99. | Josh Haberman | 2015-06-09 | 2 | -10/+7 |
| | | | | | upb no longer requires -std=c99 but the Ruby/C code still uses C99 features. | ||||
* | Updated upb to latest version (C89). | Josh Haberman | 2015-06-08 | 4 | -5473/+5849 |
| | | | | | Since this version of upb supports C89, all of the extra compiler flags are no longer required. | ||||
* | Update version number to 3.0.0-alpha-4 | Bo Yang | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Update version number to 3.0.0-alpha-3 | teboring | 2015-05-23 | 2 | -2/+2 |
| | |||||
* | down-integrate internal changes | Bo Yang | 2015-05-21 | 1 | -13/+13 |
| | |||||
* | Ruby C extension speedup: don't re-intern constant string needlessly. | Chris Fallin | 2015-05-19 | 7 | -29/+45 |
| | | | | Also fixed lines with > 80 char length. | ||||
* | Merge pull request #387 from cfallin/ruby-upb-update | Joshua Haberman | 2015-05-18 | 6 | -749/+1408 |
|\ | | | | | Update MRI C Ruby extension to use new version of upb (with upb_env). | ||||
| * | Update MRI C Ruby extension to use new version of upb. | Chris Fallin | 2015-05-15 | 6 | -749/+1408 |
| | | | | | | | | | | | | | | | | | | - Alter encode/decode paths to use the `upb_env` (environment) abstraction. - Update upb amalgamation to upstream `93791bfe`. - Fix a compilation warning (void*->char* cast). - Modify build flags so that upb doesn't produce warnings -- the Travis build logs were pretty cluttered previously. | ||||
* | | Don't hardcode bash | Tamir Duberstein | 2015-05-15 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #338 from skippy/encode-decode-helpers | Chris Fallin | 2015-05-15 | 11 | -114/+182 |
|\ \ | | | | | | | ruby: Encode decode cleanup and behavior normalization | ||||
| * | | adding and simplifying encoders/decoders | Adam Greene | 2015-05-13 | 11 | -114/+182 |
| | | | | | | | | | | | | | | | | | | * make consistent between mri and jruby * create a #to_h and have it use symbols for keys * add #to_json and #to_proto helpers on the Google::Protobuf message classes | ||||
* | | | Merge pull request #385 from cfallin/travis-refactor | Chris Fallin | 2015-05-14 | 1 | -5/+1 |
|\ \ \ | |_|/ |/| | | Refactor Travis tests: split configs and run in parallel. | ||||
| * | | Refactor Travis tests: split configs and run in parallel. | Chris Fallin | 2015-05-14 | 1 | -5/+1 |
| | | | |||||
* | | | make repeated_field quack like an array | Adam Greene | 2015-05-14 | 7 | -125/+979 |
|/ / | |||||
* / | Added Ruby to Travis testing. | Chris Fallin | 2015-05-13 | 3 | -3/+32 |
|/ | | | | | | | | | - Added RVM-based Ruby test driver that tests MRI and JRuby. - Fixed JRuby compilation (at least in my current setup): force source version to 1.6 (Java 6) to allow generics and annotations. - Modify the skipped JRuby JSON tests so that the exit code is 0 (skip() results in a failing exit code from `rake test`). An upcoming PR should fix JSON under JRuby in general soon. | ||||
* | Merge pull request #334 from skippy/allow-msg-to-accept-nil | Chris Fallin | 2015-05-02 | 3 | -6/+15 |
|\ | | | | | ruby: allow a message field to be unset |