Commit Graph

8094 Commits

Author SHA1 Message Date
Matt Fowles Kulukundis
d7deb5e36f
Merge pull request #8496 from olejniczak/master
#8492 constexpr defaulted default constructor of WrappedMutex
2021-04-14 16:39:23 -04:00
Przemyslaw Olejniczak
1a371f628c constexpr defaulted default constructor of WrappedMutex causes compile errors #8492 2021-04-14 17:26:32 +02:00
James D
68cb69ea68
Fix source gem compilation (#8471)
* Select appropriate protoc binary for gem build

This should allow gem installation when
`bundle config force_ruby_platform true` has been set.

It has the unfortunate side effect of printing the protoc version during
build, but a quiet cross-platform solution is more complicated.

* Add path to wyhash header for source gem compilation
2021-04-12 10:06:44 -07:00
Dor
ee04809540
Use a newer version of rules_proto, with the new rule proto_descriptor_set (#8469) 2021-04-09 11:12:25 -07:00
Adam Cozzette
017599b450
Merge pull request #8470 from acozzette/merge-3-15-x
Merge 3.15.x into master
2021-04-08 13:24:32 -07:00
Adam Cozzette
5679811239 Merge branch '3.15.x' into merge-3-15-x 2021-04-08 10:54:02 -07:00
Matt Fowles Kulukundis
049e05f052
Merge pull request #8467 from SR-Lut3t1um/patch-1
[documentation] [java] Fixed version for gradle in java Readme.md
2021-04-08 09:26:57 -04:00
Tobias Liese
1db2b662de
Fixed version for gradle in java Readme.md
Looks like this was forgotten by the last time this was edited.
2021-04-08 10:48:22 +02:00
Adam Cozzette
436bd7880e
Updated version to 3.15.8 (#8463)
* Update protobuf version

* Updated CHANGES.txt and package.xml for 3.15.8
2021-04-07 15:38:38 -07:00
Matt Fowles Kulukundis
c2148566c7
Merge pull request #8327 from alkasm/alkasm/method-desc-copy-to-proto
[python-runtime] Add MethodDescriptor.CopyToProto()
2021-04-07 16:02:22 -04:00
Joshua Haberman
1ed9a8b521
Merge pull request #8461 from haberman/ruby-arena-memory-leak
Fixed memory leak of Ruby arena objects.
2021-04-07 11:25:42 -07:00
Joshua Haberman
67fee915e0 Fixed memory leak of Ruby arena objects.
In our free() method, we were freeing the memory from the
upb arena but we were failing to free the memory for the
Ruby arena object. This was causing every Ruby arena object
to leak: even though the objects were getting GC'd, the
underlying memory was not getting released.
2021-04-07 10:30:51 -07:00
Alexander Reynolds
3c782fc3d6 Remove py impl skip for method desc CopyToProto test 2021-04-07 02:21:46 -07:00
Chris Rebert
9d175493a3 addressbook.proto: Enable java_multiple_files option
And update the java_package value accordingly.
Enabling java_multiple_files is preferred nowadays.
Refs CL 348101638 which updates the tutorial accordingly.
2021-04-06 10:07:52 -07:00
Jan Tattermusch
053966b495
Emulated python aarch64 tests (#8392)
This runs basic python aarch64 tests under qemu emulator, but uses artifacts that can be cross-built by a host compiler.
2021-04-05 14:12:54 -07:00
Adam Cozzette
c9343864a2
Merge pull request #8447 from acozzette/merge-3-15-x
Merge 3.15.x into the master branch
2021-04-02 15:51:34 -07:00
Adam Cozzette
600799912a Revert "[C++] Refactor uint128 (#8416)"
This reverts commit b604419d26.
2021-04-02 15:49:06 -07:00
Adam Cozzette
87aa9adb86 Merge branch 'master' into 3.15.x 2021-04-02 14:55:02 -07:00
Derek Perez
97cb3a862f
Merge pull request #8444 from perezd/sync-stage
Integrate from Piper for C++, Java, and Python
2021-04-02 11:22:40 -07:00
Adam Cozzette
878be3569e Update protobuf version 2021-04-02 11:06:56 -07:00
Adam Cozzette
c00c2d43bb Updated CHANGES.txt and package.xml with changes for 3.15.7 2021-04-02 11:06:56 -07:00
Derek Perez
361308c4f2 fix wrapping of line in CHANGES.txt 2021-04-01 21:15:38 +00:00
Derek Perez
9147109854 editing CHANGES.txt 2021-04-01 20:49:42 +00:00
David L. Jones
f82e268ed7 Remove references to stale benchmark data sources. 2021-04-01 12:21:02 -07:00
David L. Jones
240e54efe5 Remove references to stale benchmark data sources. 2021-04-01 12:19:10 -07:00
Joshua Haberman
f3f8707ba5
Merge pull request #8434 from haberman/ruby-message-eq
Fixed message equality in cases where the message type is different.
2021-04-01 12:16:53 -07:00
Derek Perez
49ed194e88 Merge tag 'refs/tags/sync-piper' into sync-stage 2021-04-01 18:49:53 +00:00
Derek Perez
4008d229aa Sync from Piper @366297034
PROTOBUF_SYNC_PIPER
2021-04-01 18:49:52 +00:00
Joshua Haberman
38e1b59258 Elided the TYPE() and msgdef checks by using CLASS_OF. 2021-04-01 10:22:35 -07:00
deannagarcia
c3f4b108b3
Changing codespell and mergeable ymls to prepare for opensourcing kotlin protos (#8442) 2021-04-01 09:46:58 -07:00
cfredri4
c47ebfd82b
Fix maven URL (#8440) 2021-03-31 13:47:47 -07:00
aaron ai
62c402ae37
Add 'java/lite/target' to .gitignore (#8439) 2021-03-31 11:03:01 -07:00
Joshua Haberman
e9360dfa53
Merge pull request #8437 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2021-03-30 13:41:33 -07:00
Joshua Haberman
7224406161 Updated CHANGES.txt for sync. 2021-03-30 12:38:52 -07:00
Joshua Haberman
c0c6cad184 Merge tag 'refs/tags/sync-piper' into sync-stage
# Conflicts:
#	src/google/protobuf/stubs/statusor.h
2021-03-30 12:37:32 -07:00
Joshua Haberman
4a6dc34d3a Sync from Piper @365872496
PROTOBUF_SYNC_PIPER
2021-03-30 12:37:31 -07:00
Yannic
b604419d26
[C++] Refactor uint128 (#8416)
* [C++] Refactor uint128

This makes it compatible with absl::uint128

* Remove use of absl

* Add header to test

* Exclude typetraits tests from gcc < 5
2021-03-30 11:28:50 -07:00
Jan Tattermusch
0ebbd7d7c3
Enable crosscompiling aarch64 python wheels under dockcross manylinux docker image (#8280)
This uses the dockcross manylinux docker image to enable crosscompiling aarch64 python wheels. The wheels built for aarch64 linux are excluded from the release for now, pending testing (pending, in PR#8392).
2021-03-29 19:04:16 -07:00
Joshua Haberman
d69f482883 Fixed message equality in cases where the message type is different.
If the message types are different, equality comparison must return
false.
2021-03-29 17:37:36 -07:00
Joshua Haberman
a38319b5c4
Merge pull request #8429 from haberman/ruby-gc-secondarymap
Fix unbounded memory growth for Ruby <2.7.
2021-03-29 13:31:28 -07:00
Joshua Haberman
2fe27d8764 Addressed PR comments and fixed a bug.
We now hold the mutex for both map insertions, to protect
against a concurrent GC that removes from the seconary map
before we can insert into the weak map.
2021-03-29 12:30:49 -07:00
Joshua Haberman
e1ac393725 Added some more comments and refactored slightly. 2021-03-25 11:54:50 -07:00
Joshua Haberman
f0d6fcb2da Wrap secondary map mutations in a mutex, to avoid mutation races. 2021-03-25 11:54:50 -07:00
Joshua Haberman
b75a49f9e0 GC secondary map periodically. 2021-03-25 11:54:50 -07:00
Esun Kim
aedb8d726c
Added UnsafeByteOperations to protobuf-lite (#8426) 2021-03-24 13:13:26 -07:00
David L. Jones
25968de87a
Remove the ::pb namespace (alias). (#8423)
This closes #8349, although we will probably still pursue some other name in the future.
2021-03-23 19:58:29 -07:00
Yannic
4b770cabd7
[C++] Refactor StatusOr and StringPiece (#8406)
* [C++] Refactor StatusOr and StringPiece

This change makes `StatusOr` and `StringPiece` more like
`absl::StatusOr` and `{absl,std}::string_view`.

Note that there is more work required before the Abseil types can be
used as drop-in replacement.

Progress on #3688

* Fix more errors

* Fix test

* Remove some asserts

* Delete outdate example
2021-03-23 11:54:09 -07:00
Joshua Haberman
5941bd1198
Merge pull request #8422 from haberman/sync-stage
Integrate from Piper for C++, Java, and Python
2021-03-22 18:05:16 -07:00
Joshua Haberman
9daba367f4 Updated changelog. 2021-03-22 16:29:46 -07:00
Joshua Haberman
96307d28f6 Sync from Piper @364389596
PROTOBUF_SYNC_PIPER
2021-03-22 13:05:55 -07:00