81 Commits (b0ed763a41600e646041c509ecaba06eb92234fc)

Author SHA1 Message Date
Eric Salo eb66ab601f update upb_Encode() to use arena api internally 2 years ago
Protobuf Team Bot 8c44f04697 create and lock down upb/internal/array.h 2 years ago
Protobuf Team Bot 1695cb2788 rename the upb_Array 'len' field as 'size' 2 years ago
Protobuf Team Bot e4635f223e match file names to type names 2 years ago
Protobuf Team Bot 65bde4e75b upb_Encode() now returns a status value 2 years ago
Joshua Haberman 05d23ea955 Fixed UBSAN errors. 3 years ago
Joshua Haberman 8ede0d552d Tests are passing. 3 years ago
Joshua Haberman 44363393f3 Backed out a functional refactoring. 3 years ago
Joshua Haberman 532dc1f0f0 Renamed a few more constants to the new style. 3 years ago
Joshua Haberman 826eca6742 Enabled ubsan tests and fixed ubsan failures. 3 years ago
Joshua Haberman dbec5d70cd Fixed UBSAN error: NULL + 0. 3 years ago
Joshua Haberman 5dfbc684dd WIP. 3 years ago
Joshua Haberman 606308c639 Added back missing underscore. 3 years ago
Joshua Haberman 75b6291e40 Renamed upb_FieldType_* -> kUpb_FieldType_* 3 years ago
Joshua Haberman 0c541f3305 Single encode. 3 years ago
Joshua Haberman 499c2cc8b1 upb_extreg, upb_msg 3 years ago
Joshua Haberman 1c955f37ce
Mass API rename and clang-reformat (#485) 3 years ago
Joshua Haberman 39365f16a7 Addressed PR comments. 3 years ago
Joshua Haberman a0374b3b08 Added required field checking into the encoder. 3 years ago
Stan Hu 4e8267e7e3
Fix big-endian encodings for fixed packed arrays 3 years ago
Joshua Haberman 8c916941b0 MSET -> MSGSET 3 years ago
Joshua Haberman 6f89034249 Implemented support for MessageSet. 3 years ago
Joshua Haberman b1bbbdd4e7 Addressed PR comments. 3 years ago
Joshua Haberman ce012b7b55 Added support for extensions. 3 years ago
Joshua Haberman 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 4 years ago
Joshua Haberman 3881393907 Renamed .int.h to _internal.h, for greater clarity. 4 years ago
Joshua Haberman 823eb09694 Update all 2011 dates to 2021. 4 years ago
Joshua Haberman e59d2c8fa7 Added license headers to all files. 4 years ago
Joshua Haberman 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 4 years ago
Esun Kim 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 4 years ago
Joshua Haberman 6c30b5fe73 Fixed upb encoder for field numbers > 2**28. 4 years ago
Joshua Haberman e9551022c1 Added depth limit checking to upb_encode(). 4 years ago
Joshua Haberman 76764643ac Added option to binary encoder to skip unknown fields. 4 years ago
Joshua Haberman a04627abc8 Added map sorting to binary and text encoders. 4 years ago
Joshua Haberman 358fa14d0e Fixed headers and updated benchmark script. 4 years ago
Joshua Haberman bc200451ce Use a macro instead of an inline function for setjmp/longjmp. 4 years ago
Joshua Haberman fbc0639b07 Use _setjmp on mac to avoid saving/restoring the signal mask. 4 years ago
Joshua Haberman 5741eb9ad7 Expanded benchmarking script and added one size opt to the encoder. 4 years ago
Joshua Haberman 0135399e60 Fixed bug introduced in refactoring. 4 years ago
Joshua Haberman df3438222b Notated impossible branch as unreachable. 4 years ago
Joshua Haberman 9b31e8fe12 Merged common encode tag paths. 4 years ago
Joshua Haberman 5d7dc718cc Minor formatting fix. 4 years ago
Joshua Haberman 80441e4eb4 Optimized binary encoder. 4 years ago
Joshua Haberman ada28896b9 Changed encoder to use longjmp() for error recovery. 4 years ago
Joshua Haberman efefbffc80 Fixed binary encoding and decoding for big-endian machines. 4 years ago
Joshua Haberman 6b808a4072 Fixed all UBSan issues and added UBSan CI checks. 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 5 years ago
Joshua Haberman 378cbbc3cc
Updated to new protobuf version, and added support for packed=false. (#264) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago