Commit Graph

6722 Commits

Author SHA1 Message Date
Ben Bader
56e7bdf278 Fix builtin_atomics check in CMakeLists.txt 2019-07-08 20:30:04 -07:00
Yilun Chong
2d61b9edd9
Merge pull request #6346 from phanirithvij/patch-1
fix dart example readme typo
2019-07-08 12:00:57 -07:00
Yilun Chong
3a10cf1557
Merge pull request #6343 from johndpope/patch-1
allow copy and paste from readme
2019-07-08 12:00:31 -07:00
Yilun Chong
a96f3af2bc
Merge pull request #6323 from cushon/toolchain
Use proto_library in proto_lang_toolchain.blacklisted_protos
2019-07-08 10:21:19 -07:00
Phani Rithvij
39c6b58a9b
fix dart example readme typo 2019-07-07 09:10:41 +05:30
John D. Pope
c5fb586fc9
allow copy and paste from readme
spare people the time deleting $ from text.
2019-07-05 10:35:51 +10:00
boscosiu
55ed1d427c link libatomic on systems without adequate builtin atomics 2019-07-03 15:32:29 -07:00
Asra Ali
de3e728c69 fix ubsan warning
Signed-off-by: Asra Ali <asraa@google.com>
2019-07-03 15:21:15 -07:00
Tomo Suzuki
8b09686253 Added linkage monitor badge (#6327) 2019-07-01 14:59:15 -07:00
Liam Miller-Cushon
7b28278c7d Use proto_library in proto_lang_toolchain.blacklisted_protos
Support for using proto_library in this attribute was added in:
a5ee2c4d97

Legacy support for using .proto files will be removed in a future
version of Bazel.
2019-07-01 14:15:32 -07:00
Liam Miller-Cushon
2b857d0078 Format with buildifier 2019-07-01 14:10:31 -07:00
Tomo Suzuki
bedef1ede2 Kokoro: run Linkage Monitor on presubmit (#6318)
* adding mvn install with snapshot version

* Added linkage monitor

* comment

* space

* Added comment

* Maven to use $HOME/.m2

* setting MVN
2019-07-01 14:03:04 -07:00
Paul Yang
ee5f29f46e
Merge pull request #6306 from suztomo/linkage-monitor
Setting up JDK8 for Kokoro jobs
2019-06-27 16:08:09 -07:00
Tomo Suzuki
c9212beed2 continuous.cfg 2019-06-27 15:19:17 -04:00
Tomo Suzuki
3507314d67 build.sh to use linux/dockerfile/test/java_stretch 2019-06-27 15:15:49 -04:00
Tomo Suzuki
89fbae62f4 java_stretch 2019-06-27 15:12:39 -04:00
Tomo Suzuki
8886454fc0 uncomented jdk7 2019-06-27 14:22:21 -04:00
Tomo Suzuki
699bab2e2d reverted 64-bit/Dockerfile 2019-06-27 14:20:41 -04:00
Hao Nguyen
f30c68b792
Merge pull request #6231 from ST-DDT/fix-javadoc-warnings
Fix javadoc warnings in generated files
2019-06-27 10:46:21 -07:00
Tomo Suzuki
30673ff200 backslash at the end of the comment 2019-06-27 08:45:04 -04:00
Hao Nguyen
de5a1fabab
Merge pull request #6308 from haon4/201906261101
Down integrate to GitHub
2019-06-26 16:39:17 -07:00
Hao Nguyen
e1d8b31ba4 Remove map_test.util.cc from BUILD 2019-06-26 15:02:11 -07:00
Tomo Suzuki
7051725941 To setup JDK8 2019-06-26 15:28:49 -04:00
ST-DDT
351a7cdf73
Follow line length guidelines 2019-06-26 20:43:39 +02:00
ST-DDT
5af81a442b
Use parameter name comment 2019-06-26 20:39:03 +02:00
Hao Nguyen
51026d9229 Down integrate to GitHub 2019-06-26 11:01:34 -07:00
Joshua Haberman
5bc250b084
Merge pull request #5878 from Parad0X/fix-ns
Fix scope resolution for Google namespace
2019-06-25 11:45:31 -07:00
Adam Cozzette
7e276a3293
Merge pull request #6300 from protocolbuffers/3.9.x
Merge 3.9.x into master
2019-06-24 16:15:15 -07:00
Paul Yang
3f33753f0f
Merge pull request #6298 from TeBoring/3.9.x-merge
Merge master into 3.9.x
2019-06-24 10:15:24 -07:00
Adam Cozzette
4aa77508a6 Added stubs/map_util.h to list of installed headers
This should fix issue #6186. I also had to remove a couple unnecessary
const keywords in map_util.h because the no_warning_test was showing
errors about those.
2019-06-21 16:17:09 -07:00
Bo Yang
d581c76063 Merge branch 'master' into 3.9.x
Conflicts:
	java/lite/pom.xml
	java/util/pom.xml
2019-06-21 20:31:00 +00:00
Paul Yang
54288a01ce
Rename get/setXXXValue to get/setXXXUnwrapped (#6295) 2019-06-21 13:25:23 -07:00
Paul Yang
b7a5772caf
Merge pull request #6292 from TeBoring/3.8.x-merge
3.8.x merge
2019-06-20 21:58:07 -07:00
Bo Yang
bc742640ef Merge remote-tracking branch 'origin/3.8.x' 2019-06-21 04:01:45 +00:00
Paul Yang
815ff7e1fb
Revert "Append field number to accessors if there is conflict (#6169)" (#6282)
This reverts commit 9a8ef05a34.
2019-06-20 20:59:48 -07:00
Hao Nguyen
093093fa91
Merge pull request #6176 from akonradi/patch-1
Add extension number for protoc-gen-validate
2019-06-20 11:18:53 -07:00
Hao Nguyen
0eb0aa5dc9
Merge pull request #6246 from JLLeitschuh/patch-1
Compatibility tests pull artifacts over HTTPS
2019-06-20 11:17:22 -07:00
Hao Nguyen
e992abd1f8
Merge pull request #6177 from cgrushko/master
Add `protobuf_java_lite` Bazel target
2019-06-20 11:15:08 -07:00
Alex Konradi
619ffac4f7
Merge branch 'master' into patch-1 2019-06-20 14:10:06 -04:00
Yun Peng
6e58040a71 Add "src/**/*.inc" to //:protobuf_headers
Otherwise, sandbox and remote execution will complain `google/protobuf/port_def.inc` doesn't exist.
2019-06-19 09:25:52 -07:00
Paul Yang
7f84a94366
Make php message class final to avoid mocking (#6277)
* Make php message class final

Because proto messages are just data object, they should not be mocked.
Explicitly make them final to avoid accidental usage.

* Update generated descriptors
2019-06-18 17:12:55 -07:00
Joshua Haberman
98f0447a6f
Merge pull request #6274 from haberman/objc
Removed all use of STLDelete*() in ObjC and C# Generators.
2019-06-18 15:07:36 -07:00
Hao Nguyen
d3e6f10768
Merge pull request #6276 from acozzette/protobuf-deps-bzl
Include protobuf_deps.bzl in generated release archives
2019-06-18 12:20:45 -07:00
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.
2019-06-18 10:31:50 -07:00
Adam Cozzette
21773efa23 Include protobuf_deps.bzl in generated release archives
This fixes #5918.
2019-06-18 10:07:18 -07:00
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.
2019-06-18 09:43:50 -07:00
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.
2019-06-18 00:45:53 -07:00
Hao Nguyen
b97b623d7b
Merge pull request #6270 from haon4/update_generated_codes
Update generated codes
2019-06-17 16:24:37 -07:00
Hao Nguyen
f2a919f58f
Merge pull request #6268 from haon4/java_gson_update
Update GSON version to 3.8.5
2019-06-17 14:06:58 -07:00
Hao Nguyen
ef5e8f4aa7 Update C# generated proto file 2019-06-17 14:05:40 -07:00