Jisi Liu
7794a98ff4
Initial check-in for message oneof.
10 years ago
Jisi Liu
33222b5a02
Initial check in for primitive oneof fields.
10 years ago
Jisi Liu
f0e08fd4e4
Support maps in NanoPrinter.
10 years ago
Chris Fallin
709164e764
Merge pull request #213 from pherl/maps
...
Use EMPTY_BYTES in WireFormatNano
10 years ago
Jisi Liu
fbfdbe8ad8
Use EMPTY_BYTES in WireFormatNano
10 years ago
Chris Fallin
b262575bf2
Merge pull request #212 from haberman/update-from-google
...
Integrated changes from Google opensource branch.
10 years ago
Josh Haberman
55cf8abecb
Merge branch 'master' of github.com:google/protobuf
10 years ago
Josh Haberman
cb3caf1e61
Integrate changes from Google open-source branch.
10 years ago
Jisi Liu
2cb2358cba
Merge pull request #204 from pherl/master
...
Implement maps for JavaNano
10 years ago
Jisi Liu
c265fbe3ca
Mark factory setter API as private for alpha release.
10 years ago
Chris Fallin
db87a9c07a
Merge pull request #211 from isaiah/map_inspect
...
Ruby implementation Map#inspect should be consistent with Hash#inspect
10 years ago
Isaiah Peng
4502626fa7
Google::Protobuf::Map#inspect should be consistent with Hash#inspect
10 years ago
Joshua Haberman
344a921a82
Merge pull request #209 from cfallin/ruby-protoc-maps
...
Properly support maps in Ruby protoc and another bugfix.
10 years ago
Chris Fallin
315b93fdcc
Addressed code-review comment.
10 years ago
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.
10 years ago
Feng Xiao
43beb6268b
Merge pull request #201 from gordana-cmiljanovic-imgtec/mips-atomic-ops-fix
...
MIPS: remove immediate constraint within CompareAndSwap.
10 years ago
Jisi Liu
d1bbd856af
Merge the javanano map test into the main test target.
10 years ago
Jisi Liu
33ccbcbe26
Add java compiled targets and several tests target into .gitignore.
10 years ago
Chris Fallin
504d124287
Merge pull request #203 from pherl/gitignore
...
Add java compiled targets and several tests target into .gitignore.
10 years ago
Jisi Liu
7af23e88be
Add java compiled targets and several tests target into .gitignore.
10 years ago
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.
10 years ago
Chris Fallin
2e5123a399
Merge pull request #197 from nsuke/protoc-export-ruby
...
Add missing LIBPROTOC_EXPORT to ruby generator
10 years ago
Nobuaki Sukegawa
de525ec219
Add missing LIBPROTOC_EXPORT to ruby generator
10 years ago
Jisi Liu
12d8a514c8
Get the map factory per mergeFrom() call for JavaNano.
10 years ago
Jisi Liu
d9a6f27bc3
implement hashCode() for JavaNano maps.
10 years ago
Jisi Liu
1536e93349
Implement Equals for nano.
10 years ago
Jisi Liu
b0f194885e
Rename empty bytes in JavaNano.
10 years ago
Jisi Liu
cd99c12df2
Rename readData() to readPrimitiveField() in JavaNano.
10 years ago
Jisi Liu
7f3693184a
Add tests merging empty entries in JavaNano map
10 years ago
Joshua Haberman
20490e33ca
Merge pull request #189 from cfallin/update-ruby-upb
...
Updated to latest upb and added test for JSON map operation.
10 years ago
Chris Fallin
06bf6308ea
README.md update for Ruby gem.
10 years ago
Jisi Liu
bd3573cb09
Fix the behavior when merging conflicting keys, the new value always
...
override the existing one even for message types.
10 years ago
Jisi Liu
ca35a80303
Test keys and values cannot be null.
10 years ago
Jisi Liu
0d52964597
Basic serialization/parsing test.
10 years ago
Jisi Liu
3c0355ef37
Moving internal code to InternalNano and rename MapUtil to MapFactories.
10 years ago
Jisi Liu
d5839d2b4d
parsing and serialzation for maps in JavaNano.
10 years ago
Chris Fallin
e7e79a43ed
Merge pull request #190 from isaiah/to_ary
...
add #to_ary to RepeatedField
10 years ago
Isaiah Peng
ee5f6e9a35
add #to_ary to RepeatedField
10 years ago
Jisi Liu
4d64e65f09
Parsing for Maps in JavaNano
10 years ago
Jisi Liu
0f2a7d3fea
Add readData(int) to read primitive value.
10 years ago
Jisi Liu
60bccb6006
MOVE TYPE_XXX constants to InternalNano.
10 years ago
Feng Xiao
a22bc812a4
Merge pull request #186 from ennerf/win32-msvc-fix
...
MSVC protoc compiler fix
10 years ago
Chris Fallin
a50759254f
Updated to latest upb and added test for JSON map operation.
10 years ago
Jisi Liu
4a99897c0b
Use map generator for maps field; skip entry message.
10 years ago
Jisi Liu
ab74fd1c4b
Add package for map test for nano.
10 years ago
Jisi Liu
03b1416f0e
Add tests for JavaNano maps.
10 years ago
Joshua Haberman
17e4419188
Merge pull request #168 from cfallin/ruby-oneof
...
Support oneofs in MRI Ruby C extension.
10 years ago
Chris Fallin
a3953da536
Updated based on code-review comments.
10 years ago
Chris Fallin
eb33f9d3d6
Updated based on code-review comments.
10 years ago
Florian Enner
e544b38815
removed accidental whitespace
10 years ago