617 Commits

Author SHA1 Message Date
Dirk Lemstra 7764e06718 Restored the patch. 2026-05-11 16:22:14 +02:00
Dirk Lemstra 34bda950ca Revert patch until there is a proper fix. 2026-05-10 16:07:12 +02:00
Cristy 824aa5b6de https://github.com/ImageMagick/ImageMagick/issues/8720 2026-05-09 13:04:11 -04:00
Dirk Lemstra 7d80d09979 Only reset the image type when ValidatePixelCacheMorphology returns false. 2026-04-26 18:02:24 +02:00
Cristy 1e87687ba0 sync image pixels before writing 2026-03-25 08:42:36 -04:00
Cristy e046417675 https://github.com/ImageMagick/ImageMagick/issues/8567 2026-02-15 22:26:57 -05:00
Cristy 364606e5cb reset channel map when cache resources are exhausted 2026-02-07 08:40:53 -05:00
Cristy 6dbae0a330 fix potential memory leak 2026-02-02 19:52:42 -05:00
Cristy 16dd3158ce https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-p863-5fgm-rgq4 2026-02-01 14:56:14 -05:00
Dirk Lemstra 2abe65b018 Use the new license url. 2026-01-11 10:16:12 +01:00
Cristy 2df29d4377 include loadavg.h header 2025-08-25 19:26:09 -04:00
Dave Allured b016cd1314 cache.c: Fix unused function warning (#8309)
* Minor fix, warning only.
* Fix "warning: unused function 'GetCacheNumberThreads'"
2025-08-19 06:57:11 -04:00
Cristy 268afe9038 check return value of getloadavg() 2025-08-02 13:37:02 -04:00
Cristy 64809145bf support dynamic cpu throttling relative to the system load average 2025-08-02 13:33:11 -04:00
Cristy 4bde249862 eliminate lint warnings 2025-06-08 21:26:00 -04:00
Cristy 7e5d87fe6e rename private safe recipicol and log10 macros 2025-06-07 08:53:23 -04:00
Dirk Lemstra 6d9f9f978f Introduce a utf8_close define so we can use _close on Windows. 2025-06-06 10:30:39 +02:00
Cristy 46e6e89543 clamp NCC metric 2025-06-01 11:45:13 -04:00
Cristy e85e5ac9d4 optimize threads 2025-06-01 08:55:03 -04:00
Dirk Lemstra 14dfb98946 Also print the requested sizes in the error message when width or height exceeds the limits. 2025-02-25 19:38:41 +01:00
Cristy 76f853c022 release 2025-02-22 08:55:05 -05:00
Dirk Lemstra 0a171f3a8b Added extra information to the reported error when the width or height exceed the limits. 2025-02-22 14:33:33 +01:00
Cristy 1be903db4e eliminate compiler warnings 2025-02-19 20:31:34 -05:00
Cristy f0679bd043 ensure similarity looping respects the resouce thread limit 2025-02-16 09:36:19 -05:00
Dirk Lemstra 57f95be7bc Removed another unnecessary check. 2025-02-16 10:05:29 +01:00
Cristy c3aa2b6046 using ptrdiff_t is recommended for pointer arithmetic in C 2024-11-10 18:18:59 -05:00
Cristy 9b44a0f902 to ensure code clarity and correctness 2024-11-09 20:59:17 -05:00
Cristy fff3058547 read/write in chunks 2024-07-31 09:32:02 -04:00
Cristy e716f9e16e possible temporary pixel cache leak if resources exhausted (https://github.com/ImageMagick/ImageMagick/discussions/7167) 2024-03-23 20:01:32 -04:00
Cristy 35ba5404dc deprecate InitializePixelCacheMap() and introduce ResetPixelCacheMap() 2024-01-17 16:37:24 -05:00
Cristy c099a19f0f check maximum number of meta channels 2024-01-14 13:27:40 -05:00
Cristy c29cf7f113 thread tuning 2024-01-01 16:41:04 -05:00
Cristy 43a44ea57e conditionally set errno to ESTALE 2023-12-28 20:44:41 -05:00
Cristy a8a6a61f91 set errno if time-to-live exceeded 2023-12-28 10:00:06 -05:00
Dirk Lemstra 4b744eba5e Set ttl to time when the image will expire instead of the duration that the image can be used. 2023-12-06 07:10:34 +01:00
Cristy f3bacd19f6 release 2023-12-03 14:10:05 -05:00
Cristy 699352ebed release 2023-12-03 14:08:02 -05:00
Cristy eec76f4069 cosmetic 2023-12-02 09:27:32 -05:00
Cristy e621797fd9 each image has its own time to live 2023-10-31 11:22:59 -04:00
Cristy 39137b55ba cosmetic 2023-10-25 16:43:10 -04:00
Cristy 5294889f22 cosmetic 2023-10-25 09:51:19 -04:00
Dirk Lemstra 4d18167db3 Added missing null check (#6811). 2023-10-25 07:51:55 +02:00
Cristy 022c0ed2fc eliminate redundent pixel offset check 2023-10-22 12:30:13 -04:00
Cristy 7142d5e0af https://github.com/ImageMagick/ImageMagick/issues/6623 2023-10-22 11:44:41 -04:00
Cristy 63d39da917 utilize difftime() to subtract time to live 2023-10-14 09:50:11 -04:00
Cristy 23a0ef433f cosmetic 2023-10-13 20:42:33 -04:00
Cristy 60bffdba83 moderate the CPU delay 2023-10-13 20:35:37 -04:00
Cristy cdaebe9fdc support time to live neumonics, e.g. 2 minutes 2023-10-13 19:41:22 -04:00
Cristy 2cfa8d113a protect against DOS for FX do, while, for loops 2023-10-08 08:07:28 -04:00
Cristy b56a48eb78 respect time to live for Fx option 2023-10-04 13:41:38 -04:00