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

World: r3wp

[Plugin-2] Browser Plugins

JoshM
11-May-2006
[713]
Or take security/licensing......we could have the plugin DLL automatically 
download the correct version EXE (View/ViewPro/Command/etc.) based 
on the version the script requires (so the initial download could 
be quite small, with a "download as needed" architecture)
Anton
11-May-2006
[714x2]
If it's slow, I think it's bad luck.
Yes, just like Google video urges you to download the Google player.
JoshM
11-May-2006
[716x2]
No.....not a security hole. Acrobat works that way.
It would be slow only if you had to relay events.
Henrik
11-May-2006
[718]
but why exactly is once instance at a time a problem? why is this 
limitation there?
JoshM
11-May-2006
[719]
If you let the EXE manage its own window in the plugin client area, 
it's not a problem.
Anton
11-May-2006
[720]
The plugin has to be signed, so there is trust there, even with these 
techniques.
JoshM
11-May-2006
[721]
Henrik: I can't go into specifics of the REBOL DLL, but essentially, 
its a threading issue. Each new instance of the plugin DLL loads 
in a seperate thread, and REBOL is not multi-threaded yet. Carl may 
be able to provide more specifics as to the limitations within REBOL.
Anton
11-May-2006
[722]
Mmm.. ok then. Optimize away :)
yeksoon
11-May-2006
[723]
I have  problems with the plugin.


After visiting the test page, if I go to other sites and later load 
the test page again,...the plugin does not load
JoshM
11-May-2006
[724]
So, with a DLL architecture, you have to load only one instance of 
the REBOL DLL, and then modify the DLL to support multi-threading. 
But with a multiple EXE architecture, it is essentially like REBOL 
is now.....one EXE per instance.
Henrik
11-May-2006
[725]
yeksoon: known bug.
JoshM
11-May-2006
[726]
Of course, this is all speculation, I dont know if it is even possible. 
But just thoughts.....
Louis
11-May-2006
[727]
For me the plugin download on the page Josh sent a link for. However, 
when I try to run the examples, none of them will work. This is on 
IE.
JoshM
11-May-2006
[728x2]
Lous, what is the error/problem?
What happens when you go to the examples?
Louis
11-May-2006
[730]
I just get an outline of a box.
JoshM
11-May-2006
[731x3]
do you see a red X?
PhilB: make sure you've got it in the right plugins directory. if 
you go to about:plugins, it should appear in the list. make sure 
you coped both the DLL and XPT.
Louis: try a restart of your computer. that may free up any IE resources 
that are in use.
Louis
11-May-2006
[734]
No red x, but a window pops up which says: Show on face in closed 
window.
JoshM
11-May-2006
[735x2]
Hmm, that seems like the plugin is installed properly, but there's 
an error with the script you are trying.
Did you try the test page at http://www.rebol.net/plugin/tests/test.html?
Louis
11-May-2006
[737x2]
That window pops up even before I click on a link to a demo, but 
again when I click on a demo.
No, here: http://www.rebol.net/plugin/demos/
Henrik
11-May-2006
[739]
For those still unaware: New users of the plugin should visit the 
two checklists for Plugin 1.3.2 bugs and the checklist for Plugin 
1.3.3 ideas. Feel free to add new bugs/ideas.
Louis
11-May-2006
[740]
OK, it works here: http://www.rebol.net/plugin/tests/test.html

But that is not the link on the page you gave us.
JoshM
11-May-2006
[741]
Louis: it sounds like the demo scripts are messed up in some way. 
I apologize.
Louis
11-May-2006
[742]
I am glad to see this working. I have a use for the plugin.
JoshM
11-May-2006
[743x3]
we'll look into that.....
Lous: one quick question. What is the version # you see when you 
go to http://www.rebol.net/plugin/tests/test.html?
Louis: It will say something like this: ViewDLL 2.6.2.3.1
Louis
11-May-2006
[746]
1.2.47.3.1
JoshM
11-May-2006
[747]
Lous: Ah, OK. You have an old version of the plugin still installed.....did 
you uninstall the old plugin before installing the new one?
Louis
11-May-2006
[748]
No. How do I do that?
JoshM
11-May-2006
[749]
Louis: The plug-in extracts to the "Downloaded Program Files" directory 
in Windows. This is usually at C:\WINDOWS\Downloaded Program Files. 
To uninstall the plug-in, go to that directory, right-click on "REBOL/Plugin 
Object" and click "Remove".
Louis
11-May-2006
[750x4]
OK, it works now!  Thanks, Josh.
Lots of things are starting to come together for rebol. I am glad 
for that. I have never regretted switching to rebol.
REBOL I believe has a great future.
All rebol lacks for me right now is unicode support, which I need 
badly.
ScottT
11-May-2006
[754]
Dunno if my last post last night made it.  as soon as I sent it, 
the world went down and i was unable to reconnect.  I think there 
is a misunderstanding about what a windowed control is, and that 
is throwing people off.  In the post I mentioned how MSAgent works, 
where you have a central server app that communicates with all the 
instances of the control, and I think something like that would be 
perfect for REBOL.  If there was a way to create an instance dynamically 
( using new ActiveXObject, for instance), then for those plugin scripts 
not needing the View UI, that would be a nice option, because that 
would allow using it from a WSF, as well.  On a side note, when trying 
to use the plugin in an HTA it's crash city.
JoshM
11-May-2006
[755]
ScottT, thanks. need do a lot of thinking here.
ScottT
11-May-2006
[756]
no problem.  I'm no good at REBOL, but I probably know IE a little 
TOO well.  I was able to create the OBJECT tag dynamically with no 
ill effects, though.  One thing I couldn't get working is transparency, 
though.  Don't strain yourself.  I'm sure it's a mess to get anything 
working.  I'll be in and out but reading religiously.
PhilB
11-May-2006
[757]
Got the Plugin working with Firefox ... thanks for the help ... will 
try and code a couple of demos tommorow.
ScottT
11-May-2006
[758]
anybody get it running in opera?
JoshM
11-May-2006
[759x2]
I tried setting the plugin up on opera, but it crashed, and now i 
can't seem to get it to load any more. does anyone have any idea 
how to tell opera to try to load the plugin again? (it is listed 
as registered in about:plugins)
Volker, re proxy-parsing: if you can post any REBOL code to read 
the proxy settings via javascript (via do-browser), that might work.
ScottT
11-May-2006
[761]
not too familar with proxy settings except through the auto-config 
script, which is just a javascript   here's a link: http://www.microsoft.com/technet/prodtechnol/ie/reskit/6/part6/c26ie6rk.mspx?mfr=true
 


But just because it's javascript doesn't happen to mean it's available 
through do-browser, I don't believe.
Volker
11-May-2006
[762]
Yes, i mean that cauto-onfig-script. IIRC  it was not accessible. 
But digged not very deep.