152 Commits (b080659eeed555c09fea46a44c9a7c6ba93f1b78)

Author SHA1 Message Date
Joshua Haberman c7787cbaa1 Fixed a bunch of Clang warnings. 4 years ago
Joshua Haberman 5e550e88f8 Added API for getting fielddef default as a upb_msgval. 4 years ago
Joshua Haberman ee49a8d7df Added an accessor to get the symtab from a filedef. 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 5b1f0d86a1 For Kokoro, only build/test -m32 on Linux. 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
gerben-s 9e68ec033f Add repeated varints and fixed parsers 4 years ago
Joshua Haberman 2a574d3d01 Added a bunch of comments for readability. 4 years ago
Joshua Haberman 6f59f1256e Optimizations to descriptor loading. 4 years ago
Joshua Haberman 75edd3e59c Changed to use table pairs, seems to ever-so-slightly regress. 4 years ago
Joshua Haberman a6dc88556d Tables are compressed, but perf goes down to 2.44GB/s. 4 years ago
Joshua Haberman 5aa5b77b41 Added simple offset-based accessors for defs, and deprecated old iterators. 4 years ago
Joshua Haberman 438ecaeb5a Give all field parsers a generic table entry. 4 years ago
Joshua Haberman 8284321780 Fixed upb_fielddef_packed() to have the correct default. 4 years ago
Joshua Haberman 2c666bc8f6 Use C-style comment instead of C++. 4 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 4 years ago
Joshua Haberman e179dda212 Added initialization of all members to satisfy compiler warnings. 5 years ago
Joshua Haberman 81c2aa753e Fixes for the PHP C Extension. 5 years ago
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 543a0ce8f2
Fixes for PHP. (#286) 5 years ago
Charlie Savage 93e2a40881
MSVC 2019 Fixes (#285) 5 years ago
Paul Yang 55f5bcd62c
Add upb_symtab_lookupfile2 (#281) 5 years ago
Joshua Haberman 2b1e7dc1cc
Arena refactor: moves cleanup list into regular blocks (#277) 5 years ago
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 378cbbc3cc
Updated to new protobuf version, and added support for packed=false. (#264) 5 years ago
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 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 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 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
Joshua Haberman 7f5fe52dfa Fixes for non-C89 code. 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 bfc86d3577 Fixed many bugs, basic Lua test passes! 5 years ago
Joshua Haberman cc6db9fb0b Fixed crash bug. 5 years ago
Joshua Haberman 626ec4bfcf Everything builds, test pass except test_decoder. 5 years ago
Joshua Haberman 5239655b99 WIP. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
Joshua Haberman 509f1e474f Bugfix for boolean defaults. 5 years ago
Esun Kim 2c3a28e411 Add -Wstrict-prototypes option 5 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