Joshua Haberman
cb26d883d1
WIP.
6 years ago
Josh Haberman
9ea6bb4678
Renamed upb_stringview -> upb_strview for C terseness.
6 years ago
Josh Haberman
aac4d03420
Standardize on package_name_Message_mutable_foo() for mutable accessors.
6 years ago
Joshua Haberman
7a0a25af05
Updated generated code.
6 years ago
Joshua Haberman
0ce9b81815
Fixed bugs in array accessors.
6 years ago
Joshua Haberman
c3011c1548
Fixed bug: make proto2 setters set hasbit.
6 years ago
Joshua Haberman
618981a60f
Added mutable_ accessor for submessages.
6 years ago
Joshua Haberman
bc916f1d0f
Added "add" accessors for repeated fields.
6 years ago
Joshua Haberman
380558922b
test_encoder passes! Other tests still need to be fixed.
6 years ago
Joshua Haberman
aa2d5a609b
Fixed generated code for C++.
6 years ago
Joshua Haberman
10e682cf2a
Added hazzers.
6 years ago
Joshua Haberman
6bcdaa1352
Changed generated array accessors to be more convenient.
6 years ago
Joshua Haberman
7ff8413a03
Ported some tests.
6 years ago
Vishal Powar
f6c33307c4
Fix tests for generated code
6 years ago
Vishal Powar
e2ad6bd146
Fix tests for generated code
6 years ago
Josh Haberman
a4db175929
Removed unnecessary struct definition with "int a".
7 years ago
Josh Haberman
340bd01338
Removed default instance and oneof array from tables.
7 years ago
Joshua Haberman
287ab94800
A few more compile fixes.
7 years ago
Joshua Haberman
f7713ebc39
Changed C API to use inline functions and computed offsets.
7 years ago
Joshua Haberman
694d51f4d6
Changed C API to only define structs, a table, and a few minimal inline functions.
7 years ago
Josh Haberman
e94ac4f757
Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}.
...
Also got rid of the premature "v1" business that was attempting
to create a binary compatibility story.
Also added an in-progress CMakeLists.txt file.
7 years ago
Josh Haberman
cea737028f
Added google/protobuf/descriptor.upb.* to core.
...
This is in preparation for making upb_def capable
of parsing binary descriptors directly.
We leave upb/descriptor/descriptor.upbdefs.* in
place for now, because upb/descriptor/reader.*
still depends on it.
Also removed a bit of cruft from the codegen.
7 years ago