- Dec 21, 2024
-
-
Jehan authored
I've tested lightly this removal. I don't think this code was really needed or logical anyway, though maybe I am missing something because I barely discover the existence of this "Image Selection" feature of dock windows!
-
Alx Sa authored
When loading a GimpConfig property for a filter, we assumed that the string is always valid. This patch adds code to check if we read in the string correctly - if we didn't (or if it was tampered with), we don't try to deserialize an empty string.
-
Jehan authored
The code to retrieve the alpha-variant of the indexed palette was wrong, and therefore babl was creating a brand-new palette fornat. Not sure if the palette was empty, or was random or anything. It's even weird it even produced somewhat resembling colors.
-
Bruno authored
-
Bruno authored
This is useful right before releases according our release procedure: https://testing.developer.gimp.org/core/maintainer/release/ Also, checking the variable content make the script more safe, considering that in the future we will publish automatically from CI.
-
- Dec 20, 2024
-
-
-
-
-
Filters with custom dialogues like Curves and Levels did not have the existing filter set before being initialized. This meant that if you have a different layer selected, editing an existing filter would add a new filter to your selected layer rather than editing the filter on its own layer. This patch sets the NDE filter in the tool before initialization, so that it can get the correct layer to edit and update the filter settings on that one.
-
-
-
-
-
-
Jehan authored
-
Anders Jonsson authored
-
- Dec 19, 2024
-
-
Jehan authored
-
Jehan authored
1. After discussions on IRC, we agreed that "A new perceptual blending space was added in GIMP 3.0" was a nicer reason to display for bumping the XCF version, because instead of focusing on fixes, we focus on the new feature (a real "perceptual blending space" was added for modes) and also because naming "perceptual" in some form seems more helpful for people to figure out what is different. 2. Fixing sensitivity of the non-linear (formerly named perceptual) actions when the blend or composite spaces are mutable.
-
In previous versions what has been stored/specified as perceptual blending or compositing spaces has really been the non-linear variant of the images babl space. To maintain loading of old files, the code has been updated to actually mean non-linear and a new perceptual value has been added to the GimpLayerColorSpace enum, while preserving all old enum values. This change bumps XCF file version to 23
-
-
-
-
Alx Sa authored
As noted by Thomas Manni, editing NDE filters was still affected by restrictions on existing layers, even if the edited layer did not have those restrictions. This patch alters gimp_item_tree_view_effects_edited_clicked () so that it checks if the edited filter's drawable is visible or pixel locked, rather than the currently selected layers. It also adds checks in GimpFilterTool tool to verify an existing filter is being edited before preventing certain operations.
-
Bruno authored
-
Bruno authored
This avoids DEs mixing icons from stable/beta with nightly.
-
-
- Dec 18, 2024
-
-
Anders Jonsson authored
-
Jehan authored
-
- Dec 17, 2024
-
-
Jehan authored
- More icons from Default used in legacy as temporary workaround of missing icons. - Splash image updated.
-
Jehan authored
-
Jehan authored
When searching backward, it will show '^^^' and forward 'vvv' instead of '>>>' and also the searched text will appear next to the prompt between parentheses. This makes searching a lot easier as we have clear feedback of where we are at and what we are searching.
-
Jehan authored
These are the common shell shortcuts for respectively searching backward and forward in command history. I use the Python Console plug-in so much for testing that it started to weigh on me on how ineffective it was not to be able to search through the history and laboriously hit Up/Down buttons instead. While doing a search, most navigation keys would trigger to stop the search (and stay at the current history item followed by whatever the key was supposed to do, such as changing cursor position, etc.). Esc in particular would just stop the search and do nothing else. Ctrl-C though would reset the search and get the text back to what it was before search started.
-
Jehan authored
When you want to get back to the latest command, it is very confusing when it starts cycling from the oldest history command!
-
Jehan authored
As a particularity in these NEWS, the changes for BMP are more accurate in the NEWS file than in the commit because MR !1932 got mistakenly squashed. For anyone looking to have even more details, they should read the informative comments in the MR: !1932 (commits)
-
Jehan authored
For plug-in writers reference, these are equivalent: - (plug-in-bump-map RUN-NONINTERACTIVE img drawable bump-layer azimuth elevation depth 0 0 0 0 FALSE FALSE 0) + (let* ((filter (car (gimp-drawable-filter-new drawable "gegl:bump-map" "")))) + (gimp-drawable-filter-configure filter LAYER-MODE-REPLACE 1.0 + "azimuth" azimuth "elevation" elevation "depth" depth + "offset-x" 0 "offset-y" 0 "waterlevel" 0.0 "ambient" 0.0 + "compensate" FALSE "invert" FALSE "type" "linear" + "tiled" FALSE) + (gimp-drawable-filter-set-aux-input filter "aux" bump-layer) + (gimp-drawable-merge-filter drawable filter) + ) The "type" argument now uses strings. This commit also do a big cleanup of remaining now-unused helper functions in the compat PDB code.
-
Jehan authored
For plug-in writers reference, these are equivalent: - (plug-in-displace RUN-NONINTERACTIVE work-image frame-layer - x-displacement y-displacement - TRUE TRUE aux1 aux2 abyss)) + (let* ((abyss "black") + (filter (car (gimp-drawable-filter-new frame-layer "gegl:displace" "")))) + + (if (= edge-type 1) (set! abyss "loop")) + (if (= edge-type 2) (set! abyss "clamp")) + + (gimp-drawable-filter-configure filter LAYER-MODE-REPLACE 1.0 + "amount-x" x-displacement "amount-x" y-displacement "abyss-policy" abyss + "sampler-type" "cubic" "displace-mode" "cartesian") + (gimp-drawable-filter-set-aux-input filter "aux" aux1) + (gimp-drawable-filter-set-aux-input filter "aux2" aux2) + (gimp-drawable-merge-filter frame-layer filter) + ) I also changed a test which (I think) was just a no-op since do-x and do-y were 0 0 (hence FALSE). Therefore the whole filter processing was ignored. Note though that unlike the rippling animation filter, I haven't tested the test script.
-
Jehan authored
This is a wrapper to the C function of the same name. It is now possible to merge filters with auxiliary input pads!
-
Jehan authored
In particular (gimp-drawable-filter-configure), (gimp-drawable-merge-filter) and (gimp-drawable-append-filter) are proper Script-fu methods. I had to rename the PDB procedures for the 2 latter because they were clashing with these wrapper. I had not realized that private PDB procedures are still visible by Script-fu. This is not so glop. :-/ Right now, it doesn't look so useful compared to the -new- one-liner variant procedures. But it will make sense when I will add aux input C procedure wrappers.
-