1464 Commits (d7abdcffbee52c6cf71d872d3859505011135536)

Author SHA1 Message Date
Joshua Haberman 0842f88211
Support for proto3 optional. (#270) 5 years ago
Joshua Haberman 2559e78aa3
Separated C++ wrappers into separate files in a backward-compatible way. (#265) 5 years ago
Joshua Haberman 9bd23dab42
Changed upb status to suit GCC10's warning about strncpy(). (#268) 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 63e673383b Fixed narrowing warnings in text_encode.c. 5 years ago
Nicolas Noble 90b3a20af0
Making sure _upb_fieldtype_to_sizelg2 is readonly 5 years ago
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 5 years ago
Joshua Haberman 5667a7a806 Removed stray assert, causing C90 build errors. 5 years ago
Joshua Haberman 23a5af3513 [json] fixed all remaining conformance bugs. 5 years ago
Joshua Haberman 6ec4df82c1 Updated other parts of upb for new JSON name API. 5 years ago
Joshua Haberman a292261aeb Added JSON decoder to conformance tests, and fixed tons of bugs. 5 years ago
Joshua Haberman d49c1db6c2 New JSON decoder, string->msg using reflection. 5 years ago
Joshua Haberman 872f4ceb8f [json encoder] passes all conformance tests. 5 years ago
Joshua Haberman 384cf15b0f [json encoder] passes almost all conformance tests. 5 years ago
Joshua Haberman 6e9db7dafc Fixed JSON encoder so that it compiles. 5 years ago
Joshua Haberman 02c89a8b15
Renamed textencode -> text_encode for greater readability. (#249) 5 years ago
Nicolas Noble bb2db35464
Fixing Windows build. (#247) 5 years ago
Joshua Haberman 60d0966a0b [jsonencoder]: wrote most of the code, haven't even compiled yet, let alone tested. 5 years ago
Joshua Haberman 1da9cfde77 A few bugfixes. 5 years ago
Joshua Haberman ca84145476
[decoder] fix for buf=NULL, size=0 case. (#246) 5 years ago
Joshua Haberman 4c6dcc3c6b
[textformat]: added missing newline when a message opens. (#245) 5 years ago
Joshua Haberman 3d955e684c
Added "extern C" blocks to textencode. (#244) 5 years ago
Joshua Haberman ca512852f3
Fixed parsing for string->double maps. (#243) 5 years ago
Joshua Haberman ce1a399a19
Text format serializer for upb_msg (#242) 5 years ago
Joshua Haberman 46b93f8cea A bit more cleanup in the decoder. 5 years ago
Joshua Haberman ad2eb65a4b Refactored conformance_upb to use reflection, and fixed a decoder bug. 5 years ago
Joshua Haberman 9a870d957f Removed upb_decframe and made ptr an explicit parameter and return. 5 years ago
Joshua Haberman a6c54729df Added UPB_ASSUME(), to work around warnings when optimization is enabled: 5 years ago
Joshua Haberman e911aae5f6 Factored upb_map_entry into a shared place. 5 years ago
Anna R d2389ba261 Add correctness asserts to upb_addmsg 5 years ago
Anna R de1bc11663 Split port into its own target, add msg.h to :legacy_msg_reflection 5 years ago
Joshua Haberman 744f8588da Cleanup to remove END_GROUP from descriptortype -> type tables. 5 years ago
Joshua Haberman f9efbcd5d6 Added missing append fallback. 5 years ago
Joshua Haberman c4b64e6a20 Slight simplification: NULL arena will avoid creating a new sub-object. 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 7f5fe52dfa Fixes for non-C89 code. 5 years ago
Joshua Haberman 6c2d732082 Fixed upb's map parsing to overwrite existing elements. 5 years ago
Joshua Haberman 090a0c33a4 Fixed VLA error and rewrote the map parsing code to be clearer. 5 years ago
Joshua Haberman 0fbae939d2 Removed stray fprintf(). 5 years ago
Joshua Haberman 572ba75d1c Removed comma after final enumerator. 5 years ago
Joshua Haberman c9135e5276 Fixed the build. 5 years ago
Joshua Haberman e18541a9dd Added some missing files. 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 d6c3152c0b Added more Lua tests that are passing. 5 years ago
Joshua Haberman ae66e571d4 Fixed some bugs and added a few more tests. 5 years ago