summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-14Fix segfault in src/bin/jp2/opj_decompress.c due to uninitialized pointer ↵xiaoxiaoafeifei
(fixes #1368) (#1369)
2021-07-12Fix code formattingEven Rouault
2021-07-12Merge pull request #1366 from sebras/fix-out-of-bounds-accessEven Rouault
opj_j2k_is_imf_compliant: Fix out of bounds access
2021-07-12opj_j2k_is_imf_compliant: Fix out of bounds access.Sebastian Rasmussen
Previously when mainlevel was parsed == 12 openjpeg would generate a warning, but then the sublevel value would be compared to an out of bounds element in the tabMaxSubLevelFromMainLevel array. From this commit OpenJPEG will only use mainlevel if in range.
2021-07-12Merge pull request #1365 from sebras/fix-warning-formattingEven Rouault
opj_j2k_is_imf_compliant: Fix argument formatting for warnings.
2021-07-12opj_j2k_is_imf_compliant: Fix argument formatting for warnings.Sebastian Rasmussen
2021-06-09Merge pull request #1361 from rouault/update_version_numbers_to_2_5Even Rouault
CMakeLists.txt/appveyor.yml: update version number to 2.5.0…
2021-06-08CMakeLists.txt/appveyor.yml: update version number to 2.5.0 to make it ↵Even Rouault
easier for downstream consumers to use new features
2021-06-08Merge pull request #1359 from rouault/TLMEven Rouault
Add support for enabling generation of TLM markers in encoder
2021-06-07Add support for enabling generation of TLM markers in encoderEven Rouault
Support was already there, but restricted to Cinema and IMF profiles, and 255 tiles * Add -TLM switch added to opj_compress * Make opj_encoder_set_extra_options() function accept a TLM=YES option.
2021-06-07Merge pull request #1360 from rouault/travis_gcc_4_8_fixEven Rouault
.travis.yml: try to fix gcc 4.8 config by updating to xenial
2021-06-07.travis.yml: try to fix gcc 4.8 config by updating to xenialEven Rouault
2021-06-07Merge pull request #1358 from rouault/compiler_warning_fixesEven Rouault
Fix various compiler warnings
2021-06-07Fix various compiler warningsEven Rouault
2021-06-07openjpeg.c: avoid casts of function pointersEven Rouault
2021-06-01Merge pull request #1354 from msabwat/emscriptenEven Rouault
fix #1345: don't remove big endian test for other platforms
2021-06-01fix #1345: don't remove big endian test for other platformsMehdi Sabwat
thanks to @ePirat, it turns out that !EMSCRIPTEN does not evaluate to 1 on other platforms, so the the #1345 actually disabled the test for all platforms.
2021-05-07Merge pull request #1345 from msabwat/emscriptenEven Rouault
emscripten: disable big endian test
2021-05-07emscripten: disable big endian testMehdi Sabwat
This test should not run on the emscripten platform because of : https://github.com/emscripten-core/emscripten/blob/dff33368427fba16745c8ce52f11484a67b2855d/cmake/Modules/TestBigEndian.cmake#L5
2021-05-06Import files tiff and yuv(raw) (#1316)Jamaika1
2021-05-06Merge pull request #1350 from rouault/remove_jpwl_jp3d_mj2Even Rouault
Remove obsolete components JPWL, JP3D and MJ2
2021-05-04Remove obsolete components JPWL, JP3D and MJ2Even Rouault
2021-05-04Merge pull request #1348 from rouault/fix_kduEven Rouault
tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
2021-05-04.travis.yml: disable tests that no longer pass for unknown reasonEven Rouault
2021-05-04tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binariesEven Rouault
2021-01-10Merge pull request #1321 from ffontaine/masterEven Rouault
Fix cmake file with DESTDIR
2021-01-07cmake/OpenJPEGConfig.cmake: replace ABSOLUTE by REALPATHFabrice Fontaine
Fix #1174 by replacing ABSOLUTE by REALPATH which will resolve symlinks: https://cmake.org/cmake/help/latest/command/get_filename_component.html Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-01-07Revert "Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)"Fabrice Fontaine
This reverts commit 65586374d639cfc0104419992f9022174b412594 which breaks cross-compilation of poppler under buildroot (because of DESTDIR usage).
2021-01-04Merge pull request #867 from pseiderer/fix-lcms2-static-linking-using-pgk-configEven Rouault
Fix lcms2 static linking using pgk config
2021-01-04thirdparty: lcms2: append flags found by pkg-config if availablePeter Seiderer
This change allows to get all required CFLAGS/LDFLAGS in case of static only build. Fixes a buildroot build failure (see [1], [2] and [3]). [1] http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57 [2] http://lists.busybox.net/pipermail/buildroot/2016-November/177187.html [3] http://lists.busybox.net/pipermail/buildroot/2016-November/177188.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> --- Depends on https://github.com/uclouvain/openjpeg/pull/866
2021-01-04Merge pull request #866 from tSed/masterEven Rouault
fix static build only against tiff and its indirect dependencies
2021-01-04Merge pull request #1317 from ffontaine/masterEven Rouault
CMakeLists.txt: Don't require a C++ compiler
2021-01-04CMakeLists.txt: Don't require a C++ compilerPeter Korsgaard
By default, CMake assumes that the project is using both C and C++. By explicitly passing 'C' as argument of the project() macro, we tell CMake that only C is used, which prevents CMake from erroring out if a C++ compiler doesn't exist. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [Retrieved (and slightly updated by adding enable_language(CXX) if WITH_ASTYLE is set) from: https://git.buildroot.net/buildroot/tree/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-12-31Fix Windows buildEven Rouault
2020-12-31patch provided 3rdparty zlib to work with MacOSAntonin Descampe
2020-12-29Add HOWTO-RELEASEEven Rouault
2020-12-29Comment back opj_previous_version in abi_check.shEven Rouault
2020-12-29abi_check.sh: Update version number for automatic abi checkEven Rouault
2020-12-28Merge pull request #1312 from stweil/newsEven Rouault
Fix year in NEWS
2020-12-28Fix year in NEWSStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-12-28Prepare for v2.4.0v2.4.0Even Rouault
2020-12-28Merge pull request #1310 from Jamaika1/patch-1Even Rouault
Change defined WIN32
2020-12-28Merge pull request #1307 from ↵Even Rouault
cygwin-lem/pr_use-OPENJPEG_INSTALL_DOC_DIR-to-DESTINATION-of-HTMLs Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
2020-12-28Merge pull request #1308 from timgates42/bugfix_typo_producedEven Rouault
docs: fix simple typo, producted -> produced
2020-12-21Change defined WIN32Jamaika1
2020-12-16docs: fix simple typo, producted -> producedTim Gates
There is a small typo in thirdparty/include/zlib.h, thirdparty/libz/zlib.h. Should read `produced` rather than `producted`.
2020-12-14Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLsLemures Lemniscati
Use ${OPENJPEG_INSTALL_DOC_DIR} as DESTINATION of HTML documents, instead of share/doc.
2020-12-10Merge pull request #1306 from matthew-sharp/masterEven Rouault
Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
2020-12-10Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)Matthew Sharp
This fixes the case where the cmake file is accessed via a symlink.
2020-12-05Merge pull request #1304 from rouault/fix_1302Even Rouault
pi.c: avoid out of bounds access with POC (fixes #1302)