224 Commits (285474d8e1c2c26e5d354f190aa9fecbb2a8227d)

Author SHA1 Message Date
Joshua Haberman b1bbbdd4e7 Addressed PR comments. 3 years ago
Joshua Haberman ce012b7b55 Added support for extensions. 3 years ago
Joshua Haberman 3366d02f04 Addressed PR comments. 3 years ago
Joshua Haberman 5c28ab6b2c Implemented upb_enumvaldef, for storing information about enumvals. 3 years ago
Joshua Haberman 53fba823de Added missing upb_symtab_lookupext() function. 3 years ago
Joshua Haberman cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 4 years ago
Joshua Haberman 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 4 years ago
Joshua Haberman 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 4 years ago
Joshua Haberman 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 4 years ago
Joshua Haberman 6394894b6e Addressed PR comments. 4 years ago
Joshua Haberman 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 4 years ago
Joshua Haberman 9482957425 Enforce that filenames are unique when loaded into symtab. 4 years ago
Joshua Haberman 823eb09694 Update all 2011 dates to 2021. 4 years ago
Joshua Haberman e59d2c8fa7 Added license headers to all files. 4 years ago
Joshua Haberman 83c0edbd2a A few minor cleanups. 4 years ago
Joshua Haberman c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. 4 years ago
Joshua Haberman ec9ba3f893 Fixed error message buffer overflow. 4 years ago
Joshua Haberman f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. 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 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