Commit Graph

37817 Commits

Author SHA1 Message Date
Jehan 3bab69310e plug-ins: variable alignement.
Extreme nitpicking on commit 6e608f6, I'm sorry!
I just couldn't let go this very slightly misaligned variable.
2017-01-01 19:16:32 +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
Sebastian Rasmussen 38d4bdcb41 Update Swedish translation 2016-12-30 22:03:53 +00:00
Michael Schumacher 1ed5def8e7 Bug 728633 - Improvements to the file-raw plugin
Merge branch bug-728633 to introduce the file-data-raw changes.
2016-12-30 21:41:38 +01:00
Michael Schumacher 779649bdb7 Merge branch 'master' into bug-728633 2016-12-30 21:14:44 +01:00
Ell ce9e7feabd metadata: small fix 2016-12-30 14:49:59 -05:00
Øyvind Kolås c9520bae6d libgimpwidgets: make color chooser scales range to 100.0 instead of 255
Still using perceptual TRC - making 50% middle gray.  This for all of 8bit and
16bit integer, as well as for floating point precisions. Also added a decimal point, to make use of more precision for both RGB and HSV entries.
2016-12-30 17:45:00 +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
Ell 69adce4c75 metadata: don't truncate IPTC values
... since they're (theoretically) user-editable
2016-12-30 09:24:49 -05:00
Ell f8e291bf31 Bug 769112 - The metadata windows takes a lot of CPU.
Exif tags may have long values, which can choke GTK if we display
them in their entirety.  Truncate tag values (based on type, and
with proper indication) to avoid that.

This commit also hides private tags, and fixes some memory leaks.
2016-12-29 22:10:38 -05:00
Ell 3c2b4df6e6 libgimpwidgets: handle invalid enum values in gimp_enum_store_set_icon_prefix()
If the store has invalid enum values the function segfaults,
instead of just ignoring them.  We use -1 to represent separator
rows in the layer mode combo; if we end up adding icons to this
combo, we need it... not to segfault.  Since this is public API,
it should probably be prepared to handle such uses regardless.
2016-12-28 19:51:16 -05: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 Schumacher 0c0c86d286 Bug 776515 - pdbgen.pl generated code includes tabs 2016-12-27 01:07:47 +01:00
Michael Schumacher b6e7d19e4f Merge branch 'master' into bug-728633 2016-12-26 20:01:06 +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
Piotr Drąg d5bd26fd29 Update Polish translation 2016-12-25 21:26:35 +01:00
Khaled Hosny 33ee7f9f42 Update Arabic translation 2016-12-25 00:48:39 +02:00
Cameron Gregory 6e608f6aae Bug 626494 - Enhancement to script-fu-server logging to output milliseconds taken 2016-12-24 23:42:48 +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
Martin Srebotnjak da9957fb26 Updated Slovenian translation 2016-12-22 14:37:56 +01:00
Martin Srebotnjak 67b51ca244 Updated Slovenian translation 2016-12-22 14:37:09 +01:00
Martin Srebotnjak 9f7db893e7 Updated Slovenian translation 2016-12-22 14:35:24 +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
Jordi Mas 0d89f5b1e2 Update Catalan translation 2016-12-20 21:07:14 +01:00
Ell f91e2a94a7 imagemap: clear preview area background before drawing image
Previously, we neither cleared the preview area's buffer, nor set
its max size, so if the preview area was bigger than the image, the
rest of the widget would display garbage.

This is an ad-hoc-ish fix, simply filling the preview area's buffer
with the background color prior to drawing the image.  Anything
more sophisticated will have to wait till image maps are cool
again, I guess :)
2016-12-20 14:13:58 -05:00
Jehan 0cdca57d12 plug-ins: use an epsilon to compare double values.
Also take into account the case when the minimum possible print
resolution is higher than the expected image resolution. We don't want
to remember the print resolution if it is this lower value either.
See commit 7335dc8.
2016-12-20 16:21:08 +01:00
Jehan 3b41d16086 app: cleaned out tabs. 2016-12-20 16:20:42 +01:00
Jehan 7335dc8dc2 Bug 776017 - Print resolution changes not taken in account...
... for second printing.
Do not save in parasite the resolution used in the print plug-in when
it is the image intended resolution. This allows to take into account
changes of print resolution in successive printing. Only save it when
different since one may have reasons and we should not interfere.
2016-12-20 16:20:36 +01:00
Jehan 4827116ac9 plug-ins: add a "Load Defaults" button to reset print resolution...
... in the print plug-in.
The resolution set during printing may be different from the print size,
for various reason (home printing vs. printshop for instance). The print
plug-in's resolution is saved and reused from a non-persistent parasite,
thus masking actual intended print resolution. Adding this button allows
to reset this temporary value to the intended resolution at any time.
2016-12-20 16:20:27 +01:00
Balázs Meskó 9f15ad65b1 Update Hungarian translation 2016-12-13 08:54:05 +00:00
Balázs Meskó 4357e8f77b Update Hungarian translation 2016-12-13 08:24:56 +00:00
Balázs Meskó 2a1e215515 Update Hungarian translation 2016-12-13 08:19:00 +00:00
Jordi Mas 1b0ec3210a Update Catalan translation 2016-12-13 07:01:19 +01:00
Marco Ciampa 6e29680d5d Updated Italian translation 2016-12-12 22:39:33 +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
Tiago Santos d226816100 Update Portuguese translation 2016-12-05 22:12:09 +00:00