Commit Graph

8657 Commits

Author SHA1 Message Date
Michael Natterer 6f4122b7b9 Issue #3655 - Cannot edit long lines of metadata (no scroll bar)
Set the crollbar policy to automatic.
2019-09-06 17:34:41 +02:00
Massimo Valentini 0a1e9d1190 Issue 2206: Error message when opening "MULTICHANNEL" PSD...
...files (file attached)
2019-09-06 17:25:30 +02:00
Sabri Ünal 2e766f67d4 Missing mnemonics on several dialogs
paste as brush, paste as pattern, select to new brush, select to new pattern
fill selection outline, fill path, stroke selection, distort, rounded rectangle
indexed color conversion, merge visible layers, new guide, new guide (by percent)
image properties, newsprint, fractal explorer, sample colorize, new layer

metadata editor (just a button), spyroplus (only common buttons)
2019-09-05 22:41:19 +03:00
Michael Natterer c10f5b2d68 plug-ins: port film and guillotine to objects arrays 2019-09-05 14:39:32 +02:00
Michael Natterer 3a2f8d422a plug-ins: use the newly added GET_FOO_ID() macros 2019-09-05 13:24:25 +02:00
Michael Natterer 0c83f4a96d plug-ins: file-svg: follow gimp_vectors_import_from_file() change 2019-09-05 13:18:30 +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 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 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 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 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
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 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 7fe136c638 plug-ins: port flame to GimpPlugIn 2019-08-31 14:42:33 +02:00
Michael Natterer 4721f9843d plug-ins: port hot to GimpPlugIn 2019-08-31 13:43:58 +02:00
Michael Natterer dcc89fb611 plug-ins: port crop-zealous to GimpPlugIn 2019-08-31 12:23:34 +02:00
Michael Natterer 61131f6584 plug-ins: port cml-explorer to GimpPlugIn 2019-08-31 12:03:19 +02:00
Michael Natterer e4c0e9cf4c plug-ins: port animation-optimize to GimpPlugIn 2019-08-31 11:29:47 +02:00
Michael Natterer 0228d4c079 plug-ins: change the port of depth-merge slightly 2019-08-31 02:56:16 +02:00
Michael Natterer 4cb23666db plug-ins: port warp to libgimp objects 2019-08-31 02:43:48 +02:00
Michael Natterer 9e5f802ab9 plug-ins: port depth-merge to libgimp objects 2019-08-31 01:10:44 +02:00
Michael Natterer 4ce5728d3a plug-ins: port gradient-map to libgimp objects 2019-08-31 00:24:02 +02:00
Michael Natterer 2395776215 plug-ins: port gimpressionist to libgimp objects 2019-08-31 00:19:20 +02:00
Michael Natterer 9afc7cad3d plug-ins: port tile to libgimp objects 2019-08-30 19:45:34 +02:00
Michael Natterer 7b099b0568 plug-ins: port tile-small to libgimp objects 2019-08-30 19:33:09 +02:00
Michael Natterer dfe73bf4ba plug-ins: port some simple plug-ins to libgimp objects
(where simple == doesn't use much API)
2019-08-30 19:27:19 +02:00
Michael Natterer cecd7e3aae plug-ins: port sample-colorize to libgimp objects 2019-08-30 18:42:45 +02:00
Michael Natterer b407d33259 plug-ins: port flame to libgimp objects 2019-08-30 18:00:44 +02:00
Michael Natterer f4b97e740c plug-ins: port nl-filter to GimpPlugIn 2019-08-30 16:38:18 +02:00
Michael Natterer c5745ad922 plug-ins: port jigsaw to GimpPlugIn 2019-08-30 16:21:42 +02:00
Michael Natterer 26ab882223 plug-ins: port grid to GimpPlugIn 2019-08-30 15:26:06 +02:00
Michael Natterer 138b99032e plug-ins: port destripe to GimpPlugIn 2019-08-30 15:01:56 +02:00
Michael Natterer f4d0c8834a plug-ins: port contrast-retinex to GimpPlugIn 2019-08-30 14:27:33 +02:00
Michael Natterer cf6b65b71b plug-ins: port checkerboard to GimpPlugIn 2019-08-30 14:12:41 +02:00
Michael Natterer 749ad22c05 plug-ins: port blinds to GimpPlugIn 2019-08-30 13:24:10 +02:00
Michael Natterer 4364b78446 libgimp: remove the GIMP_DISABLE_COMPAT_CRUFT define
there is no legacy API left a ported plug-in could accidentially use.
2019-08-30 13:00:00 +02:00
Michael Natterer 5567a89347 plug-ins: add missing GIMP_ITEM() cast in curve-bend 2019-08-30 12:59:30 +02:00
Michael Natterer 8a78203aed Properly prefix the values of enum GimpPDBProcType
to be GIMP_PDB_PROC_TYPE_PLUGIN, _EXTENSION etc.
2019-08-30 12:52:28 +02:00
Michael Natterer e095af2ee4 plug-ins: port gradient-map 2019-08-30 11:11:16 +02:00
Michael Natterer 73298481f1 plug-ins: oops, file-glob is not an image procedure 2019-08-30 10:49:04 +02:00
Michael Natterer ca1ef132c3 plug-ins: port file-glob 2019-08-30 02:15:30 +02:00
Jehan 2524e9685e plug-ins: port guillotine.
Maybe should we have IMAGE_ARRAY types as we still have to pass image
IDs when we pass more than one image between core and plug-in. And even
maybe have alternate LIST types to ARRAY ones, so that we can pass GList
through rather than one array parameter + one length parameter.

Anyway this port still return just old style array of image IDs + array
length as int32.
2019-08-30 00:45:08 +02:00
Michael Natterer 1ee7cc867a plug-ins: port wavelet-decompose 2019-08-30 00:23:14 +02:00
Michael Natterer 6e43d793ae plug-ins: port decompose 2019-08-29 20:01:30 +02:00
Michael Natterer c765fb2b6a plug-ins: port compose 2019-08-29 19:22:50 +02:00
Michael Natterer 392f00baf5 app, libgimp: get rid of all ID GTypes and ID param specs
Turn all ID param specs into object param specs (e.g. GimpParamImageID
becomes GimpParamImage) and convert between IDs and objects in
gimpgpparams.c directly above the the wire protocol, so all of app/,
libgimp/ and plug-ins/ can deal directly with objects down to the
lowest level and not care about IDs.

Use the actual object param specs for procedure arguments and return
values again instead of a plain g_param_spec_object() and bring back
the none_ok parameter.

This implies changing the PDB type checking functions to work on pure
integers instead of IDs (one can't check whether object creation is
possible if performing that check requires the object to already
exist).

For example gimp_foo_is_valid() becomes gimp_foo_id_is_valid() and is
not involved in automatic object creation magic at the protocol
level. Added wrappers which still say gimp_foo_is_valid() and take the
respective objects.

Adapted all code, and it all becomes nicer and less convoluted, even
the generated PDB wrappers in app/ and libgimp/.
2019-08-29 11:39:34 +02:00
Jehan 02d06bb354 plug-ins: help and help-browser don't need libgimp class porting. 2019-08-28 15:08:10 +02:00
Jehan 22857b5408 plug-ins: port busy-dialog. 2019-08-28 14:44:53 +02:00
Jehan 34c6e8744c plug-ins: port py-slice to new API.
No GUI done yet on this one either. For now it will just slice the image
and export them, as well as a HTML table in the current directory.
2019-08-28 13:19:52 +02:00
Jehan 1b992e98d3 plug-ins: port border-average to new API. 2019-08-28 12:23:16 +02:00
Jehan f75b63fa80 plug-ins: port align-layers to new API + libgimp objects.
Note: there were 2 additional arguments which were totally unused in the
existing implementation. So I commented them out. Anyone is welcome to
actually implement their usage.
2019-08-28 11:54:29 +02:00
Michael Natterer 8d7d2e5f1d plug-ins: port imagemap to foo and bar, why do I bother... 2019-08-28 10:14:28 +02:00
Michael Natterer 55a53ef1a4 plug-ins: port ifs-compose to GimpPlugIn and libgimp objects 2019-08-28 03:36:34 +02:00
Michael Natterer 8eb099a24c plug-ins, app: port selection-to-path to GimpPlugIn and libgmp objects
Remove the separate "advanced" procedure. With GParamSpec default
values the differance between normal and advanced is just
non-interactive vs. interactive.
2019-08-28 03:15:08 +02:00
Jehan cce5bbc344 plug-ins: port the core of foggify plug-in.
There are 2 TODOs to take care of here. First, there is no GUI yet for
the interactive mode which will just use the default values.
Second, the color argument is not working yet because I had issues
passing a GimpRGB as argument (ideally I should create a GimpParamRGB
with gimp_param_spec_rgb(), but since we still have the pygobject bugs
about manipulating GParamSpec data directly, I can't).

Anyway it works with default values, which is already a good first step.
:-)
2019-08-28 02:25:19 +02:00
Michael Natterer 605f349137 plug-ins: port web-browser to GimpPlugIn 2019-08-27 19:39:06 +02:00
Michael Natterer eae484e54a plug-ins: port web-page to GimpPlugIn and libgimp objects 2019-08-27 19:17:15 +02:00
Michael Natterer b6b84f7afa plug-ins: port the metadata plug-ins to GimpPlugIn and object 2019-08-27 18:28:56 +02:00
Michael Natterer 1178f54522 plug-ins: port script-fu to libgimp objects 2019-08-27 18:09:50 +02:00
Michael Natterer c940ca8f8a plug-ins: port file-mng to GimpPlugIn and libgmp objects
All file plug-ins ported \o/
2019-08-27 15:22:52 +02:00
Michael Natterer 10b798c198 plug-ins: port file-dds to GimpPlugIn and libgimp objects
This is such a monster, I'm sure I broke something here...
2019-08-27 14:43:38 +02:00
Michael Natterer 3d7c044181 plug-ins: port file-pdf-save to GimpPlugIn and libgmp objects 2019-08-27 14:12:50 +02:00
Michael Natterer 2adfa90cc4 plug-ins: somehow killed file-aa's attribution, put it back 2019-08-27 13:34:31 +02:00
Michael Natterer 0b3e02be10 libgimp: again, redo all APIs returning list of images, items, children
We now have both variants, one returning a GList, and another
returning an array. Turns out that while a list is often nicer,
sometimes a random-access array really keeps the code much simpler.

Adapt all plug-ins, and clean up a bit (like use g_list_reverse() once
instead of iterating the list reversed).
2019-08-27 13:26:27 +02:00
Jehan bf79896db1 plug-ins: port (hopefully) missing Win32 screenshot code.
Seems I missed this part. Hopefully this is good now. This is untested,
not even a build test.
2019-08-26 16:50:25 +02:00
Michael Natterer 6e96490012 plug-ins: port file-aa to GimpPlugIn and libgimp objects 2019-08-25 19:53:02 +02:00
Michael Natterer 0ee329bd44 plug-ins: port file-gegl to GimpPlugIn and libgimp objects 2019-08-25 18:15:04 +02:00
Michael Natterer 5dd8add77a plug-ins: port file-fli to GimpPlugIn and libgimp objects 2019-08-25 16:05:41 +02:00
Michael Natterer bc1e611bf0 plug-ins: port file-sunras to GimpPlugIn and libgimp objects 2019-08-25 15:12:48 +02:00
Jehan 13ea5caec2 plug-ins: port file-openraster to Python 3 + new API.
Apart from porting, only code logics change is the whole
encode()/decode() code because it created a string vs bytes mess and the
zipfile API apparently didn't like to deal with bytes, even though the
docs say otherwise.
It's hard to test on my UTF-8 system, so please anyone working with
non-UTF-8 paths, we welcome reports if ORA load/save does not work
properly.

Other than this, load, save and load_thumb were all tested and working
properly so far.
2019-08-25 12:01:41 +02:00
Michael Natterer 7bc4e6eb6b plug-ins: port file-jp2-load to GimpPlugIn and libgimp objects 2019-08-24 20:55:54 +02:00
Michael Natterer 72df7883ef plug-ins: port file-dicom to GimpPlugIn and libgimp objects 2019-08-24 20:15:35 +02:00
Michael Natterer 8265cb8f9d plug-ins: port file-psp to GimpPlugIn and libgimp objects, untested 2019-08-24 19:52:36 +02:00
Michael Natterer cd4fbb6213 plug-ins: port file-pcx to GimpPlunIn and libgimp objects 2019-08-24 19:27:46 +02:00
Michael Natterer 7f65383ad4 plug-ins: port file-xpm to GimpPlugIn and to libgimp objects 2019-08-24 18:56:03 +02:00
Michael Natterer 0ae833b0e0 plug-ins: port file-tga to GimpPlugIn and libgimp objects 2019-08-24 18:34:53 +02:00
Michael Natterer 9847072978 plug-ins: port file-faxg3 to GimpPlugIn and libgimp objects
No idea if this works, I didn't find an example image.
2019-08-24 18:08:31 +02:00