694 Commits (6b357607bd35fef98ad3c0f3312845b9798efd0f)

Author SHA1 Message Date
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
Joshua Haberman 86d9908c55 Fastdecode support for packed fields. 4 years ago
Joshua Haberman e3e797b680 Added fasttable support for oneofs. 4 years ago
Joshua Haberman 7ffa9c181a Fixed some small bugs and performance problems in string copying. 4 years ago
Joshua Haberman e2c709e047 Repeated string and primitive support. 4 years ago
Joshua Haberman 25db40bc30 Fixed upb::InlinedArena, which was compeltely broken. 4 years ago
Joshua Haberman d81ba58215 Optimized short string copying. 4 years ago
Joshua Haberman f3a2a79349 More optimization, back up to 2.56GB/s. 4 years ago
Joshua Haberman 199c914295 Simplify push/pop when msg fits in the current buffer. 4 years ago
Joshua Haberman d5f5db2729 Put string-copying field parser into a separate function. 4 years ago
Joshua Haberman f4adbe0698 Optimized varint decoding from Gerben. 4 years ago
Joshua Haberman 48689df72e Eliminated bounds checks inside parsing a field. 4 years ago
Joshua Haberman 4ea81ab107 Fixed pedantic warning. 4 years ago