Michael Henning
c249387df8
app: Fix -u flag to refer to GimpSettings, not GimpImageMapConfig
2013-05-25 11:11:28 -04:00
Michael Natterer
f9b7979af0
app: somehow the new app/core/gimpsettings.[ch] didn't get committed
2013-05-25 16:48:38 +02:00
Michael Natterer
a9ddcde6ed
app: change projection idle chunk size back to 256x128
...
because it made applying of expensive filters pretty unresponsive.
Don't revert commit b7b504d624
tho
because it also moves the #defines to a proper place.
2013-05-25 16:37:52 +02:00
Michael Natterer
1a107722ea
Bug 578695 - gimptool-2.0 does not respect $DESTDIR
...
Don't mention DESTDIR in the gimptool manual page.
2013-05-25 16:12:49 +02:00
Michael Henning
e4d6c7c1af
plug-ins: Fix loading images with premultiplied alpha in file-tiff-load
2013-05-25 09:47:48 -04:00
Michael Natterer
9072bf331a
app: rename GimpImageMapConfig to GimpSettings
...
It was misnamed from the beginning and has no relation to GimpImageMap
except that it happens to be used by GimpImageMapTools. Now it feels
less weird to potentially use it for other settings too.
2013-05-25 15:26:18 +02:00
Michael Natterer
51181648f7
Bug 700707 - Missing time data in tool-options/*.settings files
...
strftime() the time using %H:%M:%S which should work on
all platforms, unlike %T.
2013-05-25 11:21:15 +02:00
Michael Henning
feceb05997
plug-ins: Use babl for premultiplied alpha in file-tiff-save
2013-05-24 22:01:38 -04:00
Michael Natterer
df22570727
app: simplify gimp_tool_set_[active]_modifier_state()
...
by factoring out bits of code that were repeated 8 times, also
make sure we actually pass TRUE or FALSE as gboolean, and not some
(state & MODIFIER).
2013-05-25 02:09:33 +02:00
Michael Henning
5d950b3684
plug-ins: Fix babl formats in file-tiff-load
2013-05-24 18:41:48 -04:00
Michael Natterer
c4460e846b
Bug 622934 - Migrate from dbus-glib to glib's GDBus
...
Drop the glib-dbus dependency and port stuff to GDBus. Use it
unconditionally if not on Windows or OSX. It seels to work just like
before but I have no idea if everything is really correct.
2013-05-24 23:25:47 +02:00
Michael Natterer
564e6010fd
Bug 700675 - Missing menu locations for registration and other menu...
...
Remove the legacy <Toolbox>, <Load> and <Save> from the error message
that states which plug-in menu paths are valid, and add the missing
<Fonts> and <ToolPresets>. Also actually handle <ToolPresets>, this
was apparently forgotten.
2013-05-24 09:23:52 +02:00
Michael Natterer
d4bb6e0fe7
app: some general cleanup in seamless clone
2013-05-23 23:12:17 +02:00
Michael Natterer
fb7ae4ba48
app: reorder functions in GimpSeamlessCloneTool to standard order
2013-05-23 22:59:51 +02:00
Michael Natterer
278def0bf9
app: set the warp tool's image_map to DRAWABLE mode
2013-05-23 19:30:46 +02:00
Michael Natterer
f294225af2
app: add new API gimp_image_map_set_region()
...
which sets either SELECTION or DRAWABLE. In SELECTION mode (the
previous hardcoded default), the effect is offset to the selection
boundary, in DRAWABLE mode, the effect's coordinates are drawable
coordinates.
2013-05-23 19:29:02 +02:00
Massimo Valentini
e378a29a91
app: fix warping an offset layer with selection
2013-05-23 19:03:31 +02:00
Michael Natterer
fdfa2c782d
app: integrate transform tool undo with normal image undo
...
Also clean up formatting a bit, and add gimp_transform_tool_halt()
which really cleans the tool's state, so we don't end up with wrong
undo/redo actions in a new tool interaction.
2013-05-23 16:02:42 +02:00
Michael Natterer
90d7551a5b
app: remove forgotten <Toolbox> handling from plug-in-menus.c
...
This can't happen any longer because it's mapped to other menu
locations earlier.
2013-05-23 11:47:05 +02:00
Michael Natterer
79c0ab31c2
app: some skeleton code for better warp cursors, does nothing
2013-05-22 23:59:44 +02:00
Michael Natterer
72e0743067
app: fix some broken wrap undo/redo behavior, and factor out common code
2013-05-22 23:47:31 +02:00
Michael Natterer
f862bfb342
app: don't leak all new warp ops, don't abort the image map on undo/redo
2013-05-22 23:37:22 +02:00
Michael Natterer
867c5721a6
app: implement redo in the warp tool
2013-05-22 23:26:07 +02:00
Michael Natterer
2a93677b0c
app: implement undo in the warp tool, no redo yet
2013-05-22 23:01:51 +02:00
Michael Natterer
f51c8af556
app: remove the deleted node from the graph in gimp_warp_tool_undo()
2013-05-22 22:48:37 +02:00
Michael Natterer
b601018e33
app: update the display in a "changed" handler of the warp stroke
...
and get the update extents from the signal's "roi" parameter. Should
be more correct but produces more artifacts for me. Either this patch
is broken, or (more likely) this triggers a bug.
2013-05-22 22:43:32 +02:00
Michael Natterer
b7b504d624
app: double the chunks of the projection idle renderer: 256x128 -> 512x256
2013-05-22 21:20:23 +02:00
Michael Natterer
3eadcd5e9e
app: don't leak all warp strokes, unref them in button_release()
2013-05-22 09:01:54 +02:00
Michael Natterer
6938486471
app: make warp honor the layer offset
2013-05-22 02:21:07 +02:00
Michael Natterer
8e95b72b64
app: reorder GimpWarpOptions properties so "behavior" is first
2013-05-22 01:10:30 +02:00
Michael Natterer
27fbc0a05e
app: remove a bunch of unneded #includes from warp
2013-05-22 01:06:55 +02:00
Michael Natterer
a7eb1ee1a2
app: #ifdef warp debug printfs away
2013-05-22 01:04:29 +02:00
Michael Natterer
0dbb8b8cb6
menus: add the warp tool to Tool -> Transform
2013-05-22 00:50:28 +02:00
Michael Natterer
9426a94617
app: fix default tool order, warp is at the end of transform tools
2013-05-22 00:49:29 +02:00
Michael Natterer
b63be0e79a
app: reorder warp tool functions to be in standard order
2013-05-22 00:47:43 +02:00
Michael Natterer
2264dc8d63
app: add gimp_warp_tool_halt() and make the tool's life cycle sane
...
Particularly, don't start any graph and imagemap madness in
oper_update().
2013-05-22 00:33:50 +02:00
Michael Natterer
78f6369114
app: general cleanup and formatting attack in the warp tool
2013-05-22 00:08:14 +02:00
Michael Natterer
199565f765
app: flush the display less aggressively, new GimpImageMap style
2013-05-21 23:46:33 +02:00
Michael Natterer
dff3f85c0d
app: fix some warp tool brokenness and make it build
2013-05-21 23:36:42 +02:00
Michael Muré
35888a3848
warp tool: fix undo when imagemap is busy
2013-05-21 23:28:43 +02:00
Michael Muré
e5545f4a4f
warp tool: range the range of the strength to 1-->100
2013-05-21 23:28:43 +02:00
Michael Muré
7193cdd72c
warp tool: fix the undo to update the whole dirtied area
2013-05-21 23:28:43 +02:00
Michael Muré
877c2ef96e
warp tool: fix one reason that make the outline not moving along the stroke
2013-05-21 23:28:43 +02:00
Michael Muré
a260039ec9
warp tool: fix wrong computation of the area to update and remove an uneeded anymore preview timer
2013-05-21 23:28:43 +02:00
Michael Muré
6abf634189
warp tool: fix commiting the deformation not working
2013-05-21 23:28:43 +02:00
Michael Muré
afa98e6ece
warp-tool: temporary fix to update the preview with imagemap apply_region, not totally working
2013-05-21 23:28:42 +02:00
Michael Muré
81647f3531
warp-tool: probably bad change to use the apply_region of imagemap
2013-05-21 23:28:42 +02:00
Michael Muré
c3bb13ce26
warptool: enable the caching in imagemap
2013-05-21 23:28:42 +02:00
Michael Muré
7aa7c5814c
warptool: use the warp operator imported to gegl
2013-05-21 23:28:42 +02:00
Michael Muré
57adfee72b
warptool: some quick cleaning
2013-05-21 23:28:42 +02:00