63 Commits (509125d990f371c75fbec8afd12a6683e981e463)

Author SHA1 Message Date
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
Joshua Haberman fa2481ddeb Unified accessor for WhichOneof(). 2 years ago
Protobuf Team Bot 9e9d43b462 Add support for promoting unlinked map fields from unknown to upb_Map. 2 years ago
Eric Salo 11fc16328a fix fuzzer failure due to a bad map descriptor 2 years ago
Eric Salo e6e48dfea3 another dart code generator snapshot 2 years ago
Eric Salo f458e05718 add some UPB_API / UPB_API_INTERNAL declarations 2 years ago
Joshua Haberman ca828897c2 Fixed a bug with maps on 32-bit machines. 2 years ago
Eric Salo bc15a2877a defrag the encoded field modifier bits 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
Eric Salo 4f098fd54c move the extension registry down into mini_table/ 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