| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
| |\
| | |
| | | |
Fix static non-pod type problem with dlopen
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Add reference generator dependency
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Drop all use of OSSpinLock
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \
| | |/ /
| |/| | |
Add region tags to the Go protobuf examples.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \
| | | | |
| | | | | |
Handle Any formatting for diagnostic purposes
|
| | | | | |
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \
| | | | |
| | | | | |
Make nuget package support coreCLR
|
| | |/ / |
|
| |\ \ \
| | |/ /
| |/| | |
Add JSON parsing to conformance tests.
|
| |/ / |
|
| |\ \
| | | |
| | | | |
MSVC MP flag to build with multiple processes in visual studio.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
[skip ci]
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibb3fe6f919cc7ca0df91da5e1697ba33d259e433
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I3daf32cb93dfe0fca38f8b48615ccfc307f748e9
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
[skip appveyor]
Change-Id: I700f70e734abb6264db29369ecf227a9e1f783e7
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Update the min toolchain for iOS/OS X to be Xcode 7
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
|\ \ \
| | | |
| | | | |
Fix distclean and maintainer-clean to get more generated files.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Enable fast cpp protos in the python interface.
|
| | | |
| | | |
| | | |
| | | | |
Fixes #1029
|
| | | |
| | | |
| | | |
| | | | |
Fixes #1029
|
| | | |
| | | |
| | | |
| | | | |
for building use_fast_cpp_protos
|
| | | |
| | | |
| | | |
| | | | |
--define=use_fast_cpp_protos=true
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Arena type traits standardization.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | | |
Fix narrowing implicit cast in generated message [NFC]
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Use angle bracket for well known type proto header.
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Use compiler provided static assert and avoid tripping unused-local-typedef warnings.
|
|/ / / /
| | | |
| | | |
| | | | |
warnings.
|
|\ \ \ \
| |_|/ /
|/| | | |
Enable CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION for the projects.
|
|/ / / |
|