summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-23Decoder code structure is mostly in-place.Joshua Haberman
2011-01-22Begin porting old decoder to new interfaces.Joshua Haberman
Doesn't build yet.
2011-01-22Added test_stream.c for testing upb_stream.h.Joshua Haberman
2011-01-22upb bootstraps again! and with no memory leaks!Joshua Haberman
2011-01-21Debugging test_def, it's close to working again!Joshua Haberman
2011-01-21Interface refinement: rename some constants.Joshua Haberman
* UPB_STOP -> UPB_BREAK, better represents breaking out of a parsing loop. * UPB_STATUS_OK -> UPB_OK, for all status codes, more concise at no readability cost (perhaps an improvement).
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-10Add INLINE to a few identifiers.Joshua Haberman
2011-01-10upb_def compiles again!Joshua Haberman
2011-01-10More work on upb_src.Joshua Haberman
2011-01-04A bunch of work on upb_def and upb_value.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-08-02Fleshed out upb_msg: test_vs_proto2 compiles but fails.Joshua Haberman
2010-07-25Re-add a simplified upb_msg.Joshua Haberman
2010-07-24Optimizations and bugfix to benchmark.Joshua Haberman
2010-07-24Fixes to benchmark.Joshua Haberman
2010-07-24strstream header file also.Joshua Haberman
2010-07-24upb_stringsrc: upb_bytesrc for strings.Joshua Haberman
2010-07-24Stream decoding benchmark.Joshua Haberman
2010-07-21Lua support for fielddefs and getting their properties.Joshua Haberman
2010-07-21Fix the case where no def is found for lookup.Joshua Haberman
2010-07-21Updated Lua extension to handle fielddefs.Joshua Haberman
2010-07-21Make object cache weak.Joshua Haberman
2010-07-19Use a weak table to cache objects.Joshua Haberman
This simplifies things considerably, and is more in line with common practice.
2010-07-19Prevent abort() if add_descriptorproto() is called twice.Joshua Haberman
2010-07-19Fix bugs in lookup and getdefs.Joshua Haberman
2010-07-18First go at Lua bindings.Joshua Haberman
2010-07-17Fixed bugs in textoutput.Joshua Haberman
Text output from descriptor.proto is now identical to protoc!
2010-07-17Bugfixes, test_decoder successfully stream-decodes a stream!Joshua Haberman
2010-07-17Fixed broken submsg support in upb_streamdata.Joshua Haberman
2010-07-17Added Xcode project.Joshua Haberman
2010-07-17Add forgotten test_decoder.c.Joshua Haberman
2010-07-17Bugfixes to upb_stdio and upb_decoder.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-13Work on upb_textprinter.Joshua Haberman
2010-07-12Added more comments for upb_src interface.Joshua Haberman
2010-07-12Implemented upb_stdio (upb_bytesrc/upb_bytesink).Joshua Haberman
2010-07-12Implemented upb_streamdata().Joshua Haberman
upb_streamdata() reads data from a upb_src until EOF or error, passing all the data to a upb_sink.
2010-07-11Allow static upb_strings.Joshua Haberman
This can allow strings to reference static data, and reduced the memory footprint of test_def by about 10% (3k).
2010-07-11Reduce decoder memory usage.Joshua Haberman
The "field" entry was only being used to determine whether we were inside a group, but the "end_offset" member contains enough information to tell us that.
2010-07-10Successfully bootstraps!!Joshua Haberman
2010-07-10Fixed upb_string error with strange vsnprintf() behavior.Joshua Haberman
2010-07-10Incremental progress towards getting upb_def to bootstrap.Joshua Haberman
2010-07-10Basic test_def links and passes no-op test!Joshua Haberman
2010-07-10Fleshed out upb_string further. Now upb_def's onlyJoshua Haberman
unresolved references are upb_src.
2010-07-10Tests for string and fleshed out implementation.Joshua Haberman
2010-07-09Split src/ into core/ and stream/.Joshua Haberman
2010-07-09Add upb_string.c.Joshua Haberman
2010-07-09Strip out some stuff that's not currently being used.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback