summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 pull request #87 from google/gencodeJoshua Haberman
Start migrating upb_msglayout to be suitable for generated code.
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-05Be more picky about command-line args in upbc.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-02Merge pull request #85 from TeBoring/pull2Joshua Haberman
php_namespace should be explicitly set even if it's empty.
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-31Merge pull request #83 from TeBoring/masterJoshua Haberman
Add new file option php_namespace.
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-14Merge pull request #81 from TeBoring/masterJoshua Haberman
Fix bugs in file_onphpprefix
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-14Merge pull request #80 from TeBoring/masterJoshua Haberman
Add new file option php_class_prefix.
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-06Merge pull request #79 from TeBoring/masterJoshua Haberman
Bug fix: When encoding, negative int32 values should be padded to int…
2017-02-06Bug fix: When encoding, negative int32 values should be padded to int64 in ↵Bo Yang
order to be wire compatible
2017-01-24Merge pull request #78 from haberman/axerefcountJoshua Haberman
Fixed amalgamated build and added test.
2017-01-24Fixed amalgamated build and added test.Josh Haberman
2017-01-24Merge pull request #77 from haberman/axerefcountJoshua Haberman
Simplify and remove some code from upb::SymbolTable
2017-01-23A couple more fixes.Josh Haberman
2017-01-23Remove another bit of obsolete code.Josh Haberman
2017-01-23Removed all code for adding extensions to upb_symtab.Josh Haberman
This means extensions can't be used until we implement the replacement APIs for accessing extensions from a symtab.
2017-01-23Merge pull request #76 from haberman/movesymtabJoshua Haberman
Moved upb_symtab to def.h/def.c.
2017-01-21Ripped out complicated and unused code for replacing defs in a symtab.Josh Haberman
Also hid the dup() functions. We can't quite delete them yet because our current approach for extensions depends on duplicating defs.
2017-01-21Make upb::SymbolTable no longer reference-counted.Josh Haberman
This transitions it from shared ownership to unique ownership.
2017-01-21Moved upb_symtab to def.h/def.c.Josh Haberman
This is in anticipation of removing refcounting and making upb_symtab (soon to be upb_defpool) the unique owner of all defs inside.
2016-12-14Merge pull request #75 from haberman/msgJoshua Haberman
Basic serialization for upb_msg and Lua.
2016-12-14Addressed PR comments.Josh Haberman
2016-12-12A few C++ fixes for BufferSink.Josh Haberman
2016-12-12Basic serialization for upb_msg and Lua.Josh Haberman
Doesn't yet include strings, submessages, maps, or repeated fields.
2016-12-07Merge pull request #74 from haberman/msgJoshua Haberman
Added upb_msg and Lua bindings for using it.
2016-12-07Update for final PR comments.Josh Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback