Reporter 2.71 (04 Dec 2015) List Thu 21st Jan 2010 15:13 15:12:13.15 Exec 15:12:13.16 Set Messenger$ScrapDir 15:12:13.16 Set Wimp$Scrap .ScrapFile 15:12:21.11 Filer_Run HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf 15:12:21.12 Exec 15:12:21.12 Set Messenger$ScrapDir 15:12:21.12 Set Wimp$Scrap .ScrapFile 15:12:21.14 Run HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Run 15:12:21.14 @RunType_FEB HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Run 15:12:21.14 obey2 HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Run 15:12:21.17 %Obey HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Run 15:12:21.17 | Run file for NetSurf. 15:12:21.17 | 15:12:21.17 | This file ensures that the system resources required by NetSurf are 15:12:21.17 | present. Additionally, it forces setting of system variables related 15:12:21.17 | to NetSurf. 15:12:21.17 15:12:21.17 | Set system variables and application sprites 15:12:21.17 Set NetSurf$ForceVars 1 15:12:21.17 /.!Boot 15:12:21.17 @RunType_FEB HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Boot 15:12:21.17 obey2 HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Boot 15:12:21.20 %Obey HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.!Boot 15:12:21.20 | Boot file for NetSurf. ( $Revision$ ) 15:12:21.20 | 15:12:21.20 | This file sets up various system variables which NetSurf may use. 15:12:21.20 | Additionally, it places the NetSurf application sprites into the Wimp 15:12:21.20 | sprite pool. 15:12:21.20 | 15:12:21.20 | This file may be executed in two ways: 15:12:21.20 | 1. When NetSurf is first seen by the OS. 15:12:21.20 | 2. When NetSurf is run by the user (called from the !Run file). 15:12:21.20 | In the first instance, NetSurf-specific variables are set and non 15:12:21.20 | NetSurf-specific variables which are unset are initialised. 15:12:21.20 | In the second instance, all variables are set, irrespective of their 15:12:21.20 | previous state. This is achieved by use of the NetSurf$ForceVars 15:12:21.20 | variable, which is set by the !Run file prior to calling this file. 15:12:21.20 15:12:21.20 | Set up NetSurf$Dir 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Dir 15:12:21.20 Set NetSurf$Dir 15:12:21.20 15:12:21.20 | Filetype -> Type name mappings 15:12:21.20 | 15:12:21.20 | These get set whether they were previously set or not 15:12:21.20 Set File$Type_132 ICO 15:12:21.20 Set File$Type_695 GIF 15:12:21.20 Set File$Type_69C BMP 15:12:21.20 Set File$Type_AAD SVG 15:12:21.20 Set File$Type_ADF PDF 15:12:21.20 Set File$Type_B28 URL 15:12:21.20 Set File$Type_B60 PNG 15:12:21.20 Set File$Type_C85 JPEG 15:12:21.20 Set File$Type_F78 JNG 15:12:21.20 Set File$Type_F79 CSS 15:12:21.20 Set File$Type_F81 JSScript 15:12:21.20 Set File$Type_F83 MNG 15:12:21.20 Set File$Type_F91 URI 15:12:21.20 Set File$Type_FAF HTML 15:12:21.20 15:12:21.20 | Application system variables 15:12:21.20 | 15:12:21.20 | See http://www.iyonix.com/32bit/help.shtml for more details. 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Help .Docs.docs_en 15:12:21.20 Set NetSurf$Help .Docs.docs_en 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Web "http://www.netsurf-browser.org/" 15:12:21.20 Set NetSurf$Web "http://www.netsurf-browser.org/" 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Title "NetSurf" 15:12:21.20 Set NetSurf$Title "NetSurf" 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Publisher "The NetSurf Developers" 15:12:21.20 Set NetSurf$Publisher "The NetSurf Developers" 15:12:21.20 If (("" = "") OR ("" = "1")) Then Set NetSurf$Description "Web browser" 15:12:21.20 Set NetSurf$Description "Web browser" 15:12:21.20 15:12:21.20 | NetSurf Sprites 15:12:21.20 Set NetSurf$Sprites "!Sprites" 15:12:21.20 /.ChkSprites 15:12:21.20 @RunType_FFB HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.ChkSprites 15:12:21.20 Basic -quit "HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.ChkSprites" 15:12:21.21 IconSprites . 15:12:21.21 Unset NetSurf$Sprites 15:12:21.21 15:12:21.21 | Acorn URI protocol 15:12:21.21 | 15:12:21.21 | Format: Alias$Open_URI_ 15:12:21.21 | 15:12:21.21 | These are basically a last resort. The URI module will initially broadcast 15:12:21.21 | Message_URI_MProcess. If this isn't claimed, then it'll check if an 15:12:21.21 | appropriate Alias$Open_URI_ variable is set. If such a variable 15:12:21.21 | exists, then it will attempt to launch the task named by the variable. 15:12:21.21 | If the launch is successful, the Message_URI_MProcess is rebroadcast. 15:12:21.21 | The -nowin is required to ensure only one window is opened (this only has 15:12:21.21 | an effect if the user has configured auto window opening at startup). 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$Open_URI_http /.!Run -nowin 15:12:21.21 Set Alias$Open_URI_http /.!Run -nowin 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$Open_URI_https /.!Run -nowin 15:12:21.21 Set Alias$Open_URI_https /.!Run -nowin 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$Open_URI_file /.!Run -nowin 15:12:21.21 Set Alias$Open_URI_file /.!Run -nowin 15:12:21.21 15:12:21.21 | ANT URL protocol 15:12:21.21 | 15:12:21.21 | Format: Alias$URLOpen_ 15:12:21.21 | 15:12:21.21 | These handle the "load" stage of the protocol. The appropriate variable's 15:12:21.21 | existence is checked then, if it is present, the URL to be opened is 15:12:21.21 | appended to the string "URLOpen_ " and this is then fed to 15:12:21.21 | Wimp_StartTask. 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$URLOpen_http /.!Run -url %*0 15:12:21.21 Set Alias$URLOpen_http /.!Run -url %*0 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$URLOpen_https /.!Run -url %*0 15:12:21.21 Set Alias$URLOpen_https /.!Run -url %*0 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$URLOpen_file /.!Run -url %*0 15:12:21.21 Set Alias$URLOpen_file /.!Run -url %*0 15:12:21.21 15:12:21.21 | Claim HTML and URL files 15:12:21.21 | 15:12:21.21 | Format: Alias$@RunType_ 15:12:21.21 | 15:12:21.21 | Again, a fallback. The filer initially tries a DataOpen message. If that 15:12:21.21 | bounces, it looks at these variables. 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$@RunType_FAF /.!Run -html %*0 15:12:21.21 Set Alias$@RunType_FAF /.!Run -html %*0 15:12:21.21 If (("" = "") OR ("" = "1")) Then Set Alias$@RunType_B28 /.!Run -urlf %*0 15:12:21.21 Set Alias$@RunType_B28 /.!Run -urlf %*0 15:12:21.21 15:12:21.21 | We don't claim the URI filetype as the spec tells us not to: 15:12:21.21 | "Applications must not set an Alias$@RunType variable for the URI filetype" 15:12:21.21 | Obviously this means that Browse/Phoenix and the Oreganos are incorrect. 15:12:21.21 UnSet NetSurf$ForceVars 15:12:21.21 15:12:21.21 | Configure logging. Set 1 to enable, or 0 to suppress. 15:12:21.21 Set NetSurf$Logging 1 15:12:21.21 15:12:21.21 | Detect if NetSurf is already running and, if so, force the 15:12:21.21 | current instance to open a new window. Then stop this script. 15:12:21.21 Set Alias$NetSurfRunning UnSet Alias$NetSurfRunning|mUnSet NetSurf$Running|mObey 15:12:21.21 Set NetSurf$Running 0 15:12:21.21 WimpSlot -min 64k -max 64k 15:12:21.21 /.KickNS 15:12:21.21 @RunType_FFB HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.KickNS 15:12:21.21 Basic -quit "HostFS::HardDisc4.$.Software.Internet.NetSurf.NetSurf.!NetSurf.KickNS" 15:12:21.22 Exec 15:12:21.22 | If not running, then unset system variables and continue 15:12:21.22 If "" = "0" Then Set Alias$NetSurfRunning UnSet Alias$NetSurfRunning|mUnSet NetSurf$Running 15:12:21.22 Set Alias$NetSurfRunning UnSet Alias$NetSurfRunning|mUnSet NetSurf$Running 15:12:21.22 | Invoke our alias to clean up 15:12:21.22 NetSurfRunning 15:12:21.22 UnSet Alias$NetSurfRunning 15:12:21.22 UnSet NetSurf$Running 15:12:21.22 15:12:21.22 | Resource Locations 15:12:21.22 | The following are read-only locations 15:12:21.22 SetMacro NetSurf$Path Choices:WWW.NetSurf.,. 15:12:21.22 | The following are write-only locations 15:12:21.22 SetMacro NetSurf$ChoicesSave .WWW.NetSurf.Choices 15:12:21.22 15:12:21.22 | We need RISC OS 3 15:12:21.22 RMEnsure UtilityModule 3.00 Error NetSurf needs RISC OS 3 or later 15:12:21.22 15:12:21.22 | Ensure Nested WIMP is installed 15:12:21.22 | http://acorn.riscos.com/ (in the universal boot archive) 15:12:21.22 RMEnsure WindowManager 3.80 Error NetSurf requires the Nested Window Manager. This can be obtained by downloading the Universal Boot sequence from http://acorn.riscos.com/ 15:12:21.22 15:12:21.22 | Check for various key resources - can't do much if they don't exist 15:12:21.22 If "" = "" Then Set System$Path_Message System resources not found. 15:12:21.22 If "" = "" Then Error Scrap resource not found. 15:12:21.22 If "" = "" Then Error Internet resources can not be found 15:12:21.22 If "" = "" Then Error NetSurf requires the !Unicode resource. This can be found, along with the Iconv module, at http://www.netsurf-browser.org/projects/iconv/ 15:12:21.22 If "" = "" Then Set Inet$MimeMappings InetDBase:MimeMap 15:12:21.22 15:12:21.22 | Define this alias for clarity 15:12:21.22 | Syntax: NetSurfRMLoad 15:12:21.22 Set Alias$NetSurfRMLoad IfThere %*0 Then RMLoad %*0 15:12:21.22 15:12:21.22 | Ensure a 32bit SharedCLibrary is installed 15:12:21.22 | (5.17 == first 32bit SCL, 5.43 == C99 features) 15:12:21.22 RMEnsure SharedCLibrary 5.17 NetSurfRMLoad System:Modules.CLib 15:12:21.22 RMEnsure SharedCLibrary 5.43 Error NetSurf requires SharedCLibrary 5.43 or later. This can be downloaded from https://www.riscosopen.org/content/downloads/common 15:12:21.22 15:12:21.22 | Ensure CallASWI is installed 15:12:21.22 RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 NetSurfRMLoad System:Modules.CallASWI 15:12:21.22 RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 Error NetSurf requires the CallASWI module. This can be downloaded from https://www.riscosopen.org/content/downloads/common 15:12:21.22 15:12:21.22 | Ensure DrawFile module is installed 15:12:21.22 | Should be installed in !System.310.Modules 15:12:21.22 RMEnsure DrawFile 1.30 NetSurfRMLoad System:Modules.DrawFile 15:12:21.22 RMEnsure DrawFile 1.30 Error NetSurf requires the DrawFile module. This can be downloaded from https://www.riscosopen.org/content/downloads/common 15:12:21.22 15:12:21.22 | Ensure SharedUnixLibrary is installed 15:12:21.22 RMEnsure SharedUnixLibrary 1.07 NetSurfRMLoad System:Modules.SharedULib 15:12:21.22 RMEnsure SharedUnixLibrary 1.07 Error NetSurf requires SharedUnixLibrary 1.07 or later. Please use the RISC OS Configure app to update the computer's !System directory from the NetSurf archive. 15:12:21.22 15:12:21.22 | Load AcornURI if it isn't already 15:12:21.22 Unset NetSurf$Start_URI_Handler 15:12:21.22 RMEnsure AcornURI 0.12 Set NetSurf$Start_URI_Handler 1 15:12:21.22 RMEnsure AcornURI 0.12 NetSurfRMLoad System:Modules.Network.URI 15:12:21.22 RMEnsure AcornURI 0.12 Error NetSurf requires AcornURI 0.12 or later. Please use the RISC OS Configure app to update the computer's !System directory from the NetSurf archive. 15:12:21.22 RMEnsure AcornURI 0.12 Unset NetSurf$Start_URI_Handler 15:12:21.22 15:12:21.22 | Check for mime map module 15:12:21.22 RMEnsure MimeMap 0.10 NetSurfRMLoad System:Modules.Network.MimeMap 15:12:21.22 RMEnsure MimeMap 0.10 Error NetSurf requires MimeMap 0.10 or later 15:12:21.22 15:12:21.22 | Ensure Tinct is loaded 15:12:21.22 RMEnsure Tinct 0.13 NetSurfRMLoad System:Modules.Tinct 15:12:21.22 RMEnsure Tinct 0.13 Error NetSurf requires Tinct 0.13 or later. Please use the RISC OS Configure app to update the computer's !System directory from the NetSurf archive. 15:12:21.22 15:12:21.22 | Ensure Iconv 15:12:21.22 RMEnsure Iconv 0.12 NetSurfRMLoad System:Modules.Iconv 15:12:21.22 RMEnsure Iconv 0.12 Error NetSurf requires Iconv 0.12 or later. Please use the RISC OS Configure app to update the computer's !System directory from the NetSurf archive. 15:12:21.22 15:12:21.22 | Ensure CryptRandom 15:12:21.22 RMEnsure CryptRandom 0.13 NetSurfRMLoad System:Modules.CryptRand 15:12:21.22 RMEnsure CryptRandom 0.13 Error NetSurf requires CryptRandom 0.13 or later. Please use the RISC OS Configure app to update the computer's !System directory from the NetSurf archive. 15:12:21.22 15:12:21.22 | Disable SpecialFX, if present 15:12:21.22 Set NetSurf$SpecialFX 1 15:12:21.22 RMEnsure SpecialFX 1.00 Set NetSurf$SpecialFX 0 15:12:21.22 Set NetSurf$SpecialFX 0 15:12:21.22 If Then SpecialFX ~B~G~L NetSurf 15:12:21.22 Unset NetSurf$SpecialFX 15:12:21.22 15:12:21.22 | No longer need this alias 15:12:21.22 Unset Alias$NetSurfRMLoad 15:12:21.22 15:12:21.22 | Now attempt to create Scrap directories 15:12:21.22 CDir .WWW 15:12:21.23 CDir .WWW.NetSurf 15:12:21.23 15:12:21.23 | Install NetSurf-specific fonts 15:12:21.23 | NB: trailing dot is required 15:12:21.23 FontInstall NetSurf:Resources.Fonts. 15:12:21.26 15:12:21.26 WimpSlot -min 7832k -max 7832k 15:12:21.26 Run .!RunImage 2>.WWW.NetSurf.Log 15:12:21.35 RMEnsure SharedUnixLibrary 1.07 RMLoad System:Modules.SharedULib 15:12:21.35 RMEnsure SharedUnixLibrary 1.07 RMLoad UnixLib:Modules.SharedULib 15:12:21.35 RMEnsure SharedUnixLibrary 1.07 Error XYZ 15:12:23.79 ** WimpError ** from NetSurf Error : &00000001 Message: The Unicode font library could not be initialized. Please report this to the developers. 15:12:23.79 Exec 15:12:25.46 FontRemove NetSurf:Resources.Fonts. 15:12:25.50 Exec 15:12:25.52 Set Messenger$ScrapDir 15:12:25.52 Set Wimp$Scrap .ScrapFile 15:12:25.52 Set Messenger$ScrapDir 15:12:25.52 Set Wimp$Scrap .ScrapFile Reporter 2.71 (04 Dec 2015) Listed 249 lines