The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

358 lines
8.1 KiB

Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Google LLC nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL Google LLC BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
load(
"//bazel:build_defs.bzl",
"UPB_DEFAULT_COPTS",
"upb_amalgamation", # copybara:strip_for_google3
)
load(
"//bazel:upb_proto_library.bzl",
"upb_fasttable_enabled",
"upb_proto_library",
"upb_proto_library_copts",
"upb_proto_reflection_library",
)
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
licenses(["notice"])
exports_files([
"LICENSE",
"build_defs",
])
config_setting(
name = "windows",
constraint_values = ["@bazel_tools//platforms:windows"],
)
upb_fasttable_enabled(
name = "fasttable_enabled",
build_setting_default = False,
visibility = ["//visibility:public"],
)
config_setting(
name = "fasttable_enabled_setting",
flag_values = {"//:fasttable_enabled": "true"},
)
upb_proto_library_copts(
name = "upb_proto_library_copts__for_generated_code_only_do_not_use",
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
)
# Public C/C++ libraries #######################################################
cc_library(
name = "port",
copts = UPB_DEFAULT_COPTS,
textual_hdrs = [
"upb/port_def.inc",
"upb/port_undef.inc",
],
visibility = ["//tests:__pkg__"],
)
cc_library(
name = "upb",
srcs = [
"upb/decode.c",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/decode_internal.h",
"upb/encode.c",
"upb/msg.c",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/msg_internal.h",
"upb/table.c",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/table_internal.h",
"upb/upb.c",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/upb_internal.h",
],
hdrs = [
"upb/decode.h",
"upb/encode.h",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/msg.h",
"upb/upb.h",
"upb/upb.hpp",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":fastdecode",
":port",
],
)
cc_library(
name = "fastdecode",
srcs = [
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/decode_internal.h",
"upb/decode_fast.c",
"upb/decode_fast.h",
"upb/msg.h",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/msg_internal.h",
"upb/upb_internal.h",
],
copts = UPB_DEFAULT_COPTS,
deps = [
":port",
":table",
],
)
# Common support routines used by generated code. This library has no
# implementation, but depends on :upb and exposes a few more hdrs.
#
# This is public only because we have no way of visibility-limiting it to
# upb_proto_library() only. This interface is not stable and by using it you
# give up any backward compatibility guarantees.
cc_library(
name = "generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
hdrs = [
"upb/decode_fast.h",
"upb/msg.h",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/msg_internal.h",
"upb/port_def.inc",
"upb/port_undef.inc",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":table",
":upb",
],
)
upb_proto_library(
name = "descriptor_upb_proto",
visibility = ["//visibility:public"],
deps = ["@com_google_protobuf//:descriptor_proto"],
)
upb_proto_reflection_library(
name = "descriptor_upb_proto_reflection",
visibility = ["//visibility:public"],
deps = ["@com_google_protobuf//:descriptor_proto"],
)
cc_library(
name = "reflection",
srcs = [
"upb/def.c",
"upb/msg.h",
"upb/reflection.c",
],
hdrs = [
"upb/def.h",
"upb/def.hpp",
"upb/reflection.h",
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/reflection.hpp",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":descriptor_upb_proto",
":port",
":table",
":upb",
],
)
cc_library(
name = "textformat",
srcs = [
"upb/text_encode.c",
],
hdrs = [
"upb/text_encode.h",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":port",
":reflection",
],
)
cc_library(
name = "json",
srcs = [
"upb/json_decode.c",
"upb/json_encode.c",
],
hdrs = [
"upb/json_decode.h",
"upb/json_encode.h",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":port",
":reflection",
":upb",
],
)
cc_test(
name = "msg_test",
srcs = ["upb/msg_test.cc"],
deps = [
"@com_google_googletest//:gtest_main",
":msg_test_upb_proto_reflection",
":json",
],
)
proto_library(
name = "msg_test_proto",
srcs = ["upb/msg_test.proto"],
deps = ["@com_google_protobuf//:test_messages_proto3_proto"],
)
upb_proto_reflection_library(
name = "msg_test_upb_proto_reflection",
deps = [":msg_test_proto"],
)
# Internal C/C++ libraries #####################################################
cc_library(
name = "table",
hdrs = [
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
"upb/table_internal.h",
"upb/upb.h",
],
visibility = ["//tests:__pkg__"],
deps = [
":port",
],
)
Upb upgrade to the lastest (#26869) * Squashed 'third_party/upb/' changes from 60607da72e..2de300726a 2de300726a Merge pull request #401 from philwo/patch-1 0010bd88ff Merge pull request #403 from haberman/google-wyhash 3f7ecfe315 A few fixes in the 32-bit fallback. 2c14e2788d Added #include for Windows instrinsic. 9e618009ec Removed some extraneous whitespace. c4744c0b21 Updated generated files. 039975556d Merge branch 'master' into google-wyhash ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark c2f2e93990 Fix Bazel at 4.1.0 41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream. 91d506ac32 Ported ABSL's wyhash to C. 3328f06117 Remove ubuntu1604 from presubmit.yml f925acf5f0 Merge pull request #400 from haberman/extreg 897bd2500a Fixed compile error. 6e53de4a03 Addressed PR comments. cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 69f186bd75 Merge pull request #399 from haberman/msg-extrep 3f8aa6ef20 Define the extension representation in messages and mini-tables. 4ccfab154b Merge pull request #398 from haberman/field-mode 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 7596fa740f Merge pull request #397 from haberman/codegen-refactor fa4dfc2baa Addressed PR comments. 0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions. 52be845c39 Merge pull request #396 from haberman/pre-ext-opt 807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen. 2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant. 6394894b6e Addressed PR comments. 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 3e035cb553 Merge pull request #395 from haberman/locale e8ba2a1899 Added a fix for locales that output ',' as decimal separator. 7010a73828 Merge pull request #394 from haberman/file-uniqueness 9482957425 Enforce that filenames are unique when loaded into symtab. aaad7801bf Merge pull request #393 from haberman/has-attribute 7887dc0c76 Fixed the __has_attribute() check for old versions of Clang. 01e7436ed3 Merge pull request #390 from haberman/musttail 4132034634 Addressed PR comment. ed708fcd5d Addressed PR comments. 876abae2db Removed some debug printing and simplified checktag slightly. 286441afa7 Fixed a size regression due to inlining UTF-8 verification. 75df4cdaa3 Loosened the check for fasttable to match what we did before. e84793dd73 Cleaned up debugging artifacts. a4b35aa388 Everything passes except 4 conformance tests. 6e10b5789d Removed redundant license from port_def in amalgmation. 4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks. 0723bfa700 Merge pull request #387 from haberman/json-null dda5416569 Update bazel-skylib main branch name. 2fa52e6951 Merge branch 'master' into json-null a3126b7c7e Merge pull request #388 from haberman/fix-macos b344a6c582 Fixed the macOS build for XCode 11.3. a778f2639a Only perform multiple oneof check for non-null fields. 42bdfcb849 Fix BUILD file. 75d6dab37a Merge pull request #384 from haberman/internal 3881393907 Renamed .int.h to _internal.h, for greater clarity. 5084cbe646 Merge pull request #383 from fowles/master da4b75b979 Fix build rules for more restrive deps checks a8f9cf54cf Merge pull request #382 from haberman/license-headers 1ba446ccfe Updated Google, Inc. to Google LLC. 823eb09694 Update all 2011 dates to 2021. ff89277ef0 Merge pull request #380 from fowles/master 5f74d43cf9 Re-add some comment text that was accidentally removed. 0f27b0450a Merge branch 'master' into license-headers e59d2c8fa7 Added license headers to all files. be4f64b926 Merge pull request #381 from haberman/mv-msg-public 1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h. 6481f6319e Spell out deps explicitly f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem 3c3799498d Merge pull request #379 from fowles/master 2e83d5c98f Remove unused file test_util.h b053fa6991 Merge pull request #378 from fowles/master 7876639e50 remove unused macro 5b97df91dd Restrict fuse to matching block_alloc e74d6c23de Small renames and use uintptr_t instead of void* d9a0c58108 Allow arena fuse to fail 53f5d9f69b Merge pull request #377 from haberman/json-parse-null 8370818143 Switch to a macro to avoid signed/const mismatches. 63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder. add9b12f18 Fixed quadratic memory usage in upb_array_append(). 97e2aeb7ee Merge pull request #375 from haberman/cleanups 83c0edbd2a A few minor cleanups. baa7fe7473 Merge pull request #374 from haberman/update-deps 900bd5c426 Merge pull request #355 from haberman/aarch64 89df647460 Updated versions of ABSL and protobuf deps. e4343f0fa3 Update comment for ARM64. 103d51f102 Merge branch 'master' into aarch64 1b9cc09f0e Removed extraneous copybara directive. bbd817fdb6 Merge pull request #373 from haberman/table-cleanup c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively. ed5b4108e0 Merge pull request #363 from haberman/delete-handlers bfa528f0ae Merge pull request #372 from haberman/errmsg-fix ec9ba3f893 Fixed error message buffer overflow. eb0fdda14b Merge pull request #371 from haberman/json-any e58f7a0284 Fix for Any messages with no fields. 7541ba0f38 Merge pull request #364 from catenacyber/cifuzz 81829bacc3 Removed quote chars from error message. 88ed8f5d3b Changed JSON decoding error message to be more clear. f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use. b080659eee Merge pull request #367 from haberman/timestamp-minute-offset f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON. 451dcbbb9a Adds CIFuzz f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name. 0f40d59258 Merge pull request #362 from haberman/rb-warnings c7787cbaa1 Fixed a bunch of Clang warnings. 5e53b5bb3d Merge pull request #360 from haberman/default-msgval 7a6e647be1 Merge branch 'master' into default-msgval edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 5e550e88f8 Added API for getting fielddef default as a upb_msgval. de76b31f9c Merge pull request #359 from veblush/fix-upbdefs 3cab8a38fc Fixed upbdefs error 48bb3e5662 Merge pull request #357 from veblush/string-opt 4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix 38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names 9b020d8f65 Optimize calls to std::string::find() and friends for a single char. 3c9ae7837a The fasttable parser works on ARM64! git-subtree-dir: third_party/upb git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f * Updated upb for bazel * Regen upb files * Updated src/upb/gen_build_yaml.py
3 years ago
# Amalgamation #################################################################
# copybara:strip_for_google3_begin
upb_amalgamation(
name = "gen_amalgamation",
outs = [
"upb.c",
"upb.h",
],
libs = [
":upb",
":fastdecode",
":descriptor_upb_proto",
":reflection",
":port",
],
)
cc_library(
name = "amalgamation",
srcs = ["upb.c"],
hdrs = ["upb.h"],
copts = UPB_DEFAULT_COPTS,
)
upb_amalgamation(
name = "gen_php_amalgamation",
outs = [
"php-upb.c",
"php-upb.h",
],
libs = [
":upb",
":fastdecode",
":descriptor_upb_proto",
":descriptor_upb_proto_reflection",
":reflection",
":port",
":json",
],
prefix = "php-",
)
cc_library(
name = "php_amalgamation",
srcs = ["php-upb.c"],
hdrs = ["php-upb.h"],
copts = UPB_DEFAULT_COPTS,
)
upb_amalgamation(
name = "gen_ruby_amalgamation",
outs = [
"ruby-upb.c",
"ruby-upb.h",
],
libs = [
":upb",
":fastdecode",
":descriptor_upb_proto",
":reflection",
":port",
":json",
],
prefix = "ruby-",
)
cc_library(
name = "ruby_amalgamation",
srcs = ["ruby-upb.c"],
hdrs = ["ruby-upb.h"],
copts = UPB_DEFAULT_COPTS,
)
exports_files(
[
"upb/json/parser.rl",
"BUILD",
"WORKSPACE",
],
visibility = ["//cmake:__pkg__"],
)
exports_files(
[
"third_party/lunit/console.lua",
"third_party/lunit/lunit.lua",
],
visibility = ["//tests/bindings/lua:__pkg__"],
)
filegroup(
name = "cmake_files",
srcs = glob([
"google/**/*",
"upbc/**/*",
"upb/**/*",
"tests/**/*",
"third_party/**/*",
]),
visibility = ["//cmake:__pkg__"],
)
# copybara:strip_end