Commit Graph

40429 Commits (bd008a170898e69beeb8bc0481b4bfd94de86c55)

Author SHA1 Message Date
Nat Goodspeed 2d3c5fb060 Automated merge with ssh://bitbucket.org/lindenlab/viewer-vlc 2016-09-06 20:52:57 -04:00
Nat Goodspeed 67c401047a MAINT-5011: Ensure BlockTimer::mStartTime is unconditionally set.
Previous logic could possibly leave mStartTime uninitialized, producing fatal
warnings with gcc 4.7.
2016-09-06 20:48:16 -04:00
Nat Goodspeed fe49126d45 MAINT-5011: Commit backing out BlockTimer warning suppression. 2016-09-06 20:42:27 -04:00
Nat Goodspeed bfb400ccd7 Backed out changeset c30d8774c404: remove warning suppression
for possibly-uninitialized data member in BlockTimer::BlockTimer.

NickyD suggested a real fix.
2016-09-06 20:41:23 -04:00
Oz Linden dc5a805efd undo changes to llvertexbuffer.cpp from c727ae93646e 2016-09-06 16:53:32 -04:00
Brad Payne (Vir Linden) 6c46b3caf2 SL-395 - can enable/disable scale lock in mesh upload UI. Feature works. 2016-09-06 16:32:41 -04:00
Oz Linden 9a1edafbf1 use debian package names in uploads, set private according to
new convention
2016-09-06 12:17:01 -04:00
Nat Goodspeed a601c559e8 MAINT-5232: Ensure that llcoro::get_id() returns distinct values.
Until now, the "main coroutine" (the initial context) of each thread left
LLCoros::Current() NULL. The trouble with that is that llcoro::get_id()
returns that CoroData* as an opaque token, and we want distinct values for
every stack in the process. That would not be true if the "main coroutine" on
thread A returned the same value (NULL) as the "main coroutine" on thread B,
and so forth. Give each thread's "main coroutine" a dummy heap CoroData
instance of its own.
2016-09-06 12:08:38 -04:00
Oz Linden 32d52ec240 display build metadata, remove obsolete private.html 2016-09-06 12:08:03 -04:00
Oz Linden 5edd4cecfc merge changes for exception handling 2016-09-06 11:07:39 -04:00
Oz Linden 8c86c594be paren fix 2016-09-06 11:01:02 -04:00
Oz Linden 72f4c72001 downgrade spammy LLCoros logging to DEBUG 2016-09-06 10:21:28 -04:00
Oz Linden a5adabb4f6 add protections against failed memory allocations in VBO and aligned memory 2016-09-06 10:04:19 -04:00
Oz Linden 53f9fbcfb7 add run time error checking to LLImageRaw::scale 2016-09-06 09:11:10 -04:00
Mnikolenko Productengine ec9b92d274 MAINT-6698 [VOB] "Save" button is always enabled for outfit with non-default image even if there were no changes 2016-09-06 14:07:20 +03:00
andreykproductengine 4a9d6cd69f MAINT-6697 make sure we have data to process 2016-09-05 19:31:42 +03:00
Mnikolenko Productengine fc17f62335 MAINT-6685 [VOB] Outfit Image from an Outfit Gallery disappears after editing outfit 2016-09-05 17:32:50 +03:00
andreykproductengine ecd11724ca Backed out changeset: d3ffc46e9e92 2016-09-05 15:43:31 +03:00
Nat Goodspeed 976f4b6252 MAINT-5232: Break out LLCoros::get_id() into its own header file.
We need LLSingleton machinery to be able to reference get_id() without also
depending on all the rest of LLCoros -- since LLCoros isa LLSingleton.
2016-09-03 12:04:36 -04:00
Nat Goodspeed f931f6ef52 MAINT-5232: Add LLCoros::get_id() to identify the running coroutine.
Change the module-static thread_specific_ptr to a function-static
thread_specific_ptr so it will be initialized on demand -- since LLSingleton
will need to rely on get_id(). Note that since LLCoros isa LLSingleton, we
must take great care to avoid circularity.

Introduce a private helper class LLCoros::Current to obtain and bind that
thread_specific_ptr. Change all existing internal references from the static
thread_specific_ptr to the new Current helper class.
2016-09-03 11:39:17 -04:00
Nat Goodspeed c71e622229 MAINT-5232: Add DEBUG logging to LLSingleton dependency tracking.
Specifically, add DEBUG logging to the code that maintains the stack of
LLSingletons currently being initialized. This involves passing
LLSingletonBase's constructor the name of LLSingleton's template parameter
subclass, since during that constructor typeid(*this).name() will only produce
"LLSingletonBase".

Also add logdebugs() and oktolog() helper functions.
2016-09-03 11:30:53 -04:00
Nat Goodspeed 4af7e496b4 MAINT-5232: Make LLError::is_available() depend on both LLSingletons.
LLError machinery depends on two different LLSingletons. Its is_available()
function is primarily for LLSingleton itself to determine whether it is, or is
not, safe to log. Until both of LLError's LLSingletons have been constructed,
attempting to log LLSingleton operations could produce infinite recursion.
2016-09-03 11:22:54 -04:00
Brad Payne (Vir Linden) 34ced1aa2c SL-395 - partial support for joint scale locking via flag in skin info 2016-09-02 16:44:57 -04:00
Brad Payne (Vir Linden) a2875ba53e merge 2016-09-02 14:34:06 -04:00
Nat Goodspeed a05ee7324d MAINT-5232: Abbreviate __FILE__ path in log_subsystem_cleanup().
LLError::abbreviateFile() is specifically to avoid cluttering log output with
the prefix of an absolute file path on the original build system, pointless
for anyone trying to read the log.
2016-09-02 14:03:28 -04:00
Nat Goodspeed 1804da89ee MAINT-5011: Abbreviate __FILE__ path in log_unhandled_exception_().
LLError::abbreviateFile() is specifically to avoid cluttering log output with
the prefix of an absolute file path on the original build system, pointless
for anyone trying to read the log.
2016-09-02 14:00:18 -04:00
andreykproductengine 74ec1116a2 MAINT-6461 crash due to invalid menu pointer during visibility change 2016-09-02 19:20:31 +03:00
andreykproductengine 9e73d04811 MAINT-6461 crash due to invalid menu pointer during visibility change 2016-09-02 19:20:31 +03:00
Brad Payne (Vir Linden) d07a8b9965 SL-124 - small comment cleanups 2016-09-02 08:41:22 -04:00
Brad Payne (Vir Linden) 5521066237 SL-109 - added another diagnostic option for skel_tool.py. --slider_info dumps the info about bone-affecting sliders to stdout 2016-09-02 08:15:54 -04:00
Oz Linden bd2005e078 convert redirect to new python convention 2016-09-01 21:08:26 -04:00
Nat Goodspeed 56a83d2115 MAINT-5011: Use LL_VLOGS() rather than raw lllog() macro.
Raw lllog() doesn't work for varying log level, which is why LL_VLOGS()
exists.
2016-09-01 19:53:56 -04:00
Nat Goodspeed a1741be7f6 Automated merge with file:///Users/nat/linden/viewer-comment-lllog 2016-09-01 19:52:45 -04:00
Nat Goodspeed 1ed351e28f MAINT-5011: Use LL_VLOGS() rather than raw lllog() macro.
Raw lllog() doesn't work for varying log level, which is why LL_VLOGS()
exists.
2016-09-01 19:46:39 -04:00
Nat Goodspeed 96467f09f2 Automated merge with file:///Users/nat/linden/viewer-comment-lllog 2016-09-01 19:44:38 -04:00
Nat Goodspeed 9be4e7e448 MAINT-5232: Introduce LL_VLOGS() macro: log call with variable level.
In some places we want to log the same information but with different severity
depending on specifics. In other cases we need to test the availability of the
logging subsystem before engaging it. LL_VLOGS() accepts an LLError::ELevel
argument that can differ with each call, while retaining the desirable feature
of deciding only once for each level.
2016-09-01 19:32:31 -04:00
Nat Goodspeed 3a2383dc0d Automated merge with file:///Users/nat/linden/viewer-comment-lllog 2016-09-01 18:29:17 -04:00
Nat Goodspeed 7203162071 Automated merge with file:///Users/nat/linden/viewer-comment-lllog 2016-09-01 15:22:34 -04:00
Nat Goodspeed 31d3d654f1 MAINT-5011: Advise against lllog() instead of (e.g.) LL_INFOS(). 2016-09-01 15:21:54 -04:00
andreykproductengine 9acf7f5733 MAINT-6221 If two animations have the same priority, it's arbitrary which one will take precedence 2016-09-01 19:11:44 +03:00
Mnikolenko Productengine 81b683f83b MAINT-6686 FIXED [VOB] Outfit Snapshot floater should be resized independently of general Snapshot floater 2016-09-01 16:40:41 +03:00
Nat Goodspeed 1bbc523b04 MAINT-5011: Revert to googlemock built on squeeze 2016-08-31 17:22:04 -04:00
Nat Goodspeed 3d0383fd14 Backed out changeset 8c0e52a212bb - revert to googlemock 297460 2016-08-31 17:21:53 -04:00
Nat Goodspeed ae214e382b MAINT-5011: Revert to llceflib built on squeeze 2016-08-31 17:21:00 -04:00
Nat Goodspeed 6076f69591 Backed out changeset 538a5b77f08e - revert to llceflib 311349 2016-08-31 17:20:45 -04:00
Nat Goodspeed 9a0acaef36 MAINT-5011: Revert to colladadom built on squeeze 2016-08-31 17:19:45 -04:00
Nat Goodspeed b32ae58e4c Backed out changeset c494a6e0b619 - revert to colladadom 297450 2016-08-31 17:19:31 -04:00
Nat Goodspeed d24f7ed33d MAINT-5011: Revert to boost built on squeeze 2016-08-31 17:18:41 -04:00
Nat Goodspeed 3ce48210ff Backed out changeset 4cf5551a22a6 - revert to boost 297445 2016-08-31 17:17:48 -04:00
Nat Goodspeed 8118762c12 MAINT-5011: Add log tag to LOG_UNHANDLED_EXCEPTION() log messages. 2016-08-31 17:16:43 -04:00