Joshua Haberman
|
611afe9c69
|
Removed union tag from types.
|
15 years ago |
Joshua Haberman
|
d5566c6038
|
Remove struct keyword from all types, use typedef instead.
|
15 years ago |
Joshua Haberman
|
9116c697f8
|
upb_parser -> upb_decoder
|
15 years ago |
Joshua Haberman
|
d751973758
|
Ported/fixed tests to new data types.
|
15 years ago |
Joshua Haberman
|
08b4a91204
|
Add a test for circularly-linked descriptors.
The test currently triggers valgrind-detected memory errors.
|
15 years ago |
Joshua Haberman
|
18291eedc3
|
Make defs refcounted, rename upb_context->upbsymtab.
There is currently a memory leak when type definitions
form cycles. This will need to be dealt with.
|
15 years ago |
Joshua Haberman
|
a95ab58e79
|
Overhaul defs to derive from a common base.
|
15 years ago |
Joshua Haberman
|
9e3f5e343b
|
Make upb_msgdef own all its data.
This is in anticipation of making upb_msgdef's easy
to dup. This involved removing all traces of any
descriptors from the defs.
|
15 years ago |
Joshua Haberman
|
7cde43ea0a
|
Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef.
|
15 years ago |
Joshua Haberman
|
33a68acb14
|
Use a status object for errors so a message can be returned.
Also delay deletion of subfields until the entire message is
deleted.
|
15 years ago |
Joshua Haberman
|
46fac0f58d
|
Tests use valgrind, chdir in test.
|
15 years ago |
Joshua Haberman
|
00ba0d1ac1
|
Unit test comparing parsed results with proto2.
|
15 years ago |