summaryrefslogtreecommitdiff
path: root/windows
Commit message (Collapse)AuthorAgeFilesLines
* use https://libgd.orgMike Frysinger2021-07-051-1/+1
|
* Fix #679: ssize_t used in gdft.c won't compile under MS compilerChristoph M. Becker2021-03-161-0/+3
| | | | | | | | MSVC does not define `ssize_t` (nor `SSIZE_MAX`), so we add fallback definitions to the generated config.h. We also need to define `HAVE_CONFIG_H` which makes most of the other defines there superfluous, but we leave them in since they don't hurt.
* AVIF support (#671)Ben Morss2021-03-033-2/+17
| | | | | | | | | | | | | | | | | | | | | | | Demand for AVIF support on the web is growing, as the word gets out about this new file format which allows higher-quality encoding at smaller sizes. Core contributors to major open-source CMSs are interested in auto-generating AVIF images! They've been simply waiting for support to appear in libgd. This PR aims to meet the growing demand, and to help bring smaller, more beautiful images to more of the web - to sites created by experienced developers and CMS users alike. This PR adds support by incorporating libavif in addition to the existing libheif support. It's generally felt that libavif has more complete support for the AVIF format. libavif is also used by the Chromium project and squoosh.app. In this PR, I've endeavored to incorporate the latest research into best practices for AVIF encoding - not just for default quantizer values, but also an algorithm for determining the number of horizontal tiles, vertical tiles, and threads. Fixes #557.
* HEIF support through libheif (#670)Martin Reboredo2021-03-022-2/+7
| | | | | | | | | | | | | | | With the adoption of AVIF by Firefox and Chromium based browsers (still in experimental phase), the newer incorporation of HEIF by Canon and Sony in their cameras and the newer support of both of them in modern software like ImageMagick, GIMP and Krita, `gd` haven't seen any endorsement for the formats up until this PR. Reading and writing is done by `libheif`, with functionality for chroma subsampling (for now `4:2:0`, `4:2:2` and `4:4:4`), quality (with new `200` for lossless) and compression (whether `HEVC` or `AV1`) selection. This was tested with `libheif` version `1.11.0` in my Solus machine. Also, fixes both #395 and #557.
* a few more shellcheck fixesMike Frysinger2021-02-081-4/+8
|
* scripts: clean up various shellcheck warningsMike Frysinger2021-02-081-28/+29
| | | | Should hopefully not break anything :).
* Define HAVE_SYS_STAT_H in msyswillson-chen2019-10-281-1/+1
|
* windows: run_tests: avoid running fontconfig & xpmwillson-chen2019-10-281-1/+1
|
* windows/msys/run_tests.sh: skip fontconfig and xpm test caseswillson-chen2019-10-091-1/+1
| | | | libxpm and libfontconfig are unavaible in windows. So skip fontconfig and xpm test cases by excluding their test path
* windows/msys/Mkefile: add gd formats optionwillson-chen2019-10-091-1/+2
| | | This fixes 'gd image support has been disabled' in test cases of operating gd image, like gd/gd_im2im.c.
* Update msys readmewillson-chen2019-10-091-0/+8
| | | Fixes #518.
* Add leading blank lines check and trim redundant blank newlinesPeter Kokot2018-10-052-2/+0
|
* Remove HAVE_STDLIB_HPeter Kokot2018-09-081-1/+1
| | | | | | | | | | | | The C89 and later standard defines the `<stdlib.h>` header as part of the standard headers [1] and on current systems it is always present and the `HAVE_STDLIB_H` symbol can be removed. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* Remove HAVE_STDDEF_HPeter Kokot2018-09-061-1/+1
| | | | | | | | | | | | | | The `<stddef.h>` header file is part of the standard C89 headers [1] and on current systems there is no need to manually check if header is present anymore. Since the libgd requires at least C89 or greater, the `HAVE_STDDEF_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* Remove HAVE_LIMITS_HPeter Kokot2018-09-061-1/+1
| | | | | | | | | | | | | | The `<limits.h>` header file is part of the standard C89 headers [1] and on current systems there is no need to manually check if header is present anymore. Since the libgd requires at least C89 or greater, the `HAVE_LIMITS_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* Remove HAVE_ERRNO_HPeter Kokot2018-09-051-1/+1
| | | | | | | | | | | | | | The `<errno.h>` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since libgd requires at least C89 or greater, the `HAVE_ERRNO_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.3 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* Remove Git ident attributesPeter Kokot2018-06-271-1/+0
| | | | | | | | Git ident attributes were in most cases utilized with SVN and keywords substitutions, where $Id$ were replaced with certain revision from the repository. In Git this functionality is different. Each $Id$ needs to be defined in .gitattributes file to be effective. This patch removes unused and outdated attributes.
* clean up trailing whitespace/newlinesMike Frysinger2018-06-214-21/+3
| | | | | This is preparation for adding some linting checks for new commits from people. Shouldn't be any functional changes here (tests still pass!).
* convert all files to native line encodingsMike Frysinger2018-06-213-131/+131
| | | | | | A bunch of these files were committed with Windows line encodings. Strip all those ^M gremlins out as people working on Windows can use git's autocrlf setting to convert back and forth as needed.
* Enable GD and GD2 formats for native Windows toolchainChristoph M. Becker2018-04-051-2/+3
| | | | | Actually, this should be configurable, but we're sticking with the hard-coded defaults for now.
* Add support for building the programs with MSVCChristoph M. Becker2017-08-242-3/+27
| | | | | We add support for building all executable programs in `src/` to the native MSVC build script, except for `webpng.exe` due to #401.
* Add test summary for WindowsChristoph M. Becker2017-01-251-27/+42
|
* Enable libtiff support on WindowsChristoph M. Becker2017-01-253-7/+13
|
* Update Windows build instructionsChristoph M. Becker2017-01-251-9/+40
|
* Markup windows/readme.mdChristoph M. Becker2017-01-201-11/+15
|
* Exclude tests/fontconfig/ on WindowsChristoph M. Becker2017-01-201-3/+3
| | | | | | We don't support libfontconfig on Windows, so it doesn't make sense to build the fontconfig related test cases, as they are supposed to fail anyway.
* Enable working debug buildsChristoph M. Becker2017-01-202-5/+8
| | | | For now, we're supporting PDBs for libgd.dll and the test executables.
* Purge duplicate make rulesChristoph M. Becker2017-01-201-7/+1
|
* Exclude tests/tiff/ on WindowsChristoph M. Becker2017-01-191-34/+34
| | | | | Currently, we don't support libtiff on Windows, so it doesn't make sense to try to build the TIFF related test cases.
* Be more resilient wrt. the freetype headersChristoph M. Becker2017-01-191-1/+1
| | | | | In recent dependency builds ft2build.h is placed in freetype2/ instead of freetype/, so we add this folder to the include path.
* No, we don't HAVE_BUNDLED_GDChristoph M. Becker2016-09-141-1/+0
| | | | | | This is obviously a relict of PHP's bundled libgd, which we should remove. And actually, the #ifdef isn't necessary anymore for PHP's bundled libgd either, because it supports gdImageAlphaBlending().
* #241 do no redifine it if already defined (ie command line)Pierre Joye2016-07-242-11/+139
|
* have to create them before or include cannot be done conditionally, sadlyPierre Joye2016-07-241-4/+15
|
* generate config.hPierre Joye2016-07-231-3/+12
|
* #249 be sure to create tests dir and make gd DLL available for testsPierre Joye2016-07-231-2/+2
|
* sync windows test build, remove test_config.hPierre Joye2016-07-231-17/+6
|
* not used anymorePierre Joye2016-07-171-2/+0
|
* skip gdtest folderPierre Joye2016-07-171-2/+2
|
* mising filePierre Joye2016-07-151-1/+3
|
* not used anymorePierre Joye2016-07-151-3/+1
|
* add webp to the build, generate tests list to runPierre Joye2016-07-153-13/+14
|
* generate the list of tests and makefile instead of using static outdated listPierre Joye2016-07-152-16/+37
|
* remove useless echoPierre Joye2016-07-141-1/+0
|
* add DEBUG modePierre Joye2016-07-121-1/+13
|
* fix build and run testsPierre Joye2016-07-122-16/+22
|
* add readdirPierre Joye2016-07-111-3/+7
|
* #249 add some missing filesPierre Joye2016-07-111-3/+7
|
* #249 first set of fixes, now builds with nmake and ../deps, more to fixPierre Joye2016-07-111-64/+79
|
* configure/cmake: unify header checks and config.h generationMike Frysinger2016-05-171-1/+0
| | | | | Rather than hand maintain config.h.cmake (which is already out of date), re-use the autogenerated config.h from autoheader.
* delete webpimg.c referencesMike Frysinger2015-04-111-1/+1
| | | | This code was purged w/libvpx recently.