3 Commits (e074c038c35e781a1876f8eb52b14f822ae2db66)

Author SHA1 Message Date
Joshua Haberman 05ca7e37d0 Added a check to verify that the number of required fields does not exceed the maximum. 1 year ago
Joshua Haberman dbbc4a30f9 Split mini_descriptor/decode.c into several smaller files. 1 year ago
Joshua Haberman 07f6b578ee Split mini_descriptor into its own directory 1 year ago
Joshua Haberman a0f520dc75 Added a new dynamic tree shaking model to upb, with the intention of removing the old model once YouTube has migrated. 2 years ago
Joshua Haberman 18b98a8ec1 Give sub-messages and sub-enums distinct initialization code paths. 2 years ago
Eric Salo 70b92e6cd1 upb: fix cut-and-paste error in upb_MiniTable_Link() 2 years ago
Joshua Haberman 339fdb5e7b Hide `upb_MiniTableField.descriptortype` with `UPB_PRIVATE()` macro 2 years ago
Joshua Haberman df93cf65a2 Hide upb_MiniTableField.submsg_index with new `UPB_PRIVATE()` macro 2 years ago
Eric Salo 4e25ba4575 consolidate the field type stuff 2 years ago
Protobuf Team Bot fdb45f0da0 Quiet -Wsign-compare errors 2 years ago
Joshua Haberman 56c4a42cdd Added new APIs for linking a MiniTable all at one time 2 years ago
Eric Salo 19c4e62875 add constructors for mini table extensions 2 years ago
Eric Salo e860867804 upb_MiniTableExtension_Build() -> upb_MiniTableExtension_Init() 2 years ago
Protobuf Team Bot a0fbbd6b2d Avoid automatic variables in functions using setjmp. 2 years ago
Joshua Haberman f8a3e0d684 Avoid reading uninitialized memory when validating MiniTable. 2 years ago
Joshua Haberman 518e19dc63 Fixed fuzz bug by further validating map entries. 2 years ago
Eric Salo 68e3662a9c fix fuzzer test w/nested maps 2 years ago
Eric Salo b29761fece add return codes to upb_MiniTable_SetSubMessage/Enum() 2 years ago
Joshua Haberman a5e337f88c Allow dynamic tree shaking for groups, and disallow groups for map entry sub-messages. 2 years ago
Eric Salo 9ab09b47fa fix unset mini table field presence bug 2 years ago
Eric Salo 11fc16328a fix fuzzer failure due to a bad map descriptor 2 years ago
Joshua Haberman ca828897c2 Fixed a bug with maps on 32-bit machines. 2 years ago
Eric Salo 32f28fcdc6 remove 'platform' param from upb_MiniTable_Build() 2 years ago
Eric Salo 0a2c988286 fix some mini_table function names to match the upb style guide: 2 years ago
Joshua Haberman 9c6223c058 Unified all hazzers to use MiniTable accessors 2 years ago
Joshua Haberman d22d6d71ed Refactored message accessors to share a common set of functions instead of duplicating logic. 2 years ago
Eric Salo 27d70edfe2 clean up the :mini_table build target 2 years ago
Eric Salo ff8e1b40ba create base/ subdir and expand :status build target to :base 2 years ago
Eric Salo 75907f7af9 rename the upb_MiniTable subtypes to follow the upb style guide: 2 years ago
Eric Salo f6307877d3 move portability stuff into upb/port/ 2 years ago
Eric Salo f409c9985b create mem/ subdir for all arena code 2 years ago
Eric Salo c033eff26f split apart mini_table.c into a new subdir 2 years ago
Eric Salo 5c646803ef implement mini descriptors for message sets 2 years ago
Eric Salo cb5be728d7 fix bug in mini descriptor map decoder 2 years ago
Eric Salo 20310e2f3a implement mini descriptors for maps 2 years ago
Eric Salo 36ce2fa7d1 add version/tag chars to the start of all mini descriptors 2 years ago
Eric Salo 40998462d6 add upb_MtDataEncoder_EncodeExtension() 2 years ago
Eric Salo 1a3803ce8b dead code elimination 2 years ago
Eric Salo 85f7d2d065 set kUpb_EncodedValue_MaxField to its correct value 2 years ago
Protobuf Team Bot 3faf958b3d Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Eric Salo 65946dc0e7 kUpb_EncodedType_Enum -> kUpb_EncodedType_OpenEnum 2 years ago
Protobuf Team Bot 41686adf0f Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Protobuf Team Bot bc2022ae86 Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Joshua Haberman b33fd88ed3 Added function for getting the type of a MiniTable field 2 years ago
Joshua Haberman 30a28f3d3a Removed kUpb_FieldRep_Pointer as a distinct FieldRep, saving a bit in the MiniTable 2 years ago
Eric Salo efd06e46a4 use mini descriptors to build message defs and extension defs 2 years ago
Joshua Haberman ba511fd425 Added a size overflow check for mini-table building 2 years ago
Joshua Haberman 6795ec13b4 Fixed fuzz bug in MiniDescriptor parsing for extensions. 2 years ago
Joshua Haberman 896e74c141 Optimizes `upb_MiniTable_Enum` for large but dense enums. 2 years ago
Joshua Haberman 5a7644b2d0 Fixed fuzz bug in upb. 2 years ago