30 Commits (3d511104acf016e1cd3ca9352193c5aeb00d4aa4)

Author SHA1 Message Date
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. 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 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
Joshua Haberman 4d65852909 Rearrange structs to put arrays at the end, for smaller offsets. 14 years ago
Joshua Haberman 6b574175dd Prevent the default message from getting mutated. 14 years ago
Joshua Haberman fd184f0df2 Major work on Lua extension and default values. 14 years ago
Joshua Haberman d8b2154862 First version of an assembly language decoder. 14 years ago
Joshua Haberman 6bdbb45e88 Merged core/ and stream/ -> src/. The split wasn't worth it. 14 years ago
Joshua Haberman f858a8f287 Precompute bit offset and bitmask for a small perf improvement. 14 years ago
Joshua Haberman 4667ed4be9 All tests pass again, valgrind-clean! Next up: benchmarks. 14 years ago
Joshua Haberman 806ba1c80d Another round of fixes. 14 years ago
Joshua Haberman 3affb31926 Tons of work: we're close to passing test_vs_proto2 again. 14 years ago
Joshua Haberman 8465e5e650 Gutted upb_msg a bit, re-adding only the essentials. 14 years ago