Eric Salo
1f67b8dfe1
upb: tag upb_MiniTableField:offset as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592081461
12 months ago
Eric Salo
a4a98bdcc0
upb: tag upb_Array.size as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592035282
12 months ago
Eric Salo
fa62c92071
upb: stop generating hazzers for repeated fields
...
PiperOrigin-RevId: 591299107
12 months ago
Eric Salo
0755621dd2
Automated rollback of commit 3c75c331d3
.
...
PiperOrigin-RevId: 588239901
1 year ago
Eric Salo
3c75c331d3
upb: inline upb_Message_New()
...
PiperOrigin-RevId: 588189563
1 year ago
Eric Salo
b64c6e193b
upb: implement upb_Message_ShallowClone()/Copy()
...
PiperOrigin-RevId: 588088145
1 year ago
Eric Salo
848a2bfd41
upb: tag upb_MiniTableField:number as UPB_ONLYBITS()
...
PiperOrigin-RevId: 587127664
1 year ago
Eric Salo
0e6607a5c9
upb: tag upb_MiniTableField:mode as UPB_ONLYBITS()
...
PiperOrigin-RevId: 587022805
1 year ago
Mike Kruskal
cba41100fb
Force plugins to specify their edition support window.
...
This is similar to what we did for built-in generators, and gives us the ability to create a new edition without subtley breaking generators that don't support it yet.
PiperOrigin-RevId: 586756816
1 year ago
Eric Salo
bb5322a194
upb: lock down upb_MiniTable (mostly)
...
PiperOrigin-RevId: 586542236
1 year ago
Eric Salo
d0c85637e7
upb: lock down upb_MiniTableSub
...
PiperOrigin-RevId: 586187469
1 year ago
Eric Salo
19ef3a58cf
upb: lock down MiniTableField
...
PiperOrigin-RevId: 586171362
1 year ago
Eric Salo
21133d554f
upb: lock down upb_MiniTableExtension
...
PiperOrigin-RevId: 585817227
1 year ago
Eric Salo
f6b38b5838
upb: lock down upb_MiniTableEnum
...
PiperOrigin-RevId: 585733953
1 year ago
Eric Salo
3ce2c573b3
upb: start to lock down upb_Array
...
PiperOrigin-RevId: 585696951
1 year ago
Eric Salo
7fa050d8c1
upb: move IsSubMessage() and IsRepeatedOrMap() from mini_table/internal/field.h
...
PiperOrigin-RevId: 584082079
1 year ago
Kevin King
9b8b2760f8
Move MessageInit function to cc_library
...
This allows rust generator to use this function directly in order to generate symbol names for Message MiniTables.
PiperOrigin-RevId: 584054361
1 year ago
Protobuf Team Bot
2a2ae9b176
Remove unused ext_scope variable from ExtensionIdentBase.
...
PiperOrigin-RevId: 581979197
1 year ago
Hong Shin
b837d17d2c
Update to shortened headers in upb_generator
...
PiperOrigin-RevId: 580281151
1 year ago
Joshua Haberman
cf3a6f5868
Enabled editions support for upb generated code.
...
This required enabling the feature in the code generator and fixing a few edge cases around label and type.
Also added tests to verify the special cases, and to verify that required fields work as expected.
PiperOrigin-RevId: 580263087
1 year ago
Eric Salo
9a610f02f8
upb: delete unused function in the C code generator
...
PiperOrigin-RevId: 578873644
1 year ago
Jakob Buchgraber
ebdd7e3eb6
Add private accessors for maps to be used by Rust's Map implementation.
...
PiperOrigin-RevId: 577749942
1 year ago
Eric Salo
c20b337221
upb: remove redundant #includes from the foo.upbdefs.h gencode
...
PiperOrigin-RevId: 576883852
1 year ago
Eric Salo
a286c9b56d
upb: create upb/reflection/BUILD
...
PiperOrigin-RevId: 576631037
1 year ago
Eric Salo
90a7de5063
upb: use upb_c_proto_library() instead of upb_proto_library()
...
PiperOrigin-RevId: 574674453
1 year ago
Eric Salo
f0392ecc42
upb: s/std::endl/'\n' in upb_generator
...
PiperOrigin-RevId: 572511446
1 year ago
Eric Salo
c38ba8d8be
upb: unroll a loop in upb_generator that only needs to iterate once
...
PiperOrigin-RevId: 572332570
1 year ago
Eric Salo
745eff7951
upb: fix staleness tests
...
PiperOrigin-RevId: 572051108
1 year ago
Eric Salo
5b6543edb5
upb: first attempt at implementing name mangling for minitable symbols
...
PiperOrigin-RevId: 571636273
1 year ago
Protobuf Team Bot
e912bc2e3a
Internal change
...
PiperOrigin-RevId: 570208557
1 year ago
Adam Cozzette
12c7bb0750
Rename `upbc` to `upb_generator`
...
This makes the file layout a bit more consistent with the `protos ->
protos_generator` pattern. I also replaced the `upbc` namespace with
`upb::generator`.
PiperOrigin-RevId: 569264372
1 year ago