Jehan
eeab960b78
libgimp: update function documentation.
...
Two deprecated functions were not following the same documentation
pattern as the others.
2015-11-02 17:43:38 +01:00
Jehan
2e40768ea5
pdb: update documentation for brush-related functions.
...
Blurbs use third person and need a final point.
Some description were wrong or inaccurate. Add also units where
needed (radius in pixels, angle in degrees).
Some returned values have to be freed.
2015-11-02 17:19:56 +01:00
Michael Natterer
1b2076cf69
app: save the "gimp-xcf-compatibility-mode" parasite in network byte order
2015-10-31 19:28:36 +01:00
Michael Natterer
feb0790cc4
plug-ins: file-xmc: use GeglRectangle instead of GimpParamRegion
2015-10-31 19:10:51 +01:00
Michael Natterer
2c19689518
app: clean up XCF compat code in file_save_cmd_callback()
...
Add local boolean "compat_possible" to make it more obvious what the
compat logic does.
2015-10-30 16:46:38 +01:00
Michael Natterer
1b99f57e47
app: fix GIMP_NEW_OVERLAY_MODE in gimp_image_get_xcf_version()
...
Don't abort the layer checking loop too early, and make sure to
iterate all layers, not just the toplevel. Spotted by Jonathan Tait.
2015-10-29 12:02:02 +01:00
Dimitris Spingos
a79af7d6aa
Updated Greek translation
2015-10-28 11:49:56 +02:00
Michael Natterer
85a5c10620
icons: fix EXTRA_DIST so the new 96px wilber icons are in the tarball
2015-10-27 22:12:17 +01:00
Michael Natterer
ace40d125d
Bug 735891 - color areas in the color picker info window are half transparent
...
Add code to GimpOverlayChild which can render arbitrary children of
the widget fully opaque, ignoring the configured opacity.
Add gimp_widget_get,set_fully_opaque() which gets/sets a per-widget
boolean flag to trigger that code.
Set the color picker's and the text tool style widget's color areas to
fully opaque.
2015-10-27 21:41:32 +01:00
Michael Natterer
6ad5530408
Bug 756895 - Floating panel translucency is annoying and unnecessary
...
Reduce the on-canvas dialog opacity by 50%, the goal is to get an idea
what part of the image os covered, not to actually see it.
2015-10-27 09:39:23 +01:00
Michael Natterer
964924ed47
icons: rename the unused scalable icons from stock-foo.svg to gimp-foo.svg
...
even if unused they should have the correct names.
2015-10-26 08:17:35 +01:00
Michael Natterer
e00c28ec71
app: use the new icons
2015-10-26 08:14:05 +01:00
Michael Natterer
078b210b3e
icons: add gimp-wilber-outline.png in large sizes
...
for compositing the image window icon. By Guillermo Espertino.
2015-10-26 08:13:47 +01:00
Michael Natterer
917a63d189
app: move the image thumbnail bottom-left in the window icon
...
the wilber is already to-right, it just needs better images for this
purpose.
2015-10-26 02:13:22 +01:00
Michael Natterer
cece88ba95
app: fix call to gdk_pixbuf_composite() when rendering the window icon
2015-10-26 01:58:00 +01:00
Michael Natterer
37b20b08c9
icons: add 96, 128, 192 and 256 px wilber icons
...
so whatever desktop environment can use what they like best.
2015-10-26 01:32:50 +01:00
Michael Natterer
19b984e1df
app: fix the image window's thumbnail size and shape
...
and render a wilber on top of it, yay! Step one, this can still be
nicer...
2015-10-26 01:09:08 +01:00
Michael Natterer
eb5094b9f7
plug-ins: decompose: move "run_mode" to a local scope
...
and some tiny cleanups.
2015-10-25 23:47:43 +01:00
Pedro Albuquerque
c8500cfa0e
Updated Portuguese translation
2015-10-23 18:22:59 +00:00
Pedro Albuquerque
a9e2f5e635
Updated Portuguese translation
2015-10-23 18:20:30 +00:00
Michael Natterer
0cfd6d2d01
Bug 756701 - Decomposing to HSL produces HSV layers
...
Fix the name of the decomposed lightness layer to "lightness", it used
to be "value" due to a copy/paste error. Spotted by Massimo.
2015-10-22 20:16:25 +02:00
Michael Natterer
68a9835d56
Bug 756822 - Colors/Desaturate/Luminosity should operate on linear RGB
...
Add GIMP_DESATURATE_LUMINANCE to enum GimpDesaturateMode and rename
GIMP_DESATURATE_LUMINOSITY to GIMP_DESATURATE_LUMA.
Keep GIMP_DESATURATE_LUMINOSITY as deprecated compat value and add it
to the script-fo and pygimp compat constants.
Change GimpOperationDesaturate to process GIMP_DESATURATE_LUMINANCE
with linear "RGBA float".
2015-10-22 19:50:56 +02:00
Michael Natterer
f5f88b8134
plug-ins: fix some compiler warnings in file-xmc
...
and some minor formatting cleanup.
2015-10-22 19:29:35 +02:00
David Gowers
c6563b676f
Bug 665187 - Fuzzy Select by Alpha
...
Implement 'Alpha' criterion for selection tools
2015-10-22 19:05:01 +02:00
Michael Natterer
ac1c6d7864
app: add progress reporting to gimp_drawable_convert_type()
...
so it doesn't sit there appearing to do nothing while converting an
image with profile to gamma/linear.
2015-10-21 22:22:30 +02:00
Michael Natterer
4e04e2ff30
Revert "Bug 751553 - Linear precision doesn't display the image correctly"
...
This reverts commit 61ae6b10de .
Re-enable color profile conversion on precision conversion, it's
fixed now.
2015-10-21 20:27:06 +02:00
Michael Natterer
e2f3a05d44
Bug 751553 - Linear precision doesn't display the image correctly
...
Fix copy/paste bug in gimp_color_profile_get_rgb_matrix_colorants()
which returned a broken XYZ triple for the blue component. Spotted by
Massimo.
2015-10-21 20:25:06 +02:00
Michael Natterer
b9305c7e67
app: make color profile conversions undoable again
...
which I broke in commit abe3ad37 . Spotted by Massimo.
2015-10-21 20:23:55 +02:00
Michael Natterer
61ae6b10de
Bug 751553 - Linear precision doesn't display the image correctly
...
Disable the new conversion code, something is broken...
2015-10-21 00:27:34 +02:00
Michael Natterer
ecd4752072
Bug 751553 - Linear precision doesn't display the image correctly
...
When converting and image with a color profileimage between linear and
gamma, create a new profile using the new API in GimpColorProfile,
convert the layers to that profile and tag the image with the new
profile.
If creating a new profile fails, convert to the right builtin profile
(linear rgb or sRGB from GimpColorProfile), but that code should be
considered a fallback that will be prevented from happening in the
convert dialog (at least the user will be informed).
2015-10-20 23:53:47 +02:00
Michael Natterer
6eb9f9d4aa
libgimpcolor: add API to create profile variants with linear/sRGB gamma
...
and the original profile's RGB chromacities and whitepoint.
2015-10-20 20:13:40 +02:00
Pedro Albuquerque
5f7dc5fe3a
Updated Portuguese translation
2015-10-19 06:12:08 +00:00
Pedro Albuquerque
f556bb3f8e
Updated Portuguese translation
2015-10-19 06:09:18 +00:00
Michael Natterer
abe3ad3780
app: use gimp_gegl_convert_color_profile() to profile-convert images
...
instead of duplicating the almost identical code.
2015-10-19 01:51:35 +02:00
Michael Natterer
69abd4d972
app: add progress handling to gimp_gegl_convert_color_profile,transform()
2015-10-19 01:29:22 +02:00
Michael Natterer
13c2721cde
libgimpcolor: clean up profile creation in GimpColorProfile
...
Use shorter and consistent local variable names, improve the unused
function that creates a linear/sRGB-gamma profile from another RGB
profile.
2015-10-19 01:14:35 +02:00
Michael Natterer
7521591061
app: fix typo: s/flip_result/clip_result/ in gimpitem.h
2015-10-18 21:00:21 +02:00
Michael Natterer
91fbc3af01
Bug 734573 - Zoom to selection
...
Implement View -> Zoom -> Zoom to Selection using
gimp_display_shell_scale_to_rectangle()
2015-10-18 15:26:17 +02:00
Michael Natterer
5bc9ad947a
app: fix gimp_display_shell_scale_to_rectangle() to also do only scrolling
...
which means: also scroll to the rectangle if the scale doesn't change.
2015-10-18 15:18:23 +02:00
Michael Natterer
ded7c8f585
app: add gimp_display_shell_scale_to_rectangle()
...
and move the magnify tool's rectangle zoom logic to the new function.
2015-10-18 14:59:30 +02:00
Michael Natterer
b7f471b1a3
app: change some integers in gimpdisplayshell-scale.c to gdouble
...
which does not have any effect by itself, but is needed for fixing
viewport calculation for rotated canvases.
2015-10-18 14:40:19 +02:00
Michael Natterer
7e62875d48
plug-ins: port file-xwd-save to GIO
...
and properly format all prototypes in the file.
2015-10-18 14:26:25 +02:00
Michael Natterer
195d5c760b
plug-ins: pedantic function reordering in file-header.c
2015-10-17 23:28:45 +02:00
Michael Natterer
10e07292ec
configure.ac: add -Wlogical-op and -Wtype-limits
2015-10-17 20:16:18 +02:00
Michael Natterer
7ec04e4afe
app: get rid of hardcoding GDK_SHIFT_MASK in tools/
...
gimp_suggest_modifiers(): change "shift_format" and "control_format"
parameters to "extend_selection_format" and "toggle_behavior_format",
which fixes the longstanding problem that the function did the right
thing only by accident.
tools: use gimp_get_extend_selection_mask() instead of GDK_SHIFT_MASK
which is not 100% semantically correct in all cases, but at least a
step in the right direction to make the tool modifiers easier to
improve.
2015-10-17 15:31:08 +02:00
Pedro Albuquerque
1318015adc
Updated Portuguese translation
2015-10-17 06:57:38 +00:00
Michael Natterer
a2ad257711
Bug 756678 - Layer opacities change upon saving and reopening an xcf file
...
Add new XCF property FLOAT_OPACITY and always save both the old 8-bit
and the new float opacity of layers and channels. Float opacity is
saved after the 8-bit one so when loading, it overwrites the limited
8-bit value with the proper precision. Do not increase the XCF version
number because old GIMP versions will simply skip the unknown
FLOAT_OPACITY and keep using the 8-bit value.
2015-10-16 21:59:11 +02:00
Øyvind Kolås
8ca9bfc291
app: burn-mode, invert before blending
2015-10-15 13:52:20 +02:00
Øyvind Kolås
23f118632c
app: clamp blended results for some compositing ops
...
Quite probably we shouldn't even clamp at the end, not doing that would speed
up compositing. See bug 744265.
2015-10-15 00:25:01 +02:00
Michael Natterer
940349c564
plug-ins: add the legacy difference of gaussians back to the menus
...
until we have sorted out the differences to the new GEGL op.
2015-10-14 23:10:03 +02:00