81 Commits (d87ceeacabba4efd2097b4ec42de2b37c2968d22)

Author SHA1 Message Date
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 6b808a4072 Fixed all UBSan issues and added UBSan CI checks. 5 years ago
Joshua Haberman 22182e6e54
Simplified epoch day algorithm. (#282) 5 years ago
Paul Yang c26e8db53d
Ignore Unknown Enum Value (#280) 5 years ago
Joshua Haberman a0ae30bd16
Remove bytes allocated measurement functions. (#276) 5 years ago
Joshua Haberman 0842f88211
Support for proto3 optional. (#270) 5 years ago
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 5 years ago
Joshua Haberman 6ec4df82c1 Updated other parts of upb for new JSON name API. 5 years ago
Joshua Haberman a6c54729df Added UPB_ASSUME(), to work around warnings when optimization is enabled: 5 years ago
Joshua Haberman 88b1026d26 Fixed leap year handling by reworking upb_mktime() -> upb_timegm(). 5 years ago
Joshua Haberman 715718d5a5 Changed endsubmsg handler to return the closure of the submessage. 5 years ago
Paul Yang d3762e96cb
Accpet string for numeric wrappers (#202) 5 years ago
Esun Kim 2c3a28e411 Add -Wstrict-prototypes option 5 years ago
Esun Kim 7a1e6aa84b Support MSVC prior to 2015 5 years ago
Joshua Haberman 811ee4f442 Use a custom mktime() function to avoid platform dependencies. 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
Joshua Haberman 928ef7f2c0
Removed reflection and other extraneous things from the core library. (#158) 6 years ago
Bo Yang 3c4f0347f9 Replace strptime with custom implementation 6 years ago
Paul Yang 56fefe2a50
Fix parsing repeated well known type value (#153) 6 years ago
Josh Haberman 71ec01e34b Fix for Windows. 6 years ago
Bo Yang da8d1392c1 Fix the issue for strptime 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 f30c7f4acb Take sinks by value. 6 years ago
Joshua Haberman 754b9f1cfd All tests pass again! 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Joshua Haberman 48863ea0be A lot more tests are working now. 6 years ago
Joshua Haberman 0553eff64a upb_refcounted is gone! Some tests still to fix. 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
Josh Haberman 2655ed9cf5 Bazel builds everything except conformance_upb. 6 years ago
Paul Yang 3c742bfdc8
Fix json ignore unknown (#128) 6 years ago
Paul Yang b258ae3235
Fix mac use local timezone for strptime by default. (#127) 6 years ago
Paul Yang 706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. (#126) 6 years ago
Bo Yang 81fbb4ffa7 Initialize value 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 a8d1a5933d Use special eof char to mark end of parsing 6 years ago
Bo Yang d4caefaade Move logic away from ragel machine 6 years ago
Bo Yang f1d7570f30 Remove unused code 6 years ago
Bo Yang ac9d4468f5 Make value top level 6 years ago
Bo Yang ae2f1cdb17 Mark unused variable 6 years ago
Bo Yang 9449cf68cc Make top level wrapper value parsing work 6 years ago
Bo Yang 20f1b6df41 Fix json decoding for wrapper messages 6 years ago
Bo Yang 72e66e2b55 Enable ignore unknown field in json parsing 7 years ago
Josh Haberman cbc2d7af56 Responded to PR comments. This also fixed a few more conformance tests. 8 years ago
Josh Haberman d04af15acb Some fixes to make JSON properly recognize numbers in quotes. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 8 years ago