36 Commits (dbbc4a30f92738358156738fc3ba2a115bdb29bc)

Author SHA1 Message Date
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 6c10ce248d Removed old ResizeArray() API per TODO 2 years ago
Jie Luo 62f1470f09 -Make message CopyFrom() call UPB code instead of default implementation for python UPB 2 years ago
Eric Salo 48e3272a2a upb: fix SetInt32 accessor to also work on enum ctypes 2 years ago
Joshua Haberman 55cfaf3e0c Moved promotion-related accessors to a separate file. 2 years ago
Joshua Haberman a49ff5513e Split out `message/accessors_internal.h` and added `upb_Arena` assertions. 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
Protobuf Team Bot 9d2b5d1716 Add upb_MiniTable_FindUnknown depth_limit parameter. 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
Protobuf Team Bot 10e57c038a Fix Upb PromotoUnknownToMessage for OneOf fields. 2 years ago
Mike Kruskal 63dc0ec567 Fix gcc < 11 breakages due to missing "stringop-overread" diagnostic 2 years ago
Eric Salo 87f9b868b8 update some more functions to match the accessor naming convention 2 years ago
Eric Salo c628e53dde upb_MiniTable_GetMutableMap() -> upb_Message_GetOrCreateMutableMap() 2 years ago
Eric Salo 1e28a99baa fix broken Dart unit tests 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
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 abed1995a9 implement some simple array accessors for Dart 2 years ago
Eric Salo 4f8734694c rename the array accessors to match the other accessors 2 years ago
Protobuf Team Bot 85fcfcb792 Fix a param naming issue for upb_Message_InsertMapEntry. Should just be mini_table instead of map_entry_mini_table 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
Protobuf Team Bot 9e89142283 Add upb_MiniTableField_IsClosedEnum API. 2 years ago
Eric Salo 3bac8780cb normalize most of the message accessors: 2 years ago
Eric Salo a07c5d3fe8 snapshot some pending dart work 2 years ago
Eric Salo f458e05718 add some UPB_API / UPB_API_INTERNAL declarations 2 years ago
Joshua Haberman 2272970a94 Unified ClearField 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 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
Eric Salo f6307877d3 move portability stuff into upb/port/ 2 years ago
Eric Salo fd14316f38 create collections/ subdir for all array and map code 2 years ago
Eric Salo c033eff26f split apart mini_table.c into a new subdir 2 years ago
Protobuf Team Bot aabb2b62ae Add upb_Message_DeleteUnknown API. 2 years ago
Joshua Haberman d5bd55cde1 Treat unlinked sub-messages in the MiniTable as unknown 2 years ago
Protobuf Team Bot 0c6531378d Merge GetEnum into GetInt32. Rename SetEnum to SetEnumProto2 to be clear that upb only treats Proto2 enum as enum. Proto3 enums should use SetInt32. 2 years ago
Protobuf Team Bot e09d6fcb6d Update mini table API comment 2 years ago
Protobuf Team Bot e4635f223e match file names to type names 2 years ago
Protobuf Team ba18b21b01 Allow GetMessage API to be used for Groups. 3 years ago
Protobuf Team b28d80a9cc Fix GetMutableMessage not updating presence and storing new instance. 3 years ago
Protobuf Team 459059e301 Add Extensions to mini table based reflection apis. 3 years ago
Protobuf Team c7620a4690 Mini table accessors Part2 (repeated fields). 3 years ago