summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support PNG images within ICO fileswip/jbrummer/png-in-icoJan-Michael Brummer2021-01-042-18/+99
| | | | | | | Updated patch from Pat Suwalski which introduces PNG loader into ICO loader. This also resolves Epiphany issue: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1366 Fixes: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/16
* Merge branch 'macos-ci' into 'master'Emmanuele Bassi2021-01-045-2/+35
|\ | | | | | | | | Macos ci See merge request GNOME/gdk-pixbuf!98
| * ci: Limit macOS buildsEmmanuele Bassi2021-01-041-0/+3
| | | | | | | | Only build on macOS for merge requests and the main development branch.
| * Minimise bandwidth use for subprojectsEmmanuele Bassi2021-01-041-0/+1
| | | | | | | | Use `depth=1` to reduce the size of the clone when using subprojects.
| * Pass glib-compile-resources's path to gen-resources.pyEmmanuele Bassi2021-01-042-46/+43
| | | | | | | | | | | | Since the gen-resources.py needs to call glib-compile-resources, we need to figure out where the binary is, and tell gen-resources.py to use that, instead of relying on it being in the PATH.
| * Deal with glib-compile-resources not in the PATHEmmanuele Bassi2021-01-041-1/+8
| | | | | | | | | | The gen-resources.py script must be aware of the location of glib-compile-resources, in case it's not in the PATH.
| * Skip resource tests with glib subprojectmacos-ciMatthias Clasen2021-01-031-38/+46
| | | | | | | | It doesn't work.
| * Don't build docs or installed tests on MacOSMatthias Clasen2021-01-031-1/+1
| |
| * Try to fix libffi buildMatthias Clasen2021-01-031-1/+1
| |
| * ci: Add a macos buildMatthias Clasen2021-01-031-0/+17
|/
* Merge branch 'gir' into 'master'Emmanuele Bassi2021-01-022-7/+7
|\ | | | | | | | | | | | | Include pixbuf loader API in the gir file Closes #167 See merge request GNOME/gdk-pixbuf!97
| * animation: silence gtk doc warningsPaolo Borelli2021-01-021-7/+6
| |
| * Include pixbuf loader API in the gir filePaolo Borelli2021-01-021-0/+1
|/
* Update German translationPhilipp Kiemle2020-12-271-232/+226
|
* Update Catalan translationJordi Mas i Hernandez2020-12-221-236/+227
|
* Update Friulian translationFabio Tomat2020-12-181-83/+89
|
* Merge branch 'wip/run-gif-tests-again' into 'master'Simon McVittie2020-12-142-39/+38
|\ | | | | | | | | Run GIF tests again, and fix regression for short reads See merge request GNOME/gdk-pixbuf!95
| * tests: Don't check whether bmp and gif loaders are enabledwip/run-gif-tests-againSimon McVittie2020-12-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This is conceptually similar to commit 2fd7d21f "tests: Fix GIF tests being permanently disabled". One way or another, gdk-pixbuf always supports these two formats: on Windows with the native gdiplus loader enabled, it covers these two formats; otherwise, format-specific loaders are used. This means we will run the GIF tests, as intended. Fixes: 7f0b214a "tests: Conditionally build and run tests" Signed-off-by: Simon McVittie <smcv@debian.org>
| * gif: Do all of gif_init() with a single readSimon McVittie2020-12-121-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As documented in the introductory comment, the interface of the various functions in the GIF loader is that they read all the bytes they need, or return -1 if not enough are available. Since commit 5212d69f "gif: Replace old buffer management code with GByteArray", the incremental loader strictly depends on that assumption. Unfortunately, gif_init() didn't conform to that interface. If there were enough bytes available for the GIF signature (GIF87a or GIF89a) but not enough bytes for the screen descriptor, it would return -1 having already consumed the first 6 bytes of the stream. A subsequent retry with more data available would start from the beginning of the screen descriptor, and immediately raise an error because the screen descriptor is extremely unlikely to start with another copy of the "GIF8" magic number. The regression test tests/pixbuf-short-gif-write.c would have detected this, but was accidentally disabled by commit 7f0b214a "tests: Conditionally build and run tests". This seems most easily fixed by reading the whole of the 13-byte fixed-length header in one go. Adjust the offsets into the buffer used to parse the screen descriptor accordingly. Signed-off-by: Simon McVittie <smcv@debian.org>
| * build: Do not install .test files when test is skippedwip/jtojnar/no-install-skipped-testJan Tojnar2020-12-081-22/+23
| | | | | | | | | | | | | | | | The skipping prevented the executable from being installed but not the .test file that referenced it. This caused installed tests to fail: Running test: gdk-pixbuf/pixbuf-pixdata.test Caught exception during testing: Failed to execute child process ?/nix/store/kqmj2776mw24qxyswfbqlmybpws4g4yn-gdk-pixbuf-2.42.0-installedTests/libexec/installed-tests/gdk-pixbuf/pixbuf-pixdata? (No such file or directory)
* | Update Romanian translationFlorentina Mușat2020-12-121-232/+223
| |
* | Merge branch 'wip/test-common-leaks' into 'master'Emmanuele Bassi2020-12-121-1/+3
|\ \ | |/ |/| | | | | tests: Fix some memory leaks See merge request GNOME/gdk-pixbuf!96
| * tests: Fix some memory leaksSimon McVittie2020-12-121-1/+3
|/ | | | | | | | | This is enough to make many of the tests pass under gcc's AddressSanitizer. pixbuf-randomly-modified still fails when it cannot allocate more memory, and pixbuf-fail fails with memory allocation errors unless run with ASAN_OPTIONS=allocator_may_return_null=1. Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'enum-thread-safe' into 'master'Emmanuele Bassi2020-12-071-4/+6
|\ | | | | | | | | Make enum GType registration thread safe See merge request GNOME/gdk-pixbuf!93
| * Make enum GType registration thread safeEmmanuele Bassi2020-12-071-4/+6
| | | | | | | | | | Use g_once_init_enter/leave to ensure that enumeration types can be registered across threads.
* | Post-release version bump to 2.42.3Emmanuele Bassi2020-12-071-1/+1
| |
* | Release GdkPixbuf 2.42.2 (stable)2.42.2Emmanuele Bassi2020-12-072-1/+10
|/
* Merge branch 'lzw-loop' into 'master'Emmanuele Bassi2020-12-072-6/+7
|\ | | | | | | | | | | | | gif: Fix LZW decoder accepting invalid LZW code. Closes #164 See merge request GNOME/gdk-pixbuf!92
| * gif: Fix LZW decoder accepting invalid LZW code.Robert Ancell2020-12-082-6/+7
|/ | | | | | | | | The code value after a reset wasn't being validated, which means we would accept invalid codes. This could cause an infinite loop in the decoder. Fixes CVE-2020-29385 Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164
* Update Norwegian Bokmål translationKjartan Maraas2020-12-031-269/+249
| | | | (cherry picked from commit 9091fb987760b01e613f6691b38aef7b4387b5de)
* Updated Spanish translationDaniel Mustieles2020-12-021-235/+237
|
* Merge branch 'gif-invalid-background' into 'master'Emmanuele Bassi2020-11-293-17/+5
|\ | | | | | | | | | | | | gif: Fix GIF images without a Graphic Control Extension rendering colour 0 as the background. Closes #162 See merge request GNOME/gdk-pixbuf!91
| * tests: Fix GIF tests being permanently disabledRobert Ancell2020-11-241-1/+0
| | | | | | | | GIF support is always built in.
| * tests: Replace g_assert with g_assert_trueRobert Ancell2020-11-241-2/+2
| | | | | | | | The former can be disabled at build time.
| * tests: Fix checking of GIF frame delaysRobert Ancell2020-11-241-13/+1
| |
| * Fix GIF tests broken due to a typo.Robert Ancell2020-11-241-1/+1
| | | | | | | | Regression introduced in e3adcf0c86dbd56b01d0d55f29a95065cbd95eb8.
| * gif: Fix GIF images without a Graphic Control Extension rendering colour 0 ↵Robert Ancell2020-11-231-0/+1
| | | | | | | | | | | | | | | | as the background. This was a regression introduced in 5212d69f2362f9b68ccf9385277e5c4a744b2187. Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/162
* | Update Swedish translationAnders Jonsson2020-11-281-229/+223
| |
* | Updated Czech translationMarek Černocký2020-11-281-228/+165
|/
* Update Ukrainian translationYuri Chornoivan2020-11-101-273/+223
|
* Update Indonesian translationAndika Triwidada2020-11-101-1016/+955
|
* Merge branch 'static-analysis' into 'master'Emmanuele Bassi2020-11-104-282/+290
|\ | | | | | | | | Rough pass at making the static analysis tool happy See merge request GNOME/gdk-pixbuf!89
| * Add more options to the Clang formatterEmmanuele Bassi2020-11-101-2/+18
| | | | | | | | We especially want the indentation width to be 8 spaces, not 2.
| * io: Initialize variable before reading into itEmmanuele Bassi2020-11-101-5/+4
| | | | | | | | We must handle the error path, where the out argument isn't set.
| * xbm: Free data in error pathEmmanuele Bassi2020-11-101-4/+5
| |
| * png: Clean up PNG savingstatic-analysisEmmanuele Bassi2020-11-101-271/+263
|/ | | | | Iterate over the key/value arrays once, using GArray to store the text chunks after validating the keys.
* Merge branch 'ci-analysis' into 'master'Emmanuele Bassi2020-11-091-0/+32
|\ | | | | | | | | ci: Add analysis stage to the pipeline See merge request GNOME/gdk-pixbuf!88
| * ci: Add analysis stage to the pipelineEmmanuele Bassi2020-11-091-0/+32
|/ | | | Run a static analysis and an ASan jobs on the gdk-pixbuf code base.
* Merge branch 'ci-update' into 'master'Emmanuele Bassi2020-11-099-26/+531
|\ | | | | | | | | Ci update See merge request GNOME/gdk-pixbuf!87
| * ci: Add release-dist jobEmmanuele Bassi2020-11-091-1/+21
| | | | | | | | Use it to generate the release artefacts.