summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-20DRTVWR-418: operator comparison methods should be const.Nat Goodspeed
clang has started to reject our non-const comparison operator methods used within standard algorithms.
2016-12-20DRTVWR-418: Another fix for std::string::find() return type.Nat Goodspeed
2016-12-20MAINT-3609 The sun was jumping acros the sky at set timeandreykproductengine
2016-12-20DRTVWR-418: Fix API for LLTracker::stopTracking().Nat Goodspeed
The signature for LLTracker::stopTracking() was silly: it accepted a void* for the sole purpose of testing whether it was NULL. In other words, the parameter was really a bool in void* clothing. Most callers passed NULL. What got ugly was when you wanted to pass 'true', or a variable bool value. Such values had to be cast to void*. In 64-bit land, the compiler correctly flags that as extremely dubious practice. But it's entirely unnecessary. Since stopTracking() wants a bool, change its parameter to bool. Everybody wins. (While at it, change a few related method params from BOOL to builtin bool.)
2016-12-20DRTVWR-418: Casting pointer to BOOL is just wrong.Nat Goodspeed
Since BOOL is simply a typedef for int, casting a 64-bit pointer to 32-bit int is correctly diagnosed by the compiler as an error. What works is to cast the pointer to (lowercase) bool, the builtin type, which engages the compiler's test for "is this pointer NULL?"
2016-12-20MAINT-7012 FIXED Crash in LLPanelEditWearable::isDirty()Mnikolenko Productengine
2016-12-20DRTVWR-418: Untangle LLWLParamKey, LLWLAnimator circularity.Nat Goodspeed
LLWLAnimator stores a std::map<F32, LLWLParamKey>. But llwlanimator.h only forward-declared LLWLParamKey, begging the question of how this ever compiled on any previous platform. LLWLParamKey was declared for real in llwlparammanager.h, so the obvious fix is to #include "llwlparammanager.h" in llwlanimator.h. Unfortunately this doesn't work because llwlparammanager.h already #includes "llwlanimator.h". As the dependency is specifically on LLWLParamKey, which isa LLEnvKey, which is declared in llenvmanager.h, move LLWLParamKey to llenvmanager.h. Then we can #include "llenvmanager.h" in llwlanimator.h instead of merely forward- declaring LLWLParamKey. This migration compiles LLWLParamKey in a context in which LLTrans isn't visible. It's not really clear why all LLWLParamKey's methods are inline, but toString() -- the method that requires LLTrans -- isn't going to be fast in any case. Break toString() out to llenvmanager.cpp, and #include "lltrans.h" there.
2016-12-20DRTVWR-418: std::string::find() returns std::string::size_type.Nat Goodspeed
Storing it in a U32 and then comparing it to std::string::npos isn't going to work in 64 bit land.
2016-12-19DRTVWR-418: Update to darwin64 llceflib with libc++, not libstdc++.Nat Goodspeed
2016-12-19DRTVWR-418: Avoid casting sa_sigaction to unsigned int for comparing.Nat Goodspeed
It's not really clear to me why the original coder felt it necessary to cast the two sigaction::sa_sigaction fields to unsigned int in the first place, but in a 64-bit clang compile, that discards information.
2016-12-19DRTVWR-418: Use $LL_BUILD to set most switches in 00-Common.cmake.Nat Goodspeed
Going forward, the intention is to set in 00-Common.cmake only switches not already set for ALL viewer-related libraries in https://bitbucket.org/lindenlab/viewer-build-variables/src/tip/variables. To that end, remove all switches redundant with settings from that file. Remove redundancies within 00-Common.cmake. Remove cruft testing for gcc versions older than 4.3.
2016-12-20Merged in lindenlab/viewer-lynxAndreyL ProductEngine
2016-12-19DRTVWR-418: Use U32 for int (and hex) of HttpStatus in 64-bit too.Nat Goodspeed
Turns out that Monty didn't intend for the int-flavored representation of HttpStatus to expand to 64 bits even when unsigned long is that wide. So change the implicit conversion operator, and its uses, to U32 instead. That produces a consistent toHex() result for both 32-bit and 64-bit builds.
2016-12-19DRTVWR-418: Fix streamtools test.Nat Goodspeed
When std::istream::good() returns false, presumably we can no longer rely on get() returning valid data. Certain streamtools tests were assuming that get() would return the empty string at EOF, but in fact it appears that it left the previous buffer contents unmodified.
2016-12-19MAINT-7009 backing out changeset 638ac620a500 (MAINT-4576)andreykproductengine
2016-12-19Merged STORM-2142AndreyL ProductEngine
2016-12-19MAINT-7017 Stop All was preventing media from playingandreykproductengine
2016-12-19MAINT-6761 Video that is not playing or paused should be stoppedandreykproductengine
2016-12-17DRTVWR-418: Merge backout of TYPE_INDEX / TYPE_MAX changeNat Goodspeed
2016-12-17Backed out changeset bb47510bda62: don't change TYPE_MAX.Nat Goodspeed
Ruslan points out that changing TYPE_MAX could lead to extra (useless) render passes. We will have to solve the TYPE_INDEX > TYPE_MAX problem another way.
2016-12-17DRTVWR-418: Update dubious llvertexbuffer.cpp cast comment.Nat Goodspeed
Ruslan assures me that in fact this usage is valid.
2016-12-16DRTVWR-418: Fix a (correct) clang correctness complaint.Nat Goodspeed
LLStatGraph::Threshold has an operator<(const Threshold& other) -- but because the method itself wasn't marked const, it could only be used on a non-const instance. This change fixes a case when it was applied to const instances.
2016-12-16DRTVWR-418: Work around dubious cast from S32 to GLvoid*Nat Goodspeed
when passing -- something -- to glVertexAttribPointerARB() in LLVertexBuffer::setupVertexArray().
2016-12-16DRTVWR-418: Adjust HttpStatus::toHex() test for 64-bit result.Nat Goodspeed
2016-12-16DRTVWR-418: Put TYPE_INDEX within TYPE_MAX: stop undefined indexing.Nat Goodspeed
LLVertexBuffer::TYPE_INDEX was past TYPE_MAX, which is used to set the maximum sizes of various (scattered) arrays, bleh. The alarm bells that this SHOULD set off are indeed correct: TYPE_INDEX was being used to index at least one of those arrays, meaning we've been indexing past the end of that array, meaning undefined behavior. The enum that defines both TYPE_INDEX and TYPE_MAX provides a helpful comment indicating what things must be updated when modifying the enum. (Far better to define things centrally in a single place... but another time.) Update the designated arrays to include a final TYPE_INDEX entry. Contents of those entries are wild guesses -- but even wild guesses are better than completely indeterminate data.
2016-12-16merge latest integrations from callumOz Linden
2016-12-16Automated merge with ssh://bitbucket.org/lindenlab/viewer64Nat Goodspeed
2016-12-16merge updates from natOz Linden
2016-12-16MAINT-6899 Reduce width of floater tabsMnikolenko Productengine
2016-12-15Pull in an updated version of FMODEx with crash fixes (version 4.44.61 -> ↵Callum Prentice
4.44.64)
2016-12-15DRTVWR-418: -Wl,-no_compact_unwind switch breaks exception catching!Nat Goodspeed
In a clang 64-bit compile, with that switch set in CMAKE_CXX_LINK_FLAGS, we cannot catch any user exception. This shows up right away because TUT relies on internal exceptions to walk through test<n>() test methods, but of course being unable to catch any exceptions in the viewer would be just as bad. A quick Google search turned up lots of people mentioning -no_compact_unwind without finding any documentation about what it's supposed to be good for. But since no tests work with it, whereas they work without it -- kill it.
2016-12-15BUG-41027 (FIX) Changing login location at the login screen crashes the viewerCallum Prentice
2016-12-15STORM-2144 - Guard against null pointers when LLPanelOutfitEdit gets called ↵Cinder
before postBuild() on login.
2017-05-29MAINT-7443 FIXED Able to Block a user with Lastname LindenMnikolenko Productengine
2017-05-26MAINT-1139 Catch Windows crash on Saving snapshotandreykproductengine
2017-05-25MAINT-5100 Fixed viewer not finding sky files at loginandreykproductengine
2017-05-25MAINT-2585 Make permission request notifications permanent until action takenMnikolenko Productengine
2017-05-24MAINT-7436 FIXED [viewer-neko] Crash occurs when trying to highlight ↵Mnikolenko Productengine
non-existent(or removed item) using SLURI
2017-05-22MAINT-7419 Workaround for some purge and trash issues, stuck descendants countandreykproductengine
2017-05-24MAINT-7434 FIXED SLURL instead of username appears in "have said something ↵Mnikolenko Productengine
new" text for some messages
2017-05-23Merged in andreyl_productengine/viewer-neko-marchcat (pull request #275)Andrey Lihatskiy
MAINT-7396 [JigglyPuff] Agent that is not estate owner or estate manager shouldn't be able to toggle estate access settings. Approved-by: Andrey Kleshchev <andreykproductengine@lindenlab.com> Approved-by: simon_linden <simon@lindenlab.com> Approved-by: Rider Linden <rider@lindenlab.com>
2017-05-23MAINT-7396 [JigglyPuff] Agent that is not estate owner or estate manager ↵AndreyL ProductEngine
shouldn't be able to toggle estate access settings.
2017-05-22Merged in lindenlab/viewer-bearAndreyL ProductEngine
2017-05-22Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2017-05-22Merged in lindenlab/viewer-bearAndreyL ProductEngine
2017-05-22MAINT-1094 FIXED after triggering a menu with control-F10, clicking in-world ↵Mnikolenko Productengine
should move keyboard focus in-world
2017-05-22build fixMnikolenko Productengine
2017-05-22MAINT-7431 Fixed crash in LLAccordionCtrlTab::showAndFocusHeader()AndreyL ProductEngine
2017-05-19MAINT-2060 Fixed Double Freeze when clicking on Help>About Second Lifeusername = daianakproductengine
2017-05-19MAINT-7424 Fixed number of items in the Trash not calculating correctlyandreykproductengine