Commit Graph

43533 Commits

Author SHA1 Message Date
Ell
ccd5ce6cce app: add "show all" support to the Bucket Fill tool in line-art mode
In the Bucket Fill tool, when using line-art mode, use a
GimpImageProxy as input for the GimpLineArt object, instead of
using the image direclty, when the line-art source is "all visible
layers".  Set the proxy's show-all mode according to the active
shell, so that the line-art uses the full image projection,
including out-of-canvas regions, when in show-all mode.

(cherry picked from commit 43a1c33ecf)
2019-11-04 13:33:47 +02:00
Ell
e79d852d3a app: (re-)add GimpDisplayShell::show-all property
... which corresponds to the shell's show-all mode.  We'll listen
to its "notify" signal in the bucket-fill tool.

(cherry picked from commit 02654b0ac0)
2019-11-04 13:33:47 +02:00
Ell
6349453ad3 app: in GimpLineArt, ref input pickable
... in particular, so that the GimpLineArt object can take
ownership over newly-created GimpImageProxy inputs.

(cherry picked from commit c8b5c81a41)
2019-11-04 13:33:47 +02:00
Ell
c5ff92d71d app: in GimpLineArt, add support for arbitrary buffer extents
In GimpLineArt, add support for arbitrary input-buffer extents,
by shifting/unshifting the input/output buffers before/after
passing them to the main algorithm, so that the algorithm keeps
working with buffers whose top-left corner is at (0, 0).

(cherry picked from commit bce96eb690)
2019-11-04 13:33:47 +02:00
Ell
174f1ea622 app: in GimpImageProxy, implement GimpPickable
In GimpImageProxy, implement the GimpPickable interface, so that
the proxy can be used as both a viewable and a pickable for the
image projection, with direct control over the show-all mode.  This
will allow us to use a GimpImageProxy as input for a GimpLineArt.

(cherry picked from commit 0e02795128)
2019-11-04 13:33:47 +02:00
Ell
d1324ad802 app: rename GimpImageViewable to GimpImageProxy
We're going to have GimpImageProxy implement GimpPickable, so that
it can be used as either a viewable or a pickable proxy for an
image.

(cherry picked from commit 8d8cc12f40)
2019-11-04 13:33:47 +02:00
Ell
defe920d43 app: rename gimpimageviewable.[ch] to gimpimageproxy.[ch]
... in preparation for actually renaming the class, but as a
separate step to keep the history.

(cherry picked from commit 0ddd3330b8)
2019-11-04 13:33:47 +02:00
Ell
e2fe79d859 app: add gimp_image_get_preview_format()
Add an internal gimp_image_get_preview_format(), which returns the
format to use for preview buffers, and use it in both
gimpimage-preview and GimpImageViewable, to reduce duplication.

(cherry picked from commit 74009c8b1e)
2019-11-04 13:33:47 +02:00
c020f8791c Update Japanese translation 2019-11-03 14:35:21 +00:00
15a1a8c695 Update Japanese translation 2019-11-03 14:22:18 +00:00
Ell
ef17d1a5e5 Issue #4172 - Gimp doesn't store negative values between sessions (Text Tool)
In gimp_config_deserialize_fundamental(), cast integer token values
to the target value type *before* negating them, to avoid
performing unsigned negation, which can result in a positive value
when cast to the target value type (in particular, when the target
value type is float/double).

(cherry picked from commit 38fff3b6b3)
2019-11-03 13:42:10 +02:00
639ac3fb9d Update Turkish translation 2019-11-03 02:03:10 +00:00
2150e37dcd Update Turkish translation 2019-11-03 01:57:33 +00:00
4f9718d311 Update Turkish translation 2019-11-03 01:56:39 +00:00
06b61daa80 Add missing -lm to file-psd plug-in
psd-save.c uses RINT which uses floor(). Not sure why this only
caused a failure on our armv7hl build and why it used to work
but we get:

libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/file-psd psd.o psd-util.o psd-load.o psd-save.o psd-thumb-load.o psd-image-res-load.o psd-layer-res-load.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread  ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimpconfig/.libs/libgimpconfig-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpmath/.libs/libgimpmath-2.0.so ../../libgimpbase/.libs/libgimpbase-2.0.so -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lgegl-0.4 -lgegl-npd-0.4 -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lbabl-0.1 -lz -ljpeg -pthread
/usr/bin/ld: psd-save.o: undefined reference to symbol 'floor@@GLIBC_2.4'
/usr/bin/ld: /lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:756: file-psd] Error 1

And adding -lm seems the right thing to do.
2019-10-31 15:10:15 +00:00
e13e7fd8b6 Set required variables if is running from Apple application bundle 2019-10-31 14:51:24 +00:00
0b49a26d6a app: when interpreter not found in interpreter DB, leave shebang as-is.
In particular, if the shebang is `#!/usr/bin/env lang` and we have not
registered a specific interpreter for `lang`, the system should leave
the env tool search the right interpreter for us. We only bypass env
when we set our own explicit interpreter.

(cherry picked from commit 9e844ae1d7)

Slight modification from master commit: not applying to
palette-to-gradient.py plug-in.
2019-10-30 13:55:13 +01:00
c860d62a63 Installer: properly remove old icons on 32-bit installs and per-user installs 2019-10-29 23:10:34 +01:00
903170b90d Merge branch 'gimp-2-10' of gitlab.gnome.org:GNOME/gimp into gimp-2-10 2019-10-29 21:45:37 +01:00
Ell
41c37e2611 configure.ac: fix escaping of backslashes in compiler version string
There is one more level of unescaping...

(cherry picked from commit d97dd6413a)
2019-10-29 21:27:33 +02:00
989336be64 Installer: skip .debug files when they don't exist 2019-10-29 20:20:39 +01:00
71b83a3b69 Installer: unofficial languages, ghostscript 9.50 2019-10-29 20:18:25 +01:00
61acdb36fe configure.ac: post-release version bump to 2.10.15 2019-10-27 22:37:52 +01:00
a4f55d6c7e configure.ac: bump versions for the 2.10.14 release 2019-10-27 22:13:04 +01:00
90ab98b41d Update Russian translation 2019-10-27 22:43:47 +03:00
daca0a254e Update NEWS add more fixed bugs 2019-10-27 16:41:06 +00:00
f4c87c048e app: fix typo in gimptoolrectangle.c 2019-10-27 16:57:21 +01:00
ceb11d070b desktop: set appdata release date of 2.10.14 to today 2019-10-27 16:48:13 +01:00
775d3b1099 configure,app: depend on babl-0.1.72
(cherry picked from commit fe3e945154)
2019-10-27 06:54:09 +02:00
2fde53eef1 configure. app: depend on gegl-0.4.18 2019-10-27 01:43:54 +02:00
a464b1129b docs, etc: regenerate default gimprc and its manpage 2019-10-26 21:46:48 +02:00
c1f070fbc5 AUTHORS: regenerated 2019-10-26 21:46:48 +02:00
8a397d92f0 Updated Slovenian translation 2019-10-26 21:45:25 +02:00
fa820e9fdd NEWS: some fixes, and re-wrap overly wide paragraphs 2019-10-26 21:44:14 +02:00
5bc18c685c Updated Slovenian translation 2019-10-26 21:41:45 +02:00
Ell
6bedbe5c79 app: don't use the deprecated GTimeVal in gimp-test-session-utils.c
GTimeVal, as well as g_file_info_get_modification_time(), have been
deprecated in GLib 2.62.  Use g_file_info_get_attribute_uint64()
instead.

(cherry picked from commit 549a606b2f)
2019-10-26 22:34:51 +03:00
7caeb46e65 app: don't use the deprecated GTimeVal in file-remote.c
Use g_get_monotonic_time() instead.

(cherry picked from commit 3f84fbee1e)
2019-10-26 22:34:05 +03:00
Ell
32a11ce457 configure.ac: add AC_MSG_RESULT() for color-profile directory check
(cherry picked from commit 6b87e2f90c)
2019-10-26 22:33:49 +03:00
65f55a4f2d Update NEWS 2019-10-25 10:48:46 +00:00
72541154c7 Updated Danish translation of gimp-script-fu 2019-10-24 23:53:21 +02:00
17bed99e05 Updated Danish translation of gimp-python 2019-10-24 23:53:21 +02:00
0e463419fb Updated Danish translation of gimp-libgimp 2019-10-24 23:53:21 +02:00
d2c0829007 Updated Danish translation 2019-10-24 23:33:15 +02:00
1ce1b0eebe CID 225792 Resource leak in script-fu-server.c
Variable ai and ai_curr going out of scope at line 496.
Variable ai going out of scope at line 545.

Revealed by Coverity Scan.
2019-10-24 15:13:35 +00:00
a551207638 Update Polish translation 2019-10-24 15:49:15 +02:00
Ell
6239c3926f app: add babl version info to $ gimp -v
... and any other users of gimp_version().

(cherry picked from commit 211b7de729)
2019-10-24 14:01:17 +03:00
9985a00aef Add a fixed bug since it is not mentioned on commit message 2019-10-24 10:18:47 +00:00
e5b1f52477 Update Russian translation 2019-10-24 13:10:52 +03:00
Ell
ed1d5364a4 app, menus: add gegl:normal-map to Filters -> Generic
(cherry picked from commit 6adf77e13a)
2019-10-23 20:04:49 +03:00
3d7d46ea97 CID: 228176 Fix a Resource leak
This patch fixes a resource leak which was discovered by Coverity Scan.
2019-10-23 12:32:11 +00:00