58 Commits (496e2fd55586c50805c10e30f0a2f8cb25b22218)

Author SHA1 Message Date
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
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
Mike Kruskal 2b011bc759 Internal changes 2 years ago
Eric Salo 0e76047f5f add defaults to the mini table scalar getter accessor functions 2 years ago
Eric Salo 75907f7af9 rename the upb_MiniTable subtypes to follow the upb style guide: 2 years ago