mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 09:42:38 +03:00
Add !Cache to riscos resources
This commit is contained in:
parent
3834770f11
commit
1151ae8ba2
3
riscos/distribution/!Boot/Resources/!Cache/!Boot,feb
Normal file
3
riscos/distribution/!Boot/Resources/!Cache/!Boot,feb
Normal file
@ -0,0 +1,3 @@
|
||||
Set Cache$FromBoot True
|
||||
If "<Cache$Dir>" = "" Then Run <Obey$Dir>.!Run
|
||||
Unset Cache$FromBoot
|
2
riscos/distribution/!Boot/Resources/!Cache/!Help,feb
Normal file
2
riscos/distribution/!Boot/Resources/!Cache/!Help,feb
Normal file
@ -0,0 +1,2 @@
|
||||
If "<CacheAppRes$Path>" = "" Then Run <Cache$AppDir>.Resources.ResFind CacheApp
|
||||
Filer_Run CacheAppRes:Help
|
10
riscos/distribution/!Boot/Resources/!Cache/!Run,feb
Normal file
10
riscos/distribution/!Boot/Resources/!Cache/!Run,feb
Normal file
@ -0,0 +1,10 @@
|
||||
Set Cache$AppDir <Obey$Dir>
|
||||
IconSprites <Cache$AppDir>.!Sprites
|
||||
|
||||
Run <Cache$AppDir>.Resources.ResFind CacheApp
|
||||
Set Cache$Meta CacheAppRes:!Meta
|
||||
|
||||
RMEnsure SysLog 0.17 IfThere <SysLog$Dir>.!Run Then Run <SysLog$Dir>.!Run
|
||||
RMEnsure SysLog 0.17 Set Cache$SysLogMissing "True"
|
||||
|
||||
Run <Cache$AppDir>.!RunImage
|
BIN
riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb
Normal file
BIN
riscos/distribution/!Boot/Resources/!Cache/!RunImage,ffb
Normal file
Binary file not shown.
BIN
riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9
Normal file
BIN
riscos/distribution/!Boot/Resources/!Cache/!Sprites,ff9
Normal file
Binary file not shown.
BIN
riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9
Normal file
BIN
riscos/distribution/!Boot/Resources/!Cache/!Sprites22,ff9
Normal file
Binary file not shown.
1
riscos/distribution/!Boot/Resources/!Cache/Caches/Blank
Normal file
1
riscos/distribution/!Boot/Resources/!Cache/Caches/Blank
Normal file
@ -0,0 +1 @@
|
||||
This is here just to stop the directory structure getting lost when unzipping.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb
Normal file
BIN
riscos/distribution/!Boot/Resources/!Cache/Resources/ResFind,ffb
Normal file
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
# Meta file for Cache
|
||||
Help:<CacheAppRes$Dir>.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
|
||||
|
60
riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help
Normal file
60
riscos/distribution/!Boot/Resources/!Cache/Resources/UK/Help
Normal file
@ -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 "<Cache$Dir>" before proceeding
|
||||
* Read from and write data to "<Cache$Dir>.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.
|
@ -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.
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user