51 Commits (7b8ae7ec4e9d6f07bf7b62d989b9743fbe3f667c)

Author SHA1 Message Date
Joshua Haberman ded2e657a7 Added compatibility with old generated code. 4 years ago
Joshua Haberman a4966fd230 Added a few extra sanity checks. 4 years ago
Joshua Haberman 99acbe0da8 Fixed bug where submsg array could have excess elements. 4 years ago
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 4 years ago
Joshua Haberman 8f11ec57d2 Applied changes from google3. 5 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 5 years ago
Joshua Haberman 543a0ce8f2
Fixes for PHP. (#286) 5 years ago
Joshua Haberman 0842f88211
Support for proto3 optional. (#270) 5 years ago
Joshua Haberman 38a1045975
Added a has_foo() generated method for proto3 submessage fields. (#266) 5 years ago
Joshua Haberman 378cbbc3cc
Updated to new protobuf version, and added support for packed=false. (#264) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 5 years ago
Joshua Haberman b409f8cd85 Fixed code generator for upbdefs when a file has no messages. 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago
Joshua Haberman 4c57b1fefd More progress on Lua extension. 5 years ago
Joshua Haberman 5239655b99 WIP. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
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 ba0a2fb955 Compiles, doesn't work yet. 6 years ago
Joshua Haberman c58541ea04 Added support for public dependencies. 6 years ago
Joshua Haberman ef9499cb44 Migrate std::unordered_map -> absl::flat_hash_map. 6 years ago
Joshua Haberman 151ebc8a29 Fixed oneof case accessor to cast to enum for C++. 6 years ago
Josh Haberman 0c64c4b594 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
Josh Haberman e86e198690 Changed enums to be open int32_t. 6 years ago
Josh Haberman 32e3f394b4 A few small API tweaks. 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Josh Haberman 9ea6bb4678 Renamed upb_stringview -> upb_strview for C terseness. 6 years ago
Josh Haberman aac4d03420 Standardize on package_name_Message_mutable_foo() for mutable accessors. 6 years ago
Joshua Haberman 0ce9b81815 Fixed bugs in array accessors. 6 years ago
Joshua Haberman c3011c1548 Fixed bug: make proto2 setters set hasbit. 6 years ago
Joshua Haberman 618981a60f Added mutable_ accessor for submessages. 6 years ago
Joshua Haberman bc916f1d0f Added "add" accessors for repeated fields. 6 years ago
Josh Haberman 5e958a8c05 test_json is working! 6 years ago
Joshua Haberman 377871f104 Got test_decoder working! 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
Vishal Powar 0811b6fead Explicit cast when creating a new struct 6 years ago
Josh Haberman 5f575995b5 Added upb compiler written in C++ as a normal protoc plugin. 6 years ago