79 Commits (a73ae437869089bcea8af2e85bb41a07aea27422)

Author SHA1 Message Date
Joshua Haberman cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) 6 years ago
Josh Haberman 22ad7121c2 Fixes for google3. 6 years ago
Josh Haberman c1706e0a7c Added a few more missing functions. 6 years ago
Josh Haberman afdd4698ba Added missing fielddef function implementations for C++. 6 years ago
Josh Haberman 2719bcff0d Fixes for Google-internal tests. 6 years ago
Joshua Haberman 315c167bed Some more fixes for PHP. 6 years ago
Joshua Haberman 8cd3b9dfa9 Moved some definitions to def.h 6 years ago
Paul Yang c7870e0f77
Supprot FieldMask json encoding/decoding. (#147) 6 years ago
Joshua Haberman 01557462cc upb_symtab_add() returns upb_filedef* instead of bool. 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Joshua Haberman d2f9bec5c6 Removed old-style C++ handlers that relied on UB in favor of more normal ones. 6 years ago
Joshua Haberman 31e0997c1a Some bugfixes. 6 years ago
Joshua Haberman 8afe0b03a3 Some fixes for Ruby. 6 years ago
Joshua Haberman 377871f104 Got test_decoder working! 6 years ago
Joshua Haberman 7ff8413a03 Ported some tests. 6 years ago
Joshua Haberman 0fed529ea1 WIP, more progress on refactoring. 6 years ago
Bo Yang b39dbb9d40 Add support for encoding Any in json 6 years ago
Joshua Haberman 336402b4d7 WIP, core library compiles now. 6 years ago
Paul Yang 13c59cb051
Implement json decoding for Any message. (#130) 6 years ago
Paul Yang 706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. (#126) 6 years ago
Josh Haberman b79fd65a83 WIP. 6 years ago
Bo Yang 6c910330c4 Fix json parsing for Struct, ListValue and Value. 6 years ago
Paul Yang 6c4469e189
Fix json encoding/decoding for duration. (#118) 6 years ago
Paul Yang 38d674e86f
Fix json parsing for timestamp (#115) 6 years ago
Bo Yang cafebf6bee For encoding upb needs descriptor type instead of type. 7 years ago
Bo Yang f15e6764bd Add new file option php_namespace. 8 years ago
Bo Yang 969ba5ef86 Add new file option php_class_prefix. 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 c850bc0a4e Moved upb_symtab to def.h/def.c. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 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
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 7f0d3bb83d Make OneofDef stop deriving from Def. 9 years ago
Mattia Barbon 15c77612d0 Add missing FieldDef::index() definition 9 years ago
Josh Haberman 458da2563f Addressed code review comments. 9 years ago
Josh Haberman f9afc3e55b Changed JSON parser/printer to correctly camelCase names. 9 years ago
Josh Haberman bc53c1bc46 Add flag to MessageDef for whether fields have presence. 9 years ago
Josh Haberman 49dab06e03 Brought into compliance with Google open-source policies. 10 years ago
Josh Haberman 919fea438a Ported upb to C89, for greater portability. 10 years ago
Josh Haberman 3bd691a497 Google-internal development. 10 years ago
Chris Fallin fb58504569 Support maps in JSON parsing and serialization. 10 years ago
Chris Fallin 87a18f3774 Support oneof defs in upb. 10 years ago
Chris Fallin 3bd667e95f Added msgdef flag to indicate map_entry protos. 10 years ago
Chris Fallin 8f8113b4ff JSON test, symbolic enum names in JSON, and a few improvements. 10 years ago
Josh Haberman 3d0c7c45da Sync to Google-internal development. 10 years ago