Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | allow a message field to be unset | Adam Greene | 2015-05-02 | 4 | -7/+16 |
| | | |||||
* | | return nil if array index indicie is out of bounds | Adam Greene | 2015-05-01 | 7 | -26/+85 |
|/ | | | | | | | ruby arrays don't throw an exception; they return nil. Lets do the same! this fix also includes the ability to use negative array indicies | ||||
* | add size alias for length | Adam Greene | 2015-05-01 | 5 | -3/+57 |
| | | | | | | | | | | starting to make `RepeatedField` quack like an array additional changes: * make sure gemspec gets all ruby code files * add homepage in gem spec removes one of the warnings, and the gem spec authors are pushing everyone to include a homepage in the gem * remove excess whitespace in test suite to bring formatting inline with the rest of the file | ||||
* | build cleanups | Adam Greene | 2015-05-01 | 3 | -2/+3 |
| | | | | | | * update docs to simplify build steps * Gemfile.lock seemed to have an older version specified * do not check in the pkg dir | ||||
* | Bump gem version to release bugfix. | Chris Fallin | 2015-04-13 | 1 | -1/+1 |
| | |||||
* | Fixed issue #283: crash in JSON handler cleanup. | Chris Fallin | 2015-04-13 | 2 | -1/+25 |
| | | | | Includes repro test case from @wfarr. | ||||
* | add jruby support by protobuf-java reflection API | Isaiah Peng | 2015-03-10 | 28 | -25/+4641 |
| | |||||
* | Updated Ruby gem version and added note to ruby/README.md regarding version ↵ | Chris Fallin | 2015-03-03 | 2 | -1/+25 |
| | | | | | | number scheme. Change-Id: Idb29077c153530de78ce28c094442aa8f51ddd25 | ||||
* | Bump the version number to 3.0.0-alpha-3-pre | Jisi Liu | 2015-03-02 | 1 | -1/+1 |
| | | | | Change-Id: I33479e529b060e4fed532a827a386d3baecc835e | ||||
* | Updated Ruby README with more details on getting started. | Chris Fallin | 2015-02-23 | 1 | -2/+45 |
| | | | | Change-Id: I54df314660cdb861ad8c4da75a08d4cb97faf638 | ||||
* | Update Ruby gem version to 3.0.0.alpha.2.0. | Chris Fallin | 2015-02-20 | 1 | -1/+1 |
| | | | | | | | | This update conforms to our two-numbers-after-alpha scheme that allows us to bump the last number if we need to re-upload a gem. (Rubygems does not allow re-use of a version number once a gem is uploaded.) Change-Id: Ia8e7c129d19800afd66f8052785cf5a00462c7ba | ||||
* | Updated Ruby README. | Chris Fallin | 2015-02-20 | 1 | -1/+0 |
| | | | | Change-Id: I8c3717f549c9b4e9d07c77ec5875c9cd62b296ac | ||||
* | Merge pull request #211 from isaiah/map_inspect | Chris Fallin | 2015-02-17 | 2 | -2/+2 |
|\ | | | | | Ruby implementation Map#inspect should be consistent with Hash#inspect | ||||
| * | Google::Protobuf::Map#inspect should be consistent with Hash#inspect | Isaiah Peng | 2015-02-14 | 2 | -2/+2 |
| | | |||||
* | | Addressed code-review comment. | Chris Fallin | 2015-02-13 | 1 | -0/+4 |
| | | |||||
* | | Properly support maps in Ruby protoc and another bugfix. | Chris Fallin | 2015-02-12 | 2 | -73/+20 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #189 from cfallin/update-ruby-upb | Joshua Haberman | 2015-02-05 | 4 | -111/+565 |
|\ \ | |/ |/| | Updated to latest upb and added test for JSON map operation. | ||||
| * | README.md update for Ruby gem. | Chris Fallin | 2015-02-05 | 1 | -7/+5 |
| | | |||||
| * | Updated to latest upb and added test for JSON map operation. | Chris Fallin | 2015-02-02 | 3 | -104/+560 |
| | | |||||
* | | Merge pull request #190 from isaiah/to_ary | Chris Fallin | 2015-02-03 | 2 | -32/+30 |
|\ \ | |/ |/| | add #to_ary to RepeatedField | ||||
| * | add #to_ary to RepeatedField | Isaiah Peng | 2015-02-03 | 2 | -32/+30 |
| | | |||||
* | | Updated based on code-review comments. | Chris Fallin | 2015-02-02 | 1 | -2/+1 |
| | | |||||
* | | Updated based on code-review comments. | Chris Fallin | 2015-02-02 | 3 | -16/+51 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-26 | 2 | -12/+26 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-26 | 3 | -7/+12 |
| | | |||||
* | | Ruby extension: added oneof accessor. | Chris Fallin | 2015-01-14 | 3 | -1/+53 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-14 | 5 | -59/+71 |
| | | |||||
* | | Two tests for Ruby code generator: | Chris Fallin | 2015-01-14 | 4 | -1/+211 |
| | | | | | | | | | | | | | | | | | | | | | | | | - 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. | ||||
* | | Support oneofs in MRI Ruby C extension. | Chris Fallin | 2015-01-14 | 8 | -233/+1840 |
|/ | |||||
* | Line-wraps at 80 chars. | Chris Fallin | 2015-01-13 | 1 | -13/+18 |
| | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-12 | 2 | -23/+14 |
| | |||||
* | Update upb amalgamation. | Chris Fallin | 2015-01-09 | 2 | -400/+747 |
| | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-09 | 6 | -135/+72 |
| | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-06 | 6 | -32/+59 |
| |