Commit Graph

40586 Commits

Author SHA1 Message Date
Michael Natterer 3c410273b0 README: s/2.9/2.10/ and make it say "stable" 2018-04-26 16:07:00 +02:00
Michael Natterer b0b381b6c8 libgimp*: don't say "2.9" in metadata 2018-04-26 16:06:32 +02:00
Michael Natterer 7854fcdc80 NEWS: make it say "2.10 Stable Branch" 2018-04-26 15:56:30 +02:00
Michael Natterer 4e832722e2 NEWS: updates and fixes 2018-04-26 15:45:44 +02:00
Michael Natterer f35c2cdcec script-fu: port chrome-it.scm to non-deprecated color API 2018-04-26 15:45:04 +02:00
Øyvind Kolås f1db670f19 configure,app: depend on GEGL-0.4.0 2018-04-26 14:59:12 +02:00
Jehan 6057828582 desktop: use tilde for 'rc' separation in version scheme.
In other words, number the release candidates: 2.10.0~rc*.
In any case, this makes `rpmdev-vercmp` to consider them before 2.10.0,
unlike using a hyphen separator.

Though I still leave the <releases> trick from commit fb6328b9ad so that
our unit test succeeds, since `appstream-util` still considers the other
order.
2018-04-26 13:24:06 +02:00
Michael Natterer f7788becaa AUTHORS: regenerated 2018-04-26 13:02:55 +02:00
Michael Natterer a44e1500fa app: fix rectangle select tool cursor after committing/halting
gimp_rectangle_select_tool_cursor_update(): always set a cursor and
cursor modifier even if no GimpToolRectangle widget exists, so we are
not stuck with the last set cursor after committing or halting the
tool.
2018-04-26 13:00:18 +02:00
Ell 2d19848277 app: don't invalidate gradient cache upon gradient-type changes
In GimpOperationGradient, since we no longer avoid using the
gradient cache for conical gradients, the gradient type doesn't
affect the cache.
2018-04-26 05:34:58 -04:00
Jehan 740bfa5c75 NEWS: add Korean translation update. 2018-04-26 03:03:37 +02:00
Aryeom Han e46a8497ac po: update Korean translation. 2018-04-26 02:09:51 +02:00
Jehan d4404aa4bc libgimpconfig: fix the fix of the fix!
So apparently, it's "parenthesis" in singular.
Cf. commit 1b44812ab1.
2018-04-26 01:10:55 +02:00
Jehan 04aff3d4ea NEWS, authors.xml: add the 2.10 splash author.
See commit ea3de6d524.
Also update the translation list in NEWS.
2018-04-26 00:58:31 +02:00
Jehan bd86c5f603 desktop, NEWS: release date and NEWS updated. 2018-04-26 00:50:44 +02:00
Jehan 1b44812ab1 libgimpconfig: fix wrong typo fix.
Actually after re-reviewing previous commit, I found at least one wrong
fix in commit 4a77ff2d3d.
s/the opening parentheses/the opening parenthese/
2018-04-25 23:53:45 +02:00
luz.paz 4a77ff2d3d Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3)
Found via `codespell` and grep.
2018-04-25 23:49:06 +02:00
Ell 6e87ceb896 app: use half the cache size for symmetric conical gradients
Symmetric conical gradients only span half a revolution (unlike
assymetric ones, which span an entire revolution), and therefore
require only half the cache size.
2018-04-25 17:42:52 -04:00
Pat David ea3de6d524 splash: Add 2.10 splash image + svg
This image is CC-BY from Philipp Haegi.
https://www.flickr.com/photos/philipphaegi/39057406754

I added the graphics overlay for the splash.
2018-04-25 16:39:02 -05:00
Anders Jonsson c4674037bd Update Swedish translation 2018-04-25 20:13:38 +00:00
Anders Jonsson 4cba522774 Update Swedish translation 2018-04-25 20:10:13 +00:00
Ell d6a7302678 app: crop GimpDrawableFilter output
Add a crop node to the GimpDrawableFilter graph, applied after the
filter's output, cropping the output to the filter area (the same
area used for the input crop node).  If we fail to do this, filters
whose op's bounding box is bigger than the input region can affect
areas outside the drawable, when the filter is rendered as part of
the image graph (in contrast to being comitted).  This is
particularly relevant to source ops, that may have an infinite
bounding box.

We probably didn't notice this until now, since before the recent
GimpProjection update-area changes, only the drawable's area would
get invalidated in response to changes in the filter, so regions
outside the drawable wouldn't normally get rendered.  However, this
could still have been triggered by causing regions outside the
drawable to be invalidated by other means.
2018-04-25 15:58:24 -04:00
Piotr Drąg 08f2b2d93b Update Polish translation 2018-04-25 20:31:40 +02:00
Jehan fb6328b9ad desktop: preparing appdata for 2.10.0 release.
Adding today's (hopeful) date.

Also removing the trick from commit 447d9bbc56 because the bug in
appstream-util has been fixed, but adding the same trick elsewhere for
another bug in this validation script:
https://github.com/hughsie/appstream-glib/issues/234
2018-04-25 20:10:53 +02:00
Ell 5970046e25 app: use gradient cache for conical gradients
Add gimp_drawable_gradient_adjust_coords(), which adjusts the
gradient segment coords according to the gradient type, so that, in
cases where the gradient span is unrelated to the segment length,
the gradient cache (in GimpOperationGradient) is big enough not to
produce banding.  Use the new function in gimp_drawable_gradient()
and in the gradient tool, instead of duplicating the logic.

Move the shapreburst coordinate-adjustment logic to the new
function, and add appropriate logic for conical gradients.

Remove the code that avoids using the gradient cache for conical
gradients from GimpOperationGradient.
2018-04-25 14:05:19 -04:00
Ell 38ba45cf31 app: in GimpOperationGradient, move cache generation back to process()
Undo the part of commit fa9a4108c3
that moved cache generation from process() to prepare().  prepare()
is called after each property change, in order to calculate the
op's bounding box for invalidation.  Since we only need the cache
for actual processing, generating it in process() avoids that
overhead.
2018-04-25 14:05:19 -04:00
Michael Natterer ef5bd98e99 app: protect GimpContext's "parent" pointer against dangling
with a weak ref and call set_parent(NULL) in dispose().
2018-04-25 19:20:12 +02:00
Ell 45be8b2591 app: use paint composite-mode, instead of AUTO, in more places
In the various types of fill operations, and in fade operations,
use the paint composite-mode of the current paint mode, which is
the composite mode we use during painting, instead of AUTO, which
results in the default mode we use for layer compositing.  This
effectively means that filling using any non-legacy, non-
subtractive mode can paint over transparent areas, rather than
being limited to nontransparent areas.
2018-04-25 11:20:48 -04:00
Ell 95921427d5 app: remove multithreading warning from the preferences dialog
Since we're prepping for a release, it's a about time we've done
that.  I hereby pronounce multithreading support fit for general
use!
2018-04-25 10:55:11 -04:00
Ell fa9a4108c3 app: various improvements to GimpOperationGradient
Invalidate the gradient cache while setting relevant properties,
and validate it, reconstructing if necessary, during prepare(),
rather than process(), to avoid the need to use a mutex.

Make sure the cache has at least two elements, corresponding to
the initial and final colors of the gradient, since both colors
might be needed, and to avoid division by zero.

Avoid using a cache if its necessary size is too big, or if the
gradient type is conical, since the necessary cache size for
conical gradients is unrelated to the gradient line length.

Improve index rounding during cache lookup.

Lots of indentation fixes.
2018-04-25 09:48:02 -04:00
Ell 4fce5d2518 Bug 793714 - Error when merging layer group with Pass through mode
When merging a pass-through group, change its mode to NORMAL first,
to avoid a critical when duplicating the group as a regular layer.
Preserve the group's blend/composite space/mode while changing its
mode (note that only the composite space currently matters, since
the other parmaeters are immutable for pass-through groups.)
2018-04-25 08:43:57 -04:00
Ville Pätsi bd03ea7617 Clear kde_hacks and change treeview selected color 2018-04-25 12:51:47 +02:00
Michael Natterer 8696c05855 app: disable the "Use Applicator" toggle in paint options 2018-04-25 00:55:41 +02:00
Jehan 106fc9309f Bug 795510 - SYS_gettid is not available on non-Linux system.
I could not find for sure what to use on FreeBSD instead, so let's just
not get this information there. It is quite useful information to know
where thread traces were asked from, but it is more important to make
sure the program can be compiled everywhere. Also we can just check
which thread has gimp_stack_trace*() calls. Thus it can be seen as
redundant information in any case.

SYS_gettid is apparently defined as a macro, so let's simply check for
it being defined.
2018-04-25 00:28:23 +02:00
Simon Budig 44a931e16c ripple: put the compat code in the proper place, fix up POTFILES.in 2018-04-24 14:26:39 +02:00
Timo Jyrinki d18cc028ca Update Finnish translation 2018-04-24 12:11:28 +00:00
Michael Natterer dcefc10eca app: make setting of layer mode on new layers smarter in layers-commands.c
If the mode remembered in GimpDialogConfig is NORMAL or NORMAL_LEGACY,
use the image's default new layer mode instead.
2018-04-24 14:00:34 +02:00
Michael Natterer 1c91cdabc8 app: change the default new layer mode in GimpDialogConfig
to GIMP_LAYER_MODE_NORMAL.
2018-04-24 14:00:34 +02:00
Michael Natterer 9ac34bda70 app: change the default paint mode in GimpContext to GIMP_LAYER_MODE_NORMAL 2018-04-24 14:00:34 +02:00
Michael Natterer 00f3c4e47b libgimp: use the right layer mode in gimp_layer_new_from_surface()
gimp_image_get_default_new_layer_mode() instead of
GIMP_LAYER_MODE_NORMAL_LEGACY.
2018-04-24 14:00:34 +02:00
Jehan 709f248438 data: make the "Structure" brush obsolete.
Start obsoleting the most terrible brushes of GIMP. This is definitely
one of them.
2018-04-24 13:35:00 +02:00
Simon Budig e6de783b3c remove the ripple plugin, provide compat PDB-API 2018-04-24 13:05:58 +02:00
Jehan 21f891955f desktop: fix a few links and a release date in appdata file. 2018-04-24 04:46:37 +02:00
Jehan 8a899aa547 NEWS: kick up 2.10.0 RC3 news. 2018-04-24 04:22:50 +02:00
Jehan 9325013fb0 data: add a gitignore in new "Fun" brush category. 2018-04-24 03:55:04 +02:00
Jehan 7c0d8a2d2a Bug 589371 - some new brushes.
Extract of a selection by Jose Americo Gobbo.
Reviewed by Aryeom and myself for integration.

From what I could gather, authors are:
- Grunge 01 by Rene Jensen.
- Stone Work 01 by Mathias Jonathan (Griffeur).
- Pencil 03 and Charcoal 03 by Americo.

According to information from Americo, all data is GPL v3.0.
2018-04-24 03:53:33 +02:00
Michael Natterer 8d54476457 Bug 795493 - Warning when removing a text layer
In gimp_text_tool_connect(), when auto-removing empty text layers upon
text layer or tool change, make sure we don't try to remove a layer
that has already been removed, which can happen if this function is
reached *because* somehow the layer was removed externally (e.g. by
the user in the layers dialog).
2018-04-24 02:49:03 +02:00
Jehan 9bbd763d3c data: new splash screen.
Things are getting serious now. We need a reasonnable splash, right?
Just in case we have a RC3!
It follows all rules: full HD and bottom fourth empty for loading text.
2018-04-24 01:02:33 +02:00
Aryeom Han f9cfb55d7e data: meeeeeeeh! 2018-04-23 23:48:49 +02:00
Aryeom Han 57c849df03 data: Wilber is kitch and he knows it! 2018-04-23 23:43:59 +02:00