Jisi Liu
d9a6f27bc3
implement hashCode() for JavaNano maps.
10 years ago
Jisi Liu
1536e93349
Implement Equals for nano.
10 years ago
zex
a4f634ce74
fix raise syntax issues for py3,
...
fix except syntax issue for py3
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
Bo Yang
1d627f85c3
Fix comment
10 years ago
Jisi Liu
3c0355ef37
Moving internal code to InternalNano and rename MapUtil to MapFactories.
10 years ago
Bo Yang
3edcbaf57a
Clean code
10 years ago
Bo Yang
2e32b8b569
Remove "include sstream" from command_line_interface.cc
10 years ago
Bo Yang
a1b351c55b
Change flag for generating dependency file to "dependency_out". Delete
...
test-driver
10 years ago
Bo Yang
5fa3956ede
Fix comments.
10 years ago
Bo Yang
5914ce7a16
Implement a feature to generate a dependency file. By giving protoc the flag
...
"--dependency_manifest_out=FILE", protoc will write dependencies of
input proto files into FILE. In FILE, the format will be
<full path to FILE>: <full path to 1st proto>\\\n <full path to 2nd proto> ...
This cl is based on https://github.com/google/protobuf/pull/178
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
Florian Enner
e1e86b02a8
replaced type fix with the recommended way
10 years ago
Florian Enner
df4730ca9c
fixed MSVC compile error
...
<stdint.h> is not part of the standard, so I've added a workaround.
10 years ago
Florian Enner
ec53b8cb60
added missing ruby generator to msvc project
...
https://github.com/google/protobuf/issues/87
10 years ago
Jon Skeet
9dc7d7225d
Optimize enum parsing. In a small enum-heavy benchmark, this improved the time
...
of the benchmark (parsing a repeated message, where each message had 5 "small"
enum values and 5 "large" enum values) from ~39s to ~11s.
There is a small memory cost per enum used, but I expect this to be trivial compared
with other per-type costs.
Fixes issue 97.
10 years ago
Jisi Liu
dce816593d
Initial checkin for maps support in JavaNano.
10 years ago
Ming Zhao
d1ef42a8e7
Remove unused methods:
...
MessageTypeProtoName, IsVariableLenType
10 years ago
Feng Xiao
8ccaa42ffb
Remove deleted files from Makefile.am.
10 years ago
Feng Xiao
76cb776d94
Merge pull request #180 from ned14/master
...
Fix illegal C++ use of reinterpret_cast<> to cast between nullptr_t and a pointer
10 years ago
Feng Xiao
ae11803d77
Delete unused files.
10 years ago
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f01c1441bc
Fix illegal C++ use of reinterpret_cast<> to cast between nullptr_t and a pointer.
10 years ago
Chris Fallin
07b8b0f28d
Addressed code-review comments.
10 years ago
Chris Fallin
9de35e7421
Addressed code-review comments.
10 years ago
Richard Geary
532c94145b
Add support for outputting dependency manifest files, used by ninja and make
...
Use --manifest-file=somefile.d to output the dependency manifest.
This file will contain a list of files which were read by protoc as part
of creating the output files. It doesn't include the plugin inputs if
plugins are used, that could be a later extension.
The manifest file is in the format <output file>: <input files>. The
manifest file format only allows you to specify one output file, which
isn't a problem as it's used to detect input changes in order to detect
when to rerun the protoc command. The output file used in the manifest
is the manifest filename itself; to use this in ninja you should declare
the manifest file as the first output as well as the depfile input.
10 years ago
Martin Ertsaas
e85de03b81
Add support for the TILE-Gx processor family.
10 years ago
Chris Fallin
e2debef5d8
Ruby extension: added oneof accessor.
10 years ago
Chris Fallin
e1b7d38d9a
Addressed code-review comments.
10 years ago
Chris Fallin
b0670ddae7
Fix golden-file Ruby test to work with out-of-tree builds.
10 years ago