Commit Graph

1278 Commits

Author SHA1 Message Date
Krishna
2e9f5e3bac Reverting the space at the end for both files changed 2014-12-12 10:26:25 +01:00
Krishna
91552adb77 Reverting the space at the end 2014-12-12 10:25:06 +01:00
Krishna
22f96a713c Returned print_indent and print_outdent back to printservicestub and printserviceclass in python generator 2014-12-12 10:22:48 +01:00
Feng Xiao
001e82a7e0 Merge pull request #113 from nsuke/oneof-c++11
Make C++ code generation of string oneof field compatible with C++11
2014-12-11 16:05:06 -08:00
Feng Xiao
78c8200655 Describe how to get gtest source for Visual Studio users. 2014-12-11 15:36:08 -08:00
Feng Xiao
5fd12b84da Update gtest version to v1.7.0. 2014-12-11 15:17:04 -08:00
Krishna
060a2096a3 Reverted changes to cpp_helpers.cc and made code reviews to python_geenerator.cc 2014-12-11 07:45:32 +01:00
Feng Xiao
cb0ba5f04c Update version number to v3.0.0-pre 2014-12-10 21:05:46 -08:00
Feng Xiao
52909485d1 Merge branch v3.0.0-alpha-1 into master.
Conflicts:
	configure.ac
2014-12-10 20:56:13 -08:00
Krishna
7654f78029 Fixed bugs 2014-12-10 21:02:12 +01:00
Krishna
a761f061f4 Source code refactoring. Extracted common functionality in cpp_helpers.cc and python/python_generator.cc 2014-12-10 20:39:34 +01:00
Joshua Haberman
261fe97a63 Merge pull request #121 from cfallin/master
Provide a Ruby extension.
2014-12-09 17:27:54 -08:00
Feng Xiao
8d5d7cc6d0 Fix LIBPROTOBUF_PROTOBUF annotations for buliding protobuf as DLLs. 2014-12-09 17:05:10 -08:00
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.
2014-12-09 16:55:59 -08:00
Feng Xiao
496d47c27f Remove map_field.cc from lite-runtime. 2014-12-09 15:47:25 -08:00
Feng Xiao
fe3be0bea1 Fix vsprojects/extract_includes.bat 2014-12-09 14:47:30 -08:00
Feng Xiao
7da8121771 Fix the intermediate directory of vc project files. 2014-12-09 14:47:29 -08:00
Feng Xiao
9104da3261 Down-integrate from internal code base. 2014-12-09 11:57:52 -08:00
Feng Xiao
a0d9c59a76 Merge pull request #127 from tseaver/ignore-autogen-artifacts
Ignore artifacts from autogen.sh
2014-12-09 11:38:37 -08:00
Tres Seaver
2c495e402d Ignore artifacts from autogen.sh 2014-12-09 13:01:42 -05:00
Feng Xiao
be20ae0b69 Fix compile issues and test failures in VS2008. 2014-12-05 02:54:43 -08:00
Feng Xiao
7c939bcb25 Update VC projects to include new source files. 2014-12-04 19:10:36 -08:00
Feng Xiao
d77877808f Fix thread local annotatoin and add back type traits is_convertable for MSVC 2014-12-04 17:30:58 -08:00
Feng Xiao
6a949cda37 Remove usage of features not supported in Java 1.6. 2014-12-03 18:23:49 -08:00
Feng Xiao
0eaae1e6ce Replace is_enum with is_proto_enum because is_enum is not supported on some platforms. 2014-12-03 18:15:19 -08:00
Feng Xiao
6936f17b88 Update post_process_dist.sh to produce a separate package for each
language.
2014-12-03 17:37:42 -08:00
Feng Xiao
137dd0f17f Delete some globals in ShutdownProtobufLibrary(). 2014-12-03 16:31:47 -08:00
Feng Xiao
35ef68056c Add a missing Java dist file. 2014-12-03 15:45:28 -08:00
Feng Xiao
58dfce9384 Update version number in descriptor.pb.h and plugin.pb.h. Protect death
tests with macro PROTOBUF_HAS_DEATH_TEST.
2014-12-03 12:12:17 -08:00
Feng Xiao
81a630c66e Update version number to v3.0.0-alpha-1 2014-12-03 11:52:21 -08:00
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.
2014-12-03 23:41:40 +09:00
Nobuaki Sukegawa
4470dcba6c Display element name in test error log 2014-12-03 23:05:45 +09:00
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.
2014-12-03 23:05:45 +09:00
Feng Xiao
77931993f4 Explicitly list all Java lite runtime tests (and exclude those depending
TestUtil which transitively depend on the full runtime).
2014-12-02 18:00:26 -08:00
Feng Xiao
a451681937 Merge pull request #116 from xfxyjwf/fix_warnings
Get rid of some build warnings.
2014-12-02 15:47:31 -08:00
Feng Xiao
e45149b4a7 Merge pull request #115 from xfxyjwf/fix_107
Add a ./configure flag "DIST_LANG".
2014-12-02 15:47:00 -08:00
Feng Xiao
ef4311302f Merge pull request #111 from xfxyjwf/googlebot
Replace links in nano proto code.
2014-12-02 15:46:08 -08:00
Feng Xiao
9e9ca4b60a Merge pull request #105 from xfxyjwf/fix_92
Fix Python C++ implementation build issues
2014-12-02 15:45:45 -08:00
Feng Xiao
e559b51b8d Merge pull request #81 from xfxyjwf/syntax_warning
Report a warning if the proto file doesn't have a syntax statement.
2014-12-02 15:45:36 -08:00
Feng Xiao
9173ba22a9 Get rid of some build warnings. 2014-12-02 15:28:11 -08:00
Feng Xiao
8f7dec8ee1 Add a ./configure flag "DIST_LANG" to select which langauge to include
in a distribution package.
2014-12-02 14:15:26 -08:00
Feng Xiao
7f2a9fb1af Merge pull request #102 from fizbin/bytestring_serializable
Make ByteStrings serializable with java serialization.
2014-11-27 18:49:11 -08:00
Daniel Martin
a32a1a761b Add tests for other ByteString subclasses 2014-11-27 07:11:03 -05:00
Feng Xiao
bdcdee0a1d Merge pull request #109 from nsuke/tb-vim-oneof
Add oneof keyword to proto.vim
2014-11-26 17:06:49 -08:00
Feng Xiao
7d4117c412 Merge pull request #110 from nsuke/tb-typo-cpp_extension
Fix typo
2014-11-26 17:06:31 -08:00
Feng Xiao
061065993f Replace links in nano proto code. 2014-11-26 16:58:20 -08:00
Feng Xiao
c25d9feb4d Down-integrate from internal code base. 2014-11-26 16:15:29 -08:00
Nobuaki Sukegawa
e5a17998cc Fix typo 2014-11-27 03:28:57 +09:00
Nobuaki Sukegawa
33bb176603 Add oneof keyword to proto.vim 2014-11-27 02:57:31 +09:00
Feng Xiao
90f2f50233 Make Java TextFormat.printToUnicodeString() escape newlines.
Fix issue #77
2014-11-25 17:09:07 -08:00