240 Commits (5a7644b2d069d8e834cd41c677ed70e89e66920e)

Author SHA1 Message Date
Joshua Haberman df77ca5dbb Check extension field numbers against extension ranges. 3 years ago
Joshua Haberman 7576a3bfc1 Avoid NULL + 0 when adding a list of 0 extensions. 3 years ago
Joshua Haberman 1845997498 Added comments. 3 years ago
Stan Hu 53250c8504
Fix encoding/decoding for def-to-proto on big-endian systems 3 years ago
Joshua Haberman d0795a29d9 Test for def_to_proto is working. 3 years ago
Joshua Haberman f7980b7ed1 Restructured for simplicity and fixed fasttable parser. 3 years ago
Joshua Haberman 3d437bbcab Some pre-PR fixes. 3 years ago
Joshua Haberman 7771a0515b Addressed PR comments. 3 years ago
Joshua Haberman 16f763e4d6 Addressed PR comments. 3 years ago
Joshua Haberman 9d26c706e0 Removed dependency on popcount() intrinsic. 3 years ago
Joshua Haberman 7907ed913b Expanded the test to cover packed fields also. 3 years ago
Joshua Haberman 401e1747b5 Addressed PR feedback. 3 years ago
Joshua Haberman cc03669a17 Several changes to defs. 3 years ago
Joshua Haberman 2484d12c1c Addressed PR comments. 3 years ago
Joshua Haberman 8c916941b0 MSET -> MSGSET 3 years ago
Joshua Haberman 6f89034249 Implemented support for MessageSet. 3 years ago
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