156 Commits (732a21bb59b639553516ab581860eb7b738bc569)

Author SHA1 Message Date
gerben-s 9e68ec033f Add repeated varints and fixed parsers 4 years ago
Joshua Haberman bca7edac8c Cleaned up table compression a bit. 4 years ago
Joshua Haberman 8ed6b2fe85 Stored mask in the table pointer. 4 years ago
Joshua Haberman f2ddc15d76 Bugfix: initialize fastlimit and fastend. 4 years ago
Joshua Haberman 2339fc779c Updated obsolete comment. 4 years ago
Joshua Haberman b393849bbd Updated obsolete comment. 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
Joshua Haberman b58d2a0ee6 Shrink overhead of message representation. 4 years ago
Joshua Haberman 0bf063a2ca Shrink overhead of message representation. 4 years ago
Joshua Haberman d87ceeacab Shave off one more store. 4 years ago
Joshua Haberman ddc52ab9d6 Shave off one more store. 4 years ago
Joshua Haberman c25d895adf Shrunk the arena state that needs to be synced. 4 years ago
Joshua Haberman 7f67f68c1c Shrunk the arena state that needs to be synced. 4 years ago
Joshua Haberman cbcd635917 Fixed memory leak. 4 years ago
Joshua Haberman bcbcdadbd2 Fixed memory leak. 4 years ago
Joshua Haberman 746f64692c Moved arena inline for decoder. 4 years ago
Joshua Haberman 7363b91ac3 Moved arena inline for decoder. 4 years ago
Joshua Haberman 9e5c5ce089 Optimized memset() with cutoff and fixed group & unknown message bugs. 4 years ago
Joshua Haberman 405e7934b1 Handle 2-byte submessage lengths. 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 3937874a85 We have a properly structured algorithm, but perf regresses by 20%. 4 years ago
Joshua Haberman 438ecaeb5a Give all field parsers a generic table entry. 4 years ago
Joshua Haberman 26abaa2345 WIP. 4 years ago
Joshua Haberman 763a3f6293 WIP. 4 years ago
Joshua Haberman a202ce9629 Add UPB_FORCEINLINE for varint32 decoding. 4 years ago
Joshua Haberman efefbffc80 Fixed binary encoding and decoding for big-endian machines. 5 years ago
Joshua Haberman 8e26a33bcb Added a test for UTF-8 parse checking and added missing error reporting. 5 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 5 years ago
Joshua Haberman 363e39c171
Fix for extra compiler warnings. (#290) 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 cef720e9b0
Parser bugfix and updated generated file. (#273) 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 ca84145476
[decoder] fix for buf=NULL, size=0 case. (#246) 5 years ago
Joshua Haberman 46b93f8cea A bit more cleanup in the decoder. 5 years ago
Joshua Haberman ad2eb65a4b Refactored conformance_upb to use reflection, and fixed a decoder bug. 5 years ago
Joshua Haberman 9a870d957f Removed upb_decframe and made ptr an explicit parameter and return. 5 years ago
Joshua Haberman e911aae5f6 Factored upb_map_entry into a shared place. 5 years ago
Anna R d2389ba261 Add correctness asserts to upb_addmsg 5 years ago
Joshua Haberman 744f8588da Cleanup to remove END_GROUP from descriptortype -> type tables. 5 years ago
Joshua Haberman d541566a7b Moved upb_array_new() to upb/reflection.h where it belongs. 5 years ago
Joshua Haberman 2a85bef825 Generated code interface for maps is complete, though not yet tested. 5 years ago
Joshua Haberman 6c2d732082 Fixed upb's map parsing to overwrite existing elements. 5 years ago
Joshua Haberman 090a0c33a4 Fixed VLA error and rewrote the map parsing code to be clearer. 5 years ago
Joshua Haberman 0fbae939d2 Removed stray fprintf(). 5 years ago