28 Commits (0756999ab644d6849d9b100d81b937002435df12)

Author SHA1 Message Date
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman 5aa5b77b41 Added simple offset-based accessors for defs, and deprecated old iterators. 4 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 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
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 5 years ago
Joshua Haberman 5667a7a806 Removed stray assert, causing C90 build errors. 5 years ago
Joshua Haberman 23a5af3513 [json] fixed all remaining conformance bugs. 5 years ago
Joshua Haberman a292261aeb Added JSON decoder to conformance tests, and fixed tons of bugs. 5 years ago
Joshua Haberman d49c1db6c2 New JSON decoder, string->msg using reflection. 5 years ago
Joshua Haberman 1da9cfde77 A few bugfixes. 5 years ago
Joshua Haberman 4c6dcc3c6b
[textformat]: added missing newline when a message opens. (#245) 5 years ago
Joshua Haberman ce1a399a19
Text format serializer for upb_msg (#242) 5 years ago
Joshua Haberman c4b64e6a20 Slight simplification: NULL arena will avoid creating a new sub-object. 5 years ago
Joshua Haberman d541566a7b Moved upb_array_new() to upb/reflection.h where it belongs. 5 years ago
Joshua Haberman 520ddc1f11 c89 fixes. 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago
Joshua Haberman 7f5fe52dfa Fixes for non-C89 code. 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 626ec4bfcf Everything builds, test pass except test_decoder. 5 years ago
Joshua Haberman 5239655b99 WIP. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
Joshua Haberman 9a360ad43d Moved legacy_msg_reflection.{c,h} -> reflection.{c.h}. 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 2c3a28e411 Add -Wstrict-prototypes option 5 years ago
Joshua Haberman 283857f308 WIP. 6 years ago
Joshua Haberman da4e616860 Removed type from upb_array also. 6 years ago
Josh Haberman 0c64c4b594 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. 7 years ago