| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Update minimal ios and osx version for deployment.
|
| | |
|
|\ \
| |/
|/| |
Remove two unused functions.
|
|/ |
|
|\
| |
| | |
Add packTo and unpackFrom in google.protobuf.Any.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Update addressbook.proto and examples code to proto3
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Let GOOGLE_COMPILE_ASSERT use static_assert if available.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The motivation is that gcc 4.8+ and clang trunk warn on unused local
typedefs, which COMPILE_ASSERT adds. After this change, the warning
will be happy at least in C++11 builds. static_assert also produces a
slighly nicer diagnostic than the typedef method.
https://github.com/google/re2/commit/eb93e8bc43ac8d05322fb3e9fc885898ad924f8a
did the same change in re2.
|
|\ \ \
| | | |
| | | | |
Added Ruby to conformance tests.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This involved fixing a few important bugs in the
Ruby implementation -- mostly cases of mixing
upb field types and descriptor types (upb field
types do not distinguish between int/sint/fixed/sfixed
like descriptor types do).
Also added protobuf-specific exceptions so parse
errors can be caught specifically.
Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
|
|\ \ \
| |_|/
|/| | |
Addming missing includes in stubs headers.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is to prepare removing those additional headers in common.h
Change-Id: I707d6d8eaf193eb28195a827c7fec738b968ab3e
|
|\| |
| | |
| | | |
Split up common.h headers
|
| | |
| | |
| | |
| | | |
Change-Id: I75459b8b6562c3ac58fa4b1e4513accdda43ad64
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I5f6cbc2430200e3751ad754cc7ae604338db6f91
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ifbc415755266ba3d0ffa5661fcd7c7d2e3b32a22
|
| | |/
| |/|
| | |
| | | |
Change-Id: I223783111d743aa5193bf70fa1b9b54c7b4389c3
|
|\ \ \
| |_|/
|/| | |
ignore UTF-8 BOM
|
| |/ |
|
|/
|
|
|
|
| |
Install google/protobuf/stubs/status.h, and google/protobuf/stubs/stringpiece.h -- these are required in order to include google/protobuf/util/type_resolver.h.
Install google/protobuf/stubs/bytestream.h -- this is required in order to include google/protobuf/util/json_util.h.
|
|\
| |
| | |
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.
|