Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-22 | Major work on Lua extension and default values. | Joshua Haberman | |
Default values are now supported, and the Lua extension can now create and modify individual protobuf objects. | |||
2011-02-20 | Split varint decoders into separate .h file. | Joshua Haberman | |
This makes it easier to benchmark and test the multiple possible implementations of varint decoding. | |||
2011-02-18 | Change the API for getting the bootstrapped defs. | Joshua Haberman | |
The symtab that contains them is now hidden, and you can look them up by name but there is no access to the symtab itself, so there is no risk of mutating it (by extending it, adding other defs to it, etc). | |||
2011-02-17 | Split inttable into a hash part and an array part. | Joshua Haberman | |
upb_inttable() now supports a "compact" operation that will decide on an array size and put all entries with small enough keys into the array part for faster lookup. Also exposed the upb_itof_ent structure and put a few useful values there, so they are one fewer pointer chase away. | |||
2011-02-10 | Add (but do not activate) an SSE varint decoder. | Joshua Haberman | |
2011-02-06 | All tests pass again, valgrind-clean! Next up: benchmarks. | Joshua Haberman | |
2011-02-05 | Another round of fixes. | Joshua Haberman | |
test_vs_proto2.googlemessage1 passes again, with no memory leaks! | |||
2011-02-05 | Tons of work: we're close to passing test_vs_proto2 again. | Joshua Haberman | |
2011-02-04 | Improved table benchmark accuracy and output formatting. | Joshua Haberman | |
2011-01-30 | Fixes 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-29 | Fixes to decoder, stdio, textprinter. | Joshua Haberman | |
2011-01-22 | Added test_stream.c for testing upb_stream.h. | Joshua Haberman | |
2011-01-22 | upb bootstraps again! and with no memory leaks! | Joshua Haberman | |
2011-01-21 | Debugging test_def, it's close to working again! | Joshua Haberman | |
2010-08-02 | Fleshed out upb_msg: test_vs_proto2 compiles but fails. | Joshua Haberman | |
2010-07-21 | Updated Lua extension to handle fielddefs. | Joshua Haberman | |
2010-07-17 | Add forgotten test_decoder.c. | Joshua Haberman | |
2010-07-11 | Allow 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-10 | Successfully bootstraps!! | Joshua Haberman | |
2010-07-10 | Fixed upb_string error with strange vsnprintf() behavior. | Joshua Haberman | |
2010-07-10 | Incremental progress towards getting upb_def to bootstrap. | 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 | Tweaks to upb_src/upb_sink interfaces. | Joshua Haberman | |
2010-01-16 | Removed union tag from types. | Joshua Haberman | |
2010-01-15 | Remove struct keyword from all types, use typedef instead. | Joshua Haberman | |
2010-01-15 | upb_parser -> upb_decoder | Joshua Haberman | |
2010-01-05 | Merge branch 'data-refactoring'. Ported benchmarks. | Joshua Haberman | |
Conflicts: src/upb_data.c src/upb_data.h | |||
2010-01-05 | Ported/fixed tests to new data types. | Joshua Haberman | |
2010-01-01 | Bugfixes: descriptorgen works without leaks! | Joshua Haberman | |
2009-12-06 | Truly fixed type cyclic refcounting. | Joshua Haberman | |
2009-12-06 | Circular references truly work now, along with a test. | Joshua Haberman | |
One simplification to come. | |||
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-28 | Overhaul defs to derive from a common base. | Joshua Haberman | |
2009-11-26 | Make upb_msgdef own all its data. | Joshua Haberman | |
This is in anticipation of making upb_msgdef's easy to dup. This involved removing all traces of any descriptors from the defs. | |||
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 | Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef. | Joshua Haberman | |
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-15 | Finish upb_context thread-safety. | Joshua Haberman | |
2009-08-15 | Add refcounting and thread-safety to message definitions. | 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. | |||
2009-08-03 | Fix tests (and src) such that all tests pass again. | Joshua Haberman | |
2009-08-01 | Added a proper prototype for upb_serialize. | Joshua Haberman | |
2009-07-25 | Move parsing functions to header file in anticipation of code generation ↵ | Joshua Haberman | |
(want them inlined). | |||
2009-07-23 | upb is fully self-hosting (except for text->descriptor)! | Joshua Haberman | |