commit
113fc0a720
@ -0,0 +1,57 @@
|
|||||||
|
diff -up chromium-115.0.5790.98/sql/recover_module/cursor.h.me chromium-115.0.5790.98/sql/recover_module/cursor.h
|
||||||
|
--- chromium-115.0.5790.98/sql/recover_module/cursor.h.me 2023-07-21 20:13:43.587451992 +0200
|
||||||
|
+++ chromium-115.0.5790.98/sql/recover_module/cursor.h 2023-07-21 20:16:24.989457148 +0200
|
||||||
|
@@ -61,6 +61,10 @@ class VirtualCursor {
|
||||||
|
// The VirtualCursor instance that embeds a given SQLite virtual table cursor.
|
||||||
|
//
|
||||||
|
// |sqlite_cursor| must have been returned by VirtualTable::SqliteCursor().
|
||||||
|
+#ifdef __GNUC__
|
||||||
|
+#pragma GCC diagnostic push
|
||||||
|
+#pragma GCC diagnostic ignored "-Winvalid-offsetof"
|
||||||
|
+#endif
|
||||||
|
static inline VirtualCursor* FromSqliteCursor(
|
||||||
|
sqlite3_vtab_cursor* sqlite_cursor) {
|
||||||
|
VirtualCursor* result = reinterpret_cast<VirtualCursor*>(
|
||||||
|
@@ -69,6 +73,9 @@ class VirtualCursor {
|
||||||
|
CHECK_EQ(sqlite_cursor, &result->sqlite_cursor_);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
+#ifdef __GNUC__
|
||||||
|
+#pragma GCC diagnostic pop
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// Seeks the cursor to the first readable row. Returns a SQLite status code.
|
||||||
|
int First();
|
||||||
|
diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp
|
||||||
|
--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp.me 2023-07-21 20:10:05.119385885 +0200
|
||||||
|
+++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp 2023-07-21 20:10:14.386558331 +0200
|
||||||
|
@@ -14,7 +14,6 @@
|
||||||
|
#include "libANGLE/histogram_macros.h"
|
||||||
|
#include "platform/PlatformMethods.h"
|
||||||
|
|
||||||
|
-#define USE_SYSTEM_ZLIB
|
||||||
|
#include "compression_utils_portable.h"
|
||||||
|
|
||||||
|
namespace egl
|
||||||
|
diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp
|
||||||
|
--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp.me 2023-07-21 20:10:36.864976619 +0200
|
||||||
|
+++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp 2023-07-21 20:11:07.629549228 +0200
|
||||||
|
@@ -8,7 +8,6 @@
|
||||||
|
// layer to warm up the cache from disk.
|
||||||
|
|
||||||
|
// Include zlib first, otherwise FAR gets defined elsewhere.
|
||||||
|
-#define USE_SYSTEM_ZLIB
|
||||||
|
#include "compression_utils_portable.h"
|
||||||
|
|
||||||
|
#include "libANGLE/MemoryProgramCache.h"
|
||||||
|
diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp
|
||||||
|
--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp.me 2023-07-21 20:09:44.206996746 +0200
|
||||||
|
+++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp 2023-07-21 20:09:51.834138674 +0200
|
||||||
|
@@ -10,7 +10,6 @@
|
||||||
|
|
||||||
|
#include "libANGLE/renderer/vulkan/vk_internal_shaders_autogen.h"
|
||||||
|
|
||||||
|
-#define USE_SYSTEM_ZLIB
|
||||||
|
#include "compression_utils_portable.h"
|
||||||
|
|
||||||
|
namespace rx
|
@ -0,0 +1,172 @@
|
|||||||
|
diff -up chromium-115.0.5790.102/base/write_build_date_header.py.me chromium-115.0.5790.102/base/write_build_date_header.py
|
||||||
|
--- chromium-115.0.5790.102/base/write_build_date_header.py.me 2023-07-22 14:23:42.620679397 +0200
|
||||||
|
+++ chromium-115.0.5790.102/base/write_build_date_header.py 2023-07-22 15:24:46.833310310 +0200
|
||||||
|
@@ -17,7 +17,7 @@ def main():
|
||||||
|
args = argument_parser.parse_args()
|
||||||
|
|
||||||
|
date_val = int(args.timestamp)
|
||||||
|
- date = datetime.datetime.utcfromtimestamp(date_val)
|
||||||
|
+ date = datetime.datetime.fromtimestamp(date_val, datetime.timezone.utc)
|
||||||
|
output = ('// Generated by //base/write_build_date_header.py\n'
|
||||||
|
'#ifndef BASE_GENERATED_BUILD_DATE_TIMESTAMP \n'
|
||||||
|
f'#define BASE_GENERATED_BUILD_DATE_TIMESTAMP {date_val}'
|
||||||
|
diff -up chromium-115.0.5790.102/build/write_buildflag_header.py.me chromium-115.0.5790.102/build/write_buildflag_header.py
|
||||||
|
--- chromium-115.0.5790.102/build/write_buildflag_header.py.me 2023-07-22 14:16:14.196975451 +0200
|
||||||
|
+++ chromium-115.0.5790.102/build/write_buildflag_header.py 2023-07-22 14:20:24.977239994 +0200
|
||||||
|
@@ -44,7 +44,7 @@ def GetOptions():
|
||||||
|
header_guard = cmdline_options.output.upper()
|
||||||
|
if header_guard[0].isdigit():
|
||||||
|
header_guard = '_' + header_guard
|
||||||
|
- header_guard = re.sub('[^\w]', '_', header_guard)
|
||||||
|
+ header_guard = re.sub(r'[^\w]', '_', header_guard)
|
||||||
|
header_guard += '_'
|
||||||
|
|
||||||
|
# The actual output file is inside the gen dir.
|
||||||
|
diff -up chromium-115.0.5790.102/components/resources/protobufs/binary_proto_generator.py.me chromium-115.0.5790.102/components/resources/protobufs/binary_proto_generator.py
|
||||||
|
--- chromium-115.0.5790.102/components/resources/protobufs/binary_proto_generator.py.me 2023-07-22 14:47:34.230764210 +0200
|
||||||
|
+++ chromium-115.0.5790.102/components/resources/protobufs/binary_proto_generator.py 2023-07-22 15:11:50.360983383 +0200
|
||||||
|
@@ -9,7 +9,8 @@
|
||||||
|
"""
|
||||||
|
from __future__ import print_function
|
||||||
|
import abc
|
||||||
|
-import imp
|
||||||
|
+import types
|
||||||
|
+import importlib
|
||||||
|
import optparse
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
@@ -40,6 +41,12 @@ class GoogleProtobufModuleImporter:
|
||||||
|
return filepath
|
||||||
|
return None
|
||||||
|
|
||||||
|
+ def load_source(name: str, path: str) -> types.ModuleType:
|
||||||
|
+ spec = importlib.util.spec_from_file_location(name, path)
|
||||||
|
+ module = importlib.util.module_from_spec(spec)
|
||||||
|
+ spec.loader.exec_module(module)
|
||||||
|
+ return module
|
||||||
|
+
|
||||||
|
def _module_exists(self, fullname):
|
||||||
|
return self._fullname_to_filepath(fullname) is not None
|
||||||
|
|
||||||
|
@@ -68,7 +75,7 @@ class GoogleProtobufModuleImporter:
|
||||||
|
raise ImportError(fullname)
|
||||||
|
|
||||||
|
filepath = self._fullname_to_filepath(fullname)
|
||||||
|
- return imp.load_source(fullname, filepath)
|
||||||
|
+ return load_source(fullname, filepath)
|
||||||
|
|
||||||
|
class BinaryProtoGenerator:
|
||||||
|
|
||||||
|
diff -up chromium-115.0.5790.102/mojo/public/tools/bindings/concatenate_and_replace_closure_exports.py.me chromium-115.0.5790.102/mojo/public/tools/bindings/concatenate_and_replace_closure_exports.py
|
||||||
|
--- chromium-115.0.5790.102/mojo/public/tools/bindings/concatenate_and_replace_closure_exports.py.me 2023-07-22 15:17:19.114258801 +0200
|
||||||
|
+++ chromium-115.0.5790.102/mojo/public/tools/bindings/concatenate_and_replace_closure_exports.py 2023-07-22 15:17:43.368200491 +0200
|
||||||
|
@@ -32,7 +32,7 @@ def FilterLine(filename, line, output):
|
||||||
|
return
|
||||||
|
|
||||||
|
if line.startswith("goog.provide"):
|
||||||
|
- match = re.match("goog.provide\('([^']+)'\);", line)
|
||||||
|
+ match = re.match(r"goog.provide\('([^']+)'\);", line)
|
||||||
|
if not match:
|
||||||
|
print("Invalid goog.provide line in %s:\n%s" % (filename, line))
|
||||||
|
sys.exit(1)
|
||||||
|
diff -up chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/parse/lexer.py.me chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/parse/lexer.py
|
||||||
|
--- chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/parse/lexer.py.me 2023-07-22 14:10:40.372979365 +0200
|
||||||
|
+++ chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/parse/lexer.py 2023-07-22 14:13:31.200453442 +0200
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
|
# found in the LICENSE file.
|
||||||
|
|
||||||
|
-import imp
|
||||||
|
import os.path
|
||||||
|
import sys
|
||||||
|
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/html_generation_controller.py.me chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/html_generation_controller.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/html_generation_controller.py.me 2023-07-22 15:12:41.850895179 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/html_generation_controller.py 2023-07-22 15:12:55.844871207 +0200
|
||||||
|
@@ -18,7 +18,7 @@ class HTMLGenerationController(object):
|
||||||
|
|
||||||
|
def GetHTMLForInlineStylesheet(self, contents):
|
||||||
|
if self.current_module is None:
|
||||||
|
- if re.search('url\(.+\)', contents):
|
||||||
|
+ if re.search(r'url\(.+\)', contents):
|
||||||
|
raise Exception(
|
||||||
|
'Default HTMLGenerationController cannot handle inline style urls')
|
||||||
|
return contents
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/js_utils.py.me chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/js_utils.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/js_utils.py.me 2023-07-22 15:14:06.923717910 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/js_utils.py 2023-07-22 15:18:03.704150614 +0200
|
||||||
|
@@ -4,4 +4,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
def EscapeJSIfNeeded(js):
|
||||||
|
- return js.replace('</script>', '<\/script>')
|
||||||
|
+ return js.replace(r'</script>', r'<\/script>')
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py.me chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py.me 2023-07-22 15:14:30.105662532 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py 2023-07-22 15:14:57.977595950 +0200
|
||||||
|
@@ -293,6 +293,6 @@ class HTMLModuleParser():
|
||||||
|
html = ''
|
||||||
|
else:
|
||||||
|
if html.find('< /script>') != -1:
|
||||||
|
- raise Exception('Escape script tags with <\/script>')
|
||||||
|
+ raise Exception(r'Escape script tags with <\/script>')
|
||||||
|
|
||||||
|
return HTMLModuleParserResults(html)
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/style_sheet.py.me chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/style_sheet.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/style_sheet.py.me 2023-07-22 15:13:12.316842990 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/catapult/common/py_vulcanize/py_vulcanize/style_sheet.py 2023-07-22 15:13:49.684759091 +0200
|
||||||
|
@@ -60,7 +60,7 @@ class ParsedStyleSheet(object):
|
||||||
|
return 'url(data:image/%s;base64,%s)' % (ext[1:], data.decode('utf-8'))
|
||||||
|
|
||||||
|
# I'm assuming we only have url()'s associated with images
|
||||||
|
- return re.sub('url\((?P<quote>"|\'|)(?P<url>[^"\'()]*)(?P=quote)\)',
|
||||||
|
+ return re.sub(r'url\((?P<quote>"|\'|)(?P<url>[^"\'()]*)(?P=quote)\)',
|
||||||
|
InlineUrl, self.contents)
|
||||||
|
|
||||||
|
def AppendDirectlyDependentFilenamesTo(self, dependent_filenames):
|
||||||
|
@@ -72,7 +72,7 @@ class ParsedStyleSheet(object):
|
||||||
|
raise Exception('@imports are not supported')
|
||||||
|
|
||||||
|
matches = re.findall(
|
||||||
|
- 'url\((?:["|\']?)([^"\'()]*)(?:["|\']?)\)',
|
||||||
|
+ r'url\((?:["|\']?)([^"\'()]*)(?:["|\']?)\)',
|
||||||
|
self.contents)
|
||||||
|
|
||||||
|
def resolve_url(url):
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/dawn/generator/generator_lib.py.me chromium-115.0.5790.102/third_party/dawn/generator/generator_lib.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/dawn/generator/generator_lib.py.me 2023-07-22 15:11:56.826972306 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/dawn/generator/generator_lib.py 2023-07-22 15:12:37.550902545 +0200
|
||||||
|
@@ -119,8 +119,8 @@ class _PreprocessingLoader(jinja2.BaseLo
|
||||||
|
source = self.preprocess(f.read())
|
||||||
|
return source, path, lambda: mtime == os.path.getmtime(path)
|
||||||
|
|
||||||
|
- blockstart = re.compile('{%-?\s*(if|elif|else|for|block|macro)[^}]*%}')
|
||||||
|
- blockend = re.compile('{%-?\s*(end(if|for|block|macro)|elif|else)[^}]*%}')
|
||||||
|
+ blockstart = re.compile(r'{%-?\s*(if|elif|else|for|block|macro)[^}]*%}')
|
||||||
|
+ blockend = re.compile(r'{%-?\s*(end(if|for|block|macro)|elif|else)[^}]*%}')
|
||||||
|
|
||||||
|
def preprocess(self, source):
|
||||||
|
lines = source.split('\n')
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py.me chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py
|
||||||
|
diff -up chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py.me chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py
|
||||||
|
--- chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py.me 2023-07-22 16:02:48.330050088 +0200
|
||||||
|
+++ chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py 2023-07-22 16:03:02.320023617 +0200
|
||||||
|
@@ -28,7 +28,6 @@ import platform
|
||||||
|
import sys
|
||||||
|
|
||||||
|
def glob_slash(dirname):
|
||||||
|
- """Like regular glob but replaces \ with / in returned paths."""
|
||||||
|
return [s.replace('\\', '/') for s in glob.glob(dirname)]
|
||||||
|
|
||||||
|
def main():
|
||||||
|
diff -up chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/fileutil.py.python-imp-deprecated chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/fileutil.py
|
||||||
|
--- chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/fileutil.py.python-imp-deprecated 2023-07-21 05:41:02.000000000 +0200
|
||||||
|
+++ chromium-115.0.5790.102/mojo/public/tools/mojom/mojom/fileutil.py 2023-07-22 14:45:20.440127549 +0200
|
||||||
|
@@ -3,7 +3,6 @@
|
||||||
|
# found in the LICENSE file.
|
||||||
|
|
||||||
|
import errno
|
||||||
|
-import imp
|
||||||
|
import os.path
|
||||||
|
import sys
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
SHA512 (node-v19.8.1-linux-arm64.tar.xz) = 86ff19085669e92ce7afe2fd7d4df0c5441df2d88c00f29d5463b805f3cf5625626db8aebf98349c9a495b772da1ce6d68263730018207ea98815058a1c81397
|
SHA512 (node-v19.8.1-linux-arm64.tar.xz) = 86ff19085669e92ce7afe2fd7d4df0c5441df2d88c00f29d5463b805f3cf5625626db8aebf98349c9a495b772da1ce6d68263730018207ea98815058a1c81397
|
||||||
SHA512 (node-v19.8.1-linux-x64.tar.xz) = 925c0037c6b7074d0b0245bced20d0a0d9b1300f53b808106f16b5018d763f5f5b00bc321b33fa1033d736b1e1076608da9b7fcae66aed53d27b100b1186e2c6
|
SHA512 (node-v19.8.1-linux-x64.tar.xz) = 925c0037c6b7074d0b0245bced20d0a0d9b1300f53b808106f16b5018d763f5f5b00bc321b33fa1033d736b1e1076608da9b7fcae66aed53d27b100b1186e2c6
|
||||||
SHA512 (chromium-115.0.5790.98-clean.tar.xz) = 5c0069ef0f70eaa8143eb876c838ba207fc7c231cc4daf83f70a0c4c5d785b0e4150442e1cfd232fd7d976a5c60a3cf23cfca07f2cdbfe7330d979f61f142658
|
SHA512 (chromium-115.0.5790.102-clean.tar.xz) = 4d5341f9d4367d835d84e6f206405ce08d1695f0451e0d57dd903c9cc9d23c889aa6718343eab1361d30044e94fa8968de94e59eb19bd41fa50c736d9bd22566
|
||||||
|
Loading…
Reference in new issue