6 Commits (5ae9efc02ce0d4ff21d8e3ef6c60582e6a89d8ef)

Author SHA1 Message Date
Eric Salo 7fa050d8c1 upb: move IsSubMessage() and IsRepeatedOrMap() from mini_table/internal/field.h 1 year ago
Eric Salo 8849deab91 upb: implement some upb_FieldType and upb_CType functions 1 year ago
Protobuf Team Bot e6ea44c911 Fix upb_MiniTable_GetOneof(miniTable, field) to work correctly if `field` is the very first field in the proto. 1 year ago
Eric Salo e56a9099f0 upb: minimize uses of :message_types 1 year ago
Eric Salo 5b6543edb5 upb: first attempt at implementing name mangling for minitable symbols 1 year ago
Adam Cozzette 501ececd39 Reorganize upb file structure 1 year ago
Adam Cozzette 0d1ba13e83 Move everything into new upb/ directory 1 year ago
Eric Salo eb9e33ec42 upb: remove <stddef.h> and <stdlib.h> from port/def.inc 1 year ago
Eric Salo 21ecc29ed0 upb: fix the leaking port defs 1 year ago
Eric Salo 6d458db48b upb: dedup upb/message/ 1 year ago
Protobuf Team Bot c552102d66 No public description 1 year ago
Adam Cozzette 5aca728f72 Reformat copyright headers 1 year ago
Eric Salo e1e8f1e222 upb: create upb/base/BUILD 1 year ago
Protobuf Team Bot f67198ffef Add struct tag to upb_MiniTable usages in upb/mini_table/internal/file.h 1 year ago
Joshua Haberman 79af13abde Use filegroup() internally instead of pkg_files() 1 year ago
Joshua Haberman a6852ec919 Moved TypeScript direct bit read/writes to //third_party/upb/bits 1 year ago
Joshua Haberman 07f6b578ee Split mini_descriptor into its own directory 1 year ago
Joshua Haberman 34a770d13e Refactored mini_table targets into their own BUILD file. 1 year ago
Protobuf Team Bot 532b4d0671 Fix `upb_MiniTableField_CType()` to work correctly for enums & strings. 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 5c85a9f4f4 Refactor upb_MtDataEncoder_PutField() into several helper functions. 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
Joshua Haberman a918473c65 Implemented scalar fields for upb.js and Dart+upb.js. 2 years ago
Mike Kruskal d260ab343e Add windows CI 2 years ago
Eric Salo 4e25ba4575 consolidate the field type stuff 2 years ago
Eric Salo b7dcc1cf4c implement upb_MiniTable_FindFieldByIndex() 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 c4b98ddfb5 implement a function to register a single extension 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
Protobuf Team Bot 0ccf6fd717 Fix upb_MiniTable_NextOneofField comment. 2 years ago
Protobuf Team Bot 067dfeacfd Implement UPB OneOf MiniTable apis. 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
Joshua Haberman 003ecb3125 Rolling forward: expanded GCC diagnostic pragmas to cover all of accessors.h. 2 years ago
Protobuf Team Bot 565b28c0d1 Unified accessor API for repeated field getters and setters. 2 years ago
Joshua Haberman 48ad4bbd0f Unified accessor API for repeated field getters and setters. 2 years ago
Joshua Haberman 0f938ec4df Unified accessor API for map getters and setters. 2 years ago
Eric Salo 0623093498 speed up upb_MiniTable_FindFieldByNumber() 2 years ago
Joshua Haberman e34e3bd328 Unified accessor API for map getters and setters. 2 years ago
Joshua Haberman 45dfd77d87 Unified accessor API for map getters and setters. 2 years ago
Eric Salo 9ab09b47fa fix unset mini table field presence bug 2 years ago