Commit Graph

148 Commits (31cc1ad7922773c3d0f9ffb5b7b2bc49963c1db7)

Author SHA1 Message Date
Ansariel 3a99b5e9de Merge viewer-lynx 2018-07-15 14:00:44 +02:00
andreykproductengine 41c0a95365 MAINT-8395 Better loging 2018-06-26 20:19:38 +03:00
Ansariel 4c4b76ab37 Merge viewer-neko 2018-06-22 22:22:26 +02:00
andreykproductengine 6c231ba8a6 MAINT-8395 Rollback part of SL-711 to fix related crashes 2018-06-14 18:30:40 +03:00
Ansariel 31a1ba1701 Merge Firestorm LGPL 2018-05-08 18:31:13 +02:00
Nicky 7cc408a5cd Merge. 2018-04-10 12:33:45 +02:00
Nicky ef20e3f523 Replace ARP Mutex and Condition with std::mutx and std::conditional_variable 2018-04-05 12:02:12 +02:00
Ansariel 25350b9422 Merge viewer-neko 2018-01-30 15:39:28 +01:00
Andrey Kleshchev 6e445e82e2 MAINT-8091 Removed deprecated and unused private memory pooling 2018-01-30 14:03:26 +00:00
AndreyL ProductEngine 57a99273ed Merged in lindenlab/viewer-release 2018-01-17 03:20:12 +02:00
Ansariel 799309f890 Merge viewer-64 2018-01-04 13:09:03 +01:00
Nat Goodspeed 5002bf5660 MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.
On Windows, when logged in with a non-ASCII username, every one of the three
documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and
SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot
account for the fact that the oldest of these continues to work with the
release viewer and within a Python script (though not, curiously, from a
Python interactive session). With a non-ASCII username, they consistently fail
when called from an Alex Ivy viewer build: "The filename, directory name, or
volume label syntax is incorrect."

Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA
environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming
where those are, yup, actual question marks.

Empirically, the VMP is able to successfully call SHGetFolderPath() to
retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP
set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded
correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make
LLDir_Win32 retrieve those environment variables.

Make LLFile::mkdir() treat "directory already exists" as a success case. Every
single call fell into one of two categories: either it didn't check success at
all, or it tested specially to exempt errno == EEXIST. Migrate that test into
mkdir(); eliminate it from call sites.

Make LLDir::append() and add() convenience functions accept variadic
arguments. Replace add(add()...) constructs, as well as clumsy concatenations
of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-12-20 22:51:26 -05:00
andreykproductengine 083b93d2f9 MAINT-2124 Texture allocation issues 2017-12-05 17:54:17 +02:00
andreykproductengine 34d3b49d1f MAINT-2124 Texture allocation issues 2017-12-05 17:54:17 +02:00
Ansariel c606bc3492 Merge viewer-lynx 2017-11-12 12:28:28 +01:00
andreykproductengine 7161619d6c MAINT-7978 - Fixed allocation crash in doRead(), workers should never crash 2017-11-06 16:46:16 +02:00
Ansariel 3af72c575b Merge viewer-neko 2017-10-24 09:42:19 +02:00
andreykproductengine 76c7eb7310 Backed out changeset: bfa432c3c7d5 (SL-775) 2017-10-23 17:28:18 +03:00
andreykproductengine 7697f7f9a6 MAINT-7929 Viewer shouldn't attempt to access unreadable cache indefientely 2017-10-23 17:15:00 +03:00
Ansariel 4e997f9eef Merge viewer-neko 2017-10-11 22:32:13 +02:00
andreykproductengine 5ee30b7da5 MAINT-7895 Fix for setHeaderCacheEntry infinite loop 2017-10-11 19:37:35 +03:00
Ansariel 448f344f54 Merge viewer-neko 2017-10-05 21:27:43 +02:00
Mnikolenko Productengine e0265d3754 build fix 2017-10-03 12:00:11 +03:00
andreykproductengine 5844a9372f SL-775 Texture cache purge improvements 2017-09-28 17:10:38 +03:00
Ansariel 615336a4d4 Merge viewer-neko 2017-09-07 21:49:12 +02:00
Ansariel 7c97b96d5d Merge viewer-neko 2017-08-30 20:00:53 +02:00
andreykproductengine a0b57c0cd7 SL-776 Disk cache purge not purging headers if headers are corrupt or on version mismatch 2017-08-29 16:45:29 +03:00
andreykproductengine 18483e902c MAINT-7779 Protections against wrong data 2017-09-18 18:11:04 +03:00
Ansariel 0d9b019b42 Merge viewer-neko 2017-08-23 09:34:24 +02:00
andreykproductengine d290f2c512 BUG-134134 Additional logging 2017-08-21 17:41:41 +03:00
andreykproductengine 654aead8a1 SL-684 Improve cache version guard 2017-08-09 18:19:28 +03:00
ruslantproductengine 6dcde6469d [SL-711] - Eliminate some overheads in texturecache.
- Eliminate memory overhead when need duplicated scaled image.
- Small improvement in LLImageBase::getCodecFromExtension()
2017-06-06 15:30:03 +03:00
AndreyL ProductEngine 2e52d12ef1 MAINT-6819 Fix for LLTextureCacheRemoteWorker::doWrite crash 2016-10-19 02:09:47 +03:00
AndreyL ProductEngine 64ac847cff MAINT-6819 Fix for LLTextureCacheRemoteWorker::doWrite crash 2016-10-19 02:09:47 +03:00
Ansariel a1023dd89c Merge viewer-bear 2016-10-10 22:19:33 +02:00
AndreyL ProductEngine 41f1d0b667 MAINT-6123 Fix for LLTextureCache::writeToFastCache crash 2016-09-28 18:39:36 +03:00
Oz Linden 950c41d184 merge 4.0.4-release and MAINT-5974 2016-05-06 10:28:42 -04:00
Ansariel d171e16c58 Merge Firestorm LGPL 2016-03-18 10:16:25 +01:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Ansariel c1237cd463 Merge viewer-bear 2016-02-13 14:07:04 +01:00
andreykproductengine 8351acc78c MAINT-6105 FIXED Lowering Cache Size and relogging results in many corrupted textures 2016-02-05 19:30:16 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Ansariel 5fe09cb64d Merge Viewer-Bear 2015-08-22 03:13:17 +02:00
Nicky 5b07a7b8ba Windows: Put texture purging into its own thread to avoid long stalls on startup if there is a lot of textures to delete. 2015-07-20 23:38:11 +02:00
andreykproductengine 1f1b5dc51d MAINT-5230 FIXED Viewer gets stuck clearing texture cache 2015-06-08 16:25:59 +03:00
Ansariel 67b6b958b1 Only delete directories if they actually exist or the log gets spammed with warnings 2014-09-08 16:48:39 +02:00
Ansariel a461052992 Add crash fix to LLTextureCacheRemoteWorker that got missing in a previous merge 2014-06-11 18:20:49 +02:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Xiaohong Bao d8c02bf062 Merge 2013-08-19 16:09:28 -06:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00