Author: mmu_man
Date: Fri Apr 6 10:12:16 2012
New Revision: 13792
URL:
http://source.netsurf-browser.org?rev=13792&view=rev
Log:
Apply and merge r12390 from v2 branch: Make gopher: URIs known to AmigaOS, BeOS and OSX.
Modified:
branches/mmu_man/netsurf-gopher-support-v3/amiga/dist/Install
branches/mmu_man/netsurf-gopher-support-v3/beos/res.rdef
branches/mmu_man/netsurf-gopher-support-v3/cocoa/res/NetSurf-Info.plist
Modified: branches/mmu_man/netsurf-gopher-support-v3/amiga/dist/Install
URL:
http://source.netsurf-browser.org/branches/mmu_man/netsurf-gopher-support...
==============================================================================
--- branches/mmu_man/netsurf-gopher-support-v3/amiga/dist/Install (original)
+++ branches/mmu_man/netsurf-gopher-support-v3/amiga/dist/Install Fri Apr 6 10:12:16
2012
@@ -581,6 +581,10 @@
(p_fitr "ENVARC:launch-handler/URL/FILE.LH"
"ClientName=\"NETSURF\" ClientPath=\"APPDIR:NETSURF\"
CMDFORMAT=\"URL=*\"file:///%s*\"\"")
)
+ (if (= (p_chk_launch-handler "GOPHER.LH") 0)
+ (p_fitr "ENVARC:launch-handler/URL/GOPHER.LH"
"ClientName=\"NETSURF\" ClientPath=\"APPDIR:NETSURF\"
CMDFORMAT=\"URL=*\"gopher://%s*\"\"")
+ )
+
(if (= (p_chk_launch-handler "HTTP.LH") 0)
(p_fitr "ENVARC:launch-handler/URL/HTTP.LH"
"ClientName=\"NETSURF\" ClientPath=\"APPDIR:NETSURF\"
CMDFORMAT=\"URL=*\"http://%s*\"\"")
)
Modified: branches/mmu_man/netsurf-gopher-support-v3/beos/res.rdef
URL:
http://source.netsurf-browser.org/branches/mmu_man/netsurf-gopher-support...
==============================================================================
--- branches/mmu_man/netsurf-gopher-support-v3/beos/res.rdef (original)
+++ branches/mmu_man/netsurf-gopher-support-v3/beos/res.rdef Fri Apr 6 10:12:16 2012
@@ -101,6 +101,7 @@
"types" = "application/x-vnd.Be-doc_bookmark",
"types" = "application/x-vnd.Be.URL.file",
"types" = "application/x-vnd.Be.URL.ftp",
+ "types" = "application/x-vnd.Be.URL.gopher",
"types" = "application/x-vnd.Be.URL.http",
"types" = "application/x-vnd.Be.URL.https"
};
Modified: branches/mmu_man/netsurf-gopher-support-v3/cocoa/res/NetSurf-Info.plist
URL:
http://source.netsurf-browser.org/branches/mmu_man/netsurf-gopher-support...
==============================================================================
--- branches/mmu_man/netsurf-gopher-support-v3/cocoa/res/NetSurf-Info.plist (original)
+++ branches/mmu_man/netsurf-gopher-support-v3/cocoa/res/NetSurf-Info.plist Fri Apr 6
10:12:16 2012
@@ -44,6 +44,7 @@
<string>org.netsurf-browser.NetSurf.URI</string>
<key>CFBundleURLSchemes</key>
<array>
+ <string>gopher</string>
<string>http</string>
<string>https</string>
</array>