76 Commits (1fc983f35f54c6c37065fb46210a6da456b0fde6)

Author SHA1 Message Date
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
Joshua Haberman 382f92a87f Maps encode and decode successfully! 5 years ago
Joshua Haberman 4c57b1fefd More progress on Lua extension. 5 years ago
Joshua Haberman dc58b657ee New reflection API doesn't need types as parameters for map/array. 5 years ago
Esun Kim 3838f62aa5 Fixed ubsan error on memmove 5 years ago
Esun Kim bc8b1a8f90 Fixed UBSAN issues 5 years ago