Adam Cozzette
983d115bd9
Update protobuf version
4 years ago
Adam Cozzette
eb542e606b
Updated CHANGES.txt for 3.15.3 release
4 years ago
Joshua Haberman
80ec787928
Merge pull request #8341 from haberman/ruby-2.5-gc
...
Ruby <2.7now uses WeakMap too, which prevents memory leaks.
4 years ago
Joshua Haberman
9879f423ff
Ruby <2.7now uses WeakMap too, which prevents memory leaks.
...
Ruby <2.7 does not allow non-finalizable objects to be WeakMap
keys: https://bugs.ruby-lang.org/issues/16035
We work around this by using a secondary map for Ruby <2.7 which
maps the non-finalizable integer to a distinct object.
For now we accept that the entries in the secondary map wil never
be collected. If this becomes a problem we can perform a GC pass
every so often that looks at the contents of the object cache to
decide what can be deleted from the secondary map.
4 years ago
Adam Cozzette
d7e943b8d2
Update protobuf version
4 years ago
Adam Cozzette
1af4657b80
Updated CHANGES.txt
4 years ago
Yuriy Chernyshov
09f94e7311
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).
4 years ago
Joshua Haberman
2ff31d34aa
Merge pull request #8330 from haberman/rubyfix
...
[Ruby] Fix for FieldDescriptor.get(msg).
4 years ago
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
4 years ago
Adam Cozzette
052dc799d2
Update protobuf version
4 years ago
Adam Cozzette
24d8a554ea
Updated CHANGES.txt
4 years ago
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.
4 years ago
Joshua Haberman
b12ab0cf53
Merge pull request #8320 from haberman/ruby-duration-fix
...
[Ruby] Fix for truncating behavior when converting Float to Duration.
4 years ago
Joshua Haberman
3b3aac95a6
[Ruby] Fix for truncating behavior when converting Float to Duration.
4 years ago
Joshua Haberman
4f961c8a70
Merge pull request #8313 from haberman/ruby-crash-fix
...
[Ruby] Bugfix for Message.[] for repeated or map fields.
4 years ago
Joshua Haberman
256f1327ea
[Ruby] Bugfix for Message.[] for repeated or map fields.
4 years ago
Adam Cozzette
ae50d9b990
Update protobuf version
4 years ago
Adam Cozzette
8260126500
Update protobuf version
4 years ago
Yuhanun Citgez
c741c46604
Resovled issue in the .pb.cc files
4 years ago
Yuhanun Citgez
eef276412e
Resolved an issue where NO_DESTROY and CONSTINIT were in incorrect order
4 years ago
Adam Cozzette
0040102e6f
Updated collect_all_artifacts.sh for Ubuntu Xenial
4 years ago
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.
4 years ago
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)).
4 years ago
Brecht Sanders
9a80cf1225
Update coded_stream.h
...
Fix for Windows build with MinGW-w64 compiler. Windows is assumed to always be little endian.
4 years ago
Joshua Haberman
a97c4f4f2c
Merge pull request #8276 from haberman/php-warning
...
Added more information to "file already loaded" warning.
4 years ago
Joshua Haberman
44cd75d215
Merge pull request #8282 from haberman/changelog
...
Added to the changelog entries for Ruby & PHP.
4 years ago
Joshua Haberman
c59e7f1c0c
Added to the changelog entries for Ruby & PHP.
4 years ago
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.
4 years ago
Joshua Haberman
db66c95eaf
Added more information to "file already loaded" warning.
...
Also changed it to zend_error() so it is more easily suppressed.
4 years ago
Adam Cozzette
66e5185780
Added PHP changes for 3.15.0 into package.xml
4 years ago
Adam Cozzette
42fea44a9c
Updated CHANGES.txt for the 3.15.0 release
4 years ago
Adam Cozzette
e9f2ef308c
Update protobuf version
4 years ago
Paul MARS
59b3d97f6d
Reserve extension id for protoc-gen-psql & protoc-gen-sanitize
4 years ago
Joshua Haberman
a530dbe50c
Merge pull request #8262 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
4 years ago
Joshua Haberman
e8aa635397
Tweak our JavaScript rewrites a bit to handle jspb.* imports.
4 years ago
Joshua Haberman
beb70bb83e
Change is_trivially_copy_assignable -> is_trivial too.
4 years ago
Joshua Haberman
fc1cfb0174
Also change is_trivially_copy_constructible to std::is_trivial.
4 years ago
Joshua Haberman
fae6773539
Fixed misspelling.
4 years ago
Joshua Haberman
b74892e9c3
Replace is_trivially_default_constructible with is_trivial for old libstdc++.
4 years ago
Joshua Haberman
7a92a5ab24
Added another missing CHANGES.txt entry.
4 years ago
Joshua Haberman
84320bf8e8
Added missing changelog entry.
4 years ago
Joshua Haberman
9194426bce
Added CHANGES.txt entries.
4 years ago
Joshua Haberman
09831d5bfe
Merge tag 'refs/tags/sync-piper' into sync-stage
4 years ago
Joshua Haberman
51daaba638
Sync from Piper @355707933
...
PROTOBUF_SYNC_PIPER
4 years ago
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
4 years ago
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.
4 years ago
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.
4 years ago
David L. Jones
ac63e80bbb
Enhance explanation in kokoro/README.md. ( #8253 )
4 years ago
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*.
4 years ago
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.
4 years ago