70 Commits (e074c038c35e781a1876f8eb52b14f822ae2db66)

Author SHA1 Message Date
Joshua Haberman a6852ec919 Moved TypeScript direct bit read/writes to //third_party/upb/bits 1 year ago
Joshua Haberman 05ca7e37d0 Added a check to verify that the number of required fields does not exceed the maximum. 1 year ago
Eric Salo 0c2a2511a8 upb: implement IsExactlyEqual() for proto messages 1 year ago
Joshua Haberman 07f6b578ee Split mini_descriptor into its own directory 1 year ago
Jie Luo 3c76a26b36 internal change 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 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 3475ebec94 upb: move the split64 accessors out of upbc/ 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
Eric Salo 565c8fe66e upb: copy the wire decode recursion-depth-checking code to the wire encoder 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
Protobuf Team Bot e275be2830 Guard deep copy sub table check from other uses of submsg_index. 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 d5c22624fe Fix cloning of repeated upb_Array. 2 years ago
Protobuf Team Bot 3286f948f8 Implements upb_Message_DeepClone. 2 years ago
Eric Salo f9c91e3a1b lower the recursion limit again on fuzzer tests 2 years ago
Eric Salo c1727b730c enforce a recursion limit on fuzzer tests 2 years ago
Protobuf Team Bot 10e57c038a Fix Upb PromotoUnknownToMessage for OneOf fields. 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 7c18c2cae6 add another fuzzer test 2 years ago
Joshua Haberman df850c821e Fixed fuzz bug when map entry containing unknown fields spans buffers. 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
Mike Kruskal 63dc0ec567 Fix gcc < 11 breakages due to missing "stringop-overread" diagnostic 2 years ago
Joshua Haberman e41a2d7ba0 upb is self-hosting! 2 years ago
Eric Salo 87f9b868b8 update some more functions to match the accessor naming convention 2 years ago
Protobuf Team Bot b8f35b2628 Fix missing parameter lists. 2 years ago
Protobuf Team Bot c64f26e4fa Add missing “static” 2 years ago
Eric Salo c628e53dde upb_MiniTable_GetMutableMap() -> upb_Message_GetOrCreateMutableMap() 2 years ago
Joshua Haberman 7cd8f6c940 Ported more cases of wire format parsing to upb_WireReader. 2 years ago
Joshua Haberman 112f037da6 Migrated the text format encoder to upb_WireReader. 2 years ago
Joshua Haberman 75488a0742 Created a new upb_WireReader interface for parsing wire data directly. 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