Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2011-01-28 Thread Kevin Cozens
saulgo...@flashingtwelve.brickfilms.com wrote:
 I'd like to apologize to the list. I had responded to Kevin off-list 
 because most of my questions were specific to the upstream TinyScheme 
 project and had only peripheral impact to Script-fu development.

That's partly my fault. The references to Script-Fu made me unsure whether 
the e-mail was only about TinyScheme or was also about Script-Fu. By the 
time I went to reply, I had already removed the part of your message saying 
you were mailing me off-list. With the way the list is configured, if I see 
[Gimp-developer] in the subject line I automatically send the reply to the list.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2011-01-15 Thread saulgoode
I'd like to apologize to the list. I had responded to Kevin off-list  
because most of my questions were specific to the upstream TinyScheme  
project and had only peripheral impact to Script-fu development. I  
probably should have posted to the list anyway (I have attached the  
contents of my original response if anyone is interested).


Quoting Kevin Cozens ke...@ve3syb.ca:


What would be the best way for me to participate in TinyScheme
development?


The official webpage for TinyScheme is http://tinyscheme.sourceforge.net/.
It is a SourceForge project so there is a mailing list, bug tracking system,
and a version controlled source code repository.


Thanks for that info. I have joined the mailing list and look forward  
to greater participation now that I am aware of the proper channels  
(congratulations on your appointment as a project leader).


It would probably be helpful if the TinyScheme website  
(http://tinyscheme.sourceforge.net/home.html) contained a direct link  
to the project's SourceForge resource page  
(http://sourceforge.net/projects/tinyscheme/). I realize I can be  
dense at times, I was completely unaware of the mailing list, bug  
tracker, and forums existence despite searching for such things on  
several occasions over the last few years (I mistakenly concluded that  
TinyScheme was a merely privately developed project).



There are a number of things that need to be done. I will to set up a wiki
so there is a place for information about the project.


I would be happy to contribute to such a wiki, and volunteer to help  
administer it if you should like.



The changes to TinyScheme used in Script-Fu don't have to be limited but
they have to be made carefully. ... TinyScheme has to stay tiny so it
can't just be changed to start using functions from glib.

One option to adding features that aren't that important to have, or which
would be for GIMP/Script-Fu use only, is to use run-time loadable extensions.


There are so many good Scheme implementations out there -- Chicken,  
Racket, Bigloo, and GUILE seems to be making a resurgence -- that I do  
not foresee any desirability to greatly increasing TinyScheme's  
capabilities. I'm mainly interested in bug fixes and just a couple  
targeted enhancements which could readily be implemented with the  
run-time extensions.


For Script-fu, I think it is critical that it not change too  
drastically over time and that scripts do not come to rely upon  
features which are not provided by the software delivered with GIMP  
(or hard dependencies thereof), whether as TinyScheme extensions or  
external libraries.


To the topic of this thread, I think it would be foolhardy to remove  
Script-fu from GIMP anytime in near future and I am pleased to hear  
you also assert that. The issue is not whether better programming  
languages exist, but that Script-fu scripts can be relied upon to  
easily be installed and readily function with any distribution of GIMP  
on any platform. As long as Script-fu provides this cross-platform  
support and maintains its small memory footprint (~500Kb by my  
estimation), there is little to advocate its removal.


By the same token, if Script-fu scripts were to start proliferating  
which relied upon third-party libraries or customized compilations of  
GIMP (wherein unofficial TinyScheme extensions were employed) then  
Script-fu would lose one of its most important advantages over  
plug-ins written in C, Python, Perl, other implementations of Scheme,  
etc.


Should any other extension language aspire to replace Script-fu, it  
first should have to satisfy this works with every GIMP  
characteristic of Script-fu. Any GIMP feature which depends upon the  
operating system including the language support -- or the user  
installing such support characteristic -- is a tentative feature at  
best. Unless the language implementation ships with GIMP, this is  
unlikely to occur. Python probably comes closest, but even it is not  
deployed in a standardized manner across all platforms. This is more  
owing to version differences than platform differences, but net result  
is still the same -- it is not ensured that a Python plug-in that  
works on one OS will work on another (including different different  
distributions of GNU/Linux).


That is not to say there is anything wrong with any of these other  
languages (or other implementations of Scheme), but Script-fu is  
currently providing extensibility to GIMP that no other language has  
been able to match (and likely never able to). Continue to advocate  
your language of choice and freely share your plug-ins written in that  
language, ignoring that Script-fu even exists. However, if anyone  
wishes to advocate the *removal* of Script-fu then they should start  
by providing a self-contained implementation of the substitute  
language which can ship with GIMP, and be willing to support that  
implementation as Script-fu has been maintained over the 

Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2011-01-13 Thread Kevin Cozens
Seasons Greetings, Saul.

 What would be the best way for me to participate in TinyScheme 
 development?

The official webpage for TinyScheme is http://tinyscheme.sourceforge.net/.
It is a SourceForge project so there is a mailing list, bug tracking system, 
and a version controlled source code repository.

I would suggest you join the mailing list. Its low (mostly zero) traffic. 
Get copies of the R5RS and R6RS documents. Take a look at the bug tracking 
system. Start going over the code to get a sense of how it operates. I still 
have to review it more thoroughly myself to better understand how the 
parsing and execution portions of the code.

There are a number of things that need to be done. I will to set up a wiki 
so there is a place for information about the project.

 I realize (and endorse) that changes to Script-fu/TinyScheme should be 
 quite limited

The changes to TinyScheme used in Script-Fu don't have to be limited but 
they have to be made carefully. Minimizing the changes from the official 
version makes it easier to apply changes made to the official version. 
Scheme standard Compliance changes can be applied to the official TinyScheme 
and also to the version used in Script-Fu. TinyScheme has to stay tiny so it 
can't just be changed to start using functions from glib.

One option to adding features that aren't that important to have, or which 
would be for GIMP/Script-Fu use only, is to use run-time loadable extensions.

 however, there are a couple of issues* that I'd like to 
 address and I am not sure how to go about it. It is not that I expect 
 you to do the work, but I'd like to discuss it with you.

There is another person who has expressed interest in helping with 
Script-Fu/Tiny-Fu. If its a TinyScheme specific issue, you could use the 
TinyScheme mailing list. If its more of a Script-Fu related issue, you can 
discuss on this list.

Dimitrios added me as a project manager as of the end of last year. He isn't 
programming in C any more so that makes me the only active developer for 
TinyScheme.

 If you do not have time at the moment, perhaps you could just make an 
 announcement on gimp-dev when you start work on a new release

I will keep that in mind. One other person has offered to help with
Script-Fu/Tiny-Fu. First, I need to write up some notes in my wiki about the 
future of Tiny-Fu and what needs to be done next.

There have been a lot of changes since the 1.39 release of TinyScheme so I 
am about to make a 1.40 release soon. There are one or two minor additional 
changes or bug fixes I am about to commit before the next release. Once I 
get the 1.40 release of TinyScheme out I will start thinking more about 
Tiny-Fu version 2.

 * File I/O in Script-fu seems to be a little buggy.I have not been able 
 to track down the problem
[snip]
 I haven't been successful in determining the cause, nor have I
 tested TinyScheme itself to see if the problem exists upstream.

I have set up a build environment which allows the version of TinyScheme to 
be built and run outside of GIMP. It makes it easier to test for interpreter 
issues. I can help you set up the same build environment on your own machine 
so you can test if the problem is in TinyScheme or in Script-Fu.

 Also, I would be interested in adding functions to TinyScheme for 
 reading and writing raw characters.

That would be a useful thing to have. The functions could be added to the 
ftx extension used with Script-Fu/TinyScheme.

 Finally, I'd like to add bitwise logical operators to TinyScheme.

Bitwise operations may not be in the R5RS but they are documented as part of 
the Scheme library for R6RS.

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-17 Thread Tobias Ellinghaus
Am Freitag, 17. Dezember 2010 schrub Andreas_P:
houz (don't know real name for now)

That would be me.


signature.asc
Description: This is a digitally signed message part.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Alexandre Prokoudine
On 12/17/10, anybody wrote:
 hey all,

 I recently got informed that you (dev-community) are planning to drop
 Scheme-support for 2.8++

I recently got informed that alien military forces are going to steal
Santa on Christmas Eve. If you tell me who told you about removing
Script-Fu, I'll tell you who told me about aliens and Santa. Everybody
wins. Do we have a deal?

Alexandre Prokoudine
http://libregraphicsworld.org
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Patrick Horgan
On 12/16/2010 04:04 PM, Alexandre Prokoudine wrote:
 On 12/17/10, anybody wrote:
 hey all,

 I recently got informed that you (dev-community) are planning to drop
 Scheme-support for 2.8++
 I recently got informed that alien military forces are going to steal
 Santa on Christmas Eve. If you tell me who told you about removing
 Script-Fu, I'll tell you who told me about aliens and Santa. Everybody
 wins. Do we have a deal?
Wikileaks!   lol!

Patrick
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Paka
* Patrick Horgan phorg...@gmail.com [12-16-10 19:12]:
 On 12/16/2010 04:04 PM, Alexandre Prokoudine wrote:
  On 12/17/10, anybody wrote:
  hey all,
 
  I recently got informed that you (dev-community) are planning to drop
  Scheme-support for 2.8++
  I recently got informed that alien military forces are going to steal
  Santa on Christmas Eve. If you tell me who told you about removing
  Script-Fu, I'll tell you who told me about aliens and Santa. Everybody
  wins. Do we have a deal?
 Wikileaks!   lol!

Aha!  Now we will have to DOS them  :^)
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Andreas_P
In the German Gimp Forums I've had a little discussion with Michael Schumacher 
and houz (don't know real name for now)

schumaml wrote: I would give Python a go, instead of Scheme...

schumaml; wrote:

Mittelfristig fliegt Scheme eher raus, und alle Skripte in GIMP werden in 
Python sein. 

Die einzige Hürde dafür ist noch die Verfügbarkeit für Microsoft Windows - dort 
ist der typische Nutzer nicht in der Lage, Python und drei Module zu 
installieren - aber das wird sich spätestens mit den 2.8-Installerpaketen 
geben.

On the longterm, Scheme isn't going to stay, and all scripts in GIMP will be 
written in Python.

The only hurdle against it is, the availability for GIMP on MS-Windows - the 
typical (dumbnut user) can't install Python and three modules for using GIMP - 
but this thing will be history - ultimately with the installer packages within 
2.8...

I would be glad when Aliens were behind it, it seems more serious.

Schumaml; was one of the first persons to push a python integration into GIMP 
on 
Windows...
And he has some sort of credibility when saying... Scheme isn't to survive 
here

and later houz wrote: It is a thing of parting ressources, Scheme would be 
wasting them, we (GIMP Dev-Team) cannot support every backend for scripting.

So, your turn GIMP-Dev Community (Hopefully I am soon good enough to get my 
code 
accepted within git)


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread David Gowers (kampu)
IIRC there was some discussion of this idea - script-fu ending up as
an independent plugin rather than one maintained within the GIMP code
base. Basically, script-fu ending up in the position that PyGimp has
been in -- an optional extra rather than part of the core
installation. That's the idea.

There has only been discussion. No concrete plans have been made.

On Fri, Dec 17, 2010 at 12:24 PM, Andreas_P kyel...@yahoo.com wrote:
 In the German Gimp Forums I've had a little discussion with Michael Schumacher
 and houz (don't know real name for now)

 schumaml wrote: I would give Python a go, instead of Scheme...

 schumaml; wrote:

 Mittelfristig fliegt Scheme eher raus, und alle Skripte in GIMP werden in
 Python sein.

 Die einzige Hürde dafür ist noch die Verfügbarkeit für Microsoft Windows - 
 dort
 ist der typische Nutzer nicht in der Lage, Python und drei Module zu
 installieren - aber das wird sich spätestens mit den 2.8-Installerpaketen
 geben.

 On the longterm, Scheme isn't going to stay, and all scripts in GIMP will be
 written in Python.

 The only hurdle against it is, the availability for GIMP on MS-Windows - the
 typical (dumbnut user) can't install Python and three modules for using GIMP -
 but this thing will be history - ultimately with the installer packages within
 2.8...

 I would be glad when Aliens were behind it, it seems more serious.

 Schumaml; was one of the first persons to push a python integration into GIMP 
 on
 Windows...
 And he has some sort of credibility when saying... Scheme isn't to survive
 here

 and later houz wrote: It is a thing of parting ressources, Scheme would be
 wasting them, we (GIMP Dev-Team) cannot support every backend for scripting.

 So, your turn GIMP-Dev Community (Hopefully I am soon good enough to get my 
 code
 accepted within git)

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Kevin Cozens
anybody wrote:
 I recently got informed that you (dev-community) are planning to drop 
 Scheme-support for 2.8++

Feel free to go and flog the person who told you that. ;-)  If this was 
planned it would be mentioned on the official GIMP website.

 getting a bunch of willing folks who are watching the Tiny-Fu gnome.git repo,

There won't be any changes to see in the Tiny-Fu repository for a while as 
I'm busy on other projects. Tiny-Fu shouldn't be used with a recent version 
of GIMP. It is out-of-date and is only for testing some future changes to 
how Scheme scripts will be run. Eventually I will bring Tiny-Fu up-to-date 
with all of the changes made to Script-Fu and start work on the 2.0 version.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Dropping Scheme with gimp 2.8?

2010-12-16 Thread Alexia Death
On Friday, December 17, 2010 03:54:12 Andreas_P wrote:
 In the German Gimp Forums I've had a little discussion with Michael
 Schumacher and houz (don't know real name for now)
 I thin you misnterpeted what was said. 

 On the longterm, Scheme isn't going to stay, and all scripts in GIMP will
 be written in Python.
Long term in gimp is a decade.

 
 The only hurdle against it is, the availability for GIMP on MS-Windows -
 the typical (dumbnut user) can't install Python and three modules for
 using GIMP - but this thing will be history - ultimately with the
 installer packages within 2.8...
This just means that python will be part of the default windows install, its 
not ready to replace scheme any time soon..
 
 I would be glad when Aliens were behind it, it seems more serious.
Just seems.

 Schumaml; was one of the first persons to push a python integration into
 GIMP on Windows...
 And he has some sort of credibility when saying... Scheme isn't to survive
 here
It isn't, long term at least as a core functionality. See what long term is 
above. Outside it, if there is a maintainer, it will survive. 

 and later houz wrote: It is a thing of parting ressources, Scheme would be
 wasting them, we (GIMP Dev-Team) cannot support every backend for
 scripting.
And this just means choosing what gets maintained as default and what not. In 
the long term.

Point is, while the prefered scripting language is going to be python in the 
future, scheme isnt going away in 2.8 and most probably not even during the 
3.0 series. after that its the great unknown.

--Alexia
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer