summaryrefslogtreecommitdiff
path: root/upb
AgeCommit message (Collapse)Author
2018-03-11Prepare upb_value for encoding/decoding map.Bo Yang
2018-03-08Implement decoding repeated message field.Bo Yang
2018-03-08Bytes type should return size of stringviewBo Yang
2018-03-08e->limit is invalidated after growing.Bo Yang
2018-03-07Merge pull request #101 from TeBoring/php-changePaul Yang
Fix parsing sub-message field.
2018-03-07Merge pull request #102 from haberman/descriptor-in-coreJoshua Haberman
Added google/protobuf/descriptor.upb.* to core.
2018-03-07Added google/protobuf/descriptor.upb.* to core.Josh Haberman
This is in preparation for making upb_def capable of parsing binary descriptors directly. We leave upb/descriptor/descriptor.upbdefs.* in place for now, because upb/descriptor/reader.* still depends on it. Also removed a bit of cruft from the codegen.
2018-03-07Fix parsing sub-message field.Bo Yang
Buffer start place needs to be adjusted before parsing sub-message.
2018-03-07swap condition branches to remove negationBo Yang
2018-03-07Fix oneof encoding/decodingBo Yang
2018-03-07In case of circular dependency, layout has to be inserted first.Bo Yang
2018-03-07Field missing submsg and hasbit information.Bo Yang
2018-03-07Conversion from uint64 to uint32 didn't consider sign bit.Bo Yang
2018-03-07For encoding upb needs descriptor type instead of type.Bo Yang
2017-09-25Modify TODOBo Yang
2017-09-25Change parameter type from enum opcode to int.Bo Yang
If the compiler elects to represent enum E as a char rather than an int (per 6.7.2.2p4), the call to va_start() will have undefined behavior.
2017-09-25Initialize tag to make compiler happy.Bo Yang
2017-09-25Fixed JIT for unknown fields. (#1)Joshua Haberman
2017-09-20Do not expose encode_unknownBo Yang
2017-09-19Remove upb_pb_encoder_encode_unknownBo Yang
2017-09-19Remove unused declaration.Bo Yang
2017-09-19Remove upb_addunknown_handlerfuncBo Yang
2017-09-19Use upb_sink_putunknown for reserve unknownBo Yang
2017-09-19Remove upb_addunknown_handlerfunc and upb_handlers_setaddunknownBo Yang
2017-09-19Reserve unknown fields in upbBo Yang
1. For decoding, an unknownfields will be lazily created on message, which contains bytes of unknown fields. 2. For encoding, if the unknownfields is present on message, all bytes contained in it will be serialized.
2017-07-19Fixed amalgamated build.Joshua Haberman
2017-07-19Fix amalgamated build.Joshua Haberman
2017-07-19Fixed 32-bit build and added generated files.Joshua Haberman
2017-07-19Address review comments and fix compile warnings.Joshua Haberman
2017-07-18Responded to PR comments.Joshua Haberman
2017-07-18Fixes for oneof conformance tests.Joshua Haberman
2017-07-18Fixed varint length when buffer is reallocated.Joshua Haberman
2017-07-17New encode/decode: most (171 / 192) conformance tests pass.Joshua Haberman
2017-07-11WIP.Joshua Haberman
2017-07-11Merge branch 'gencode2' into gencode3Joshua Haberman
2017-07-11Responded to PR comments.Joshua Haberman
2017-07-11Merge branch 'stringview' into gencode3Joshua Haberman
2017-07-11Added upb_stringview, the string representation for upb_msg.Joshua Haberman
2017-07-11Merge branch 'gencode2' into gencode3Joshua Haberman
2017-07-11Merge branch 'gencode' into gencode2Joshua Haberman
2017-07-10Removed incorrect assert and added comments.Joshua Haberman
2017-07-10Removed incorrect assertion.Joshua Haberman
Internal members aren't initialized by default_msg.
2017-07-10Merge branch 'gencode' into gencode2Joshua Haberman
2017-07-10Responded to PR comments.Joshua Haberman
2017-07-10Lots of encoder/decoder work (backwards encoder).Joshua Haberman
2017-07-08A good start on upb_encode and upb_decode.Josh Haberman
2017-07-04First version of a real C codegen for upb.Joshua Haberman
Also includes an implementation of the conformance tests to display what the API usage will be like. There is still a lot to do, and things that are broken (oneofs, repeated fields, etc), but it's a good start.
2017-07-02Removed all upb_msgdef/upb_fielddef from upb_msg.Joshua Haberman
2017-07-02Start migrating upb_msglayout to be suitable for generated code.Joshua Haberman
This involves: - remove upb_msglayout -> upb_msgfactory dependency. - remove upb_msglayout -> upb_msgdef dependency (in progress). - make upb_msglayout use a representation that can be statically initialized by generated code. The goal here is that upb_msglayout becomes a kind of "descriptor lite": it contains enough data to parser and serialize protobufs and manipulate a upb_msg in memory, while being far smaller and simpler than a full descriptor. It also does not include field names, which can be a benefit for applications that do not want to leak field names. Generated code can then create a upb_msglayout, and do most things without ever needing to construct full descriptors/defs if they don't want to.
2017-06-20Merge pull request #86 from haberman/json-numbersJoshua Haberman
Some fixes to make JSON properly recognize numbers in quotes.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback