Barak Itkin
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
Kevin Cozens
29716bccec
Changed deprecation message to state name of replacement procedure
2011-02-13 14:02:46 -05:00
Kevin Cozens
d2d6edc687
Eliminated compiler warning (from SVN version 71 of the TinyScheme project)
2011-02-09 01:41:34 -05:00
Kevin Cozens
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
Kevin Cozens
526c42dc35
Optionally report error line (from SVN r63 of official TinyScheme)
2011-02-07 15:56:21 -05:00
Kevin Cozens
7597d99c8d
Added unwind-protect (from SVN r57 of official version of TinyScheme).
2011-02-07 15:56:20 -05:00
Kevin Cozens
8a8e8c6fad
Fixed OP_INTEGERP op-code to match version in Tinyscheme 1.40
...
I don't know how the original block of code got the way it was since it has
been a single line of code in TinyScheme since the second revision. This also
prevents the compile from breaking if the USE_MATH #define was ever set to 0.
2011-01-19 15:30:47 -05:00
Kevin Cozens
f571ebf247
Fix for SourceForge bug #2826594 (allow reverse to work on empty list).
...
From SVN version 64 of official version of TinyScheme.
Also removed obsolete op code from opdefines.h table.
2011-01-16 16:26:57 -05:00
Mukund Sivaraman
cfde98394c
Fix scheme for (integer? 7.0) which should return #t
2010-11-20 15:43:37 +05:30
Alexandre Prokoudine
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
Alexandre Prokoudine
3abf6de944
Porting scripts to new API, marking layer names for translation
2010-10-10 17:59:29 +04:00
Sven Neumann
4d18135b46
script-fu: use "Rule" instead of "Hrule"
2010-10-10 01:56:00 +02:00
Sven Neumann
9100fd1c62
script-fu: don't include whitespace used as separator in translatable string
...
Actually we should use a printf()-like syntax here to make such strings
translatable.
2010-10-10 01:54:11 +02:00
Alexandre Prokoudine
0a4657ae9f
Porting scripts to new API, marking layer names for translation
2010-10-10 03:52:15 +04:00
Alexandre Prokoudine
e1a705c125
Marking layer names for translation
2010-10-10 03:41:21 +04:00
Alexandre Prokoudine
e062acbc64
Porting scripts to new API, marking layer names for translation
2010-10-10 03:40:59 +04:00
Alexandre Prokoudine
466523f732
Porting scripts to new API
2010-10-10 02:40:48 +04:00
Alexandre Prokoudine
bb9c1210b3
Porting to new API: add-[layer|channel] > insert-[layer|channel] and more, perspective-shadow.scm will need revisiting re. new item transformation API
2010-10-10 02:14:53 +04:00
Alexandre Prokoudine
eed3b054bc
Porting to new API: add-[layer|channel] > insert-[layer|channel] and more
2010-09-28 09:10:07 +04:00
Alexandre Prokoudine
9f2f17851c
Porting to new API: add-[layer|channel] > insert-[layer|channel]
2010-09-28 03:44:30 +04:00
Alexandre Prokoudine
b02ba67199
Porting to new API: add-[layer|channel] > -insert-[layer|channel]
2010-09-28 03:30:33 +04:00
Kevin Cozens
b0d8ba5ffd
Additional fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
plug-ins/script-fu/scheme-wrapper.c:
- Fixed set and get of UTF-8 coded strings for parasites.
plug-ins/script-fu/tinyscheme/scheme.c:
- Additional fix to string-append and fixed substring. The mk_empty_string
routine is not the way to allocate space for UTF-8 coded strings.
- Added some comments.
2010-09-20 23:20:45 -04:00
Kevin Cozens
ae6670ba8b
Last part of fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
At the end of a double quoted string, readstrexp() was passing byte count
instead of character count to mk_counted_string(). Cleaned up basic_inchar().
It ignores bad UTF-8 coded characters when reading from file or buffer.
2010-09-19 17:48:17 -04:00
Kevin Cozens
6855267470
First part of fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
Fixed string-set! and string-append due to mixup of chars vs. bytes.
Fixed calculation of pointer to past end of string in open-*-string
routines.
2010-09-19 17:48:17 -04:00
Tor Lillqvist
6d62a5e4fe
Fix Win32 build
...
No sa_family_t in winsock headers, so typedef it.
2010-09-02 19:34:51 +03:00
Michael Schumacher
e77dd90fc0
Bug 574018 - Add a manifest to executables
...
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.
If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Barak Itkin
03f1034a97
script-fu: Use the new gimp-item api where possible
2010-08-03 00:13:51 +03:00
Ulf-D. Ehlert
f76981143d
Bug 624761 - Stencil Chrome filter: missing parameter check
...
Limit the result of the internal "highlights" routine to 100.0,
preventing invalid "gimp-color-balance" color parameters.
Also, replace some parameters with appropriate named constants.
2010-07-21 20:43:48 +02:00
Nils Philippsen
521cf89006
script-fu: make server strict-aliasing friendly
...
use union of struct sockaddr* types instead of direct casts
2010-07-09 12:52:24 +02:00
Michael Natterer
2d6f808ff8
pdb: add a new PDB group "item" and move lots of functions to it
...
The item groups has all the duplicated functionality from drawable
and vectors (name, visible, linked etc).
Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
change all protocol aware files accordingly and bump the protocol
version number. Change script-fu to handle the new type.
2010-07-09 09:34:44 +02:00
Tor Lillqvist
6bfe88ae17
script-fu build fix for Windows
2010-07-05 09:59:34 +03:00
Nils Philippsen
04538534fc
Bug 623045 - script-fu: make server IPv6 aware
...
use getnameinfo() instead of inet_ntoa()
use two sockets for IPv4, IPv6
2010-06-29 15:47:01 +02:00
Kevin Cozens
75941beaca
Added SIOD compatability routines string-downcase and string-upcase.
2010-06-21 23:56:40 -04:00
Sven Neumann
7ed3998870
script-fu: clean up coding style and translatable messages
2010-05-31 21:36:36 +02:00
Sven Neumann
e745ad94e4
script-fu: menu path should not be marked for translation
2010-05-31 21:10:46 +02:00
Barak Itkin
9cd68579e4
Bug 618961 - Bad escape character in script-fu palette-export prevents parsing
...
Fix a bad string escape character in palette-export.scm which prevents
the file from being parsed.
2010-05-22 12:48:38 +02:00
Cameron Gregory
afa9bd3b9a
plug-ins: script-fu-selection-rounded-rectangle takes four arguments
...
Don't forget to pass a value for the 'concave' parameter to
script-fu-selection-rounded-rectangle.
2010-05-16 11:46:33 +02:00
Alexandre Prokoudine
bdd112c185
Better grammar, messages are translatable now
2010-04-20 00:11:54 +04:00
Kevin Cozens
32b7b79c33
Fixed scheme struct strbuff[] size to handle long strings in register blocks
2010-02-13 15:06:12 -05:00
Kevin Cozens
77498d1587
Bug 605540 - texts displayed with gimp-message are not translated
...
Applied modified version of patch supplied by Eric Lamarque.
2010-02-11 16:07:58 -05:00
Sven Neumann
799a7fc5a8
script-fu: drop gimp.org header and label scripts
...
These scripts used to be used to create graphics for the old gimp.org
web-page that has long been redone several times. There is no point in
distributing these scripts any longer.
2010-02-03 20:54:04 +01:00
Akkana Peck
36551daa19
Fix bug 590418: make chalk script-fu work.
...
Sobel doesn't work on layers with transparency, like text layers,
so the text layer in the chalk script needed to be merged with the
background layer beneath it.
2010-02-02 13:04:24 -08:00
Kevin Cozens
cc6427e5d5
Applied patch from Saul Goode which mostly fixes bug #604587
...
Fixes delq when using numeric values. Fixes two bad let block declarations.
2010-01-31 18:46:21 -05:00
Michael Natterer
7175f3e883
Some more changes to build with GSEAL_ENABLE
...
- use more GTK+ accessors instead of struct members
- remove quite some #undef GSEAL_ENABLE from completely ported files
2010-01-15 15:35:03 +01:00
Sven Neumann
1339b5cd87
script-fu: remove dead code
...
Remove commented-out code that caused a false positive when
searching for deprecated GLib symbols.
2009-11-09 19:03:03 +01:00
Michael Natterer
018e8b0d29
Build with GSEAL_ENABLE and #undef it where accessors are missing
2009-10-17 20:31:57 +02:00
Michael Natterer
f5115e06ec
Use GtkAdjustment's accessors
2009-10-09 21:19:08 +02:00
Kevin Cozens
0e68a7d59a
Updated TinyScheme to support UTF-8 coded filenames. See bug #592413 .
2009-10-01 11:51:21 -04:00
Kevin Cozens
272073a196
Applied changes from CVS version 1.34 of official version of TinyScheme.
...
Fixed bug that could put the interpreter in to an endless loop on EOF in
the example case "(define foo".
2009-09-01 22:43:50 -04:00
Kevin Cozens
4acd4317a7
Eliminated compiler warnings (scheme.c). Fixed whitespace (dynload.c).
2009-09-01 21:52:11 -04:00