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.
6 years ago
Nic McDonald
f313b9ccf7
comply with Bazel recommendations
6 years ago
Hao Nguyen
8e5ea65953
Merge pull request #6033 from haon4/201904121310
...
Down integrate to GitHub
6 years ago
Hao Nguyen
2c18ec841a
Remove Required.Proto3.JsonInput.EmptyFieldMask.JsonOutput from failure list since it is now passing for Ruby
6 years ago
Hao Nguyen
42bab121fd
Merge pull request #6032 from haon4/objectivec
...
Replace SimpleItoa with StrCat in ObjectiveC compiler codes
6 years ago
Hao Nguyen
1467e08d7c
Down integrate to Github
6 years ago
Hao Nguyen
1a23e2ab2d
Replace SimpleItoa with StrCat
6 years ago
senhalil
97e7ddc015
Small patch to handle -Wfloat-equal warnings
...
https://groups.google.com/d/msg/protobuf/H8_D1hfg3p4/A2oPHdfUAgAJ
6 years ago
Justin Buchanan
27228494c3
emit annotations for oneof field accessors in c++
6 years ago
Keith Smiley
da5e11b605
Remove unused constants
...
When compiling protobuf these produce warnings
6 years ago
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.
6 years ago
Hao Nguyen
105a0666d3
Merge pull request #6016 from haon4/201904101300
...
Down integration to GitHub
6 years ago
Hao Nguyen
466615a8e2
Remove Required.Proto3.JsonInput.EmptyFieldMask.JsonOutput from ruby_mac too
6 years ago
Hao Nguyen
3d69bad4b2
Update generated proto and remove a test from failure_list
6 years ago
Hao Nguyen
51b0225599
Down integrate to Github
6 years ago
Hao Nguyen
825c5bf4e9
Merge pull request #6003 from haon4/documentation
...
Update documentation for JavaLite
6 years ago
Hao Nguyen
93a18cf2be
Merge pull request #6007 from haon4/mergeable2
...
Add Mergeable config
6 years ago
Hao Nguyen
925aa60ff2
Add Mergeable config
6 years ago
Hao Nguyen
92e824e505
Add a link to the older version of JavaLite
6 years ago
Hao Nguyen
1da2a67429
Update documentation for JavaLite
6 years ago
Hao Nguyen
5b232b8ecb
Merge pull request #6001 from haon4/sync201904090622
...
Down integrate to Github
6 years ago
Hao Nguyen
ef1e8e7172
Add module for JavaLite and fix builds
6 years ago
Hao Nguyen
6dc9832aab
Merge branch 'master' of https://github.com/protocolbuffers/protobuf into sync201904090622
6 years ago
Hao Nguyen
176f7db11d
Down integrate to Github
6 years ago
yejianwu
df4ec8a273
support specify C++ STL for android
6 years ago
Hao Nguyen
c163a2d1a4
Revert accidentally commit
6 years ago
Hao Nguyen
1eb049141e
Add module for JavaLite and fix builds
6 years ago
Hao Nguyen
86bc27d220
Merge branch 'master' of https://github.com/protocolbuffers/protobuf
6 years ago
Hao Nguyen
a48a574f7e
Down integrate to Github
6 years ago
Ankit Singh
1065652bf9
Removes unused code and lint warnings ( #5773 )
6 years ago
Phillipp Schoppmann
8e5b2f1b82
Update file list for protobuf_lite
6 years ago
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>
6 years ago
Paul Yang
f425b9f059
Merge pull request #5953 from acozzette/merge-3-7-x
...
Merge 3.7.x into master
6 years ago
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
6 years ago
Adam Cozzette
8018e45e87
Removed duplicate text from WORKSPACE file
6 years ago
Bo Yang
33dd96c23f
Use mktime
6 years ago
Bo Yang
262cc06075
Fix ruby conformance test on mac
6 years ago
Bo Yang
2d9507ec74
Update upb for ruby
6 years ago
Ben Boeckel
2350e20cae
mathlimits: remove no-op macro expansion code
6 years ago
Ben Boeckel
3071fc311b
mathlimits: remove unused code
...
This actually has always been using the first branch because
`__cpluscplus` is not a real definition (contrast with the real spelling
of `__cplusplus`).
6 years ago
Ben Boeckel
e5862cd912
mathlimits: check for _WIN32 and __MINGW32__ existence
6 years ago
Ben Boeckel
ec70372f85
command_line_interface: check if __APPLE__ is defined
6 years ago
Bo Yang
a268b63284
Update upb for ruby
6 years ago
Bo Yang
cd044e9cbb
Sync latest upb changes
6 years ago
Joe Bolinger
e4bbca1fc5
Add wrapper type helpers for Ruby ( #5739 )
...
* add wrapper type helpers
* add check for _as_value suffix
6 years ago
Joe Bolinger
d2daa38986
Add native type setters for Timestamp and Duration in Ruby ( #5751 )
...
* add implicit time conversion
* add duration
* add init test
* more tests
* add type check and alternative c type check
* add rational and bigdecimal
* use rb_obj_is_kind_of
* use native time check
* chain implicit conversions
* remove unused variable
6 years ago
Adam Cozzette
8645d893ab
Merge branch '3.7.x' into merge-3-7-x
6 years ago
Pavel Perestoronin
e9faff8514
Update third_party.md
...
I've deprecated the separate web page for the project and moved everything to `README.md`, so for now it's better to point to the GitHub project page.
6 years ago
Paul Yang
6973c3a504
Update version number to 3.7.1 ( #5947 )
...
* Update version number to 3.7.1
* Update version number in port_def.inc
6 years ago
Adam Cozzette
077079573f
Fixed CI failures with Ruby 2.3 on OSX ( #5948 )
...
OSX has deprecated OpenSSL, so we need to install it via Homebrew and
build against that version when we build Ruby.
6 years ago