Michael Natterer
b10fc58802
app: add a "layer-mode" property to GimpOperationLayerMode
2017-01-22 14:41:21 +01:00
Michael Natterer
d293a00995
app, menus: add gegl:edge-neon to Filters -> Edge Detect
2017-01-22 14:35:35 +01:00
Øyvind Kolås
c9ad09df61
app: add a handful more blending innerloops
...
Adding linear burn, vivid light, linear light, pinlight and exclusion formulas
as described on
http://www.deepskycolors.com/archivo/2010/04/21/formulas-for-Photoshop-blending-modes.html
2017-01-22 13:41:49 +01:00
Michael Natterer
7079d5f730
app: add a huge switch() to gimp_layer_mode_get_composite_mode()
...
It's going to be used to the UI too and should return something
to display, even if immutable.
2017-01-21 22:31:09 +01:00
Øyvind Kolås
da10525073
app: change default composite mode for new modes to src-atop
2017-01-21 22:12:23 +01:00
Michael Natterer
c152fa8651
app: fix the blend space of the legacy modes to be perceptual
2017-01-21 22:03:40 +01:00
Michael Natterer
05f3d38acb
app: rename GimpOperationPointLayerMode to GimpOperationLayerMode
...
and formatting cleanup.
2017-01-21 21:35:52 +01:00
Ell
0c35baecca
app: in gimp_composite_blend(), more alloca avoiding
2017-01-21 09:06:08 -05:00
Øyvind Kolås
c993adf91e
app: remove a trampoline in layer/paint mode dispatch
...
Fully removes one trampoline level and passing fewer args through the remaining
trampoline.
2017-01-21 14:10:03 +01:00
Ell
fb3b99553c
app: in gimp_composite_blend(), avoid another alloca when doing in-place output
2017-01-21 07:18:47 -05:00
Ell
4d985d11df
app: in gimp_composite_blend(), avoid an alloca when doing in-place output
2017-01-21 06:36:03 -05:00
Michael Natterer
a1b844897c
app: make GimpPaintOptions' "use-applicator" default to FALSE again
2017-01-21 00:29:41 +01:00
Michael Natterer
485094b9da
app: fix painting with the new layer mode code
...
by creating temp buffers matching the format needed by the
GimpLayerMode's process_pixels() function.
2017-01-21 00:27:48 +01:00
Michael Natterer
2acd2fe74c
app: do_layer_blend(): pass the right blend/composite parameters
...
based on the used GimpLayerMode.
2017-01-21 00:02:22 +01:00
Jehan
1835b2ae61
app: improve precision of paint tools' straight line distance...
...
... in status bar.
Follow-up of commits f836892
and d1c3c3d
. With high resolutions, the
distance displayed in the status bar when shift-clicking in a paint tool
may lack digit precision and show the same value (in non-pixel unit) for
several consecutive pixels. Compute a more accurate precision than what
gimp_unit_get_digits() can provide in such cases.
2017-01-20 00:40:41 +01:00
Jehan
d1c3c3deb0
app: improve Measure Tool digit precision.
...
When working with high resolution, you may have cases where measured
length won't be displayed with enough digits; i.e. several pixels length
would show up as 0. For instance at 4000 PPI, up to 7 pixels show up as
0 mm, then at 0.1 mm from the 8th pixel (actually reaching over 0.05 mm,
approximating as 0.1), then 0.2 at 24 pixels (actually: 0.152), and so
on. At such a resolution, 3 digits are needed for 'mm' instead of the
1 digit returned by gimp_unit_get_digits() so that we display reliable
lengths.
Therefore we need to compute ideal digit precision. Configured digits
for a given unit will now be used as a minimum value, but actually used
digits may be higher.
2017-01-20 00:40:27 +01:00
Jehan
f836892314
Bug 763734 - better decimal places for physical units.
...
Compute the ideal decimal precision for cursor position and length
status so that you get the best precision on physical units depending
on the current resolution, yet avoiding over-precision (which can be
misleading). The unit's "digits" value is now used as a minimum
precision only.
2017-01-20 00:40:27 +01:00
Ell
5da89f0daf
app: in gimp_composite_blend(), avoid overwriting input in some cases (again)
...
Revert commit f6436eee96
, which was wrong,
and redo it the right way.
2017-01-19 16:16:44 -05:00
Øyvind Kolås
894d4c0c01
app: finish GimpLayerColorSpace rename
2017-01-19 19:33:17 +00:00
Øyvind Kolås
e9d72ef2a8
app: finish GimpLayerColorSpace rename
2017-01-19 19:22:40 +00:00
Øyvind Kolås
386e18e510
app: rename GimpLayerBlendTRC to GimpLayerColorSpace
...
It is used both for blending and compositing, the repeated use of the word
BLEND in code made the logic involving both blending and compositing hard to
read.
2017-01-19 19:17:24 +00:00
Ell
f6436eee96
app: in gimp_composite_blend(), avoid overwriting input in some cases
...
Note that in some cases the alloca may be unnecessary, but this keeps
the code clean, and we have to be able to *potentially* do the alloca
anyway, so what the hell.
2017-01-19 13:51:48 -05:00
Michael Natterer
a5ee5f28f9
app: cast ops using (gpointer) everywhere instead of 3 different ways
2017-01-19 19:04:49 +01:00
Michael Natterer
268e35a996
app: remove prepare() impls from erase and anti-erase
...
the calling code makes sure the ops have the right linear formats.
2017-01-19 18:49:22 +01:00
Michael Natterer
349cff8c16
app: remove "gboolean linear" from gimp_get_layer_mode_function()
...
and get rid of the two process_pixels() functions in the LCH modes,
they always take linear now.
2017-01-19 18:43:31 +01:00
Ell
417d9553b5
app: in gimpblendcomposite.h, small fix in compfun_dst_atop()
2017-01-19 12:03:39 -05:00
Ell
7df1bb4c0e
app: in gimp_blend_composite(), fix dst_atop and avoid some conversions
...
Also s/comp_alpha/layer_alpha/ for consistency.
2017-01-19 11:55:21 -05:00
Michael Natterer
d656fbab86
app: coding style cleanup in all layer modes, fiddle with includes a bit
2017-01-19 17:48:45 +01:00
Øyvind Kolås
80c947f04f
app: add missing breaks in switches of gimpblendcomposite
2017-01-19 14:25:04 +00:00
Michael Natterer
4e9ce952d9
app: indentation in operations-types.h
2017-01-19 14:47:48 +01:00
Michael Natterer
4683b986f3
app: use the GimpBlendFunc typedef in gimpblendcomposite.h
2017-01-19 14:46:29 +01:00
Øyvind Kolås
f645665324
app: unconditionally set alpha in hardlight/softlight/overlay
2017-01-19 14:44:39 +01:00
Michael Natterer
bfdea93a9c
app: indentation and formatting cleanup in gimpblendcomposite.h
...
Also remove all includes, they should already be there when this
header gets included.
2017-01-19 14:31:40 +01:00
Øyvind Kolås
72cbda11ae
app: composite_blend, fix src_over
2017-01-19 04:57:14 +01:00
Øyvind Kolås
41fff6990e
app: make layer modes more configurable
...
Implement a common utility function gimp_blend_composite that uses utility
functions for implementing layer modes, with separate (possibly SIMD) optimized
loops for blending and compositing, with configured linear TRC, perceptual
gamma TRC or even using CIE Lab as the space.
2017-01-19 01:04:15 +01:00
Michael Natterer
1262370544
app: remove "gboolean linear" parameters
...
from gimp_applicator_new() and gimp_gegl_mode_node_set_mode().
Compositing doesn't depend on the layer format any longer, only on the
layer mode. Painting with "use applicator" unchecked is still broken
in some cases and needs more fixing.
2017-01-18 00:15:55 +01:00
Michael Natterer
b809613be0
app: implement gimp_layer_mode_get_blend_trc()
2017-01-17 17:41:05 +01:00
Øyvind Kolås
0bcb3068fe
app: fix typo s/GIMP_LAYER_COMPOSITE_OVER/GIMP_LAYER_COMPOSITE_SRC_OVER/
2017-01-17 15:23:36 +01:00
Michael Natterer
6e72d3eddf
app: add blend-trc and composite-mode properties to GimpOperationPointLayerMode
...
and set them to unused default values.
2017-01-17 15:09:17 +01:00
Michael Natterer
dd3eec6198
app: change linking order of the sub-libs of app/operations
...
so layer-modes/ can use the enums in enums-types.h without failing to
link.
2017-01-17 14:28:40 +01:00
Michael Natterer
5c4eb75361
app: register the enums in operations-enums.h as GTypes
...
and rename them to GimpLayerBlendTRC and GimpLayerCompositeMode.
2017-01-17 01:19:06 +01:00
Michael Natterer
e267d87963
app: add operations-enums.h with two soon-needed enums
2017-01-16 23:07:50 +01:00
Michael Natterer
69c4644e15
app: rename GimpLayerModeFunction to GimpLayerModeFunc
...
like all other function typedefs and add GimpBlendFunc typedef which
will be needed soon. Also rename get_layer_mode_function() to
gimp_get_layer_mode_function().
2017-01-16 22:44:01 +01:00
Øyvind Kolås
e1b7eb7245
app: divide blend mode, limit high values to 5.0
...
Possibly counteracting inaccuracies in used babl conversions, but with this the
result match legacy as expected.
2017-01-16 02:36:11 +01:00
Michael Natterer
8928bcd088
Bug 777017 - creating an empty layer group inside an existing...
...
...layer group cause a bug in the existing layer size
Change gimp_group_layer_get_size() to return FALSE if there are no
children (there is no content).
In gimp_group_layer_update_size(), skip children where get_size()
returns FALSE. Fixes bogus size calculation.
2017-01-15 21:01:03 +01:00
Michael Natterer
87e5d10ddb
app: make tests build again
2017-01-15 18:52:43 +01:00
Michael Natterer
5eb0fa816a
app, libgimp: add LINEAR variants of more layer modes
...
for completeness/consistency, even if they don't make much sense for
prectical use.
2017-01-15 16:02:10 +01:00
Michael Natterer
a24e232522
app: move functions on enum GimpLayerMode to new files gimp-layer-modes.[ch]
2017-01-15 15:25:03 +01:00
Øyvind Kolås
60847cce73
app: remove odd ratio scaling, replace with range check for nan
2017-01-15 01:33:40 +01:00
Øyvind Kolås
315ccc7f82
app: remove clamping in multiply mode
2017-01-15 01:33:40 +01:00
Michael Natterer
50669fe6d4
app, libgimp: rename BEHIND enum values to be consistent with others
...
Also update gimplayermodefunctions.c which I forgot before.
2017-01-15 00:01:09 +01:00
Michael Natterer
6bf9e47ba8
app, libgimp: add linear variants of most layer modes
...
and reorder gimp_gegl_mode_node_set_mode() and friends.
2017-01-14 22:56:54 +01:00
Michael Natterer
5951d39938
app, libgimp: reorder enum GimpLayerMode
...
so LEGACY and new modes have the same order, if possible.
2017-01-14 21:52:54 +01:00
Øyvind Kolås
f01374798e
app: remove clamps from addition, subtract and grain blend modes
2017-01-14 21:06:06 +01:00
Øyvind Kolås
39adf3627d
app: use hypotf in lhc chroma blend mode
2017-01-14 21:03:29 +01:00
Michael Natterer
bd66794e2c
app: avoid the second gegl_node_set() in gimp_gegl_mode_node_set_mode()
2017-01-14 18:35:56 +01:00
Øyvind Kolås
f8c65367f0
app: cache fishes in lch blend modes
2017-01-13 19:21:01 +00:00
Øyvind Kolås
975a0a6943
app: reuse more code
2017-01-13 19:21:01 +00:00
Øyvind Kolås
be8c2015a0
app: move factored out compositing to common header
2017-01-13 19:21:01 +00:00
Øyvind Kolås
acd20fb55b
app: use cached fishes in lch chroma mode
2017-01-13 19:21:00 +00:00
Øyvind Kolås
7959141eb4
app: make compositing of hsv value blend mode consistent
2017-01-13 14:26:36 +01:00
Øyvind Kolås
75173b97d9
app: make compositing of grain extract blend mode consistent
2017-01-13 14:26:05 +01:00
Øyvind Kolås
954030fab6
app: make compositing of dodge blend mode consistent with rest
2017-01-13 14:25:46 +01:00
Øyvind Kolås
13eab78ecc
app: improve and simplify alpha handling of LCH blending modes
2017-01-13 14:15:35 +01:00
Øyvind Kolås
feb2bb4083
app: lch color modes remove unneeded includes
2017-01-13 13:53:08 +01:00
Øyvind Kolås
0b1f684e8f
app: remove unneded variable named tmp
2017-01-13 13:38:12 +01:00
Øyvind Kolås
24b04c0b40
app: use single precision hypotf and constants for performance
2017-01-13 13:17:25 +01:00
Michael Natterer
68cc8bb86f
app: make using gimp_drawable_update() less verbose
...
Allow passing -1 for the drawable's width/height, instead of requiring
gimp_item_get_width,height() in many callers.
2017-01-13 02:14:40 +01:00
Øyvind Kolås
0bc45c8cd0
app: default to use gegl applicator in paint tools
...
Temporarily slower - but permits paint modes like overlay/softlight to work at
all for linear TRC pixel encodings. Should be reverted when the non-graph
approach works properly again.
2017-01-12 18:55:38 +01:00
Øyvind Kolås
dc5b86f0eb
app: add TRC variants to get_layer_mode_function()
2017-01-12 15:18:44 +01:00
Øyvind Kolås
4df1af2534
app: add linear variant of behind mode
2017-01-12 14:27:15 +01:00
Øyvind Kolås
377f4687b1
app: add gimp_gegl_mode_is_linear
2017-01-11 22:13:14 +01:00
Øyvind Kolås
5271027510
app: explictly code linear vs gamma for hardlight and softlight
2017-01-11 19:39:46 +01:00
Øyvind Kolås
36ebe03770
app: remove lingering old files of dead code
2017-01-11 15:18:52 +01:00
Øyvind Kolås
f9aeff5670
app: fix a lingering old gimp:softlight-mode
2017-01-11 15:17:30 +01:00
Michael Natterer
a187329777
app: sort includes in gimp-operations.c
2017-01-11 15:00:37 +01:00
Michael Natterer
77f9659c98
app: move gimplayermodefunctions.[ch] to layer-modes/
2017-01-11 14:58:43 +01:00
Michael Natterer
b959e0b69b
app: move GimpOperationPointLayerMode to layer-modes/
2017-01-11 14:44:10 +01:00
Ell
e17f640fba
app: eliminate unnecessary condition in GimpOperationReplaceMode
...
8-bit relic.
2017-01-11 08:21:02 -05:00
Michael Natterer
ad134263d2
app: clean up Makefile.am in layer-modes/ and layer-modes-legacy/
2017-01-11 13:00:27 +01:00
Michael Natterer
8b5553cef6
app: move the remaining 3 layer modes to layer-modes/
...
Not exactly sure if all are correct, but the file moving is almost
done now.
2017-01-11 12:55:13 +01:00
Michael Natterer
b90fa4f0d3
app: clean up spaces in GimpOperationColorEraseMode
2017-01-11 12:42:27 +01:00
Michael Natterer
01b25baffd
app: change mask handling in GimpOperationReplaceMode
...
to be like in the other modes, and proably speed it up a little.
2017-01-11 12:38:58 +01:00
Øyvind Kolås
7ed2857695
app: fix type s/legacyy/legacy/
2017-01-11 05:34:55 +01:00
Øyvind Kolås
f45fc97eba
app: add missing op .h files
2017-01-11 04:54:36 +01:00
Øyvind Kolås
ec1f7a94e3
app: split legacy out of grain extract and merge
2017-01-11 04:40:26 +01:00
Øyvind Kolås
8f3842434c
app: split legacy out of soft and hard light
2017-01-11 04:10:06 +01:00
Øyvind Kolås
784a8ee224
app: split legacy out of burn and divide
2017-01-11 03:17:53 +01:00
Michael Natterer
0891028232
app: forgot to s/gimp:normal-mode/gimp:normal/g
2017-01-11 00:28:57 +01:00
Michael Natterer
9142bb1805
app: move erase and anti-erase to layer-modes/
2017-01-11 00:23:31 +01:00
Øyvind Kolås
0fcc2cd772
app: also fix multiply enum/name mapping
2017-01-11 00:12:45 +01:00
Øyvind Kolås
2ce25045fe
app: fix fix
2017-01-11 00:10:09 +01:00
Øyvind Kolås
33f6398e00
app: fix enum to name mapping for hsv legacy modes
2017-01-10 23:46:01 +01:00
Øyvind Kolås
56ba42a97c
app: correct names of screen and difference layer ops
2017-01-10 21:48:03 +01:00
Øyvind Kolås
71030f49e9
app: duplicate hsv layer modes, and fix alpha handling
2017-01-10 21:48:03 +01:00
Øyvind Kolås
c3e5e30450
app: split legacy lighten only and darken only ops
2017-01-10 11:18:52 +01:00
Michael Natterer
2ed8bd1fce
app: use relative paths in tests/Makefile.am
...
Shorter and more readable.
2017-01-10 10:43:24 +01:00
Michael Natterer
99189d7a28
app: move dissolve to layer-modes/
2017-01-10 09:06:16 +01:00
Øyvind Kolås
153796df9b
app: fix names of addition and subtract ops
2017-01-10 02:29:34 +01:00
Øyvind Kolås
dfcb5c11de
app: add new files for subtract/addition ops
2017-01-10 01:42:34 +01:00
Øyvind Kolås
5a7fd54d34
app: split addition and subract in legacy and new
2017-01-10 01:40:14 +01:00
Michael Natterer
60e1d8e35f
app: move the LCH layer modes to layer-modes/
2017-01-10 01:04:49 +01:00
Øyvind Kolås
92047ea949
app: layer op fission cleanup
2017-01-10 00:00:31 +01:00
Michael Natterer
b001626b31
app: move overlay to operations/layer-modes/ and call it GimpOperationOverlay
2017-01-09 23:54:51 +01:00
Øyvind Kolås
b6be1b768e
app: duplicate difference mode, new and legacy
2017-01-09 23:49:08 +01:00
Øyvind Kolås
9d5893f402
app: add the ops for screen blend ops
2017-01-09 23:25:59 +01:00
Øyvind Kolås
3a50cdcd4f
app: split screen op in legacy and new
2017-01-09 23:19:29 +01:00
Michael Natterer
60dcb17874
app: fix layer mode in test-xcf.c
2017-01-09 22:18:05 +01:00
Michael Natterer
fd070eeb25
app: start moving layer modes into their own build directories
...
New directories:
operations/layer-modes/
operations/layer-modes-legacy/
2017-01-09 21:58:18 +01:00
Øyvind Kolås
076621dd75
app: split dodge op in legacy and new
2017-01-09 20:10:17 +01:00
Øyvind Kolås
c2583faa5a
app: add new multiply op
2017-01-09 20:10:04 +01:00
Øyvind Kolås
735887286a
app: do not let pixel encoding determine layer modes
...
See bug #757485 - woth noting that this also enables linear and thus correct
compositing when using 8bpc perceptual gamma as the layer storage format.
2017-01-09 20:09:50 +01:00
Michael Natterer
07600c6db6
libgimpbase: proper names for the GimpChannelType enum
...
Register the old value names as compat. Also add some forgotten
values and enums to gimpcompatenums.h
2017-01-09 19:40:30 +01:00
Michael Natterer
178794f6f1
libgimpbase: rename enum GimpHueRange's values
...
and add compat cruft for the old names.
2017-01-09 02:45:16 +01:00
Michael Natterer
152adbb1bd
Rename GIMP_LAYER_MODE_FOO_BROKEN to GIMP_LAYER_MODE_FOO_LEGACY
...
"Broken" sounds like it needs fixing, but it's legacy compat stuff
that will have to stay for all eternity.
2017-01-09 01:27:20 +01:00
Michael Natterer
66060e3307
app, libgimp*, plug-ins: replace enum GimpLayerModeEffects by GimpLayerMode
...
with proper value names. Mark most values as _BROKEN because they use
weird alpha compositing that has to die. Move GimpLayerModeEffects to
libgimpbase, deprecate it, and set it as compat enum for GimpLayerMode.
Add the GimpLayerModeEffects values as compat constants to script-fu
and pygimp.
2017-01-08 23:00:19 +01:00
Ell
fc293f04d9
configure.ac: require gexiv2 >= 0.10.3
...
Commit f8e291b
uses the `gexiv2_metadata_get_tag_raw()` function,
which was added in 0.10.3.
2017-01-06 18:24:30 -05:00
Øyvind Kolås
03185f8070
app: normalize some layer mode alpha/opacity handling
...
Make overlay, Lch color, Lch hue, Lch saturation and Lch lightness mode handle
alpha more like how normal does it. This is a change that we ideally might want
applied to other layer modes as well to get rid of MIN() calls.
2017-01-06 04:53:40 +01:00
Michael Natterer
22a95d63a1
app: fix error handling in gimp_tool_preset_deserialize_property()
...
when parsing of an object property fails, we need to set *expected to
G_TOKEN_NONE to tell the config parser that something has gone wrong,
or it will continue parsing and run into trouble with the inconsistent
state (it will try to set an error over the already set error, causing
a warning).
2017-01-06 03:15:39 +01:00
Hartmut Kuhse
66bc98d299
Revert "New GimpMetadata as subclass of GExiv2Metadata"
...
This reverts commit 3ab08c8bfd
.
2017-01-03 19:36:22 +01:00
Hartmut Kuhse
3ab08c8bfd
New GimpMetadata as subclass of GExiv2Metadata
2017-01-03 19:26:35 +01:00
Jehan
8111ad62da
Bug 776417 - improve Sample Average and Sample Merged description.
...
The "accumulated" (color value) adjective does not look like the best
word in both descriptions. Respectively, the first is an averaged
value whereas the second would be a "merged" or "composited" value.
If native speakers have comments or better propositions, they are
welcome to speak up.
2017-01-03 04:21:42 +01:00
Michael Natterer
237d83dc7f
Bug 773462 - Color Picker should support range...
...
...regardless of image color precision
Split enum value GIMP_COLOR_FRAME_MODE_RGB into RGB_PERCENT and RGB_U8,
which display the current % values, and values in a range of 0..255.
2017-01-03 01:20:30 +01:00
Øyvind Kolås
e2bcf88089
XCF: use version >=9 if layer mode is one of the new LCH modes
2017-01-01 21:53:03 +01:00
Jehan
c2665a2e43
app: tooltip of Color Picker's "Sample average" option mixed up.
...
This should be "Sample merge"'s tooltip.
2017-01-01 19:22:29 +01:00
Michael Natterer
3d986425b2
Bug 768058 - Color picker tool should be able to ignore snapping
...
Don't snap to anything when picking colors.
2017-01-01 17:59:26 +01:00
Michael Natterer
adad7c651c
Bug 167203 - color picker tools should always draw outline
...
Move the entire drawing control logic to gimp_color_tool_oper_update()
which gets invoked on hovering, and don't mess with it in
button_press() and button_release(). Tested to work with the color
picker, paint and filter tools.
2017-01-01 17:35:57 +01:00
Thomas Manni
4ac59f842f
Bug 776648 - Spin buttons of histogram box do not take image precision into account
...
Adapt step and page increments of histogram box spin buttons adjustment according to
the number of histogram bins.
2016-12-31 16:15:08 +01:00
Øyvind Kolås
41674893b2
Bug 757686 - There is no easy way to do a radiometrically correct...
...
...invert operation
Add linear invert menu item, and improve invert tooltips.
2016-12-30 15:38:04 +01:00
Kristian Rietveld
7c35d75bf9
Bug 776294 - Screenshot buttons cannot be clicked
...
Disable the new "automatic window tabbing" feature introduced on macOS
Sierra. It breaks GTK+ applications and we would need proper support for
this in GTK+ if we want to use it.
2016-12-28 16:14:40 +01:00
Michael Natterer
af02104365
app: s/gegl:color-reduction/gegl:dither/ in sanity.c and gimpgegltool.c
2016-12-26 18:55:08 +01:00
Michael Natterer
9d4fad1f18
Bug 776503 - brightness-contrast in split preview mode changes...
...
...parameters of the tool
Take GimpFilterTool's split preview guide into account when starting a
drag to change the tool's parameters.
2016-12-26 17:50:11 +01:00
Michael Natterer
fc9da4c9a3
app: allow to toggle the histogram dialog between gamma and linear
...
Change GimpHistogram to take a "gboolean linear" parameter and always
honor that parameter, so both kinds of histograms can now be created
for all drawables.
Add a horrible "Linear" toggle to the histogram dockable which always
defaults to the active layer's actual pixel format, but can be
switched at any time. This UI is ugly and needs to change.
On the PDB, default to gamma-corrected if the plug-in is unaware of
higher precision, and to the drawable's native pixel format otherwise.
Other places using histograms (e.g. levels, curves) are unchanged.
2016-12-26 17:32:17 +01:00
Øyvind Kolås
5627ad589f
app: use gegl:dither instead of gegl:reduction
2016-12-24 19:40:12 +01:00
Michael Natterer
75be560e2a
app: make sure the blend tools doesn't stay around on removed drawables
...
Set gimp_tool_control_set_preserve() to TRUE and set an appropriate
dirty_mask, just like all tools which have a permanent on-canvas state
outside of a simple press-drag-release.
2016-12-24 18:40:25 +01:00
Jehan
e31f8e1195
app: fix indentation.
2016-12-22 17:05:26 +01:00
Jehan
6217527828
app: fix typo s/depecrated/deprecated/.
2016-12-21 22:50:01 +01:00
Massimo Valentini
99050ecee6
Bug 769022 - Improve text along path when path is short.
...
Extend the text along the tangent of the last path stroke.
2016-12-21 22:35:17 +01:00
Jehan
3fa016fb4b
app: clean out tab indentations.
2016-12-21 04:05:32 +01:00
Jehan
3b41d16086
app: cleaned out tabs.
2016-12-20 16:20:42 +01:00
Michael Natterer
31869cb255
app: hide double precision from the Image -> Precision menu
...
unless the image actually *is* in double precision (e.g. due
to being imported from a double precision file).
2016-12-12 11:53:22 +01:00
Michael Natterer
3710c0dd0c
app: hide double precision from File -> New and from templates
2016-12-12 11:52:35 +01:00
Michael Natterer
aaa9ae1ada
Bug 698278 - Preferences|Reset ignores /etc/gimp/2.0/gimprc
...
Make gimp_rc_load() public as gimp_rc_load_system() and
gimp_rc_load_user() and call gimp_rc_load_system() from the
preferences dialog's reset code.
2016-12-11 20:19:42 +01:00
Michael Natterer
350c6ca1f7
Bug 775134 - mypaint-brush: Saved color in a brush isn't taken into account
...
gimp_mybrush_core_create_brushes(): don't set the current FG or BG on
the brush if its RESTORE_COLOR setting is 1.0 (TRUE).
2016-12-11 19:39:33 +01:00
Michael Natterer
619a885696
Bug 775391 - Collapse "Radius" widget when "Sample average" is unchecked
...
Use gimp_prop_expanding_frame_new() for the widgets.
2016-12-07 12:51:48 +01:00
Jehan
afccaa9105
Bug 775646 - Levels Tool: handles difficult to read with dark theme.
...
The white, gray and dark sliders of GimpHandleBar have a black contour.
This makes the white and gray slider visible even with similar colored
background. On the other hand, the black slider is barely visible on a
dark background (and could even be made totally invisible using the same
color). So let's use a light-gray contour on the dark slider, making now
all sliders working with any background color.
2016-12-07 01:40:43 +01:00
Michael Natterer
c3510405c4
app: make sure fg, bg, brush, pattern etc. changes don't write gimprc
...
gimp_dialog_config_fill,stroke_options_notify(): ignore notifications
on the fill and stroke option's parent class properties, they are not
serialized and completely irrelevent here.
2016-12-06 19:24:11 +01:00
Jehan
f296988665
Bug 775396 - Delete Layer/Channel/Path should be consistently the last...
...
option in respective dialogs.
2016-12-04 19:25:00 +01:00
Alexia Death
43681a6d4c
app: flush blur cache and other caches when invalid
2016-11-29 21:25:25 +02:00
Jehan
52ad5bb2a1
app: remove focusability of toolbox buttons.
...
Commit c83ee61
got overridded by commit b5cc2a9
.
Reintroducing the changes.
2016-11-28 15:55:03 +01:00