Michael Natterer
453b4f4aa2
pdb: add gimp_pdb_set_proc_menu_label()
...
and all the needed code in libgimp/ and app/ to set a plug-in
procedure's menu label using the new API. Remove the menu label from
GPProcInstall.
2019-09-08 17:30:54 +02:00
Michael Natterer
2a62287439
pdb: add gimp_pdb_set_proc_image_types()
...
and all the needed code in libgimp/ and app/ to set a plug-in
procedure's image types using the new API. Remove the image types from
GPProcInstall.
2019-09-08 16:54:08 +02:00
Michael Natterer
d75a25c565
app: move the plug-in procedure setters to gimpplugin-proc.[ch]
...
because there are going to be much more more.
2019-09-08 16:38:31 +02:00
Michael Natterer
303ccbedad
pdb: move gimp_plugin_icon_register_invoker() from "plugin" to "pdb"
...
and call it gimp_pdb_set_proc_icon(). Change icon registration code in
libgimp/ and app/ so it's now possible to register icons for temporary
procedures.
2019-09-08 16:22:32 +02:00
Michael Natterer
d89adebff8
pdb: move gimp_plugin_menu_register() from the "plugin" to the "pdb" group
...
and call it gimp_pdb_add_proc_menu_path(). Move around and rename some
code in app/ to prepare for more procedure setters to work this way.
2019-09-08 15:53:37 +02:00
Michael Natterer
e82c80bf5f
pdb: rename all procedure query procedures to gimp-pdb-get-proc-foo
2019-09-08 15:07:24 +02:00
Michael Natterer
48692e58c3
pdb: add pdb API to get a procedure's image types, menu label and menu paths
2019-09-07 21:08:13 +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
11ce199cea
app: stop canonicalizing procedure names
...
on behalf of plug-in authors who have no style or can't type.
Instead, simply reject non-canonical procedure names and remove all
code that keeps aroud the original non-canonical shit just to pass it
back to the plug-in.
2019-08-18 01:55:47 +02:00
Michael Natterer
ae824dcab5
pdb, libgimp: remove the now unused gimp_pdb_proc_arg() and _proc_val()
...
Bye bye legacy.
2019-08-11 22:32:25 +02:00
Michael Natterer
b35dbf0d77
libgimp: change the remaining "author" strings and variables to "authors"
2019-08-11 17:03:03 +02:00
Michael Natterer
244b52bf0d
pdb, libgimp: make the "pdb" PDB group private
...
and don't install its header. Temporarily add its only two remaining
needed functions to gimppdb.[ch].
Also some Makefile cleanup.
2019-08-08 21:55:11 +02:00
Michael Natterer
0aa2dcfadb
libgimp: replace gimp_pdb_dump() and gimp_pdb_query() by new API
...
and move them to gimplegacy.[ch].
2019-08-08 01:14:35 +02:00
Michael Natterer
6584839bf2
pdb: add "lib_private" on procedures too, to make them private
...
This replaces the "wrap" field on proc args and values, this belongs
to the procedure not to its args or values.
2019-08-07 19:09:00 +02:00
Michael Natterer
64d880f1fe
libgimp: add gimp_pdb_temp_procedure_name() and hide the PDB wrapper
2019-08-07 00:19:38 +02:00
Michael Natterer
8860d78979
libgimp: more progress on the GimpPDB object
...
- add gimp_pdb_run_procedure()
- hide more functions in gimppdb_pdb.[ch], and add proper API
- add gimp_get_pdb() which returns the singleton
2019-08-06 19:13:06 +02:00
Michael Natterer
05baadcd1d
pdb: rename the "procedural_db" PDB group to just "pdb"
2019-08-06 12:51:56 +02:00