Joshua Haberman
4c57b1fefd
More progress on Lua extension.
5 years ago
Joshua Haberman
626ec4bfcf
Everything builds, test pass except test_decoder.
5 years ago
Joshua Haberman
493e9b2614
Build fixes from fuzz target.
6 years ago
Joshua Haberman
8a41e6cb12
Fixed amalgamation to not exclude upb/decode.c.
6 years ago
Joshua Haberman
5611ff267b
Moved bazel files to bazel/ directory.
6 years ago
Joshua Haberman
f74cb51f11
Refactored workspace deps into a separate file.
6 years ago
Joshua Haberman
0fea70b4d9
Works with Bazel 0.24.1 and Bazel 0.25.2!
6 years ago
Joshua Haberman
cbe051a09c
Re-enabled conformance tests.
6 years ago
Joshua Haberman
e1fb10002d
Fixed include path.
6 years ago
Joshua Haberman
985145ca16
Fixed amalgamation and CMake build.
6 years ago
Joshua Haberman
d6e466e943
More refactoring/simplification.
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
Bo Yang
f298f3078b
Remove _XOPEN_SOURCE from amalgamate.py
6 years ago
Bo Yang
8b75e5c119
Add _XOPEN_SOURCE to amalgamate.py
6 years ago
Josh Haberman
ad905b08f5
Fixed amalgamation to properly include stdint.h first for UPB_SIZE().
6 years ago
Josh Haberman
22ad7121c2
Fixes for google3.
6 years ago
Josh Haberman
68d86cbc59
Ported BUILD file fixes for google3 to arrayapi branch.
6 years ago
Josh Haberman
ca5f951137
More fixes for google3 import.
6 years ago
Joshua Haberman
9bc7973e38
Fixes for Google import.
6 years ago
Joshua Haberman
7f9f7222bf
Changes for google3 import.
6 years ago
Joshua Haberman
0517c462e6
Delete obsolete dump_cinit.lua.
6 years ago
Paul Yang
c7870e0f77
Supprot FieldMask json encoding/decoding. ( #147 )
6 years ago
Joshua Haberman
1508648f30
Build & fix the JIT.
6 years ago
Josh Haberman
549a828f76
Disbled CMake tests for now.
6 years ago
Joshua Haberman
377871f104
Got test_decoder working!
6 years ago
Josh Haberman
32ef122e38
Deleted old Lua-based C API compiler.
...
This compiler has been ported to C++, so the Lua
compiler is no longer needed.
6 years ago
Bo Yang
b39dbb9d40
Add support for encoding Any in json
6 years ago
Joshua Haberman
35fa3df8ec
Fixes for macOS build. Also run tests in CMake test.
6 years ago
Vishal Powar
f6c33307c4
Fix tests for generated code
6 years ago
Josh Haberman
9ce4a77f61
Updates to build system for upb C++ compiler.
6 years ago
Josh Haberman
23fa64f10c
Added script to generate CMake build. Bazel tests it.
6 years ago
Josh Haberman
a7ebe54eb1
Conformance tests work under Bazel.
6 years ago
Josh Haberman
9bb0814c48
Added missing "upbc" file.
6 years ago
Paul Yang
706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. ( #126 )
...
* Fix json encoding for wrappers, ListValue, Struct and Value.
* Add well_known_type field in upb_msgdef to specify type of well known messages.
* Remove comma at end of enum definition.
* Group number wrappers
* Fix comments
* Refactoring to use is_wellknown_{msg/field}
6 years ago
Josh Haberman
b79fd65a83
WIP.
6 years ago
Josh Haberman
ae4c03b93c
Fixed port_def/undef so that the amalgamation is self-contained.
6 years ago
Josh Haberman
a4db175929
Removed unnecessary struct definition with "int a".
6 years ago
Josh Haberman
340bd01338
Removed default instance and oneof array from tables.
6 years ago
Joshua Haberman
3a37b91532
Fixed amalgamation.
6 years ago
Joshua Haberman
33d1231ead
Added port_def.inc and port_undef.inc.
6 years ago
Joshua Haberman
f7713ebc39
Changed C API to use inline functions and computed offsets.
6 years ago
Joshua Haberman
694d51f4d6
Changed C API to only define structs, a table, and a few minimal inline functions.
6 years ago
Joshua Haberman
b6a92a93c6
More work on CMake build, and updated conformance for proto3.
6 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.
6 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
Joshua Haberman
98f513fb8f
Fixed 32-bit build and added generated files.
7 years ago
Joshua Haberman
806ffc1d20
Responded to PR comments.
7 years ago
Joshua Haberman
be9094d91a
New encode/decode: most (171 / 192) conformance tests pass.
7 years ago
Joshua Haberman
1278ff8994
Responded to PR comments.
7 years ago
Josh Haberman
1aafd4111b
A good start on upb_encode and upb_decode.
8 years ago