Michael Natterer
21ea6216f7
app: gimp_image_rotate(): fix rotation of sample points
...
and also notify the image of guide and sample point movements after
rotation. This was probably broken since the introduction of canvas
items.
2014-05-24 22:41:21 +02:00
Michael Natterer
62cbd3eac3
app: show the region combo only if the op has the "position-dependent" key
...
otherwise, hide it and default to SELECTION.
2014-05-24 03:06:24 +02:00
Michael Natterer
bb73acbb15
app: create an empty node with the gegl:nop operation
...
so we can safely ask for its name (workaround for GEGL warning).
2014-05-24 03:04:26 +02:00
Michael Natterer
3550132ac7
app: add support for picking GEGL relative-coordinate values
...
Also, don't link relative coordinates by default, and remove some crap
heuristics that predate property keys.
2014-05-24 01:38:15 +02:00
Michael Natterer
6c5515c676
app: allow to specify the workarea of GEGL ops in the GEGL tool GUI
...
Add a combo that switches between "selection" and "entire layer".
Need to find a way to hide that thing when the setting makes no
difference. Also the combo is generally pretty much experimantal.
2014-05-24 01:07:28 +02:00
Michael Natterer
41fc19e7b3
pdb: fix workarea of some plug-in compat procecures
...
If the removed plug operated on the selection bounds, translate and
crop the GEGL op accordingly to get the same result. Also adapt to
new relative coordinates in some GEGL ops.
2014-05-24 00:47:23 +02:00
Michael Natterer
b7491bf5cb
app: use the grid icon for gegl:grid
2014-05-22 23:30:49 +02:00
Michael Natterer
413846475f
app: make GimpOperationTool manage an icon name for the GUI
...
and add an icon_name parameter to gimp_operation_tool_set_operation().
2014-05-22 23:29:59 +02:00
Michael Natterer
453882c81e
app: add gimp_tool_gui_set_icon_name()
2014-05-22 23:29:24 +02:00
Michael Natterer
7d89de708e
app: GimpViewableDialog:icon-name doesn't need to be CONSTRUCT_ONLY
...
It works fine to set it after construction.
2014-05-22 23:28:19 +02:00
Michael Natterer
7647b0d3a0
Bug 730550 - Layers incorrectly positioned on screen
...
gimp_group_layer_update_size(): update the group layer's offset node
before reallocating the group's projection, or we might render the
group projection's buffer with the old offsets.
2014-05-22 20:48:50 +02:00
Michael Natterer
f0ebc09422
app: remove newline in GimpFilterStack
2014-05-22 20:48:50 +02:00
Michael Natterer
7ae3612485
app: GimpBrightnessContrastTool: don't call gimp_image_map_tool_preview()
...
it was redundant because the function already modified the config
object.
2014-05-22 01:25:01 +02:00
Michael Natterer
ebb663e1c6
Revert "app: add a small delay when applying a GUI change in GimpImageMapTool"
...
This reverts commit d46a8335e6
,
it was a bad idea (like this at least).
2014-05-22 01:17:52 +02:00
Michael Natterer
d46a8335e6
app: add a small delay when applying a GUI change in GimpImageMapTool
...
This keeps the tool more responsive for expensive ops, since multiple
fast changes are compressed into one call to gimp_image_map_tool_preview().
2014-05-22 00:50:21 +02:00
Michael Natterer
d3966c2c90
app: add more accessors to GimpGrid and use them instead of grid->foo
2014-05-21 21:44:28 +02:00
Michael Natterer
5e2ded5020
app: add gimp_grid_get_spacing() and gimp_grid_get_offset()
...
and do the rounding to integer there instead of in several places.
2014-05-21 21:25:41 +02:00
Michael Natterer
08c6aefa23
Bug 588512 - Grid Spacing errors depending on unit
...
Always round grid spacings and offsets to integer precision when
using them for snapping and grid drawing. While we might *want* to
have subpixel precision grids, all the UI is pretending it to be
on pixel boundaries. Make that pretense an fact.
2014-05-21 20:43:05 +02:00
Michael Natterer
d1b8a715c2
app: ref/unref layer->fs.drawable in gimp_layer_set_floating_sel_drawable()
...
It always felt wrong not to ref it, but now it started crashing. Dunno
what exactly has changed, but for example the "Weave" script was
triggering it.
2014-05-20 23:39:53 +02:00
Michael Natterer
40030e084b
plug-ins, pdb: remove the deinterlace plug-in and add a PDB compat proc
2014-05-20 21:30:42 +02:00
Michael Natterer
f3092ebfa4
app: minor cosmetic cleanup in the GEGL property code
2014-05-20 20:47:31 +02:00
Øyvind Kolås
b919d7a82f
app: use step, page and digits as provided by gegl pspecs
2014-05-20 16:16:48 +02:00
Michael Natterer
bbf01ebabf
libgimpwidgets, app: add gdk_screen_get_monitor_workarea()
...
to the gimp3migration hack and use it where appropriate, so in the
gtk3-port branch windows will not overlap with docks, panels etc.
2014-05-19 14:37:32 +02:00
Michael Natterer
35f8355af4
Bug 729068 - Gimp windows state is lost when closed from the window manager
...
Set gtk_window_set_skip_taskbar_hint() to FALSE for all dock windows.
2014-05-19 03:28:26 +02:00
Michael Natterer
31f4c5bc67
app: use plain spinbuttons for random seed GEGL properties
2014-05-19 01:32:22 +02:00
Michael Natterer
4a0e9a2083
app: gegl:noise-cell -> gegl:cell-noise
2014-05-19 01:31:55 +02:00
Michael Natterer
05db5400f2
app: put the chain on all adjacent "x" and "y" GEGL properties
...
regardless of their unit. This heuristic works surprisingly well.
2014-05-18 23:21:13 +02:00
Michael Natterer
eeb8c31232
app: only auto-link GEGL properties of unit "pixel-distance"
2014-05-18 23:11:28 +02:00
Michael Natterer
b5e37f46a4
app: let GEGL properties with unit "degree" wrap around
...
if their total range spans 360 degrees.
2014-05-18 23:04:49 +02:00
Michael Natterer
4900da3183
app: use 1 and 15 increments for GEGL properties with the unit "degree"
2014-05-18 22:58:51 +02:00
Michael Natterer
4712701415
app, plug-ins: move everything from Render->Clouds to the new Render->Noise
...
because that's what they are and what most menu labels in there says.
Keep the "Clouds" menu around for 3rd party plug-ins, not sure if it's
right to auto-map it to "Noise" automatically.
2014-05-18 22:46:05 +02:00
Michael Natterer
c452f12519
pdb: normalize the compat motion blurs' angles to -180..180
2014-05-18 22:33:11 +02:00
Michael Natterer
c899f14f79
app: add gegl:panorama-projection to Filters -> Map
2014-05-17 01:23:24 +02:00
Michael Natterer
9e1ee4235f
app: add gegl:perlin-noise and gegl:simplex-noise to Filters->Render->Clouds
2014-05-17 01:17:30 +02:00
Michael Natterer
d0e7fdd929
app: don't serialize GEGL properties that are auto-synced with the image
2014-05-17 00:19:20 +02:00
Michael Natterer
41472222c5
app: add gegl:tile-glass to the checks in sanity.c
2014-05-16 22:30:35 +02:00
Michael Natterer
2ce79d3b13
plug-ins, pdb: remove the tile-glass plug-in and add a PDB compat procedure
2014-05-16 22:11:28 +02:00
Michael Natterer
e09453cfbb
app: add gegl:tile-glass to Filters -> Artistic
2014-05-16 21:59:30 +02:00
Michael Natterer
3066779462
app_ don't symlink the test icon theme on windows, there is no symlink()
2014-05-16 20:47:41 +02:00
Michael Natterer
981abdffe1
app: the icon's name is format-text-strikethrough not format-edit-strikethrough
2014-05-16 20:47:41 +02:00
Øyvind Kolås
2df26f7fd8
app: GimpOperationTool: change values for color roles property keys
...
Foreground and background are GIMP concepts; the annotations on GEGL ops
should be about how the operation makes use of the meta-data; not where
it comes from in one particular application using GEGL.
old names:
"role", "foreground-color",
"role", "background-color",
new names:
"role", "color-primary",
"role", "color-secondary",
2014-05-16 17:05:50 +02:00
Michael Natterer
befb871b6e
app: GimpOperationTool sync the op with drawable/context in reset()
2014-05-16 16:28:24 +02:00
Michael Natterer
f50b215d16
app: add a default impl of GimpImageMapTool::reset()
...
and chain up where possible instead of duplicating that code.
2014-05-16 16:22:31 +02:00
Michael Natterer
86988e7d67
app: GimpOperationTool: don't crash GimpGeglTool
2014-05-16 08:21:33 +02:00
Michael Natterer
58b096e02e
app: fix x/y copy-paste confusion in last commit
2014-05-16 03:17:08 +02:00
Michael Natterer
dac7201ead
app: follow GEGL propertiy keys convention change
...
and clean up the magic a bit.
2014-05-16 03:10:01 +02:00
Michael Natterer
c15f319de0
app: make the chain and coordinate picking depend on GEGL property keys
2014-05-16 02:34:10 +02:00
Michael Natterer
0dd1a4b552
app: sync the op with the drawable/image/gimp in GimpOperationTool
...
which currently means setting FG/BG color on properties with the
right GEGL property keys, and the output size of source ops.
2014-05-16 02:32:16 +02:00
Michael Natterer
43244bd461
app: copy the new GEGL property keys in gimp_param_spec_duplicate()
2014-05-16 02:30:41 +02:00
Michael Natterer
1d55ad1491
app: use "gimp-tool-blend" for GimpGradient, there is no "gimp-gradient" icon
2014-05-15 12:49:34 +02:00