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
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
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
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
Jisi Liu
dce816593d
Initial checkin for maps support in JavaNano.
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
Joshua Haberman
5446deaea7
Merge pull request #155 from cfallin/ruby-maps
...
Support for maps in the MRI C Ruby extension.
10 years ago
Chris Fallin
ace4212e60
Line-wraps at 80 chars.
10 years ago
Feng Xiao
052e0205a7
Merge pull request #160 from zhangkun83/master
...
Include names.h as java_names.h in the opensource tree
10 years ago
Chris Fallin
addd26cbb3
Addressed code-review comments.
10 years ago
zhangkun83
a6b3ab09e8
Align backslash vertically
10 years ago
zhangkun83
aa1713d9a4
Include names.h as java_names.h in the opensource tree
10 years ago
Chris Fallin
97b663a8be
Update upb amalgamation.
10 years ago
Chris Fallin
4c92289766
Addressed code-review comments.
10 years ago
Chris Fallin
80276ac021
Addressed code-review comments.
10 years ago
Chris Fallin
fd1a3ff11d
Support for maps in the MRI C Ruby extension.
...
This adds the Map container and support for parsing and serializing maps
in the protobuf wire format (as defined by the C++ implementation, with
MapEntry submessages in a repeated field). JSON map
serialization/parsing are not yet supported as these will require some
changes to upb as well.
10 years ago
Feng Xiao
644a6a1da7
Merge pull request #143 from Ivoz/patch-1
...
Update python version / setuptools instructions
10 years ago
Feng Xiao
b60a6df9ae
Merge pull request #46 from adalq/version
...
Add __version__
10 years ago
Feng Xiao
bc3af606a7
Merge pull request #139 from c0nk/master
...
Improved little endian byte order detection
10 years ago
Matt Iversen
4186d4c9c9
Update python version / setuptools instructions
...
Reflect the change that protobuf should now only be supporting 2.6+ (I'd guess note python 3.x+ when its supported in implementation)
Refer to the Python Packaging User Guide for installing setuptools (and pip) instead of out of date telecommunity guide.
10 years ago
Kal Conley
c3e928021f
Improved little endian byte order detection
...
Including <sys/param.h> on Mac/iOS doesn't define __BYTE_ORDER so
PROTOBUF_LITTLE_ENDIAN was never being defined. This commit adds a check
for the __LITTLE_ENDIAN__ macro which is defined by clang and Apple gcc on
little endian architectures.
10 years ago
Adal Chiriliuc
4f0170d465
Updated __version__
10 years ago
Joshua Haberman
59692c3fc0
Merge pull request #136 from cfallin/ruby-proto3-only
...
Support Ruby code generation only for proto3.
10 years ago
Chris Fallin
5ce69e991a
Support Ruby code generation only for proto3.
10 years ago
Feng Xiao
044e095a9b
Add missing header files in src/Makefile.am
10 years ago
Feng Xiao
e7d562a242
Update ruby DIST_FILES.
10 years ago
Feng Xiao
0c7f6241e5
Adds Travis Cl support to test the code automatically.
10 years ago
Joshua Haberman
ed52203481
Merge pull request #134 from cfallin/master
...
Update Ruby build setup to produce gems successfully. Include upb as a single .c / .h file.
10 years ago
Chris Fallin
91473dcebf
Rename protobuf Ruby module to google/protobuf and rework its build
...
system. The Ruby module build now uses an amalgamated distribution of
upb, and successfully builds a Ruby gem called 'google-protobuf' with
module 'google/protobuf'.
10 years ago
Feng Xiao
f473bb9903
Merge pull request #128 from krishnanm86/master
...
Source code refactoring. Extracted common functionality in cpp_helpers.c...
10 years ago
Krishna
2e9f5e3bac
Reverting the space at the end for both files changed
10 years ago
Krishna
91552adb77
Reverting the space at the end
10 years ago
Krishna
22f96a713c
Returned print_indent and print_outdent back to printservicestub and printserviceclass in python generator
10 years ago
Feng Xiao
001e82a7e0
Merge pull request #113 from nsuke/oneof-c++11
...
Make C++ code generation of string oneof field compatible with C++11
10 years ago
Feng Xiao
78c8200655
Describe how to get gtest source for Visual Studio users.
10 years ago