Joshua Haberman
7a6a702792
Allow static upb_strings.
...
This can allow strings to reference static data, and
reduced the memory footprint of test_def by about 10%
(3k).
15 years ago
Joshua Haberman
a7eaeaaaec
Change descriptor.c/h to be just a byte array of serialized descriptor.proto.
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
0e5b8e56b8
Correct descriptor: initialize base.
15 years ago
Joshua Haberman
602e093504
Core compiles, though with warnings, and is still incomplete.
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
10cdab28e9
Add a friendly comment at the top of auto-generated C files.
16 years ago
Joshua Haberman
a952e42e99
Fixed a bug in set_flags order in the compiler.
16 years ago
Joshua Haberman
c7154e0fb4
New descriptor.c and descriptor.h (generated by upbc!)
16 years ago
Joshua Haberman
462b26c1cc
Directory restructuring.
16 years ago
Joshua Haberman
485b964662
Bugfixes.
16 years ago
Joshua Haberman
c21ad57da6
More work to msg and parse. Getting close!
16 years ago
Joshua Haberman
9595dfa2dc
Fleshed out upb_context some.
16 years ago
Joshua Haberman
0c80c38475
A flurry of activity. Doesn't compile yet.
...
- a descriptor.c that describes the data structures in
descriptor.proto using the data structures in descriptor.h.
- everything renamed pbstream -> upb.
- modularization rethought.
- Doesn't compile yet, but should once things settle back down.
16 years ago
Joshua Haberman
d4f3e5a1af
Add descriptor.proto formats as C data.
...
This will be the bootstrapping strategy.
16 years ago