76 Commits (0756999ab644d6849d9b100d81b937002435df12)

Author SHA1 Message Date
Joshua Haberman c10b24ffb2 Simplified switch(). 4 years ago
Joshua Haberman ded2e657a7 Added compatibility with old generated code. 4 years ago
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman b58d2a0ee6 Shrink overhead of message representation. 4 years ago
Joshua Haberman efefbffc80 Fixed binary encoding and decoding for big-endian machines. 4 years ago
Joshua Haberman 363e39c171
Fix for extra compiler warnings. (#290) 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 16facab490
Created an amalgamation without handlers, and fixed some bugs. (#283) 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
Nicolas Noble bb2db35464
Fixing Windows build. (#247) 5 years ago
Joshua Haberman e911aae5f6 Factored upb_map_entry into a shared place. 5 years ago
Joshua Haberman d541566a7b Moved upb_array_new() to upb/reflection.h where it belongs. 5 years ago
Joshua Haberman 520ddc1f11 c89 fixes. 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago
Joshua Haberman 382f92a87f Maps encode and decode successfully! 5 years ago
Joshua Haberman 4c57b1fefd More progress on Lua extension. 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 1461da5056 WIP. 5 years ago
Joshua Haberman 283857f308 WIP. 6 years ago
Joshua Haberman da4e616860 Removed type from upb_array also. 6 years ago
Josh Haberman 932753d91e WIP. 6 years ago
Josh Haberman 0c64c4b594 WIP. 6 years ago
Joshua Haberman 928ef7f2c0
Removed reflection and other extraneous things from the core library. (#158) 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Josh Haberman 9ea6bb4678 Renamed upb_stringview -> upb_strview for C terseness. 6 years ago
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