From 1151ae8ba2b980d6daf019b16f92c5e8e5e54555 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 Jun 2014 15:27:35 +0100 Subject: Add !Cache to riscos resources --- .../distribution/!Boot/Resources/!Cache/!Boot,feb | 3 ++ .../distribution/!Boot/Resources/!Cache/!Help,feb | 2 + .../distribution/!Boot/Resources/!Cache/!Run,feb | 10 ++++ .../!Boot/Resources/!Cache/!RunImage,ffb | Bin 0 -> 2985 bytes .../!Boot/Resources/!Cache/!Sprites,ff9 | Bin 0 -> 864 bytes .../!Boot/Resources/!Cache/!Sprites22,ff9 | Bin 0 -> 2504 bytes .../!Boot/Resources/!Cache/Caches/Blank | 1 + .../!Cache/Caches/Single/MimeMan/MimeBase,ffd | Bin 0 -> 53248 bytes .../!Cache/Caches/Single/MimeMan/PluginMime,ffd | Bin 0 -> 53248 bytes .../Resources/!Cache/Resources/MultiError,ffb | Bin 0 -> 24031 bytes .../!Boot/Resources/!Cache/Resources/ResFind,ffb | Bin 0 -> 1930 bytes .../!Boot/Resources/!Cache/Resources/UK/!Meta | 9 ++++ .../!Boot/Resources/!Cache/Resources/UK/Help | 60 +++++++++++++++++++++ .../!Boot/Resources/!Cache/Resources/UK/Messages | 8 +++ .../Resources/!Cache/Resources/UK/Templates,fec | Bin 0 -> 541 bytes 15 files changed, 93 insertions(+) create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!Boot,feb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!Help,feb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!Run,feb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9 create mode 100644 riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9 create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Caches/Blank create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/MimeBase,ffd create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/PluginMime,ffd create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/MultiError,ffb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/UK/!Meta create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Messages create mode 100644 riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Templates,fec diff --git a/riscos/distribution/!Boot/Resources/!Cache/!Boot,feb b/riscos/distribution/!Boot/Resources/!Cache/!Boot,feb new file mode 100644 index 000000000..f126ba27a --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/!Boot,feb @@ -0,0 +1,3 @@ +Set Cache$FromBoot True +If "" = "" Then Run .!Run +Unset Cache$FromBoot \ No newline at end of file diff --git a/riscos/distribution/!Boot/Resources/!Cache/!Help,feb b/riscos/distribution/!Boot/Resources/!Cache/!Help,feb new file mode 100644 index 000000000..35eeeb31b --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/!Help,feb @@ -0,0 +1,2 @@ +If "" = "" Then Run .Resources.ResFind CacheApp +Filer_Run CacheAppRes:Help \ No newline at end of file diff --git a/riscos/distribution/!Boot/Resources/!Cache/!Run,feb b/riscos/distribution/!Boot/Resources/!Cache/!Run,feb new file mode 100644 index 000000000..a920e39ab --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/!Run,feb @@ -0,0 +1,10 @@ +Set Cache$AppDir +IconSprites .!Sprites + +Run .Resources.ResFind CacheApp +Set Cache$Meta CacheAppRes:!Meta + +RMEnsure SysLog 0.17 IfThere .!Run Then Run .!Run +RMEnsure SysLog 0.17 Set Cache$SysLogMissing "True" + +Run .!RunImage \ No newline at end of file diff --git a/riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb b/riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb new file mode 100644 index 000000000..61752af99 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9 b/riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9 new file mode 100644 index 000000000..b71a51cf3 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9 differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9 b/riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9 new file mode 100644 index 000000000..e43f88c89 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9 differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/Caches/Blank b/riscos/distribution/!Boot/Resources/!Cache/Caches/Blank new file mode 100644 index 000000000..898dc5872 --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/Caches/Blank @@ -0,0 +1 @@ +This is here just to stop the directory structure getting lost when unzipping. \ No newline at end of file diff --git a/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/MimeBase,ffd b/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/MimeBase,ffd new file mode 100644 index 000000000..905a788a7 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/MimeBase,ffd differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/PluginMime,ffd b/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/PluginMime,ffd new file mode 100644 index 000000000..e0d18d50d Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/Caches/Single/MimeMan/PluginMime,ffd differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/MultiError,ffb b/riscos/distribution/!Boot/Resources/!Cache/Resources/MultiError,ffb new file mode 100644 index 000000000..ec348b0e9 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/Resources/MultiError,ffb differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb b/riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb new file mode 100644 index 000000000..7766cc928 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb differ diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/!Meta b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/!Meta new file mode 100644 index 000000000..2de40bd7c --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/!Meta @@ -0,0 +1,9 @@ +# Meta file for Cache +Help:.Help +Version:1.13 +Web:http://www.snowstone.org.uk/riscos/ +Title:Cache +Publisher:Adam Richardson +Description:Cache provides a central location for semi-permanent data on your system. +Email:riscos@snowstone.org.uk + diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help new file mode 100644 index 000000000..aad9bf0b1 --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help @@ -0,0 +1,60 @@ +Cache +----- + +Cache provides a shared location for cached data. This location can be +used by application authors to store semi-permanent data. Cache can be +placed anywhere on your computer where it will be "seen" by the Filer +during start up. (For instance, the "Resources" directory inside !Boot.) + +Once "seen" it will set up a cache location, which can be shown by +double-clicking on !Cache. + + +Application Authors +----------- ------- + +Use Cache in a similar way to using Scrap. You *must not* assume that +Cache is present on the user's system however, as Cache is not an +official part of the system (like Scrap). + +To use Cache you should: + * Check for the presence of "" before proceeding + * Read from and write data to ".APPNAME" where APPNAME has + been allocated to you by the allocations service. See: + http://www.riscosopen.com/content/allocate + * If the APPNAME directory does not exist, you should create it. + +This version of Cache is published by Adam Richardson who can be +contacted at riscos@snowstone.org.uk. + +The website for Cache is: http://www.snowstone.org.uk/riscos/ + + +Credits +------- + +Cache is (c) Adam Richardson, 2007. +Thanks to Rob Kendrick for the initial idea and input. + + +License +------- + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Messages b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Messages new file mode 100644 index 000000000..366122292 --- /dev/null +++ b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Messages @@ -0,0 +1,8 @@ +# Messages for Cache + +multiuser:Multi-user system present. +singleuser:No multi-user system present. +location:Cache directory set to: +opendir:Opening cache location... +fatalerror:Cache has suffered a fatal error and has quit. + diff --git a/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Templates,fec b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Templates,fec new file mode 100644 index 000000000..22f910ad9 Binary files /dev/null and b/riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Templates,fec differ -- cgit v1.2.3