138 Commits

Author SHA1 Message Date
Cristy 9eeb5ae906 eliminate compiler warning 2026-04-23 21:57:34 -04:00
Cristy c4aa2a623a eliminate compiler warning 2026-04-19 11:39:51 -04:00
Cristy 0f87015417 do not call ThrowFatalException() 2026-04-19 11:12:29 -04:00
Dirk Lemstra 2abe65b018 Use the new license url. 2026-01-11 10:16:12 +01:00
Dirk Lemstra 7b0bce0562 Removed specific methods for Windows with memory allocation. 2025-12-25 14:50:20 +01:00
Zeus64 5381832bac Update Doc (#8442)
* Update Doc

* update doc

* update doc

* update doc

* update doc

* update doc

* update doc

* update doc
2025-11-13 08:48:19 -05:00
Cristy 64809145bf support dynamic cpu throttling relative to the system load average 2025-08-02 13:33:11 -04:00
Cristy 29a0bea8f0 cosmetic 2025-08-01 20:33:14 -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
Dirk Lemstra 1e924cb780 Initialize max_memory_request to unlimited to avoid recursion issues when getting the value from the policy. 2025-04-12 12:17:56 +02:00
Dirk Lemstra f6650d1ca0 Move the MagickMin check to methods that get the value from the policy. 2025-04-12 12:16:56 +02:00
Dirk Lemstra 212d67c9ac Make sure that calls to SetMaxProfileSize are only limited to the value configured in the policy. 2025-04-12 11:56:53 +02:00
Dirk Lemstra 4da0331e12 Make sure that calls to SetMaxMemoryRequest are only limited to the value configured in the policy. 2025-04-12 11:53:11 +02:00
Dirk Lemstra 657bb136c8 Removed unused ResetMaxMemoryRequest method. 2025-04-12 11:50:11 +02:00
Cristy 1bce09eb1f eliminate lint warning 2025-02-20 10:16:50 -05:00
Cristy c3aa2b6046 using ptrdiff_t is recommended for pointer arithmetic in C 2024-11-10 18:18:59 -05:00
Dirk Lemstra 8cadb7b5eb Added new security policy setting called max-profile-size that can be used to limit the size of a profile. 2024-04-16 17:49:27 +02:00
Cristy 8944309b0c respect max-memory-request user policy 2023-10-25 19:24:35 -04:00
Cristy e26986e721 ... 2023-08-15 18:52:51 -04:00
Dirk Lemstra 312aaf9e11 Use define because the fallthrough attribute is only supported by gcc. 2023-04-10 16:16:44 +02:00
Dirk Lemstra 427e4434bd Silenced MagickCore warnings. 2023-04-10 14:03:22 +02:00
Cristy b30e351c30 optimize performance 2022-06-08 15:59:22 -04:00
Cristy 3699b7456a rework shred passes 2022-06-08 15:49:10 -04:00
Cristy 6cffc2eebb only set the # of shred passes one time 2022-06-07 09:16:09 -04:00
Cristy c1ddb64e57 first pass is fast for performance, second is crytographically strong 2022-06-07 07:27:52 -04:00
Dirk Lemstra 20ec4a7c33 Corrected documentation. 2022-06-07 07:22:11 +02:00
Cristy 8b289a89f2 update memory pointer 2022-06-06 21:07:15 -04:00
Cristy 9479fbaa5f support shredding memory pools 2022-06-06 21:03:09 -04:00
Cristy bea3c06e19 system:shred value has precedence over MAGICK_SHRED_PASSES 2022-06-06 12:55:23 -04:00
Cristy 28637d210b add private ShredMagickMemory() method to hide contents of memory buffers before they are relinquished 2022-06-06 12:42:10 -04:00
Dirk Lemstra 8891ec1db1 Changed copyright headers. 2022-02-09 07:26:55 +01:00
Dirk Lemstra 6ccb83b8ad Use MAGICK_SSIZE_MAX instead because of the MagickMin. 2021-09-26 13:36:40 +02:00
Dirk Lemstra 2f442f7f05 Use SIZE_MAX instead. 2021-09-26 12:28:09 +02:00
Cristy 39b6776762 fix c++ compiler exception 2021-03-21 09:21:26 -04:00
Cristy 70aa86f5d5 possible divide by zero + clear buffers 2021-02-25 17:05:14 -05:00
Cristy c02a774227 document memory allocators 2021-01-10 19:10:15 -05:00
Cristy 97f24b775e update automake/autoconf configuration files 2021-01-08 13:33:00 -05:00
Cristy 6d9c0a4ad5 use LONG_MIN define rather than SSIZE_MAX 2021-01-02 16:58:54 -05:00
Cristy d842011290 update to latest documentation and update copyright year 2021-01-01 14:52:00 -05:00
Cristy f2dc1dd093 register storage class is deprecated 2020-12-28 13:59:26 -05:00
Cristy 2933c80020 ... 2020-12-21 16:16:52 -05:00
Cristy 2c0566170a ... 2020-11-15 23:57:49 +00:00
Cristy 3dd6e8b837 ... 2020-11-15 23:49:21 +00:00
Cristy bbe0bf4d8d ... 2020-11-15 23:44:37 +00:00
Cristy 566eaf17a9 prefer AcquireQuantumMemory() over ResizeMagickMemory() 2020-11-15 17:46:43 +00:00
Cristy c96f47cab8 ... 2020-11-12 09:26:35 -05:00
Cristy 285a9698b9 ... 2020-11-12 09:21:11 -05:00
Cristy 5d7ccee607 ... 2020-11-09 00:04:25 +00:00
Cristy 2998061048 respect system:max-memory-request security policy 2020-11-08 18:33:06 +00:00
Cristy 8b26a9d534 ... 2020-09-06 11:32:54 -04:00