58 Commits (94ece045526ce9b7518c46df76fced4b766ed53d)

Author SHA1 Message Date
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
Joshua Haberman da4e616860 Removed type from upb_array also. 6 years ago
Joshua Haberman cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) 6 years ago
Joshua Haberman 928ef7f2c0
Removed reflection and other extraneous things from the core library. (#158) 6 years ago
Josh Haberman 9ea6bb4678 Renamed upb_stringview -> upb_strview for C terseness. 6 years ago
Josh Haberman b79fd65a83 WIP. 6 years ago
Josh Haberman a105c015b1 Added support for unknown fields to upb_msg. 6 years ago
Josh Haberman 4a7bc85d72 Fixed some c89 errors. 6 years ago
Josh Haberman 340bd01338 Removed default instance and oneof array from tables. 6 years ago
Joshua Haberman f7713ebc39 Changed C API to use inline functions and computed offsets. 6 years ago
Joshua Haberman 694d51f4d6 Changed C API to only define structs, a table, and a few minimal inline functions. 6 years ago
Josh Haberman e94ac4f757 Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}. 6 years ago
Bo Yang e06cc3d7cc e->limit is invalidated after growing. 7 years ago
Bo Yang dfe7d3a374 swap condition branches to remove negation 7 years ago
Bo Yang ba93474aa2 Fix oneof encoding/decoding 7 years ago
Bo Yang 8c6d0e5545 Conversion from uint64 to uint32 didn't consider sign bit. 7 years ago
Bo Yang cafebf6bee For encoding upb needs descriptor type instead of type. 7 years ago
Joshua Haberman 72c333eb03 Fixed amalgamated build. 7 years ago
Joshua Haberman 058a17f6a6 Fix amalgamated build. 7 years ago
Joshua Haberman 6b87674221 Address review comments and fix compile warnings. 7 years ago