Commit Graph

1214 Commits (efffd21c3692df73ebaa146823386a2db057c125)

Author SHA1 Message Date
Pierre Joye 6f5136821b
Merge pull request #755 from libgd/bug/750
Partial fix for #750, BMP and WebP. Gif's usage of PutBuf needs too much refactoring for the actual gain here."
2021-09-08 10:08:12 +07:00
Pierre Joye 75fecefe77 <3 the CI, forgot header for gd_error and unused var, strict mode for the win :) 2021-09-07 22:10:26 +07:00
Pierre Joye e5c84f0b7a Partial fix for #750 2021-09-07 22:03:21 +07:00
Arun 16ebd800f7 Fixed typo 2021-09-06 08:29:50 -04:00
Pierre Joye 4a0d7d86f0 Fix #320, should not convert the source to palette 2021-09-01 14:05:56 +07:00
Pierre Joye 6402cdf87e
Merge pull request #747 from libgd/features/mingw-ci
Rewrite CI to use Github Actions and improve builds. Platform:
- Ubuntu 20.04, gcc, x64 and ARM64 (graviton2)
- Ubuntu 20.04, clang, x64 and ARM64 (graviton2)
- Windows, x64, x86, arm64 VC
- Windows, mingw, x64, x86, ucrt64
- MacOS, x64 xcode

See docs/README_CI.md for additional details.
2021-09-01 10:21:20 +07:00
Pierre Joye 9251cd60d0
Merge pull request #736 from libgd/bug/415
Fix #415, Assuming TopOfs and LeftOfs zero, we can safely skip any (x…
2021-08-31 18:48:20 +07:00
Pierre Joye c6fcb5d4cb These are not .c files, should work on gcc and make clang linker happy 2021-08-29 23:42:39 +07:00
Pierre Joye 65914f9e90 #ifdef 2021-08-29 22:54:34 +07:00
Pierre Joye 98451864ce fix build for arm64, also use generic intrin.h instead of the x86 series specific 2021-08-29 05:55:52 +07:00
Pierre Joye 1b3f6fbe94 Fix #410, document the exact behavior. It is not possible to change behavior at this point. 2021-08-27 07:00:11 +07:00
Pierre Joye b214ab236a
Merge pull request #737 from libgd/bug/405
Fix #405, -1 aims to reset the transparent color; refactor a bit; add test to existing test for -1
2021-08-27 01:24:00 +07:00
Pierre Joye 0bc3170fa7
Merge pull request #741 from mvorisek/patch-1
Fix gdAlphaMax limit typo
2021-08-27 01:23:26 +07:00
Michael Voříšek e8642aa54e
Fix gdAlphaMax limit typo 2021-08-26 18:59:12 +02:00
Pierre Joye 13d3b67822 Fix #402, negative determinant fails, only 0 or not finite should fail 2021-08-26 22:40:15 +07:00
Pierre Joye 63070b49e2 Merge branch 'master' of github.com:libgd/libgd 2021-08-26 21:48:43 +07:00
Pierre Joye 4dcc6025cb document gd Matrix 2021-08-26 21:48:17 +07:00
Pierre Joye de563c2520
Merge pull request #636 from willson-chen/mv_gd_color_map_test_to_tests
Move src/gd_color_map_test.c to tests
2021-08-26 19:11:15 +07:00
Pierre Joye 3a4d2127ef -1 resets the transparent color, return here. 2021-08-25 21:48:19 +07:00
Pierre Joye 67cc752b40 Fix #405, -1 aims to reset the transparent color; refactor a bit; add test to existing test for -1 2021-08-25 18:44:02 +07:00
Pierre Joye 4cd5542152 fix #415, the same is needed in the other section, add test 2021-08-25 17:48:03 +07:00
Pierre Joye bdc281eadb Fix #318, these macros are not used as planed, we have separate functions for each 2021-08-25 15:28:32 +07:00
Pierre Joye 5771e976bd Fix #415, Assuming TopOfs and LeftOfs zero, we can safely skip any (x,y) out of the previous image bounds 2021-08-25 12:52:45 +07:00
Pierre Joye 49ecef1bf4 avoid case w/255.5+0.5 (kudos @cmb69) 2021-08-25 00:09:05 +07:00
Pierre Joye 8890f527b2 #661, restore correct clamping, fixing alpha artifacts (these ones are the most visible) 2021-08-24 23:08:09 +07:00
Pierre Joye c5fd25ce0e
Merge pull request #713 from me22bee/_gdImageGd2
gdImageGd2Ptr memory leak
2021-08-24 16:34:59 +07:00
Maryam Ebrahimzadeh a1d4caace6
remove non-printable bytes 2021-08-24 12:02:23 +04:30
Maryam Ebrahimzadeh e8eeb8dde5
trigger the github actions 2021-08-24 11:46:07 +04:30
Pierre Joye 86a9e24510 Add ENABLE_CPP_API 2021-08-23 22:55:56 +07:00
Pierre Joye 1a04cda56a remove annotate from windows builds 2021-08-23 21:18:29 +07:00
Pierre Joye 8864a3086f remove from .c too 2021-08-23 21:05:17 +07:00
Pierre Joye 3dc1ea0d5f +NOT 2021-08-23 20:57:30 +07:00
Pierre Joye 18324c72c2 tried, remove it from windows build, will need portable codes elsewhere 2021-08-23 20:27:40 +07:00
Pierre Joye 5a34892fe2 move and fix opt* extern declaration, windows MSC only 2021-08-23 19:38:15 +07:00
Pierre Joye 05e0b65895 move and fix opt* extern declaration, windows MSC only 2021-08-23 19:29:11 +07:00
Pierre Joye d8e894030e webpng mkstemp, windows MSC only 2021-08-23 19:08:34 +07:00
Pierre Joye e19f011737 webpng mkstemp 2021-08-23 19:05:30 +07:00
Pierre Joye 6be94bf3ea opt* are extern, missed optarg 2021-08-23 18:52:13 +07:00
Pierre Joye b3d1627998 opt* are extern 2021-08-23 18:41:13 +07:00
Pierre Joye ca1c63050d that should solve all ssize_t issue w/VC 2021-08-23 18:24:48 +07:00
Pierre Joye d2a4d180f2 syntax fix 2021-08-23 18:17:15 +07:00
Pierre Joye 6ede9b45e8 syntax fix 2021-08-23 17:46:11 +07:00
Pierre Joye 02a14bc7dc syntax fix 2021-08-23 17:40:10 +07:00
Pierre Joye 1c18f158a0 syntax fix 2021-08-23 17:33:37 +07:00
Pierre Joye d4d9975b05 recent VC has stdint 2021-08-23 17:15:15 +07:00
Pierre Joye 0143009716 let define ssize_t here on windows 2021-08-23 17:05:36 +07:00
Pierre Joye c425bc494c this header should not be included on windows 2021-08-23 16:56:01 +07:00
Pierre Joye c7ee15f81d Fix #733, silent warning for infile 2021-08-23 15:59:06 +07:00
Pierre Joye b5c494bc87 Fix #733, use of undeclared identifier 'size': ARG_NOT_USED(size) 2021-08-23 14:00:19 +07:00
Pierre Joye 4cf3715a9a add option to enable/disable CPP API 2021-08-22 11:50:59 +07:00