Commit graph

1332 commits

Author SHA1 Message Date
Protobuf Team Bot
1fb9da4690 Auto-generate files after cl/852971617 2026-01-07 00:15:14 +00:00
Mikita Belahlazau
4f076d951f Add metadata annotations for generated Python protobuf symbols.
The pyi generator now includes Kythe annotations for:
*   Extension field constants (e.g., `EXTENSION_FIELD`).
*   Field number constants (e.g., `STRING_FIELD_FIELD_NUMBER`).
*   `Create` methods in generated Stubby client classes.

These annotations allow the Python indexer to link these generated symbols back to their definitions in the `.proto` files.

PiperOrigin-RevId: 852971617
2026-01-06 16:05:56 -08:00
Protobuf Team Bot
262d725988 Auto-generate files after cl/852733884 2026-01-06 13:36:57 +00:00
Protobuf Team Bot
ae67a4c195 Internal version update.
PiperOrigin-RevId: 852733884
2026-01-06 05:27:44 -08:00
Protobuf Team Bot
0fa45b23bd Auto-generate files after cl/850517623 2025-12-30 23:04:15 +00:00
Joshua Haberman
00d838bb19 Make it a runtime flag whether we treat closed enums as open.
PiperOrigin-RevId: 850517623
2025-12-30 14:54:58 -08:00
Joshua Haberman
8d8e1689e2 Added a test that verifies existing enum behavior for Ruby.
Note that this is a behavior where JRuby "native" has different behavior than CRuby or JRuby FFI.

The CRuby / FFI behavior is a longstanding nonconformance, which is to treat all enums as open. While this is nonconformant, we keep this behavior because it is more useful than respecting closed enum semantics.

PiperOrigin-RevId: 850508608
2025-12-30 14:17:56 -08:00
Protobuf Team Bot
667f9ed4b9 Auto-generate files after cl/850499478 2025-12-30 21:48:55 +00:00
Protobuf Team Bot
d6d140725c Auto-generate files after cl/850455994 2025-12-30 18:55:40 +00:00
Protobuf Team Bot
fa88f3233e Auto-generate files after cl/850183045 2025-12-30 00:09:28 +00:00
Protobuf Team Bot
50d0621623 Auto-generate files after cl/850054867 2025-12-29 15:50:34 +00:00
Protobuf Team Bot
e3699ac3d6 Auto-generate files after cl/848335540 2025-12-24 00:52:13 +00:00
Hong Shin
66a9ea7540 update min mac ver from 11 to 12
PiperOrigin-RevId: 845329387
2025-12-16 10:18:38 -08:00
Protobuf Team Bot
6a5ed9baee Auto-generate files after cl/845310735 2025-12-16 17:48:52 +00:00
Protobuf Team Bot
4a51f4c61f Auto-generate files after cl/844954831 2025-12-16 00:10:20 +00:00
Protobuf Team Bot
a93c97116f Auto-generate files after cl/843422118 2025-12-12 00:47:32 +00:00
Protobuf Team Bot
0702b2670c Auto-generate files after cl/841908347 2025-12-08 22:20:53 +00:00
Protobuf Team Bot
c3e1ff2240 Auto-generate files after cl/840754379 2025-12-05 17:29:10 +00:00
Protobuf Team Bot
bc4c3969cf Auto-generate files after cl/840754103 2025-12-05 17:24:05 +00:00
Protobuf Team Bot
da6697b18d Auto-generate files after cl/840516478 2025-12-05 04:31:23 +00:00
Protobuf Team Bot
f48933b9d5 Auto-generate files after cl/839759685 2025-12-03 16:17:54 +00:00
Protobuf Team Bot
37347884d6 Auto-generate files after cl/839467196 2025-12-03 00:30:45 +00:00
Protobuf Team Bot
6a0214ffe2 Auto-generate files after cl/839454443 2025-12-02 23:53:28 +00:00
Protobuf Team Bot
da53310d24 Auto-generate files after cl/838981114 2025-12-02 00:57:00 +00:00
Will Noble
c74584a3a9 Move Ruby conformance tests to dedicated directory (#24487)
Closes #24486.

Closes #24487

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/24487 from ouillie:main b910ec08f7
PiperOrigin-RevId: 837191288
2025-11-26 11:12:35 -08:00
Protobuf Team Bot
7b1cebdd10 Auto-generate files after cl/836967473 2025-11-26 07:33:43 +00:00
Protobuf Team Bot
8d112830bf Auto-generate files after cl/836947107 2025-11-26 06:31:09 +00:00
Protobuf Team Bot
d3128cf5d0 Auto-generate files after cl/836941433 2025-11-26 06:09:39 +00:00
Protobuf Team Bot
b803dbd793 Auto-generate files after cl/836930111 2025-11-26 05:27:13 +00:00
Protobuf Team Bot
4ce74c30f9 Auto-generate files after cl/836921286 2025-11-26 05:07:17 +00:00
Protobuf Team Bot
363da84627 Auto-generate files after cl/836703461 2025-11-25 17:53:57 +00:00
Protobuf Team Bot
82e9677502 Auto-generate files after cl/834892836 2025-11-20 21:50:10 +00:00
Protobuf Team Bot
42418ee1f3 Auto-generate files after cl/834872749 2025-11-20 20:59:10 +00:00
Protobuf Team Bot
e656a9777c Auto-generate files after cl/834496697 2025-11-20 01:00:11 +00:00
Protobuf Team Bot
c5a3ba105b Auto-generate files after cl/834415733 2025-11-19 21:26:17 +00:00
Protobuf Team Bot
96d0875b12 Auto-generate files after cl/834093313 2025-11-19 04:53:34 +00:00
Protobuf Team Bot
049b6d6696 Auto-generate files after cl/833991536 2025-11-18 23:34:04 +00:00
Protobuf Team Bot
31310e4fbb Auto-generate files after cl/833458789 2025-11-17 21:08:50 +00:00
Protobuf Team Bot
fb99bd2a06 Auto-generate files after cl/833329706 2025-11-17 15:38:52 +00:00
Joshua Haberman
2ad03aa1d0 Pack the field array and the subs array into one block of contiguous memory.
Instead of giving every MiniTable two parallel arrays (fields and subs), we now have one block of memory that contains both lists.

For sub-message or enum fields, the `upb_MiniTableField` now contains a byte offset to where the `upb_MiniTable*` or `upb_MiniTableEnum*` can be found.

The new design offers several benefits:

1. The sub-table requires fewer pointer-chasing indirections to find.
2. We no longer need the `upb_MiniTable*` to find the sub-MiniTable -- the `upb_MiniTableField*` is enough now.  So APIs like `upb_MiniTable_GetSubMessageTable()` now require fewer parameters.
3. This unifies fields and extensions -- both can now find a sub-table using exactly the same code, with no need to distinguish between them.

We still benefit from having two lists.  If we tried to put the sub-table pointer directly into `upb_MiniTableField`, it would double the size of `upb_MiniTableField` from 12 to 24 bytes, due to alignment.  Using the current design, sub-message fields only take 20 bytes, while others take 12, so this design is an improvement even if 100% of fields are sub-message fields.

PiperOrigin-RevId: 833329706
2025-11-17 07:29:38 -08:00
Protobuf Team Bot
00a9043d0d Auto-generate files after cl/831396179 2025-11-12 16:30:28 +00:00
Protobuf Team Bot
f986a5e3b1 Auto-generate files after cl/830474777 2025-11-10 17:33:26 +00:00
Protobuf Team Bot
791c139bd8 Auto-generate files after cl/830414655 2025-11-10 14:49:04 +00:00
Protobuf Team Bot
c657b59bf6 Auto-generate files after cl/829733308 2025-11-08 08:30:39 +00:00
Protobuf Team Bot
870918e5e3 Auto-generate files after cl/829708292 2025-11-08 06:39:13 +00:00
Protobuf Team Bot
646db956e9 Auto-generate files after cl/829698259 2025-11-08 05:55:12 +00:00
Protobuf Team Bot
b2c1743083 Auto-generate files after cl/829158111 2025-11-07 00:55:31 +00:00
Protobuf Team Bot
7de0f39675 Auto-generate files after cl/829036706 2025-11-06 19:37:10 +00:00
Protobuf Team Bot
b36df3c84a Auto-generate files after cl/825620726 2025-10-29 18:20:56 +00:00
Protobuf Team Bot
85010b5721 Auto-generate files after cl/823692538 2025-10-24 23:01:23 +00:00