Commit Graph

83 Commits (7c42711ca3a4e67b95473aa5129dce5ff19bea15)

Author SHA1 Message Date
Andrey Lihatskiy c95b4bf3ea Post-merge - trim trailing whitespace 2024-06-10 20:45:59 +03:00
Ansariel b42f9d836b Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings 2024-06-01 15:49:26 +02:00
Ansariel 321f283032 Replace remaining BOOL with bool llinventory and llmessage 2024-02-19 18:06:08 +02:00
Lars Næsbye Christensen f1c97f4057 misc: BOOL to bool 2024-02-18 22:04:44 +02:00
Lars Næsbye Christensen 9e854b697a misc: BOOL to bool 2024-02-17 12:23:07 +02: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 6be1f88a5e Complete the change from lldiskcache -> llfilesystem and then addition of new lldiskcache implementation 2020-09-24 14:45:39 -07:00
Callum Prentice 2e6f516411 Renamed the references to LLVFile and llvfile.* source code plus cmake scripts to use a different name - lldiskcache - since that more closely resembles what it is (or will be) now that the VFA is no more 2020-09-16 21:12:53 -07:00
Callum Prentice 3fc07dea01 First part of change to remove LLVFS from the Viewer. Consists of code changes to remove LLVFS and LLVFSThread classes along with the associated source files. The existing llvfs folder is renamed to llcache. Also includes changes to CMake script in many places to reflect changes. Eventually, llvfile source file and class will be renamed but that is not in this change. 2020-09-16 18:53:24 -07:00
Mnikolenko Productengine 060dd2aeab Check existence of local files instead of checking VFS 2020-09-16 19:03:48 +03:00
Nicky Dasmijn fba9abbb19 Remove redundant LL_EXSTAT_ from enums. 2020-07-22 06:48:15 +03:00
Nicky Dasmijn acaa272330 LLExtStat had been a S32, this wasn't right, as some of the constants lead to integer overflow: const LLExtStat LL_EXSTAT_RES_RESULT = 2L<<30; const LLExtStat LL_EXSTAT_VFS_RESULT = 3L<<30; This shifts into the sign bit and clang gets (rightfully) upset about this.
LLExtStatus needs to be at least of type U32 to remedy this problem, but
while at it it makes sense to turn it into what it is: An enum. Turning
it into a class enum has the added benefit we get type safety for mostly
free.
Which incidentally turned up a problem right away:
A call to removeAndCallbackPendingDownloads had status and extstatus
reversed and thus was wrong.
2020-07-22 06:48:15 +03:00
Rider Linden 2401712d10 SL-9660: Next pass cleanup. Removed and downgraded a number of logs. Removed refs to LAPAS. Better sync with legacy regions. 2019-02-20 15:20:30 -08:00
Rider Linden 9f2f2a2874 Replace variadic template with more specific expansion. 2018-02-27 09:38:06 -08:00
Rider Linden b766466b30 Added settings inventory object with subtype 2018-02-26 09:27:14 -08:00
Brad Payne (Vir Linden) 6d737c927c SL-409 - added tags to more log messages 2017-04-19 16:29:21 -04:00
Brad Payne (Vir Linden) f70abb4ad6 SL-409 - added tracking for bytes fetched to viewer assets metrics (does not currently work for textures) 2017-03-03 15:14:09 -05:00
Brad Payne (Vir Linden) 976b4f91ef SL-409 - more WIP on http fetching path for assets, capture results to LLVFile. 2017-02-17 09:04:28 -05:00
Brad Payne (Vir Linden) 7d375ed9b7 SL-409 - WIP on http fetching path for assets 2017-02-15 15:34:56 -05:00
Brad Payne (Vir Linden) 5db5f6148a SL-409 - initial cleanup, mostly indentation fixes and removing unused or inaccessible code 2017-02-13 14:32:50 -05:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
Rider Linden b8c1976460 Merge 2016-03-17 13:14:21 -07:00
Oz Linden 31f3db0291 merge changes for DRTVWR-417 2016-03-16 13:08:06 -04:00
andreykproductengine 58bb4116db MAINT-6066 crash in LLTransferSource::getID() 2016-02-10 19:56:08 +02:00
andreykproductengine 1e682ef5ca MAINT-6066 crash in LLTransferSource::getID() 2016-01-20 18:28:49 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Rider Linden f2da6ec2ac Bit of cleanup around Translation and remove httpassetstorage 2015-09-11 17:34:53 -07:00
Rider Linden 96bb17f20b Merge 2015-08-25 11:40:36 -07:00
Nat Goodspeed 62527e6f18 MAINT-5506: Fix ugly timing bug in llurlentry static initialization.
The problem was that class-static LLUrlEntryParcel::sRegionHost was being
initialized by copying class-static LLHost::invalid. Naturally, these two
statics are initialized in different source files. Since C++ makes no promises
about the relative order in which objects in different object files are
initialized, it seems we hit a case in which we were trying to initialize
sRegionHost by copying a completely uninitialized LLHost::invalid.
In general we might attempt to address such cross-translation-unit issues by
introducing an LLSingleton. But in this particular case, the punch line is
that LLHost::invalid is explicitly constructed identically to a
default-constructed LLHost! In other words, LLHost::invalid provides nothing
we couldn't get from LLHost(). All it gives us is an opportunity for glitches
such as the above.
Remove LLHost::invalid and all references, replacing with LLHost().
2015-08-18 17:05:29 -04:00
andreykproductengine 8f56762028 MAINT-5430 Crash LLAssetStorage::downloadCompleteCallback 2015-07-30 18:35:33 +03:00
andreykproductengine b30dd09e47 MAINT-5430 Crash LLAssetStorage::downloadCompleteCallback 2015-07-30 18:35:33 +03:00
Xiaohong Bao 555cf227ff trivial: fix several weird compiling errors. 2013-10-25 10:29:45 -06:00
Richard Linden 612892b45a SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
continued conversion to units system
made units perform type promotion correctly and preserve type in arithmetic
e.g. can now do LLVector3 in units
added typedefs for remaining common unit types, including implicits
2013-08-18 22:30:27 -07:00
Richard Linden 25937040de SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
converted many values over to units system in effort to track down
source of 0 ping
2013-08-16 12:38:12 -07: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
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Richard Linden f07b9c2c69 renamed LLTrace stat gathering classes/methods to make the structure of LLTrace clearer
Count becomes CountStatHandle
Count.sum becomes sum(Count, value), etc.
2013-03-06 11:08:25 -08:00
Richard Linden 8d2f7a5265 SH-3405 WIP convert existing stats to lltrace system
converted all remaining LLViewerStats to lltrace
2012-10-15 19:43:35 -07:00
Dave Parks f657f5a428 SH-2276 Remove some log spam to alleviate stalls on login. 2011-09-28 15:54:02 -05:00
Dave Parks a25f898703 merge 2011-05-02 14:52:12 -05:00
Seth ProductEngine e26bfe00ef STORM-380 FIXED Added syncing animations and sounds before the gesture starts playing.
The actual playing of animations and sounds of a gesture starts only when all needed animations and sound files are loaded into viewer cache. This reduces the delay between animations and sounds meant to be played simultaneously but may increase the delay between the moment a gesture is triggered and the moment it starts playing.

Fixed calling assets callback to clean up the void pointer in getAssetData() and avoid potential memory leaks.
2011-04-22 01:07:52 +03:00
Loren Shih 4e98895719 Automated merge up from viewer-development 2010-12-21 10:39:35 -05:00
Monty Brandenberg 4bab98f5cd ESC-228 ESC-227 Corrections for metrics counters and send-on-quit delivery.
Wanted to avoid computing metrics for duplicate requests as much as
possible, they artificially depress averages but missed an opportunity
and was including them in the counts.  The non-texture case is solid.
Textures are.... confounding still.  Do a better job of trying to send
one last packet to the grid when quitting.  It is succeeding now, at
least sometimes.  Put a comment in base llassetstorage.cpp pointing
to cut-n-paste derivation in llviewerassetstorage.cpp so that changes
can be replicated.  Hate doing this but current design forces it.
2010-12-10 16:05:19 -05:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Dave Parks f461ae214c Merge with render-pipeline 2010-06-07 23:05:22 -05:00
Brad Payne (Vir Linden) 670e316dd7 Static VFS cache tracing 2010-05-24 18:05:15 -04:00
Tofu Linden b95aef17ff merge from viewer-trunk 2010-04-21 11:32:15 +01:00