Eric Salo
bc75a9be30
upb: remove the default arg from upb_Message_GetMessage()
...
PiperOrigin-RevId: 603225526
10 months ago
Eric Salo
f212cc23d7
upb: use upb_MessageValue in upb_Extension
...
PiperOrigin-RevId: 602785269
10 months ago
Eric Salo
7303758dd2
upb: factor out Java code for reading upb_Array data
...
PiperOrigin-RevId: 602461889
10 months ago
Eric Salo
98843d15ac
upb: attempt to reduce the direct use of UPB_PRIVATE() fields
...
PiperOrigin-RevId: 602270576
10 months ago
Eric Salo
7b6a845ab7
upb: implement immutability
...
PiperOrigin-RevId: 601848001
10 months ago
Eric Salo
5bded04d28
upb: add 'static' to UPB_FORCEINLINE()
...
PiperOrigin-RevId: 601525709
10 months ago
Eric Salo
953d521a04
upb: upb_Message_FindExtensionByNumber() no longer returns a (upb_Extension*)
...
PiperOrigin-RevId: 601494260
10 months ago
Joshua Haberman
ca5ca62fa6
Fixed a bug when deep copying a map field with a closed enum value.
...
PiperOrigin-RevId: 601195914
10 months ago
Eric Salo
9d625a1df7
upb: fix the map encoder to stop dying under ubsan
...
PiperOrigin-RevId: 601004095
10 months ago
Eric Salo
ed5eb924d7
upb: upb_Message_ExtensionByIndex() no longer returns a (upb_Extension*)
...
PiperOrigin-RevId: 600926618
10 months ago
Eric Salo
f9af78e7ee
upb: upb_MiniTable_GetOrPromoteExtension() no longer returns a (upb_Extension*)
...
PiperOrigin-RevId: 600662130
10 months ago
Eric Salo
07f784a2f3
upb: tag _upb_Message_GetOrCreateExtension() as UPB_PRIVATE()
...
PiperOrigin-RevId: 600653849
10 months ago
Eric Salo
373ffa6622
upb: tag _upb_Message_Getext() as UPB_PRIVATE()
...
PiperOrigin-RevId: 600639423
10 months ago
Eric Salo
7c5ff29979
upb: add upb_MiniTableExtension_CType()
...
PiperOrigin-RevId: 599313198
11 months ago
Eric Salo
72275ded70
upb: move upb_Message definition back into upb/message/
...
PiperOrigin-RevId: 598741329
11 months ago
Eric Salo
5c5f092606
upb: implement upb_Message
...
PiperOrigin-RevId: 597662892
11 months ago
Eric Salo
c7f44a02eb
upb: finish locking down the upb_Array internals
...
PiperOrigin-RevId: 597629658
11 months ago
Kevin King
4270f73aee
Add `upb_Array_GetMutable` accessor
...
PiperOrigin-RevId: 597573362
11 months ago
Protobuf Team Bot
d4dfb9c4a6
Add kUpb_DecodeOption_AlwaysValidateUtf8 decode option, to force UTF-8 validation of proto2 strings.
...
PiperOrigin-RevId: 597341799
11 months ago
Marcel Hlopko
36d344b63f
Automated rollback of commit 0ce457f6e7
.
...
PiperOrigin-RevId: 597327159
11 months ago
Eric Salo
b0d5ed8b08
upb: normalize some more function names
...
PiperOrigin-RevId: 597279852
11 months ago
Eric Salo
c026907a5d
upb: replace public universal hazzer with non-universal hazzers
...
PiperOrigin-RevId: 597126288
11 months ago
Protobuf Team Bot
0ce457f6e7
Adds mutable extension accessors to the codegen for upb C and adds a `::protos::MutableExtension` method to upb C++ for getting a mutable extension.
...
PiperOrigin-RevId: 597088960
11 months ago
Eric Salo
facf959a78
upb: tag upb_Array.data as UPB_ONLYBITS()
...
PiperOrigin-RevId: 597019522
11 months ago
Eric Salo
87618fcbdd
upb: remove duplicate typedef for upb_TaggedMessagePtr
...
PiperOrigin-RevId: 596706308
11 months ago
Eric Salo
c02f943f1a
upb: distinguish between fields and extensions in the public clear() accessors
...
PiperOrigin-RevId: 596588385
11 months ago
Protobuf Team Bot
f92ad8f1c9
Automated Code Change
...
PiperOrigin-RevId: 595841965
11 months ago
Eric Salo
9debd6b10a
upb: merge upb:message_accessors into upb:message
...
PiperOrigin-RevId: 595137531
11 months ago
Eric Salo
4ba7d27201
upb: implement _upb_Message_ClearOneofCase()
...
PiperOrigin-RevId: 595018281
11 months ago
Eric Salo
64dbf0dba4
upb: delete the aliases for upb:hash, upb:lex, upb:reflection_internal
...
PiperOrigin-RevId: 594992691
11 months ago
Eric Salo
f1b8f477d7
upb: factor out message internal data pointers
...
PiperOrigin-RevId: 594654099
11 months ago
Eric Salo
f0cf0b653c
upb: clean up and consolidate the upb/message/ build targets
...
PiperOrigin-RevId: 594514934
11 months ago
Eric Salo
1fc0e72416
upb: make :wire internal headers private
...
PiperOrigin-RevId: 594337191
11 months ago
Adam Cozzette
4ec9170bcd
Fix layering check for usage of gtest
...
To satisfy the layering check, we need to depend on :gtest for the headers, in
addition to :gtest_main which provides the main() function.
There are a bunch of formatting changes as a side effect of this, but they
should be harmless.
PiperOrigin-RevId: 594318263
11 months ago
Eric Salo
0eac807f3b
upb: delete the aliases for base:internal and mini_descriptor:internal
...
PiperOrigin-RevId: 594280505
11 months ago
Eric Salo
7e1fd68667
upb: clean up some of the includes in upb/message/
...
PiperOrigin-RevId: 594135760
11 months ago
Eric Salo
090c3adbf2
upb: start consolidating the upb/message/ build targets
...
PiperOrigin-RevId: 594074354
11 months ago
Eric Salo
e397296217
upb: restore the mini_table:internal target
...
PiperOrigin-RevId: 593870914
11 months ago
Eric Salo
0896146034
upb: make all mini_table/ includes unidirectional
...
PiperOrigin-RevId: 593859422
11 months ago
Eric Salo
3c3d77158f
upb: add :test_srcs targets for cmake on GH
...
PiperOrigin-RevId: 593854176
11 months ago
Eric Salo
2fb0b93d9d
upb: tighten up and lock down upb/wire/
...
PiperOrigin-RevId: 593821827
11 months ago
Eric Salo
b997cb6d8d
upb: add a non-void typedef for upb_Message
...
PiperOrigin-RevId: 592863926
11 months ago
Eric Salo
cdb078275d
upb: add more functions to bits/mini_table_field.h
...
PiperOrigin-RevId: 592847506
11 months ago
Eric Salo
de7f589d44
upb: eliminate :mini_table_internal
...
PiperOrigin-RevId: 592392732
12 months ago
Eric Salo
1587fefee7
upb: simplify upb_Map_Insert() down to upb_Map_Set() where possible
...
PiperOrigin-RevId: 592107014
12 months ago
Eric Salo
121896da15
upb: add upb_Message_ExtensionByIndex()
...
PiperOrigin-RevId: 592091162
12 months ago
Eric Salo
1f67b8dfe1
upb: tag upb_MiniTableField:offset as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592081461
12 months ago
Eric Salo
5b7bafc60e
upb: upb_Message_Extension -> upb_Extension
...
PiperOrigin-RevId: 592075816
12 months ago
Eric Salo
a4a98bdcc0
upb: tag upb_Array.size as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592035282
12 months ago
Eric Salo
088fee7f28
upb: implement upb_Message_FindExtensionByNumber()
...
PiperOrigin-RevId: 590420044
12 months ago