Øyvind Kolås
5666697362
app: initialize gamma of spin scale to 1.0
2012-05-02 17:50:44 +02:00
Michael Natterer
2c4a59c1e5
app: fix buffer copying offsets in gimp_clone_motion()
...
so it works again at the image's borders.
2012-05-02 17:50:44 +02:00
Øyvind Kolås
7181402a62
app: clean up warning in spinscale
2012-05-02 17:50:44 +02:00
Øyvind Kolås
b8e340b5bc
app: update paramspec duplication with changes in gegl paramspecs
2012-05-02 17:50:44 +02:00
Øyvind Kolås
553b7c7c03
app: add configurable nonlinear mapping (gamma) to spinscale widget
...
The default value is 1.0 which is linear and the old behavior, values above
1.0 gives finer control in the lower portions of the range, the lower half of
the widget behaves like before doing small relative adjustments.
2012-05-02 17:50:44 +02:00
Michael Natterer
95bf75d7a5
app: in GimpSourceCore's vfuncs, pass GeglBuffers around not PixelRegions
...
which simplifies a lot of code, just don't look at GimpHeal until
it's completely ported ;)
2012-05-02 17:50:44 +02:00
Øyvind Kolås
1cee8d79bf
app: respect GEGLs ui-range hints for properties
2012-05-02 17:50:44 +02:00
Michael Natterer
eb2e658408
app: replace GimpPaintCore->canvas_buf by a GeglBuffer
2012-05-02 17:50:43 +02:00
Michael Natterer
c9d0386e0c
app: replace GimpPaintCore->saved_proj_tiles by a GeglBuffer
2012-05-02 17:50:43 +02:00
Michael Natterer
50d7242b87
app: remove gimp_image_transform_rgb()
...
and use gimp_rgba_get_pixel() instead.
2012-05-02 17:50:43 +02:00
Michael Natterer
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Michael Natterer
7f437d7d53
app: remove gimp_image_get_foreground,background()
...
and use gimp_context_get_foreground,background_pixel() instead.
2012-05-02 17:50:43 +02:00
Michael Natterer
8dfea70191
app: fix GIMP_TIMER_END() to take an arbitrary string
...
not a string constant that only works in the C preprocessor, and add a
timer to gimp_apply_operation().
2012-05-02 17:50:43 +02:00
Michael Natterer
1921fa7de3
app: always create a new tool in filters_filter_cmd_callback()
...
Things will get more complicated in GimpOperationTool soon, and we
don't want to mess around with reconfiguring *everything* in the tool.
2012-05-02 17:50:43 +02:00
Michael Natterer
29e7837441
app: remove gimpdrawable-process.[ch]
2012-05-02 17:50:43 +02:00
Michael Natterer
28913496bb
app: use a GimpSpinScale instead of a scale entry in the prop_table
2012-05-02 17:50:43 +02:00
Michael Natterer
8bc6f1ee09
app: add parent_type parameter to gimp_gegl_get_config_proxy()
...
and derive from that type. Use GimpImageMapConfig as base class for
GimpOperationTool's config.
2012-05-02 17:50:42 +02:00
Michael Natterer
e8cc9d1bf5
app: turn gimp_image_map_tool_add_settings_gui() into a virtual function
...
and change it to return the settings ui, not add it.
2012-05-02 17:50:42 +02:00
Michael Natterer
8e31fdf363
app: remove paint-funcs/reduce-region.[ch]
2012-05-02 17:50:42 +02:00
Michael Natterer
23811be3f6
app: remove paint-funcs/scale-region.[ch]
2012-05-02 17:50:42 +02:00
Michael Natterer
1a34171e68
app: remove the legacy option in gimp_drawable_scale()
2012-05-02 17:50:42 +02:00
Michael Natterer
87b7af7fa5
app: remove drawable->private->format, its buffer has a format already
...
Also, make group layer type conversion much less hackish by using the
same kind of temporary states that are used for reallocating its
projection on size change.
2012-05-02 17:50:42 +02:00
Øyvind Kolås
49de3d5292
app: follow changes in GeglOperation API
2012-05-02 17:50:42 +02:00
Michael Natterer
deb9b9caa8
app: replace GimpProjectable::get_image_type() by ::get_format()
...
and change semantics to returning the format it wants to be projected
in, not its actual format.
2012-05-02 17:50:42 +02:00
Michael Natterer
2a853cd1ee
app: remove GimpPickable::get_bytes()
2012-05-02 17:50:42 +02:00
Michael Natterer
5e754a9641
app: remove GimpPickable::get_image_type()
2012-05-02 17:50:42 +02:00
Michael Natterer
5fba7c70c7
app: replace the tile pyramid's GimpImageType by bytes, it needs nothing else
2012-05-02 17:50:41 +02:00
Michael Natterer
e00598abed
app: remove the legacy gimp-transform-region code
2012-05-02 17:50:41 +02:00
Michael Natterer
f4a4aa2133
app: use a GEGL graph for perspective clone's transform
...
Horribly slow, but seems to work.
2012-05-02 17:50:41 +02:00
Michael Natterer
95327090c0
app: remove legacy support from gimpdrawable-transform.c
2012-05-02 17:50:41 +02:00
Michael Natterer
867da8f293
app: add gimp_context_get_foreground,background_pixel()
...
which takes a Babl format to convert from/to.
Include <gegl.h> in a million places.
2012-05-02 17:50:41 +02:00
Michael Natterer
37c895ba68
app: have the display renderer ask for the projection's format not image_type
2012-05-02 17:50:40 +02:00
Michael Natterer
39cca4aabd
app: more GimpImageType -> Babl
2012-05-02 17:50:40 +02:00
Michael Natterer
89d525c970
app: remove legacy support from GimpImageMap
2012-05-02 17:50:40 +02:00
Michael Natterer
98226d0b36
app: remove legayc support from GimpImageMapTool
2012-05-02 17:50:40 +02:00
Michael Natterer
f248324fd3
app: remove the lagacy hue-saturation cruft
...
it's unclear whether the operation is correct, but that can be sorted
out on master and merged.
2012-05-02 17:50:40 +02:00
Michael Natterer
8008b75411
app: forgot the GimpImageType -> Babl change in pick_color() here
2012-05-02 17:50:39 +02:00
Michael Natterer
23370d9fad
app: remove gimp_image_get_color()
2012-05-02 17:50:39 +02:00
Michael Natterer
48c796e748
app: port gimp_image_contiguous_region_by_seed() to babl_process()
...
instead of gimp_image_get_color().
2012-05-02 17:50:39 +02:00
Michael Natterer
932b80f612
app: port gimp_image_contiguous_region_by_color() to GEGL
2012-05-02 17:50:39 +02:00
Michael Natterer
5713e6ecfb
app: don't use gimp_image_get_color() in GimpPickable
...
A fish does the job just fine.
2012-05-02 17:50:39 +02:00
Michael Natterer
75b87f1a1d
app: don't use gimp_image_get_color() in gimp_palette_import_extract()
...
GEGL can deliver the image data as RGBA right away.
2012-05-02 17:50:39 +02:00
Michael Natterer
b74a2dbf0c
app: use Babl formats, not GimpImageType, in gimp_selection_extract()
2012-05-02 17:50:39 +02:00
Michael Natterer
36e982e2ed
app: port gimp_image_pick_color() to return a Babl format
...
instead of a GimpImageType.
2012-05-02 17:50:39 +02:00
Michael Natterer
c8481fd19e
app: increase the tile size for plug-ins to 128x128
2012-05-02 17:50:39 +02:00
Michael Natterer
25f4769c77
app: formatting cleanup in gimpimage-convert.c
2012-05-02 17:50:38 +02:00
Michael Natterer
031978c4c3
app: port gimpimage-convert.c to GEGL
2012-05-02 17:50:38 +02:00
Michael Natterer
1098eabc70
app: use the same indexed Babl formats during an image's lifetime
...
And only reconfigure them when the colormap changes. This way
undo/redo of layer adding/removing works across type conversions,
because the layers need to be in the same format as the image's
indexed format.
2012-05-02 17:50:38 +02:00
Øyvind Kolås
e540444b56
app: fix registration of babl formats
2012-05-02 17:50:38 +02:00
Øyvind Kolås
69cd6d033a
app: fix registration of babl_format("A u8")
2012-05-02 17:50:38 +02:00