Commit Graph

43533 Commits

Author SHA1 Message Date
b5ceb4610d Issue #4331 - Bevel Reflect Logo script crashes in 2.10.14
Add missing gegl_init() to map-object.
2019-12-28 17:57:54 +01:00
dba4e95497 Update Spanish translation 2019-12-24 10:50:19 +00:00
573c043bab Issue #4392: Gimp Segmentation Fault triggered by Glib GParamSpec...
... property name validation.
Previous commit fixed the parameter name validation in core code. This
commit fixes the source error in the plug-in code.
2019-12-24 01:34:29 +01:00
4550fc1bfa Issue #4392: Gimp Segmentation Fault triggered by Glib GParamSpec...
... property name validation.
GLib tightened its GParamSpec name validation, as it used to only check
that the first letter was a letter, which triggered this issue, though
the crash could have also happened with the former lax rules too (commit
30e630c9df792cf36cdb1cceb3daefbde1dc898a).

I opened a merge request in GLib to make the validation code into a
public function. In the meantime, let's just copy-paste the validation
code into ours and when a plug-in attempts to create a procedure with
invalid parameter or return value names, GIMP will just output an error
and refuse to install the procedure instead of crashing.
See: https://gitlab.gnome.org/GNOME/glib/merge_requests/1302
2019-12-24 01:34:29 +01:00
92fda7713b build: .gitlab-ci.yml: add xorgproto package 2019-12-21 17:07:34 +01:00
414b76f358 NEWS: update fixed bugs list. 2019-12-21 10:31:03 +01:00
94b1e98767 plug-ins: WebP: save_dialog() before gimp_export()
As mentioned in issue #1777, exporting non-animated WebP images was
only keeping the current layer.
Mimick file-gif-save.c: display the encoding settings pop-up earlier
so that gimp_export_image() can merge the layers unless "As Animation"
is enabled. Call gimp_image_get_layers() directly in save_image() in
case the layers were merged (for clarity because layers are used only
for animations).

(cherry picked from commit 8f828d1899)
2019-12-21 10:20:33 +01:00
ecf40cffdb NEWS: add fixed bug number. 2019-12-19 21:15:06 +01:00
feeaa819a2 Update Japanese translation 2019-12-19 15:05:00 +00:00
b205bd6f59 Update Japanese translation 2019-12-18 16:11:50 +00:00
4254fe1ed7 Update Japanese translation 2019-12-18 16:09:21 +00:00
f50cb339c0 Core: Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c 2019-12-01 01:33:51 +00:00
638ce9a585 Updating NEWS added bug resolved whit no commit reference 2019-12-01 00:45:00 +00:00
1ca3d99fbc tools, fix implicit declaration of function atoi warning 2019-11-30 02:06:30 +00:00
8f33d5ea05 apply the same master patch 2019-11-29 22:06:28 +00:00
771304d73b libgimpbase, plug-ins: fix all warnings to g_stat() calls.
The second parameter should be GStatBuf*, which will be defined to be
the right struct depending on the actual platform. Using `struct stat*`
was good on Linux but was outputting warnings on other platforms (at
least on Win32).

(cherry picked from commit 6bc6a07b7e)
2019-11-29 23:04:12 +01:00
5a5069649d Updated Greek translation 2019-11-28 11:02:54 +02:00
1c0f128de8 Updated Greek translation 2019-11-28 10:08:23 +02:00
5c163918a2 NEWS: update bug report list. 2019-11-24 22:27:55 +01:00
2d25b06f6f Issue #4209: Animation optimize for GIF moves layers to top left corner.
Regression from commit 9d33a9a9ca as spotted by Massimo.

(cherry picked from commit 9a4d1f0277)
2019-11-24 22:26:36 +01:00
73c99d8ebb NEWS: update bug list. 2019-11-22 00:29:42 +01:00
ce4865670b Windows backtrace: VEH must use stdcall
Fixes issue #2794

(cherry picked from commit cd54a8fee9)
2019-11-22 00:08:38 +01:00
27dd38531e build: add a patch for OpenBlas on Windows.
Actual patch contributor wants confidentiality to avoid leaking
proprietary information or whatever (I am not sure either what to be
scared of as it's all good and harmless to me, but let's respect the
request). See also #4246 for more details.

(cherry picked from commit 370499676f)
2019-11-20 17:29:35 +01:00
b67fe859a7 app, devel-docs: remove dangling DBUS_GLIB_* variables.
dbus-glib is no more a dependency since commit c4460e84, i.e. already
since 2013!

(cherry picked from commit 5f2a6940e3)
2019-11-16 19:32:35 +01:00
e177d6ce07 Update Catalan translation 2019-11-16 08:28:42 +01:00
68d2a7f952 configure: fix typo which was breaking the build.
(cherry picked from commit 6124be59b7)
2019-11-13 13:26:08 +01:00
0570aec5fe Issue #4185: Plug-in “file-heif.exe” crashes exporting HEIF/HEIC.
My previous test (commit 41285813a5) was a bit misinformed. So it turns
out bug #4185 is for all platforms and the broken libheif versions are
1.5.0 and 1.5.1 only.

So my new test (platform independent) is: prefer libheif versions with
profile support, except 1.5.x; then prefer lower versions without
profile support; and only as last resort accept 1.5.x versions (but
output a warning).

(cherry picked from commit f051e6d238)
2019-11-13 12:40:14 +01:00
876c781b97 Fix make check by replacing metadata-tags.h with metadata.c as spotted by grem 2019-11-12 23:46:11 +03:00
c0c0e9afc6 Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
Known bug in libmypaint dependency. It has been fixed in libmypaint
1.4.0, which we cannot hard require unfortunately (Debian testing still
at 1.3.0).

Still let's make add a warning so that packagers are aware of the issue
and update when possible.

(cherry picked from commit 5da252ca18)
2019-11-12 17:17:33 +01:00
8f510e68f6 configure: improve libheif detection and output.
Replace the "Heif >= 1.4.0" line in the summary output by a comment in
the "Heif" line explaining this is about profile support.

Also add a >= 1.6.0 test and output a warning for Windows and macOS (cf.
bug #4185).

(cherry picked from commit 41285813a5)
2019-11-12 15:33:28 +01:00
7328f0eab9 po: fix missing semicolon in Basque translation.
I am not touching the translation, only the formatting for the Keywords
field in desktop file. As requested by a translation comment, all
translations of this field need to end with semicolon too (without, we
get validation warnings).

(cherry picked from commit 053fbd7da5)
2019-11-12 15:32:36 +01:00
83dd89b9d1 Updated Danish translation of gimp-plug-ins 2019-11-12 03:30:53 +01:00
be953fb5c0 Update German translation 2019-11-11 23:06:03 +00:00
Ell
f04d72d008 Issue #4218 - Color>Invert doesn't work on saved selection channel ...
... or copied RGB channel

In gimp_drawable_merge_filter(), make sure the drawable's source
node is constructed before applying the operation.  The
construction of the source node connects the drawable's filter
stack to the udnerlying source node (usually, the buffer-source
node), which we rely on when calling
gimp_gegl_apply_cached_operation(), since we pass
connect_src_buffer == FALSE.  Otherwise, the operation is applied
to an empty input, instead of the drawable content.

(cherry picked from commit 0e29fc1b21)
2019-11-11 19:01:40 +02:00
Ell
f16ce35f8d app: in GimpHistogram, don't initialize n_bins to 256
... it's no longer needed, and breaks the type's invariants.

(cherry picked from commit 2a292b02e3)
2019-11-11 18:18:55 +02:00
Ell
9f8e244ec1 Issue #4205 - The histogram dock scale is incorrect when an image is opened
In gimp_histogram_view_update_bins(), don't update the view's
range if there's no histogram or the histogram is empty, to avoid
discarding the existing range.  Additionally, improve the range
readjustment when the number of bins changes.

(cherry picked from commit 0c899394b4)
2019-11-11 18:18:55 +02:00
7072b77224 Update Catalan translation 2019-11-10 20:22:43 +01:00
47a4d210ca NEWS: update. 2019-11-08 14:10:25 +01:00
e7478071e8 Issue #4194: resolution passes from 300ppi to 72ppi after saving.
We are running gimp_image_set_imported_file() when saving, with NULL to
drop the tie with the imported file. Let's only change the default
resolutions when we actually set an imported file.

Also set the `resolution_set` flag even when it doesn't change the
current values (hence no undo or signals), for instance setting from 300
to 300 PPI. In such case, even though nothing changes, the resolution
has to still be considered as explicitly set.

In the reporter case, any one of these 2 fixes is enough.
See also commit fef9b1d2a3 (set to 72 PPI as default for imported files
only) and commit a8f552da2f (set imported file to NULL).

(cherry picked from commit 417bf199c8)
2019-11-08 14:07:51 +01:00
04997fc0ae Replace finite() with isfinite() by default
This is part of the C standard also also causing warning on macOS.
2019-11-07 09:09:22 +00:00
4cd23c64e9 Revert finite() fix as it needs to be done in pdb and configure 2019-11-06 21:16:26 +01:00
aff49550ee Fix "finite() is depricated" warning on macOS 2019-11-06 17:04:35 +01:00
03b78e97d0 plug-ins: clean all warnings on metadata plug-in.
I made the various static arrays in headers declared as extern and
defined in a separate implementation file, with additional size constant
when necessary (since G_N_ELEMENTS() cannot be used on partially
defined arrays).

Note that this is better than the original implementation, yet I am not
saying this is ideal either. I am not fond of such code organization and
think a better one could be done. But it would require to dive deeper
into this plug-in and I don't want to right now, nor have the time.

At least now it stopped shouting all these warnings!

(cherry picked from commit 31cbc7e0e6)
2019-11-06 14:27:34 +01:00
bcf2b4c7a6 plug-ins: clean out some warnings.
This cleans just a third of the warnings in this metadata plug-in. It is
a very bad practice to define static const strings in a header file like
this, especially if this header is included in several files. Let's make
these macros.

Also why are these header tags sometimes used with the const name (now
macros), sometimes directly with the string literals? I fixed some of
these, but more string literals are lying around.

Remaining warnings are similar, about const string arrays. If really we
want this, we should declare these extern and define them in a separate
implementation file. This whole plug-in should be really reorganized and
cleaned in depth.

(cherry picked from commit 024a919c77)
2019-11-06 14:27:27 +01:00
1cc2c8c834 Update NEWS 2019-11-06 12:46:51 +00:00
d7bc23eaa6 Update Swedish translation 2019-11-05 20:10:02 +00:00
4133709974 Update Ukrainian translation 2019-11-05 11:43:56 +00:00
316419de7a Revert "Updated Spanish Translation"
This reverts commit f208485871.
2019-11-05 08:39:11 +01:00
f208485871 Updated Spanish Translation 2019-11-05 08:38:22 +01:00
412e383cf0 Update Catalan translation 2019-11-04 19:32:30 +01:00