Protobuf Team
b8edc7153f
Internal change
...
PiperOrigin-RevId: 435056074
3 years ago
Joshua Haberman
afffa9eaeb
Two Ruby changes to unblock the release
3 years ago
Joshua Haberman
970c645140
Fixes for google3 (layering check and formatting).
3 years ago
Joshua Haberman
ccf2fa6c92
Added one more dep.
3 years ago
Joshua Haberman
97c3de35fe
Added google3 version of test wrapper.
3 years ago
Joshua Haberman
1e75fbf2c2
Ported api_implementation to py_extension().
3 years ago
Joshua Haberman
711885db8f
Added py_extension().
3 years ago
Joshua Haberman
8c530f9226
Changed generated code deps to avoid deps on core libraries.
...
This will allow the core libraries to be visibility controlled if
necessary.
3 years ago
Matt Kulukundis
9f8c080832
add missing license lines to bazel files
3 years ago
Joshua Haberman
56c59c10ed
Call protobuf_deps() ourselves instead of from upb_deps().
3 years ago
Joshua Haberman
e253b6ec03
Added a note that users calling upb_deps() must first depend on protobuf.
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
a07ac3fafc
Added comment about commented-out code.
3 years ago
Joshua Haberman
5c1f25b058
Added explanatory comment for py_proto_library().
3 years ago
Joshua Haberman
5a10ce7025
Added a Bazel rule to build a binary wheel.
3 years ago
Joshua Haberman
ffdcc46390
Fixed a handful of reference leaks found in a debug build of Python ( #484 )
...
* Fixed some reference leaks.
* Fixed a few reference leaks.
* Fixed a few more memory errors.
* Fixed a few more reference leaks.
* Revert minimal_test.py.
* Re-enable limited API.
* Removed some debugging and spurious changes.
* Addressed PR comments.
3 years ago
Fabian Meumertzheim
5ea5b05530
Build tools in the exec configuration
...
Bazel has deprecated the host configuration and replaced it with the
exec configuration, which has proper support for transitions and remote
build execution.
3 years ago
Joshua Haberman
33b6049871
Fixed test_util.py so that golden data can be found.
3 years ago
Joshua Haberman
4423e917ad
All tests in the repo are passing.
3 years ago
Joshua Haberman
e079f1bce5
Patched protobuf repo sufficiently for things to work.
3 years ago
Joshua Haberman
c5a69b79aa
Updated protobuf version.
...
This also required fixing a bug in the fast parser.
3 years ago
Joshua Haberman
b8736ae28a
WIP.
3 years ago
Joshua Haberman
5d92e132c7
Removed defunct link to old protobuf.
3 years ago
Joshua Haberman
6f7634f707
Fixed ABSL version to a specific commit.
3 years ago
Joshua Haberman
ca8eadca41
Updated version of google-benchmark so we can use interleaving.
3 years ago
Joshua Haberman
7183780b60
Added a Valgrind test that works for Python!
3 years ago
Joshua Haberman
98eab1c0c2
Fix the build on macos.
3 years ago
Joshua Haberman
ae160982e3
Fixed the Python system headers rule.
...
It now usse python sysconfig to find the include directory.
3 years ago
Joshua Haberman
5d8c3db94f
Added copyright header and docs for python_headers().
3 years ago
Joshua Haberman
94ece04552
Initial commit of Python+upb.
3 years ago
Joshua Haberman
eabb77458a
Fixes to make upb's tests compatible with a minimal Docker container.
3 years ago
Joshua Haberman
314e840a77
Fixed error message in Bazel aspect.
...
Fixes: https://github.com/protocolbuffers/upb/issues/391
3 years ago
Joshua Haberman
334b22e809
Downgrade rules_python to 0.1.0 to accommodate Kokoro image.
...
Kokoro still is on Python 3.5. Hopefully soon we will be on
a Bazel Docker image where we can include a newer Python.
3 years ago
Joshua Haberman
f5796aa607
Updated Bazel fuzzing to use the newest fuzz rules.
3 years ago
Joshua Haberman
173554146f
Updated some docs and removed/rearranged some obsolete stuff.
3 years ago
Joshua Haberman
dda5416569
Update bazel-skylib main branch name.
4 years ago
Joshua Haberman
823eb09694
Update all 2011 dates to 2021.
4 years ago
Joshua Haberman
e59d2c8fa7
Added license headers to all files.
4 years ago
Joshua Haberman
89df647460
Updated versions of ABSL and protobuf deps.
4 years ago
Joshua Haberman
f5d2d55007
Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name.
...
This is possible now that all users have been migrated to the new
upb_msg APIs.
4 years ago
Esun Kim
3cab8a38fc
Fixed upbdefs error
4 years ago
Joshua Haberman
7a54a5f3d6
Split the code generators for .upb and .upbdefs.
...
Before there was a single code generator that generated both
.upb and .upbdefs, even though they are generated by different
rules. This worked fine as long as the codegen steps were
sandboxed, but if not it led to build errors.
Fixes https://github.com/protocolbuffers/upb/issues/354 .
4 years ago
Joshua Haberman
555fbbc0bc
Size benchmarks are working pretty well.
4 years ago
Joshua Haberman
3a3efe69a2
Added incompatible_use_toolchain_transition = True per https://github.com/bazelbuild/bazel/issues/11584
4 years ago
Joshua Haberman
5b1f0d86a1
For Kokoro, only build/test -m32 on Linux.
...
Also fixed a bunch of bugs found by gcc's -fanalyzer.
4 years ago
Joshua Haberman
e8f9eac68c
Added #defines UPB_ENABLE_FASTTABLE and UPB_TRY_ENABLE_FASTTABLE.
...
These control whether fasttable decoding is on.
4 years ago
Benjamin Peterson
b5bd5807a7
Migrate to modern Starlark linking api.
...
See https://github.com/bazelbuild/bazel/issues/10860 .
4 years ago
Joshua Haberman
7e5bd65098
Plumbed copts (including the crucial -std=c99) to upb_proto_library() aspect.
4 years ago
Joshua Haberman
a274ad786a
Plumbed copts (including the crucial -std=c99) to upb_proto_library() aspect.
4 years ago
Joshua Haberman
2c8bb6dd9d
Specify C99 explicitly until/unless we stop using bool.
4 years ago