58 Commits (2bf53a558388bbbdc0c2620402ee863790ab50e3)

Author SHA1 Message Date
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
Eric Salo 85bf4677b2 lock down internal reflection 2 years ago
Eric Salo 41335a03be normalize upb_Message_New() 2 years ago
Joshua Haberman b33fd88ed3 Added function for getting the type of a MiniTable field 2 years ago
Joshua Haberman 185d4f09d9 Simplified extension table building slightly by avoiding direct mutation 2 years ago
Eric Salo 44916d7d27 create reflection_internal library 2 years ago
Eric Salo 52c1598554 add upb_EnumDef_IsClosed() 2 years ago
Joshua Haberman 5d0833f48c Removed obsolete exemption for closed enums 2 years ago
Eric Salo 0f585c69af stop requiring extension fields to have a synthetic oneof 2 years ago