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
Feng Xiao
5fd12b84da
Update gtest version to v1.7.0.
10 years ago
Krishna
060a2096a3
Reverted changes to cpp_helpers.cc and made code reviews to python_geenerator.cc
10 years ago
Feng Xiao
cb0ba5f04c
Update version number to v3.0.0-pre
10 years ago
Feng Xiao
52909485d1
Merge branch v3.0.0-alpha-1 into master.
...
Conflicts:
configure.ac
10 years ago
Krishna
7654f78029
Fixed bugs
10 years ago
Krishna
a761f061f4
Source code refactoring. Extracted common functionality in cpp_helpers.cc and python/python_generator.cc
10 years ago
Joshua Haberman
261fe97a63
Merge pull request #121 from cfallin/master
...
Provide a Ruby extension.
10 years ago
Feng Xiao
8d5d7cc6d0
Fix LIBPROTOBUF_PROTOBUF annotations for buliding protobuf as DLLs.
10 years ago
Chris Fallin
973f425725
Provide a Ruby extension.
...
This adds a Ruby extension in ruby/ that is based on the 'upb' library
(now included as a submodule), and adds support for Ruby code generation
to the protoc compiler.
10 years ago
Feng Xiao
496d47c27f
Remove map_field.cc from lite-runtime.
10 years ago
Feng Xiao
fe3be0bea1
Fix vsprojects/extract_includes.bat
10 years ago
Feng Xiao
7da8121771
Fix the intermediate directory of vc project files.
10 years ago
Feng Xiao
9104da3261
Down-integrate from internal code base.
10 years ago
Feng Xiao
a0d9c59a76
Merge pull request #127 from tseaver/ignore-autogen-artifacts
...
Ignore artifacts from autogen.sh
10 years ago
Tres Seaver
2c495e402d
Ignore artifacts from autogen.sh
10 years ago
Feng Xiao
be20ae0b69
Fix compile issues and test failures in VS2008.
10 years ago
Feng Xiao
7c939bcb25
Update VC projects to include new source files.
10 years ago
Feng Xiao
d77877808f
Fix thread local annotatoin and add back type traits is_convertable for MSVC
10 years ago
Feng Xiao
6a949cda37
Remove usage of features not supported in Java 1.6.
10 years ago
Feng Xiao
0eaae1e6ce
Replace is_enum with is_proto_enum because is_enum is not supported on some platforms.
10 years ago
Feng Xiao
6936f17b88
Update post_process_dist.sh to produce a separate package for each
...
language.
10 years ago
Feng Xiao
137dd0f17f
Delete some globals in ShutdownProtobufLibrary().
10 years ago
Feng Xiao
35ef68056c
Add a missing Java dist file.
10 years ago
Feng Xiao
58dfce9384
Update version number in descriptor.pb.h and plugin.pb.h. Protect death
...
tests with macro PROTOBUF_HAS_DEATH_TEST.
10 years ago
Feng Xiao
81a630c66e
Update version number to v3.0.0-alpha-1
10 years ago
Nobuaki Sukegawa
2413cb57ef
Make C++ string oneof field compatible with C++11
...
string oneof field was generated into "const ArenaStringPtr" field inside
"default_oneof_instance_" struct (of name "<class name>OneofInstance").
On the other hand, in C++11, const field of type with trivial default
constructor causes enclosing type's implicit default constructor to be deleted.
Since ArenaStringPtr has tirvial default constructor, this caused default
constructor of "default_oneof_instance_" struct to be deleted, making the
constructor call inside generated code invalid and fail to compile.
10 years ago
Nobuaki Sukegawa
4470dcba6c
Display element name in test error log
10 years ago
Nobuaki Sukegawa
8ba0e35764
Make test code runnable with C++11
...
Preprocessor token right after string literal without whitespace results
in parse failure in C++11.
10 years ago
Feng Xiao
77931993f4
Explicitly list all Java lite runtime tests (and exclude those depending
...
TestUtil which transitively depend on the full runtime).
10 years ago