Sven Claussner
7ff7fa84b6
Bug 703218 - Typo in German translation
...
In Edit/Preferences/Tool Options, mouseover text over 'Set layer or path
as active': replace 'Eben' by 'Ebene'
2013-06-28 15:47:20 +02:00
Michael Natterer
7947f24bd8
app: make gimp_operation_tool_set_operation() more readable
2013-06-27 23:42:08 +02:00
Michael Natterer
009b5a967a
app: whitespace cleanup in operations/Makefile.am
2013-06-27 09:13:18 +02:00
Michael Henning
9a6b42a4fd
autogen.sh: also look for automake 1.14
2013-06-26 11:42:45 -04:00
Daniel Sabo
cccc3550af
SSE2 & SSE4.1 versions of GimpOperationNormalMode
...
* Add configure checks for SSE intrinsic code.
* Use SSE helper libraries in app/operations to compile
code with different CFLAGS.
2013-06-25 20:42:15 -07:00
Daniel Sabo
ff9c91ce6f
Use gegl_malloc in GimpTempBuf
...
Which allocates 16 byte aligned memory for SSE code.
2013-06-25 20:40:27 -07:00
Daniel Sabo
8e262c871a
Add SSE3, 4, and AVX gimp_cpu_accel checks
2013-06-25 20:40:27 -07:00
Michael Natterer
b52beecc87
app: port GimpImagePropView's file size querying to GIO
2013-06-25 19:08:12 +02:00
Michael Natterer
f56f6d1255
app: follow the GEGL invert -> invert-linear vs. invert-gamma change
...
and invert masks using invert-linear and other drawables using
invert-gamma. drawable_invert_cmd_callback() still always uses
invert-gamma even though it can be used on layer masks.
2013-06-24 00:45:04 +02:00
Michael Natterer
99b3d9cb72
libgimp: add gimp_component_type_get_type() to gimp.def
2013-06-23 17:48:46 +02:00
Michael Natterer
b14f96dbd0
app: fix tests after the GimpPrecision enum change
2013-06-23 17:24:03 +02:00
Michael Natterer
5506e691b6
app: show the dither dialog when converting between linear and gamma
...
within one bit depth.
2013-06-23 17:15:30 +02:00
Michael Natterer
caf73f5f35
Add support for both gamma-corrected and linear for all bit depths
...
- Add new enum GimpComponentType which contains u8, u16, u32 etc.
- Change GimpPrecision to be u8-linear, u8-gamma, u16-linear etc.
- Add all the needed formats to gimp-babl.c
- Bump the XCF version to 5 and make sure version 4 with the old
GimpPrecision enum values is loaded correctly
This change blows up the precision enums in "New Image" and
Image->Precision so we can test all this stuff. It is undecided what
format will be user-visible options in 2.10.
2013-06-23 16:51:24 +02:00
Clayton Walker
76bdbf6d8f
app: I actually tested it this time
2013-06-23 13:39:18 +02:00
Clayton Walker
fb1d220a3f
app: fix previous commit
2013-06-23 13:24:45 +02:00
Clayton Walker
03f559923b
app: properly initialize more variables
...
Found by Coverity
2013-06-23 13:10:44 +02:00
Clayton Walker
df21310b0f
app: properly initialize variables
2013-06-23 01:41:50 +02:00
Michael Natterer
31e9cc2ad9
Bug 702369 - foreground selection doesnt work with image precision >8 bit
...
This removes the obsolete check which makes the tool fail from
gimp_display_shell_set_mask(). Also change the foreground select tool
and the display mask from using GimpChannel to GeglBuffer, because
that's what it needs, simply buffers. Most changed files simply newly
include <gegl.h> because a GeglBuffer appeared in two headers.
2013-06-22 22:26:46 +02:00
Alexandre Prokoudine
5290963912
Really fix the incorect blurb in PDB.
...
It still said "specified specified".
2013-06-22 11:18:47 +04:00
Alexandre Prokoudine
0756beecc4
Remove duplicated word from a command's description.
...
It said "specified specified".
2013-06-22 09:17:23 +04:00
Téo Mazars
7a0f8ad78e
Bug 701410 - Small artifacts appear when performing a selection
...
Do not allow negative radius.
2013-06-21 20:17:01 +02:00
Michael Natterer
6ad70e33e6
app: gimp_display_shell_selection_init(): fix declaration after statement
2013-06-21 14:37:56 +02:00
Michael Natterer
0a8135b8b0
Bug 701335 - Gimp crashing on creating huge clipboard brush
...
Change the maximum size of clipboard patterns and brushes to 1024x1024.
2013-06-21 12:45:20 +02:00
Daniel Sabo
b10b1ba931
app: Change the opacity param of _pixels to gfloat
...
All the internal math is float, and avoiding the conversion
from double is much faster when using SSE math.
2013-06-19 16:19:34 -07:00
Michael Natterer
4725529dcb
app: remove forgotten members from struct GimpOperationReplaceMode
2013-06-19 22:12:12 +02:00
Michael Natterer
3cf2c4dd87
app: use the "no-cpu-accel" command line option again
...
Call gimp_cpu_accel_set_use() in app_run(). Add "use_cpu_accel"
parameter to gimp_new() and keep it around in the Gimp instance. Pass
the flag to plug-ins again.
2013-06-19 20:45:17 +02:00
Michael Natterer
2e8ef97c13
Bug 701803 - Cage Transform raises segmentation fault...
...
...if layer bounds are changed.
Call gimp_tool_control_set_preserve (tool->control, FALSE) so it is
stopped when the drawable changes.
2013-06-18 19:05:54 +02:00
Michael Natterer
150a3e9c7e
app: don't run graphs that read and write the same buffer
...
Work around artifacts at processing chunk borders by dup()ing the
source buffer. See bug #701875 .
2013-06-18 08:06:24 +02:00
Michael Natterer
94ec249e1e
app: initialize variable in gimp_histogram_view_update_bins()
2013-06-18 00:10:57 +02:00
Michael Natterer
6280e4933a
app: add gimp_handle_bar_connect_events()
...
to replace 3 completely ugly signal connections, repeated in 4 places.
2013-06-17 22:13:48 +02:00
Michael Natterer
640189d01e
app: merge levels_linear_gamma_update() into its only caller
...
also reorder some functions to be in vtable order.
2013-06-17 22:07:31 +02:00
Michael Natterer
ad2a577606
libgimpwidgets: support the same "factor" logic as in app's prop widgets
2013-06-17 02:14:17 +02:00
Michael Natterer
234a05845f
app: use prop widgets in GimpLevelsTool, and generally clean up a bit
2013-06-17 02:07:10 +02:00
Michael Natterer
c8b7ce7006
libgimpwidgets: fix formatting in gimpscaleentry.c
2013-06-17 00:39:15 +02:00
Mikael Magnusson
6afc29543e
app: add gimp_hsl_set_alpha to gimpcolor.def
2013-06-16 20:55:03 +02:00
Mikael Magnusson
cfd360aa03
app: g_return_if_fail (shell_selection) on the public API in gimpdisplayshell-selection.c, move free null check to gimpdisplayshell's dispose()
2013-06-16 20:21:32 +02:00
Mikael Magnusson
6cb9ef6e38
app: add back needed NULL checks
2013-06-16 19:58:47 +02:00
Mikael Magnusson
8115467b65
app: ! has higher precedence than ==, use != instead
...
Found by coverity
2013-06-16 01:34:23 +02:00
Mikael Magnusson
77e6ab690d
app: move deref after NULL check
2013-06-16 01:31:14 +02:00
Mikael Magnusson
0091645129
app: remove pointless NULL checks
2013-06-16 01:31:13 +02:00
Mikael Magnusson
ad0d43da87
app: remove double return
2013-06-15 22:57:10 +02:00
Mikael Magnusson
3c2cb65088
app: don't potentially overread buffer
...
If a file has more than 4kB on the first line and starts with #!, then
we would pass a non-null terminated string to strchr. Found by coverity.
2013-06-15 22:40:49 +02:00
Mikael Magnusson
1947d8def8
app: avoid reading uninitialized memory
...
gimp_rgb_to_hsl and hsl_to_rgb reads the a member, so set it before
calling them. Add gimp_hsl_set_alpha() for this purpose.
Found by coverity
2013-06-15 22:40:49 +02:00
Simon Budig
4852e59ec1
remove some disabled nonfunctional code with german comments.
2013-06-15 22:17:48 +02:00
Michael Natterer
5b999990cb
Bug 702359 - 'New Layer Group' menu command should not have ellipsis
...
so remove them.
2013-06-15 21:09:55 +02:00
Michael Natterer
0a73a787ba
app: remove GimpSpinScale's "factor" API again
...
The method of replacing the spinbutton's adjustment was just waiting
for some future bugs to appear.
2013-06-15 20:53:37 +02:00
Michael Natterer
a009b18a6e
app: use gimp_prop_widget_set_factor() not gimp_spin_scale_set_factor()
2013-06-15 20:52:57 +02:00
Michael Natterer
3fb16c8849
app: GimpHistogramView: fix display when the number of bins changes
...
Also look at "bg_histogram", but only if "histogram" is not set. Fixes
curves tool display after changing image precision.
2013-06-15 20:29:42 +02:00
Michael Natterer
731360a8f7
app: add gimp_prop_widget_set_factor()
...
which allows adjustment-based prop widgets to display the property
value multiplied by factor. Remove gimp_prop_opacity_spin_scale_new()
because that's simply a factor of 100.0.
2013-06-15 01:28:54 +02:00
Michael Natterer
efbe095b66
app: configure GimpBrightnessContrastTool's scales according to image precision
2013-06-14 08:17:39 +02:00