Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
ee58d77
CMake: add missing GNUInstallDirs related substitutions (fixes #1424)…
autoantwort Feb 7, 2023
c33e3d4
opj_t2_skip_packet_data(): avoid out-of-bounds reads on truncated ima…
rouault Mar 7, 2023
97c3c8f
Merge pull request #1460 from rouault/fix_1459
rouault Mar 7, 2023
8f3f837
Fix CI
rouault Mar 7, 2023
1a8d13e
Merge pull request #1461 from rouault/fix_ci
rouault Mar 7, 2023
480cc9d
Remove support for non-C99 compilers (like VS2010) that don't support…
rouault Mar 7, 2023
032b6e9
openjp2/j2k: replace sprintf calls with snprintf
markmentovai Nov 7, 2022
fbdf28a
Merge pull request #1450 from markmentovai/no_sprintf
rouault Mar 9, 2023
eb8a7e4
CMake: error out on warnings for strict/missing prototypes.
sebras Mar 9, 2023
15c0dca
Merge pull request #1462 from sebras/master
rouault Mar 9, 2023
0f528e9
opj_jp2_read_header(): move setting color_space here instead in opj_j…
rouault Mar 17, 2023
59ec1f0
opj_jp2_read_header(): move setting icc_profile here instead in opj_j…
rouault Mar 26, 2023
1ee6d11
Merge pull request #1463 from rouault/fix_570
rouault Mar 26, 2023
d23e028
fix: use `opj_uint_ceildiv` instead of `opj_int_ceildiv` when necessary
mayeut Sep 23, 2023
dc194c2
chore: GHA Ubuntu 22.04 now uses gcc 11.4.0
mayeut Sep 23, 2023
6af3931
Merge pull request #1482 from mayeut/use-opj_uint_ceildiv
rouault Sep 23, 2023
c4b3a91
Require `stdint.h` & `inttypes.h`
mayeut Sep 24, 2023
67c998f
Fixed typos (#1486)
radarhere Dec 8, 2023
e21123b
CI: update KDU to new version (older one no longer available)
rouault Dec 8, 2023
597389a
suppress warning during build using clang
tomoaki0705 Dec 8, 2023
d5af1d2
tools/travis-ci/install.sh: workaround issue with jpylyzer on Mac
rouault Dec 8, 2023
b0e83a1
Merge pull request #1495 from rouault/update_kdu
rouault Dec 8, 2023
a817136
opj_j2k_merge_ppm(): avoid unsigned-integer-overflow at j2k.c:3962 (#…
headshog Dec 6, 2023
67e6a79
fix j2k.c:11114
headshog Dec 6, 2023
478b20d
opj_t1_ht_decode_cblk(): avoid memcpy() with 0-input size and nullptr…
headshog Dec 6, 2023
65282a0
Merge pull request #1494 from tomoaki0705/suppress_warning_clang
rouault Dec 8, 2023
2c8c502
Merge pull request #1484 from mayeut/mandatory-inttypes-stdint
rouault Dec 8, 2023
90312af
opj_tcd_dc_level_shift_decode(): avoid increment nullptr (fixes #1480)
rouault Dec 8, 2023
03afd06
Merge pull request #1492 from headshog/fix-ht-dec
rouault Dec 8, 2023
00e0bdc
Merge pull request #1491 from headshog/fix-j2k-header
rouault Dec 8, 2023
49c4ef5
Merge pull request #1490 from headshog/fix-j2k
rouault Dec 8, 2023
dfdedea
Merge pull request #1496 from rouault/fix_1480
rouault Dec 8, 2023
41c25e3
ht_dec.c: Improve MSVC arm64 popcount performance (#1479)
PeterJohnson Dec 9, 2023
3a100a3
Fix compiler error on Windows
scaramallion Jan 5, 2024
406e184
Merge pull request #1502 from scaramallion/fix-compiler-error
rouault Jan 7, 2024
65d0326
CMake: drop support for cmake < 3.5
domin144 Jan 8, 2024
b0e966e
Merge pull request #1503 from domin144/drop_cmake_less_3.5
rouault Jan 8, 2024
f8a3e53
Add cmake version file
domin144 Dec 6, 2023
0e3b3bd
Merge pull request #1493 from domin144/cmake_version_file
rouault Jan 13, 2024
8a0fca8
Always install pkgconfig files
kmilos Feb 13, 2024
a405090
Remove BUILD_PKGCONFIG_FILES
kmilos Feb 13, 2024
7bd884f
opj_decompress: fix off-by-one read heap-buffer-overflow in sycc420_t…
rouault Feb 18, 2024
d903fbb
opj_dwt_decode_tile(): avoid potential UndefinedBehaviorSanitizer 'ap…
rouault Feb 18, 2024
89bf51c
Merge pull request #1509 from rouault/fix_sycc420_to_rgb
rouault Feb 18, 2024
ddffa33
Merge pull request #1507 from kmilos/patch-1
rouault Feb 18, 2024
0f3ca81
Merge pull request #1510 from rouault/fix_1505
rouault Feb 18, 2024
017f2be
opj_t2_read_packet_header(): avoid unsigned integer overflow (alterna…
rouault Feb 18, 2024
1bba837
Merge pull request #1511 from rouault/fix_1488_bis
rouault Feb 18, 2024
14d03e8
Prepare for OpenJPEG v2.5.1 release
rouault Feb 26, 2024
13789f6
abi_check.sh: Update version number for automatic abi check (2.5.0->2…
rouault Feb 26, 2024
86a1b0d
abi_check.sh: comment OPJ_PREVIOUS_VERSION
rouault Feb 26, 2024
13c3109
update HOWTO-RELEASE
rouault Feb 26, 2024
d2ba102
update HOWTO-RELEASE
rouault Feb 26, 2024
e521a50
openjpeg.h: make sure to include opj_config.h (fixes #1514)
rouault Feb 27, 2024
f19c213
opj_config.h.cmake.in: add inclusion guard
rouault Feb 27, 2024
61309d7
Merge pull request #1515 from rouault/fix_1514
rouault Feb 28, 2024
39e8c50
Prepare for OpenJPEG v2.5.2 release
rouault Feb 28, 2024
b0ce41d
Update GitHub checkout action to latest version
stweil Feb 28, 2024
ce51a21
Fix some typos (found by `codespell` and `typos`)
stweil Feb 28, 2024
3beb2e1
Fix line endings (CRLF -> LF)
stweil Feb 29, 2024
4b8b397
Fix export of OPJ_STATIC macro
dg0yt Feb 29, 2024
c28f012
Refactor build of both types of linkage
dg0yt Feb 29, 2024
995d8c9
Fix building on OpenBSD big endian hosts
brad0 Mar 2, 2024
0fe2a2c
Merge pull request #1520 from brad0/openbsd_swap16
rouault Mar 4, 2024
0411252
Create jekyll-gh-pages.yml
detonin Apr 4, 2024
d369958
Update deployment path in jekyll-gh-pages.yml
detonin Apr 4, 2024
e8b9d92
Delete .github/workflows/jekyll-gh-pages.yml
detonin Apr 4, 2024
7d95202
Do not allow header length to be zero in non-zero length packet
radarhere Apr 20, 2024
1632f08
Updated actions/upload-artifact to v4
radarhere Apr 21, 2024
7a36101
Merge pull request #1527 from radarhere/patch-1
rouault Apr 21, 2024
70e6263
Merge pull request #1526 from radarhere/header_length
rouault May 6, 2024
761e49c
build.yml: change macos-latest to macos-13 to still get MacOS x86_64
rouault May 6, 2024
3b0c9b9
opj_j2k_decode_tiles(): avoid use of uninitialized l_current_tile_no …
rouault May 6, 2024
a9fc407
CI: pin macos job to macos-13 to get x86_64
rouault May 31, 2024
1f979c5
Merge pull request #1531 from rouault/ci_macos_13
rouault May 31, 2024
2c0823c
Fix Integer Overflow at j2k.c:9614 (#1530)
headshog May 31, 2024
4bfe68e
Fixed typos
radarhere Jun 14, 2024
c456f08
Merge pull request #1532 from radarhere/patch-1
rouault Jun 14, 2024
1bca4d2
Merge pull request #1528 from rouault/fix_ossfuzz_68763
rouault Jun 14, 2024
2f5a299
Support setting enumcs for CMYK and EYCC color space (#1529)
radarhere Jun 14, 2024
dea92ee
opj_j2k_read_sod(): validate opj_stream_read_data() return to avoid p…
rouault Jun 21, 2024
ead1b0b
Merge pull request #1534 from rouault/fix_1533
rouault Jun 24, 2024
f3b28c5
Avoid heap-buffer-overflow read on corrupted image in non-strict mode
rouault Jun 24, 2024
d2e336d
Merge pull request #1536 from rouault/fix_1535
rouault Jun 25, 2024
1d4a883
Add new test for file with non-consecutive tilepart and TLM marker
rouault Jun 25, 2024
5005a35
Merge pull request #1537 from rouault/test_small_world_non_consecutiv…
rouault Jun 25, 2024
954c6e3
Use TLM markers to optimize opj_get_decoded_tile()
rouault Jun 25, 2024
206ede7
Add more unit tests for decoding files with TLM
rouault Jul 1, 2024
ed3a818
Use TLM markers to optimize opj_decode() (on a subset of tiles)
rouault Jul 1, 2024
d153c61
Merge pull request #1538 from rouault/read_tlm
rouault Jul 8, 2024
2f26720
thirdparty/libtiff: update to libtiff 4.6.0
rouault Jul 9, 2024
92d9ce6
thirdparty/libpng: update to libpng-1.6.43
rouault Jul 9, 2024
060caa9
thirdparty/libz: update to zlib-1.3.1
rouault Jul 9, 2024
f7f3873
Merge pull request #1540 from rouault/fix_1539
rouault Jul 10, 2024
8c7f51e
Merge pull request #1541 from rouault/libpng-1.6.43
rouault Jul 10, 2024
d5544b3
Merge pull request #1542 from rouault/zlib-1.3.1
rouault Jul 10, 2024
a332a1a
CI: add macOS arm64
mayeut Aug 17, 2024
c58bc12
fix: when EPH markers are specified, they are required.
mayeut Aug 17, 2024
bfa990d
fix: abi check
mayeut Aug 17, 2024
ab3d7ea
Updated softprops/action-gh-release to v2
radarhere Aug 22, 2024
781a85b
Merge pull request #1546 from mayeut/macos-arm64
rouault Aug 25, 2024
eb17dcd
Merge pull request #1548 from mayeut/fix-abi-check
rouault Aug 25, 2024
822562d
Merge pull request #1547 from mayeut/fix-issue1472
rouault Aug 25, 2024
fd89401
Merge pull request #1549 from radarhere/patch-1
rouault Aug 25, 2024
7c1246c
Updated softprops/action-gh-release to v2
radarhere Aug 25, 2024
606304d
Merge pull request #1551 from radarhere/patch-1
rouault Aug 25, 2024
e0e0c80
Add AVX2 and AVX512 optimization for wavelet transform (#1552)
tszumski Sep 6, 2024
f6ea97a
bench_dwt: Add assert for memory allocation failure
sunyuechi Sep 19, 2024
362ec6c
Merge pull request #1555 from hleft/master
rouault Sep 19, 2024
40707fd
opj_j2k_setup_encoder(): set numgbits = 1 for Cinema2K
rouault Nov 13, 2024
e649728
Rename knownfailures-macOS14.6-xcode15.4-arm64-Release-3rdP.txt to kn…
rouault Nov 13, 2024
4ec0aca
Merge pull request #1559 from rouault/fix_1340
rouault Nov 13, 2024
497d58c
Do not turn on 'TPsot==TNsot detection fix' when TNsot==1, and add a …
rouault Nov 13, 2024
c34e441
Amend fix of PR 1530 regarding m_sot_length check
rouault Nov 13, 2024
05de3bf
Merge pull request #1561 from rouault/fix_pr_1530
rouault Nov 13, 2024
2be5f14
Ammend previous commit to remove new OPJ_DPARAMETERS_DISABLE_TPSOT_FI…
rouault Nov 13, 2024
d5573aa
Merge pull request #1560 from rouault/tune_TPSOT_FIX
rouault Nov 25, 2024
e492644
opj_j2k_add_tlmarker(): validate that current tile-part number if sma…
rouault Nov 25, 2024
a1a56ff
Merge pull request #1565 from rouault/fix_1564
rouault Nov 25, 2024
98592ee
sycc422_to_rgb(): fix out-of-bounds read accesses when 2 * width_comp…
rouault Nov 25, 2024
1650ff9
Merge pull request #1566 from rouault/fix_1563
rouault Nov 26, 2024
ebbd7a1
opj_compress: fix memory leak in error code path (when cannot create …
rouault Dec 6, 2024
6e92b39
Prepare for OpenJPEG v2.5.3 release
rouault Dec 9, 2024
4e3412d
abi_check.sh: Update version number for automatic abi check (2.5.2->…
rouault Dec 9, 2024
e2cf50f
Revert " abi_check.sh: Update version number for automatic abi check …
rouault Dec 9, 2024
210a8a5
.github/workflows/build.yml: stay on ubuntu-22.04 for now
rouault Dec 9, 2024
672ecbb
abi_check.sh: Update version number for automatic abi check (2.5.1->2…
rouault Dec 9, 2024
eb25a5e
abi_check.sh: comment OPJ_PREVIOUS_VERSION
rouault Dec 9, 2024
f809b80
opj_jp2_read_header: Check for error after parsing header.
sebras Jan 16, 2025
44119c2
Merge pull request #1573 from sebras/master
rouault Jan 16, 2025
cc6d0c8
code documentation updates
weanti Feb 11, 2025
578c67b
Fixed ICC profile copy failure on write (#1574)
mircomir Feb 11, 2025
e7453e3
Merge pull request #1576 from weanti/master
rouault Feb 11, 2025
b06eb2a
Fix CMake warning: Compatibility with CMake < 3.10 will be removed
dzenanz Feb 28, 2025
d42966d
pkgconfig: drop unused libraries from Libs.private
bgilbert Jul 25, 2025
0912a30
Merge pull request #1591 from bgilbert/pkg-config
rouault Sep 20, 2025
d1131e2
Merge pull request #1580 from dzenanz/cmakeDeprecationWarning
rouault Sep 20, 2025
a71509a
Bump cmake_minimum_required() in thirdparty/ and tools/ctest_scripts/…
rouault Sep 20, 2025
93c6e59
CI: bump to windows-2022
rouault Sep 20, 2025
f173b55
Prepare for OpenJPEG v2.5.4 release
rouault Sep 20, 2025
6c4a29b
Merge pull request #1594 from rouault/bump_cmake_min_req
rouault Sep 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/abi_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Requirements
run: |
Expand Down
67 changes: 46 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request, workflow_dispatch]

jobs:
regular:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Requirements
run: |
Expand All @@ -28,22 +28,22 @@ jobs:
OPJ_NONCOMMERCIAL: 1

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/openjpeg-*.tar.gz

asan:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Requirements
run: |
sudo apt update
sudo apt install -y gcc g++
sudo apt install -y gcc g++ python-is-python3

- name: Build and run tests
run: |
Expand All @@ -56,11 +56,11 @@ jobs:
OPJ_NONCOMMERCIAL: 1

clang_32bit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Requirements
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Requirements
run: |
Expand All @@ -103,43 +103,68 @@ jobs:
OPJ_CI_BUILD_CONFIGURATION: Release
OPJ_NONCOMMERCIAL: 1

macos:
runs-on: macos-latest
macos_x86_64:
runs-on: macos-13
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build and run tests
run: |
./tools/travis-ci/install.sh
./tools/travis-ci/run.sh
env:
CMAKE_OSX_ARCHITECTURES: x86_64
OPJ_CI_ARCH: x86_64
OPJ_CI_BUILD_CONFIGURATION: Release
OPJ_CI_INCLUDE_IF_DEPLOY: 1
#OPJ_NONCOMMERCIAL: 1

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/openjpeg-*.zip

macos_arm64:
runs-on: macos-14
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and run tests
run: |
./tools/travis-ci/install.sh
./tools/travis-ci/run.sh
env:
CMAKE_OSX_ARCHITECTURES: arm64
OPJ_CI_ARCH: arm64
OPJ_CI_BUILD_CONFIGURATION: Release
OPJ_CI_INCLUDE_IF_DEPLOY: 1
#OPJ_NONCOMMERCIAL: 1

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/openjpeg-*.zip

windows_build:
runs-on: windows-2019
runs-on: windows-2022
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"

strategy:
matrix:
include:
- VS_VER: 2019
- VS_VER: 2022
OPJ_CI_ARCH: x64
OPJ_CI_INCLUDE_IF_DEPLOY: 1
- VS_VER: 2019
- VS_VER: 2022
OPJ_CI_ARCH: x86
OPJ_CI_INCLUDE_IF_DEPLOY: 1
- VS_VER: 2019
- VS_VER: 2022
OPJ_CI_ARCH: x64
# We do have specific failures noted in tools/travis-ci/knownfailures-windows-vs2015-x64-avx2-Release-3rdP.txt
# not sure why that happens
Expand All @@ -160,12 +185,12 @@ jobs:
git config --system core.longpaths true

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set compiler environment
shell: cmd
run: |
if "%VS_VER%" == "2019" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%OPJ_CI_ARCH%
if "%VS_VER%" == "2022" CALL "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=%OPJ_CI_ARCH%
echo PATH=%PATH%>> %GITHUB_ENV%
echo INCLUDE=%INCLUDE%>> %GITHUB_ENV%
echo LIB=%LIB%>> %GITHUB_ENV%
Expand All @@ -174,7 +199,7 @@ jobs:
- name: Install wget
shell: cmd
run: |
choco install wget --no-progress
choco install wget --no-progress

- name: Build and run tests
run: |
Expand All @@ -183,7 +208,7 @@ jobs:
shell: bash

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{startsWith(github.ref, 'refs/tags/') && env.OPJ_CI_INCLUDE_IF_DEPLOY == 1}}
with:
files: build/openjpeg-*.zip
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
dry-run: false
language: c
- name: Upload Crash
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
Loading
Loading