r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Louis
7-Mar-2006
[395]
But in View it works fine:

Type desktop to start the Viewtop.

>> web-file: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe
connecting to: ftp.bible-way.org
>> probe web-file
make object! [
    size: 626343
    date: 3-Mar-2006/11:37
    type: 'file
]
>>
Ashley
7-Mar-2006
[396]
Try it in rebface.exe, DOing the same source files as you would normally 
#include
Graham
7-Mar-2006
[397x2]
Is there a proxy setup ?
is your username and password really user and pass ?
Louis
7-Mar-2006
[399]
Graham, No.  :)
Graham
7-Mar-2006
[400x2]
so, you edited this line ??
** Near: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe
** Press enter to quit..
Louis
7-Mar-2006
[402x3]
Proxie?  I don't know.
Yes, I edited that line.
I am using ZoneAlarm Pro.  Could that be the problem?
Graham
7-Mar-2006
[405x3]
try disabling it.
firewalls can block all network activitty
Maybe ZA is allowing View to pass network traffic but not your encapped 
application.
Louis
7-Mar-2006
[408x4]
Graham, that is the problem. When I disable ZA it works.
Sorry to take up so much of you men's time. I should have thought 
of this sooner. I've had this same problem before.
Thanks to all of you!
Ok, now I have a related problem. Zone Alarm won't allow my encapped 
program to access the Internet.  I think it is because the program 
is not a view program, and therefore ZA cannot recognize it as a 
program separate from the rebol interpreter. Is there any way around 
this?
Anton
7-Mar-2006
[412]
No, that is not the reason. Maybe you accidentally denied it access. 
So it should be in ZoneAlarm's list of programs. Go to the list and 
remove your program. Then try running it again. Otherwise, I would 
check if ZoneAlarm has any rules which block ftp. Does another ftp 
client work ?
Louis
7-Mar-2006
[413x2]
Yes
My program doesn't show up in the ZA program list, even after I add 
it.
Anton
8-Mar-2006
[415x3]
Mmm.. that sounds strange.
Can it read a web page ?
(your encapped app, I mean)
sqlab
8-Mar-2006
[418]
Maybe you should add it to the list of programs allowed to contact 
te internet.
I
Louis
8-Mar-2006
[419]
Can it read a web page ?  I don't know, but it can't send email.
Geomol
15-Mar-2006
[420x7]
I see a strange bug with the REBOL/View included in the latest SDK 
of 5-Dec-2005. The following code produce a linear gradient in earlier 
versions of View (as it should), but it gives me a radial gradient 
in the SDK View:
FillType: make object! [
	grad-mode: 'linear
	startpos: 20x20
]

img: make image! 100x100
draw img	[pen none fill-pen FillType/grad-mode FillType/startpos
		0.0 100.0
		0.0 1.0 1.0
		0.0.0 255.255.255 0.0.0 255.255.255 0.0.0
		polygon 20x20 80x20 80x80 20x80]

view layout [image img]
Funny thing is, that if
FillType/startpos
is changed to
20x20
the gradient will become linear.
Conclusion so far is, that the DRAW command only can handle one object-reference!?
Help!
(This is crusial for me to continue Canvas RPaint development.)
*crucial*
To be more precise: is it a bug?
Gabriele
15-Mar-2006
[427]
if replacing the actual values works, i'd say it's a bug.
Gregg
17-Mar-2006
[428]
Is 'linear the default for gradients? i.e. are the objects being 
de-ref'd correctly at all? I haven't tried this in the new View, 
so I'm not sure how lookups are evaluated. Does it work if you use 
COMPOSE?
Geomol
17-Mar-2006
[429x3]
'radial is default (it seems). I indicate 'linear in the FillType 
object, and it does linear gradient, if that't the only value, I 
use by reference. If I have a second value by reference (FillType/startpos 
in stead of writing 20x20 directly), then gradient change to radial.
Notice! This behaviour, I describe, is ONLY with the REBOL/View included 
in the SDK of 5-Dec-2005!
I would like to use this precise View, because it has many DRAW bugs 
fixed, but make this new one.
Gregg
17-Mar-2006
[432]
Can you use COMPOSE? And does that work around it?
Geomol
17-Mar-2006
[433]
I have to test later, when on my windows PC. Thanks for the suggestion, 
Gregg. :-)
Geomol
18-Mar-2006
[434x2]
Gregg, yes, if I do a compose as in:

compose [pen none fill-pen (FillType/grad-mode) (FillType/startpos) 
...

then it work correctly. So that is a possible work around. It must 
be a bug, and I'll report it to RAMBO.
It's also worth noticing, that the bug is only there, is the 2 variables 
(grad-mode and startpos) are inside an object. If they're defined 
as stand-alone variables, it works too. So it's a problem with combinations 
of objects and DRAW.
Gregg
20-Mar-2006
[436]
I think that has to do with evaluation constraints then. That is, 
DRAW will get words, but not do further evaluation (kind of like 
CONSTRUCT), so it's safe.
Bo
23-Mar-2006
[437x3]
I'm trying to use the 2.6.2 version of enface from the SDK to encap 
a Rebol script I used to encap with rebolve, but I get the following 
error:
Set-Net not provided.
** Script Error: stylize has no value
** Near: stylize [
    wmtxt: text "Test" 255.255.0 font-size 16
    wtext: text " " 640 as-is no-wrap black white
    box: box...
** Press enter to quit...
Any ideas?  It also didn't support 'insert-event-func.
Graham
23-Mar-2006
[440]
you haven't included all the necessary files.
Bo
23-Mar-2006
[441x2]
Aha!
I guess I was expecting they were all included like with rebolve.
Graham
23-Mar-2006
[443]
you have to explicitly include all the necessary source files
Bo
23-Mar-2006
[444]
How does one ascertain which source files contain which functions?