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

World: r3wp

[Plugin-2] Browser Plugins

Pekr
9-Mar-2007
[1904]
hmm, actually I re-read my private exchange with Josh, and it seems 
Rebol detects proxy itself, if manual proxy config is set.
Maxim
9-Mar-2007
[1905]
yet more hope in R3
Pekr
9-Mar-2007
[1906]
Maybe the trouble was, that plug-in tried to connect before such 
code was applied during boot, dunno ...
Maxim
9-Mar-2007
[1907x3]
yes its possible, the boot sequence of REBOL seems a bit hard to 
manipulate...
having had some little thing done by carl for me resulted in no change 
of the startup really.. (the special encap version)
I really wanted interactive dos shell session...  :-(  but that meant 
a little bit more code to detect if we where *in* a dos prompt already 
and doesn't seem trivial as per Carl's explanations.
Pekr
9-Mar-2007
[1910]
proxy detection happens in get-net-info ... right after Rebol boot 
...
Maxim
9-Mar-2007
[1911]
which checks the registry of IE right?
Pekr
9-Mar-2007
[1912]
source get-net-info
Maxim
9-Mar-2007
[1913]
get-reg is used everywhere... depending on the def browser.
Pekr
9-Mar-2007
[1914x2]
registry functions are unset imo after the boot, because of security 
reasons. The question is - if View can detect proxy automatically, 
why plug-in can't.
not patching this simple issue was a bit of mistake imo ... community 
could put xy interesting demos online. But it is not worth it, if 
99% of corporate ppl are behind the proxy.
Maxim
9-Mar-2007
[1916x3]
yes. RT is good at giving solutions, but lacks vision into market 
needs.
so they give out the good solution for the wrong market  and such 
details get placed low, when in reality, they are primordial... just 
like the interactive DOS sessions, and stupid current directory issue 
under DOS, which renders Encap virtually useless in many conditions.
but if the client is doing internal work, he can set the proxy manually 
no?  and in this case the plugin works?
Pekr
9-Mar-2007
[1919]
I checked some older discussions, and it seems you can place user.r 
into Sandbox dir. The trouble is, I can't find it right now, as it 
changed in latest plug-in incarnation :-) Will try at home ...
Louis
6-May-2007
[1920]
Did the plug-in ever get finished?
Gregg
6-May-2007
[1921]
There is a 2.6.2 release that doesn't say "Beta" on it, but I don't 
know if that qualifies, as there may still be some issues, depending 
on how you want to use it. I'm using it, knowing there are limitations.
Louis
6-May-2007
[1922]
I want to use it to show a narrated slide presentation on my web 
site. Can it safely be used for that?
Gregg
6-May-2007
[1923]
I haven't used sound in it, but a slideshow should be safe. If you 
already have a desktop version of the app, it should be easy enough 
to set up a page to try it under the plugin.
Louis
7-May-2007
[1924]
Thanks, Gregg. As soon as I can find time, I'll try to get it to 
work.
xavier
13-May-2007
[1925]
the plugin version i used wasnt the good one for the demo on the 
site, but i could use the chat on compkarori.  Can someone tell me 
how much version of the plugin exists and wich is the last stable 
one ?
Oldes
18-May-2007
[1926x3]
as there is missing doc.. how should be placed the plugin2 object 
on the page?
My old remake of even older dockimbel's remake - R-box game is online 
again... http://box.lebeda.web/~hmm/rbox2/
and because it took me some time... there is this important difference, 
if you center faces inside plugin:
;system/version == 2.6.2.3.1

center-face: func [
    obj [object!]
    /with face [object!]
][
    if none? face [face: system/view/screen-face]
    obj/offset: max 0x0 face/size - obj/size / 2 + face/offset
    obj
]

;system/version == 2.7.5.3.1
center-face: func [

    {Center a face relative to parent (screen for windows) or a sibling 
    face.}
    obj [object!]
    /with "Center relative to a sibling face." face [object!]
][

    if none? face [face: any [obj/parent-face system/view/screen-face]]

    obj/offset: max 0x0 face/size - obj/size / 2 + either with [face/offset] 
    [0x0]
    obj
]
Rebolek
18-May-2007
[1929]
it's http://box.lebeda.ws/~hmm/rbox2/
Oldes
18-May-2007
[1930x2]
ech.. yes
and it's probably know problem, that Rebol plugin is not using browsers 
proxy settings
Pekr
18-May-2007
[1932x2]
hey, this little game works for me here ...
I did not expect it ... so we don't have proxy here ... hmm ... the 
proxy problem is a pity, because other than that, we could already 
use plug-in ...
Rebolek
18-May-2007
[1934]
Pekr are you also able to post score online?
Oldes
18-May-2007
[1935x4]
maybe I could connect it with my chat server:]
and have multiplayer rooms... but... still waiting for R3 first
anyway it's quite interesting that I can drag the window across all 
the web space... this is not possible with Flash (without JS calls)...
there is just a problem that if I drag the window outside, there 
is no chance to get i back... only reload:)
Pekr
18-May-2007
[1939x3]
I just tried, yes, it works ...
heh, the window drag - interesting consequence :-)
It is REAL pity proxy problem was not fixed. It was so annoying show 
stopper, that we could be light-years ahead. Stupid decision to postpone 
that single fix.
Oldes
18-May-2007
[1942x2]
I thing that bigger problem is, that you can run only one instance
ech.. so the dragging is not working in Opera... never mind... it 
was not mentioned to be used inside browsers
Pekr
18-May-2007
[1944]
that might be initial problem, but still better to run one of them, 
than none ....
Oldes
18-May-2007
[1945]
I'm using at least one plugin script all the time
Rebolek
18-May-2007
[1946]
this will be adressed in r3 according to carl's speech
Pekr
18-May-2007
[1947x2]
the plugin itself has nothing in common with rebol - it is just a 
wrapper, and latest incarnation of plug-in was able to handle multiple 
instances.
the development was stalled because of security concerns, and Josh 
was working on some document, which he was supposed to have "out 
really soon". Then he announced that Carl set him another goal. I 
think noone is working on plug-in part recently.
Rebolek
18-May-2007
[1949]
actually as I understood that, the plugin part will be open source, 
so I'm not sure, if it's going to be done by RT themselves
Pekr
18-May-2007
[1950x2]
I hope plug-in wrapper is open-source too. Tighter securite is something 
I agree with (after long discussion of Anton and Brian I believe 
it is a necessity). The idea was to limit amount of plug-in writeable 
data to disc, amount of max windows opened, etc., and to have certificates 
based aproach. You would buy certifikace and hence could develop 
full fledged apps with SDK.
what I can see a problem still, is, rebol "windowing". We use dialog 
box aproach. If I have window embedded in plug-in, and want to raise 
requester e.g., it will pop-up, and hece could be blocked. That is 
why I suggested, that maybe VID+ should think of native rebol windowing 
... not sure what others think about it ...
Oldes
18-May-2007
[1952]
I think this is not blocked http://box.lebeda.ws/~hmm/rebol/plugin/test-request-file.html
Pekr
18-May-2007
[1953]
well, its system dialog box ... try rebol based one? Maybe there 
would be no trouble, dunno .... you would also have to check with 
adblock