Merge
commit
affc44c3d5
1
.hgtags
1
.hgtags
|
|
@ -549,3 +549,4 @@ a3143db58a0f6b005232bf9018e7fef17ff9ec90 6.1.0-release
|
|||
82a89165e5929a6c3073d6cd60a543cb395f147b 6.2.0-release
|
||||
706bdc7e25c6e6b8fb56f4a13fcce2936e70a79c 6.2.1-release
|
||||
ec09daf1899c1c01c4ba0ba950fae572f2a612a8 6.2.2-release
|
||||
ab2ec5c5423b277d23fd0511ce50c15123ff2e03 6.2.3-release
|
||||
|
|
|
|||
|
|
@ -1323,6 +1323,7 @@ Sovereign Engineer
|
|||
STORM-2143
|
||||
STORM-2148
|
||||
MAINT-7343
|
||||
SL-11079
|
||||
SpacedOut Frye
|
||||
VWR-34
|
||||
VWR-45
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ elseif(DARWIN)
|
|||
libexception_handler.dylib
|
||||
${EXPAT_COPY}
|
||||
libGLOD.dylib
|
||||
libhunspell-1.3.0.dylib
|
||||
libndofdev.dylib
|
||||
libnghttp2.dylib
|
||||
libnghttp2.14.dylib
|
||||
|
|
|
|||
|
|
@ -435,7 +435,7 @@ namespace tut
|
|||
std::vector<U8> binary;
|
||||
for (size_t ix = 0, h = 0xaa; ix < 6; ++ix, h += 0x11)
|
||||
{
|
||||
binary.push_back(h);
|
||||
binary.push_back((U8)h);
|
||||
}
|
||||
// Full defaults arrays. We actually don't care what the LLUUID or
|
||||
// LLDate values are, as long as they're different from the
|
||||
|
|
@ -1182,7 +1182,7 @@ namespace tut
|
|||
std::vector<U8> binary;
|
||||
for (size_t h(0x01), i(0); i < 5; h+= 0x22, ++i)
|
||||
{
|
||||
binary.push_back(h);
|
||||
binary.push_back((U8)h);
|
||||
}
|
||||
LLSD args(LLSDMap("a", LLSDArray(true)(17)(3.14)(123.456)("char*"))
|
||||
("b", LLSDArray("string")
|
||||
|
|
|
|||
|
|
@ -101,12 +101,20 @@ target_link_libraries(
|
|||
)
|
||||
|
||||
# tests
|
||||
if (LL_TESTS)
|
||||
if (DARWIN)
|
||||
# 2019-06-26: this test executable crashes on Mac trying to initialize std::atomic?!
|
||||
set(LLCOREHTTP_TESTS_DFT OFF)
|
||||
else ()
|
||||
set(LLCOREHTTP_TESTS_DFT ON)
|
||||
endif ()
|
||||
set(LLCOREHTTP_TESTS ${LLCOREHTTP_TESTS_DFT} CACHE BOOL
|
||||
"Build and run llcorehttp integration tests specifically")
|
||||
if (LL_TESTS AND LLCOREHTTP_TESTS)
|
||||
SET(llcorehttp_TEST_SOURCE_FILES
|
||||
tests/test_allocator.cpp
|
||||
)
|
||||
|
||||
set(llcorehttp_TEST_HEADER_FILS
|
||||
set(llcorehttp_TEST_HEADER_FILES
|
||||
tests/test_httpstatus.hpp
|
||||
tests/test_refcounted.hpp
|
||||
tests/test_httpoperation.hpp
|
||||
|
|
@ -232,5 +240,4 @@ endif (DARWIN)
|
|||
|
||||
target_link_libraries(http_texture_load ${example_libs})
|
||||
|
||||
endif (LL_TESTS)
|
||||
|
||||
endif (LL_TESTS AND LLCOREHTTP_TESTS)
|
||||
|
|
|
|||
|
|
@ -386,7 +386,6 @@ boolean LLImageJPEG::encodeEmptyOutputBuffer( j_compress_ptr cinfo )
|
|||
{
|
||||
self->setLastError("Out of memory in LLImageJPEG::encodeEmptyOutputBuffer( j_compress_ptr cinfo )");
|
||||
LLTHROW(LLContinueError("Out of memory in LLImageJPEG::encodeEmptyOutputBuffer( j_compress_ptr cinfo )"));
|
||||
return false;
|
||||
}
|
||||
memcpy( new_buffer, self->mOutputBuffer, self->mOutputBufferSize ); /* Flawfinder: ignore */
|
||||
delete[] self->mOutputBuffer;
|
||||
|
|
|
|||
|
|
@ -115,9 +115,9 @@ S32 LLProxy::proxyHandshake(LLHost proxy)
|
|||
U32 request_size = socks_username.size() + socks_password.size() + 3;
|
||||
char * password_auth = new char[request_size];
|
||||
password_auth[0] = 0x01;
|
||||
password_auth[1] = socks_username.size();
|
||||
password_auth[1] = (char)(socks_username.size());
|
||||
memcpy(&password_auth[2], socks_username.c_str(), socks_username.size());
|
||||
password_auth[socks_username.size() + 2] = socks_password.size();
|
||||
password_auth[socks_username.size() + 2] = (char)(socks_password.size());
|
||||
memcpy(&password_auth[socks_username.size() + 3], socks_password.c_str(), socks_password.size());
|
||||
|
||||
authmethod_password_reply_t password_reply;
|
||||
|
|
|
|||
|
|
@ -1579,7 +1579,7 @@ void LLModel::Decomposition::fromLLSD(LLSD& decomp)
|
|||
|
||||
range = max-min;
|
||||
|
||||
U16 count = position.size()/6;
|
||||
U16 count = (U16)(position.size()/6);
|
||||
|
||||
for (U32 j = 0; j < count; ++j)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ void LLAccordionCtrl::addCollapsibleCtrl(LLView* view)
|
|||
addChild(accordion_tab);
|
||||
mAccordionTabs.push_back(accordion_tab);
|
||||
|
||||
accordion_tab->setDropDownStateChangedCallback( boost::bind(&LLAccordionCtrl::onCollapseCtrlCloseOpen, this, mAccordionTabs.size() - 1) );
|
||||
accordion_tab->setDropDownStateChangedCallback( boost::bind(&LLAccordionCtrl::onCollapseCtrlCloseOpen, this, (S16)(mAccordionTabs.size() - 1)) );
|
||||
arrange();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1090,7 +1090,7 @@ LLDir::SepOff LLDir::needSep(const std::string& path, const std::string& name) c
|
|||
{
|
||||
// But if BOTH path and name bring a separator, we need not add one.
|
||||
// Moreover, we should actually skip the leading separator of 'name'.
|
||||
return SepOff(false, seplen);
|
||||
return SepOff(false, (unsigned short)seplen);
|
||||
}
|
||||
// Here we know that either path_ends_sep or name_starts_sep is true --
|
||||
// but not both. So don't add a separator, and don't skip any characters:
|
||||
|
|
|
|||
|
|
@ -425,6 +425,9 @@ LLWindowWin32::LLWindowWin32(LLWindowCallbacks* callbacks,
|
|||
mKeyVirtualKey = 0;
|
||||
mhDC = NULL;
|
||||
mhRC = NULL;
|
||||
memset(mCurrentGammaRamp, 0, sizeof(mCurrentGammaRamp));
|
||||
memset(mPrevGammaRamp, 0, sizeof(mPrevGammaRamp));
|
||||
mCustomGammaSet = FALSE;
|
||||
|
||||
if (!SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &mMouseVanish, 0))
|
||||
{
|
||||
|
|
@ -2989,13 +2992,34 @@ F32 LLWindowWin32::getGamma()
|
|||
|
||||
BOOL LLWindowWin32::restoreGamma()
|
||||
{
|
||||
return SetDeviceGammaRamp(mhDC, mPrevGammaRamp);
|
||||
if (mCustomGammaSet != FALSE)
|
||||
{
|
||||
LL_DEBUGS("Window") << "Restoring gamma" << LL_ENDL;
|
||||
mCustomGammaSet = FALSE;
|
||||
return SetDeviceGammaRamp(mhDC, mPrevGammaRamp);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL LLWindowWin32::setGamma(const F32 gamma)
|
||||
{
|
||||
mCurrentGamma = gamma;
|
||||
|
||||
//Get the previous gamma ramp to restore later.
|
||||
if (mCustomGammaSet == FALSE)
|
||||
{
|
||||
if (!gGLManager.mIsIntel) // skip for Intel GPUs (see SL-11341)
|
||||
{
|
||||
LL_DEBUGS("Window") << "Getting the previous gamma ramp to restore later" << LL_ENDL;
|
||||
if(GetDeviceGammaRamp(mhDC, mPrevGammaRamp) == FALSE)
|
||||
{
|
||||
LL_WARNS("Window") << "Failed to get the previous gamma ramp" << LL_ENDL;
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
mCustomGammaSet = TRUE;
|
||||
}
|
||||
|
||||
LL_DEBUGS("Window") << "Setting gamma to " << gamma << LL_ENDL;
|
||||
|
||||
for ( int i = 0; i < 256; ++i )
|
||||
|
|
@ -3007,9 +3031,9 @@ BOOL LLWindowWin32::setGamma(const F32 gamma)
|
|||
if ( value > 0xffff )
|
||||
value = 0xffff;
|
||||
|
||||
mCurrentGammaRamp [ 0 * 256 + i ] =
|
||||
mCurrentGammaRamp [ 1 * 256 + i ] =
|
||||
mCurrentGammaRamp [ 2 * 256 + i ] = ( WORD )value;
|
||||
mCurrentGammaRamp[0][i] =
|
||||
mCurrentGammaRamp[1][i] =
|
||||
mCurrentGammaRamp[2][i] = (WORD) value;
|
||||
};
|
||||
|
||||
return SetDeviceGammaRamp ( mhDC, mCurrentGammaRamp );
|
||||
|
|
|
|||
|
|
@ -184,8 +184,9 @@ protected:
|
|||
|
||||
F32 mCurrentGamma;
|
||||
U32 mFSAASamples;
|
||||
WORD mPrevGammaRamp[256*3];
|
||||
WORD mCurrentGammaRamp[256*3];
|
||||
WORD mPrevGammaRamp[3][256];
|
||||
WORD mCurrentGammaRamp[3][256];
|
||||
BOOL mCustomGammaSet;
|
||||
|
||||
LPWSTR mIconResource;
|
||||
BOOL mMousePositionModified;
|
||||
|
|
|
|||
|
|
@ -1381,8 +1381,12 @@ if (DARWIN)
|
|||
PROPERTIES
|
||||
COMPILE_DEFINITIONS "${VIEWER_CHANNEL_VERSION_DEFINES}"
|
||||
# BugsplatMac is a module, imported with @import. That language feature
|
||||
# demands these switches.
|
||||
COMPILE_FLAGS "-fmodules -fcxx-modules"
|
||||
# demands these -f switches.
|
||||
# Xcode 10.2 requires that Objective-C++ headers declare nullability of
|
||||
# pointer variables. As of 2019-06-26, the BugsplatMac version we're using
|
||||
# does not yet do so in its own header files. This -W flag prevents fatal
|
||||
# warnings.
|
||||
COMPILE_FLAGS "-fmodules -fcxx-modules -Wno-nullability-completeness"
|
||||
)
|
||||
|
||||
find_library(AGL_LIBRARY AGL)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
6.2.3
|
||||
6.2.4
|
||||
|
|
|
|||
|
|
@ -761,7 +761,7 @@ BOOL LLPanelEditWearable::postBuild()
|
|||
LL_WARNS() << "could not get wearable dictionary entry for wearable of type: " << type << LL_ENDL;
|
||||
continue;
|
||||
}
|
||||
U8 num_subparts = wearable_entry->mSubparts.size();
|
||||
U8 num_subparts = (U8)(wearable_entry->mSubparts.size());
|
||||
|
||||
for (U8 index = 0; index < num_subparts; ++index)
|
||||
{
|
||||
|
|
@ -1164,7 +1164,7 @@ void LLPanelEditWearable::showWearable(LLViewerWearable* wearable, BOOL show, BO
|
|||
updatePanelPickerControls(type);
|
||||
|
||||
// clear and rebuild visual param list
|
||||
U8 num_subparts = wearable_entry->mSubparts.size();
|
||||
U8 num_subparts = (U8)(wearable_entry->mSubparts.size());
|
||||
|
||||
for (U8 index = 0; index < num_subparts; ++index)
|
||||
{
|
||||
|
|
@ -1355,7 +1355,7 @@ void LLPanelEditWearable::updateScrollingPanelUI()
|
|||
const LLEditWearableDictionary::WearableEntry *wearable_entry = LLEditWearableDictionary::getInstance()->getWearable(type);
|
||||
llassert(wearable_entry);
|
||||
if (!wearable_entry) return;
|
||||
U8 num_subparts = wearable_entry->mSubparts.size();
|
||||
U8 num_subparts = (U8)(wearable_entry->mSubparts.size());
|
||||
|
||||
LLScrollingPanelParam::sUpdateDelayFrames = 0;
|
||||
for (U8 index = 0; index < num_subparts; ++index)
|
||||
|
|
|
|||
|
|
@ -2062,7 +2062,7 @@ void LLVOVolume::setNumTEs(const U8 num_tes)
|
|||
}
|
||||
else if(old_num_tes > num_tes && mMediaImplList.size() > num_tes) //old faces removed
|
||||
{
|
||||
U8 end = mMediaImplList.size() ;
|
||||
U8 end = (U8)(mMediaImplList.size()) ;
|
||||
for(U8 i = num_tes; i < end ; i++)
|
||||
{
|
||||
removeMediaImpl(i) ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue