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

World: r3wp

[Plugin-2] Browser Plugins

JoshM
6-Jun-2006
[1010]
Davide: Interesting idea. Didn't think of that direction. We'll add 
it to the proposed feature list....if others want this feature please 
chime in.
Davide
6-Jun-2006
[1011]
If this is possible, I could build html interface and use rebol instead 
of javascript and ajax.
JoshM
6-Jun-2006
[1012]
Can you give me a little more detail on a proposed scenario so we 
can see how compelling this is?
[unknown: 9]
6-Jun-2006
[1013]
Do you have a link to a page where I can test this now?
JoshM
6-Jun-2006
[1014]
Reichart: http://www.rebol.net/plugin/tests/test.html
Terry
6-Jun-2006
[1015]
how about Firefox? Safari?
Davide
6-Jun-2006
[1016]
Using Internet Explorer 

Init with:

var rebPlug = new ActiveXObject("Rebol.Application");
rebPlug.LaunchURL="http://site/script.r";

After use it in html something like:


<input type="button" value ="Execute" onliclick="rebPlug.eval('myrebcode 
[a b c]') />
JoshM
6-Jun-2006
[1017]
An improved Mozilla installation experience is coming, no promises 
on when. The effort we put into this is directly determined by how 
many "novice" Mozilla users there are. Most Mozilla users tend to 
be computer-savvy, so it might not be worth the effort for a super-seamless 
install. Thoughts?
Terry
6-Jun-2006
[1018x2]
Simple installation is foremost .. that's the main reason of having 
a plugin
otherwise they could just download and run the actual application
JoshM
6-Jun-2006
[1020x2]
True. OK, we'll look more into this.
Davide: that Javascript is interesting, did you get that to work 
now?? (I'm just curious :))
Davide
6-Jun-2006
[1022]
.. actually I didn't tried, I used object tag and polling from rebol 
to detect keypress in html :-)
JoshM
6-Jun-2006
[1023]
Okay, we'll toss that Javascript -> REBOL idea in the cooker. Thanks 
for bringing it up.
Davide
6-Jun-2006
[1024x2]
I hope that it will works because MS is changing the way object tag 
works in IE, isn't it ?
thanks to you Josh
[unknown: 9]
6-Jun-2006
[1026x3]
An improved Mozilla installation experience is coming,


Ok.................so this answers my entire set of questions................... 
 my entire team uses FF.
For some reason I was under the impression that this whole thread 
was about making Rebol finally work on IE FF SA and OP.
Like Flash.
JoshM
6-Jun-2006
[1029x2]
Aaahhh gotcha. Sorry for the confusion.
Yes, we're working on Mozilla support.
[unknown: 9]
6-Jun-2006
[1031]
Being out of sync with each other can account for a lot misunderstanding..


I have but one interest, for Rebol to be a self standing usable glue 
for cool little apps on the web the same way Flash is for little 
animated vignettes.


For this to happen we HAVE to support the top 4 (IE FF SA and OP). 
 And Opera is about to GROW, and Rebol and Opera may turn out to 
be a match made in heaven.  Opera is the dominate browser of imbedded 
systems.  It will start making news in the next 4-6 months.
JoshM
6-Jun-2006
[1032x4]
Hmm interesting you say that. I was thinking about that myself, as 
I have also fallen in love with Opera, but it currently has pathetic 
plugin support (it doesn't even support the Mozilla standard, only 
the ancient Netscape 4 API).
So, we're going to have to make a decision of whether to support 
Opera or not.....
And that's good feedback to have.
The main issue that's stopping us from full Opera support is scripting 
(Javascript -> REBOL -> Javascript). It uses this arcane infrastructure 
that was retired out of Netscape and Mozilla years ago. So, my question 
is, would you see REBOL succeeding on Opera *without* scripting support?
[unknown: 9]
6-Jun-2006
[1036]
We should actually make contact with Opera's team directly.  They 
might be just as interested in Rebol as Rebol is in them.  I do not 
know anyone there ( I do know some of the FF team).  But I was planning 
to contact Opera soonish because I'm interested in working on a relationship 
where people buy a thintop (I'm coining this word for now) which 
is a super simple laptop with maybe a 1 gig sim card for memory, 
a keyboard, LCD display for lets say $100 bucks.   Has nothing BUT 
a browser (no OS….no M$ in other words).  I imagine this shipping 
with Opera built in, and I want it pointing to Qtask out of the gate.
 

So to answer your question, I think we need to get someone at Opera 
to take interest in Rebol, and help us solve problems.
JoshM
6-Jun-2006
[1037]
Reichart, switching to private msg.
Volker
6-Jun-2006
[1038]
Now when it getsinteresting.. :)
[unknown: 9]
6-Jun-2006
[1039]
: )  


no worries, I will update people of what we are doing on Qtask later 
as well....
Graham
7-Jun-2006
[1040]
You can buy those $100 laptops now from Negroponte's team.
Pekr
7-Jun-2006
[1041]
Josh - Opera needs to be supported, definitely. The strange things 
is what you say, because the extended API announcement I pointed 
you to last time, was signed even by Opera company. Maybe you should 
check with Opera team ...
yeksoon
7-Jun-2006
[1042]
talk to the desktop team...(if that helps)
Pekr
7-Jun-2006
[1043]
Josh - have you somehow resorted proxy detection? Without that, and 
without some ability to configure plug-in, many ppl will be unable 
to use plug-in ....
JoshM
7-Jun-2006
[1044x2]
Pekr, regarding Opera: According to their plugin API page (http://www.opera.com/docs/pluginapi/), 
they only support NS4 w/LiveConnect. That's ancient.
Pekr, regarding proxy settings: If I remember correctly, we ended 
that conversation by realizing that get-net-info is the problem. 
So, whoever owns that REBOL code needs to fix it. This is all within 
the realm REBOL's network detection and not within the realm of the 
plugin itself.
[unknown: 9]
7-Jun-2006
[1046]
You can buy those $100 laptops now from Negroponte's team.
  Yeah, they are literally down the street from me.
Pekr
7-Jun-2006
[1047x2]
Josh - I joined Opera's plug-in newsgroup and asked the question 
about the npruntime plugin api. I found someone was asking exactly 
the same in 2005. They said "I believe we are working on it.  However, 
I don't know how far we've come with this yet." I really don't understand 
such statements, that person does not know if something is, or is 
not going on in the company he works for.
Josh - so is my understanding correct, that as far as Mozilla/FF 
goes, you are going to use npruntime extended API?
JoshM
7-Jun-2006
[1049x2]
Pekr, yes, Moz/FF is built against npruntime and XPConnect (for scripting).
That new scripting API doesn't work for me in the latest FireFox, 
so they may have not implemented it yet....for now, we're just using 
XPConnect.
Pekr
8-Jun-2006
[1051x3]
that is bad, how do you want to support certain features then, if 
you can't depend on it? Should I ask about latest FF and npruntime? 
What version of FF were you checking against?
btw - what advantage will npruntime version give us upon xpconnect 
one or old NS API one?
here's reply hopefully from Opera representative - 

> Hello guys,
> >

> > please what is the status of npruntime API extension? From following
> > link I can see, that Opera was part of the announcement:
> >
> > http://www.mozilla.org/projects/plugins/npruntime.html
> >
> > We would like to get Rebol working in browsers, so we are

> > investigating various browsers possibilities. It is a pity if 
Opera
> > still supports only rather arcane NS API.
> >
> > Thanks,
> > Petr



Opera version 9 supports the npruntime interface now.  Unfortunately,

it is not well tested on linux (at least), since I have not found 
any
plug-ins that use it.  Bug reports are welcome  :) 

eirik
JoshM
8-Jun-2006
[1054x2]
That's a good reply. I'll have to look at that again. It's not going 
to make this next release.
Pekr, do you or anyone else have a working C++ code sample of using 
NPObject with the GetValue method? That's what was giving me problems....if 
so, please send via private msg to keep this group free for discussion.
JaimeVargas
8-Jun-2006
[1056x2]
JoshM. Any chance you could produce the plugin for OSX?
All browsers in OSX use the mozilla plugin API.
JoshM
9-Jun-2006
[1058x2]
Jaime, I'm sorry, that's currently not in the plan. You might want 
to talk to Carl about that.
(I should say, that's not in my plan. Carl may have plans for Mac 
that I don't know about....)