Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-14 | Revive Lua extension. | Joshua Haberman | |
It builds and you can inspect a symtab. Still need to expose streaming and message based interfaces. | |||
2011-02-14 | Update to latest descriptor.proto. | Joshua Haberman | |
2011-02-14 | More completely fixed the 0-key thing. | Joshua Haberman | |
Unfortunately this degrades hash table lookup performance by about 8%, which affects the streaming benchmark for googlemessage1 by about 5%. We could get this back at the cost of some memory, but it would be nice to avoid that. | |||
2011-02-13 | Added proper error about broken 0-values for enums. | Joshua Haberman | |
2011-02-13 | Moved upbc -> src/ | Joshua Haberman | |
2011-02-13 | Fix upbc and descriptorgen, and update descriptor. | Joshua Haberman | |
2011-02-13 | Cleanup Makefile and mv descriptor/ -> src/ | Joshua Haberman | |
2011-02-13 | Merged core/ and stream/ -> src/. The split wasn't worth it. | Joshua Haberman | |
2011-02-08 | Fix upb's parsetostruct benchmark. | Joshua Haberman | |
2011-02-06 | All tests pass again, valgrind-clean! Next up: benchmarks. | Joshua Haberman | |
2011-02-05 | Tons of work: we're close to passing test_vs_proto2 again. | Joshua Haberman | |
2011-02-02 | Gutted upb_msg a bit, re-adding only the essentials. | Joshua Haberman | |
2011-01-29 | upb_strstream compiles again. | Joshua Haberman | |
That covers all source files except upb_msg! | |||
2011-01-25 | More work on decoder and stdio bytesrc/bytesink. | Joshua Haberman | |
2011-01-24 | Decoder compiles again! But probably doesn't work. | Joshua Haberman | |
2011-01-22 | Added test_stream.c for testing upb_stream.h. | Joshua Haberman | |
2011-01-21 | Debugging test_def, it's close to working again! | Joshua Haberman | |
2011-01-10 | More work on upb_src. | Joshua Haberman | |
2010-12-06 | The 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-08-02 | Fleshed out upb_msg: test_vs_proto2 compiles but fails. | Joshua Haberman | |
2010-07-24 | Stream decoding benchmark. | Joshua Haberman | |
2010-07-18 | First go at Lua bindings. | Joshua Haberman | |
2010-07-17 | Fleshed out upb_stdio and upb_textprinter. | Joshua Haberman | |
test_decoder now compiles and links! But it doesn't work yet. | |||
2010-07-12 | Added more comments for upb_src interface. | Joshua Haberman | |
2010-07-11 | Reduce 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-10 | Incremental progress towards getting upb_def to bootstrap. | Joshua Haberman | |
2010-07-10 | Basic test_def links and passes no-op test! | Joshua Haberman | |
2010-07-10 | Fleshed out upb_string further. Now upb_def's only | Joshua Haberman | |
unresolved references are upb_src. | |||
2010-07-10 | Tests for string and fleshed out implementation. | Joshua Haberman | |
2010-07-09 | Split src/ into core/ and stream/. | Joshua Haberman | |
2010-07-09 | Tweaks to upb_src/upb_sink interfaces. | Joshua Haberman | |
2010-07-07 | Defined the function for getting a upb_symtab for descriptor.proto. | Joshua Haberman | |
2010-01-15 | upb_parser -> upb_decoder | Joshua Haberman | |
2010-01-15 | Rename serializer -> encoder. | Joshua Haberman | |
2010-01-12 | Move many serializing functions to .cc file, since they do not need to be ↵ | Joshua Haberman | |
exposed. | |||
2009-12-29 | Only remaining undefined symbol is upb_msg_parsestr. | Joshua Haberman | |
2009-12-28 | Force -Os for upb_def.o | Joshua Haberman | |
2009-12-21 | In the midst of a major refactoring. | Joshua Haberman | |
2009-12-05 | Add a test for circularly-linked descriptors. | Joshua Haberman | |
The test currently triggers valgrind-detected memory errors. | |||
2009-12-05 | Make defs refcounted, rename upb_context->upbsymtab. | Joshua Haberman | |
There is currently a memory leak when type definitions form cycles. This will need to be dealt with. | |||
2009-11-14 | Changed parse API to know about msgdefs. | Joshua Haberman | |
This should make it both easier to use and easier to optimize, in exchange for a small amount of generality. In practice, any remotely normal case is still very natural. | |||
2009-11-14 | Refactoring: split defs into their own file, move private parsing funcs out ↵ | Joshua Haberman | |
of .h file. | |||
2009-09-26 | Use a status object for errors so a message can be returned. | Joshua Haberman | |
Also delay deletion of subfields until the entire message is deleted. | |||
2009-08-30 | Tests use valgrind, chdir in test. | Joshua Haberman | |
2009-08-30 | Unit test comparing parsed results with proto2. | Joshua Haberman | |
2009-08-28 | Incremental improvements to cbparser, and a test. | Joshua Haberman | |
2009-08-27 | Some cleanup and reformatting, fixed the benchmarks. | Joshua Haberman | |
2009-08-24 | Significant memory-management refactoring any Python extension. | Joshua Haberman | |
2009-08-16 | Various fixes. | Joshua Haberman | |
2009-08-12 | Refactoring: unify upb_msg. | Joshua Haberman | |
The cost is that a upb_msg will now always have an overhead of 2*sizeof(void*). This is comparable to proto2 overhead. The benefit is that upb_msg is now self-describing, and read-only algorithms can now operate on a upb_msg regardless of the memory-management scheme. Also, upb_array and upb_string now know inherently if they own their associated memory, and upb_array has a generic pointer for memory management purposes like upb_msg does. |