39 Commits (d2ff429dc9e98957428cfb144dec5da552bcbdb9)

Author SHA1 Message Date
Matt Kulukundis 9457aa6452 force explicit conversions to desired types in generated code 3 years ago
Matt Kulukundis dc11657df6 Small fixes to compile with stricter warnings 3 years ago
Joshua Haberman 0c541f3305 Single encode. 3 years ago
Joshua Haberman 72af9dc0cc Switch to a single upb_Decode. 3 years ago
Joshua Haberman 499c2cc8b1 upb_extreg, upb_msg 3 years ago
Joshua Haberman 1c955f37ce
Mass API rename and clang-reformat (#485) 3 years ago
Joshua Haberman a0374b3b08 Added required field checking into the encoder. 3 years ago
Joshua Haberman c59d8f8eb7 Addressed PR comments and fixed the broken test. 3 years ago
Joshua Haberman d0795a29d9 Test for def_to_proto is working. 3 years ago
Joshua Haberman 58c1dbc11f Addressed PR comments. 3 years ago
Joshua Haberman 7c83eb93be Removed extra size from message. 3 years ago
Joshua Haberman 3d437bbcab Some pre-PR fixes. 3 years ago
Joshua Haberman e595ceebc5 Added FALLTHROUGH_INTENDED to fix GCC warning. 3 years ago
Joshua Haberman 42be22faea Opted the table-driven parser out of fasttable parsing. 3 years ago
Joshua Haberman 7771a0515b Addressed PR comments. 3 years ago
Joshua Haberman f21ce7255d Fixed double-lookups. 3 years ago
Joshua Haberman 16f763e4d6 Addressed PR comments. 3 years ago
Joshua Haberman c755099a89 WIP. 3 years ago
Joshua Haberman 401e1747b5 Addressed PR feedback. 3 years ago
Joshua Haberman cc03669a17 Several changes to defs. 3 years ago
Joshua Haberman 8c916941b0 MSET -> MSGSET 3 years ago
Joshua Haberman 6f89034249 Implemented support for MessageSet. 3 years ago
Joshua Haberman 29be74c5d2 Addressed PR comments. 3 years ago
Joshua Haberman b1bbbdd4e7 Addressed PR comments. 3 years ago
Joshua Haberman ce012b7b55 Added support for extensions. 3 years ago
Joshua Haberman 6e53de4a03 Addressed PR comments. 4 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 fa4dfc2baa Addressed PR comments. 4 years ago
Joshua Haberman 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 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 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 4 years ago
Joshua Haberman 3881393907 Renamed .int.h to _internal.h, for greater clarity. 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 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 4 years ago
Joshua Haberman 7a54a5f3d6 Split the code generators for .upb and .upbdefs. 4 years ago
Joshua Haberman 65d166a6ba Added API for copy vs. alias and added benchmarks to test both. 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 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 bd9f8f580d Fixed a few bugs with the fast decoder. 4 years ago
Joshua Haberman 3eba47914b Allocate hasbits and table slots in "hotness" order. 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 e2c709e047 Repeated string and primitive support. 4 years ago
Joshua Haberman a345af9883 Added a codegen parameter for whether fasttables are generated or not. 4 years ago
gerben-s 9e68ec033f Add repeated varints and fixed parsers 4 years ago
Joshua Haberman ded2e657a7 Added compatibility with old generated code. 4 years ago