| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The path of a file may contain non-Unicode glyphs, as file names have
their own encoding.
|
| |
|
|
|
|
|
| |
Drop the gtk-doc SECTION markers, and move documentation to classes or
separate documents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the following build failure:
../gdk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_io_init':
../gdk-pixbuf/gdk-pixbuf-io.c:681:16: error: implicit declaration of function 'gdk_pixbuf_get_module_file'; did you mean '_gdk_pixbuf_get_module'? [-Werror=implicit-function-declaration]
681 | module_file = gdk_pixbuf_get_module_file ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| _gdk_pixbuf_get_module
Fixes:
- http://autobuild.buildroot.org/results/6cd54c497f5d19342ec94ece713547b887e4c02d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
|
|
| |
We must handle the error path, where the out argument isn't set.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libjasper is not really maintained any more, and has been dropped by
various Linux distributions over the years.
GdkPixbuf has not enabled the JPEG2000 loader by default in many years,
relying on downstream distributors to do so if they also shipped
libjasper. This means that it's unlikely anybody has relied on GdkPixbuf
to load a JPEG2000 image for the past 3 to 5 years, if at all.
The only other option for loading JPEG2000 images is to use OpenJPEG,
and for that there is an out of tree GdkPixbuf module available:
https://notabug.org/necklace/jp2-pixbuf-loader
Fixes: #152, #137
|
|
|
|
| |
This will let us avoid NULL checks in the individual modules.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The "run once" initialisation of pixbuf modules shipped with gdk-pixbuf
itself would be skipped if an application was successfully calling
gdk_pixbuf_init_modules() first, as this would set the internal list of
file_formats to be non-NULL, and skip any initialisation of those
modules.
This fix makes sure that pixbuf modules shipped with gdk-pixbuf are
always initialised, regardless of whether gdk_pixbuf_init_modules()
successfully initialised an application provided one.
Fixes: fd1376b799e411f983ab6faa00b066a8007ad9a1
|
|
|
|
|
|
|
|
| |
gdk_pixbuf_init_modules() should be used by applications which
want to have gdk-pixbuf loader modules install in a separate
path, usually in the application's library directory.
https://bugzilla.gnome.org/show_bug.cgi?id=786035
|
|
|
|
|
|
|
| |
This should allow applications to install gdk-pixbuf modules
in a separate directory from the system location.
https://bugzilla.gnome.org/show_bug.cgi?id=786035
|
|
|
|
|
|
|
| |
Separate the builtin loaders setup from the external loaders
initialisation from the loaders.cache file.
https://bugzilla.gnome.org/show_bug.cgi?id=786035
|
|
|
|
|
|
|
|
| |
If there are no built-in modules, the `builtin_module` variable is not
used, and the compiler will warn about it.
Since we're already using the variable inside a macro, we can just
declare it inside the macro block and save us the trouble altogether.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relocation works by recognizing paths in the loaders cache
which start with the built time prefix and extract the relative
path from that.
This leads to the following problem when updating the cache:
In case the package is build on another machine one has to
either match the build directory layout or adjust the
cache by hand for the resulting cache to stay relocatable.
This commonly occurs with msys2 where mostly pre-build packages
are used which are built on another machine and the cache gets
generated at install time. Another case is updating the cache
in a separate deployment environment.
This patch takes the package installation directory as a base
and writes relative paths into the cache when relocation
is enabled. When loading the cache a relative path is made
absolute by prepending the package base again.
https://bugzilla.gnome.org/show_bug.cgi?id=776081
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=767267
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=790584
|
|
|
|
|
|
|
|
|
|
| |
Add fixes for the various issues brought up in
https://bugzilla.gnome.org/show_bug.cgi?id=790584
* g_task_propagate_pointer() is transfer full
* GBytes get leaked
* always pass the stream as task source object to avoid criticals
* don't check the source object in finish()
|
|
|
|
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772216
|
| |
|
|
|
|
|
|
|
| |
The new GTK4 clipboard input streams don't like threads very much. So
don't use them.
https://bugzilla.gnome.org/show_bug.cgi?id=790584
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=783538
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=784583
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=784583
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refuse to save an invalid GdkPixbuf: one which has negative width,
height or number of channels.
This allows us to put assertions for all those properties in the I/O
code, which helps static analysis not go off on one because it thinks
the image width could be negative.
Coverity ID: 1388534
https://bugzilla.gnome.org/show_bug.cgi?id=777374
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=776457
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=776457
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=776105
|
|
|
|
|
|
|
|
|
|
|
| |
This won't stop pixdata-encoded data from being mmap'ed directly
from the binary when using GResource, but will stop external files from
being loaded, and thus block a possible attack vector.
This also adjusts the new pixdata tests to make sure that external
pixdata files fail to load.
https://bugzilla.gnome.org/show_bug.cgi?id=776004
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(and as a side effect make the gi bindings API compatible with
other platforms)
The compat code was added in
https://git.gnome.org/browse/gdk-pixbuf/commit/?id=141506eb46927eb10b74bc24727488bdbde1c7d4
to allow switching to utf-8 paths while keeping binary compatibility and to
make new programs link against the "_utf8" variants.
This results in two problems for gi bindings:
(1) g-ir-scanner can't find the annotations due to the renames and thus
gdk_pixbuf_savev() can't be used in bindings (the other functions happen to
work with default annotations)
(2) g-ir-scanner will write the renamed functions in the gir/typelib with
the "_utf8" suffix, making the resulting bindings API incompatible with other
platforms.
Some months ago
https://git.gnome.org/browse/gdk-pixbuf/commit/?id=6855a2d806b2305938abc04b0cb4fa383f8ccd3b
got rid of symbol files, breaking ABI and old binaries.
This patch removes the, now unused, codepage code and removes the renames so that
new code links against the real functions again. To not break recent binaries
add new functions with the _utf8 suffix which just call the main functions.
Annotations are copied as well to not break bindings API.
A similar change in glib was commited some years ago
https://git.gnome.org/browse/glib/commit/?id=8c42a663f8182f8281c083390aa761e8e9badc63
https://bugzilla.gnome.org/show_bug.cgi?id=773760
|
|
|
|
|
|
|
| |
This is useful when you want to set an option (e.g. icc-profile) that
might be supported by different formats, but not all of them.
https://bugzilla.gnome.org/show_bug.cgi?id=683371
|
|
|
|
|
| |
Threads have always been initializes, since 2011. Time
to drop this.
|
|
|
|
|
|
|
|
| |
This is useful when the set of options you want to use changes according
to specific conditions, and makes the stream-based API consistent with
the others.
https://bugzilla.gnome.org/show_bug.cgi?id=683063
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
a55aa6eb introduced gdk_pixbuf_get_toplevel(), which is called if
GDK_PIXBUF_RELOCATABLE but is only built if USE_GMODULE &&
GDK_PIXBUF_RELOCATABLE. This causes build failures on MinGW and Darwin
when configured with --disable-modules.
https://bugzilla.gnome.org/show_bug.cgi?id=740912
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=648815
|
|
|
|
|
|
| |
This reverts commit 112eab418137df2d2f5f97e75fb48f17e7f771e7.
See https://bugzilla.gnome.org/show_bug.cgi?id=670372
|
|
|
|
|
|
|
| |
The existing check was missing the length of the string so instead of reading
the end of the string it read the memory before it.
https://bugzilla.gnome.org/show_bug.cgi?id=733413
|
|
|
|
|
|
|
|
| |
Give priority to the modules using the open source libraries
instead of gdip as GDI+ is known to be buggy, and not so well integrated
into gdk-pixbuf.
https://bugzilla.gnome.org/show_bug.cgi?id=739077
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While working on a GTK+ 3 port of Hildon, I'm upstreaming some patches
from Maemo's repositories. This one is repurposed from:
http://maemo.gitorious.org/hildon/gtk/commit/005de8d5
From: Christian Dywan <christian@lanedo.com>
Date: Wed, 20 Jan 2010 11:22:29 +0100
Subject: [PATCH] Fixes: NB#116221 - Sharing TIF image with Size Option
Large makes the image much larger than the original one when shared
to OVI or Flickr.
This patch combined other bits which were removed, and the code was
modified a little.
https://bugzilla.gnome.org/show_bug.cgi?id=578876
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737523
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737523
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=466372
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=701622
|
|
|
|
|
|
|
| |
Annotate var-args gdk_pixbuf_save*() functions as aliases for save*v()
so that the functions shadow the var-arg variants.
https://bugzilla.gnome.org/show_bug.cgi?id=670372
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=712599
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=730161
|
|
|
|
|
|
|
| |
The case where preserve_aspect_ratio is TRUE and both the width
and height are given wasn't explicitely documented.
https://bugzilla.gnome.org/show_bug.cgi?id=727848
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=728357
|
| |
|