- 17 Dec, 2015 4 commits
-
-
Thomas Van Lenten authored
Drop all use of OSSpinLock
-
Thomas Van Lenten authored
Apple engineers have pointed out that OSSpinLocks are vulnerable to live locking on iOS in cases of priority inversion: . http://mjtsai.com/blog/2015/12/16/osspinlock-is-unsafe/ . https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000372.html - Use a dispatch_semaphore_t within the extension registry. - Use a dispatch_semaphore_t for protecting autocreation within messages. - Drop the custom/internal GPBString class since we don't have really good numbers to judge the locking replacements and it isn't required. We can always bring it back with real data in the future.
-
Feng Xiao authored
Add region tags to the Go protobuf examples.
-
Jon Skeet authored
Handle Any formatting for diagnostic purposes
-
- 16 Dec, 2015 5 commits
-
-
Tim Swast authored
-
Jan Tattermusch authored
Make nuget package support coreCLR
-
Jan Tattermusch authored
Add JSON parsing to conformance tests.
-
Jan Tattermusch authored
-
Jon Skeet authored
-
- 15 Dec, 2015 3 commits
-
-
Tim Swast authored
This will allow us to like to specific snippets of code in the documentation. I plan to create a tutorial similar to the C# tutorial https://developers.google.com/protocol-buffers/docs/csharptutorial Since that tutorial has sections for populating a proto, parsing, and serializing, I made a region for each of these for Go. To make the populating sample more self-contained, I refactor the listing example slightly.
-
Jon Skeet authored
-
Jon Skeet authored
This addresses issue #1008, by creating a JsonFormatter which is private and only different to JsonFormatter.Default in terms of reference equality. Other plausible designs: - The same, but expose the diagnostic-only formatter - Add something to settings to say "I don't have a type registry at all" - Change the behaviour of JsonFormatter.Default (bad idea IMO, as we really *don't* want the result of this used as regular JSON to be parsed) Note that just trying to find a separate fix to issue #933 and using that to override Any.ToString() differently wouldn't work for messages that *contain* an Any. Generated code changes follow in the next commit.
-
- 12 Dec, 2015 1 commit
-
-
Feng Xiao authored
MSVC MP flag to build with multiple processes in visual studio.
-
- 11 Dec, 2015 1 commit
-
-
Thomas Van Lenten authored
Update the min toolchain for iOS/OS X to be Xcode 7
-
- 10 Dec, 2015 5 commits
-
-
Thomas Van Lenten authored
- Let Xcode update the projects, schemes, and info.plists. - Add workaround for shallow analyzer issues in current Xcode versions (deep analyze gets things correct). - Tweak the Swift based tests to avoid warnings from Xcode 7's XCTest using optionals for autoenclosure results. - No longer tag the ObjC iOS travis test as flaky, xctool seems to manage the simulator pretty well.
-
Thomas Van Lenten authored
Fix distclean and maintainer-clean to get more generated files.
-
Thomas Van Lenten authored
-
Joshua Haberman authored
Enable fast cpp protos in the python interface.
-
Feng Xiao authored
Arena type traits standardization.
-
- 09 Dec, 2015 5 commits
-
-
Yangqing Jia authored
-
Feng Xiao authored
Fix narrowing implicit cast in generated message [NFC]
-
Manjunath Kudlur authored
Fixes #1029
-
Kal Conley authored
-
Paul Yang authored
Use angle bracket for well known type proto header.
-
- 08 Dec, 2015 6 commits
-
-
Bo Yang authored
-
Thomas Van Lenten authored
Use compiler provided static assert and avoid tripping unused-local-typedef warnings.
-
Thomas Van Lenten authored
-
Manjunath Kudlur authored
Fixes #1029
-
Manjunath Kudlur authored
Added util/python/BUILD to provide //util/python:python_headers dependency for building use_fast_cpp_protos
-
Manjunath Kudlur authored
-
- 07 Dec, 2015 5 commits
-
-
Manjunath Kudlur authored
-
Manjunath Kudlur authored
-
Benjamin Bennett authored
-
Thomas Van Lenten authored
Enable CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION for the projects.
-
Thomas Van Lenten authored
-
- 06 Dec, 2015 1 commit
-
-
Yangqing Jia authored
This is adapted from the branch of @xfxyjwf at: https://github.com/xfxyjwf/protobuf/commit/494716a682ef854168e92231a3cdcc89d587d9b9 and should solve the protobuf compilation problem against nvcc. Tested against nvcc 6.5 and 7.0.
-
- 05 Dec, 2015 3 commits
-
-
Jisi Liu authored
Making _genproto rules public.
-
Joshua Haberman authored
Conformance test implementation for Python.
-
Martin Maly authored
This enables other xx_proto_library targets to depend on xx_proto_library targets in different packages, and specifically on xx_wkt_protos.
-
- 04 Dec, 2015 1 commit
-
-
Joshua Haberman authored
Add srcs_version = "PY2AND3" in BUILD files
-