Commit Graph

512 Commits

Author SHA1 Message Date
e6c1c14a94 pdb, libgimp: change the gimp-drawable-invert API again
Remove the invert-linear and invert-non-linear variants and simply add
"gboolean linear" to gimp-drawable-invert. This should actually be an
enum but I didn't find a good name right now...
2017-09-03 21:28:47 +02:00
2e6c39ed9c pdb, libgimp: rename gimp_drawable_invert() to _invert_non_linear()
and add gimp_drawable_invert_linear(). Also, finally deprecate
gimp_invert() and port all its uses in plug-ins and scripts to
gimp_drawable_invert_non_linear() so the result is the same.
2017-08-30 12:27:17 +02:00
8412192f85 Bug 783386 - Circuit filter broken
Fix an error in the circuit filter introduced in
1ce7fc6c77.

It's gimp-drawable-desaturate not gimp-desaturate-drawable.
2017-06-04 00:09:41 +02:00
5e666113b1 plug-ins: replace deprecated enum values in script-fu scripts 2017-02-26 21:30:11 +01:00
67275dd1ff script-fu: replace deprecated constants by their new names 2017-01-09 20:38:19 +01:00
754b9a849c script-fu: port two scripts to gimp-edit-paste-as-new-image 2016-09-20 20:23:04 +02:00
dd9b0fc55b Bug 768044 - Fix many typos
This fixes many typos in comments and one in a user-visible string (msgid
"center abscisse" changed to "center abscissa" in affected po files. too).
2016-06-26 00:35:24 +02:00
7297ace6bf Added "tinyscheme" to the features list. From SVN version 106 of offical version of TinyScheme. 2016-06-02 15:32:03 -04:00
4d23939c3d plug-ins: make "filename" accessible to the loop of "with-files" macro.
The filename of the current bash file being processed is a pretty useful
data to access in a script.
2016-05-30 19:37:22 +02:00
ce2e187b08 plug-ins: script-fu bash processing should not finish with gimp-quit.
This is not the macro business to quit GIMP. The user may still have
processing to do after looping over images.
2016-05-30 19:37:22 +02:00
b6611b94ad Simplify command line processing by adding a 'with-files' macro. 2016-05-30 19:37:22 +02:00
139801f222 Bug 690544 - Script-fu (rand 4294967295) hangs on machines with 64-bit longs 2016-05-29 19:42:26 +02:00
a8a214ffcb Bug 724731 - Difference clouds - memory leak if UNDO performed
Create the clouds layer after calling gimp-image-undo-group-start
2016-03-02 19:27:17 +01:00
06bc22b197 Bug 746467 - 'convert-decimal-to-base' produces erroneous results 2015-08-16 00:08:41 +02:00
1ce7fc6c77 Bug 747407 - Update use of gimp-desaturate PDB.
gimp-desaturate and gimp-brightness-contrast usage
replaced with gimp-drawable-* based calls.

gimp-drawable-desaturate calls updated to use
desaturate mode (DESATURATE-LIGHTNESS) where it
was not specified.

gimp-drawble-brightness-contrast values scaled from
previous -127/+127 range to current -0.5/0.5 range.
2015-06-03 22:31:20 -04:00
cc042b35d2 Bug 748270 - ripply-anim.scm does not handle transparent backgrounds
Replace the script by a modernized re-write, which also handles layers
with alpha.
2015-04-26 22:22:00 -04:00
300b756e85 Bug 739775 - Select->Distort activates topmost layer
Remeber the active layer in distress-selection.scm and set it again
when the script is done.
2014-11-23 20:53:13 +01:00
4de78f51b3 Bug 681140 - Filter Render/Line Nova: renders in black instead...
Store the foreground color before setting the default context.
2014-11-22 08:48:25 +01:00
b39f0757db script-fu: don't add "Erase Every Other Row" to the menus
because it's not only useless but also utterly slow.
2014-05-30 23:26:09 +02:00
4712701415 app, plug-ins: move everything from Render->Clouds to the new Render->Noise
because that's what they are and what most menu labels in there says.
Keep the "Clouds" menu around for 3rd party plug-ins, not sure if it's
right to auto-map it to "Noise" automatically.
2014-05-18 22:46:05 +02:00
598673bc83 Bug 721058 - Shadow layer for Drop Shadow filter in wrong stack position
Fix layer stack positioning for Drop Shadow.
2014-01-01 15:01:16 +01:00
bebccb4a28 Bug 720598 - Mistaken description for 'New Guides from Selection
Use original desc. for 'New Guides from Selection', it was
accidentially changed in commit 6239dddda3.
2013-12-18 00:33:57 +01:00
a7e24a64b7 Fixed an error in the close-port function. Closes bug #719396. 2013-12-02 19:46:18 -05:00
264d09b417 Rename colour and greyscale to color and grayscale respectively 2013-06-06 23:26:16 +02:00
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
df30fd6e68 R5RS compatability fix for string->number and number->string (SF bug #3399335)
Optional radix parameter from SVN version 92 of official version of TinyScheme.
2012-12-14 17:43:10 -05:00
fe5366c455 Bug 565268 - unlocalizable string in script-fu-carve-it
Simplify blurb and mark it for translation.
2012-10-07 16:40:40 +02:00
6f3cbcbbd9 Adjusted default values in the Drop Shadow script to help people produce less ugly artwork 2012-08-25 20:14:02 +04:00
96ab6aa88e scripts: remove the entries registered in the create menu 2012-05-06 21:16:40 +02:00
2d260e8de1 script-fu: opacity in SF-BRUSH is 0..100 since at least GIMP 2.2 2011-11-24 22:15:54 +01:00
4911777c03 slide.scm: Don't use deprecated procedures (Fixes bug #647834)
Spotted by, and patch from, Alexis Wilhelm with white space changes and
a missing context-set added.
2011-11-09 21:07:13 -05:00
e5f6a6d9ea distress-select.scm: Limit threshold to 1-254 to avoid loss of selection
Fixes bug #595828.
2011-11-09 15:48:47 -05:00
27bef34bd5 Don't change global context and protect scripts from global context settings. 2011-11-09 02:42:34 -05:00
05d4e78830 Removed use of deprecated functions in two Script-Fu scripts (bug #647834) 2011-11-07 12:37:16 -05:00
176773dcfe Second stage in removing use of deprecated functions in Script-Fu scripts
Applied most of the mega patch from br0cc0li (see bug #647834) with
additional de-tabbing and changes in whitespace.
2011-11-07 12:37:16 -05:00
0bd1c2f09f Fix previous script-fu deprecation commit due to overzealous update script. 2011-11-07 12:37:15 -05:00
5e015aebba First stage in removing use of deprecated functions in Script-Fu scripts
This commit replaces the names of deprecated procedures with the name of
the new procedure where the new procedure takes the same argument list.
2011-11-02 03:05:07 -04:00
599f6e8390 Fixing formatting of files and removed tabs. 2011-09-23 19:10:16 -04:00
6af99d4793 R5RS compatibility fix for min and max (take 2) (SourceForge bug #3399331)
It works better if I also update the script-fu.init file used by Script-Fu.
2011-08-29 17:27:12 -04:00
c556a8fdab Fixed deprecation warning and script breakage (see bug #646993)
Fixed deprecation warning. Fixed script breakage when "Add shadow" was checked
due to error in order of arguments. Made chris-color-edge a private procedure.
2011-08-29 13:53:29 -04:00
841c8a7ebe String review: fix some spelling and formatting issues 2011-08-28 20:07:55 +02:00
b435e55d14 Applied modified version of second patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
Additional scripts were changed to not pass -1 to gimp-image-insert-layer.
2011-03-02 02:55:43 -05:00
403630fd57 Applied modified version of first patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
2011-03-02 02:27:15 -05:00
b19645db49 script-fu: Use gimp-image-select-item instead of gimp-item-to-selection
gimp-item-to-selection does not seem to exist (in the PDB), so update to the
correct function gimp-image-select-item (which also takes the image as a
parameter).
2011-02-21 00:19:38 +02:00
29716bccec Changed deprecation message to state name of replacement procedure 2011-02-13 14:02:46 -05:00
fac7d4dd64 Pulled in final changes from 1.40 release of the separate TinyScheme project.
With this commit, the TinyScheme component of Script-Fu now has all changes
and bug fixes that have been applied to the separate TinyScheme project.
2011-02-07 15:56:21 -05:00
7597d99c8d Added unwind-protect (from SVN r57 of official version of TinyScheme). 2011-02-07 15:56:20 -05:00
fee17f8712 Cleanup of recent changes in porting scripts to new API. Marked layer names in carved-logo.scm for translation while at that 2010-10-10 21:07:24 +04:00
3abf6de944 Porting scripts to new API, marking layer names for translation 2010-10-10 17:59:29 +04:00
4d18135b46 script-fu: use "Rule" instead of "Hrule" 2010-10-10 01:56:00 +02:00