Commit Graph

8002 Commits

Author SHA1 Message Date
Joshua Haberman
2ff31d34aa
Merge pull request #8330 from haberman/rubyfix
[Ruby] Fix for FieldDescriptor.get(msg).
2021-02-22 18:19:44 -08:00
Joshua Haberman
4e3ea74e42 [Ruby] Fix for FieldDescriptor.get(msg).
This fix is similar to the previous bug found in
Message.[]. The fix is the same: we need to handle
arrays and maps properly.

Fixes: https://github.com/protocolbuffers/protobuf/issues/8325
2021-02-22 17:14:46 -08:00
Adam Cozzette
326ea555ba
Merge pull request #8329 from acozzette/merge-3-15-x
Merge 3.15.x into master
2021-02-22 12:29:27 -08:00
Adam Cozzette
6e84adc9ff Merge branch '3.15.x' into merge-3-15-x 2021-02-22 11:03:32 -08:00
Thomas Van Lenten
5911099659 Move the class map to a CFDictionary.
Since the keys are `Class`-s, there's no need to hash/copy/etc. them. This
avoids causing `+initialize` on the classes just when building up a registry.
2021-02-22 13:08:32 -05:00
Yuriy Chernyshov
2e47e3bc64
Fix PROTOBUF_CONSTINIT macro redifinition
The #ifdef block is duplicated with the above (which was fixed in 3.15.1).

It would be great to have this fix backported to 3.15.1 (and released as 3.15.2).
2021-02-20 12:09:52 +03:00
Adam Cozzette
052dc799d2 Update protobuf version 2021-02-19 15:12:24 -08:00
Adam Cozzette
24d8a554ea Updated CHANGES.txt 2021-02-19 15:12:24 -08:00
Adam Cozzette
d721e36ecc Made some small fixes for MinGW and for C++20 with GCC
Our use of constinit does not seem to work with GCC yet (see
https://github.com/protocolbuffers/protobuf/issues/8310), so this
commit disables it on GCC for now.

This commit also updates mutex.h to work around the fact that MinGW's
std::mutex apparently does not have a constexpr constructor. We already
have this kind of workaround for MSVC, so we can just use the same
workaround.
2021-02-19 15:11:34 -08:00
Joshua Haberman
b12ab0cf53
Merge pull request #8320 from haberman/ruby-duration-fix
[Ruby] Fix for truncating behavior when converting Float to Duration.
2021-02-19 15:03:42 -08:00
Joshua Haberman
3b3aac95a6 [Ruby] Fix for truncating behavior when converting Float to Duration. 2021-02-19 13:58:19 -08:00
Joshua Haberman
4f961c8a70
Merge pull request #8313 from haberman/ruby-crash-fix
[Ruby] Bugfix for Message.[] for repeated or map fields.
2021-02-19 10:15:59 -08:00
Joshua Haberman
256f1327ea [Ruby] Bugfix for Message.[] for repeated or map fields. 2021-02-19 09:29:06 -08:00
Adam Cozzette
133e5e7526 Update protobuf version 2021-02-18 16:53:24 -08:00
Adam Cozzette
de701c660b Update protobuf version 2021-02-18 16:53:24 -08:00
Adam Cozzette
ea2412e6ed Updated collect_all_artifacts.sh for Ubuntu Xenial 2021-02-18 16:53:24 -08:00
Adam Cozzette
0533d042b3 Delete root-owned files in Kokoro builds
Some of our Kokoro builds have been failing because Kokoro is unable to
copy root-owned files when the build is complete. This commit fixes the
problem by deleting these files at the end.
2021-02-18 16:53:24 -08:00
Joshua Haberman
3722935054 Added to the changelog entries for Ruby & PHP. 2021-02-18 16:53:24 -08:00
Adam Cozzette
8aa0063bef Updated collect_all_artifacts.sh to avoid installing apt-transport-https
The installation of apt-transport-https is failing and causing this
script to exit early. I suspect the package is no longer needed since
recent versions have moved it into the apt package, so this change
updates the script to stop trying to install apt-transport-https.
2021-02-18 16:53:24 -08:00
Joshua Haberman
a94870872c Added more information to "file already loaded" warning.
Also changed it to zend_error() so it is more easily suppressed.
2021-02-18 16:53:24 -08:00
Adam Cozzette
76bfd89090 Added PHP changes for 3.15.0 into package.xml 2021-02-18 16:53:24 -08:00
Adam Cozzette
983ea052ce Updated CHANGES.txt for the 3.15.0 release 2021-02-18 16:53:24 -08:00
Adam Cozzette
ac9218c5d9 Update protobuf version 2021-02-18 16:53:24 -08:00
Adam Cozzette
ae50d9b990 Update protobuf version 2021-02-18 11:50:15 -08:00
Christopher Hunt
c908fdbd0c
Some doc on AOT compilation and protobuf (#8294)
* Create jvm_native_images.md

Some initial text pertaining to the use of protobuf with AOT compilation tools such as the one provided by GraalVM native-image.

* Update jvm_native_images.md

Fixed spelling

* Update and rename jvm_native_images.md to jvm_aot.md
2021-02-17 16:10:42 -08:00
Adam Cozzette
8260126500 Update protobuf version 2021-02-17 10:51:33 -08:00
Yuhanun Citgez
c741c46604 Resovled issue in the .pb.cc files 2021-02-17 10:51:21 -08:00
Yuhanun Citgez
eef276412e Resolved an issue where NO_DESTROY and CONSTINIT were in incorrect order 2021-02-17 10:51:21 -08:00
Joshua Haberman
2653fc807a
Merge pull request #7613 from landsem/patch-1
[PHP] Changed parameter type from long to integer
2021-02-17 10:47:38 -08:00
Yuhanun Citgez
8a39e13de9 Resovled issue in the .pb.cc files 2021-02-17 10:39:12 -08:00
Yuhanun Citgez
893e2d7fd8 Resolved an issue where NO_DESTROY and CONSTINIT were in incorrect order 2021-02-17 10:39:12 -08:00
Joshua Haberman
5e79c737d8
Merge pull request #8236 from bshaffer/patch-3
fix: README supported PHP version for C extension
2021-02-17 10:22:32 -08:00
Adam Cozzette
0040102e6f Updated collect_all_artifacts.sh for Ubuntu Xenial 2021-02-17 09:44:48 -08:00
Adam Cozzette
26cb6a7a6d Delete root-owned files in Kokoro builds
Some of our Kokoro builds have been failing because Kokoro is unable to
copy root-owned files when the build is complete. This commit fixes the
problem by deleting these files at the end.
2021-02-16 16:06:53 -08:00
Jan Tattermusch
a1f96fffc7
Merge pull request #8147 from JamesNK/jamesnk/writestring
Add .NET 5 target and improve WriteString performance with SIMD
2021-02-16 12:15:47 +01:00
James Newton-King
e4cd821f21
Add comments 2021-02-16 10:44:04 +13:00
Jan Tattermusch
818c2ba077 add libicu63 to C# dockerfile 2021-02-15 11:02:41 +01:00
Brecht Sanders
1e924efa90 Update port_def.inc
Fix for Windows build with MinGW-w64 compiler which has __has_attribute but has issues with __attribute__((weak)).
2021-02-11 20:25:25 -08:00
Brecht Sanders
9a80cf1225 Update coded_stream.h
Fix for Windows build with MinGW-w64 compiler. Windows is assumed to always be little endian.
2021-02-11 20:25:25 -08:00
Brecht Sanders
aee143afe8 Update port_def.inc
Fix for Windows build with MinGW-w64 compiler which has __has_attribute but has issues with __attribute__((weak)).
2021-02-11 16:36:30 -08:00
Brecht Sanders
fe63393896 Update coded_stream.h
Fix for Windows build with MinGW-w64 compiler. Windows is assumed to always be little endian.
2021-02-11 16:36:30 -08:00
David L. Jones
a25474ed45
Remove the (unused) Python all-versions Kokoro config. (#8288) 2021-02-11 16:35:00 -08:00
Abhishek Jain
0ef575beff
Fix compiler warnings issue found in conformance_test_runner#8189 (#8190) 2021-02-11 16:29:47 -08:00
Elliotte Rusty Harold
e1b26fe4a1
deps: update to Guava 30.1 (#8209)
This release includes a minor security fix.
2021-02-11 16:28:10 -08:00
Upils
01dcb94846
Expand reserved IDs for protoc-gen-psql and protoc-gen-sanititize (#8270)
Fix for 59b3d97.
2021-02-11 16:00:49 -08:00
Joshua Haberman
a97c4f4f2c
Merge pull request #8276 from haberman/php-warning
Added more information to "file already loaded" warning.
2021-02-10 16:04:22 -08:00
Joshua Haberman
44cd75d215
Merge pull request #8282 from haberman/changelog
Added to the changelog entries for Ruby & PHP.
2021-02-10 15:13:01 -08:00
Joshua Haberman
c59e7f1c0c Added to the changelog entries for Ruby & PHP. 2021-02-10 15:06:29 -08:00
Adam Cozzette
d777155d81 Updated collect_all_artifacts.sh to avoid installing apt-transport-https
The installation of apt-transport-https is failing and causing this
script to exit early. I suspect the package is no longer needed since
recent versions have moved it into the apt package, so this change
updates the script to stop trying to install apt-transport-https.
2021-02-10 13:08:02 -08:00
Joshua Haberman
db66c95eaf Added more information to "file already loaded" warning.
Also changed it to zend_error() so it is more easily suppressed.
2021-02-09 17:44:30 -08:00