189 Commits (b4dec6b897dcce0116e6afb09ef17ca8b7fcb3d7)

Author SHA1 Message Date
Paul Yang 13c59cb051
Implement json decoding for Any message. (#130) 6 years ago
Josh Haberman a7ebe54eb1 Conformance tests work under Bazel. 6 years ago
Paul Yang 706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. (#126) 6 years ago
Josh Haberman b290a5dd65 Disabled another Lua test for the time being. 6 years ago
Josh Haberman 340bd01338 Removed default instance and oneof array from tables. 6 years ago
Joshua Haberman ba03d65a8f Removed unused variable. 6 years ago
Joshua Haberman f7713ebc39 Changed C API to use inline functions and computed offsets. 6 years ago
Joshua Haberman 694d51f4d6 Changed C API to only define structs, a table, and a few minimal inline functions. 6 years ago
Joshua Haberman b6a92a93c6 More work on CMake build, and updated conformance for proto3. 6 years ago
Joshua Haberman b7cad62b5f Got CMake build working on macOS, and updated CMake build. 6 years ago
Joshua Haberman c8f6a27e6b Enforced that upb_msg lives in an Arena only, and other simplifying. 6 years ago
Bo Yang 72e66e2b55 Enable ignore unknown field in json parsing 7 years ago
Josh Haberman cea737028f Added google/protobuf/descriptor.upb.* to core. 7 years ago
Bo Yang d9eca86091 Modify selector base in tests/json/test.upbdefs.cc 7 years ago
Joshua Haberman 6b87674221 Address review comments and fix compile warnings. 8 years ago
Joshua Haberman 806ffc1d20 Responded to PR comments. 8 years ago
Joshua Haberman 15308afff2 Fixes for oneof conformance tests. 8 years ago
Joshua Haberman b697882fb2 Fixed varint length when buffer is reallocated. 8 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
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 1b9d37a00e Start migrating upb_msglayout to be suitable for generated code. 8 years ago
Josh Haberman c909a7aa6e Deleted some dead code related to varint decoding. 8 years ago
Josh Haberman 5aa01b46e4 A couple more fixes. 8 years ago
Josh Haberman 693b841ec6 Removed all code for adding extensions to upb_symtab. 8 years ago
Josh Haberman 629b4ce621 Ripped out complicated and unused code for replacing defs in a symtab. 8 years ago
Josh Haberman 47da2afd52 Make upb::SymbolTable no longer reference-counted. 8 years ago
Josh Haberman 15c388b819 Basic serialization for upb_msg and Lua. 8 years ago
Josh Haberman 949aeee3f1 Changes for PR comments. 8 years ago
Josh Haberman ff99b3f46b Fixed some bugs surfaced by Travis. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 8 years ago
HATATANI Shinta 1b4fc46f87 Fix glibc coupling in test 8 years ago
Josh Haberman af79bfb919 Some refcounting fixes. 8 years ago
Josh Haberman 074a050bb1 Added support for loading oneofs from descriptors. 8 years ago
Josh Haberman 8b6e2113b0 WIP. 8 years ago
Joshua Haberman fa338b70a6 Added UPB_ASSERT() that helps avoid unused var warnings. 9 years ago
Joshua Haberman ac2689cec7 Put oneofs in the same table as fields. (#60) 9 years ago
Joshua Haberman e6fa3f9d86 Changed schema for JSON test to be defined in a .proto file. (#54) 9 years ago
Joshua Haberman 68bc62a7fa Split upb::Arena/upb::Allocator from upb::Environment. (#58) 9 years ago
Joshua Haberman 89197b9358 JSON parser: always accept both name variants, flag controls which we generate. 9 years ago
Josh Haberman 8823fa6069 Refactored upb_def_freeze() a bit per PR comments. 9 years ago
Josh Haberman f8c26358f0 Changes for PR comments. 9 years ago
Josh Haberman e9d79d2441 Added upb::FileDef, which represents the file defs are declared in. 9 years ago
Josh Haberman f9afc3e55b Changed JSON parser/printer to correctly camelCase names. 9 years ago
Josh Haberman 1e870951d7 Refer to a shared definition for max buffered bytes. 9 years ago
Josh Haberman 146a9c22ef Added lots of decoder tests and fixed lots of bugs. 9 years ago
Josh Haberman 7c6a763bd8 Fix from google3: memory leak caught by heapcheck. 9 years ago
Josh Haberman 85440108e5 More decoder fixes, and slightly changed parse call semantics. 9 years ago
Josh Haberman fe427341f2 Decoder fix: skipped data at end of submessage. 10 years ago