Joshua Haberman
|
87de804b63
|
Make sources responsible for respecting UPB_MAX_NESTING.
|
15 years ago |
Joshua Haberman
|
dda1499a0e
|
Add status to the sink interfaces.
|
15 years ago |
Joshua Haberman
|
036fe6bb06
|
Flesh out implementation of upb_sizebuilder.
|
15 years ago |
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
|
57d6353a3c
|
Rename serializer -> encoder.
|
15 years ago |
Joshua Haberman
|
088b995c9e
|
Make msgsrc reversable.
|
15 years ago |
Joshua Haberman
|
90e4f08678
|
Incremental work on serialization.
|
15 years ago |
Joshua Haberman
|
50451ea441
|
Make onend upb_sink callback take the field as a parameter.
|
15 years ago |
Joshua Haberman
|
d7d1b2a141
|
Move many serializing functions to .cc file, since they do not need to be exposed.
|
15 years ago |
Joshua Haberman
|
02d2f8afb8
|
Implemented source for upb_msg.
|
15 years ago |
Joshua Haberman
|
b05205d224
|
Defined upb_sink interface and ported the parser to it.
|
15 years ago |
Joshua Haberman
|
527c094500
|
Reduced the complexity of the cbparser interface.
|
15 years ago |
Joshua Haberman
|
5864888c6e
|
Merge branch 'data-refactoring'. Ported benchmarks.
Conflicts:
src/upb_data.c
src/upb_data.h
|
15 years ago |
Joshua Haberman
|
d751973758
|
Ported/fixed tests to new data types.
|
15 years ago |
Joshua Haberman
|
6a8dfa5f26
|
upb_array -> upb_arrayptr.
|
15 years ago |
Joshua Haberman
|
8f2aeb8084
|
Modified descriptor files.
|
15 years ago |
Joshua Haberman
|
15604083c7
|
Move string representations back upb.h -> upb_data.h.
|
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
|
0e5b8e56b8
|
Correct descriptor: initialize base.
|
15 years ago |
Joshua Haberman
|
cb5befb343
|
Correct descriptor.h: for now messages always have a upb_data.
|
15 years ago |
Joshua Haberman
|
c33d51581a
|
upbc compiles and links! But probably doesn't work yet.
|
15 years ago |
Joshua Haberman
|
f6cc21bc2d
|
Doesn't compile, but all the code to be adapted is there.
|
15 years ago |
Joshua Haberman
|
ab0f2b8bba
|
Moved string library functions to .c instead of inlined, because they're not that small.
|
15 years ago |
Joshua Haberman
|
3f0d126b2a
|
Only remaining undefined symbol is upb_msg_parsestr.
|
15 years ago |
Joshua Haberman
|
cc39625767
|
Getting closer, only a few functions undefined now.
|
15 years ago |
Joshua Haberman
|
2876225d05
|
Force -Os for upb_def.o
|
15 years ago |
Joshua Haberman
|
afe911ea00
|
Removed upb_mm.
|
15 years ago |
Joshua Haberman
|
8978661a76
|
upbc compiles, but doesn't link due to unimplemented stuff in upb_data.
|
15 years ago |
Joshua Haberman
|
e5debfa1c9
|
More incremental work; ported some of upbc.
|
15 years ago |
Joshua Haberman
|
602e093504
|
Core compiles, though with warnings, and is still incomplete.
|
15 years ago |
Joshua Haberman
|
f49f7f94c1
|
More progress, upb_data and upb_def compile (but are incomplete).
|
15 years ago |
Joshua Haberman
|
a230cf5053
|
More work.
|
15 years ago |
Joshua Haberman
|
7dd113baa8
|
Added upb_data.*, left out of last commit.
|
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
|
2a8ba6f3a2
|
Updated upbc to new dyncasts.
|
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 |