Commit Graph

6535 Commits

Author SHA1 Message Date
Hao Nguyen
1b3c0e418e Update java lite version 2019-04-23 17:04:16 -07:00
Hao Nguyen
37a89f8e1a Update version to 3.8.0 2019-04-23 16:14:52 -07:00
Hao Nguyen
d6bcf07a8f
Merge pull request #6064 from haon4/201904221711
Down integrate to GitHub
2019-04-23 09:54:53 -07:00
Hao Nguyen
711e4b4d6c Down integrate to GitHub 2019-04-22 17:12:12 -07:00
Hao Nguyen
60b66a119d
Merge pull request #6051 from haon4/201904171256
Down Integration to GitHub
2019-04-17 18:14:45 -07:00
Hao Nguyen
da4e028c72 Remove passing test from failure_list_ruby again. 2019-04-17 14:43:36 -07:00
Hao Nguyen
9e3f053fcc Down integrate to GitHub 2019-04-17 12:57:37 -07:00
Keith Smiley
1c5e8cbb8f Remove -Wall from default build options
All bazel crosstools automatically pass -Wall to compiles. The order of
operations is:

- bazel crosstool flags
- `--host_copt` flags and other variations like `--host_cxxopt`
- the `copts` defined on the rule

Because of this when protobuf produces warnings, there's no way to
disable them from the consumer side if they are re-enabled later by
another `-Wall` flag.
2019-04-16 09:49:59 -07:00
Keith Smiley
1958925c76 Add -Werror for CI builds 2019-04-16 09:49:23 -07:00
Keith Smiley
46f2401614 Use GetArena instead 2019-04-15 16:07:27 -07:00
Keith Smiley
c40ab0fffa Fix more warnings
These were found attempting to enable -Werror
2019-04-15 16:07:27 -07:00
Keith Moyer
c1f650a387 Satisfy GCC class-memaccess warnings
GCC 8 added a -Wclass-memaccess that is enabled in -Wall that warns when
making direct memory modifications to non-trivial objects. The objects
that are modified here are only "non-trivial" in non-interesting ways
(e.g., removal of copy constructor) and can be safely modified as is
being done.

This simply explicitly casts the pointers before calling memset to
indicate that they should be treated as raw memory.
2019-04-15 13:45:23 -07:00
Nic McDonald
f313b9ccf7 comply with Bazel recommendations 2019-04-15 13:43:05 -07:00
Hao Nguyen
8e5ea65953
Merge pull request #6033 from haon4/201904121310
Down integrate to GitHub
2019-04-12 15:19:36 -07:00
Hao Nguyen
2c18ec841a Remove Required.Proto3.JsonInput.EmptyFieldMask.JsonOutput from failure list since it is now passing for Ruby 2019-04-12 14:12:08 -07:00
Hao Nguyen
42bab121fd
Merge pull request #6032 from haon4/objectivec
Replace SimpleItoa with StrCat in ObjectiveC compiler codes
2019-04-12 13:28:43 -07:00
Hao Nguyen
1467e08d7c Down integrate to Github 2019-04-12 13:10:30 -07:00
Hao Nguyen
1a23e2ab2d Replace SimpleItoa with StrCat 2019-04-12 11:50:15 -07:00
senhalil
97e7ddc015 Small patch to handle -Wfloat-equal warnings
https://groups.google.com/d/msg/protobuf/H8_D1hfg3p4/A2oPHdfUAgAJ
2019-04-11 15:54:23 -07:00
Justin Buchanan
27228494c3 emit annotations for oneof field accessors in c++ 2019-04-11 15:53:09 -07:00
Keith Smiley
da5e11b605 Remove unused constants
When compiling protobuf these produce warnings
2019-04-11 15:41:54 -07:00
Keith Smiley
7db639f924 Make cold_threshold_ look used to fix warning
This field isn't used yet, but it will be in the future so we don't want
to remove it. This fixes the warning in the meantime.
2019-04-11 15:41:26 -07:00
Hao Nguyen
105a0666d3
Merge pull request #6016 from haon4/201904101300
Down integration to GitHub
2019-04-10 15:07:04 -07:00
Hao Nguyen
466615a8e2 Remove Required.Proto3.JsonInput.EmptyFieldMask.JsonOutput from ruby_mac too 2019-04-10 13:52:28 -07:00
Hao Nguyen
3d69bad4b2 Update generated proto and remove a test from failure_list 2019-04-10 13:33:56 -07:00
Hao Nguyen
51b0225599 Down integrate to Github 2019-04-10 13:00:25 -07:00
Hao Nguyen
825c5bf4e9
Merge pull request #6003 from haon4/documentation
Update documentation for JavaLite
2019-04-09 20:05:56 -07:00
Hao Nguyen
93a18cf2be
Merge pull request #6007 from haon4/mergeable2
Add Mergeable config
2019-04-09 18:39:15 -07:00
Hao Nguyen
925aa60ff2 Add Mergeable config 2019-04-09 17:33:43 -07:00
Hao Nguyen
92e824e505 Add a link to the older version of JavaLite 2019-04-09 15:07:44 -07:00
Hao Nguyen
1da2a67429 Update documentation for JavaLite 2019-04-09 13:07:25 -07:00
Hao Nguyen
5b232b8ecb
Merge pull request #6001 from haon4/sync201904090622
Down integrate to Github
2019-04-09 10:40:46 -07:00
Hao Nguyen
ef1e8e7172 Add module for JavaLite and fix builds 2019-04-09 06:48:01 -07:00
Hao Nguyen
6dc9832aab Merge branch 'master' of https://github.com/protocolbuffers/protobuf into sync201904090622 2019-04-09 06:25:48 -07:00
Hao Nguyen
176f7db11d Down integrate to Github 2019-04-09 06:23:32 -07:00
yejianwu
df4ec8a273 support specify C++ STL for android 2019-04-08 14:01:34 -07:00
Hao Nguyen
c163a2d1a4 Revert accidentally commit 2019-04-05 17:09:42 -07:00
Hao Nguyen
1eb049141e Add module for JavaLite and fix builds 2019-04-05 16:55:34 -07:00
Hao Nguyen
86bc27d220 Merge branch 'master' of https://github.com/protocolbuffers/protobuf 2019-04-05 16:41:24 -07:00
Hao Nguyen
a48a574f7e Down integrate to Github 2019-04-05 16:39:18 -07:00
Ankit Singh
1065652bf9 Removes unused code and lint warnings (#5773) 2019-04-03 10:51:33 -07:00
Phillipp Schoppmann
8e5b2f1b82 Update file list for protobuf_lite 2019-04-01 14:06:18 -07:00
Harvey Tuch
0f8e6d1402 Fix some UBSAN warnings.
* external/com_google_protobuf/src/google/protobuf/stubs/strutil.cc:1122:9: runtime error: negation of -9223372036854775808 cannot be represented in type 'google::protobuf::int64' (aka 'long'); cast to an unsigned type to negate this value to itself

* Bad external/com_google_protobuf/src/google/protobuf/text_format.cc:1320:14: runtime error: null pointer passed as argument 1, which is declared to never be null
  /usr/include/string.h:62:62: note: nonnull attribute specified here

Signed-off-by: Harvey Tuch <htuch@google.com>
2019-04-01 14:00:39 -07:00
Paul Yang
f425b9f059
Merge pull request #5953 from acozzette/merge-3-7-x
Merge 3.7.x into master
2019-03-28 17:28:22 -07:00
Hao Nguyen
3efc3fd4f5
Upgrade the closure compiler version (#5955)
Also update Dockerfile for JavaScript. The old one is using an npm that is too outdated
2019-03-28 09:54:13 -07:00
Adam Cozzette
8018e45e87 Removed duplicate text from WORKSPACE file 2019-03-28 09:48:40 -07:00
Bo Yang
33dd96c23f Use mktime 2019-03-28 06:38:20 +00:00
Bo Yang
262cc06075 Fix ruby conformance test on mac 2019-03-28 06:35:07 +00:00
Bo Yang
2d9507ec74 Update upb for ruby 2019-03-28 02:17:39 +00:00
Ben Boeckel
2350e20cae mathlimits: remove no-op macro expansion code 2019-03-27 17:07:57 -07:00