992 Commits (2a5919deb39eb846928b5e138e463af658198e33)

Author SHA1 Message Date
Joshua Haberman f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 4 years ago
Joshua Haberman f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 4 years ago
Joshua Haberman c7787cbaa1 Fixed a bunch of Clang warnings. 4 years ago
Joshua Haberman 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 4 years ago
Joshua Haberman 5e550e88f8 Added API for getting fielddef default as a upb_msgval. 4 years ago
Esun Kim 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 4 years ago
Esun Kim 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 4 years ago
Joshua Haberman 3c9ae7837a The fasttable parser works on ARM64! 4 years ago
Joshua Haberman 10b355a6e0 A couple minor fixes. These are exercised by Ruby. 4 years ago
Joshua Haberman 6c30b5fe73 Fixed upb encoder for field numbers > 2**28. 4 years ago
Joshua Haberman e9551022c1 Added depth limit checking to upb_encode(). 4 years ago
Joshua Haberman 695b7f4617 Added code to test UPB_JSONENC_EMITDEFAULTS. 4 years ago
Joshua Haberman 6b357607bd Fixed bugs in JSON encoding with UPB_JSONENC_EMITDEFAULTS. 4 years ago
Joshua Haberman ee49a8d7df Added an accessor to get the symtab from a filedef. 4 years ago
Tim Gates 7225108720
docs: fix simple typo, posisiton -> position 4 years ago
Joshua Haberman 76764643ac Added option to binary encoder to skip unknown fields. 4 years ago
Joshua Haberman a04627abc8 Added map sorting to binary and text encoders. 4 years ago
Joshua Haberman e70e488e09 MSVC apparently doesn't support the standard C/C++ defines. 4 years ago
Joshua Haberman 8d670d8aea Renamed decode_varint32() to decode_tag(). 4 years ago
Joshua Haberman 9abf8e043f Clamp 32-bit varints to 5 bytes to fix a fuzz failure. 4 years ago
Joshua Haberman 358fa14d0e Fixed headers and updated benchmark script. 4 years ago
Joshua Haberman bc200451ce Use a macro instead of an inline function for setjmp/longjmp. 4 years ago
Joshua Haberman fbc0639b07 Use _setjmp on mac to avoid saving/restoring the signal mask. 4 years ago
Joshua Haberman 65d166a6ba Added API for copy vs. alias and added benchmarks to test both. 4 years ago
Joshua Haberman 9df96874e9 Start arena block doubling at initial block size. 4 years ago
Joshua Haberman e5bdfba92c Removed accidentally-added .orig file. 4 years ago
Joshua Haberman 982b634bc5 Fixed a few minor bugs found by fuzzing. 4 years ago
Joshua Haberman a01f3e23a4 Fixes for google3 build, and exclude even more tests from macOS to avoid timeout. 4 years ago
Joshua Haberman 1eb7bd39e7 Some formatting fixes. 4 years ago
Joshua Haberman 6c16cba83f Removed obsolete port.c file. 4 years ago
Joshua Haberman 5b1f0d86a1 For Kokoro, only build/test -m32 on Linux. 4 years ago
Joshua Haberman 0497f8deed Fixed a critical bug on 32-bit builds, and added much more Kokoro testing. 4 years ago
Joshua Haberman 64abb5eb11 Amalgamation no longer bundles wyhash, but #includes it. 4 years ago
Joshua Haberman dd0994d377 Bugfix for JSON decoding: only check real oneofs for duplicates. 4 years ago
Joshua Haberman c9f9668234 symtab: use longjmp() for errors and avoid intermediate table. 4 years ago
Joshua Haberman c3b5637646 Added benchmark for loading ads descriptor. 4 years ago
Joshua Haberman acd72c6d3f WIP. 4 years ago
Joshua Haberman 8113ebd6c7 Added explanatory comment about integer constants. 4 years ago
Joshua Haberman f2d826b9f3 Got rid of floating-point division in table init. 4 years ago
Joshua Haberman 154f2c25f4 Added UTF-8 validation for proto3 string fields. 4 years ago
Joshua Haberman e8f9eac68c Added #defines UPB_ENABLE_FASTTABLE and UPB_TRY_ENABLE_FASTTABLE. 4 years ago
Joshua Haberman e86541ac1d Fixed the build after the merge. 4 years ago
Joshua Haberman 8f3ee80d46 Drop C89/C90 support and MSVC prior to Visual Studio 2015. 4 years ago
Joshua Haberman 2c8bb6dd9d Specify C99 explicitly until/unless we stop using bool. 4 years ago
Joshua Haberman efd576b698 Added -std=gnu99 for fastdecode and ran Buildifier. 4 years ago
Joshua Haberman b928696942 A few more fixes, and test fastdecode under Kokoro. 4 years ago
Joshua Haberman 55f3569cd2 A few minor fixes and more assertions. 4 years ago
Joshua Haberman 46eb82467a Added comment to decode_fast.h. 4 years ago
Joshua Haberman bd9f8f580d Fixed a few bugs with the fast decoder. 4 years ago
Joshua Haberman 021db6fcd5 Allow larger tags into the table if they are unique mod 31. 4 years ago