Protobuf Team Bot
a3c33a87c1
Auto-generate files after PR #10291
10 months ago
Jean byroot Boussier
87cbdddbf0
Ruby implement memsize functions for native types ( #10291 )
...
Fix: https://github.com/protocolbuffers/protobuf/issues/10280
This allows Ruby to report a more correct estimation of the memory used by these objects.
It's useful when running memory profilers against applications.
cc @zhangskz @haberman
Closes #10291
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10291 from casperisfine:ruby-sizes 9150795328
PiperOrigin-RevId: 606718632
10 months ago
Joshua Haberman
f824f6d0d7
Moved ObjectCache into an internal module.
...
This type has always been internal-only, but moving it to a module named `Internal` will make this clearer.
PiperOrigin-RevId: 606649281
10 months ago
aiuto
3ab1276bbb
Update Bazel references to rules_pkg to the supported file locations. ( #15780 )
...
WIP: I want to see this pass CI first.
Fixes : #15779
3 scripted transforms:
```
-load("@rules_pkg//:mappings.bzl", ...)
+load("@rules_pkg//pkg:mappings.bzl", ...)
```
```
-load("@rules_pkg//:pkg.bzl", "pkg_tar")
+load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
```
```
-load("@rules_pkg//:pkg.bzl", "pkg_zip")
+load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
```
Closes #15780
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15780 from aiuto:rules_pkg a630276341
PiperOrigin-RevId: 606641398
10 months ago
Protobuf Team Bot
1eaba72b7c
Auto-generate files after cl/606340283
10 months ago
Protobuf Team Bot
b184cdd59d
Auto-generate files after cl/606282881
10 months ago
Protobuf Team Bot
56409303b1
Auto-generate files after cl/606262924
10 months ago
Protobuf Team Bot
e3dcdfddcf
Auto-generate files after cl/605718863
10 months ago
Protobuf Team Bot
b3878b5ae3
Auto-generate files after cl/605413999
10 months ago
Protobuf Team Bot
4687ef335f
Auto-generate files after cl/603225526
10 months ago
Protobuf Team Bot
6f6d9b02e0
Auto-generate files after cl/603158026
10 months ago
Protobuf Team Bot
b931e79862
Auto-generate files after cl/603136385
10 months ago
Protobuf Team Bot
4df6e042ec
Auto-generate files after cl/602785269
10 months ago
Protobuf Team Bot
fd82df7dba
Auto-generate files after cl/602461889
10 months ago
Protobuf Team Bot
94f759bb79
Auto-generate files after cl/602270576
10 months ago
Protobuf Team Bot
886a0b15cd
Auto-generate files after cl/601848001
10 months ago
Protobuf Team Bot
1d143b5d7e
Auto-generate files after cl/601525709
10 months ago
Protobuf Team Bot
c13512aee3
Auto-generate files after cl/601494260
10 months ago
Protobuf Team Bot
570c386f5e
Auto-generate files after cl/601195914
10 months ago
Protobuf Team Bot
3d7e4d6347
Auto-generate files after cl/601004095
10 months ago
Protobuf Team Bot
64441a20d3
Auto-generate files after cl/600926618
10 months ago
Protobuf Team Bot
9ffbe84cba
Auto-generate files after cl/600653849
10 months ago
Protobuf Team Bot
23c618aa7d
Auto-generate files after cl/600639423
10 months ago
Protobuf Team Bot
fe6a601598
Auto-generate files after cl/599313198
10 months ago
Protobuf Team Bot
c12c96e194
Auto-generate files after cl/598741329
11 months ago
Protobuf Team Bot
03440ec744
Auto-generate files after cl/597662892
11 months ago
Protobuf Team Bot
81e5433f5c
Auto-generate files after cl/597629658
11 months ago
Protobuf Team Bot
06327f0a7c
Auto-generate files after cl/597573362
11 months ago
Protobuf Team Bot
41c8f2a5c6
Auto-generate files after cl/597378801
11 months ago
Protobuf Team Bot
1610bf149e
Auto-generate files after cl/597341799
11 months ago
Protobuf Team Bot
6820a563e2
Auto-generate files after cl/597327159
11 months ago
Protobuf Team Bot
9bee747dcf
Auto-generate files after cl/597279852
11 months ago
Protobuf Team Bot
8c1f635716
Auto-generate files after cl/597126288
11 months ago
Protobuf Team Bot
408b497d4e
Auto-generate files after cl/597088960
11 months ago
Protobuf Team Bot
afd94185f7
Auto-generate files after cl/597019522
11 months ago
Protobuf Team Bot
f2c187df28
Auto-generate files after cl/596962024
11 months ago
Joshua Haberman
dbd4dcede0
Breaking Change: Removed `syntax` and added `has_presence?`/`is_packed?`.
...
Closes #15313
PiperOrigin-RevId: 596962024
11 months ago
Protobuf Team Bot
e1253cd905
Auto-generate files after cl/596706308
11 months ago
Protobuf Team Bot
4e90eadcb3
Auto-generate files after cl/596588385
11 months ago
Protobuf Team Bot
1a21cb57b7
Auto-generate files after cl/596390524
11 months ago
Eric Salo
d228a44a2f
upb: fix some more compiler warnings in Ruby about missing return values
...
PiperOrigin-RevId: 596390202
11 months ago
Joshua Haberman
a8b8ea02b7
Breaking Change: fixed json_encode/json_decode to use the message's pool.
...
This bug arises only in the uncommon case where there is more than one DescriptorPool. In such a case, JSON encode/decode should always use the pool of the message being encoded/decoded, not the generated pool.
Closes #15281
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15281 from protocolbuffers:ruby-json-pool-fix 91e2dc55dc
PiperOrigin-RevId: 596027770
11 months ago
Joshua Haberman
31313b1652
Breaking Change: freeze is now recursive, affecting all sub-messages, maps, and repeated fields.
...
PiperOrigin-RevId: 595779782
11 months ago
Protobuf Team Bot
7e32450ccd
Auto-generate files after cl/595733611
11 months ago
Joshua Haberman
fd699383f4
Breaking Change: Fixed inconsistencies in `Message#to_h`, [as previously announced]( https://protobuf.dev/news/2023-12-27/ ).
...
Fixes: https://github.com/protocolbuffers/protobuf/issues/6167
PiperOrigin-RevId: 595733611
11 months ago
Eric Salo
df57e5474b
upb: fix Ruby bug which allowed map.delete(key) on a frozen map
...
Also clean up some compiler warnings about exiting from non-void functions without returning a value.
PiperOrigin-RevId: 595185251
11 months ago
Protobuf Team Bot
3d9916caca
Auto-generate files after cl/595137531
11 months ago
Protobuf Team Bot
18d4a7651b
Auto-generate files after cl/595018281
11 months ago
Protobuf Team Bot
de5ea1e6a4
Auto-generate files after cl/595002227
11 months ago
Protobuf Team Bot
cb8a31ee3d
Auto-generate files after cl/594992691
11 months ago