Michael Natterer
b92dd2c8e3
app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl
...
GimpDisplay contains only the ID logic and the "gimp" and "config"
pointers, and lives in the core.
GimpDisplayImpl is a subclass and contains all the actual display
stuff. The subclass is only an implementation detail and doesn't
appear in any API.
Remove all hacks which pass displays as gpointer, GObject or
GimpObject through the core, or even lookup its type by name,
just use GimpDisplay.
2019-09-04 14:30:43 +02:00
Michael Natterer
b3b3d8160c
app, libgimp: don't duplicate _gimp_gp_param_def_to_param_spec()
...
they are virtually the same now (except GimpParamEnum, but that one is
still the same because its special feature doesn't go over the wire).
2019-09-04 10:41:19 +02:00
Michael Natterer
3fd3344f80
plug-ins: script-fu lost all support for images, layers etc.
...
due to the recent change to actual objects instead of IDs,
so add object support to script_fu_marshal_procedure_call().
2019-09-04 10:28:50 +02:00
Michael Natterer
5e00decc13
pdb, libgimp: use GIMP_VALUES_GET,DUP_FOO() in the libgimp PDB wrappers
2019-09-04 02:49:33 +02:00
Michael Natterer
c6082b37f8
libgimp: add missing stuff to gimpprocedure-params.h
...
Add some accessors, and the complete set of macros for GimpParasite
and GParamSpec.
2019-09-04 02:39:02 +02:00
Michael Natterer
cb24709916
pdb: remove the "id" field from all pdb types, it's now unused
2019-09-04 02:10:43 +02:00
Michael Natterer
90f9d551dc
pdb, libgimp: use GIMP_VALLUES_GET_ENUM() in libgimp PDB wrappers
...
to get the procedure's return status.
2019-09-04 01:49:35 +02:00
Michael Natterer
feaf96735f
pdb: don't return any strings from _gimp_pdb_proc_info()
...
and instead add _gimp_pdb_proc_documentation() and
_gimp_pdb_proc_attribution().
Remove the gimp_pdb_proc_info() utility function in app/.
2019-09-04 01:38:31 +02:00
Michael Natterer
d0f00bb76d
devel-docs: update the libgimp and libgimpbase docs
2019-09-04 00:12:03 +02:00
Michael Natterer
a351ce9126
Remove the entire old plug-in interface
2019-09-04 00:03:12 +02:00
Michael Natterer
7257cc8abc
plug-ins: port curve-bend to GimpPlugIn... IT'S DONE YEAH
2019-09-03 23:29:21 +02:00
Michael Natterer
f405b45058
plug-ins: port sample-colorize to GimpPlugIn
2019-09-03 22:51:18 +02:00
Michael Natterer
bdbe1ee06d
plug-ins: port sparkle to GimpPlugIn
2019-09-03 22:16:39 +02:00
Michael Natterer
5c5b4642b1
plug-ins: port warp to GimpPlugIn
2019-09-03 21:30:27 +02:00
Michael Natterer
4ded322edf
plug-ins: port map-object to GimpPlugIn
2019-09-03 21:00:23 +02:00
Michael Natterer
9e3359c659
plug-ins: port lighting to GimpPlugIn
2019-09-03 19:58:18 +02:00
Michael Natterer
5154b27108
plug-ins: port depth-merge to GimpPlugIn
2019-09-03 19:22:42 +02:00
Michael Natterer
0785dd17a5
plug-ins: port sphere-designer to GimpPlugIn
2019-09-03 15:37:52 +02:00
Jehan
71ccaa21ee
pdb, libgimp: remove double API generation from PDB.
...
All plug-ins got ported. Let's remove support for the old API with IDs
instead of objects.
2019-09-03 13:31:27 +02:00
Michael Natterer
a4637b0d69
plug-ins: remove deprecated API support from common/mkgen.pl
2019-09-03 13:25:25 +02:00
Michael Natterer
29687012c4
plug-ins: port tile to GimpPlugIn
2019-09-03 13:24:05 +02:00
Michael Natterer
8245102bbd
plug-ins: print: fix missing argument to GIMP_PROC_ARG_IMAGE()
2019-09-03 12:42:17 +02:00
Michael Natterer
80340f2d47
libgimp: remove the last manual compat wrappers
2019-09-03 12:04:05 +02:00
Michael Natterer
6ba3fb3bd1
plug-ins: port curve-bend to libgimp oobjects. THE LAST ONE \o/
2019-09-03 11:59:53 +02:00
Michael Natterer
adfe5ee390
plug-ins: port sphere-designer to libgimp objects
2019-09-03 11:36:41 +02:00
Michael Natterer
0b98a3e2e8
plug-ins: blind port of twain to libgimp objects
...
Please somebody build and fix this on windows.
2019-09-03 11:17:01 +02:00
Michael Natterer
9e771d8cd5
libgimp: remove more deprecated API
2019-09-03 11:10:43 +02:00
Michael Natterer
660ad6c41a
libgimp: use the new get_by_id() functions
...
except in code that is about to go away.
2019-09-03 10:57:41 +02:00
Michael Natterer
45d60acb65
plug-ins: use the new item-type specific get_by_id() functions
2019-09-03 10:48:32 +02:00
Michael Natterer
1f4a5d4004
plug-ins: port map-objects to libgimp objects
2019-09-03 10:28:21 +02:00
Michael Natterer
fd5740e70b
libgimp: add gimp_layer,chanel,vectors,etc,_get_by_id()
...
which call gimp_item_get_by_id() and additionally check if the
returned item has the right type, and return NULL if not.
This is both shorter and more readable than
layer = GIMP_LAYER (gimp_item_get_by_id (id));
and additionally makes sure we don't cast e.g. a non-layer with
GIMP_LAYER(), which will give criticals but shouldn't, because the
wrong IDs can come from anywhere and are an input problem and not a
programming error (criticals are for programming errors).
2019-09-03 10:24:24 +02:00
Michael Natterer
71f767efc0
plug-ins: port lightning to libgimp objects
2019-09-02 19:34:07 +02:00
Michael Natterer
add31e2976
plug-ins: fix a glitch in the script-fu unique argument name logic
2019-09-02 19:34:07 +02:00
Piotr Drąg
ff1663b559
Update POTFILES.in
2019-09-02 18:58:10 +02:00
Michael Natterer
86a99a942f
libgimp: GimpProcedure args and return values must have have unique
...
and canonical names now.
2019-09-02 18:53:30 +02:00
Michael Natterer
6e0185b976
plug-ins: make sure script-fu arguments have unique names
2019-09-02 18:52:57 +02:00
Michael Natterer
a1343ee89c
plug-ins: fix duplicate argument name in file-gih-save
2019-09-02 17:56:06 +02:00
Michael Natterer
2d50192c08
plug-ins: port smooth-palette to GimpPlugIn and libgimp objects
2019-09-02 16:10:12 +02:00
Michael Natterer
f68bf39a09
plug-ins: port van-gogh-lic to GimpPlugIn and libgimp objects
2019-09-02 14:55:42 +02:00
Michael Natterer
3f44a21b11
plug-ins: port despeckle to GimpPlugIn
2019-09-02 13:06:57 +02:00
Michael Natterer
3b65365982
plug-ins: port gradient-flare to GimpPlugIn
2019-09-02 12:43:10 +02:00
Jehan
650d4b57ed
libgimp: add a doc comment to gimp_drawable_get_sub_thumbnail_data().
...
This was added in commit e24375e64a together with "Since:" annotation
updates, which got reverted. Add back just the documentation comment.
2019-09-02 11:47:01 +02:00
Jehan
1c0fb800e5
app, pdb: fix gimp_item_id_is_vectors().
...
It was testing for GimpDrawable!
2019-09-02 11:44:36 +02:00
Jehan
3c6360a373
plug-ins: port spyro-plus to Python 3 + new API.
...
It is a nearly full port. Some things would still need to be updated
(like deprecated use of GtkTable or gtk_range_set_update_policy()
removed), and other stuff need to be taken care of in GIMP API first.
But the core of the feature is there.
2019-09-02 11:42:38 +02:00
Michael Natterer
e70137d80f
plug-ins: port gimpressionist to GimpPlugIn
...
And some forgotten libgimp object porting.
2019-09-01 10:48:05 +02:00
Michael Natterer
0a1a9fce5b
plug-ins: port qbist to GimpPlugIn
2019-09-01 02:49:31 +02:00
Michael Natterer
7bd9f2d2b5
plug-ins: port tile-small to GimpPlugIn
2019-08-31 16:44:10 +02:00
Michael Natterer
bba67bf6cc
libgimp: don't request tiles beyond the drawable extents
...
GEGL handles read/write outside of existing buffers gracefully, so
should GimpTileBackendPlugin.
2019-08-31 16:44:10 +02:00
Michael Natterer
d7f76fbba0
app: better error messages when killing a plug-in for invalid tile access
2019-08-31 16:44:10 +02:00
Piotr Drąg
49dedbf716
Revert "po-python: update POTFILES.in"
...
This reverts commit f8b8d99aca .
These files don’t exist.
2019-08-31 15:11:08 +02:00