Joshua Haberman
|
db6c7387bc
|
Incremental progress towards getting upb_def to bootstrap.
|
15 years ago |
Joshua Haberman
|
67b16cbe5c
|
Basic test_def links and passes no-op test!
|
15 years ago |
Joshua Haberman
|
2ef013126c
|
Fleshed out upb_string further. Now upb_def's only
unresolved references are upb_src.
|
15 years ago |
Joshua Haberman
|
28ec9a1fa0
|
Split src/ into core/ and stream/.
|
15 years ago |
Joshua Haberman
|
be5ddd8a64
|
Tweaks to upb_src/upb_sink interfaces.
|
15 years ago |
Joshua Haberman
|
209dce5eb0
|
Defined the function for getting a upb_symtab for descriptor.proto.
|
15 years ago |
Joshua Haberman
|
9d051254b3
|
Implemented upb_baredecoder, for bootstrapping.
|
15 years ago |
Joshua Haberman
|
5ea7f943f9
|
upb_def now theoretically works again.
|
15 years ago |
Joshua Haberman
|
9c9b464553
|
Implement upb_deflist_qualify.
|
15 years ago |
Joshua Haberman
|
956fc84150
|
More work on upb_def.
|
15 years ago |
Joshua Haberman
|
a417be0f87
|
More work on upb_def.
|
15 years ago |
Joshua Haberman
|
229fcf7119
|
upb_def compiles again, though with lots of #if 0.
|
15 years ago |
Joshua Haberman
|
6bf58a7328
|
Incremental progress on upb_def.
|
15 years ago |
Joshua Haberman
|
35e5c248be
|
Work to make upb_def consume a upb_src.
|
15 years ago |
Joshua Haberman
|
cfe0ef08c1
|
Changes to upb_def to stop using upb_msg.
|
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
|
6a8dfa5f26
|
upb_array -> upb_arrayptr.
|
15 years ago |
Joshua Haberman
|
fa5710f1ca
|
upb_string* -> upb_strptr, to follow aliasing rules.
|
15 years ago |
Joshua Haberman
|
ece08710a6
|
Bugfixes: descriptorgen works without leaks!
|
15 years ago |
Joshua Haberman
|
2fdc9df97e
|
Other than a couple memory leaks, "make descriptorgen" works again!
|
15 years ago |
Joshua Haberman
|
e5debfa1c9
|
More incremental work; ported some of upbc.
|
15 years ago |
Joshua Haberman
|
f49f7f94c1
|
More progress, upb_data and upb_def compile (but are incomplete).
|
15 years ago |
Joshua Haberman
|
c241976485
|
In the midst of a major refactoring.
|
15 years ago |
Joshua Haberman
|
c6cba2af37
|
Clarified comment.
|
15 years ago |
Joshua Haberman
|
dc4246db78
|
Refined interface of upb_symtab.
|
15 years ago |
Joshua Haberman
|
0a6fc5fad3
|
Truly fixed type cyclic refcounting.
|
15 years ago |
Joshua Haberman
|
e15f834a91
|
Circular references truly work now, along with a test.
One simplification to come.
|
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
|
651c92ab33
|
Scheme for collecting circular refs.
"make descriptorgen" is now valgrind-clean again.
|
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
|
246a36998b
|
WIP of cleaning up defs.
|
15 years ago |
Joshua Haberman
|
d160380736
|
Update upbc to use self-describing upb_msg instead of void*.
|
15 years ago |
Joshua Haberman
|
6191fe3ae2
|
Reference-count upb_msgdef and upb_enumdef.
The context owns a reference on each def, defs own references
on defs they reference, and msgs own refs on their def.
|
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
|
e252432a41
|
Refactoring: split defs into their own file, move private parsing funcs out of .h file.
|
15 years ago |