summaryrefslogtreecommitdiff
path: root/tests/test_decoder.c
AgeCommit message (Collapse)Author
2011-12-22Fixed the open-source build.Joshua Haberman
2011-12-22Sync with internal Google development.Joshua Haberman
This breaks the open-source build, will follow up with a change to fix it.
2011-11-23Refinement of upb_bytesrc interface.Joshua Haberman
Added a upb_byteregion that tracks a region of the input buffer; decoders use this instead of using a upb_bytesrc directly. upb_byteregion is also used as the way of passing a string to a upb_handlers callback. This symmetry makes decoders compose better; if you want to take a parsed string and decode it as something else, you can take the string directly from the callback and feed it as input to another parser. A commented-out version of a pinning interface is present; I decline to actually implement it (and accept its extra complexity) until/unless it is clear that it is actually a win. But it is included as a proof-of-concept, to show that it fits well with the existing interface.
2011-09-04Const invasion: large parts of upb made const-correct.Joshua Haberman
2011-08-31Header cleanup, clarify/correct comments for interfaces.Joshua Haberman
2011-08-27Refined upb_status.Joshua Haberman
2011-08-19Some source cleanup/commenting.Joshua Haberman
2011-07-15Directory restructure.Joshua Haberman
Includes are now via upb/foo.h. Files specific to the protobuf format are now in upb/pb (the core library is concerned with message definitions, handlers, and byte streams, but knows nothing about any particular serializationf format).
2011-07-14Major refactoring: upb_string is gone in favor of upb_strref.Joshua Haberman
2011-06-17Major refactoring: abandon upb_msg, add upb_accessors.Joshua Haberman
Next on the chopping block is upb_string.
2011-05-10Fix JIT for new interface.Joshua Haberman
2011-05-08Decoder redesign in preparation for packed fields and start/endseq.Joshua Haberman
2011-02-05Tons of work: we're close to passing test_vs_proto2 again.Joshua Haberman
2011-01-30Fixes to decoder and textprinter: it works (for some input)!Joshua Haberman
A protobuf -> text stream for descriptor.proto now outputs the same text as proto2.
2011-01-29Fixes to decoder, stdio, textprinter.Joshua Haberman
2010-07-17Add forgotten test_decoder.c.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback