Adam Cozzette
f681c8d9e6
Fix Ruby release build by pinning rake-compiler-dock version ( #9372 )
...
Our Ruby release build broke at some point in the past day or so, and I
strongly suspect it is due to a new version (1.2.0) of
rake-compiler-dock. This commit pins the version to 1.1.0 as a temporary
fix.
3 years ago
Adam Cozzette
1fe07f9ce2
Cherry-pick fix from #9311 into 3.18.x ( #9320 )
...
* Dropped Ruby 2.4 support for CI and releases.
* Removed Kokoro configs for old Ruby versions.
* Update Dockerfile to allow it to be rebuilt
Co-authored-by: Joshua Haberman <jhaberman@gmail.com>
3 years ago
Joshua Haberman
214180c5a2
Dropped Ruby 2.4 support for CI and releases.
3 years ago
Adam Cozzette
7c40b2df1f
Update protobuf version ( #9167 )
3 years ago
Peter Zhu
b2ac7ced50
Fix memory leak in MessageClass.encode
...
If the line above raises an exception, the upb_arena is lost and memory
is leaked.
3 years ago
Joel Courtney
bbdcea8547
Remove lib from require
3 years ago
Joel Courtney
4d94a7cd93
Fixed: incorrect tests
3 years ago
Joel Courtney
947a51a464
Test coverage: .from_ruby / #from_ruby
3 years ago
Peter Zhu
3a18299cc0
Fix memory leak in MessageClass.encode
...
If the line above raises an exception, the upb_arena is lost and memory
is leaked.
3 years ago
Adam Cozzette
17b30e9647
Update protobuf version ( #9119 )
3 years ago
Adam Cozzette
3f3e6f47c6
Update version to 3.19.0-rc2 and fix changelog about Java 7 ( #9116 )
...
* Update protobuf version
* Update CHANGES.txt to reflect that we're not yet dropping Java 7
3 years ago
Joel Courtney
21478b371e
Update well_known_types_test.rb
3 years ago
Adam Cozzette
519340d662
Update protobuf version ( #9106 )
3 years ago
miyucy
3881f49ce9
Add size to Map class ( #8068 )
3 years ago
Postmodern
39013ab238
Remove unused rubygems-tasks development dependency ( #8824 )
...
* Cannot find any occurrence of `require 'rubygems/tasks` or `Gem::Tasks` in the source code, so I am confident that this development dependency can safely be removed.
3 years ago
Jason Lunn
b79a2f242c
Add JRuby test targets for JRuby 9.2.x and 9.3.x.
...
Standardize on JRuby 9.2.19.0 for building and for testing the 9.2.x branch.
3 years ago
Jason Lunn
728878e98f
Add JRuby test targets for JRuby 9.2.x and 9.3.x.
...
Standardize on JRuby 9.2.19.0 for building and for testing the 9.2.x branch.
3 years ago
Elliotte Rusty Harold
174d95c1a7
remove dependency on Jackson
3 years ago
Jason Lunn
7051d82fa9
Bump to 3.18.1
3 years ago
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
3 years ago
Jason Lunn
05ddf82f20
Remove blank line
3 years ago
Jason Lunn
793c66ddf0
Include JRuby's pom.xml file when updating version numbers
3 years ago
Jason Lunn
e3ba5ec615
Add trailing backslashes at end of line consistently
3 years ago
Jason Lunn
f5ef2892b4
Add an explicit RUBYLIB path to fix a load error under JRuby
3 years ago
Jason Lunn
b5687819a6
Fix a test regression observed after branch update
3 years ago
Jason Lunn
a09c8e1c79
Fix logic to decouple from the order of fields.keySet
3 years ago
Jason Lunn
3581d85ced
Update JRuby to leverage pure-Ruby DSL.
...
JRuby unit and conformance test fixes.
3 years ago
Adam Cozzette
55b0e11f52
Fix Ruby tests on Mac
...
It appears that this extra conditional in travis-test.sh is no longer
necessary, and in fact we need to avoid using a custom version of
OpenSSL since that is causing its own error.
3 years ago
Adam Cozzette
0333cb77de
Update ruby/travis-test.sh to print commands
3 years ago
zhangskz
740c4b082d
Update ruby_generator.cc to allow proto2 imports in proto3 ( #9003 )
...
* Update ruby_generator.cc to allow proto2 imports in proto3, with updated unit tests
* Update Makefile.am with new ruby_generated_code_proto2_import.proto
* Fix ruby_generator unit test to use temporary test directory for imported protos
* Add test for imported proto2 to ruby/tests
* Fix proto_path, restore to ../src/protoc, and fix/cleanup unit test.
* Rename Proto2TestMessage to TestImportedMessage for consistency, for ruby compiler tests
3 years ago
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
3 years ago
Joshua Haberman
79ac88bbbb
Fixed a memory bug with RepeatedField#+.
...
We need to fuse the arrays so that the second array's data
stays live.
3 years ago
Joshua Haberman
6d8b05bfd4
Added missing "options" parameter.
3 years ago
Bo Yang
d8f55782b0
Update protobuf version
3 years ago
Paul Yang
7cbc08615f
Update protobuf version ( #8887 )
3 years ago
Bo Yang
509aee4b8b
Sync from Piper @391414001
...
PROTOBUF_SYNC_PIPER
3 years ago
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
3 years ago
Joshua Haberman
ddda90d29c
Revert "Make the Ruby DSL use a unique filename for each implicit file."
...
This reverts commit db12f11466
.
3 years ago
Joshua Haberman
3d51eb5d9f
Make the Ruby DSL use a unique filename for each implicit file.
3 years ago
Joshua Haberman
db12f11466
Make the Ruby DSL use a unique filename for each implicit file.
3 years ago
Joshua Haberman
9d578a3a9c
Ported Ruby to ABSL wyhash.
3 years ago
Joshua Haberman
b7ab6255d6
Addressed PR comments.
3 years ago
Joshua Haberman
d339e1748e
Updated Ruby 3.0 test to 3.0.2.
3 years ago
Joshua Haberman
cb649b61e3
Fix for newer Rubies where you cannot #force_encoding on a frozen string.
3 years ago
Joshua Haberman
16e16eb8cd
pure-Ruby DSL is passing all tests!
3 years ago
Deanna Garcia
367851d124
Update protobuf version
4 years ago
Deanna Garcia
5b8208ecea
Update protobuf version
4 years ago
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
367e4691d2
Fixed memory bug: properly root repeated/map field when assigning. ( #8639 )
...
* Fixed memory bug: properly root repeated/map field when assigning.
Previously the protobuf extension would not properly root
memory from a repeated field or map when assigning to a
message field (see the attached test case). This could cause
crashes if the repeated field is subsequently accessed.
* Add accidentally-deleted Ruby test.
4 years ago
Adam Cozzette
52784ced2f
Update protobuf version ( #8633 )
4 years ago