summaryrefslogtreecommitdiff
path: root/core/upb_stream.h
AgeCommit message (Collapse)Author
2011-01-18A few minor changes to the streaming protocol.Joshua Haberman
1. the start and end callbacks can now return a upb_flow_t and set a status message. 2. clarified some semantics around passing an error status back from the callbacks.
2011-01-10upb_def compiles again!Joshua Haberman
2011-01-10More work on upb_src.Joshua Haberman
2010-12-06The last major revision to the upb_stream protocol.Joshua Haberman
Sources and sinks communicate by means of a upb_handlers object, which encapsulates a set of handler callbacks and will possibly offer richer semantics in the future like giving specific fields different callbacks. The upb_handlers protocol supports delegation, so sets of handlers can be written in reusable ways. For example, if a set of handlers is written to handle a specific .proto type, those handlers can be used whether that type is at the top level or whether it is a sub-message of a higher-level type. Delegation allows the streaming protocol to properly compose.
2010-10-06Change upb_src to use push-based interface.Joshua Haberman
Unfortunately my previous detailed commit message was lost somehow by git or vi. Will have to explain in more detail at a later date the rationale for this change. The build will be broken until I port the old decoder to this new interface.
2010-07-24Stream decoding benchmark.Joshua Haberman
2010-07-17Fleshed out upb_stdio and upb_textprinter.Joshua Haberman
test_decoder now compiles and links! But it doesn't work yet.
2010-07-12Added more comments for upb_src interface.Joshua Haberman
2010-07-09Split src/ into core/ and stream/.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback