Commit graph

1237 commits

Author SHA1 Message Date
Chris Fallin
561ea89405 Merge pull request #215 from cfallin/ruby-gem-version
Update Ruby gem version to 3.0.0.alpha.2.0.
2015-02-20 18:20:30 -08:00
Chris Fallin
11ad1bd277 Update Ruby gem version to 3.0.0.alpha.2.0.
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
2015-02-20 18:06:31 -08:00
Chris Fallin
5d9cc7d166 Merge pull request #214 from cfallin/ruby-changelog
Updated CHANGES.txt to mention Ruby extension.
2015-02-20 18:01:13 -08:00
Chris Fallin
6ad8f547fe Updated Ruby README.
Change-Id: I8c3717f549c9b4e9d07c77ec5875c9cd62b296ac
2015-02-20 17:49:14 -08:00
Chris Fallin
1d4f321327 Updated CHANGES.txt to mention Ruby extension.
Change-Id: I3c3ec4aecf4ea2ce786d8d674baeca875e71801f
2015-02-20 17:35:17 -08:00
Jisi Liu
32f5d0178c Add changelog for 3.0.0-alpha2 release.
Change-Id: I4cbb3374e351c31611de472c7d5d78e4ce2b0f3b
2015-02-20 17:15:42 -08:00
Jisi Liu
7c43f1700c Use static_cast instead of dynamic_cast in arena unittest so that it can
pass in systems without rtti.

Change-Id: Ib32b47a66f14928de9399c49dbdb07263a30d1bc
2015-02-20 16:21:04 -08:00
Jisi Liu
0a7fc8f888 Add test for debug string for oneof
Change-Id: I6a51a35c69ac24a60dd96ef69d556b1e68bc37d6
2015-02-19 17:27:59 -08:00
Jisi Liu
a6fc5da0fc Fix review comments.
Change-Id: Iafd4a3aa9d55e31478bf070311eeadfe95ece4d7
2015-02-19 17:16:26 -08:00
Jisi Liu
f2cf6cdcb2 Remove the unused set common oneof variables in helper 2015-02-19 16:43:08 -08:00
Jisi Liu
72776c30af Add tests for oneofs. 2015-02-19 16:43:08 -08:00
Jisi Liu
968150327d partial oneof tests. 2015-02-19 16:43:08 -08:00
Jisi Liu
7b72a24a20 fix equal and hash for bytes field for javanano oneof 2015-02-19 16:43:08 -08:00
Jisi Liu
b9e9469b4d Add tests for oneof equals and hash. 2015-02-19 16:43:08 -08:00
Jisi Liu
3ab660cd4a Uncomment string/bytes fields in oneof nano. 2015-02-19 16:43:08 -08:00
Jisi Liu
3accf81ea9 Clear oneofs. 2015-02-19 16:43:08 -08:00
Jisi Liu
f173cdeb02 hashcode and equals for oneofs in nano. 2015-02-19 16:43:08 -08:00
Jisi Liu
06a2e29855 Equals for message oneof field in nano. 2015-02-19 16:43:07 -08:00
Jisi Liu
c72d3d51ff Oneof message level elements (consts, case getter/clear) and messsage type field oneof support. 2015-02-19 16:43:07 -08:00
Jisi Liu
7794a98ff4 Initial check-in for message oneof. 2015-02-19 16:43:07 -08:00
Jisi Liu
33222b5a02 Initial check in for primitive oneof fields. 2015-02-19 16:43:07 -08:00
Jisi Liu
f0e08fd4e4 Support maps in NanoPrinter. 2015-02-19 14:41:14 -08:00
Chris Fallin
709164e764 Merge pull request #213 from pherl/maps
Use EMPTY_BYTES in WireFormatNano
2015-02-19 12:14:57 -08:00
Jisi Liu
fbfdbe8ad8 Use EMPTY_BYTES in WireFormatNano 2015-02-19 11:29:24 -08:00
Chris Fallin
b262575bf2 Merge pull request #212 from haberman/update-from-google
Integrated changes from Google opensource branch.
2015-02-18 14:35:44 -08:00
Josh Haberman
55cf8abecb Merge branch 'master' of github.com:google/protobuf 2015-02-17 18:25:20 -08:00
Josh Haberman
cb3caf1e61 Integrate changes from Google open-source branch. 2015-02-17 18:23:41 -08:00
Jisi Liu
2cb2358cba Merge pull request #204 from pherl/master
Implement maps for JavaNano
2015-02-17 14:06:19 -08:00
Jisi Liu
c265fbe3ca Mark factory setter API as private for alpha release. 2015-02-17 14:03:37 -08:00
Chris Fallin
db87a9c07a Merge pull request #211 from isaiah/map_inspect
Ruby implementation Map#inspect should be consistent with Hash#inspect
2015-02-17 13:02:32 -06:00
Isaiah Peng
4502626fa7 Google::Protobuf::Map#inspect should be consistent with Hash#inspect 2015-02-14 22:15:12 +01:00
Joshua Haberman
344a921a82 Merge pull request #209 from cfallin/ruby-protoc-maps
Properly support maps in Ruby protoc and another bugfix.
2015-02-13 15:45:48 -08:00
Chris Fallin
315b93fdcc Addressed code-review comment. 2015-02-13 14:32:09 -08:00
Chris Fallin
a2bea0a001 Properly support maps in Ruby protoc and another bugfix.
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.
2015-02-12 16:08:01 -08:00
Feng Xiao
43beb6268b Merge pull request #201 from gordana-cmiljanovic-imgtec/mips-atomic-ops-fix
MIPS: remove immediate constraint within CompareAndSwap.
2015-02-12 14:13:45 +08:00
Jisi Liu
d1bbd856af Merge the javanano map test into the main test target. 2015-02-09 14:15:26 -08:00
Jisi Liu
33ccbcbe26 Add java compiled targets and several tests target into .gitignore. 2015-02-09 13:33:46 -08:00
Chris Fallin
504d124287 Merge pull request #203 from pherl/gitignore
Add java compiled targets and several tests target into .gitignore.
2015-02-09 13:29:31 -08:00
Jisi Liu
7af23e88be Add java compiled targets and several tests target into .gitignore. 2015-02-09 13:11:03 -08:00
Gordana Cmiljanovic
b61b0c3304 MIPS: remove immediate constraint within CompareAndSwap.
Improper use of immediate constraint is slightly non-optimal with gcc/gnu-as
but may cause breakage with clang.
2015-02-09 14:04:24 +01:00
Chris Fallin
2e5123a399 Merge pull request #197 from nsuke/protoc-export-ruby
Add missing LIBPROTOC_EXPORT to ruby generator
2015-02-07 22:46:26 -08:00
Nobuaki Sukegawa
de525ec219 Add missing LIBPROTOC_EXPORT to ruby generator 2015-02-08 14:45:38 +09:00
Jisi Liu
12d8a514c8 Get the map factory per mergeFrom() call for JavaNano. 2015-02-07 12:51:36 -08:00
Jisi Liu
d9a6f27bc3 implement hashCode() for JavaNano maps. 2015-02-06 15:55:04 -08:00
Jisi Liu
1536e93349 Implement Equals for nano. 2015-02-06 15:30:48 -08:00
Jisi Liu
b0f194885e Rename empty bytes in JavaNano. 2015-02-05 17:38:07 -08:00
Jisi Liu
cd99c12df2 Rename readData() to readPrimitiveField() in JavaNano. 2015-02-05 17:14:02 -08:00
Jisi Liu
7f3693184a Add tests merging empty entries in JavaNano map 2015-02-05 15:23:37 -08:00
Joshua Haberman
20490e33ca Merge pull request #189 from cfallin/update-ruby-upb
Updated to latest upb and added test for JSON map operation.
2015-02-05 15:22:17 -08:00
Chris Fallin
06bf6308ea README.md update for Ruby gem. 2015-02-05 14:58:57 -08:00