Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
80 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 80

more...

Support us!

Recent OS4 Files
OS4Depot.net




« 1 ... 10 11 12 (13) 14 15 16 »


Re: fastfix for 1.23
Quite a regular
Joined:
2006/11/27 14:24
From Scarfskerry
Posts: 587
@kas1e

Quote:
There was big mistake from me in code : openurl didn't works at all before: i like a sucker forget to open openurl.library. Doh!


So easily done

Glad to hear you found the problem and had not too much to do to fix it

   Report Go to top

Re: fastfix for 1.23
Just popping in
Joined:
2012/7/25 23:14
From Germany
Posts: 45
How can I fix the position of an iconified OWB?

   Report Go to top

Re: fastfix for 1.23
Just popping in
Joined:
2012/7/25 23:14
From Germany
Posts: 45
@jabirulo

Can you show me URL configuration, please.

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 543
@Younghippie
MAILTO:
ClientName="YAM" ClientPath="APPDIR:yam" CMDFORMAT="MAILTO=%s"

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@All
Will it make any sense to add ringhio message when user click on "mailto" (so when it will spawn for him mail client, there will be some note like "go to mail client, to write mail to balblalb, etc") ?

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3335
@kas1e

No need i think ..

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 943
Has anyone had any success in getting embedded videos from Facebook to play?

   Report Go to top

Re: fastfix for 1.23
Just can't stay away
Joined:
2006/11/29 8:09
From Lyon, France
Posts: 1076
@Kas1e

I do not think it would be useful.

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@all

New beta then:
http://www.sendspace.com/file/km3s26


What new:

- default useragent have "Macintosh" back now (as on morphos), instead of "Amiga" (which we previously change in hope to be "more teh omg true"), so some sites (like google.com) will not switch you to mobile modes now, and you have no needs to setup manually user-agent envs.

- ringhio notification support with fancy icon image (so not flat/empty look).

- support now and ULROpen and OpenURL. As URLOpen come with os by default, that will be first one in use (so you will have all those launcher-windowses, etc). And if you still want openurl by any of reasons (arexx support and co), you can or just rename DEVS:Dosdrivers/URL to something else (so openurl will be in use), or do redirection to openurl from urlopen as xenic do: setup URL prefs set to pass the URL to OpenURL instead of a browser like this: C:OpenURL "URL=*"http://%s*""

Btw, if you for example have some apps (old one for example) which support only openurl, but you want inbuild os4 urlopen, then you can setup redirection in openurl prefs to urlopen instead , so you will always have that launcher-window and all will looks clean and the same (tested, and it works).

You may want also add some arexx functionality to URLOpen (to have open webpages in new tabs, or to write mails without running new instance of yam or simplemail, etc), so you just can follow that way:

---mailto---

simlemail:

client name: simplemail
client path: rexx:simplemail
commandline format: "MAILTO=%s"

and rexx:simplemail script will be:

/*
* SimpleMail mailto: script for URLOpen
*
* Check if simplemail already running, and:
*
*  -- if not running, run new instance of simplemail and create mail
*  -- if running, not run new instance of simplemail, just create mail in current one
*
*/

parse arg incomingbuffer

if ~show('PORTS','SIMPLEMAIL.1'then do
 
address command 'APPDIR:simplemail' incomingbuffer
end
else do
 
address SIMPLEMAIL.1
 MAILWRITE incomingbuffer 
end



YAM

WARNING, YAM SCRIPT DONE FOR BETA URLOpen I USE NOW, THE WAY PARSING OF INCOMING BUFFER DONE SHOULD BE DONE FOR PUBLIC ONE DIFFERENT (minimal changes, just split mailto/subject pieces correctly to make it works on public launcher-handler)

client name: YAM
client path: rexx:yam
commandline format: "MAILTO=%s"
(i.e. the same as for simplemail)

and rexx:yam:

/*
* YAM mailto: script for URLOpen

* WARNING : launch-handler 53.38 need it for correct parsing
*
* Check if YAM already running, and:
*
*  -- if not running, run new instance of YAM and create mail
*  -- if running, not run new instance of YAM, just create mail in current one
*
*/

parse arg incomingbuffer 'MAILTO=' mailto ' Subject="' subject '"'

if ~show('PORTS','YAM'then do
 
address command 'APPDIR:YAM' 'MAILTO='mailto'' 'Subject="'subject'"'
end
else do 
 
address YAM
 
'Show'
 'MailWrite'
 'WriteMailTo "'
||mailto||'"'
 'WriteSubject "'
||subject||'"'
end


---http--- (the same for https/file/www, just change http on what you need)

Odyssey

client name: Odyssey
client path: rexx:odyssey
commandline format: "*"http://%s*""

and rexx:odyssey will be:

/*
* Odyssey's http/https/www/file script for URLOpen
*
* Check if Odyssey already running, and:
*
*  -- if not running, run new instance of Odyssey with given url
*  -- if running, not run new instance of Odyssey, just create new tab with given url
*
*/

parse arg url

if ~show('PORTS','ODYSSEY.1'then do
 
address command 'APPDIR:Odyssey' url
end
else do
 
address ODYSSEY.1
 OPEN NAME url NEWPAGE
end


Of course mailto settings will cover all your system, that not only related to odyssey, so from any browser you will handle them nice by that. And odyssey script to cover all http/https/file/etc can be reused with minimal changes for any other browsers. Probably for TW will be need to write another script, python based or something, but logic will be the same: check if , then, if not, then.

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 543
Did some test with mailto: links and works fine with OS4 URLOpen, great!!!
Nice little icon on download notification too.
THX

Just a minor,minor typo I found on ABOUT window:
"for his icons & other images for AmigaOS4 port"

misses a '\033n' at end of string so TRANSLATORS doesn't show in italics too.

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@Javier
Quote:

misses a '\033n' at end of string so TRANSLATORS doesn't show in italics too


Right, fixed

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2009/6/1 14:11
From Germany
Posts: 733
@kas1e
Installed and works well.

   Report Go to top

Re: fastfix for 1.23
Just popping in
Joined:
2012/7/25 23:14
From Germany
Posts: 45
@kas1e

May be someone thinks I'm stupid, but where do I copy the scripts?

Edit: O.K. I think about and I decided to copy them to rexx:.
Correct?


Edited by Younghippie on 2014/4/21 16:44:28
   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3335
@kas1e

Tested and finally URLopen works perfectly !

Just for the next beta you should include the latest codeset.library 6.18, and please make the new strings translable

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@Younghippie
You add scripts anywhere you want, just point out on them in the url prefs in the client path (but yes, in my example you just put them to REXX: directory). In other words:

mailto

Resized Image

http

Resized Image

But as i say, yam script will not works on current-public launch-handler, you need to parse incoming buffer a bit different (ask someone to do it for you if you need it). The purpose of mail scripts just to avoid running new instances of mail client if it already running, but instead just spawn "write me" window. Without scripts all will works too, just for every "mailto" you do, you will have new instance off mail client. Same for odyssey script: its just to open links in the new tabs, to avoid running all the time that 60mb binary (and not forget to setup the same for https/file/www in url prefs, while www and file can be skipped, https links also common enough as http ones, so http/https settings must).

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@All

New beta:
http://www.sendspace.com/file/mwz3l2

- minor fix in about on which javier point out in revious posts

- fixed long-standing and problematic bug : locale agnostic accept-language headers. Before (since and include first 1.9 port), it was just all the time EN, so, all the locale-agnosic sites you visit always was in English by default.

Now, depends on what your prefs:locale settings is, odyssey will produce correct accept-language header , as it was on morphos since 1.2 version. The differences now is that aos4 native code is used where need it, list of counties are bigger (~50 instead of ~15) and it works. The good tests that it works can be http://facebook.com. Or, if you are interesting in more low-level tests, then: http://www.reliply.org/tools/requestheaders.php

Thanks go to Joerg for help with

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 943
Thanks for the latest beta.
I find that when running it from the OdysseyLauncher icon, the splash screen appears, but the program does not start. It starts from the Odyssey icon and build the fonts OK.

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6325
@ddni
Yep, you are right, there was some debug-code left which cause that, so another beta (004) then:

http://www.sendspace.com/file/r51ivn

Check this out plz.

   Report Go to top

Re: fastfix for 1.23
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 943
@kas1e

Works now. Thank you.

   Report Go to top

Re: fastfix for 1.23
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3335
@kas1e

I never noticed this accept-language issue with Odyssey (just verified and of course it works in Joerg's OWB and NetSurf too)
Now most of my visited pages are in italian, pretty cool

BTW: You again forgot to update the codeset

Well done

   Report Go to top


« 1 ... 10 11 12 (13) 14 15 16 »



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project