Commit Graph

3898 Commits

Author SHA1 Message Date
a12cb58b7c plug-ins: create the web-page image using webkit_web_view_get_snapshot()
instead of getting a snapshot from GtkOffscreenWindow, I guess there
is too much threading involved now to properly wait for the rendering
of the page, so use the WebKit API instead.
2018-06-26 20:46:37 +02:00
d37f352825 plug-ins: port web-page to WebKitGTK+ 2
This is the minimum set of changes needed to make the web-page plug-in
buildable again using WebKitGTK+ 2.x. Tested as building with WebKitGTK+
version 2.20.3, but unfortunately I cannot test the plug-in as GIMP will
produce an error when trying to use it.
2018-06-25 23:54:56 +00:00
80997a8646 Remove most GTK_ADJUSTMENT() and (GtkAdjutment *) casts
they are obsolete in GTK+ 3.x because GtkAdjustment cannot be passed
around as GtkObject any longer, GtkObject is gone.
2018-06-24 18:15:16 +02:00
a58fe8963a Issue #1678 - CWE-120 - Don't use strcpy()
Use strncpy() instead.
2018-06-19 15:37:54 +02:00
fe648c87bd libgimp: remove gimp_gamma() 2018-06-18 03:06:34 +02:00
8feb51954b Fix encoding. The world should be utf-8. 2018-06-15 17:34:59 +00:00
541f730f44 plug-ins: use g_fopen(filename, "w+b")...
...because g_fopen(filename, "wb+") fails on Windows.
2018-06-15 11:00:35 +02:00
4117c98655 plug-ins: add busy-dialog plug-in in plugin-defs.pl.
Introduced in commit 032e95fad6, Makefile.am was apparently directly
edited instead of plugin-defs.pl. This also fixes a typo:
s/bust-dialog/busy-dialog/
2018-06-14 03:21:42 +02:00
2713bc4285 plug-ins: fix individual install targets of common plug-ins.
The "rule from hell", dixit Mitch. :-)
2018-06-14 03:21:42 +02:00
db08271d16 Issue #1634 - PNG image opens as a blank one in GIMP
Set the libpng error_fn to NULL *after* png_read_end() not before.
png_read_end() can throw errors and we recover what's partially loaded
from an image in the error handler.
2018-06-13 19:06:27 +02:00
625aa514f6 plug-ins: pack the file-heif load dialog's icon view cells manually
There is something broken in the obscure "text_column" and
"pixbuf_column" code in GtkIconView, and I don't have the nerve to
debug it.

Enable opening an image on activation (double click).
2018-06-12 18:30:44 +02:00
76b83bebbf plug-ins: put file-heif's icon view into a scrolled window
(cherry picked from commit 6125d225ac)
2018-06-12 13:36:31 +02:00
683f76b1a3 plug-ins: don't use the deprecated gtk_hscale_new_with_range() 2018-06-12 13:14:30 +02:00
afd4045866 plug-ins: undeprecate file-heif but only as much as can be merged to 2.10 2018-06-12 13:12:16 +02:00
1dee517bc9 Issue #1627 - Non-existing item ID error when loading multiple-image HEIFs
Accidentially killed a line when importing the plug-in.
2018-06-12 12:55:30 +02:00
Ell
032e95fad6 plug-ins: add busy-dialog plug-in
This plug-in is used internally to show an interactive dialog in a
separate process, while the main process is blocking waiting for an
operation to complete.  The dialog shows a custom message in a
GimpBusyBox, and potentially a "cancel" button, allowing the
operation to be canceled.  Communication with the main process is
performed through a pair of file descriptors, passed to the plug-in
as arguments.
2018-05-29 16:04:28 -04:00
d89ad95cc7 plug-ins: make plug-ins inside common/ to also install in subfolders. 2018-05-20 21:06:35 +02:00
7d64cf62c6 libgimpwidgets: rename the _grid()-Variants of gimp_scale_entry_*
Adjust all plugins to follow accordingly.

This concludes the GtkTable'ocide.
2018-05-20 21:06:35 +02:00
6f7a9ad212 jigsaw: kill GtkTable 2018-05-20 21:06:35 +02:00
c7f28c34b0 oilify: kill GtkTable 2018-05-20 21:06:35 +02:00
a109e1e9ae unit-editor: kill GtkTable 2018-05-20 21:06:35 +02:00
ae0d527b0c van-gogh-lic: kill GtkTable 2018-05-20 21:06:35 +02:00
b9aeb99055 sparkle: kill GtkTable 2018-05-20 21:06:35 +02:00
483167217a file-gih: kill GtkTable 2018-05-20 21:06:34 +02:00
a076afc2fb file-raw-data: kill GtkTable 2018-05-20 21:06:34 +02:00
95c44c4e09 file-xmc: kill GtkTable 2018-05-20 21:06:34 +02:00
675b01479c file-pdf-load: kill GtkTable 2018-05-20 21:06:34 +02:00
4558ce8a25 file-xbm: kill GtkTable 2018-05-20 21:06:34 +02:00
720d0a7484 file-html-table: kill GtkTable 2018-05-20 21:06:34 +02:00
e1bed57ee7 depth-merge: kill GtkTable 2018-05-20 21:06:34 +02:00
b7f24cf3a2 plug-ins: copy gimp_spin_button_new() into the last two plug-ins using it 2018-05-20 21:06:34 +02:00
71dec60d8c align-layers: kill GtkTable 2018-05-20 21:06:34 +02:00
3e45263bc7 mail: kill GtkTable 2018-05-20 21:06:34 +02:00
201e7f8f8d grid: make the weird Table-hack less weird by reusing the existing GtkGrid 2018-05-20 21:06:34 +02:00
d2fe742eb3 warp, file-svg: remove commented out code, not sure what this is supposed to do. 2018-05-20 21:06:34 +02:00
bdbec7941c Use the new macros from the last commit in all files
...and gone are the annoying warnings.
2018-05-20 21:06:34 +02:00
dfb4d26611 Use gtk_show_uri_on_window(), gtk_show_uri() is deprecated 2018-05-20 21:06:34 +02:00
1ca26ea191 sample-colorize: kill GtkTable 2018-05-20 21:06:34 +02:00
b392140b71 tile-small: kill GtkTable 2018-05-20 21:06:34 +02:00
62b4922211 file-ps: kill GtkTable 2018-05-20 21:06:34 +02:00
3c886803bc file-wmf: kill GtkTable 2018-05-20 21:06:34 +02:00
8e02fe4253 file-svg: kill GtkTable 2018-05-20 21:06:34 +02:00
82ae39f7e4 newprint: kill GtkTable 2018-05-20 21:06:34 +02:00
e3d9f1732e film: kill GtkTable 2018-05-20 21:06:34 +02:00
1d8696cd80 Get rid of gdk_flush() globally, use gdk_display_flush() 2018-05-20 21:06:34 +02:00
3af30c6d75 file-png: attempt to fix the glade file for file-png 2018-05-20 21:06:33 +02:00
def4acc842 common: kill GtkTable in a ton of plugins 2018-05-20 21:06:33 +02:00
e35df2f5ce oops - old table use of a GimpSizeEntry 2018-05-20 21:06:33 +02:00
96e5edb8fa sphere-designer: kill GtkTable 2018-05-20 21:06:33 +02:00
5fb0663c9f warp: kill GtkTable 2018-05-20 21:06:33 +02:00