70 Commits (8ed6b2fe854bdeacddd242f2246483d4c264eb31)

Author SHA1 Message Date
Joshua Haberman a6dc88556d Tables are compressed, but perf goes down to 2.44GB/s. 4 years ago
Joshua Haberman a4966fd230 Added a few extra sanity checks. 4 years ago
Joshua Haberman 99acbe0da8 Fixed bug where submsg array could have excess elements. 4 years ago
Gerben Stavenga 3f719fa6b2 Bugfix: offsetting hasbits with 16 introduced a bug in calculating 4 years ago
Gerben Stavenga 4053805759 Bugfixes 4 years ago
Joshua Haberman 71749b7caf Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Joshua Haberman 9557b97acc Implemented inline array allocation, and moved type->lg2 map to reflection. 4 years ago
Gerben Stavenga 36662b3735 Refactor some code. I extracted some common code from all message field 4 years ago
Joshua Haberman 9938cf8f27 Put submsg_index directly in table data. Drop oneof support for now to focus. 4 years ago
Joshua Haberman 526e430794 I think this may have reached the optimization limit. 4 years ago
Joshua Haberman 52a0ed3891 Fixed a bug with tag number 15. 4 years ago
Joshua Haberman 9e5c5ce089 Optimized memset() with cutoff and fixed group & unknown message bugs. 4 years ago
Joshua Haberman 88b1ec7784 Table-driven supports repeated sub-messages. 4 years ago
Joshua Haberman f173642db4 Handle non-repeated submessages. 4 years ago
Joshua Haberman 7ec2c52346 Donate/steal from arena to accelerate decoding. 4 years ago
Joshua Haberman fac992db83 Cleanup for showing. 4 years ago
Joshua Haberman 438ecaeb5a Give all field parsers a generic table entry. 4 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 4 years ago
Joshua Haberman 8f11ec57d2 Applied changes from google3. 5 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 5 years ago
Joshua Haberman 543a0ce8f2
Fixes for PHP. (#286) 5 years ago
Joshua Haberman 0842f88211
Support for proto3 optional. (#270) 5 years ago
Joshua Haberman 38a1045975
Added a has_foo() generated method for proto3 submessage fields. (#266) 5 years ago
Joshua Haberman 378cbbc3cc
Updated to new protobuf version, and added support for packed=false. (#264) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 5 years ago
Joshua Haberman b409f8cd85 Fixed code generator for upbdefs when a file has no messages. 5 years ago
Joshua Haberman ca512852f3
Fixed parsing for string->double maps. (#243) 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 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 5239655b99 WIP. 5 years ago
Joshua Haberman 23825332e1 WIP. 5 years ago
Joshua Haberman dc58b657ee New reflection API doesn't need types as parameters for map/array. 5 years ago
Joshua Haberman c486da3970 WIP. 5 years ago
Joshua Haberman ba0a2fb955 Compiles, doesn't work yet. 6 years ago
Joshua Haberman c58541ea04 Added support for public dependencies. 6 years ago
Joshua Haberman ef9499cb44 Migrate std::unordered_map -> absl::flat_hash_map. 6 years ago
Joshua Haberman 151ebc8a29 Fixed oneof case accessor to cast to enum for C++. 6 years ago
Josh Haberman 0c64c4b594 WIP. 6 years ago
Joshua Haberman cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) 6 years ago
Josh Haberman e86e198690 Changed enums to be open int32_t. 6 years ago
Josh Haberman 32e3f394b4 A few small API tweaks. 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Josh Haberman 9ea6bb4678 Renamed upb_stringview -> upb_strview for C terseness. 6 years ago
Josh Haberman aac4d03420 Standardize on package_name_Message_mutable_foo() for mutable accessors. 6 years ago
Joshua Haberman 0ce9b81815 Fixed bugs in array accessors. 6 years ago
Joshua Haberman c3011c1548 Fixed bug: make proto2 setters set hasbit. 6 years ago
Joshua Haberman 618981a60f Added mutable_ accessor for submessages. 6 years ago
Joshua Haberman bc916f1d0f Added "add" accessors for repeated fields. 6 years ago