ad9fd33915
app: guide cleanup
...
- Move all GimpGuide members to a private struct
- Remove cruft checks for position < 0, we don't keep removed guides
around in the image's guide list since a long time ago
- Add #define GIMP_GUIDE_POSITION_UNDEFINED G_MININT and use that
instead of -1 (this is also a prerequisite for having guides
outside of the image)
2014-07-10 00:20:57 +02:00
c3573c3c45
app: keep the plug-in executable path around as GFile
2014-07-08 21:09:35 +02:00
c884c4f630
app: change file_utils_filename_to_uri() to file_utils_filename_to_file()
2014-07-08 10:25:25 +02:00
d0a6d95dad
app: remove a bunch of file-utils.h includes
2014-07-08 00:23:34 +02:00
ff6ea69569
app: change the image's various URIs to GFiles
...
which gets rid of a lot of temporarily added GFile code again because
we don't need to convert between URI and GFile any longer.
2014-07-07 23:58:11 +02:00
0f8d84d5e9
app: port all file_open() and file_save() functions to GFile
2014-07-07 23:58:11 +02:00
249041d927
Bug 732698 - Select > Shrink/Grow/Border not working in GIMP master
...
Always pass level = 0 to gegl_buffer_set(). This actually makes a
difference since GEGL's level processing got some fixes.
2014-07-03 20:47:02 +02:00
70e6d86bdf
app: port gimp_pdb_dump() to GIO
2014-07-03 14:52:27 +02:00
3687e1b32b
app: change filename in gimp_vectors_import_file() to GFile
2014-07-02 14:54:56 +02:00
632b64fedf
app: change filename in gimp_vectors_export_file() to GFile
2014-07-02 14:47:11 +02:00
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
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
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
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
e2628b9bd0
app: revive gimpdrawable-foreground-extract
...
Move the extraction graph from the foreground select tool there.
Enable the PDB wrapper again, using default values for now.
Some sytle cleanup in the foreground select tool.
2014-06-03 23:05:23 +02:00
ee3846cc8b
app: make the gimp_drawable_fill*() API symmetric to gimp_edit_fill*()
2014-06-03 14:11:59 +02:00
38c86da8e9
app: factor out utility function gimp_get_fill_params()
...
which returns an error if there is no pattern for GIMP_FILL_PATTERN.
Use it instead of having the same code in 3 variants, and make error
handling consistent with bucket fill.
2014-06-03 14:00:01 +02:00
1416743b5c
app: use GimpFillType in gimp_drawable_bucket_fill()
...
GimpBucketFillMode is now tool- and pdb-only.
2014-06-03 01:34:51 +02:00
425748dab0
libgimpbase, *: rename GimpFillType values: GIMP_FOO_FILL -> GIMP_FILL_FOO
...
Change all users accordingly and add compat enum values and compat
constants to script-fu and pygimp.
2014-06-03 01:11:32 +02:00
f15b48b3c8
plug-ins, pdb: remove convolution-matrix and add a PDB compat procedure
2014-05-29 16:27:35 +02:00
4fbaff92a1
pdb: replace \1 \2 \3 by $1 $2 $2 as suggested by perl warning
2014-05-29 16:26:16 +02:00
345bf01c01
Doc that gimp-display-new gives execution error if no GIMP GUI.
2014-05-27 00:56:05 +01:00
3e6a7f4012
pdb, plug-ins: remove the rotate plug-in and add a PDB compat procedure
2014-05-24 22:46:11 +02:00
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
40030e084b
plug-ins, pdb: remove the deinterlace plug-in and add a PDB compat proc
2014-05-20 21:30:42 +02:00
c452f12519
pdb: normalize the compat motion blurs' angles to -180..180
2014-05-18 22:33:11 +02:00
2ce79d3b13
plug-ins, pdb: remove the tile-glass plug-in and add a PDB compat procedure
2014-05-16 22:11:28 +02:00
6c7fae9e11
app, libgimp*, pdb: move more enums from app/core to libgimpbase
2014-05-14 00:06:01 +02:00
9dde82b215
libgimpbase: sort gimpbaseenums.h alphabetically
2014-05-13 23:29:17 +02:00
f636b4ad34
app, libgimpbase: move lots of enums from app/core to libgimpbase
...
It makes little sense to keep them in one header and parse them with a
pile of perl, just to generate them in another header. Simply keep
them in a place everybody depends on.
2014-05-13 00:27:29 +02:00
de08267f06
libgimpbase, *: add enum value GIMP_ICON_TYPE_ICON_NAME
...
and keep GIMP_ICON_TYPE_STOCK_ID as a deprecated alias. Change all
plug-ins accordingly and increase the pluginrc file version number so
it gets regenerated with "icon-name" instead of "stock-id".
2014-05-11 23:56:30 +02:00
d9cf36d07d
app: remove gimp:cast-format and use gegl:cast-format
2014-05-05 19:30:21 +02:00
64290145a2
pdb. plug-ins: remove the noise-rgb plug-in and add PDB compat wrappers
2014-05-04 23:43:02 +02:00
ff59aebbe8
pdb, plug-ins: remove the blur-gauss plug-in and add compat procedures
...
Add a utility function to wrap PDB compat nodes in gimp:cast-format
ops, so we can use ops that are now implemented in linear RGB for
plug-in compat procedures, which are all supposed to work on gamma
corrected RGB.
2014-05-04 22:53:29 +02:00
7338c0309e
Document other layer_group-relevant procedures in gimp_layer_group_new.
2014-05-03 03:38:38 +01:00
7f23fbec34
app: add screen and monitor to all display and image window constructors
...
so they appear on the proper monitor as well.
2014-05-02 20:21:41 +02:00
e2d72211cf
gimp-mkenums: Ignore forward declarations
...
Based on patch by Dan Winship (see commit f049262a in the glib git
repo).
2014-05-02 22:57:56 +05:30
b60e1779cd
app: pass a GimpGradient to gimp_drawable_blend(), not a GimpBlendMode
...
The blend mode is now only a PDB compat enum, translate between
GimpBlendMode and the built-in gradients in the gimp-edit-blend PDB
wrapper.
2014-04-30 09:17:42 +02:00
a4223766f2
all,libgimp*: move GimpConvolveType and GimpInkBlobType to libgimpbase
...
and make GimpConvolveType's values sane.
2014-04-29 22:44:58 +02:00
f7d71e2eda
pdb: don't scan headers that don't contain PDB-exported enums
2014-04-29 21:08:34 +02:00
22c222291d
libgimpbase,*: clean up enum values in gimpbaseenums.h
...
GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
GIMP_foo_MODE -> GIMP_BLEND_foo
GIMP_foo_CLONE -> GIMP_CLONE_foo
GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
GIMP_foo -> GIMP_TRANSFER_foo
Add compat values for the old names and compat code to script-fu
and pygimp.
2014-04-29 20:58:30 +02:00
bcce8c95ec
Bug 729158 - Internal inconsistent state with gimp_image_get_selection...
...
+ gimp_channel_copy
Make gimp-channel-copy always return a GimpChannel, and fail the
prodecure if the input channel is not of image size.
2014-04-29 09:16:19 +02:00
2ff414d799
app,libgimp,pdb: remove enum GimpConvolutionType from the public API
...
It was exported accidentially and never used for anything.
2014-04-27 23:05:12 +02:00
8ce94d23b9
libgimpbase: move GIMP_REPEAT_TRUNCATE to the end of the enum
...
New values must go to the end to avoid ABI break.
2014-04-24 23:08:33 +02:00
0a9dc8b297
libgimpbase: exclude GIMP_INTERPOLATION_LANCZOS from the PDB again
...
An unmentioned fix in the previous commit to this file made it visible
to the PDB.
2014-04-24 23:04:52 +02:00
ad4862c60b
Adds new blending mode 'Truncate blend'
...
Bring repeat behavior on par with GEGL and Cairo,
and sane ways of creating square or circular gradient
shapes.
2014-04-24 12:18:26 -03:00
36ca865aaa
pdb: use boolean not int32 for booleans in the apply lens compat wrapper
2014-04-14 13:05:28 +02:00
260a4a51b1
plug-ins, pdb: remove the lens-apply plug-in and add a compat procedure
2014-04-13 21:18:35 +02:00
60f23afde2
app: add a small infrastructure to validate known parasites
...
when they are added to items, images or globally, from the PDF or an
XCF file. None of the validation functions does anything currently,
they simply return TRUE.
2014-03-22 00:18:48 +01:00
fea22c345c
Bug 706361 - Printer queue dosn't show the filename of the printing image
...
Change the gimp-image-get-name procedure to return the same string
as shown in the image title, and mention in its API docs that this
string is meant for annotating UI elements only.
2014-03-15 17:53:10 +01:00