|
1 |
| -5.2 |
2 |
| -=== |
| 1 | +# 5.3 |
| 2 | + |
| 3 | +* Allowed registration of procedures of type `Gimp.ExportProcedure`, `Gimp.BatchProcedure` and `Gimp.VectorLoadProcedure`. |
| 4 | +* Further clarified the Readme. |
| 5 | +* The `generate-pdb-stubs.py` file is now executable. |
| 6 | + |
| 7 | + |
| 8 | +# 5.2 |
3 | 9 |
|
4 | 10 | * Clarified contents of Readme for improved readability.
|
5 | 11 |
|
6 | 12 |
|
7 |
| -5.1 |
8 |
| -=== |
| 13 | +# 5.1 |
9 | 14 |
|
10 | 15 | * The stub generator is now guaranteed to be accessible in GIMP even if no images are opened.
|
11 | 16 |
|
12 | 17 |
|
13 |
| -5.0 |
14 |
| -=== |
| 18 | +# 5.0 |
15 | 19 |
|
16 | 20 | * Updated the `pdb` object, script and the generated stubs according to changes in GIMP 3.0.0-RC3.
|
17 | 21 | * Added more information to several parameter types in the generated stub file. For example, the description for numeric parameters now contains minimum and maximum values (if different from the default minimum and maximum values), the description for `Gio.File` parameters indicates whether they are files or folders for opening/saving, etc.
|
|
22 | 26 | * Arguments whose names match a Python keyword can now be passed with a trailing `_`, e.g. `lambda_` (passing `lambda=<value>` would result in a syntax error).
|
23 | 27 |
|
24 | 28 |
|
25 |
| -4.2 |
26 |
| -=== |
| 29 | +# 4.2 |
27 | 30 |
|
28 | 31 | * Fixed `CRITICAL` warnings issued by GIMP when applying layer effects.
|
29 | 32 |
|
30 | 33 |
|
31 |
| -4.1 |
32 |
| -=== |
| 34 | +# 4.1 |
33 | 35 |
|
34 | 36 | * Added allowed string values to the function documentation of the generated stub file for `Gimp.Choice` arguments or GEGL enums converted to `Gimp.Choice` arguments.
|
35 | 37 | * Default values for string arguments in the function documentation are now quoted for improved readability.
|
36 | 38 | * Fixed a potential bug where certain GEGL enums were unnecessarily converted to a string (since GIMP converts many of these enums to strings for readability).
|
37 | 39 |
|
38 | 40 |
|
39 |
| -4.0 |
40 |
| -=== |
| 41 | +# 4.0 |
41 | 42 |
|
42 | 43 | * Added support for layer effects (filters, GEGL operations). These can be called via the `pdb` object. For example, the `gegl:gaussian-blur` effect can be called as `pdb.gegl__gaussian_blur(layer, std_dev_x=5.0, std_dev_y=5.0)`.
|
43 | 44 | * Procedures can now only be called with keyword arguments (i.e. it is no longer possible to call procedures with positional arguments). This change is meant to encourage plug-in developers to make the client code more readable. The only positional argument allowed is a `Gimp.Layer` instance for layer effects.
|
|
46 | 47 | * The generated stub file `pypdb.pyi` now also contains private attributes from the `_PyPDB` class, `PDBProcedure` class and all its subclasses. This avoids IDE warnings related to unrecognized attributes.
|
47 | 48 |
|
48 | 49 |
|
49 |
| -3.2 |
50 |
| -=== |
| 50 | +# 3.2 |
51 | 51 |
|
52 | 52 | * Fixed procedure registration if the same list of arguments was reused for multiple plug-in procedures.
|
53 | 53 |
|
54 | 54 |
|
55 |
| -3.1 |
56 |
| -=== |
| 55 | +# 3.1 |
57 | 56 |
|
58 | 57 | * Fixed calling PDB procedures with keyword arguments containing underscores.
|
59 | 58 |
|
60 | 59 |
|
61 |
| -3.0 |
62 |
| -=== |
| 60 | +# 3.0 |
63 | 61 |
|
64 | 62 | * Updated the script and the generated stubs to work with GIMP 3.0.0-RC1.
|
65 | 63 | * For the pre-generated stub, default values in descriptions are now only included for "basic" types, specifically `int`, `float`, `bool`, `str` and `bytes`.
|
66 | 64 | * For the pre-generated stub, fixed formatting of arguments and return values without a description (blurb).
|
67 | 65 |
|
68 | 66 |
|
69 |
| -2.0 |
70 |
| -=== |
| 67 | +# 2.0 |
71 | 68 |
|
72 | 69 | * Added a module to simplify registration of plug-ins.
|
73 | 70 | * Updated the script to work with GIMP 2.99.18. GIMP 2.99.16 is no longer supported.
|
74 | 71 | * Updated the signature of PDB procedures. All arguments can now be omitted and their default values will be used. However, note that the stub file will display `None` as the default value for all arguments even if it is not the default (since the user can save different defaults for a particular PDB procedure, the defaults displayed in the stub file would no longer be accurate).
|
75 | 72 |
|
76 |
| -1.3 |
77 |
| -=== |
| 73 | + |
| 74 | +# 1.3 |
78 | 75 |
|
79 | 76 | * Arguments to PDB procedures are now automatically wrapped with `GObject.Value()`.
|
80 | 77 | * Updated the stub file to remove `GObject.Value` as an accepted type for PDB arguments.
|
81 | 78 |
|
82 |
| -1.2 |
83 |
| -=== |
| 79 | + |
| 80 | +# 1.2 |
84 | 81 |
|
85 | 82 | * Prevented errors when importing the `pypdb` module when GIMP is not fully initialized.
|
86 | 83 |
|
87 | 84 |
|
88 |
| -1.1 |
89 |
| -=== |
| 85 | +# 1.1 |
90 | 86 |
|
91 | 87 | * Allowed access to PDB procedures via strings as `pdb['some-procedure-name']`.
|
92 | 88 | * Python exceptions are now raised if attempting to access non-existent procedure names.
|
93 | 89 |
|
94 | 90 |
|
95 |
| -1.0 |
96 |
| -=== |
| 91 | +# 1.0 |
97 | 92 |
|
98 | 93 | * Initial release.
|
0 commit comments