aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Fix golden-file Ruby test to work with out-of-tree builds.Gravatar Chris Fallin2015-01-14
|
* Two tests for Ruby code generator:Gravatar Chris Fallin2015-01-14
| | | | | | | | | | | | - A golden-file test that ensures protoc produces known-valid output. - A Ruby test that loads that golden file and ensures it actually works with the extension. This split strategy allows us to test end-to-end without needing to integrate the Ruby gem build system and the protoc build system. This is desirable because we do not want a gem build/install to depend on building protoc, and we do not want building protoc to depend on building and testing the gem.
* Support oneofs in the Ruby code generator.Gravatar Chris Fallin2015-01-14
|
* Align backslash verticallyGravatar zhangkun832015-01-12
|
* Include names.h as java_names.h in the opensource treeGravatar zhangkun832015-01-12
|
* Improved little endian byte order detectionGravatar Kal Conley2014-12-16
| | | | | | | 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.
* Support Ruby code generation only for proto3.Gravatar Chris Fallin2014-12-12
|
* Add missing header files in src/Makefile.amGravatar Feng Xiao2014-12-12
|
* Rename protobuf Ruby module to google/protobuf and rework its buildGravatar Chris Fallin2014-12-12
| | | | | | 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'.
* Merge pull request #128 from krishnanm86/masterGravatar Feng Xiao2014-12-12
|\ | | | | Source code refactoring. Extracted common functionality in cpp_helpers.c...
| * Reverting the space at the end for both files changedGravatar Krishna2014-12-12
| |
| * Reverting the space at the endGravatar Krishna2014-12-12
| |
| * Returned print_indent and print_outdent back to printservicestub and ↵Gravatar Krishna2014-12-12
| | | | | | | | printserviceclass in python generator
* | Merge pull request #113 from nsuke/oneof-c++11Gravatar Feng Xiao2014-12-11
|\ \ | | | | | | Make C++ code generation of string oneof field compatible with C++11
| | * Reverted changes to cpp_helpers.cc and made code reviews to python_geenerator.ccGravatar Krishna2014-12-11
| | |
* | | Merge branch v3.0.0-alpha-1 into master.Gravatar Feng Xiao2014-12-10
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: configure.ac
| | | * Fixed bugsGravatar Krishna2014-12-10
| | | |
| | | * Source code refactoring. Extracted common functionality in cpp_helpers.cc ↵Gravatar Krishna2014-12-10
| | | | | | | | | | | | | | | | and python/python_generator.cc
| * | | Fix LIBPROTOBUF_PROTOBUF annotations for buliding protobuf as DLLs.Gravatar Feng Xiao2014-12-09
| | | |
* | | | Provide a Ruby extension.Gravatar Chris Fallin2014-12-09
| |_|/ |/| | | | | | | | | | | | | | 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.
| * | Remove map_field.cc from lite-runtime.Gravatar Feng Xiao2014-12-09
| | |
| * | Fix compile issues and test failures in VS2008.Gravatar Feng Xiao2014-12-05
| | |
| * | Fix thread local annotatoin and add back type traits is_convertable for MSVCGravatar Feng Xiao2014-12-04
| | |
| * | Replace is_enum with is_proto_enum because is_enum is not supported on some ↵Gravatar Feng Xiao2014-12-03
| | | | | | | | | | | | platforms.
| * | Delete some globals in ShutdownProtobufLibrary().Gravatar Feng Xiao2014-12-03
| | |
| * | Update version number in descriptor.pb.h and plugin.pb.h. Protect deathGravatar Feng Xiao2014-12-03
| | | | | | | | | | | | tests with macro PROTOBUF_HAS_DEATH_TEST.
| * | Update version number to v3.0.0-alpha-1Gravatar Feng Xiao2014-12-03
|/ /
| * Make C++ string oneof field compatible with C++11Gravatar Nobuaki Sukegawa2014-12-03
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Display element name in test error logGravatar Nobuaki Sukegawa2014-12-03
| |
| * Make test code runnable with C++11Gravatar Nobuaki Sukegawa2014-12-03
|/ | | | | Preprocessor token right after string literal without whitespace results in parse failure in C++11.
* Merge pull request #116 from xfxyjwf/fix_warningsGravatar Feng Xiao2014-12-02
|\ | | | | Get rid of some build warnings.
* \ Merge pull request #81 from xfxyjwf/syntax_warningGravatar Feng Xiao2014-12-02
|\ \ | | | | | | Report a warning if the proto file doesn't have a syntax statement.
| | * Get rid of some build warnings.Gravatar Feng Xiao2014-12-02
| |/ |/|
* | Merge pull request #110 from nsuke/tb-typo-cpp_extensionGravatar Feng Xiao2014-11-26
|\ \ | | | | | | Fix typo
* | | Down-integrate from internal code base.Gravatar Feng Xiao2014-11-26
| | |
| * | Fix typoGravatar Nobuaki Sukegawa2014-11-27
|/ /
* | Merge branch 'master' of github.com:google/protobufGravatar Jisi Liu2014-11-25
|\ \
* | | Link Java Nano generator into protoc.Gravatar Jisi Liu2014-11-25
| | |
| * | Fix issue 99.Gravatar Feng Xiao2014-11-25
| | |
| * | Fix "anonymous types declared in an anonymous union are an extension"Gravatar Łukasz Twarduś2014-11-25
|/ / | | | | | | warning when using clang with -pedantic switch
* | Down-integrate from internal code base.Gravatar Feng Xiao2014-11-20
| |
* | Merge nano proto into protobuf repository.Gravatar Feng Xiao2014-11-19
|\ \ | | | | | | | | | Source: https://android.googlesource.com/platform/external/protobuf.git
| * | Prepare nano proto code to be merged into protobuf repository.Gravatar Feng Xiao2014-11-19
| | |
* | | Fix testcase compile failure under gcc 4.6:Gravatar Tres Seaver2014-11-18
| | | | | | | | | | | | | | | | | | google/protobuf/map_test.cc:88:16: error: expected ‘;’ at end of member declaration google/protobuf/map_test.cc:88:18: error: ‘override’ does not name a type .
* | | Fix 'error: a class-key must be used when declaring a friend' compile error.Gravatar Tres Seaver2014-11-18
| | |
* | | Merge pull request #84 from tseaver/fix_80-avoid_INT32_MAX_MINGravatar Feng Xiao2014-11-17
|\ \ \ | | | | | | | | Don't rely on non-standard 'INT32_MAX' / 'INT32_MIN'.
| * | | Use 'kint32min'/'kint32max' constants, rather than defining locally.Gravatar Tres Seaver2014-11-17
| | | | | | | | | | | | | | | | | | | | Incorporates feedback from @xfxyjwf: https://github.com/google/protobuf/pull/84#discussion_r20474781.
| * | | Don't rely on non-standard 'INT32_MAX' / 'INT32_MIN'.Gravatar Tres Seaver2014-11-17
| | | | | | | | | | | | | | | | | | | | | | | | Define safe constants to use when padding enums. Fixes #80.
| | | * Report a warning if the proto file doesn't have a syntax statement.Gravatar Feng Xiao2014-11-14
| |_|/ |/| |
* | | Down-integrate from internal code base (C++ maps support).Gravatar Feng Xiao2014-11-14
|/ /