Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-04 | First 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-02 | Removed all upb_msgdef/upb_fielddef from upb_msg. | Joshua Haberman | |
2017-07-02 | Start 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-20 | Merge pull request #86 from haberman/json-numbers | Joshua Haberman | |
Some fixes to make JSON properly recognize numbers in quotes. | |||
2017-06-19 | Responded to PR comments. This also fixed a few more conformance tests. | Josh Haberman | |
2017-06-14 | Merge pull request #84 from TeBoring/master | Joshua Haberman | |
Fix upb load descriptor when no messages defined in prorto. | |||
2017-06-08 | Some fixes to make JSON properly recognize numbers in quotes. | Josh Haberman | |
2017-06-02 | Merge pull request #85 from TeBoring/pull2 | Joshua Haberman | |
php_namespace should be explicitly set even if it's empty. | |||
2017-06-02 | php_namespace should be explicitly set even if it's empty. | Bo Yang | |
2017-06-01 | Fix upb load descriptor when no messages defined in prorto. | Bo Yang | |
2017-05-31 | Merge pull request #83 from TeBoring/master | Joshua Haberman | |
Add new file option php_namespace. | |||
2017-05-31 | Add 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-15 | Merge pull request #82 from haberman/rmvarint | Joshua Haberman | |
Deleted some dead code related to varint decoding. | |||
2017-03-14 | Deleted some dead code related to varint decoding. | Josh Haberman | |
2017-03-14 | Merge pull request #81 from TeBoring/master | Joshua Haberman | |
Fix bugs in file_onphpprefix | |||
2017-03-14 | Fix bugs in file_onphpprefix | Bo Yang | |
1. It should call file_setphpprefix instead. 2. Collect prefix. 3. Return size of string. | |||
2017-03-14 | Merge pull request #80 from TeBoring/master | Joshua Haberman | |
Add new file option php_class_prefix. | |||
2017-03-14 | Add 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-06 | Merge pull request #79 from TeBoring/master | Joshua Haberman | |
Bug fix: When encoding, negative int32 values should be padded to int… | |||
2017-02-06 | Bug fix: When encoding, negative int32 values should be padded to int64 in ↵ | Bo Yang | |
order to be wire compatible | |||
2017-01-24 | Merge pull request #78 from haberman/axerefcount | Joshua Haberman | |
Fixed amalgamated build and added test. | |||
2017-01-24 | Fixed amalgamated build and added test. | Josh Haberman | |
2017-01-24 | Merge pull request #77 from haberman/axerefcount | Joshua Haberman | |
Simplify and remove some code from upb::SymbolTable | |||
2017-01-23 | A couple more fixes. | Josh Haberman | |
2017-01-23 | Remove another bit of obsolete code. | Josh Haberman | |
2017-01-23 | Removed 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-23 | Merge pull request #76 from haberman/movesymtab | Joshua Haberman | |
Moved upb_symtab to def.h/def.c. | |||
2017-01-21 | Ripped 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-21 | Make upb::SymbolTable no longer reference-counted. | Josh Haberman | |
This transitions it from shared ownership to unique ownership. | |||
2017-01-21 | Moved 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-14 | Merge pull request #75 from haberman/msg | Joshua Haberman | |
Basic serialization for upb_msg and Lua. | |||
2016-12-14 | Addressed PR comments. | Josh Haberman | |
2016-12-12 | A few C++ fixes for BufferSink. | Josh Haberman | |
2016-12-12 | Basic serialization for upb_msg and Lua. | Josh Haberman | |
Doesn't yet include strings, submessages, maps, or repeated fields. | |||
2016-12-07 | Merge pull request #74 from haberman/msg | Joshua Haberman | |
Added upb_msg and Lua bindings for using it. | |||
2016-12-07 | Update for final PR comments. | Josh Haberman | |
2016-12-07 | Added a few missing __gc metamethods. | Josh Haberman | |
2016-12-06 | Changes for PR comments. | Josh Haberman | |
2016-12-05 | Fleshed out comments and removed some dead code. | Josh Haberman | |
2016-11-29 | Suppress warnings on 32-bit for this dead code for now. | Josh Haberman | |
2016-11-29 | Fixed more bugs surfaced by Travis. | Josh Haberman | |
2016-11-29 | Added descriptor.pb so we don't depend on protoc for tests. | Josh Haberman | |
2016-11-29 | Fixed some bugs surfaced by Travis. | Josh Haberman | |
2016-11-29 | Removed some temporary code and fixed a few tests. | Josh Haberman | |
2016-11-29 | New 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-14 | Merge pull request #73 from apstndb/fix-va-copy | Joshua Haberman | |
Fix musl libc incompatibility | |||
2016-11-13 | Fix glibc coupling in test | HATATANI Shinta | |
2016-11-13 | Fix C++11 incompatibility | HATATANI Shinta | |
2016-11-13 | Make upb compatible with musl libc | HATATANI Shinta | |
2016-09-12 | Merge pull request #70 from haberman/reffix | Joshua Haberman | |
Some refcounting fixes. |