Joshua Haberman
2a85bef825
Generated code interface for maps is complete, though not yet tested.
5 years ago
Joshua Haberman
4c57b1fefd
More progress on Lua extension.
5 years ago
Joshua Haberman
5239655b99
WIP.
5 years ago
Joshua Haberman
23825332e1
WIP.
5 years ago
Joshua Haberman
dc58b657ee
New reflection API doesn't need types as parameters for map/array.
...
All tests are passing again.
5 years ago
Joshua Haberman
c486da3970
WIP.
5 years ago
Joshua Haberman
ba0a2fb955
Compiles, doesn't work yet.
6 years ago
Joshua Haberman
c58541ea04
Added support for public dependencies.
6 years ago
Joshua Haberman
ef9499cb44
Migrate std::unordered_map -> absl::flat_hash_map.
6 years ago
Joshua Haberman
151ebc8a29
Fixed oneof case accessor to cast to enum for C++.
6 years ago
Josh Haberman
0c64c4b594
WIP.
6 years ago
Joshua Haberman
cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. ( #160 )
...
* Use port_def.inc to prevent macros from leaking to users.
* Added helpful comments to port_def.inc/port_undef.inc.
6 years ago
Josh Haberman
e86e198690
Changed enums to be open int32_t.
...
This also fixes a bug where generated code wouldn't
compile if the field's enum was defined in another file.
6 years ago
Josh Haberman
32e3f394b4
A few small API tweaks.
...
- Foo_parsenew() -> Foo_parse().
- parse function takes plain (const char*, size_t) instead of
upb_strview. The latter is mainly useful for strings inside
message objects.
6 years ago
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
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
Josh Haberman
5e958a8c05
test_json is working!
6 years ago
Joshua Haberman
377871f104
Got test_decoder working!
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
Vishal Powar
0811b6fead
Explicit cast when creating a new struct
6 years ago
Josh Haberman
5f575995b5
Added upb compiler written in C++ as a normal protoc plugin.
6 years ago