66 Commits (e074c038c35e781a1876f8eb52b14f822ae2db66)

Author SHA1 Message Date
Jason Lunn 01fed1cc1b Expose methods needed by Ruby FFI using UPB_API (#1391) 1 year ago
Joshua Haberman 07f6b578ee Split mini_descriptor into its own directory 1 year ago
Pierre Hallot edbbb1581b [C++20 build failure, Clang 15] Fix ambiguous-reversed-operator warning (#1199) 1 year ago
Joshua Haberman 47c9298ab9 Give generated_code_support.h its own forwarding header. 2 years ago
Protobuf Team Bot 532b4d0671 Fix `upb_MiniTableField_CType()` to work correctly for enums & strings. 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
Joshua Haberman b81ae408b0 Fixed the upb.lexan build: 2 years ago
Eric Salo 9253c42843 add error check for duplicate oneof field names 2 years ago
Eric Salo e860867804 upb_MiniTableExtension_Build() -> upb_MiniTableExtension_Init() 2 years ago
Eric Salo a3f5ee3a5b detect and reject repeated field numbers within a oneof 2 years ago
Matt Kulukundis 808706b3f1 Fix comments and cosmetic restructure. 2 years ago
Joshua Haberman bc569098dc Fixed the initialization sequence for MiniTables. 2 years ago
Joshua Haberman 6e1cbdfe09 Added fuzzer for descriptor parsing/serialization, and fixed several bugs. 2 years ago
Eric Salo 0cc83d1adf split apart constructors for extensions vs non-extensions 2 years ago
Eric Salo 37de88c212 add proto2-related flags to enum and field def structs 2 years ago
Eric Salo b29761fece add return codes to upb_MiniTable_SetSubMessage/Enum() 2 years ago
Protobuf Team Bot dacd802c2e Avoid automatic variables in functions using setjmp. 2 years ago
Adam Cozzette 6d397d0ad5 Roll-forward of: Add retention and target attributes to descriptor.proto 2 years ago
Joshua Haberman e41a2d7ba0 upb is self-hosting! 2 years ago
Joshua Haberman 204b9eeffa Added UPB_DESC() macro for all bootstrap references to proto symbols. 2 years ago
Joshua Haberman fa2481ddeb Unified accessor for WhichOneof(). 2 years ago
Eric Salo 1b0b06f082 allow reserved enums to be negative 2 years ago
Eric Salo 3bac8780cb normalize most of the message accessors: 2 years ago
Eric Salo 3f1c7f121b update PHP and Ruby to use the new accessors, delete the old ones 2 years ago
Eric Salo b747edb830 append "ByDef" to names of message accessors that use reflection 2 years ago
Eric Salo 0a2c988286 fix some mini_table function names to match the upb style guide: 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 03b1dee5cc implement upb_Map_Next() as the new upb_Map iterator 2 years ago
Protobuf Team Bot f3a0cc49da Internal Change. 2 years ago
Eric Salo 384ffc0af8 implement reserved names and ranges for messages and enums 2 years ago
Eric Salo 27d70edfe2 clean up the :mini_table build target 2 years ago
Eric Salo 70566461f9 replace and repair the integer hash table iterator: 2 years ago
Eric Salo b3cb3fbea8 create upb/hash/ 2 years ago
Eric Salo ff8e1b40ba create base/ subdir and expand :status build target to :base 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
Joshua Haberman 115b878a5c Optimization: do not generate oneofs for proto3 optional fields. 2 years ago
Eric Salo d9b6f13cde remove upb_MtDataEncoder from the public surface 2 years ago
Eric Salo c033eff26f split apart mini_table.c into a new subdir 2 years ago
Eric Salo 5c646803ef implement mini descriptors for message sets 2 years ago
Eric Salo 20310e2f3a implement mini descriptors for maps 2 years ago
Eric Salo 6f68ba1350 upb: fail if a message set contains any sub-fields 2 years ago
Eric Salo 067c7aa3f1 check for malformed map entries 2 years ago
Eric Salo 36ce2fa7d1 add version/tag chars to the start of all mini descriptors 2 years ago
Eric Salo df34b04658 make upb_ExtensionRegistry_AddArray() and upb_ExtensionRegistry_Lookup() public 2 years ago
Eric Salo 40998462d6 add upb_MtDataEncoder_EncodeExtension() 2 years ago