43 Commits (a9c375f8ea81e52d832653c963da72033c9a98be)

Author SHA1 Message Date
Joshua Haberman d0c8bb84f4 WIP. 6 years ago
Joshua Haberman 380558922b test_encoder passes! Other tests still need to be fixed. 6 years ago
Joshua Haberman aa2d5a609b Fixed generated code for C++. 6 years ago
Joshua Haberman 10e682cf2a Added hazzers. 6 years ago
Joshua Haberman 6bcdaa1352 Changed generated array accessors to be more convenient. 6 years ago
Joshua Haberman 336402b4d7 WIP, core library compiles now. 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 7059be68ae Re-add message handlers to upb/handlers.*. 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 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
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 c850bc0a4e Moved upb_symtab to def.h/def.c. 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 3122535726 Fleshed out comments and removed some dead code. 8 years ago
Josh Haberman e977c0af03 Fixed more bugs surfaced by Travis. 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 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 51d4e295a4 Python: fleshed out accessors. 13 years ago
Joshua Haberman 6981e468a3 More work on Lua extension, and consequent core refactoring. 14 years ago
Joshua Haberman 56984e8db8 Significant work on Lua extension. 14 years ago
Joshua Haberman 10265aa56b Directory restructure. 14 years ago
Joshua Haberman 6a1f3a6693 Major refactoring: upb_string is gone in favor of upb_strref. 14 years ago
Joshua Haberman 559e23c796 Major refactoring: abandon upb_msg, add upb_accessors. 14 years ago
Joshua Haberman a503b8859c Make all handlers objects refcounted. 14 years ago
Joshua Haberman 0941664215 Add startseq/endseq handlers. 14 years ago
Joshua Haberman d619852e06 Change dispatcher error handling model. 14 years ago
Joshua Haberman 3231fd0fdd Vastly improved/simplified the upb_handlers API. 14 years ago
Joshua Haberman eb622c0531 Split upb_stream -> upb_bytestream/upb_handlers. 14 years ago
Joshua Haberman 7cf5893dcc Revise/clarify comment about clear() implementation. 14 years ago
Joshua Haberman 066d1e024c Speed up parsetostruct by using type-specialized callbacks. 14 years ago
Josh Haberman b796c1b317 Update copyright to be Google Inc. 14 years ago
Josh Haberman 8ef6873e0e upb_stream: all callbacks registered ahead-of-time. 14 years ago
Joshua Haberman a75a305c77 Implemented upb_stringsink, upb_msgtotext, and exposed the latter to Lua. 14 years ago