Commit graph

42393 commits

Author SHA1 Message Date
Jehan
ad395cf02c NEWS: keep up-to-date. 2018-05-18 16:27:37 +02:00
Michael Natterer
d35fecceb4 configure.ac: remove the option to disable script-fu
Forgot to do this for 2.10.0.
2018-05-18 13:06:24 +02:00
Marco Ciampa
7493991372 Updated Italian translation 2018-05-18 12:40:48 +02:00
Michael Natterer
5930852544 AUTHORS: regenerated 2018-05-18 10:50:06 +02:00
Jehan
6c9ba16e11 configure, libgimpwidgets: customizable default color profile directory
We have this problem with flatpak that the common directory
("/usr/share/color/icc") is not visible from inside the sandbox. With
proper permissions, it is actually accessible, yet the host's /usr is
mounted at /run/host/usr/.
Since sandbox systems are getting more common, we need to make this path
customizable. I am therefore adding a --with-icc-directory configure
option to change the default color profile folder at build time.
See: https://github.com/flathub/org.gimp.GIMP/issues/15
2018-05-18 09:08:51 +02:00
Jehan
7bad32cf33 devel-docs: add info about "precision" field in XCF header. 2018-05-18 04:33:00 +02:00
Jehan
cdfb7fdddd devel-docs: update the list of layer mode in XCF docs. 2018-05-18 03:39:13 +02:00
Jehan
99decb674b devel-docs: update xcf docs with zlib compression info. 2018-05-18 02:47:19 +02:00
Jehan
ea01de330f NEWS: keep up-to-date. 2018-05-18 02:22:32 +02:00
Rūdolfs Mazurs
a04334d55b Update Latvian translation 2018-05-17 19:56:16 +00:00
Rūdolfs Mazurs
f4659f64f7 Update Latvian translation 2018-05-17 19:43:01 +00:00
Jordi Mas
8969e7c373 Update Catalan translation 2018-05-17 21:39:20 +02:00
Rūdolfs Mazurs
23e2ad5307 Update Latvian translation 2018-05-17 18:19:06 +00:00
Rūdolfs Mazurs
300d326ab2 Update Latvian translation 2018-05-17 17:42:59 +00:00
Claude Paroz
75a08a85af Updated French translations 2018-05-17 18:28:14 +02:00
Sveinn í Felli
e31058ef8d Update Icelandic translation 2018-05-17 12:26:17 +00:00
Sveinn í Felli
b7a48281a8 Update Icelandic translation 2018-05-17 12:20:27 +00:00
Sveinn í Felli
3cad6a1b1c Update Icelandic translation 2018-05-17 12:15:08 +00:00
Sveinn í Felli
0f23bee5f4 Update Icelandic translation 2018-05-17 12:07:31 +00:00
Sveinn í Felli
8ca4a2e621 Update Icelandic translation 2018-05-17 12:04:56 +00:00
Sveinn í Felli
79594cb321 Update Icelandic translation 2018-05-17 12:01:04 +00:00
Daniel Mustieles
4024c5ce72 Updated Spanish translation 2018-05-17 12:09:48 +02:00
Øyvind Kolås
580576e702 configure/app: depend on GEGL 0.4.2 2018-05-16 23:26:44 +02:00
Michael Natterer
64954afa4b app: don't use the user context in GimpDeviceEditor's container view
GimpDeviceInfo is a GimpToolPreset now, and using the user context
would cause the device info selected in the dialog to be set globally
as tool preset. Use a temporary context instead, the container view
just needs it because.
2018-05-16 22:41:12 +02:00
Thomas Manni
806d260601 script-fu: in weave, improve context and undo management
Use a gimp-context-push/pop at the beginning/end of the script
to keep the current context unchanged.

Add undo support for the whole procedure.
2018-05-16 21:44:30 +02:00
Michael Natterer
a69b8a25df libgimpwidgets: in GimpEnumLabel use the value's nick if there is no desc 2018-05-16 21:12:20 +02:00
Ell
23dab4311a Bug 796153 - Airbrush doesn't paint on timeout, and crashes with dynamics
gimp_airbrush_stamp(), which is called during the airbrush timeout
to periodically stamp the airbrush, assumes the saved symmetry's
origin is the same as during the original call to
gimp_airbrush_paint().  However, since commit
bc09c71818, we clear the symmetry's
origin at the end of gimp_paint_core_paint(), resulting in an empty
symmetry with a NULL origin during gimp_airbrush_stamp().  As a
result, no dab is painted, and we segfault if there's active
dynamics.

Fix this by saving the symmetry's origin coords during
gimp_airbrush_paint(), and restoring them in gimp_airbrush_stamp().
2018-05-16 14:40:48 -04:00
Michael Natterer
320d23f964 app: make sure all devices loaded from devicerc have tool options
We rely on GimpDeviceInfo's tool-options being non-NULL, so make sure
this is the case and fix NULL options with the current tool's options
after loading devicerc.
2018-05-16 20:07:26 +02:00
Jehan
399ac63548 build: cleaner flatpak building script. 2018-05-16 20:00:11 +02:00
Jehan
c64c985726 build: add HEIF support in flatpak nightly and gtk3. 2018-05-16 19:52:50 +02:00
Daniel Mustieles
a66f74d044 Updated Spanish translation 2018-05-16 16:14:15 +02:00
Jehan
071990da5e NEWS: keep up-to-date. 2018-05-16 02:33:49 +02:00
Michael Natterer
2f629072f1 Bug 787919 - Tool options are lost when switching device
GimpDeviceInfo is the only way to store per-device settings like
color, brush etc. It used to be derived from GimpContext and therefore
limited to the context's properties, causing everything else (all
tool-individual options) to be lost on device change.

Derive it from GimpToolPreset instead, so it's capable of storing
arbitrary tool options.

Adapt things to the new class hierarchy and add a bunch of signal
handlers that make sure the active device's GimpDeviceInfo is updated
properly when the tool changes. Also change device switching
accordingly.

Change GimpDeviceStatus to only show the stuff that is relevant to
each device's tool.

And various small changes to make things work properly...
2018-05-16 02:09:19 +02:00
Michael Natterer
d6e0ca5054 Bug 796090 - (wrong) true-color preview of GEGL filter ops, ...
...like gaussian blur in indexed mode

In GimpDrawable's source node, after the filter stack, insert a node
that converts the pixels back to the drawable's format if the drawable
is indexed.
2018-05-16 02:09:19 +02:00
Jehan
5c50fde7a4 authors: adding Gil Eliyahu to authors list. 2018-05-16 00:51:59 +02:00
Jehan
9fb1c28687 plug-ins: properly free rectScreens after allocating it.
Also avoid global variables when possible. We can just use the data
variable of EnumDisplayMonitors() which will be passed on to the
callback. This is not perfect yet since rectScreensCount is still
global, but let's go for it for now.
2018-05-16 00:39:46 +02:00
Jehan
e357e7118c plug-ins: fixing various compilation warnings.
Mostly warnings about wrong types for some function parameters.
There is still a single warning remaining about ignoring the #pragma
macro, but I am not sure what to do about this warning. Apparently it is
something specifically for use with Visual Studio. We don't need this,
but since the contributor uses it, let's keep it.
2018-05-16 00:39:46 +02:00
Jehan
382d6c8ad5 plug-ins: put the initial foreground window back after a screenshot.
This was lost in commit 966843564d. It's not a big deal since this code
path would only happen when the capture using magnification API fails,
yet we may as well make it perfect.
Also taking the opportunity to change the return type to gboolean for
the various capture functions (though it is technically the same,
semantically we were returning success boolean).
And removing a comment which had been duplicated and left at a the wrong
place.
2018-05-16 00:39:10 +02:00
Jehan
a0b28589ac plug-ins: properly load user32.dll for SetProcessDPIAware().
Using similar code as other parts of Win32 code.
I hope I am not doing anything wrong. At least now it builds!
2018-05-16 00:39:10 +02:00
Gil Eliyahu
ae93b6db18 Plug-ins: fix screenshot bugs in windows.
This fixes bugs 793722 and 796121.
In particular it fixes:
- Single-window screenshot when partly off-screen or covered by another
  window.
- Screenshots when display scaling is not 100%.
2018-05-16 00:39:10 +02:00
Michael Natterer
918f60836d Bug 796073 - Zero-size selections affect movement of pasted content...
...in weird ways

In gimp_rectangle_tool_button_press(), when the press triggers a
GimpEditSelectionTool operation (like moving a floating selection),
make sure we don't call COMMIT on a zero-size rectangle, because that
would get special treatment by commit(). Instead, CANCEL a zero-size
rectangle so stuff behaves as if it has never been there.
2018-05-15 23:59:05 +02:00
Anders Jonsson
a4940ae769 Update Swedish translation 2018-05-15 20:44:15 +00:00
Øyvind Kolås
55429df954 configure/app: depend on babl-0.1.48 2018-05-15 21:50:45 +02:00
Piotr Drąg
d5150edff8 Update Polish translation 2018-05-15 20:50:14 +02:00
Ell
5c7064fb9f app: make gimp-atomic parameters volatile 2018-05-15 12:58:38 -04:00
Thomas Manni
d01bf70f86 script-fu: in slide, use an undo group when working on the initial image 2018-05-15 17:58:11 +02:00
Thomas Manni
316adffaae script-fu: in fuzzy-border, add undo support for the whole procedure 2018-05-15 17:36:27 +02:00
Thomas Manni
9c547e7d71 Bug 795958 - Effect (like "old photo") does not group undo information properly
When working on the current image, enclose the script actions in an undo group.

When working with a copy of the image, disable the undo stack of the new image
at the beginning of the script and reenable it at the end.
2018-05-15 11:40:08 +02:00
Alexandre Prokoudine
fbcb43ef8b NEWS: update 2018-05-15 02:15:48 +03:00
Jehan
c3eff6e877 NEWS: add info about new --with-bug-report-url option. 2018-05-15 00:48:09 +02:00