summaryrefslogtreecommitdiff
path: root/upb
AgeCommit message (Collapse)Author
2017-07-11Added upb_stringview, the string representation for upb_msg.Joshua Haberman
2017-07-10Removed incorrect assert and added comments.Joshua Haberman
2017-07-10Responded to PR comments.Joshua Haberman
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
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-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-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
2016-12-07Added a few missing __gc metamethods.Josh Haberman
2016-12-06Changes for PR comments.Josh Haberman
2016-12-05Fleshed out comments and removed some dead code.Josh Haberman
2016-11-29Suppress warnings on 32-bit for this dead code for now.Josh Haberman
2016-11-29Fixed more bugs surfaced by Travis.Josh Haberman
2016-11-29Added descriptor.pb so we don't depend on protoc for tests.Josh Haberman
2016-11-29Fixed some bugs surfaced by Travis.Josh Haberman
2016-11-29Removed some temporary code and fixed a few tests.Josh Haberman
2016-11-29New upb_msg code and Lua bindings around it.Josh Haberman
There are still some things that are unfinished, but we are at parity with what Lua had before.
2016-11-13Fix C++11 incompatibilityHATATANI Shinta
2016-11-13Make upb compatible with musl libcHATATANI Shinta
2016-09-12Responded to CR comments.Josh Haberman
2016-09-09Some refcounting fixes.Josh Haberman
Clearly this stuff is too complex overall. The plan is to move away from this and more towards pools, like proto2 uses.
2016-09-09Merge pull request #69 from haberman/oneofdescJoshua Haberman
Added support for loading oneofs from descriptors.
2016-09-09Added descriptive comment about descriptor nesting.Josh Haberman
2016-09-09Addressed CR comments: simplify slightly.Josh Haberman
2016-09-08Added support for loading oneofs from descriptors.Josh Haberman
2016-09-06Merge pull request #68 from haberman/bugfixesJoshua Haberman
A small bugfix to upb_table and simplified some code.
2016-09-01Updated generated code.Josh Haberman
2016-09-01A small bugfix to upb_table and simplified some code.Josh Haberman
2016-08-29JSON: fix a couple cases of the wrong closure being passed to end handlers.Josh Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback