Joshua Haberman
a37877a326
Fixes for Blaze.
6 years ago
Joshua Haberman
cbe051a09c
Re-enabled conformance tests.
6 years ago
Joshua Haberman
61034f50b3
Fixed conflict error with Ragel on Bazel 0.25.
6 years ago
Joshua Haberman
20d849a5e0
Fixes for Bazel 0.25.
...
Disabled the conformance tests for now because I didn't push
the necessary changes to the protobuf repo yet.
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
151ebc8a29
Fixed oneof case accessor to cast to enum for C++.
6 years ago
Josh Haberman
cd9e1e6817
upb_proto_library() aspect is working, even for external repos.
6 years ago
Josh Haberman
f3c560122a
upb_proto_library() works for local project!
...
Doesn't work for remote projects yet though.
6 years ago
Josh Haberman
02e26c5004
Replaced upb_proto_library() with a truly aspect-based rule.
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
Joshua Haberman
928ef7f2c0
Removed reflection and other extraneous things from the core library. ( #158 )
...
* Removed reflection and other extraneous things from the core library.
* Added missing files and ran buildifier.
* New CMakeLists.txt.
* Made table its own cc_library() for internal usage.
6 years ago
Joshua Haberman
00f96cb947
Fixed macOS Kokoro build for new Bazel. ( #159 )
6 years ago
Bo Yang
f3d5ff02d1
Commented out missing file
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
3d93155790
Fix to deps.
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
c358bb42fd
A few more Google fixes.
6 years ago
Josh Haberman
ca5f951137
More fixes for google3 import.
6 years ago
Joshua Haberman
7f9f7222bf
Changes for google3 import.
6 years ago
Joshua Haberman
77371f050c
Some rearranging and cleanup.
6 years ago
Joshua Haberman
84fb01ad0f
Removed the JIT. Nobody was actually using it, and table-driven should achieve 80-90% of the perf.
6 years ago
Joshua Haberman
1508648f30
Build & fix the JIT.
6 years ago
Joshua Haberman
a9c375f8ea
Partway through refactoring of Arena.
6 years ago
Joshua Haberman
48863ea0be
A lot more tests are working now.
6 years ago
Joshua Haberman
0553eff64a
upb_refcounted is gone! Some tests still to fix.
6 years ago
Josh Haberman
9dd2446531
test_cpp is working!
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
10e682cf2a
Added hazzers.
6 years ago
Joshua Haberman
7ff8413a03
Ported some tests.
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
Joshua Haberman
336402b4d7
WIP, core library compiles now.
6 years ago
Paul Yang
13c59cb051
Implement json decoding for Any message. ( #130 )
...
* Implement json decoding for Any message.
type url may not appear as the first value in json. As a result,
other data cannot be resolved before resolving type url. To solve that,
this change caches the start and end position of unparsed values and
resolve them in end_any_object when type url has been resolved.
* Handle Any in switch
* Update json parser size
* Fix comments
* Sync upstream
* Add dependency on upb_pb for upb_json
* Debug failed test
* Fix cmake
* Update test generated files
* Remove debug tests
6 years ago
Joshua Haberman
35fa3df8ec
Fixes for macOS build. Also run tests in CMake test.
6 years ago
Paul Yang
9e44a757ed
Fix Bazel Kokoro build ( #136 )
6 years ago
Vishal Powar
7031f77666
Add visibility for use in other projects.
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
2655ed9cf5
Bazel builds everything except conformance_upb.
6 years ago
Josh Haberman
01ed4ce3d4
WIP.
6 years ago