Commit Graph

7909 Commits

Author SHA1 Message Date
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
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
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
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
Adam Cozzette
66e5185780 Added PHP changes for 3.15.0 into package.xml 2021-02-09 14:20:19 -08:00
Adam Cozzette
42fea44a9c Updated CHANGES.txt for the 3.15.0 release 2021-02-08 10:52:37 -08:00
Adam Cozzette
e9f2ef308c Update protobuf version 2021-02-05 15:37:10 -08:00
Paul MARS
59b3d97f6d Reserve extension id for protoc-gen-psql & protoc-gen-sanitize 2021-02-05 10:34:04 -08:00
Joshua Haberman
a530dbe50c
Merge pull request #8262 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2021-02-04 19:02:16 -08:00
Joshua Haberman
e8aa635397 Tweak our JavaScript rewrites a bit to handle jspb.* imports. 2021-02-04 17:04:17 -08:00
Joshua Haberman
beb70bb83e Change is_trivially_copy_assignable -> is_trivial too. 2021-02-04 15:04:17 -08:00
Joshua Haberman
fc1cfb0174 Also change is_trivially_copy_constructible to std::is_trivial. 2021-02-04 14:42:12 -08:00
Joshua Haberman
fae6773539 Fixed misspelling. 2021-02-04 14:34:26 -08:00
Joshua Haberman
b74892e9c3 Replace is_trivially_default_constructible with is_trivial for old libstdc++. 2021-02-04 14:33:20 -08:00
Joshua Haberman
7a92a5ab24 Added another missing CHANGES.txt entry. 2021-02-04 14:26:30 -08:00
Joshua Haberman
84320bf8e8 Added missing changelog entry. 2021-02-04 14:17:08 -08:00
Joshua Haberman
9194426bce Added CHANGES.txt entries. 2021-02-04 14:13:45 -08:00
Joshua Haberman
09831d5bfe Merge tag 'refs/tags/sync-piper' into sync-stage 2021-02-04 14:09:50 -08:00
Joshua Haberman
51daaba638 Sync from Piper @355707933
PROTOBUF_SYNC_PIPER
2021-02-04 14:09:49 -08:00
Paul Yang
525be941e0
Add test for php5 for pure php implementation (#8251)
* Add test for php5 for pure php implementation

* Add php5.6 to docker image

* Add php5.6 to php 32-bit docker image
2021-02-04 09:50:28 -08:00
Joshua Haberman
cf28f28347
Updated upb to allow nonzero offset minutes in JSON timestamps. (#8258)
* Updated upb to allow nonzero offset minutes in JSON timestamps.

This is to pick up https://github.com/protocolbuffers/upb/pull/367

* Reverted error message change.

* Fixed quote chars.
2021-02-03 17:59:10 -08:00
Jan Tattermusch
aa13fde017
remove obsolete scripts for python wheels (#8250)
Nowadays, this seems to be script where python wheels are being built:
https://github.com/protocolbuffers/protobuf/blob/ac63e80/kokoro/release/python/linux/build_artifacts.sh

Removing the obsolete scripts to avoid confusion.
2021-02-02 16:53:26 -08:00
David L. Jones
ac63e80bbb
Enhance explanation in kokoro/README.md. (#8253) 2021-02-02 16:49:58 -08:00
Joshua Haberman
b3ea125b03
Fixed clone_obj for PHP8. (#8252)
PHP8 has a different method signature for clone_obj that takes a
zend_object* instead of a zval*.
2021-02-02 15:43:44 -08:00
Joshua Haberman
f3e53a05d6
Fixed clone for Message, RepeatedField, and MapField. (#8245)
Also updated the code to use a TypeInfo struct for convenient
passing of type and desc together. This simplified a lot of code
and made this change easier to write.
2021-02-02 09:15:10 -08:00
Joshua Haberman
d18df4f764
Protect against stack overflow if the user derives from Message. (#8248)
* Protect against stack overflow if the user derives from Message.

* For pure-PHP, change error into an exception.
2021-02-01 20:38:15 -08:00
gerben-s
10ecb080cb
Merge pull request #8121 from busunkim96/add-39
add python 3.9
2021-02-01 19:34:02 -08:00
gerben-s
fe47e99a4f
Add cmake to the path to fix the build on kokoro (#8246) 2021-02-01 15:48:50 -08:00
Jan Tattermusch
94c3916dcf
fix problem when restoring C# dependencies on win2016 (#8243) 2021-02-01 09:25:56 -08:00
Jan Tattermusch
f9e8bf42a9
Merge pull request #8220 from jskeet/bytestrings-with-extensions
Allow FileDescriptors to be parsed with extension registries
2021-02-01 09:02:58 +01:00
Christian Alexander Wolf
f4d0f7c85e
feat: add support for deprecated fields to PHP compiler (#8223)
* feat: add support for deprecated fields to PHP compiler

* PR feedback 1
2021-01-29 11:33:27 -08:00
deannagarcia
69694080ff
Merge pull request #8224 from deannagarcia/sync-stage
Integrate from Piper for C++, Java, and Python
2021-01-28 12:36:19 -08:00
Deanna Garcia
75d125b441 Merge branch 'sync-stage' of https://github.com/deannagarcia/protobuf into sync-stage 2021-01-28 18:27:50 +00:00
Deanna Garcia
c0f5092291 Add deleted failure lists for jruby 2021-01-28 18:27:21 +00:00
Jan Tattermusch
4140735f05
Merge pull request #8149 from JamesNK/jamesnk/writestring-small
Optimize writing small strings
2021-01-28 11:48:18 +01:00
deannagarcia
868b712916
Remove unused variable 2021-01-27 13:29:04 -08:00
Deanna Garcia
f1fba4c227 Add missing bracket 2021-01-27 19:58:37 +00:00
Deanna Garcia
2ccf400b86 Merge branch 'sync-stage' of https://github.com/deannagarcia/protobuf into sync-stage 2021-01-27 19:33:32 +00:00
Deanna Garcia
62fb6ddfce Updating CHANGES.txt and removing all instances of std::is_pod 2021-01-27 19:28:44 +00:00
James Newton-King
c2b22b90fc
PR feedback 2021-01-28 08:11:52 +13:00
Joshua Haberman
d5079ed7db
Fixed PHP to support field numbers >=2**28. (#8235) 2021-01-27 10:12:59 -08:00
James Newton-King
cb246b8032
Optimize writing small strings 2021-01-27 12:50:48 +13:00