Skip to content

Commit 152102f

Browse files
committed
merge with upstream
1 parent c71bc48 commit 152102f

File tree

137 files changed

+17511
-15577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+17511
-15577
lines changed

3rdparty/libjxl/third_party/brotli/BUILD.bazel

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Description:
22
# Brotli is a generic-purpose lossless compression algorithm.
33

4-
load(":compiler_config_setting.bzl", "create_msvc_config")
5-
64
package(
75
default_visibility = ["//visibility:public"],
86
)
@@ -12,37 +10,21 @@ licenses(["notice"]) # MIT
1210
exports_files(["LICENSE"])
1311

1412
config_setting(
15-
name = "darwin",
16-
values = {"cpu": "darwin"},
17-
visibility = ["//visibility:public"],
18-
)
19-
20-
config_setting(
21-
name = "darwin_x86_64",
22-
values = {"cpu": "darwin_x86_64"},
23-
visibility = ["//visibility:public"],
24-
)
25-
26-
config_setting(
27-
name = "windows",
28-
values = {"cpu": "x64_windows"},
13+
name = "clang-cl",
14+
flag_values = {
15+
"@bazel_tools//tools/cpp:compiler": "clang-cl",
16+
},
2917
visibility = ["//visibility:public"],
3018
)
3119

3220
config_setting(
33-
name = "windows_msvc",
34-
values = {"cpu": "x64_windows_msvc"},
21+
name = "msvc",
22+
flag_values = {
23+
"@bazel_tools//tools/cpp:compiler": "msvc-cl",
24+
},
3525
visibility = ["//visibility:public"],
3626
)
3727

38-
config_setting(
39-
name = "windows_msys",
40-
values = {"cpu": "x64_windows_msys"},
41-
visibility = ["//visibility:public"],
42-
)
43-
44-
create_msvc_config()
45-
4628
STRICT_C_OPTIONS = select({
4729
":msvc": [],
4830
":clang-cl": [

3rdparty/libjxl/third_party/brotli/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [1.2.0] - 2025-10-27
11+
12+
### SECURITY
13+
- python: added `Decompressor::can_accept_more_data` method and optional
14+
`output_buffer_limit` argument `Decompressor::process`;
15+
that allows mitigation of unexpectedly large output;
16+
reported by Charles Chan (https://github.com/charleswhchan)
17+
18+
### Added
19+
- **decoder / encoder: added static initialization to reduce binary size**
20+
- python: allow limiting decoder output (see SECURITY section)
21+
- CLI: `brcat` alias; allow decoding concatenated brotli streams
22+
- kt: pure Kotlin decoder
23+
- cgo: support "raw" dictionaries
24+
- build: Bazel modules
25+
26+
### Removed
27+
- java: dropped `finalize()` for native entities
28+
29+
### Fixed
30+
- java: in `compress` pass correct length to native encoder
31+
32+
### Improved
33+
- build: install man pages
34+
- build: updated / fixed / refined Bazel buildfiles
35+
- encoder: faster encoding
36+
- cgo: link via pkg-config
37+
- python: modernize extension / allow multi-phase module initialization
38+
39+
### Changed
40+
- decoder / encoder: static tables use "small" model (allows 2GiB+ binaries)
41+
42+
1043
## [1.1.0] - 2023-08-28
1144

1245
### Added

0 commit comments

Comments
 (0)