Commit Graph

8375 Commits

Author SHA1 Message Date
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
Deanna Garcia
726241fca1 Changing structure to have kotlin submodules 2021-03-30 17:40:25 +00: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
Deanna Garcia
438d777e05 Adding file names to cmake files 2021-03-24 20:00:57 +00: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
Deanna Garcia
2c9aca5382 Adding another file to the makefile 2021-03-23 22:24:49 +00:00
Deanna Garcia
0454655fb0 updating typo in makefile 2021-03-23 22:16:06 +00:00
Deanna Garcia
6f5c6eb7ce Merge branch 'kotlinProtos' of https://github.com/deannagarcia/protobuf into kotlinProtos 2021-03-23 20:58:14 +00:00
Deanna Garcia
e263c7e9d6 Updating the makefile with new files 2021-03-23 20:57:58 +00:00
deannagarcia
87faccd18e
Merge branch 'master' into kotlinProtos 2021-03-23 13:47:07 -07:00
Deanna Garcia
1949746e9c Commit with --kotlin_out working 2021-03-23 20:10:53 +00: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
Joshua Haberman
77334e39a7 Merge tag 'refs/tags/sync-piper' into sync-stage 2021-03-22 13:05:55 -07:00
Deanna Garcia
751d05caf7 Fixing core ExtendableMessageExtension 2021-03-20 00:42:59 +00:00
Deanna Garcia
eef241890a Adding most recent work 2021-03-18 23:52:11 +00:00
Adam Cozzette
617e255617
Merge pull request #8409 from srago/protoc-fix
add error returns missing from protoc to prevent it from exiting with…
2021-03-18 14:11:58 -07:00
Adam Cozzette
f57940391c
Merge pull request #8408 from PatriosTheGreat/master
Fix -Wsuggest-destructor-override for generated C++ proto classes.
2021-03-18 08:46:19 -07:00
Levon Ter-Grigoryan
53b0cce27b Fix -Wsuggest-destructor-override for generated C++ proto classes. 2021-03-17 20:17:06 +01:00
Steve Rago
57e09ad848 add error returns missing from protoc to prevent it from exiting with a successful return value when writing the zip file fails 2021-03-17 10:31:03 -04:00
Adam Cozzette
4c5465e5fe
Merge pull request #8402 from acozzette/merge-3-15-x
Merge 3.15.x into master branch
2021-03-16 11:01:34 -07:00
Adam Cozzette
f9c7b5a284
Merge pull request #8407 from reznikmm/patch-1
Add protobuf for Ada
2021-03-16 10:14:17 -07:00
Maxim Reznik
b4cddb71d6
Add protobuf for Ada 2021-03-16 18:44:23 +02:00
Adam Cozzette
3a127ae4fb
Merge pull request #7744 from Yannic/bazel_bench
[bazel] Add BUILD files for benchmark protos
2021-03-16 09:28:06 -07:00
Adam Cozzette
146d579738
Merge pull request #8405 from Yannic/status-del-error
Make util::Status more similar to absl::Status
2021-03-15 13:37:06 -07:00
Adam Cozzette
4f8fef0a86
Merge pull request #8319 from elharo/patch-4
deps: update JUnit and Truth
2021-03-15 13:13:28 -07:00
Adam Cozzette
ee35b2da4b
Merge pull request #8374 from igor-sirotin/feature/cmake-protoc-options
[CMake] Abilty to pass options to protoc executable from cmake
2021-03-15 12:51:13 -07:00
Adam Cozzette
28dbe3b09b
Merge pull request #8285 from s1341/master
Fix missing -llog when compiling for android
2021-03-15 11:34:59 -07:00
Deanna Garcia
73e0e7af12 Removing target folder 2021-03-15 18:29:03 +00:00
Yannic Bonenberger
3a7bd9c236 Make util::Status more similar to absl::Status
Progress on #3688
2021-03-14 13:47:33 +01:00
Yannic Bonenberger
ef70abad8a Restrict visibility and add target for C++ benchmark 2021-03-14 10:58:03 +01:00
Yannic Bonenberger
c5abd97e36 [bazel] Add BUILD files for benchmark protos
This change adds BUILD files to //benchmarks that allow
users to consume the .proto files in that directory
to run benchmarks (e.g. for custom generators).
2021-03-13 16:50:24 +01:00
Adam Cozzette
9db84d08fb Merge branch '3.15.x' into merge-3-15-x 2021-03-12 15:05:10 -08:00
Adam Cozzette
f154323fa6
Merge pull request #8287 from dlj-NaN/mergeable-autotools
Add autotools to release notes languages.
2021-03-12 13:56:36 -08:00
Adam Cozzette
9ad97629be
Merge pull request #8354 from Yannic/refactor_status
[C++] Refactor util::Status
2021-03-12 11:01:00 -08:00
Adam Cozzette
50dd5b903c
Merge pull request #8396 from Yannic/del-flag
[bazel] Remove deprecated way to depend on googletest
2021-03-12 09:13:13 -08:00
Joshua Haberman
80fe990b6a
Merge pull request #6073 from tenderlove/compaction-friendly
Register mark objects so Protobuf is compaction friendly
2021-03-11 10:55:15 -08:00
Adam Cozzette
6aa539bf01 Update protobuf version 2021-03-10 14:53:26 -08:00
Adam Cozzette
971a5935ed Updated CHANGES.txt and PHP changelog for 3.15.6 2021-03-10 14:53:26 -08:00
Aaron Patterson
addd0615bf
Register mark objects so Protobuf is compaction friendly
This commit removes an unused reference and registers globals with the
GC so that they will never die.  Ruby is getting a compacting GC, and it
means that these references can move.  Registering them with
`rb_gc_register_mark_object` will ensure the constants don't move and
will not be collected.
2021-03-10 13:54:04 -08:00
chenzhihui
43aca57613 Allocate extension 1108 to Kratos API Errors 2021-03-10 08:20:18 -08:00