| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The previous two methods make it easy to transform between any and normal message.
unPackeTo will throw error if the type url in any doesn't match the type of the message to be transformed to.
is checks any's type url matches the give GPBMessage type.
|
|\
| |
| | |
remove pbconfig from extract script
|
|/
|
|
| |
Change-Id: I5049da7449cbada781aa1e23485a336b584802cb
|
|\
| |
| | |
Added support for JSON and valid input to conformance tests.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was enabled by the recent open-sourcing of JSON
support and MessageDifferencer.
MessageDifferencer allows the conformance suite to expand
because it allows us to write tests for payloads that parse
successfully. To verify the testee's output payload, we
need to parse it back into a message and compare the message
instances. Comparing output bytes vs. a golden message is
*not* valid, because protobufs do not have a canonical
encoding (especially in the presence of maps, which have
no prescribed serialization order).
We only add one small JSON test for now, but with the
framework in place we now have the foundation to dramatically
expand the coverage of the conformance test suite.
Also added the ability for the testee to skip tests that
exercise features that are unimplemented. This allows
Java (which currently has no JSON support) to skip tests
involving JSON.
Change-Id: I697b4363da432b61ae3b638b4287c4cda1af4deb
|
|\
| |
| | |
Internal local modifications.
|
|/ |
|
|\
| |
| | |
Worked around memory leak bug in Ruby interpreter.
|
|/
|
|
|
| |
Change-Id: I8e2b425f9008e6b82d41d59783bb8b04af1f886f
Fixes: https://github.com/google/protobuf/issues/474.
|
|\
| |
| | |
Add Bazel target for the Objective-C protobuf runtime
|
| |
| |
| |
| |
| | |
Also add WKT headers to the umbrella file, and simplify Podspec with it.
Plus some layout improvements to the BUILD file.
|
|\ \
| | |
| | | |
Implement parsing for proto3 primitive repeated fields.
|
| | |
| | |
| | |
| | |
| | | |
proto3 primitive repeated fields, packed data cannot be parsed if
definition is unpacked. Neither is the other way.
|
|\ \ \
| | | |
| | | | |
MinGW64+MSYS2 compilation issues
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
Delete default UnknownFieldSet when shuting down.
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix "sometimes-uninitialized" warning on Windows Clang.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
fix compiler warnings.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- control reaches end of non-void function.
- remove a deprecated IsMatch.
Change-Id: Ifdeb15879bbcf591c48dc7fda1cd8994bdf87bb3
|
|\ \ \ \
| | | | |
| | | | | |
Enable tests for bazel build.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I63ed5fb58a45e098f2fd1fa457a219148de030bd
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
fix typo in cmake/README.md
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Update upb to fix two bugs in the Ruby library.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes:
https://github.com/google/protobuf/issues/502
https://github.com/google/protobuf/issues/425
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add nonnull/nullable/null_resettable markup to ObjC library.
|
| | |/
| |/|
| | |
| | | |
Add the clang annotations to the objc library and generated code to help with Swift bridging and compiler checks.
|
|\ \ \
| | | |
| | | | |
Remove OUTS constants in BUILD
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Induce those from the input proto file names instead to reduce the
lenght of the BUILD file.
Change-Id: I1dda57dedac547f4bd0cc3a7d08fb611d72acd13
|
|\ \ \
| | | |
| | | | |
Update BUILD for the recent json util change.
|
|/ / /
| | |
| | |
| | | |
Change-Id: I0b5a2c017f5412aaca3a47815671753cdef63165
|
|\ \ \
| | | |
| | | | |
using ::isnan to avoid conflicts with std::isnan for C++11 build.
|
|/ / /
| | |
| | |
| | | |
Change-Id: I057b44eff04c3b0062a4fd4307ce6e4ca1eb952b
|
| | |
| | |
| | |
| | | |
Change-Id: I74e2d5958b5e7b15d10e5a6468bca917323b9739
|
|\ \ \
| | | |
| | | | |
Add bazel support for the project
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I62640af99e3c2650a29dc5468ce3deb7b6c7efdf
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I5a299d969ff96d7d2f80aadc7e8987d461d24b8f
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Idecb2e3a5169f7b40d832242c9c10b0eb4325654
|
|\ \ \ \
| |/ / /
|/| | | |
Down-integrate from internal code base.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
|
|\ \ \
| |/ /
|/| | |
Check HAVE_CONFIG_H before including "config.h"
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather
than providing a config.h
- Make pbconfig.h a manually written file to handle hash conditions
according to platform related macros.
- Remove #include "config.h" from source code.
- Changed the configure.ac and Makefile.am to pass down the macros.
- Change cmake to pass down the the macros.
Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
|
|\ \
| | |
| | | |
Add a badge for AppVeyor build.
|
| | |
| | |
| | |
| | | |
Change-Id: Ic59d78d699af0e5f50377f83c8a7ea9a78074d81
|
|\ \ \
| |/ /
|/| | |
Modified FindRubyTestDir to use GOOGLE_THIRD_PARTY_PROTOBUF
|
| | | |
|