107 Commits (65cd34dd00f45eee93407c52eacb084db7906a78)

Author SHA1 Message Date
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. 7 years ago
Joshua Haberman 1278ff8994 Responded to PR comments. 7 years ago
Joshua Haberman c0a660f474 Added upb_stringview, the string representation for upb_msg. 7 years ago
Joshua Haberman 3e8acc3f4e Removed incorrect assert and added comments. 7 years ago
Joshua Haberman af43ea72b5 Removed incorrect assertion. 7 years ago
Joshua Haberman 2826811367 Responded to PR comments. 7 years ago
Josh Haberman 1aafd4111b A good start on upb_encode and upb_decode. 7 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
Josh Haberman 47da2afd52 Make upb::SymbolTable no longer reference-counted. 8 years ago
Josh Haberman 6cccfe1649 Addressed PR comments. 8 years ago
Josh Haberman 15c388b819 Basic serialization for upb_msg and Lua. 8 years ago
Josh Haberman 2b77da3da8 Update for final PR comments. 8 years ago
Josh Haberman 949aeee3f1 Changes for PR comments. 8 years ago
Josh Haberman 62472c1161 Suppress warnings on 32-bit for this dead code for now. 8 years ago
Josh Haberman 16ca9309b3 Removed some temporary code and fixed a few tests. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 8 years ago
Josh Haberman 7d3e2bd2c4 Sync with 8 months of Google-internal development. 12 years ago
Joshua Haberman 86bad61b76 Sync from internal Google development. 13 years ago
Joshua Haberman 1bcab1377d Sync with internal Google development. 13 years ago
Joshua Haberman b5f5ee867e Refinement of upb_bytesrc interface. 13 years ago
Joshua Haberman 887abe669f Added an example, constified some more methods. 13 years ago
Joshua Haberman 621c0cdcb5 Const invasion: large parts of upb made const-correct. 13 years ago
Joshua Haberman adb6580d97 Let the JIT emit hasbit-setting code in addition to calling a callback. 13 years ago
Joshua Haberman 06b8181f97 Benchmark to parse into proto2 messages. 13 years ago