Merge Firestorm LGPL

meow-7.2.2
Ansariel 2016-10-30 22:48:04 +01:00
commit ea6dd43a30
4 changed files with 17 additions and 13 deletions

View File

@ -27,9 +27,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>47638329878c5f559e78b1b71587716f</string>
<string>4c3728f376711663c22d32b6d71689df</string>
<key>url</key>
<string>http://downloads.phoenixviewer.com/slplugin_x86-4.7.10.50754-darwin-201608180707-r5.tar.bz2</string>
<string>http://downloads.phoenixviewer.com/slplugin_x86-4.7.10.51243-darwin-201610300350-r5.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>
@ -1693,11 +1693,11 @@
<key>archive</key>
<map>
<key>hash</key>
<string>85d8896ca1cec09affc48122aeea22d2</string>
<string>0f8170db50edda729816c943487480d2</string>
<key>hash_algorithm</key>
<string>md5</string>
<key>url</key>
<string>http://downloads.phoenixviewer.com/llceflib-1.5.3.201606212155-r177-darwin-201606212155-r177.tar.bz2</string>
<string>http://downloads.phoenixviewer.com/llceflib-1.5.3.201610292046-r200-darwin-201610292046-r200.tar.bz2</string>
</map>
<key>name</key>
<string>darwin</string>

View File

@ -913,16 +913,19 @@ static void subst_lazy_references(std::string& script, std::string retype, std::
static std::string reformat_lazy_lists(std::string script)
{
script = boost::regex_replace(script, boost::regex(rDOT_MATCHES_NEWLINE
rCMNT_OR_STR "|"
rCMNT_OR_STR
// exclude some keywords as possible identifiers that can
// be followed by an opening square bracket (FIRE-20278)
"|(?:return|do|else)(?![A-Za-z0-9_])"
// group 1: identifier
"([a-zA-Z_][a-zA-Z0-9_]*+)" rOPT_SPC
"|([a-zA-Z_][a-zA-Z0-9_]*+)" rOPT_SPC
// group 2: expression within brackets
"\\[((?:" rCMNT_OR_STR
// group 3: recursive bracketed expression
"|(\\[(?:" rCMNT_OR_STR "|[^][]|(?3))*+\\])" // recursive bracketed expression (e.g. []!=[])
"|[^][]" // or anything else
")+?)\\]" rOPT_SPC // non-greedy
"=" rOPT_SPC
")++)\\]" rOPT_SPC
"=(?!=)" rOPT_SPC // = but not ==
// group 4: right-hand side expression
"((?:" rCMNT_OR_STR
// group 5: recursive parenthesized expression

View File

@ -6937,7 +6937,7 @@ void LLWearableBridge::openItem()
performAction(getInventoryModel(),
// <FS:Ansariel> FIRE-17166: Add Clothes on Double Click
//get_is_item_worn(mUUID) ? "take_off" : "wear");
get_is_item_worn(mUUID) ? "take_off" : (mAssetType == LLAssetType::AT_BODYPART || !gSavedSettings.getBOOL("FSDoubleClickAddInventoryClothing") ? "wear" : "wear_add"));
get_is_item_worn(mUUID) ? "take_off" : (mAssetType == LLAssetType::AT_BODYPART || (mAssetType == LLAssetType::AT_CLOTHING && mWearableType == LLWearableType::WT_PHYSICS) || !gSavedSettings.getBOOL("FSDoubleClickAddInventoryClothing") ? "wear" : "wear_add"));
// </FS:Ansariel>
}

View File

@ -450,6 +450,11 @@ BOOL LLStatusBar::postBuild()
mBalancePanel = getChild<LLPanel>("balance_bg");
mTimeMediaPanel = getChild<LLPanel>("time_and_media_bg");
mFilterEdit = getChild<LLSearchEditor>("search_menu_edit");
mSearchPanel = getChild<LLPanel>("menu_search_panel");
mFPSText = getChild<LLTextBox>("FPSText");
mVolumeIconsWidth = mBtnVolume->getRect().mRight - mStreamToggle->getRect().mLeft;
initParcelIcons();
mParcelChangedObserver = new LLParcelChangeObserver(this);
@ -479,8 +484,6 @@ BOOL LLStatusBar::postBuild()
}
// <FS:ND> Hook up and init for filtering
mFilterEdit = getChild<LLSearchEditor>("search_menu_edit");
mSearchPanel = getChild<LLPanel>("menu_search_panel");
mSearchPanel->setVisible(gSavedSettings.getBOOL("FSMenuSearch"));
mFilterEdit->setKeystrokeCallback(boost::bind(&LLStatusBar::onUpdateFilterTerm, this));
mFilterEdit->setCommitCallback(boost::bind(&LLStatusBar::onUpdateFilterTerm, this));
@ -489,7 +492,6 @@ BOOL LLStatusBar::postBuild()
// </FS:ND>
// <FS:Ansariel> FIRE-14482: Show FPS in status bar
mFPSText = getChild<LLTextBox>("FPSText");
gSavedSettings.getControl("FSStatusBarShowFPS")->getSignal()->connect(boost::bind(&LLStatusBar::onShowFPSChanged, this, _2));
if (!gSavedSettings.getBOOL("FSStatusBarShowFPS"))
{
@ -498,7 +500,6 @@ BOOL LLStatusBar::postBuild()
// </FS:Ansariel>
// <FS:PP> Option to hide volume controls (sounds, media, stream) in upper right
mVolumeIconsWidth = mBtnVolume->getRect().mRight - mStreamToggle->getRect().mLeft;
if (!gSavedSettings.getBOOL("FSEnableVolumeControls"))
{
updateVolumeControlsVisibility(LLSD(FALSE));