Joshua Haberman
901463e41e
Added benchmark of parsing.
6 years ago
Joshua Haberman
ba29af3a6a
Hid generated-code-only headers inside a separate library.
6 years ago
Joshua Haberman
5611ff267b
Moved bazel files to bazel/ directory.
6 years ago
Joshua Haberman
a126b9a046
Removed package(), Bazel doesn't support it.
6 years ago
Joshua Haberman
44817c02fa
Added package() statement.
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
06b90f9b69
Split upb_proto_library.bzl into its own .bzl file.
6 years ago
Joshua Haberman
d94c2d3c74
Another fix of course.
6 years ago
Joshua Haberman
1cf4af7b2c
A (final?) round of Blaze fixes.
6 years ago
Joshua Haberman
5e5e0cf24a
More Blaze fixes.
6 years ago
Joshua Haberman
4451b790bd
More Blaze fixes.
6 years ago
Joshua Haberman
e04216eb0f
More Blaze fixes.
6 years ago
Joshua Haberman
c0a1afa16f
More Blaze fixes.
6 years ago
Joshua Haberman
9b07311c7c
More Blaze fixes.
6 years ago
Joshua Haberman
7913bc678a
Removed obsolete references to runfiles scripts.
6 years ago
Joshua Haberman
81e813d389
Made upb_proto_reflection_library() a true aspect.
6 years ago
Joshua Haberman
301b6e2d78
Removed map_dep() in favor of rewrites.
6 years ago
Joshua Haberman
9a66356d95
More Blaze fixes.
6 years ago
Joshua Haberman
13eb14986b
More fixes for Blaze.
6 years ago
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