summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add a check for cmsFLAGS_COPY_ALPHAHEADmasterMarti Maria2023-05-163-2/+42
| | | | Thanks to ISOZAKI Nozomi to point out the issue.
* Fix false positive on testMarti Maria2023-05-151-1/+1
| | | | Misplaced return
* a preliminar implementation of OkLab color space as built-in profileMarti Maria2023-05-153-3/+163
| | | | | | Oklab is an alternative to CIE Lab. It works with the same logic, but claims to be more perceptually uniform than CIELab. Thanks to Lukas Sommer for the idea and Björn Ottosson for the documentation
* Merge pull request #379 from nico/patch-1Marti Maria2023-05-101-19/+2
|\ | | | | | | Simplify fixed-point to double conversion routines Looks good, thank you!
| * Simplify fixed-point to double conversion routinesNico Weber2023-05-041-19/+2
|/ | | | | | No behavior change. I checked that old and new code has the same results: https://godbolt.org/z/Eo3GT7rzP
* Merge pull request #378 from diogoteles08/ci/set-workflows-permissionsMarti Maria2023-05-032-0/+8
|\ | | | | | | ci: set minimal permissions to GitHub Workflows Look great, thank you!
| * ci: set minimal permisisons to GitHub WorkflowsDiogo Teles Sant'Anna2023-05-032-0/+8
|/ | | | Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
* Merge branch 'master' of https://github.com/mm2/Little-CMSMarti Maria2023-04-266-17/+24
|\
| * remove functionMarti Maria2023-04-231-1/+0
| | | | | | | | remove undocumented declaration
| * add a way to get segments from tone curvesMarti Maria2023-04-234-12/+17
| | | | | | | | | | - Add a way to get segments from tone curves - Add a check for windows in meson file of fast-float plugin
| * Floating point plug-in no longer clamps values on matrix-shaperMarti Maria2023-04-222-4/+7
| | | | | | | | Should fix #375
* | fix black preservation on compound profile chainsMarti Maria2023-04-261-10/+23
|/ | | | K preservation now works with abstract profiles in the middle and and CMYK devicelinks at the end of the transform chain
* allow build of static libs on windows with MS Visual StudioMarti Maria2023-04-213-7/+14
| | | | Almost: meson uses always ".a" extension which is a pain. I can't solve that.
* make meson compile visual studio as wellMarti Maria2023-04-202-11/+20
| | | | MESON now compiles with VS2022, static lib and DLL
* Sanitize number of channels in profile elementsMarti Maria2023-04-181-2/+2
| | | | Prevent profiles claiming a wrong number of channels
* prevent to allocate a big chunk of memory on corrupted LUTMarti Maria2023-04-171-0/+3
| | | | Overflow here is harmless, but caller code may try to allocate a big chunk of memory, which will be immediatly freed because file size does not match.
* Add check for ill-formed CGATSMarti Maria2023-04-152-5/+45
| | | | Guard against redimensioning data in CGATS
* Merge branch 'master' of https://github.com/mm2/Little-CMSMarti Maria2023-03-261-1/+1
|\
| * Merge pull request #372 from diizzyy/patch-1Marti Maria2023-03-191-1/+1
| |\ | | | | | | | | | meson: Link pthread library to threaded plugin Looks great, thank you!
| | * meson: Link pthread library to threaded pluginDaniel Engberg2023-03-191-1/+1
| |/ | | | | | | | | | | | | | | Fixes ``` cc -o plugins/threaded/src/liblcms2_threaded.so plugins/threaded/src/liblcms2_threaded.so.p/threaded_core.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_main.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_scheduler.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_split.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,liblcms2_threaded.so -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing '-Wl,-rpath,$ORIGIN/../../../src' -Wl,-rpath-link,/usr/ports/graphics/lcms2/work/lcms2-2.15/_build/src src/liblcms2.so.2.0.15 -Wl,--end-group ld: error: undefined symbol: pthread_create ``` OS: FreeBSD 13.2-BETA1 (amd64)
* | add bounds check when writing IT8 fileMarti Maria2023-03-261-23/+29
|/ | | | A minor check to get fuzzers happy. ICC parsing and processing is unaffected.
* Get rid of msys2 checks on build.ymlMarti Maria2023-03-161-34/+0
| | | | | | | | | | | | Why to do this: - It fails with no reason and hides real compilation problems - MSYS2 was not supported until lately, and is a marginal platform. It makes no sense do such an exhaustive check for a platform seldom used. - Takes a long time. - Cygwin and msys2 are greately superseeded by wsl. - Visual studio is more tested and preferred, Community edition is free. So, I delete entirely all MSYS2 checks. If compelling reasons to incorporate those are found, version control of git is our friend.
* Merge branch 'master' of https://github.com/mm2/Little-CMSMarti Maria2023-03-160-0/+0
|\
| * Merge pull request #371 from kmilos/ci_action_bumpMarti Maria2023-03-152-37/+37
| |\ | | | | | | | | | CI: bump actions versions Looks great, thank you!
| | * CI: bump actions versionsMiloš Komarčević2023-03-152-37/+37
| |/
| * Merge pull request #370 from heitbaum/meson-fixesMarti Maria2023-03-142-1/+5
| |\ | | | | | | | | | Allow optional build of utils using meson Looks great, thank you!
| | * Allow optional build of utils using mesonRudi Heitbaum2023-03-142-1/+5
| | | | | | | | | | | | Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
| * | Merge pull request #368 from diogoteles08/ci/set-workflows-permissionsMarti Maria2023-03-142-0/+8
| |\ \ | | | | | | | | | | | | CI: set minimal permissions to GitHub Workflows Looks great, thank you!
| | * | CI: set minimal permissions to GitHub WorkflowsDiogo Teles Sant'Anna2023-03-102-0/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Set top-level read-only permissions to all workflows; for the jobs that require write-permissions, give them only job-level Closes #366 Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
| * | Merge pull request #367 from kmilos/patch-1Marti Maria2023-03-141-9/+10
| |\ \ | | |/ | |/| | | | Simplify MSYS2 CI jobs further Thanks. I will get rid of many of those cases because sometimes fails, takes forever and apports nothing: Will move the matrix check to true Linux instead.
| | * Simplify MSYS2 CI jobs furtherMiloš Komarčević2023-03-141-9/+10
| |/
* | Add threaded plugin to build.ymlMarti Maria2023-03-161-4/+4
|/ | | | Activate plugin testbed
* Merge pull request #361 from Biswa96/psicc_manMarti Maria2023-03-101-0/+2
|\ | | | | | | meson: Install psicc man page Looks great, thank you!
| * meson: Install psicc man pageBiswapriyo Nath2023-03-021-0/+2
| |
* | Merge pull request #360 from nekopsykose/meson-beMarti Maria2023-03-101-1/+1
|\ \ | | | | | | | | | meson: fix big endian cargs Looks great, thank you!
| * | meson: fix big endian cargspsykose2023-03-021-1/+1
| |/ | | | | | | | | | | otherwise they are a string and appending with + [""] later fails in plugins/fast_float/testbed/meson.build:5:0: ERROR: The `+` operator of str does not accept objects of type list (['-DPROFILES_DIR="/home/buildozer/aports/main/lcms2/src/lcms2-2.15/plugins/test_profiles/"'])
* | Merge pull request #364 from amyspark/work/amyspark/roundtrip-headerMarti Maria2023-03-102-10/+25
|\ \ | | | | | | | | | Roundtrip CMM, platform, and creator tags Checked to work on several computers. Thank you so much!
| * | Roundtrip CMM, platform, and creator tagsL. E. Segovia2023-03-042-10/+25
| |/ | | | | | | | | This fixes generated MD5 checksums of existing profiles not matching between Windows and Unix-based systems.
* | Merge pull request #365 from amyspark/work/amyspark/add-msys2Marti Maria2023-03-064-6/+55
|\ \ | | | | | | | | | Fix MSYS2 compatibility Look great, thank you!
| * | Remove ubuntu-18.04 image deprecated by GitHubL. E. Segovia2023-03-061-2/+2
| | |
| * | Simplify MSYS CI setupL. E. Segovia2023-03-061-22/+4
| | |
| * | Remove interference from GHA toolsL. E. Segovia2023-03-041-5/+3
| | |
| * | Fix compatibility with MSVCRT or pre-C11 compilersL. E. Segovia2023-03-042-3/+8
| | |
| * | Add 32-bit buildsL. E. Segovia2023-03-041-2/+4
| | |
| * | Add missing private APIs for the pluginsL. E. Segovia2023-03-041-1/+6
| | |
| * | Add MSYS2 builds for testingL. E. Segovia2023-03-041-0/+53
| | | | | | | | | | | | Co-authored-by: Rachel Mant <git@dragonmux.network>
| * | Add concurrency group to enable cancelling superseded buildsL. E. Segovia2023-03-041-0/+4
| |/ | | | | | | Co-authored-by: Rachel Mant <git@dragonmux.network>
* | Merge pull request #362 from hughsie/wip/hughsie/fix-samplesMarti Maria2023-03-041-2/+2
|\ \ | | | | | | | | | Fix compiling the samples using meson Looks great, thank you!
| * | Fix compiling the samples using mesonRichard Hughes2023-03-021-2/+2
| |/
* | Merge pull request #363 from kleisauke/mingw-compatMarti Maria2023-03-043-3/+3
|\ \ | |/ |/| | | Fix building on case sensitive mingw platforms Look great, thank you!