21 Commits (178f8db655c7bcf73b19df55839d546e7e0b5b7e)

Author SHA1 Message Date
Protobuf Team Bot 347ac4ac3b Don't add LayoutItems for non-oneof fields. This simplifies the code, and since the vast majority of messages don't have oneof, should also speed things up. 3 months ago
Protobuf Team Bot a7db4a7b2b Remove unnecessary offsets field from LayoutItem, and instead assign it directly to the minitable fields 3 months ago
Protobuf Team Bot c6a452aa7c Don't sort fields when assigning offsets. 3 months ago
Protobuf Team Bot 79fbab0b65 Fix inadvertent sorting order of message memory layout 3 months ago
Protobuf Team Bot ce9071a708 Cut the size of upb_LayoutItem from 12 bytes to 6. 3 months ago
Taylor Cramer 653f511ad4 Build with -Wundef (#17845) 3 months ago
Joshua Haberman 85c7cc24e0 Add an indirection to sub-messages pointers to allow for static tree shaking. 9 months ago
Protobuf Team Bot cbfb6991f3 Add api to trace message allocations. 12 months ago
Protobuf Team Bot 52f9ea88d8 No longer allow minidescriptors to accept message fields tagged as proto3 scalar (implicit presence) 1 year ago
Eric Salo 72275ded70 upb: move upb_Message definition back into upb/message/ 1 year ago
Eric Salo 5c5f092606 upb: implement upb_Message 1 year ago
Eric Salo 1f67b8dfe1 upb: tag upb_MiniTableField:offset as UPB_ONLYBITS() 1 year ago
Eric Salo b64c6e193b upb: implement upb_Message_ShallowClone()/Copy() 1 year ago
Eric Salo 848a2bfd41 upb: tag upb_MiniTableField:number as UPB_ONLYBITS() 1 year ago
Eric Salo 0e6607a5c9 upb: tag upb_MiniTableField:mode as UPB_ONLYBITS() 1 year ago
Eric Salo bb5322a194 upb: lock down upb_MiniTable (mostly) 1 year ago
Eric Salo d0c85637e7 upb: lock down upb_MiniTableSub 1 year ago
Eric Salo 19ef3a58cf upb: lock down MiniTableField 1 year ago
Eric Salo 21133d554f upb: lock down upb_MiniTableExtension 1 year ago
Eric Salo 7fa050d8c1 upb: move IsSubMessage() and IsRepeatedOrMap() from mini_table/internal/field.h 1 year ago
Adam Cozzette 501ececd39 Reorganize upb file structure 1 year ago
Hong Shin fab6920207 Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full. 1 year ago
Joshua Haberman 0f02930475 Added field-level control over UTF-8 enforcement, and started respecting `enforce_utf8` in google3. 1 year ago
Adam Cozzette 7286ffceb2 Merge the protobuf and upb Bazel repos 1 year ago
Adam Cozzette 047df98dea Move upb-x/ back to upb/ 2 years ago
Adam Cozzette 895f190bda Move upb to upb-x 2 years ago
Adam Cozzette 1ba80d7424 Move upb-temp/ back to upb/ 2 years ago
Adam Cozzette d38b8561e6 Move upb/ to upb-temp/ 2 years ago
Adam Cozzette 6fc87fe3f7 Internal change 2 years ago
Protobuf Team Bot cab6c3e223 Internal change 2 years ago
Adam Cozzette 0d1ba13e83 Move everything into new upb/ directory 2 years ago
Adam Cozzette 5aca728f72 Reformat copyright headers 2 years ago
Joshua Haberman 05ca7e37d0 Added a check to verify that the number of required fields does not exceed the maximum. 2 years ago
Joshua Haberman dbbc4a30f9 Split mini_descriptor/decode.c into several smaller files. 2 years ago
Joshua Haberman 07f6b578ee Split mini_descriptor into its own directory 2 years 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