Commit Graph

36997 Commits

Author SHA1 Message Date
Michael Natterer 9c99d61feb libgimpwidgets: add gimp_preview_area_set_color_config()
If a config is set, apply its settings when drawing the preview's
pixels. This is preparation for fixing:

Bug 467930 - color selectors are not color managed
Bug 556608 - Monitor color profile is not applied to filter preview
2016-05-24 21:43:20 +02:00
klausstaedtler 3a458d1756 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-info
gimp-user-manual
gimp-video


all current 24px icons from scalable icons-themes have now
'pixel-perfect' 24px vector twins.

Next step would be 'port' all remaining 22x22px icons to 24x24
(so 22x22 can be deprecated in future builds). As gimp refuses to use
24px for these icons, the 22px icons have to stay until gimp is ready for 24px.
2016-05-23 21:56:05 +02:00
Massimo Valentini 9e96996138 Bug 764608: Smudge tool clips out of gamut channel values...
on layers with alpha channels
2016-05-23 18:45:49 +02:00
klausstaedtler 7a19e5ce44 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-controller
gimp-controller-keyboard
gimp-controller-linux-input
gimp-controller-midi
gimp-cintroller-wheel
gimp-cursor
gimp-sample-point
2016-05-23 17:47:13 +02:00
Michael Natterer cb578e3df7 app: add GimpOperationProfileTransform
which converts between two color profiles.
2016-05-23 14:00:35 +02:00
Michael Natterer 5b4d0219d8 app: add GimpPickable::srgb_to_pixel()
which isn't really for "picking", but it just fits too nicely into
GimpPickable to not put it there.

Also add utility function gimp_pickable_srgb_to_image_color() which
takes a "real" (sRGB) GimpRGB value, transforms it to the pickable's
colorspace and puts it into an "image color" GimpRGB.
2016-05-23 01:33:52 +02:00
Michael Natterer f7842bc8db app: add gimp_image_color_profile_srgb_to_pixel()
which is the reverse of gimp_image_color_profile_pixel_to_srgb()
2016-05-23 01:18:55 +02:00
Michael Natterer 26251695b0 Bug 748749 - picked colors don't match image colors...
...when a color profile is active

Add GimpPickable::pixel_to_srgb() which puts a picked raw image
pixel into a GimpRGB. Default to gimp_rgba_set_pixel() but implement
pixel_to_srgb() in GimpLayer, GimpProjection and GimpImage and
run the pixel through gimp_image_color_profile_pixel_to_srgb().
2016-05-22 23:28:31 +02:00
Michael Natterer c73104e3ea Bug 766327 - gimptool-2.0 not quoting filenames/directories
Quote installation paths with g_shell_quote().
2016-05-22 22:38:12 +02:00
Michael Natterer bb43a89ef8 app: treat the layer mask correctly in gimp_layer_get_opacity_at()
Only take the mask into account if it is actually applied.
2016-05-22 19:53:10 +02:00
Michael Natterer adaa67548e libgimpwidgets: set a minimum width on GimpColorProfileComboBox
so ellipsation doesn't shrink the entire text away in narrow dialogs.
2016-05-22 18:44:59 +02:00
Michael Natterer 836972b736 app: use the new function in GimpTemplateEditor
It now offers the right default profiles for the selected image
type/precision.
2016-05-22 13:26:50 +02:00
Michael Natterer 490b33fd85 app: use the new function in the color profile assign/convert dialog 2016-05-22 13:26:20 +02:00
Michael Natterer ae1fdd9eeb app: fix the new gimp_color_profile_store_add_defaults()
A NULL profile is only an error if it's NULL because opening
the .icc failed, not just because none is configured...
2016-05-22 13:24:20 +02:00
Piotr Drąg 193101b9d7 Updated Polish translation 2016-05-22 13:00:58 +02:00
Dušan Kazik 2f32b94626 Updated Slovak translation 2016-05-22 09:27:04 +00:00
Michael Natterer 57d497b486 app: add gimp_color_profile_store_add_defaults()
which adds default profiles for an image type/precision.
2016-05-22 01:19:18 +02:00
Alexandre Prokoudine 9853400a5b Update Russian translation 2016-05-22 00:44:01 +03:00
Michael Natterer dcf5c526e7 Bug 320447 - fast switching between "color managed display" and "softproof"
Replace the 3-state "off", "display" and "softproof" radio items by
two toggles "enable" and "softproof". Also add separate controls for
display and softproof options.
2016-05-21 21:38:47 +02:00
klausstaedtler 0f3e8ea116 icons: update icon-list.mk 2016-05-21 17:09:53 +02:00
klausstaedtler 92739a5d90 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-template
gimp-tools
gimp-undo-history
2016-05-21 17:04:48 +02:00
Michael Natterer 6b246ff6c2 app: remove ancient utility function gimp_toggle_button_set_visible()
and use g_object_bind_property() instead.
2016-05-21 14:28:11 +02:00
Yolanda Álvarez Pérez 85ca7c5895 Updated Spanish translation 2016-05-21 08:26:12 +00:00
Michael Natterer ce8e484764 app: fix color profile logic in gimp_image_convert_precision()
Not only the logic was broken, a local variable was also shadowing the
"dest_profile" variable and preventing the broken logic to be applied
at all. Double fail.
2016-05-21 00:37:28 +02:00
Michael Natterer eba2d2d88b plug-ins: rename file-darktable format names to "Raw Foo"
so they are ordered together in the file dialogs. Also rename the
procedures to "file-farktable-foo".
2016-05-21 00:01:10 +02:00
Michael Natterer 9f3052583b app: remove gimp_session_write_position()
and un-overengineer the session position accuracy code a bit.
2016-05-21 00:00:07 +02:00
klausstaedtler 21742cca1b icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-device-status
gimp-display-filter
gimp-display-filter-colorblind
gimp-display-filter-contrast
gimp-display-filter-gamma
gimp-display-filter-lcms
gimp-display-filter-proof
2016-05-20 20:12:58 +02:00
Michael Natterer 5080da50e6 app: move the undo impl object typedefs out of the *-types.h files
They are completely private to the undo system and don't need to
be used anywhere else. Removes some clutter from the typed headers.
2016-05-20 18:29:13 +02:00
Michael Natterer 2ef8719cbe app: rename more stuff from "floating sel" to "floating selection" 2016-05-20 16:46:26 +02:00
nmat cf4d0cc40e Fix wrong reference to .ico .cur and resource.h for to fix compilation errors on windows. 2016-05-20 16:14:36 +02:00
Michael Natterer 28e1a379e6 app: remove const qualifiers from all object parameters
They are unreliable because every type checking cast discards them,
they are useless anyway, visual clutter, added inconsistently, and
generally suck. Wanted to do this a long time ago, it was a bad idea
in the first place.
2016-05-19 23:54:14 +02:00
klausstaedtler 71dfbbf9c2 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-question
gimp-warning
gimp-error
2016-05-19 19:54:23 +02:00
Michael Natterer 2b170e3a80 app: include gimpdrawable-floating-selection.h in gimplayer-floating-sel.c 2016-05-19 19:22:09 +02:00
Michael Natterer 81fd3e9c3f app: move GimpDrawable's FS to gimpdrawable-floating-selection.[ch]
and refactor it a bit to have separate functions for adding, removing
and updating the FS' drawable filter. Should be a lot more
understandable now.
2016-05-19 17:40:33 +02:00
Piotr Drąg eacfd6a9ca Updated Polish translation 2016-05-19 16:06:30 +02:00
Piotr Drąg c7bc0b5f07 Fix typos in app/actions/view-actions.c 2016-05-19 15:59:51 +02:00
klausstaedtler dfd2e56250 icons: color-scalable & symbolic-scalable&legacy
add 'pixel-perfect' 24x24px twins
gimp-selection
gimp-navigation

the legacy png icons are done with GIMP (no upscaling).

color-scalable & symbolic-scalable

add 'pixel-perfect' 24x24px twins
gimp-floating-layer
2016-05-18 18:53:59 +02:00
Michael Natterer 79cdbadc95 plug-ins: replace some gimp_spin_button_new() by plain GTK+ calls 2016-05-18 09:49:22 +02:00
Michael Natterer 201b11e230 app: add separate opacity and mode API to GimpDrawableFilter 2016-05-18 09:47:58 +02:00
Michael Natterer 265dfec525 app: split GimpApplicator's opacity and mode API into two functions
Added gimp_applicator_set_opacity() and remove the opacity argument
from set_mode().
2016-05-18 01:51:09 +02:00
Jehan 1c6b85d0a5 configure: request libmypaint version 1.3.0 or higher.
libmypaint just got ported to autotools, which makes GIMP again easily
built on all kind of platforms. There is no need to rely on older
versions of this library which would only give us headaches.
2016-05-17 21:47:37 +02:00
klausstaedtler 8370fb13a7 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-colormap
gimp-transparency
gimp-web
2016-05-17 20:07:38 +02:00
Massimo Valentini 3a43478fda Bug 766116: Behind mode is not working correctly
use same var names as gimp-2-8 to make
it easier to spot unwanted differences
2016-05-17 19:56:39 +02:00
Alexandre Prokoudine d41e362b8c Update Russian translation 2016-05-17 01:12:17 +03:00
klausstaedtler d83692a70a icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-center
gimp-channel
gimp-channel-alpha
gimp-channel-blue
gimp-channel-gray
gimp-channel-green
gimp-channel-indexed
gimp-channel-red
gimp-channels
2016-05-16 22:56:22 +02:00
klausstaedtler ea3c9b7829 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-layer
gimp-layer-mask
gimp-layers
gimp-text-layer
2016-05-16 18:36:27 +02:00
Massimo Valentini 2dd4d3a2fa Bug 766369: Split view shows transparency filtering...
... layers with alpha channel

add an operation that selectively outputs aux
or source if out/inside the rectangle (x,y,width,height),
independently of the alpha channel and use it
in filters split preview.

mostly copied from gimp:mask-components
2016-05-16 18:08:48 +02:00
Michael Natterer c0fb136203 app: add tooltips that mention that disabling color management == sRGB
Also say "better leave this enabled".
2016-05-16 17:41:04 +02:00
Michael Natterer 335727dd26 libgimpwidgets: change the tooltip of GimpColorConfig:mode
to say "How images are displayed on screen." instead of "Mode of
operation for color management.". The old text was never accurate.
2016-05-16 17:38:49 +02:00
klausstaedtler 0bc53235b2 icons: color-scalable & symbolic-scalable
add 'pixel-perfect' 24x24px twins
gimp-symmetry
gimp-image
gimp-images
2016-05-16 16:42:23 +02:00