Commit Graph

1162 Commits

Author SHA1 Message Date
a2c8759fbf Bug 684923 - Fix script-fu build on OpenBSD/NetBSD
Apply patch from Brad Smith which defines AI_ADDRCONFIG
if it doesn't exist.
2012-10-02 22:11:27 +02:00
2a30a2bb74 Bug 684698 - Preferences-Folders: only 15 folder items accepted
Raise "max_paths" from 16 to 256 in all calls to gimp_path_parse().
2012-09-26 23:29:51 +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
d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
b06bc63630 Corrected TinyScheme version number shown in Script-Fu console. 2011-12-09 14:11:44 -05: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
72c89397e4 Removed #include that is now included by another include statement 2011-11-24 15:12:04 -05:00
262cc1c946 Bug 664316 - Searchpath separator required
Add constant SEARCHPATH-SEPARATOR (= G_SEARCHPATH_SEPARATOR_S).
2011-11-18 09:40:15 +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
7048d9e46e tinyscheme: Remove dead assignment 2011-10-06 09:04:43 +05:30
dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
a324206a3e script-fu: link libtinyscheme with libm if necessary
The tinyscheme static library uses math functions, ensure that libm is
linked where necessary (#659586, original patch by Vincent Untz,
modified)

cherry-picked from commit 7df2cb45b3c77ad2847c3756b2e5d711e104b5bd in
the gimp-2-6 branch.
2011-09-30 06:59:25 +05:30
b6310f88cf script-fu: explicitly specify library dependencies
cherry-pick commit d1e0f540e551cbc7f622a84dc65a7e97d016174c from the
gimp-2-6 branch.
2011-09-30 06:55:24 +05:30
23978ecec3 Optimized append to make it an O(n) operation (See Sourceforge bug #3400290)
From a patch by Doug Currie. Also some minor whitespace changes.
2011-09-23 19:10:17 -04:00
fc811f3708 Applied changes from SVN version 87 of official version of TinyScheme
Can't call round_per_R5RS() in is_integer() as it is not available if USE_MATH
is not defined. It is simpler and faster to compare ivalue() and rvalue() of
an inexact number. No need to round integers in OP_ROUND. Minor optimization
for is_nonneg().
2011-09-23 19:10:17 -04:00
599f6e8390 Fixing formatting of files and removed tabs. 2011-09-23 19:10:16 -04:00
b61b8782d0 R5RS compatability fix for expt. (See SourceForge bug #3399332)
Based on the patch from Doug Currie.
2011-09-23 19:10:16 -04:00
262241cb21 script-fu: Don't print leading space when printing vectors 2011-08-31 22:26:21 +05:30
01a24fb4f7 R5RS compatability fixes for integer? and round (SourceForge bug #3400284) 2011-08-30 16:53:17 -04:00
a8966b8485 R5RS compatability fix for expt (SourceForge bug #3399332) 2011-08-30 12:00:00 -04:00
7ab6704f78 R5RS fix adds decimal point for inexact in atom2str (SourceForge bug #3395548) 2011-08-29 17:27:12 -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
5d3be5be3c R5RS compatability fix for append by Doug Currie. (SourceForge bug #3400202)
Append with one argument should return the argument but not as a list.
2011-08-29 17:27:12 -04:00
5d61a737a7 R5RS compatibility fix for min and max (SourceForge bug #3399331)
They are required to return inexact when any argument is inexact.
(From a patch by Doug Currie.)  Also de-tabified init.scm file.
2011-08-29 17:27:12 -04:00
fe20e7b181 Added closing brace that got lost when applying fix for modulo procedure. 2011-08-29 14:08:57 -04:00
1574700215 R5RS compatibility fix for the modulo procedure (SourceForge bug #3395547) 2011-08-29 13:54:45 -04:00
a21bba4cab Added missing #if in opdefines.h around get and put (from SVN TinyScheme r75) 2011-08-29 13:54:17 -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
f660236a4f plug-ins: remove some -Wunused-but-set-variable 2011-05-05 12:49:38 +02:00
28983a5158 app: Add a "check-for-deprecated-procedures-in-script-fu" make target
Add a "check-for-deprecated-procedures-in-script-fu" make target that
looks for usage of deprecated procedures in *.scm files. We currently
use quite a bit of deprecated procedures. When we don't do that
anymore, we should connect this to make check somehow so our nightly
build fails if someone deprecated a procedures without also porting
all clients.

Run it like this from the source root:

  make -C plug-ins/script-fu check-for-deprecated-procedures-in-script-fu
2011-05-05 01:04:23 +02:00
f1c20cb165 Fixed modulo function which affected 'random' procedure. (See bug #647541) 2011-04-13 13:39:58 -04:00
7e6c026790 Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h 2011-04-11 23:43:03 +02:00
8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
24ee3370b8 Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
422248d42a Fixed cut and paste error that put R5RS fix before the setting of a variable. 2011-03-17 21:43:48 -04:00
97bf01569a Minor R5RS compatibility fix for the expt procedure. 2011-03-17 17:47:45 -04:00
5c07d3b52d Added a getenv procedure to the ftx extension of Script-Fu. 2011-03-17 17:47:44 -04:00
bdf8d3d776 plug-ins: add some GTK_CHECK_VERSION(2,24,0) and use the new GtkComboBoxText 2011-03-17 14:31:39 +01:00
fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01: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