Gimp/app/pdb
Jehan 82c607d4a8 app, libgimp, pdb: support triple-backticks unformatted desc sections.
The previous PDB generation was losing pre-formatting inside
triple-backticked blocks. In particular we were losing indentation
(which was already ugly in C, but even syntactically wrong when
displaying Python code samples). And it was also making us add
double-newlines between every code lines, which was annoying.

This updated code now leaves triple-backticked sections as-is.

Unfortunately I was completely unable to do this by modifying the
existing functions, which were modifying the input arg in-place. So I
made them into functions returning the result. But then there is another
part of code (niceargs()) where changing array contents doesn't work
properly, and worse it seems to corrupt the array somehow (because I
have generation breakage in completely-different pieces of the PDB
generation code). I believe there is some passing-by reference/value
concepts in perl which I don't quite get (they use `&`, `\` and other
symbols and even searching for these, I don't quite understand how to
use them the right way) but I've spent already too much time on this. So
since I've got something working now by having duplicate functions, I'll
let someone else from the future, who knows better perl, re-merge these
functions if they know how.
2024-08-27 11:48:49 +02:00
..
brush-cmds.c API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
brush-select-cmds.c app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
brushes-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
buffer-cmds.c pdb, libgimp: Fix return type of gimp-buffer-get-image-type 2024-08-17 23:23:51 -04:00
channel-cmds.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
context-cmds.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
debug-cmds.c app, pdb: fix PDB string wrapping in generated calls of… 2022-06-05 01:57:02 +02:00
display-cmds.c app, libgimp, pdb: prettify the previous commit. 2024-08-26 22:48:45 +02:00
drawable-cmds.c pdb: Remove item_is_attached restriction from NDE filters 2024-07-15 21:12:17 +00:00
drawable-color-cmds.c app, libgimp, pdb: minor fixes. 2023-02-14 17:18:38 +01:00
drawable-edit-cmds.c app, pdb: fix PDB string wrapping in generated calls of… 2022-06-05 01:57:02 +02:00
drawable-select-cmds.c app, libgimp, pdb: generate widgets for GIMP_PROC_ARG_LAYER|CHANNEL arguments. 2023-10-01 21:02:34 +02:00
dynamics-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
edit-cmds.c app, pdb: improve cut error message and fix return value. 2024-08-09 20:39:26 +02:00
file-cmds.c app, libgimp*, pdb, plug-ins: review and enhance MR !1549. 2024-08-18 22:46:47 +02:00
floating-sel-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
font-cmds.c API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
font-select-cmds.c app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
fonts-cmds.c Fix fonts when exporting to pdf 2023-12-08 11:09:22 +00:00
gimp-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
gimp-pdb-compat.c app: remove compat registration for gimp-image-get-active-drawable. 2022-11-09 00:59:59 +01:00
gimp-pdb-compat.h app: use the GParamSpec's name in gimp_pdb_dump() 2019-08-30 11:43:53 +02:00
gimppdb-query.c app: gimp_pdb_query() returns a GStrv. 2022-05-24 17:26:50 +02:00
gimppdb-query.h Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
gimppdb-utils.c app: Rename app/core GimpVectors vectors API... 2024-07-13 05:07:57 +00:00
gimppdb-utils.h libgimp, app, pdb: Rename GimpVectors to GimpPath 2024-07-12 06:16:25 +00:00
gimppdb.c app, libgimp*, plug-ins: get rid of GimpRGB arrays now that we have GeglColor arrays. 2024-04-18 16:00:42 +02:00
gimppdb.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppdbcontext.c app: do not sync the PDB context "name" property. 2022-04-16 01:40:17 +02:00
gimppdbcontext.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppdberror.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimppdberror.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpprocedure.c app: fix leak. 2024-08-18 22:01:08 +02:00
gimpprocedure.h app: GimpAction now has a "reason" parameter to explain being disabled. 2021-04-23 19:43:30 +02:00
gimprc-cmds.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
gradient-cmds.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
gradient-select-cmds.c app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
gradients-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
group-layer-cmds.c app, libgimp: oups, fixing some generated sources. 2024-07-07 10:43:51 +02:00
help-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
image-cmds.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
image-color-profile-cmds.c Remove GimpUint8Array in favor of GBytes 2023-05-23 23:37:50 +02:00
image-convert-cmds.c app, libgimp, pdb: factorize a bunch of similar code into gimp_pdb_get_resource(). 2023-07-27 15:25:32 +02:00
image-grid-cmds.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
image-guides-cmds.c pdb: Allow off-canvas guides with Script-fu 2024-05-27 15:42:10 +00:00
image-sample-points-cmds.c pdb, libgimp: improve function documentation for sample points 2023-04-09 21:32:00 -04:00
image-select-cmds.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
image-transform-cmds.c Issue #10588: enumerations for RotationType can't be used in Python 2024-01-05 13:28:49 -05:00
image-undo-cmds.c app, libgimp, libgimpwidgets, plug-ins, etc: rename behaviour to behavior 2023-07-21 15:35:23 -04:00
internal-procs.c Issue #8900 and #9923: reimplementing GimpUnit as a proper class. 2024-08-02 10:46:38 +02:00
internal-procs.h pdb, libgimp: Rename libgimp GimpVectors vectors API... 2024-07-08 23:39:51 +00:00
item-cmds.c app, libgimp, pdb: support triple-backticks unformatted desc sections. 2024-08-27 11:48:49 +02:00
item-transform-cmds.c Issue #10588: enumerations for RotationType can't be used in Python 2024-01-05 13:28:49 -05:00
layer-cmds.c app, libgimp, pdb, plug-ins: new GimpGroupLayer class in libgimp. 2024-07-07 10:27:04 +02:00
meson.build pdb, libgimp: Rename libgimp GimpVectors vectors API... 2024-07-08 23:39:51 +00:00
message-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
paint-tools-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
palette-cmds.c app, libgimp*, modules, pdb, plug-ins: new GimpParamColor. 2024-04-19 23:25:13 +02:00
palette-select-cmds.c app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
palettes-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
path-cmds.c pdb, libgimpbase: Rename GIMP_VECTORS_STROKE_TYPE... 2024-07-19 15:07:43 +00:00
pattern-cmds.c API PDB: resource-get-by-name return NULL instead of error 2024-03-19 12:05:28 +00:00
pattern-select-cmds.c app, libgimp, pdb: new PDB group gimpdrawableselect. 2023-10-01 21:02:33 +02:00
patterns-cmds.c Issue #4201: meson: pdbgen not working. 2022-03-28 15:25:23 +02:00
pdb-cmds.c app, libgimp, pdb: new GimpVectorLoadProcedure class. 2024-04-24 01:16:46 +02:00
pdb-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-cmds.c Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
plug-in-compat-cmds.c PDB: fix #11815 CRITCALS from defaulted args for gegl wrapper procs 2024-07-16 10:25:41 +00:00
progress-cmds.c app, libgimp, pdb, plug-ins: fix failure to set plug-in as transient. 2024-06-08 21:54:21 +02:00
README pdb: (try 3) move PDB generation and sources to toplevel/pdb 2017-12-17 14:16:08 -05:00
resource-cmds.c app, libgimp, pdb: prettify the previous commit. 2024-08-26 22:48:45 +02:00
selection-cmds.c app, pdb: fix #8363 gimp_selection_float() crash 2024-04-15 18:13:32 -04:00
text-layer-cmds.c app, pdb: gimp_text_layer_new() allows pixel unit. 2024-08-18 17:44:06 +02:00
text-tool-cmds.c app, libgimp, pdb: further fix gimp_text_get_extents_font() and improve… 2023-10-02 21:30:20 +02:00
unit-cmds.c Issue #434: remove broken plural support for GimpUnit. 2024-08-06 11:39:57 +02:00

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 ../../pdb/groups.