gimp/app/pdb
Ell bccef43049 app, pdb: prevent custom gradient from being renamed
Make internal data objects non-renamable, even if they're writable,
through gimp_data_is_name_editable().  Currently, the only such
object is the custom gradient.

Prevent changing the name of non-renamable data by making the name
entry of GimpDataEditor non-editable whenever
gimp_viewable_is_name_editable() is FALSE, even if the data is
otherwise editable.

Prevent the vairous PDB -rename() functions from renaming non-
renamable data, by adding a GimpPDBDataAccess flags type,
specifying the desired access mode for the data -- any combination
of READ, WRITE, and RENAME -- and replacing the 'writable'
parameter of the gimp_pdb_get_foo() functions with an 'access'
parameter.  Change the various .pdb files to use READ where they'd
used FALSE, and WRITE where they'd used TRUE; use RENAME, isntead
of WRITE, in the -rename() functions.
2017-10-30 17:22:29 -04:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am pdb: add debug group; add debug-timer-{start,end} procs 2017-04-06 11:48:05 -04:00
README Added another warning about autogenerated files 2001-01-21 22:28:16 +00:00
brush-cmds.c app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
brush-select-cmds.c app, pdb: change a lot of GIMP_LAYER_MODE_NORMAL_LEGACY to just NORMAL 2017-08-19 20:33:47 +02:00
brushes-cmds.c app, pdb: change a lot of GIMP_LAYER_MODE_NORMAL_LEGACY to just NORMAL 2017-08-19 20:33:47 +02:00
buffer-cmds.c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()." 2012-12-04 21:07:34 +01:00
channel-cmds.c libgimpbase: proper names for the GimpChannelType enum 2017-01-09 19:40:30 +01:00
color-cmds.c app: remove GimpColorizeConfig, merge its props into GimpOperationColorize 2017-09-05 21:26:59 +02:00
context-cmds.c app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
debug-cmds.c pdb: add debug group; add debug-timer-{start,end} procs 2017-04-06 11:48:05 -04:00
display-cmds.c Doc that gimp-display-new gives execution error if no GIMP GUI. 2014-05-27 00:56:05 +01:00
drawable-cmds.c Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin. 2017-03-21 17:52:22 +01:00
drawable-color-cmds.c app: remove GimpColorizeConfig, merge its props into GimpOperationColorize 2017-09-05 21:26:59 +02:00
drawable-transform-cmds.c app: some GimpProgress cleanup 2014-07-12 23:45:20 +02:00
dynamics-cmds.c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()." 2012-12-04 21:07:34 +01:00
edit-cmds.c app, pdb: change a lot of GIMP_LAYER_MODE_NORMAL_LEGACY to just NORMAL 2017-08-19 20:33:47 +02:00
fileops-cmds.c pdb: remove a misplaced " from fileops.pdb 2017-06-03 18:12:50 +02:00
floating-sel-cmds.c app: rename more stuff from "floating sel" to "floating selection" 2016-05-20 16:46:26 +02:00
font-select-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
fonts-cmds.c app, pdb: minor cleanup in the new font loading code 2016-04-17 21:06:00 +01:00
gimp-cmds.c pdb, libgimp: mode gimp_temp_name() from fileops.pdb to gimp.pdb 2017-02-18 15:08:25 +01:00
gimp-pdb-compat.c pdb, app, libgimp: rename *-paste-as-new to *-paste-as-new-image 2016-09-20 20:20:25 +02:00
gimp-pdb-compat.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimppdb-query.c app: derive GimpProcedure from GimpViewable 2016-01-01 20:05:32 +01:00
gimppdb-query.h app: port gimp_pdb_dump() to GIO 2014-07-03 14:52:27 +02:00
gimppdb-utils.c app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
gimppdb-utils.h app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
gimppdb.c app: move memsize functions into their own files gimp-memsize.[ch] 2014-08-12 13:57:57 +02:00
gimppdb.h Use GimpValueArray and GimpParamSpecValueArray 2012-05-04 00:51:50 +02:00
gimppdbcontext.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimppdbcontext.h pdb: Add "diagonal-neighbors" as GimpPDBContext property 2016-01-17 00:46:54 +01:00
gimppdberror.c Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimppdberror.h app: add "ERROR" to the values of enum GimpPdbErrorCode 2012-03-05 19:36:59 +01:00
gimpprocedure.c app: ref the GimpProgress in gimp_procedure_execute[_async]() 2017-05-28 17:41:52 +02:00
gimpprocedure.h app: add new virtual function GimpProcedure::get_help_id() 2016-01-17 17:15:27 +01:00
gimprc-cmds.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
gradient-cmds.c app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
gradient-select-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
gradients-cmds.c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()." 2012-12-04 21:07:34 +01:00
help-cmds.c app: keep the plug-in executable path around as GFile 2014-07-08 21:09:35 +02:00
image-cmds.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
image-color-profile-cmds.c Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
image-convert-cmds.c app, pdb, libgimp: rename values of enum GimpConvertPaletteType 2017-02-26 20:55:00 +01:00
image-grid-cmds.c pdb, app, libgimp: rename the "grid" PDB group to "imagegrid" 2015-05-30 15:19:11 +02:00
image-guides-cmds.c Bug 648776 - mirror symmetries. 2016-02-02 21:15:13 +01:00
image-sample-points-cmds.c Bug 759104 - Allow coordinates of sample points to be accessed from scripts 2016-01-04 21:24:44 +01:00
image-select-cmds.c pdb: Use the diagonal-neighbors setting from GimpPDBContext... 2016-01-17 00:46:54 +01:00
image-transform-cmds.c Bug 764024 - Allow to choose fill color when resizing layers and images 2016-10-10 00:02:16 +02:00
image-undo-cmds.c Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin. 2017-03-21 17:52:22 +01:00
internal-procs.c pdb, libgimp: add gimp-item-{get,set}-expanded() 2017-10-22 12:30:21 -04:00
internal-procs.h pdb: add debug group; add debug-timer-{start,end} procs 2017-04-06 11:48:05 -04:00
item-cmds.c pdb, libgimp: add gimp-item-{get,set}-expanded() 2017-10-22 12:30:21 -04:00
item-transform-cmds.c app: some GimpProgress cleanup 2014-07-12 23:45:20 +02:00
layer-cmds.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
message-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
paint-tools-cmds.c app: integer-ify position/offset members of GimpSourceCore 2017-04-03 15:32:27 -04:00
palette-cmds.c app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
palette-select-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
palettes-cmds.c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()." 2012-12-04 21:07:34 +01:00
paths-cmds.c app, libgimpbase: move enum GimpStrokeMethod to libgimpbase 2015-11-08 22:48:48 +01:00
pattern-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
pattern-select-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
patterns-cmds.c Revert "pdb: update documentation for all pdb functions whose return can be freed with g_strfreev()." 2012-12-04 21:07:34 +01:00
pdb-types.h app, pdb: prevent custom gradient from being renamed 2017-10-30 17:22:29 -04:00
plug-in-cmds.c Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin. 2017-03-21 17:52:22 +01:00
plug-in-compat-cmds.c Bug 783382 - Lava filter broken 2017-06-03 17:08:47 +02:00
procedural-db-cmds.c Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin. 2017-03-21 17:52:22 +01:00
progress-cmds.c Bug 683694 - Spelling errors 2012-11-11 15:50:25 +01:00
selection-cmds.c Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
selection-tools-cmds.c app: Add diagonal_neighbors parameter to gimp_channel_select_fuzzy() 2016-01-17 00:46:54 +01:00
text-layer-cmds.c Bug 768044 - Fix many typos 2016-06-26 00:35:24 +02:00
text-tool-cmds.c pdb: replace gimppdb-utils' "writable" boolean by a bitmask 2012-11-08 20:46:18 +01:00
transform-tools-cmds.c app: some GimpProgress cleanup 2014-07-12 23:45:20 +02:00
unit-cmds.c pdb: minor formatting fix in generated PDB wrappers 2012-05-28 19:55:28 +02:00
vectors-cmds.c app: change filename in gimp_vectors_import_file() to GFile 2014-07-02 14:54:56 +02:00

README

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../tools/pdbgen/pdb.