Mike Kruskal
1881a390b0
Bump upb to Abseil LTS 20230125 RC3
...
PiperOrigin-RevId: 504582691
2 years ago
Mike Kruskal
ac471fe675
Upgrade to Abseil LTS 20230117
...
PiperOrigin-RevId: 503566664
2 years ago
Mike Kruskal
e1959a0c22
Migrate docker images to the new Artifact Registry location.
...
PiperOrigin-RevId: 502777157
2 years ago
Mike Kruskal
5d4d54d387
Disable deprecation warnings triggered by Abseil bug https://github.com/abseil/abseil-cpp/issues/1201
...
PiperOrigin-RevId: 502000716
2 years ago
Laramie Leavitt
7d76251d9f
Split upb_amalgamation into a separate .bzl file
...
PiperOrigin-RevId: 489034477
2 years ago
Joshua Haberman
18446cf64f
Removed unused "paths" import.
2 years ago
Joshua Haberman
896e74c141
Optimizes `upb_MiniTable_Enum` for large but dense enums.
...
Optimizes `upb_MiniTable_Enum` for enums with many values (>64) but with relatively dense packing in numeric space.
This CL optimizes both the size and speed of such enums:
- size: 30x code size reduction
- speed: moved from linear search to a constant-time bit test
Negative enum values are still expensive, as they are never put into the bitfield.
PiperOrigin-RevId: 473259819
2 years ago
Joshua Haberman
ccd88d5a63
Updated staleness test and amalgamator to work cross-repo.
2 years ago
Mike Kruskal
17b6451684
Bumping protobuf dependency to newer commit
...
PiperOrigin-RevId: 460811319
2 years ago
Protobuf Team
b8edc7153f
Internal change
...
PiperOrigin-RevId: 435056074
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
173554146f
Updated some docs and removed/rearranged some obsolete stuff.
3 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
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
Joshua Haberman
7e5bd65098
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
Joshua Haberman
b7dc77415a
Added licenses() to all BUILD files.
4 years ago
Joshua Haberman
e3f41de6c7
Split monolithic BUILD file into many build files.
4 years ago
Joshua Haberman
0dc2394da5
Changes to support import into google3 ( #291 )
...
* Fixes for google3.
* Added to failure list for new failure.
* Reused existing failure list file.
* Add a ./ to assist rewriting.
5 years ago
Joshua Haberman
16facab490
Created an amalgamation without handlers, and fixed some bugs. ( #283 )
...
* Created amalgamation with upb_msg but no handlers.
* Bugfix for upb_array_resize().
* Renamed "lite" amalgamation to "core", to avoid confusion.
Traditionally "lite" has meant "without reflection", but here we
mean it as "without handlers-based code."
* Build fixes from CI tests.
* Removed some more C++-style comments.
* Fix for out-of-order statements.
5 years ago
Joshua Haberman
bfc86d3577
Fixed many bugs, basic Lua test passes!
5 years ago
Joshua Haberman
27b95c969a
WIP.
5 years ago
Joshua Haberman
ee87a28d2d
Some minor style fixes.
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
06b90f9b69
Split upb_proto_library.bzl into its own .bzl file.
6 years ago
Joshua Haberman
1cf4af7b2c
A (final?) round of Blaze fixes.
6 years ago
Joshua Haberman
e04216eb0f
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
13eb14986b
More fixes for Blaze.
6 years ago
Joshua Haberman
a37877a326
Fixes for Blaze.
6 years ago
Joshua Haberman
0fea70b4d9
Works with Bazel 0.24.1 and Bazel 0.25.2!
6 years ago
Joshua Haberman
e294a16c08
Added name to cc_library_func() to avoid conflicts.
6 years ago
Joshua Haberman
6c1b78f095
Update Skylib and update to newer Sandwich API.
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
65f97218d1
Removed some obsolete code.
6 years ago
Josh Haberman
9fa3e8bd62
Fix the Ubuntu build.
6 years ago
Joshua Haberman
239d4a90db
Fixed upb_proto_library() for macOS.
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
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
Josh Haberman
3d93155790
Fix to deps.
6 years ago