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

World: r3wp

[Plugin-2] Browser Plugins

Pekr
11-May-2006
[698x2]
to know if plug-in works, the version should appear in the plug-in 
app container .... if you are not behind the proxy, script will download 
and app launched ....
mozilla suite here has one problem though - I can run only script 
once - no reload ... to start another script, I have to reopen the 
browser ....
Henrik
11-May-2006
[700]
pekr, maybe it's related to how there can be only one instance of 
the plugin running at a time. maybe when reloading, the first instance 
is never shut down
PhilB
11-May-2006
[701]
Even after moving the files, deleting the folder and re-startig firefox 
I get the text "Click here to downlaod plugin" text in the container.
Henrik
11-May-2006
[702]
philb: what do you see when going to about:plugins in the browser?
PhilB
11-May-2006
[703]
A whole load of plugins but nothing for Rebol
Henrik
11-May-2006
[704]
and you are sure that you haven't got multiple installations of Mozilla 
and accidentally plopped it into the wrong one?
PhilB
11-May-2006
[705]
Pretty sure .... though I did recently re-install firefox (along 
with the rest of Windoze) but installed it into the same folder as 
my previous version.
JoshM
11-May-2006
[706]
ScottT that's really interesting....
Anton
11-May-2006
[707]
Mozilla Firefox plugin seems to be working ok for me.
JoshM
11-May-2006
[708x3]
ScottT: Hmmmmm..............
...a thousand thoughts rolling around at once....
If there was a way to make the plugin load up an out-of-process EXE 
rather than an in-process DLL, and if we could load up a new REBOL 
EXE for each new instance of the plugin.....we might be able to solve 
a whole lot of problems at once......for example, multiple instances....
Henrik
11-May-2006
[711]
wouldn't that be a security hole?
Anton
11-May-2006
[712]
Yeah, just what I was giong to say. All this window jumping out of 
the browser doesn't seem like the proper way to do it.
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?