74 Commits (4d9a8cd67b19372c634480a5d80b202373e7d419)

Author SHA1 Message Date
Joshua Haberman 6f59f1256e Optimizations to descriptor loading. 4 years ago
Joshua Haberman d5096f9ee8 Fixed bug in addunknown and added ASAN poisoning. 4 years ago
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman b58d2a0ee6 Shrink overhead of message representation. 4 years ago
Joshua Haberman 6b808a4072 Fixed all UBSan issues and added UBSan CI checks. 5 years ago
Joshua Haberman 543a0ce8f2
Fixes for PHP. (#286) 5 years ago
Joshua Haberman 16facab490
Created an amalgamation without handlers, and fixed some bugs. (#283) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 5 years ago
Nicolas Noble 90b3a20af0
Making sure _upb_fieldtype_to_sizelg2 is readonly 5 years ago
Joshua Haberman ce1a399a19
Text format serializer for upb_msg (#242) 5 years ago
Joshua Haberman f9efbcd5d6 Added missing append fallback. 5 years ago
Joshua Haberman d541566a7b Moved upb_array_new() to upb/reflection.h where it belongs. 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 d6c3152c0b Added more Lua tests that are passing. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
Joshua Haberman dc58b657ee New reflection API doesn't need types as parameters for map/array. 5 years ago
Joshua Haberman c486da3970 WIP. 5 years ago
Joshua Haberman 1461da5056 WIP. 5 years ago
Esun Kim bc8b1a8f90 Fixed UBSAN issues 5 years ago
Joshua Haberman 283857f308 WIP. 6 years ago
Joshua Haberman da4e616860 Removed type from upb_array also. 6 years ago
Josh Haberman 932753d91e WIP. 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
Joshua Haberman f4532ab273 Properly align the arena. 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 950d7a9530 Fixed warnings. 6 years ago
Josh Haberman a105c015b1 Added support for unknown fields to upb_msg. 6 years ago
Josh Haberman 340bd01338 Removed default instance and oneof array from tables. 6 years ago
Josh Haberman e94ac4f757 Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}. 6 years ago
Joshua Haberman c8f6a27e6b Enforced that upb_msg lives in an Arena only, and other simplifying. 6 years ago
Bo Yang 1080117f2b Revert "Prepare upb_value for encoding/decoding map." 7 years ago
Bo Yang f30dd0ff0c Prepare upb_value for encoding/decoding map. 7 years ago
Bo Yang 0833cf29b3 Bytes type should return size of stringview 7 years ago
Bo Yang bc7f1eaca0 In case of circular dependency, layout has to be inserted first. 7 years ago
Bo Yang 719f644232 Field missing submsg and hasbit information. 7 years ago
Bo Yang cafebf6bee For encoding upb needs descriptor type instead of type. 7 years ago
Joshua Haberman be9094d91a New encode/decode: most (171 / 192) conformance tests pass. 8 years ago
Joshua Haberman 1278ff8994 Responded to PR comments. 8 years ago
Joshua Haberman c0a660f474 Added upb_stringview, the string representation for upb_msg. 8 years ago
Joshua Haberman 3e8acc3f4e Removed incorrect assert and added comments. 8 years ago
Joshua Haberman af43ea72b5 Removed incorrect assertion. 8 years ago
Joshua Haberman 2826811367 Responded to PR comments. 8 years ago
Josh Haberman 1aafd4111b A good start on upb_encode and upb_decode. 8 years ago
Joshua Haberman 9cb10577fc First version of a real C codegen for upb. 8 years ago
Joshua Haberman 76fcdd2ee9 Removed all upb_msgdef/upb_fielddef from upb_msg. 8 years ago
Joshua Haberman 1b9d37a00e Start migrating upb_msglayout to be suitable for generated code. 8 years ago
Josh Haberman 3b7dc27fb5 Fixed amalgamated build and added test. 8 years ago