79 Commits (4d9a8cd67b19372c634480a5d80b202373e7d419)

Author SHA1 Message Date
Joshua Haberman f4adbe0698 Optimized varint decoding from Gerben. 4 years ago
Joshua Haberman 48689df72e Eliminated bounds checks inside parsing a field. 4 years ago
Joshua Haberman 2339fc779c 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 b58d2a0ee6 Shrink overhead of message representation. 4 years ago
Joshua Haberman d87ceeacab 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 cbcd635917 Fixed memory leak. 4 years ago
Joshua Haberman 746f64692c Moved arena inline for decoder. 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. 4 years ago
Joshua Haberman 8e26a33bcb Added a test for UTF-8 parse checking and added missing error reporting. 4 years ago
Joshua Haberman a77ea639d5 Verify UTF-8 when parsing proto3 string fields. 4 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
Joshua Haberman 382f92a87f Maps encode and decode successfully! 5 years ago
Joshua Haberman 4c57b1fefd More progress on Lua extension. 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 1ed64db8c2 Fixed compiler error "error: control reaches end of non-void function". 5 years ago
Esun Kim a8bb192fa4 Fixed -Wshorten-64-to-32 5 years ago
Joshua Haberman 9960d7c772 Renamed end_group field number and updated documentation. 6 years ago
Joshua Haberman da4e616860 Removed type from upb_array also. 6 years ago
Joshua Haberman 56779f09eb All tests pass again. 6 years ago
Joshua Haberman ba0a2fb955 Compiles, doesn't work yet. 6 years ago
Joshua Haberman 7485261370 WIP. 6 years ago
Joshua Haberman a8f719c98d Added checks for OOM conditions. 6 years ago
Josh Haberman cd9e1e6817 upb_proto_library() aspect is working, even for external repos. 6 years ago
Josh Haberman 932753d91e 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
Joshua Haberman 928ef7f2c0
Removed reflection and other extraneous things from the core library. (#158) 6 years ago
Josh Haberman 32e3f394b4 A few small API tweaks. 6 years ago
Josh Haberman 9ea6bb4678 Renamed upb_stringview -> upb_strview for C terseness. 6 years ago