Feng Xiao
f39cf88a34
Merge pull request #2227 from KindDragon/3.1.x
...
Missed LIBPROTOC_EXPORT for GRPC added
8 years ago
Jon Skeet
b18bc9b944
Give C# ByteString a sensible GetHashCode implementation.
...
Fixes #2511 .
8 years ago
Chris Kennelly
ba63fa731e
Remove spurious NULL checks in ArenaStringPtr::CreateInstance.
8 years ago
Adam Cozzette
a95e38ce8d
Merge pull request #2499 from ckennelly/master
...
Define LANG_CXX11 for port.h and use this to guard C++11 features.
8 years ago
Chris Kennelly
a902e2588d
Define LANG_CXX11 for port.h and use this to guard C++11 features.
8 years ago
Adam Cozzette
83d681ee2c
Merge pull request #2495 from acozzette/android-hash
...
Removed Android-specific code from stubs/hash.h
8 years ago
Thomas Van Lenten
d1c1dad047
Merge pull request #2498 from sergiocampama/enum
...
Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARE
8 years ago
Sergio Campama
c68fc589a9
Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARE
8 years ago
Joshua Haberman
2ff42dcf2c
Added conformance testing for binary primitive types. ( #2491 )
...
This is basic and more tests will be added over time.
8 years ago
Feng Xiao
f983302ca7
Merge pull request #2496 from xyzzyz/fix-overflow
...
Fix integer overflow in FastUInt32ToBufferLeft
8 years ago
Feng Xiao
837fd6b6a0
Merge pull request #2493 from jbrianceau/add-missing-climits-include
...
Add missing includes
8 years ago
Feng Xiao
f77b7d9ee3
Merge pull request #2484 from ngg/uwp_build
...
Add support for Windows ARM builds
8 years ago
Adam Michalik
4c5d3eddf9
Fix integer overflow in FastUInt32ToBufferLeft
...
If digits > 2, and int is 32 bit, line 999 overflows. It has been fixed
internally in CL 41203823.
8 years ago
Adam Cozzette
5587562a70
Removed Android-specific code from stubs/hash.h
...
This #ifdef in hash.h causes us to give up on finding a hash function on
Android, when there do seem to be hash functions available in practice.
I also had to tweak a macro in map.h that was disabling on Android an
allocator construct() method that we need.
8 years ago
Julien Brianceau
7b220f3db5
Add missing include in embed.cc
...
This changes fixes "error C2039: 'getline': is not a member of 'std'"
compilation error.
8 years ago
Jan Tattermusch
9d709f446f
Merge pull request #2487 from jtattermusch/csharp_leading_whitespace
...
remove leading whitespace in C# xml comments
8 years ago
Julien Brianceau
83c728a940
Add missing includes
...
This changes fixes "use of undeclared identifier 'INT_MAX'"
compilation error.
8 years ago
Feng Xiao
eb455ce1c9
Merge pull request #2471 from jbrianceau/fix-include-style
...
Fix #include in cc files
8 years ago
Jisi Liu
6b86a8922b
Merge pull request #2490 from xfxyjwf/icon2
...
Add a badge for bazel build status.
8 years ago
Feng Xiao
4c252dd80b
Add a badge for bazel build status.
8 years ago
Gergely Nagy
ec021f5429
Add support for Windows ARM builds
8 years ago
Feng Xiao
29fb87e1d5
Merge pull request #2454 from pongad/go_package
...
update descriptor.proto's go_package
8 years ago
Jan Tattermusch
fda9049ead
remove leading whitespace in C# xml comments
8 years ago
Josh Haberman
277a8b6580
generate_changelog.py: flush output so piping works correctly.
8 years ago
Adam Cozzette
84948462a4
Merge pull request #2476 from acozzette/generated-message-reflection-fix
...
Use uint32 in GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET macro
8 years ago
Thomas Van Lenten
dc11940568
Merge pull request #2475 from sergiocampama/rvm2
...
Reenable cocoapods objc test and remove unnecessary workaround for rvm
8 years ago
Adam Cozzette
e19f3b5e3a
Use uint32 in GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET macro
...
There have been some reports that this necessary to prevent build
failures in some environments. It makes sense to do this anyway since
the result of this macro is ultimately assigned to uint32 in the
generated code.
8 years ago
Sergio Campama
1ac8944294
Reenable cocoapods objc test and remove unnecessary workaround for rvm
8 years ago
Thomas Van Lenten
e43f73e099
Merge pull request #2473 from thomasvl/update_xcodes
...
Update xcode version support and travis usage
8 years ago
Thomas Van Lenten
70e21d7cf9
Mark objectivec_cocoapods_integration as failing
8 years ago
Thomas Van Lenten
bc9d0774f3
Skip benchmark test if cmake isn't installed.
8 years ago
Thomas Van Lenten
2754586fa4
Xcode 8.1 support
...
- Add entries to objectivec/DevTools/full_mac_build.sh
- Support `-quiet` via an option on full_mac_build.sh. NOTE: we don't use
this on travis because the lack of output for a long time could cause travis
to kill the build (when we get a slow VM).
- Update travis config to use newer images.
8 years ago
Julien Brianceau
e3da722b66
Fix #include in cc files
8 years ago
Feng Xiao
243ebec887
Merge pull request #2468 from sergei-ivanov/patch-1
...
Update third_party.md
8 years ago
Paul Yang
d8f54c4206
Disable jruby test. ( #2469 )
...
Missed in #2467 .
8 years ago
Sergei Ivanov
09dc933932
Update third_party.md
...
Updated the location for `protobuf-maven-plugin`
8 years ago
Paul Yang
e3e38b81cc
Update commit id in Dockerfile to trigger update. ( #2467 )
8 years ago
Feng Xiao
4474c042c0
Merge pull request #2462 from jbrianceau/fix-comp-builds-part2
...
C++: export _xxx_default_instance_ symbols
8 years ago
Feng Xiao
6b4eee408b
Merge pull request #2461 from jbrianceau/add-missing-include-in-embed-cc
...
Add missing include in embed.cc
8 years ago
Feng Xiao
34a1b6e6b8
Merge pull request #2394 from cwelton/formatting
...
oneOf fix for JsonFormat includingDefaultValueFields
8 years ago
Paul Yang
46ae90dc5e
Make php generated code conform to PSR-4. ( #2435 )
...
1. Generate single file for each message.
2. Lazily initiate metadata.
8 years ago
Thomas Van Lenten
631f4618a7
Merge pull request #2466 from thomasvl/deprecation_followup
...
Improve ObjC deprecated annotation support.
8 years ago
Feng Xiao
4c84b474d1
Merge pull request #2460 from sergiocampama/c11
...
Include -std=c++11 when compiling protobuf if available.
8 years ago
Thomas Van Lenten
dad775b798
Improve ObjC deprecated annotation support.
...
- Check the parent file options for deprecation when deciding to tag Messages
and Enums as deprecated.
- Within the generated source push/pop the warning for implementing deprecated
things around a deprecated class implementation.
- Annotate the methods generated for extension fields as deprecated.
- Add a testing .proto file that covers deprecated fields, messages, enums,
enum values and compile it into the unittests to confirm things compile
cleanly.
- Add a testing .proto file that uses the file level option to make everything
deprecated and compile it into the unittests to confirm things compile
cleanly.
8 years ago
Julien Brianceau
e219be7440
Regenerate descriptor proto
8 years ago
Julien Brianceau
b1295eeffb
C++: export _xxx_default_instance_ symbols
...
_xxx_default_instance_ symbols are used in inline functions. We have
to export them to avoid undefined reference link errors.
8 years ago
Julien Brianceau
867dbac820
Add missing include in embed.cc
...
This changes fixes "use of undeclared identifier 'assert'"
compilation error.
8 years ago
Adam Cozzette
c836ad4dc7
Merge pull request #2459 from acozzette/android-logging
...
Send all protobuf logging to logcat by default on Android
8 years ago
Sergio Campama
1d91c2588c
Include -std=c++11 when compiling protobuf if available.
8 years ago
Adam Cozzette
2f29f0ae09
Send all protobuf logging to logcat by default on Android
...
Currently the default for protobuf on Android is to silently drop all log
messages. This makes debugging difficult because things like GOOGLE_LOG(FATAL)
will crash the process without actually logging a useful error.
This CL changes the logging so that by default we send messages for all log
levels to logcat (and stderr). Users can override this by setting
GOOGLE_PROTOBUF_MIN_LOG_LEVEL. Also, that option was not being respected for
non-Android platforms so I went ahead and fixed that to make things consistent.
8 years ago