summaryrefslogtreecommitdiff
path: root/upb
AgeCommit message (Collapse)Author
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.
2017-06-19Responded to PR comments. This also fixed a few more conformance tests.Josh Haberman
2017-06-14Merge pull request #84 from TeBoring/masterJoshua Haberman
Fix upb load descriptor when no messages defined in prorto.
2017-06-08Some fixes to make JSON properly recognize numbers in quotes.Josh Haberman
2017-06-02php_namespace should be explicitly set even if it's empty.Bo Yang
2017-06-01Fix upb load descriptor when no messages defined in prorto.Bo Yang
2017-05-31Add new file option php_namespace.Bo Yang
Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.
2017-03-15Merge pull request #82 from haberman/rmvarintJoshua Haberman
Deleted some dead code related to varint decoding.
2017-03-14Deleted some dead code related to varint decoding.Josh Haberman
2017-03-14Fix bugs in file_onphpprefixBo Yang
1. It should call file_setphpprefix instead. 2. Collect prefix. 3. Return size of string.
2017-03-14Add new file option php_class_prefix.Bo Yang
This option will be prepended to all php generated classes. The PHP runtime needs to know this option to figure out the class name for specific message.
2017-02-06Bug fix: When encoding, negative int32 values should be padded to int64 in ↵Bo Yang
order to be wire compatible
2017-01-24Fixed amalgamated build and added test.Josh Haberman
2017-01-23A couple more fixes.Josh Haberman
2017-01-23Remove another bit of obsolete code.Josh Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback