Leonard Hecker
43307d4da0
php: Fix formatting of Duration ( #6155 )
...
* php: Fixed php notices for unknown enum indices
* php: Fixed formatting of Duration
This fixes:
* Missing nanoseconds. The nanoseconds where divided as a float and
implicitly converted to a string before being passed to bcadd.
This can result in a float formatted in scientific/exponential notation,
which bcmath doesn't understand.
* Durations are supposed to be formatted without trailing zeroes.
6 years ago
Adam Cozzette
21773efa23
Include protobuf_deps.bzl in generated release archives
...
This fixes #5918 .
6 years ago
Adam Cozzette
1f0d8172da
Revert "JSON string output funtions should clear() the destination first"
...
We found that some code depended on the behavior of appending to the
string without clearing it first. The comments in json_util.h also make
it appear that the appending behavior is intentional, so I think we need
to stick with the old behavior.
This reverts commit 3cbe45a4b5
.
6 years ago
Joshua Haberman
f98b3401bf
Removed all use of STLDelete*() in ObjC and C# Generators.
...
Other languages will have this removed inside Google first.
These functions are subject to ADL and cause problems.
6 years ago
Hao Nguyen
b97b623d7b
Merge pull request #6270 from haon4/update_generated_codes
...
Update generated codes
6 years ago
Hao Nguyen
f2a919f58f
Merge pull request #6268 from haon4/java_gson_update
...
Update GSON version to 3.8.5
6 years ago
Hao Nguyen
ef5e8f4aa7
Update C# generated proto file
6 years ago
Hao Nguyen
b0a9d63b53
Update version on type.pb.h
6 years ago
Hao Nguyen
8ccdc44dde
Update GSON version
6 years ago
Paul Yang
640423f157
Change int64 json encoding to be string for php and ruby ( #6251 )
...
* Change int64 json encoding to be string for php and ruby
* Fix ruby test
* Sync upb change
6 years ago
Paul Yang
abb4fb0040
Change offset of Timestamp conformance test to distinguish from the default ( #6263 )
...
Fixes #4079
6 years ago
Paul Yang
444354f41a
Update gem to 2.7.9 ( #6265 )
...
New bundler doesn't work with old gem: https://github.com/rbenv/rbenv/issues/1138
6 years ago
Hao Nguyen
003f94c269
Merge pull request #6266 from haon4/3.9.x
...
Update version to 3.9.0
6 years ago
Hao Nguyen
638720274b
Update version to 3.9.0
6 years ago
Sorah Fukumori
997bd354d5
Fix TypeError on decoding enum map values in Ruby ( #6262 )
...
value_field_typeclass should be a enum module, not EnumDescriptor
object.
Also expanding tests for enum valued maps.
Fixes #4580
Signed-off-by: Sorah Fukumori <her@sorah.jp>
6 years ago
ST-DDT
73e0d748b9
Switch to using enum based methods
6 years ago
Hao Nguyen
e5f246d3a8
Merge pull request #6250 from haon4/csharp_remove_fields
...
Remove unused fields
6 years ago
Hao Nguyen
bb1c0adedf
Remove unused fields
6 years ago
Benjamin Peterson
310ba5ee72
Treat plugins as host tools.
...
As a followup to ca3ead7745
, treat plugin executables as well as protoc as host tools.
6 years ago
Keith Smiley
ce0dca83ab
Move tool out of inputs in bazel config
...
This fixes compatibility with bazel when passing `--incompatible_no_support_tools_in_action_inputs` which will be flipped in an upcoming release.
6 years ago
Hao Nguyen
61301f0155
Merge pull request #6245 from haon4/201906111559
...
Down Integrate to GitHub
6 years ago
Jonathan Leitschuh
8147e7db8a
Compatibility tests pull artifacts over HTTPS
6 years ago
Hao Nguyen
09cab821a9
Down integrate to GitHub
6 years ago
Hao Nguyen
b008801b5d
Merge pull request #6237 from haon4/silent
...
Enabling silent mode by default to reduce make compilation noise
6 years ago
marwan-at-work
36cd11a2bf
Add twirpql ID to global registry
6 years ago
John W. Bruce
21e4b1c336
Fix Alphabetization of BUILD
6 years ago
Hao Nguyen
f158dfe3a9
Add AM_SILENT_RULES([yes]) to configure.ac
6 years ago
Joshua Haberman
8041dd4034
Merge pull request #6166 from blowmage/ruby-remove-to_hash
...
[Ruby] Remove to_hash methods
6 years ago
Lily Li
a1b3d5e1b9
add compatibility check badges to README
6 years ago
boscosiu
3cbe45a4b5
JSON string output funtions should clear() the destination first
...
Make the JSON util string output functions match the Message::SerializeToString() behavior. This is helpful when packing the output into string fields of reused protobuf messages.
6 years ago
Hao Nguyen
2cac37a20b
Merge pull request #6233 from haon4/fix_lite_version
...
Fix JavaLite version
6 years ago
Hao Nguyen
005a5e3731
Fix JavaLite version
6 years ago
ST-DDT
6ee16a9c60
Draft: Fix javadoc warnings in generated files
6 years ago
Benjamin Peterson
6153f80876
Treat plugins as host tools.
...
As a followup to ca3ead7745
, treat plugin executables as well as protoc as host tools.
6 years ago
Thomas Van Lenten
a8b8c037fc
Add Xcode 11 support to the script.
6 years ago
Thomas Van Lenten
1c8a7a10f8
Update some tests for newer clang error messages.
6 years ago
Julien Poumailloux
1c95097dd3
ObjC: avoid assign for object properties (part 2)
...
Follow up on https://github.com/protocolbuffers/protobuf/pull/6221
6 years ago
Andrzej Hunt
4e740a724f
ObjC: avoid assign for object properties
...
This avoids hitting the following warning when including GPBDescriptor.h in ARC
projects with stricter warning settings:
error: 'assign' property of object type may become a dangling reference; consider using 'unsafe_unretained' [-Werror,-Wobjc-property-assign-on-object-type
We first hit this in XCode 11, it's unclear whether it simply got stricter about
enforcing this warning or whether the flags enabled with -Wall or -Weverything
have been expanded.
6 years ago
Carlos O'Ryan
b10d490efd
Fix RPATH when CMAKE_INSTALL_LIBDIR != lib.
...
In some platforms ${CMAKE_INSTALL_LIBDIR} expands to `lib64`. The libraries
are correctly installed in that directory, but the RPATH is set to point to
`$ORIGIN/../lib`, where it should be `$ORIGIN/../lib64`.
6 years ago
Wang Kirin
e08f01ce6a
compelete fix issue 5060: change CodedOutputStream to CodedOutputStream*
6 years ago
Hao Nguyen
77f03d932a
Merge pull request #6201 from haon4/3.8.x-201905311515
...
Merge 3.8.x into master branch
6 years ago
Carmi Grushko
5c25f41423
Add `protobuf_java_lite` Bazel target
...
that builds the JavaLite runtime.
Contents based on java/lite/pom.xml.
6 years ago
Steven Peters
232d061743
remove comment about wire_format_lite_inl.h
...
The wire_format_lite_inl.h header file was made unnecessary in #5839
and deleted in #5921 , so remove the comment about it.
6 years ago
Hao Nguyen
ca7ae5215f
Merge pull request #6202 from haon4/update_contributing
...
Update CONTRIBUTING.md to clarify who should set the labels
6 years ago
Hao Nguyen
e06c5ff780
Update CONTRIBUTING.md
6 years ago
Hao Nguyen
634d704d23
Merge branch '3.8.x' into 3.8.x-201905311515
6 years ago
Wang Kirin
74f4f594cf
fix typos in examples/README.md
6 years ago
Hao Nguyen
da5d02bced
Merge pull request #6199 from haon4/201905301330
...
Down integrate to GitHub
6 years ago
Hao Nguyen
010320f780
Add dependency to truth in test
6 years ago
Hao Nguyen
0a67788a46
Include the new Java util files in Makefile.am
6 years ago