summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.36.82.36.8Matthias Clasen2017-08-073-2/+12
|
* Updated Spanish translationDaniel Mustieles2017-08-051-35/+38
|
* Move all aux scripts to their own directoryEmmanuele Bassi2017-08-039-8/+9
| | | | This makes it easier to find them and reference them.
* tests: Add some assertions to check for zero-dimensioned imagesPhilip Withnall2017-08-031-10/+21
| | | | | | | | | | | This could happen if something in the test fails, so this allows early diagnosis of problems. It also hints to Coverity that the loops which follow can’t run (almost) infinitely due to the loop bounds being inverted. Coverity IDs: 1391987, 1399712 https://bugzilla.gnome.org/show_bug.cgi?id=778943
* io-ico: Add an assertion to clarify buffer managementPhilip Withnall2017-08-031-0/+3
| | | | | | | | | | | The code is correct (the line buffer is set when DecodeHeader() returns successfully with a non-zero-length line), but that’s not at all obvious from the code, and is tripping Coverity up. Add an assertion to make it clearer. Coverity ID: 1400057 https://bugzilla.gnome.org/show_bug.cgi?id=778943
* Add Meson files to Autotools buildEmmanuele Bassi2017-08-021-0/+16
| | | | So we can dist from Autotools, and build with Meson from the tarball.
* meson: Support installed testsEmmanuele Bassi2017-08-024-2/+72
| | | | | We want to be able to run the gdk-pixbuf tests after installing them in a known system location, especially when running CI.
* meson: Build pixbuf thumbnailerEmmanuele Bassi2017-08-023-0/+79
| | | | | We need to go through an intermediate script in order to generate the thumbnailer's desktop file.
* meson: Install enum types header in the right placeEmmanuele Bassi2017-08-021-1/+2
|
* meson: Build gdk-pixbuf-xlibEmmanuele Bassi2017-08-023-0/+53
| | | | Contributed library.
* meson: Generate documentationEmmanuele Bassi2017-08-023-3/+90
| | | | Both API reference and man pages.
* meson: Generate introspection dataEmmanuele Bassi2017-08-022-7/+35
| | | | | | | Just like the Autotools build does. We also provide a simple escape hatch for platforms where building introspection data is too complicated at the moment.
* meson: Use the appropriate name for the shared libraryEmmanuele Bassi2017-08-021-1/+1
| | | | | The name is `gdk_pixbuf-2.0`, not `gdk-pixbuf-2.0`, I guess for historical reasons.
* meson: Add gdk-pixbuf-macros.h to the installed headersEmmanuele Bassi2017-08-021-3/+4
| | | | It was lost in the port.
* Build gdk-pixbuf-marshal.cEmmanuele Bassi2017-08-011-1/+2
| | | | | | Commit 591f959adb0d1f85a869dfc14b9b21a0de8417eb moved to including the header, instead of including the source. This means that we need to build the source, in order to get the marshallers.
* Put back the round and lrint checksEmmanuele Bassi2017-08-011-0/+3
| | | | | | | | | We depend on C99 functions in the math library; if the math library is not found, or if it's not C99-compliant, we have fallbacks in place. Commit 68da550e817b1269d1ccfdeeec2a53ddbd7b920a removed the checks, and we ended up compiling the fallbacks even when the C library provided these symbols — leading to a build error caught by Continuous.
* Initial implementation of a Meson buildEmmanuele Bassi2017-08-017-0/+635
| | | | | | | | | | | | | | Meson is a better build system than Autotools that has gotten traction in the GNOME community. The build is pretty much equivalent between Autotools and Meson, but at this point it needs further testing to verify complete matching behaviour. The GDI-plus loaders are not currently built, as that will require access to a platform I don't have in order to test them. Additionally, the API reference is not being generated yet in Meson.
* Remove uninstalled pkg-config fileEmmanuele Bassi2017-08-012-12/+0
| | | | | | The uninstalled pkg-config file is generally considered pointless; building multiple modules should not look into source directories of the dependencies, but use a separate installation prefix.
* tests: Unlink temporary filesEmmanuele Bassi2017-08-011-0/+5
| | | | Don't leave files behind.
* Include the generated marshallers headerEmmanuele Bassi2017-08-011-1/+1
| | | | | Do not include the source, otherwise we're going to compile symbols twice.
* build: Fix typo in config.h commentBastien Nocera2017-08-011-1/+1
|
* build: Require shared-mime-info on non-WindowsBastien Nocera2017-08-011-54/+4
| | | | | Windows will not be using GIO to do mime-sniffing, but it's a requirement on other platforms.
* build: Check for libtiff using pkg-configBastien Nocera2017-08-011-15/+5
|
* build: Remove NeXTStep dirent.h special casingBastien Nocera2017-08-011-12/+0
|
* build: Remove HP-UX library linking special casingBastien Nocera2017-08-011-14/+0
|
* build: Remove BeOS special case for libmBastien Nocera2017-08-011-19/+4
| | | | | Use AC_CHECK_LIBM to check for the math library. This should also cover BeOS if necessary.
* build: Remove specific Digital Unix 4/Tru64 supportBastien Nocera2017-08-011-24/+0
|
* Update Hungarian translationBalázs Meskó2017-08-011-96/+110
|
* Update Swedish translationAnders Jonsson2017-07-311-95/+109
|
* Updated Czech translationMarek Cernocky2017-07-301-33/+37
|
* tests: Fix EXIF comment test in dist tarballsMart Raudsepp2017-07-281-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=780667
* tests: Add test for rowstride overflowTobias Mueller2017-07-281-0/+0
| | | | | | File created using afl. https://bugzilla.gnome.org/show_bug.cgi?id=777315
* bmp: Avoid allocating large buffers when not neededBastien Nocera2017-07-281-13/+15
| | | | | | | | | Avoid allocating nearly 6 gigs of data when parsing the CVE-2015-4491 test only to free it when we've calculated that the rowstride * height would overflow by calculating the rowstride before doing the allocation, using the new gdk_pixbuf_calculate_rowstride() helper. https://bugzilla.gnome.org/show_bug.cgi?id=765094
* gdk-pixbuf: Add gdk_pixbuf_calculate_rowstride()Bastien Nocera2017-07-283-14/+54
| | | | | | To calculate the rowstride without allocating memory! https://bugzilla.gnome.org/show_bug.cgi?id=765094
* Updated Slovenian translationMatej Urbančič2017-07-281-52/+56
|
* Update German translationMario Blättermann2017-07-271-207/+39
|
* Update Polish translationPiotr Drąg2017-07-271-38/+42
|
* tests: Add truncated (and broken) ICO fileBastien Nocera2017-07-271-0/+0
| | | | | | The loader should return an error in that case. https://bugzilla.gnome.org/show_bug.cgi?id=778204
* ico: Return an error when the ICO didn't loadBastien Nocera2017-07-271-1/+10
| | | | | | | | If we don't even read enough data to fill the header, return an error. This doesn't cover everything that could go wrong with the ICO incremental loader, but this is a good first throw. https://bugzilla.gnome.org/show_bug.cgi?id=778204
* thumbnailer: Update skeleton to fix a possible crashBastien Nocera2017-07-271-2/+12
| | | | | | | | If the loader returns a NULL pixbuf without returning an error, the skeleton would crash trying to print the error. Print that the thumbnailer is broken instead. https://bugzilla.gnome.org/show_bug.cgi?id=778204
* io: Fix GError leak in gdk_pixbuf_new_from_stream()Robert Ancell2017-07-271-19/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=783538
* gdk-pixbuf: Tighten rowstride overflow checkBastien Nocera2017-07-271-2/+2
| | | | | | | | | The rowstride is stored as an int, and is an int in the public API. Making it an unsigned int for those calculations would increase the limit, which would obviously cause problems when the calculated value ends up between G_MAXUINT and G_MAXINT in the positives. https://bugzilla.gnome.org/show_bug.cgi?id=765094
* tests: Fix unused variable in CVE-2015-4491 testBastien Nocera2017-07-271-0/+1
|
* tests: Add grayscale JPEG testsBastien Nocera2017-07-272-0/+0
| | | | | | | Originally from the JPEG conformance tests: http://people.sc.fsu.edu/~jburkardt/data/jpg/jpg.html https://bugzilla.gnome.org/show_bug.cgi?id=785171
* jpeg: Restore grayscale image supportA. Bosch2017-07-271-0/+3
| | | | | | | | | | Commit c2a40a92fe3df4111ed9da51fe3368c079b86926 restricts the jpeg loader to files with 3 or 4 color components. Also allow JCS_GRAYSCALE images with only 1 color component. These grayscale images are supported through explode_gray_into_buf. https://bugzilla.gnome.org/show_bug.cgi?id=785171
* Update Kazakh translationBaurzhan Muftakhidinov2017-07-271-160/+178
|
* tests: Fix CVE-2015-4491 testBastien Nocera2017-07-261-6/+2
| | | | | | The sanity checks for image dimensions have since been tightened in commit 4154d4f and we should not be able to open this huge image anymore as the dimensions exceed what's possible.
* bmp: Tighten image dimension checksBastien Nocera2017-07-261-1/+4
| | | | | | | The rowstride *could* be negative if the pixbuf is invalid. Check that it is valid before using it to sanity check the image's dimensions. See https://bugzilla.gnome.org/show_bug.cgi?id=776694
* tests: Add test case for ICO quality sorting bugBastien Nocera2017-07-262-0/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=785447
* ico: Fix icon quality sortingBastien Nocera2017-07-261-2/+2
| | | | | | | Despite the inherited comment, commit 99508c7 sorted the icons by increasing instead of decreasing quality. https://bugzilla.gnome.org/show_bug.cgi?id=785447