Michael Natterer
9ec2a3cdeb
app: implement progress canceling in GimpTool
...
In gimp_tool_progress_start(), if the progress is cancelable, grab on
an invisible widget and emit the progress' "cancel" signal when Escape
is pressed.
2014-06-30 00:02:33 +02:00
Michael Natterer
3795c597ba
app: add gimp_projection_stop_rendering()
...
which stops a running chunk renderer and moves its remaining
unrendered region back to the projection's dirty region.
2014-06-29 23:57:22 +02:00
Michael Natterer
2ac5ab7dc3
app: don't use the projection in gimpdisplayshell-render.c
...
The image implements the GimpPickable interface too.
2014-06-29 23:11:53 +02:00
Michael Natterer
34dd127ace
app: don't include gimpprojection.h in gimpdisplayshell-scroll.c
...
It's not needed.
2014-06-29 23:11:12 +02:00
Michael Natterer
0e2b8f236d
Bug 731362 - Merging layers (outside layer folders)...
...
...causes layer folders to expand
In gimp_image_remove_layer(), don't use the top element of
image->layer_stack as the new active layer, because it is simply some
arbitrary layer that was previously selected. That stack is only good
for finding the last active layer when returning from the channels
dialog. Instead, let the proper logic run and use the new active item
returned by gimp_item_tree_remove_item(), which is the layer below the
removed one, if any, or the one above it otherwise.
2014-06-29 21:00:03 +02:00
Michael Henning
2e3e4597ef
app: Slight cleanup in gimpdisplayshell-rotate-dialog.c
2014-06-29 14:58:12 -04:00
Marco Ciampa
4d783340b9
Updated italian translation.
2014-06-27 19:32:41 +02:00
Michael Natterer
5c7e2f5c95
app: add gegl:mirrors to Filters -> Distorts as "Kaleidoscope"
2014-06-27 12:02:16 +02:00
Michael Natterer
88762df4cf
app: more debug output in GimpWarpTool, for fixing the timeout mess...
2014-06-26 14:01:35 +02:00
Michael Natterer
78bc7ac94e
app: improve and clean up the canvas rotation dialog
...
Make the action area buttons behave less unexpected, and add and angle
dial.
2014-06-26 13:48:12 +02:00
Michael Natterer
c0fbbcdac4
app: fix up obsolete comments in GimpImageMap, and reorder members
2014-06-25 18:53:44 +02:00
Michael Natterer
6eba4c716b
app: cleanup in GimpImageMap
...
- don't allow to create a GimpImageMap of an operation without output
- make "region", "mode" and "gamma-hack" settable on a map that
already has a graph
- don't insert a useless "over" if the operation is a source op
- do the gamma-hack always on formats with alpha, so we don't lose
intermediate alpha results on source ops
- simplify graph connection a lot
- in GimpImageMap tool, don't recreate the map when reconfiguring
"region" and "gamma-hack"
2014-06-25 18:16:52 +02:00
Michael Natterer
1ff1c687f4
app: add gimp_image_map_set_mode()
...
which allows to set opacity and paint_mode on the contained
GimpApplicator.
2014-06-24 20:18:34 +02:00
Michael Natterer
6914bbc65f
plug-ins: more gimp_spin_button_new() -> gtk_spin_button_new()
2014-06-22 23:01:31 +02:00
Michael Henning
ef79cfdade
app: Make GIMP_PROJECTION_CHUNK_TIME a gdouble
...
Otherwise, it's immediately rounded to 0.
2014-06-22 10:38:44 -04:00
Michael Henning
19901768e9
docs: Update download location.
2014-06-22 10:25:55 -04:00
Michael Natterer
08ffad9086
plug-ins: some gimp_spin_button_new() -> gtk_spin_button_new()
2014-06-22 00:26:59 +02:00
Michael Natterer
b78d9c9f35
libgimpwidgets: forgot two gimp_spin_button_new()
2014-06-22 00:00:46 +02:00
Michael Natterer
a665c30823
app: gimp_spin_button_new() -> gtk_spin_button_new()
2014-06-21 22:39:37 +02:00
Michael Natterer
eaea58f5e3
libgimpwidgets: deprecate gimp_spin_button_new()
...
it should have never been added in the first place. Port all users
to using gtk_spin_button_new() directly.
2014-06-21 22:35:39 +02:00
Michael Natterer
b9265ebfb9
Bug 731765 - "Value Propagate" dialog's "Propagating rate" spinbuttons...
...
...are much too quick
In gimp_scale_entry_new(), set the spinbutton's climb_rate to the same
value as step_increment instead of hardcoding 1.0. This should make
many spinbuttons behave better.
2014-06-21 16:52:18 +02:00
João S. O. Bueno
d344f5a01f
pygimp: fixes garbage left on previous commit
2014-06-20 19:17:09 -03:00
João S. O. Bueno
e8550148e7
pygimp: adds gimp_image_export functionality to gimp module
...
Implements gimp.image_export and gimp.export_dialog
2014-06-20 17:53:29 -03:00
Michael Natterer
f04ec31478
app: don't leak the property keys hash tables of duplicated Gegl paramspecs
...
This leak never happened because the duplicates are currently never
freed.
2014-06-20 09:00:46 +02:00
Michael Natterer
5e2d91dc0a
app: don't leak the GtkTextBuffers of Gegl multiline text properties
2014-06-20 08:59:42 +02:00
João S. O. Bueno
f7e1dd2501
pygimp: Layers retrieved using "parent" have to be GroupLayers
...
Thanks Seldom Needy for spotting this.
2014-06-19 22:19:52 -03:00
João S. O. Bueno
7359aef9cb
Improves wording in pt_BR translation for bumpmap filter
2014-06-19 21:57:00 -03:00
Michael Natterer
99efd9c1a5
app: make sure the warp tool's canvas circle updates when its size changes
...
and make the undo functions static, no idea why they were not.
2014-06-20 01:14:53 +02:00
Michael Natterer
374fd6cfd6
app: fix some blacklisting typos in GimpGeglTool
2014-06-20 01:14:21 +02:00
Michael Natterer
921bd34495
app: fix GimpCanvasProgress' extents for short progress texts
2014-06-19 23:29:00 +02:00
Michael Natterer
001a75e1d2
app, plug-ins: move Filters/Render/Nature to Filters/Render/Fractals
...
but keep "Nature" around for compat, it's hidden if empty.
2014-06-19 23:11:30 +02:00
Michael Natterer
88450445fc
app: don't unref progress twice in gimp_gegl_apply_cached_operation()
2014-06-19 23:09:41 +02:00
Michael Natterer
40cbbf8faf
app: argh, so much for less stupid
2014-06-19 19:00:23 +02:00
Michael Natterer
5a4e9d0e03
app: make the new rounding code in GimpSpinScale less totally stupid
2014-06-19 18:56:43 +02:00
Michael Natterer
be80f49018
app: round mouse-entered GimpSpinScale values to the spinbutton's precision
...
So the adjustment's value is always what is shown (and can be entered
manually) in the widget. This way a GimpSpinScale will never change
its adjustment on focus-out, and not cause whatever unexpected updates
of its model and whatever is connected to it (like changing the
properties and thus unvalidating the caches of a Gegl graph).
2014-06-19 15:49:27 +02:00
Michael Natterer
77a515dd0f
app, libgimpwidgets: don't set unchanged object properties again
...
gimp_prop_adjustment_callback(): compare the property's current value
before setting it.
2014-06-19 02:01:10 +02:00
Michael Natterer
726f7683f6
app: require gegl:cache in sanity_check_gegl_ops()
2014-06-18 18:53:36 +02:00
Michael Natterer
db2ea536da
app: add an optional gegl:cache at the output of GimpApplicator
...
Add "gboolean use_cache" to gimp_applicator_new(). Don't use a cache
anywhere but in GimpImageMap because it incrementally fills that cache
via the projection update. In gimp_drawable_merge_filter(), get that
cache and pass it to gimp_gegl_apply_cached_operation() which then
avoids doing the work twice for the already cached results. Win!
2014-06-18 18:50:53 +02:00
Michael Natterer
14614cb349
app: add gimp_gegl_apply_cached_operation()
...
which does the same as gimp_gegl_apply_operation() but takes
additional arguments which are a cache buffer and a list of rectangles
that specify the already computed region in the cache buffer.
2014-06-18 18:42:17 +02:00
Michael Natterer
3af1fff5af
app: make the first image jump to the center of the canvas before rendering
...
Make GIMP_DISPLAY_SHELL_FILL_IDLE_PRIORITY a bit higher than
GIMP_PROJECTION_IDLE_PRIORITY which is the priority of chunk
rendering.
2014-06-17 23:29:24 +02:00
Michael Natterer
98f97a9580
libgimp, pdb: port gimp_drawable_curves_explicit,spline() to double
...
and deprecate gimp_curves_explicit,spline().
2014-06-17 22:37:46 +02:00
Michael Natterer
847606d177
app: add back gimp_curves_config_new_spline,explicit()
...
but as versions using gdouble instead of guint8. Use the new functions
from the just renamed _cruft() variants.
2014-06-17 22:23:41 +02:00
Michael Natterer
f5e4f01c52
app: make gimp_curves_config_new_spline,explicit() handle variable #points
...
Also, append _cruft to the function name because they take guint8*
arrays, will add proper ones next.
2014-06-17 21:10:33 +02:00
Michael Natterer
a5fe6c244f
app: same fix for gimp_drawable_curves_explicit()
...
whch is about to change anyway, but better start refactoring from
a correct state.
2014-06-17 20:31:25 +02:00
Michael Natterer
fabcf2ccfe
pdb: actually create a free curve in the gimp_curves_explicit() wrapper
...
It was creating a spline curve that was entirely broken.
2014-06-17 20:23:02 +02:00
Michael Natterer
2124ddebe6
app: make gimp_curve_set_n_points and set_n_samples() public API
2014-06-17 20:07:24 +02:00
Michael Natterer
f21a649053
app: disable row-fetching optimization in gimppickable-contiguous-region.c
...
GeglSampler is now much faster. Leave the #ifdefs there for the time
being for benchmarking purposes.
2014-06-17 20:05:05 +02:00
Massimo Valentini
3b746e9a68
plug-ins: tiff-load call gimp_ui_init when run interactively
2014-06-16 19:33:23 +02:00
Thomas Manni
0206effba0
Bug 731697 - Colorize operation does not restitute alpha channel correctly
...
Copy the src alpha value in GimpOperationColorize.
2014-06-15 23:39:09 +02:00
Michael Natterer
34d96a3a87
all: same changes as in the last commit, for the convert precision dialog
2014-06-15 22:19:33 +02:00