summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2009-12-06Circular references truly work now, along with a test.Joshua Haberman
One simplification to come.
2009-12-05Add a test for circularly-linked descriptors.Joshua Haberman
The test currently triggers valgrind-detected memory errors.
2009-12-05Make 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-28Overhaul defs to derive from a common base.Joshua Haberman
2009-11-26Make 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-14Changed 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-14Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef.Joshua Haberman
2009-11-14Refactoring: split defs into their own file, move private parsing funcs out ↵Joshua Haberman
of .h file.
2009-09-26Use 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-30Tests use valgrind, chdir in test.Joshua Haberman
2009-08-30Unit test comparing parsed results with proto2.Joshua Haberman
2009-08-28Incremental improvements to cbparser, and a test.Joshua Haberman
2009-08-15Finish upb_context thread-safety.Joshua Haberman
2009-08-15Add refcounting and thread-safety to message definitions.Joshua Haberman
2009-08-12Refactoring: 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-03Fix tests (and src) such that all tests pass again.Joshua Haberman
2009-08-01Added a proper prototype for upb_serialize.Joshua Haberman
2009-07-25Move parsing functions to header file in anticipation of code generation ↵Joshua Haberman
(want them inlined).
2009-07-23upb is fully self-hosting (except for text->descriptor)!Joshua Haberman
2009-07-21Update test_table to new table API.Joshua Haberman
2009-07-21Fix tests and the build (though a few tests are failing).Joshua Haberman
2009-07-20Significant, experimental changes (setjmp/longjmp, group handling).Joshua Haberman
2009-07-17Enhanced testing.Joshua Haberman
2009-07-08Directory restructuring.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback