Commit Graph

26 Commits (edb629352822d4c7737aff2e5b719b36eadfeb50)

Author SHA1 Message Date
Ansariel fedae88be7 boost::filesystem::directory_iterator uses throw-behavior by default as well 2021-06-11 22:59:55 +02:00
Ansariel 564a7acb32 Change all remaining boost::filesystem methods to their non-throwing overloads 2021-06-11 22:50:39 +02:00
Ansariel 4c558e85bd Fix more crashes in disk cache due to boost error handling 2021-06-10 01:09:31 +02:00
Nat Goodspeed ac8640d338 SL-15200: LLPurgeDiskCacheThread's CHECK_INTERVAL is secs. 2021-05-18 09:51:45 -04:00
Nat Goodspeed b3708ac238 SL-15200: Use new LLApp::sleep() in LLPurgeDiskCacheThread::run(). 2021-05-17 15:10:06 -04:00
Nat Goodspeed 87faf25891 SL-15200: Explain why purge() is called on another thread.
Also add Ansariel's explanation for why interaction through the filesystem
itself should be safe.
2021-05-17 10:24:27 -04:00
Ansariel 89cf988aaf BUG-230673: Add warning that LLDiskCache::purge() is also called from outside the main thread 2021-05-17 09:49:32 +02:00
Ansariel 0e253cb909 BUG-230673: Trim asset disk cache regularly 2021-05-12 10:45:23 +02:00
Callum Prentice c241c5d4b8 Merge branch 'DRTVWR-519' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519 2021-05-11 12:59:37 -07:00
Callum Prentice 3898609ae2 Fix for SL-15226 Simple cache viewer: Integer overflow in cache size - via FS:Ansariel 2021-05-11 12:58:05 -07:00
Ansariel 8633ba9c8b BUG-230697: Do not crash viewer during cache cleanup 2021-05-11 20:27:07 +02:00
Callum Prentice ad2edc1d83 Remove debugging tags 2021-03-09 18:35:30 -08:00
Callum Prentice d7518c7b4f Ansariel kindly offered their patch to help mitigate this round of file system issues - taken from https://vcs.firestormviewer.org/phoenix-firestorm/changeset/104a8600946be01e2de44d10ad069ba854272d1f 2021-03-09 18:33:35 -08:00
Callum Prentice 168d177197 This set of changes reverts the merge with master (git revert c83e740) and results in a version of the DRTVWR-519 that matches what was presemt before it was deployed as a release viewer *plus* 3 small fixes from Maxim (See commits). This branch can now be used for additional fixes before eventually being used to release D-519 as normal 2021-03-09 14:39:51 -08:00
Brad Payne (Vir Linden) c83e740ef9 Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519"
This reverts commit e61f485a04, reversing
changes made to 00c47d079f.
2021-03-08 13:56:16 +00:00
Callum Prentice 60e8f990fd Addresses SL-14582: Add code to only write the file last access time occasionally 2021-01-08 14:21:58 -08:00
Mnikolenko Productengine 53cae8b21f SL-14505 FIXED [Win10] The viewer isn't started on the non-English system locale 2020-12-11 16:42:10 +02:00
Callum Prentice aae7259a0a Fix for meta issue: SL-14210 Prune descriptive tag from new cache filenames 2020-10-27 14:02:24 -07:00
Mnikolenko Productengine 3051db7b61 Purge excessive files from disc cache each startup 2020-10-08 15:26:54 +03:00
Callum Prentice 1a9942a51c Improve, rationalize and expand comments 2020-10-07 16:43:01 -07:00
Callum Prentice 5fdc4a1fb4 Add in some cache stats for the about box 2020-10-07 16:03:28 -07:00
Callum Prentice 08dfc0836f This changeset hooks up many things that have been in progress and moves things about between llfilesystem and lldiskcache - there is still some bookkeeping work left but this is the first version that appears to work and actively manage the cache 2020-10-07 15:25:12 -07:00
Callum Prentice 3092aa8aae Add in the C++ filesystem based cache and clean up some indempotent functions in llfilesystem 2020-10-06 17:16:53 -07:00
Callum Prentice 6be1f88a5e Complete the change from lldiskcache -> llfilesystem and then addition of new lldiskcache implementation 2020-09-24 14:45:39 -07:00
Callum Prentice 96e2873bfa Rename lldiskcache.* to llfilesystem.* - i think this is the right name since it's responsible for performing file system operations and (will eventually) delegrate to a separate disk cache component to save/load data and keep track of metadata etc. 2020-09-24 10:23:39 -07:00
Callum Prentice d9448c6f52 The folder where the disk cache lives was originally renamed from llvfs to llcache but @henri's suggestion that that doesn't reflect the other files in the same place and it should be llfilesystem is a good one so I changed it over 2020-09-17 09:45:06 -07:00