summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Chinese (China) translationgdk-pixbuf-2-38Dz Chen2019-12-271-296/+308
|
* Post-release version bump to 2.38.3Emmanuele Bassi2019-09-081-1/+1
|
* build: Remove unnecessary argument2.38.2Emmanuele Bassi2019-09-081-1/+0
| | | | | | | | The configure_file() function will automatically install the generated file if the `install_dir` argument is set; there's no need for an `install: true` argument. In fact, Meson versions prior to 0.50 will ignore the argument, and Meson versions after 0.50 will warn, if the required version of Meson is < 0.50.
* gif: Suppress last deprecation warningEmmanuele Bassi2019-09-081-0/+2
|
* tests: Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-082-0/+2
|
* gif: Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-082-1/+10
|
* gdip: Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-081-0/+9
|
* ani: Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-082-1/+10
|
* Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-082-0/+5
| | | | | Common GdkPixbufAnimation implementations need to avoid warnings caused by the recent deprecation of GTimeVal in GLib 2.62.
* Use the monotonic clock instead of wall oneEmmanuele Bassi2019-09-081-12/+6
| | | | | | We're measuring time deltas; the monotonic clock provides a better resolution, and we don't have to care about things like microsecond wrap-around or the clock going backwards mid-measurement.
* Disable deprecation warnings for GTimeValEmmanuele Bassi2019-09-082-0/+10
| | | | | | | | | | | GLib 2.62 deprecated GTimeVal and GTime because they are not Y2038-safe. Since we expose these types in our public API, we need to disable warnings to avoid projects breaking horribly just by importing gdk-pixbuf.h. Sadly, GdkPixbufAnimation public types not only require GTimeVal in virtual function signatures for loaders, but they also do not have any room left in the class vtable for adding int64 variants.
* tests: Add test image for invalid XPM dataBastien Nocera2019-03-012-0/+68
|
* xpm: Fail when XPM file doesn't contain enough dataBastien Nocera2019-03-011-2/+8
| | | | | Fail hard when the XPM file's advertised width or height does not match the data contained within the file.
* xpm: Simplify error pathBastien Nocera2019-03-011-9/+11
|
* xpm: Sanity check XPM file dimensionsBastien Nocera2019-03-011-0/+9
| | | | In the same way that libXpm sanity checks it.
* tests: Add test for issue 95Bastien Nocera2019-03-011-0/+34
| | | | A laaaarge XPM file.
* Merge branch 'gnome-2-38' into gdk-pixbuf-2-38Emmanuele Bassi2019-03-01238-617/+2180
|\ | | | | | | | | | | | | | | The gnome-2-38 branch was a mistake, but I did the 2.38.1 release out of it, so we need to keep it around. Because translators already started using the gdk-pixbuf-2-38 branch, we should merge everything we have here.
| * Post-release version bump to 2.38.2gnome-2-38Emmanuele Bassi2019-02-281-1/+1
| |
| * Release GdkPixbuf 2.38.12.38.1Emmanuele Bassi2019-02-281-1/+1
| |
| * build: Use idiomatic pkg-config generationEmmanuele Bassi2019-02-281-3/+1
| | | | | | | | | | | | We're still using the deprecated form of passing gdk-pixbuf as a library named argument, instead of the idiomatic positional argument, which lets Meson figure out all the needed dependencies.
| * Update NEWS for 2.38.1Emmanuele Bassi2019-02-281-0/+16
| |
| * Update Korean translationGwan-gyeong Mun2019-02-281-183/+187
| |
| * io-jasper.c: Validate jas_matrix_create resultIvan A. Melnikov2019-02-271-0/+8
| | | | | | | | | | | | | | jas_matrix_create can return NULL when memory allocation fails. Closes: #107
| * Merge branch 'wip/hadess/add-bug793470-test' into 'master'Bastien Nocera2019-02-271-0/+0
| |\ | | | | | | | | | | | | tests: Add test for a PNG crasher See merge request GNOME/gdk-pixbuf!36
| | * tests: Add test for a PNG crasherBastien Nocera2019-02-271-0/+0
| |/ | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=793470
| * Update Dutch translationNathan Follens2019-02-241-185/+188
| |
| * Update Icelandic translationSveinn í Felli2019-02-211-245/+301
| | | | | | | | (cherry picked from commit c40fd7bba6210aed0753f11e79dc8f03467dfb3f)
| * Merge branch 'gif-fixes' into 'master'Emmanuele Bassi2019-02-18229-57/+1587
| |\ | | | | | | | | | | | | Fix GIF decoding bugs See merge request GNOME/gdk-pixbuf!28
| | * gif: Simplify LZW clear code handlingRobert Ancell2019-01-161-18/+3
| | | | | | | | | | | | | | | | | | The existing code had a special state for handling codes after a clear code was received. This is more simply handled by using the 'lzw_oldcode' variable. This makes code that is less likely to introduce errors.
| | * gif: Add "Circular table entry" failing GIF image test caseRobert Ancell2019-01-163-0/+25
| | | | | | | | | | | | An example image that generates the "Circular table entry in GIF file" error.
| | * gif: Fix clear code handling when at end of a blockRobert Ancell2019-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following was occurring: 1. A clear code is detected in the LZW stream. 2. The decoder enters a clear code handling state. 3. The decoder looks for the next code after the clear. 4. The decoder has run out of blocks, so enters a state to get new blocks The issue is in step 4 the decoder has assumed the clear state is complete, when it is not. The solution is to only complete the clear state once a non clear code is read. This caused the "Circular table entry in GIF file" error for some GIFs. Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/27 Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/69
| | * gif: Fix multiple LZW clear codes breaking decodingRobert Ancell2019-01-162-41/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following was occurring: 1. A clear code is detected in the LZW stream 2. The first code is detected as a clear. 3. The following code is returned as a color index, this breaks if it is a clear. There were two codepaths in use, one for handling the first clear in the LZW sequence and another for handling clears within the sequence. The former handled sequential clears correctly, the latter did not. The solution is to the correct codepath and remove the other one. This simplification should not affect other decoding (as confirmed by the test suite).
| | * gif: Fix off by one error in LZW decoderRobert Ancell2019-01-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following was occurring: 1. Code words would be read from the LZW data blocks. 2. If there was exactly enough space for one more codeword in the block, more blocks were read. This is the off by one error. It should have read the last code before doing this. 3. If the next block was the terminating block the code would be marked as complete. 4. Another block would be attempted to be read, because the decoder was still in the same state as step 2. 5. An error was generated because the decoder was trying to read blocks after it had determined the stream had ended. This fixes the GIF decoder failing to decode images without an end-of-information code.
| | * tests: Add comprehensive GIF test suiteRobert Ancell2019-01-16226-0/+1558
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests that exert many different types of GIF files. Some of the tests are disabled as the current gdk-pixbuf GIF implementation doesn't handle them correctly. Future commits will fix these issues and enable the tests. The test suite is generated in the PyGIF project (https://github.com/robert-ancell/pygif)
| * | Update Kazakh translationBaurzhan Muftakhidinov2019-02-171-187/+190
| | |
| * | ci: install mingw gtk-docChristoph Reiter2019-02-011-1/+2
| | | | | | | | | | | | This should pull in all the xslt/docbook deps we might need
* | | Update Icelandic translationSveinn í Felli2019-02-211-245/+301
|/ /
* | Update Galician translationFran Dieguez2019-01-281-243/+193
|/
* Update Greek translationEfstathios Iosifidis2018-12-241-240/+188
|
* Merge branch 'wip/rishi/unbreak-thumbnailing-gifs' into 'master'Bastien Nocera2018-12-141-0/+8
|\ | | | | | | | | thumbnailer: Unbreak thumbnailing of GIFs See merge request GNOME/gdk-pixbuf!32
| * thumbnailer: Unbreak thumbnailing of GIFsDebarshi Ray2018-12-141-0/+8
|/ | | | | | | | | | | | | | The GIF codec throws GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION if it's closed without decoding all the frames. The thumbnailer has always, both now with gdk_pixbuf_new_from_file_at_scale and earlier, decoded only the first animation frame, which is why this specific error needs to be ignored [1]. Fixes: dd1f222f78eed2b7d70a5e8507199c78e3f9e12b [1] https://gitlab.gnome.org/GNOME/gnome-desktop/commit/f9b2c480e38d https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/99
* Merge branch 'ci-msys2' into 'master'Bastien Nocera2018-12-117-18/+130
|\ | | | | | | | | ci: add a msys2 mingw64 job See merge request GNOME/gdk-pixbuf!29
| * ci: add a msys2 mingw64 jobChristoph Reiter2018-12-112-1/+52
| |
| * tests: Don't depend on mime type detection without GDK_PIXBUF_USE_GIO_MIMEChristoph Reiter2018-12-114-16/+54
| | | | | | | | | | | | | | When building without GDK_PIXBUF_USE_GIO_MIME detect the format based on the fill extension and not the mime type. This makes these tests pass on Windows.
| * tests/pixbuf-reftest: Work around broken symlinks on WindowsChristoph Reiter2018-12-111-0/+22
| | | | | | | | | | | | | | | | When cloning the repo with git on Windows the symlinks end up being normal files which contain the target path as text. Make this kinda work by detecting if the files contain ascii only and then treating the content as a filename in the parent directory.
| * tests/pixbuf-threads: use g_fopen instead of fopen and force binary modeChristoph Reiter2018-12-111-1/+2
|/ | | | | | | So we use the right path encoding on Windows and don't interpret the content as text. This makes the pixbuf-threads run on Windows.
* Merge branch 'gif-unused-variable' into 'master'Bastien Nocera2018-12-111-2/+0
|\ | | | | | | | | gif: Remove unused variable See merge request GNOME/gdk-pixbuf!30
| * gif: Remove unused variableRobert Ancell2018-12-071-2/+0
|/
* Merge branch 'issue-89' into 'master'Emmanuele Bassi2018-12-041-0/+4
|\ | | | | | | | | | | | | Add pkgconfig variables for binary utilities Closes #89 See merge request GNOME/gdk-pixbuf!12
| * Add variables for binary utilitiesEmmanuele Bassi2018-09-051-0/+4
| | | | | | | | | | | | | | It is useful for finding the correct path for the utilities, as it does not rely on PATH being set appropriately. Closes #89