From 5d2167c66a027cc5e4e002dca51e163b0d08fe42 Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Fri, 8 Jan 2010 15:10:59 -0800 Subject: Fix a typo bug caught by pyflakes. eys.exit(1) -> sys.exit(1) --- indra/develop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index eaecdd0ab6..9d606da1d9 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -504,7 +504,7 @@ class WindowsSetup(PlatformSetup): break else: print >> sys.stderr, 'Cannot find a Visual Studio installation!' - eys.exit(1) + sys.exit(1) return self._generator def _set_generator(self, gen): -- cgit v1.2.3 From 010bfed411cffdb7037872a209adf51c77f48140 Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Fri, 8 Jan 2010 15:50:09 -0800 Subject: DEV-44838 - This is an attempt at the minimal possible change to fix the quoting bug on windows. This commit is untested! The simplest approach to testing is to push into a repo watched by parabuild. Also, develop.py could be improved to use subprocess consistently across all platforms. Doing so could simplify the code, but until I understand how to test it better, I'm going to leave it alone. --- indra/develop.py | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 9d606da1d9..27c3d0ca2c 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -41,6 +41,7 @@ import shutil import socket import sys import commands +import subprocess class CommandError(Exception): pass @@ -576,16 +577,20 @@ class WindowsSetup(PlatformSetup): return "buildconsole %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config} # devenv.com is CLI friendly, devenv.exe... not so much. - return ('"%sdevenv.com" %s.sln /build %s' % - (self.find_visual_studio(), self.project_name, self.build_type)) + executable = '%sdevenv.com' % (self.find_visual_studio(),) + cmd = ('"%s" %s.sln /build %s' % + (executable, self.project_name, self.build_type)) + return (executable, cmd) #return ('devenv.com %s.sln /build %s' % # (self.project_name, self.build_type)) def run(self, command, name=None, retry_on=None, retries=1): '''Run a program. If the program fails, raise an exception.''' + assert name is not None, 'On windows an executable path must be given in name.' while retries: retries = retries - 1 print "develop.py tries to run:", command + ret = subprocess.call(command, executable=name) ret = os.system(command) print "got ret", ret, "from", command if ret: @@ -617,18 +622,19 @@ class WindowsSetup(PlatformSetup): if prev_build == self.build_type: # Only run vstool if the build type has changed. continue - vstool_cmd = (os.path.join('tools','vstool','VSTool.exe') + + executable = os.path.join('tools','vstool','VSTool.exe') + vstool_cmd = (executable + ' --solution ' + os.path.join(build_dir,'SecondLife.sln') + ' --config ' + self.build_type + ' --startup secondlife-bin') print 'Running %r in %r' % (vstool_cmd, getcwd()) - self.run(vstool_cmd) + self.run(vstool_cmd, name=executable) print >> open(stamp, 'w'), self.build_type def run_build(self, opts, targets): cwd = getcwd() - build_cmd = self.get_build_cmd() + executable, build_cmd = self.get_build_cmd() for d in self.build_dirs(): try: @@ -637,11 +643,11 @@ class WindowsSetup(PlatformSetup): for t in targets: cmd = '%s /project %s %s' % (build_cmd, t, ' '.join(opts)) print 'Running %r in %r' % (cmd, d) - self.run(cmd, retry_on=4, retries=3) + self.run(cmd, name=executable, retry_on=4, retries=3) else: cmd = '%s %s' % (build_cmd, ' '.join(opts)) print 'Running %r in %r' % (cmd, d) - self.run(cmd, retry_on=4, retries=3) + self.run(cmd, name=executable, retry_on=4, retries=3) finally: os.chdir(cwd) -- cgit v1.2.3 From 6b33d5955a2c4ff34c17b58dd4a23b53a3c1dde7 Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Fri, 8 Jan 2010 17:42:22 -0800 Subject: DEV-44838 - See if the executable parameter to subprocess.Popen must be absolute on windows. --- indra/develop.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 27c3d0ca2c..dc1190699c 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -587,6 +587,8 @@ class WindowsSetup(PlatformSetup): def run(self, command, name=None, retry_on=None, retries=1): '''Run a program. If the program fails, raise an exception.''' assert name is not None, 'On windows an executable path must be given in name.' + if not os.path.isfile(name): + name = self.find_in_path(name) while retries: retries = retries - 1 print "develop.py tries to run:", command -- cgit v1.2.3 From 61bc236b355e19bf09851b79c7d73b7210b4a7af Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Fri, 8 Jan 2010 17:58:56 -0800 Subject: DEV-44838 - Remove a typo line which would cause duplicate executions for every run call. --- indra/develop.py | 1 - 1 file changed, 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index dc1190699c..e19ecb7314 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -593,7 +593,6 @@ class WindowsSetup(PlatformSetup): retries = retries - 1 print "develop.py tries to run:", command ret = subprocess.call(command, executable=name) - ret = os.system(command) print "got ret", ret, "from", command if ret: if name is None: -- cgit v1.2.3 From 8246b382b732a9b49c49a012274cd17ce1af4e94 Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Fri, 8 Jan 2010 18:00:32 -0800 Subject: DEV-44838 - find_in_path() returns a list of candidates. Select the first. --- indra/develop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index e19ecb7314..17ac1b3801 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -588,7 +588,7 @@ class WindowsSetup(PlatformSetup): '''Run a program. If the program fails, raise an exception.''' assert name is not None, 'On windows an executable path must be given in name.' if not os.path.isfile(name): - name = self.find_in_path(name) + name = self.find_in_path(name)[0] while retries: retries = retries - 1 print "develop.py tries to run:", command -- cgit v1.2.3 From f37f806660f66b064490b9c14d724273dc67fcbb Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Mon, 11 Jan 2010 10:38:13 -0800 Subject: DEV-44838 - Fix a bug introduced by inconsistently changing the get_build_cmd() interface. --- indra/develop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 17ac1b3801..a20badcfba 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -574,15 +574,15 @@ class WindowsSetup(PlatformSetup): if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]: config = '\"%s|Win32\"' % config - return "buildconsole %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config} + executable = self.find_in_path('buildconsole') + cmd = "%(bin)s %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config, 'bin': executable} + return (executable, cmd) # devenv.com is CLI friendly, devenv.exe... not so much. executable = '%sdevenv.com' % (self.find_visual_studio(),) cmd = ('"%s" %s.sln /build %s' % (executable, self.project_name, self.build_type)) return (executable, cmd) - #return ('devenv.com %s.sln /build %s' % - # (self.project_name, self.build_type)) def run(self, command, name=None, retry_on=None, retries=1): '''Run a program. If the program fails, raise an exception.''' -- cgit v1.2.3 From 11eac588c2e26b42e269da9394bbb8918552fb1c Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Mon, 11 Jan 2010 10:45:01 -0800 Subject: DEV-44838 - Fix another bug introduced by passing "executable" in WindowsSetup.run(); find_in_path() does not handle absolute paths, but name is guaranteed to be an absolute path. This explains the bogus message in the log of the form "process $foo exited with nonzero status; process $foo is not found", described here: https://jira.lindenlab.com/jira/browse/DEV-44838?focusedCommentId=328441&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_328441 --- indra/develop.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index a20badcfba..71569f15d2 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -595,10 +595,7 @@ class WindowsSetup(PlatformSetup): ret = subprocess.call(command, executable=name) print "got ret", ret, "from", command if ret: - if name is None: - name = command.split(None, 1)[0] - path = self.find_in_path(name) - if not path: + if not name: error = 'was not found' else: error = 'exited with status %d' % ret -- cgit v1.2.3 From 33df069238130a9e8c02a2aadcd41956780397db Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Mon, 11 Jan 2010 11:07:04 -0800 Subject: DEV-44838 - Fix a silly bug in yet another place: find_in_path returns a list, so select the first element. --- indra/develop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 71569f15d2..897fbb6544 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -574,7 +574,7 @@ class WindowsSetup(PlatformSetup): if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]: config = '\"%s|Win32\"' % config - executable = self.find_in_path('buildconsole') + executable = self.find_in_path('buildconsole')[0] cmd = "%(bin)s %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config, 'bin': executable} return (executable, cmd) -- cgit v1.2.3 From 2d337ca8c6b05ecd7e8d4a8f0c3d88fabcc5bcbc Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Mon, 11 Jan 2010 12:30:27 -0800 Subject: DEV-44838 - See if buildconsole is confused by having the absolute path (with spaces) in the commandline. To accomplish this we put relative paths in the command string but lookup the absolute path for the executable parameter. --- indra/develop.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 897fbb6544..b8fdd1a815 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -574,7 +574,7 @@ class WindowsSetup(PlatformSetup): if self.gens[self.generator]['ver'] in [ r'8.0', r'9.0' ]: config = '\"%s|Win32\"' % config - executable = self.find_in_path('buildconsole')[0] + executable = 'buildconsole' cmd = "%(bin)s %(prj)s.sln /build /cfg=%(cfg)s" % {'prj': self.project_name, 'cfg': config, 'bin': executable} return (executable, cmd) @@ -587,18 +587,17 @@ class WindowsSetup(PlatformSetup): def run(self, command, name=None, retry_on=None, retries=1): '''Run a program. If the program fails, raise an exception.''' assert name is not None, 'On windows an executable path must be given in name.' - if not os.path.isfile(name): - name = self.find_in_path(name)[0] + if os.path.isfile(name): + path = name + else: + path = self.find_in_path(name)[0] while retries: retries = retries - 1 print "develop.py tries to run:", command - ret = subprocess.call(command, executable=name) + ret = subprocess.call(command, executable=path) print "got ret", ret, "from", command if ret: - if not name: - error = 'was not found' - else: - error = 'exited with status %d' % ret + error = 'exited with status %d' % ret if retry_on is not None and retry_on == ret: print "Retrying... the command %r %s" % (name, error) else: -- cgit v1.2.3 From dd7840aa9e0627430753522c4480212cf032463e Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Wed, 13 Jan 2010 15:47:57 -0800 Subject: Add an assertion for my sanity. --- indra/develop.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index b8fdd1a815..59722c4bc2 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -630,6 +630,8 @@ class WindowsSetup(PlatformSetup): print >> open(stamp, 'w'), self.build_type def run_build(self, opts, targets): + for t in targets: + assert t.strip(), 'Unexpected empty targets: ' + repr(targets) cwd = getcwd() executable, build_cmd = self.get_build_cmd() -- cgit v1.2.3 From bee98d70e3a8eca7f6f6f80d4ee6a14939771ae0 Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Wed, 13 Jan 2010 16:08:30 -0800 Subject: DEV-44838 - Add the string "DEV-44838" to assertion failures to future devs understand preconditions on windows run(). --- indra/develop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index 59722c4bc2..a8a7b63aa7 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -586,7 +586,7 @@ class WindowsSetup(PlatformSetup): def run(self, command, name=None, retry_on=None, retries=1): '''Run a program. If the program fails, raise an exception.''' - assert name is not None, 'On windows an executable path must be given in name.' + assert name is not None, 'On windows an executable path must be given in name. [DEV-44838]' if os.path.isfile(name): path = name else: -- cgit v1.2.3 From d194d95391f03b8a60c779f50f830df014e4b71e Mon Sep 17 00:00:00 2001 From: Nathan Wilcox Date: Wed, 13 Jan 2010 16:09:07 -0800 Subject: DEV-44838 - Fix a logic flaw in the windows run() retry code which would re-execute a process if its exit status was 0. --- indra/develop.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/develop.py b/indra/develop.py index a8a7b63aa7..0a2d3c5e52 100755 --- a/indra/develop.py +++ b/indra/develop.py @@ -596,7 +596,9 @@ class WindowsSetup(PlatformSetup): print "develop.py tries to run:", command ret = subprocess.call(command, executable=path) print "got ret", ret, "from", command - if ret: + if ret == 0: + break + else: error = 'exited with status %d' % ret if retry_on is not None and retry_on == ret: print "Retrying... the command %r %s" % (name, error) -- cgit v1.2.3 From 3e76862aaa0852d5fd34e2321c69c67df41b5f67 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Fri, 29 Jan 2010 20:43:55 +0200 Subject: Partial fix for normal (EXT-4722) Ability to fly in a parcel when flying is disabled in the About Land - Added forced flying off when entering a parcel with no rights to fly in it. --HG-- branch : product-engine --- indra/newview/llviewerparcelmgr.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra') diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index 9d7ccd99c6..b85b42c710 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -1591,6 +1591,14 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use instance->mTeleportInProgress = FALSE; instance->mTeleportFinishedSignal(gAgent.getPositionGlobal()); } + + // HACK: This makes agents drop from the sky if they enter a parcel + // which is set to no fly. + BOOL was_flying = gAgent.getFlying(); + if (was_flying && !parcel->getAllowFly()) + { + gAgent.setFlying(gAgent.canFly()); + } } } -- cgit v1.2.3 From 6453d6d1ddc48f9e69ad45d6bba33fa9b2be76de Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Fri, 29 Jan 2010 20:49:54 +0200 Subject: Fixed low bug (EXT-2987) Parcel Characteristics icons aren't refreshed after changing restrictions - Added updating Parcel Characteristics icons in Location Input Control upon processing parcel properties. --HG-- branch : product-engine --- indra/newview/lllocationinputctrl.cpp | 67 ++++++++++++++++++++++++++++++----- indra/newview/lllocationinputctrl.h | 3 ++ 2 files changed, 61 insertions(+), 9 deletions(-) (limited to 'indra') diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 050cfcc3d9..0e93e28f2d 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -153,6 +153,23 @@ private: LLLocationInputCtrl* mInput; }; +class LLParcelChangeObserver : public LLParcelObserver +{ +public: + LLParcelChangeObserver(LLLocationInputCtrl* input) : mInput(input) {} + +private: + /*virtual*/ void changed() + { + if (mInput) + { + mInput->refreshParcelIcons(); + } + } + + LLLocationInputCtrl* mInput; +}; + //============================================================================ @@ -335,7 +352,10 @@ LLLocationInputCtrl::LLLocationInputCtrl(const LLLocationInputCtrl::Params& p) mAddLandmarkObserver = new LLAddLandmarkObserver(this); gInventory.addObserver(mRemoveLandmarkObserver); gInventory.addObserver(mAddLandmarkObserver); - + + mParcelChangeObserver = new LLParcelChangeObserver(this); + LLViewerParcelMgr::getInstance()->addObserver(mParcelChangeObserver); + mAddLandmarkTooltip = LLTrans::getString("LocationCtrlAddLandmarkTooltip"); mEditLandmarkTooltip = LLTrans::getString("LocationCtrlEditLandmarkTooltip"); getChild("Location History")->setToolTip(LLTrans::getString("LocationCtrlComboBtnTooltip")); @@ -349,6 +369,9 @@ LLLocationInputCtrl::~LLLocationInputCtrl() delete mRemoveLandmarkObserver; delete mAddLandmarkObserver; + LLViewerParcelMgr::getInstance()->removeObserver(mParcelChangeObserver); + delete mParcelChangeObserver; + mParcelMgrConnection.disconnect(); mLocationHistoryConnection.disconnect(); } @@ -673,15 +696,41 @@ void LLLocationInputCtrl::refreshParcelIcons() if (show_properties) { LLViewerParcelMgr* vpm = LLViewerParcelMgr::getInstance(); + + LLViewerRegion* agent_region = gAgent.getRegion(); LLParcel* agent_parcel = vpm->getAgentParcel(); - bool allow_buy = vpm->canAgentBuyParcel( agent_parcel, false); - bool allow_voice = vpm->allowAgentVoice(); - bool allow_fly = vpm->allowAgentFly(); - bool allow_push = vpm->allowAgentPush(); - bool allow_build = agent_parcel && agent_parcel->getAllowModify(); // true when anyone is allowed to build. See EXT-4610. - bool allow_scripts = vpm->allowAgentScripts(); - bool allow_damage = vpm->allowAgentDamage(); - + if (!agent_region || !agent_parcel) + return; + + LLParcel* current_parcel; + LLViewerRegion* selection_region = vpm->getSelectionRegion(); + LLParcel* selected_parcel = vpm->getParcelSelection()->getParcel(); + + // If agent is in selected parcel we use its properties because + // they are updated more often by LLViewerParcelMgr than agent parcel properties. + // See LLViewerParcelMgr::processParcelProperties(). + // This is needed to reflect parcel restrictions changes without having to leave + // the parcel and then enter it again. See EXT-2987 + if (selected_parcel && selected_parcel->getLocalID() == agent_parcel->getLocalID() + && selection_region == agent_region) + { + current_parcel = selected_parcel; + } + else + { + current_parcel = agent_parcel; + } + + bool allow_buy = vpm->canAgentBuyParcel(current_parcel, false); + bool allow_voice = agent_region->isVoiceEnabled() && current_parcel->getParcelFlagAllowVoice(); + bool allow_fly = !agent_region->getBlockFly() && current_parcel->getAllowFly(); + bool allow_push = !agent_region->getRestrictPushObject() && !current_parcel->getRestrictPushObject(); + bool allow_build = current_parcel->getAllowModify(); // true when anyone is allowed to build. See EXT-4610. + bool allow_scripts = !(agent_region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) && + !(agent_region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) && + current_parcel->getAllowOtherScripts(); + bool allow_damage = agent_region->getAllowDamage() || current_parcel->getAllowDamage(); + // Most icons are "block this ability" mForSaleBtn->setVisible(allow_buy); mParcelIcon[VOICE_ICON]->setVisible( !allow_voice ); diff --git a/indra/newview/lllocationinputctrl.h b/indra/newview/lllocationinputctrl.h index 607ccd4da6..a830b33f6f 100644 --- a/indra/newview/lllocationinputctrl.h +++ b/indra/newview/lllocationinputctrl.h @@ -42,6 +42,7 @@ class LLLandmark; // internals class LLAddLandmarkObserver; class LLRemoveLandmarkObserver; +class LLParcelChangeObserver; class LLMenuGL; class LLTeleportHistoryItem; @@ -56,6 +57,7 @@ class LLLocationInputCtrl LOG_CLASS(LLLocationInputCtrl); friend class LLAddLandmarkObserver; friend class LLRemoveLandmarkObserver; + friend class LLParcelChangeObserver; public: struct Params @@ -164,6 +166,7 @@ private: LLAddLandmarkObserver* mAddLandmarkObserver; LLRemoveLandmarkObserver* mRemoveLandmarkObserver; + LLParcelChangeObserver* mParcelChangeObserver; boost::signals2::connection mParcelMgrConnection; boost::signals2::connection mLocationHistoryConnection; -- cgit v1.2.3 From bc5cd7337f3b87d1805309cbd9e27f9d86fad100 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Fri, 29 Jan 2010 20:51:17 +0200 Subject: No ticket, Fixed displaying parcel voice permission in Place Profile. --HG-- branch : product-engine --- indra/newview/llpanelplaceprofile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp index 8d689b2c5e..9b31ef23a2 100644 --- a/indra/newview/llpanelplaceprofile.cpp +++ b/indra/newview/llpanelplaceprofile.cpp @@ -341,7 +341,7 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel, std::string off = getString("off"); // Processing parcel characteristics - if (parcel->getParcelFlagAllowVoice()) + if (region->isVoiceEnabled() && parcel->getParcelFlagAllowVoice()) { mVoiceIcon->setValue(icon_voice); mVoiceText->setText(on); @@ -385,9 +385,9 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel, mBuildText->setText(off); } - if((region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) || - (region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) || - !parcel->getAllowOtherScripts()) + if ((region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) || + (region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) || + !parcel->getAllowOtherScripts()) { mScriptsIcon->setValue(icon_scripts_no); mScriptsText->setText(off); -- cgit v1.2.3 From 0db7f3a783f3514f31a09025bff9ca86589a1ca0 Mon Sep 17 00:00:00 2001 From: Andrew Dyukov Date: Fri, 29 Jan 2010 21:09:28 +0200 Subject: Fixed major bug Bug EXT-4759 (Second incoming call notification doesn't appear if first call was canceled by caller). - Bug was caused by simply closing invite floater when call becomes invalid, so pending invite wasn't removed from IM manager and later this caused failure of check on which floater is shown. Added clearPendingAgentListUpdates() and clearPendingInvitation() before closure. --HG-- branch : product-engine --- indra/newview/llimview.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra') diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 80d2778934..b7d4db853e 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1733,6 +1733,9 @@ void LLIncomingCallDialog::onLifetimeExpired() { // close invitation if call is already not valid mLifetimeTimer.stop(); + LLUUID session_id = mPayload["session_id"].asUUID(); + gIMMgr->clearPendingAgentListUpdates(session_id); + gIMMgr->clearPendingInvitation(session_id); closeFloater(); } } -- cgit v1.2.3 From 2e2d65cd10a9b2664d3ce020ef7e7e4de3d6705a Mon Sep 17 00:00:00 2001 From: Vadim Savchuk Date: Fri, 29 Jan 2010 22:11:01 +0200 Subject: Partial fix for EXT-4756 (Black text in sell land confirmation dialog). Changed the color to more readable yellow for now. --HG-- branch : product-engine --- indra/newview/skins/default/colors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index e248047930..219b3dbeb6 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -97,7 +97,7 @@ value="1 0.82 0.46 1" /> + reference="Yellow" /> -- cgit v1.2.3 From 1de15af932742f198595b914b33a0af1dcc49894 Mon Sep 17 00:00:00 2001 From: Eli Linden Date: Fri, 29 Jan 2010 16:34:05 -0800 Subject: Fix button size so it works for most/all target languages --- indra/newview/skins/default/xui/en/floater_about.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/skins/default/xui/en/floater_about.xml b/indra/newview/skins/default/xui/en/floater_about.xml index bfdd48e2f4..bc67621dfd 100644 --- a/indra/newview/skins/default/xui/en/floater_about.xml +++ b/indra/newview/skins/default/xui/en/floater_about.xml @@ -91,7 +91,7 @@ Packets Lost: [PACKETS_LOST,number,0]/[PACKETS_IN,number,0] ([PACKETS_PCT,number left="10" top_pad="5" height="25" - width="160" /> + width="180" /> Date: Fri, 29 Jan 2010 17:08:28 -0800 Subject: DEV-43688 Cycle3 for FR --- .../skins/default/xui/fr/floater_about_land.xml | 147 ++++++----- .../default/xui/fr/floater_animation_preview.xml | 5 +- .../default/xui/fr/floater_avatar_textures.xml | 62 ++--- .../skins/default/xui/fr/floater_bulk_perms.xml | 2 +- .../skins/default/xui/fr/floater_buy_currency.xml | 2 +- .../skins/default/xui/fr/floater_color_picker.xml | 2 +- .../skins/default/xui/fr/floater_customize.xml | 62 ++--- .../skins/default/xui/fr/floater_god_tools.xml | 12 +- .../skins/default/xui/fr/floater_im_container.xml | 2 +- .../skins/default/xui/fr/floater_incoming_call.xml | 6 + .../skins/default/xui/fr/floater_lsl_guide.xml | 2 +- .../skins/default/xui/fr/floater_media_browser.xml | 2 +- .../default/xui/fr/floater_outfit_save_as.xml | 11 + .../skins/default/xui/fr/floater_outgoing_call.xml | 9 + .../skins/default/xui/fr/floater_preferences.xml | 2 +- .../default/xui/fr/floater_preview_gesture.xml | 3 + .../default/xui/fr/floater_preview_notecard.xml | 2 +- .../default/xui/fr/floater_preview_texture.xml | 5 +- .../skins/default/xui/fr/floater_report_abuse.xml | 4 +- .../skins/default/xui/fr/floater_script_limits.xml | 2 + .../skins/default/xui/fr/floater_search.xml | 7 + .../skins/default/xui/fr/floater_select_key.xml | 6 +- .../skins/default/xui/fr/floater_sell_land.xml | 2 +- .../skins/default/xui/fr/floater_snapshot.xml | 20 +- .../skins/default/xui/fr/floater_sys_well.xml | 9 +- .../skins/default/xui/fr/floater_telehub.xml | 8 +- .../skins/default/xui/fr/floater_texture_ctrl.xml | 2 +- .../newview/skins/default/xui/fr/floater_tools.xml | 13 +- .../skins/default/xui/fr/floater_top_objects.xml | 69 ++--- .../default/xui/fr/floater_voice_controls.xml | 30 ++- .../default/xui/fr/floater_whitelist_entry.xml | 2 +- .../skins/default/xui/fr/floater_window_size.xml | 17 ++ .../skins/default/xui/fr/floater_world_map.xml | 150 ++++++----- .../skins/default/xui/fr/inspect_avatar.xml | 10 +- .../newview/skins/default/xui/fr/inspect_group.xml | 1 + .../skins/default/xui/fr/menu_attachment_other.xml | 17 ++ .../skins/default/xui/fr/menu_attachment_self.xml | 12 + .../skins/default/xui/fr/menu_avatar_icon.xml | 2 +- .../skins/default/xui/fr/menu_avatar_other.xml | 16 ++ .../skins/default/xui/fr/menu_avatar_self.xml | 27 ++ .../skins/default/xui/fr/menu_bottomtray.xml | 5 + .../skins/default/xui/fr/menu_im_well_button.xml | 4 + .../skins/default/xui/fr/menu_imchiclet_adhoc.xml | 4 + .../skins/default/xui/fr/menu_imchiclet_p2p.xml | 2 +- .../default/xui/fr/menu_inspect_avatar_gear.xml | 1 + .../skins/default/xui/fr/menu_inventory.xml | 8 +- .../default/xui/fr/menu_inventory_gear_default.xml | 2 + indra/newview/skins/default/xui/fr/menu_land.xml | 9 + indra/newview/skins/default/xui/fr/menu_login.xml | 6 +- .../xui/fr/menu_notification_well_button.xml | 4 + indra/newview/skins/default/xui/fr/menu_object.xml | 25 ++ .../skins/default/xui/fr/menu_participant_list.xml | 17 +- .../skins/default/xui/fr/menu_people_groups.xml | 8 + .../skins/default/xui/fr/menu_people_nearby.xml | 1 + .../skins/default/xui/fr/menu_profile_overflow.xml | 4 + indra/newview/skins/default/xui/fr/menu_viewer.xml | 46 ++-- .../skins/default/xui/fr/mime_types_linux.xml | 217 ++++++++++++++++ .../skins/default/xui/fr/mime_types_mac.xml | 217 ++++++++++++++++ .../newview/skins/default/xui/fr/notifications.xml | 154 +++++------ .../default/xui/fr/panel_active_object_row.xml | 9 + .../default/xui/fr/panel_adhoc_control_panel.xml | 16 +- .../default/xui/fr/panel_avatar_list_item.xml | 1 + .../default/xui/fr/panel_block_list_sidetray.xml | 4 +- .../skins/default/xui/fr/panel_bottomtray.xml | 12 +- .../skins/default/xui/fr/panel_classified_info.xml | 4 +- .../skins/default/xui/fr/panel_edit_classified.xml | 4 +- .../skins/default/xui/fr/panel_edit_profile.xml | 5 +- .../newview/skins/default/xui/fr/panel_friends.xml | 10 +- .../default/xui/fr/panel_group_control_panel.xml | 20 +- .../skins/default/xui/fr/panel_group_general.xml | 8 +- .../default/xui/fr/panel_group_info_sidetray.xml | 2 + .../skins/default/xui/fr/panel_group_invite.xml | 6 +- .../skins/default/xui/fr/panel_group_list_item.xml | 1 + .../skins/default/xui/fr/panel_group_notices.xml | 14 +- .../skins/default/xui/fr/panel_group_notify.xml | 2 +- .../default/xui/fr/panel_im_control_panel.xml | 32 ++- .../skins/default/xui/fr/panel_landmark_info.xml | 1 + indra/newview/skins/default/xui/fr/panel_login.xml | 68 ++--- .../skins/default/xui/fr/panel_main_inventory.xml | 6 +- .../xui/fr/panel_media_settings_general.xml | 22 +- .../xui/fr/panel_media_settings_permissions.xml | 19 +- .../xui/fr/panel_media_settings_security.xml | 8 +- .../skins/default/xui/fr/panel_my_profile.xml | 80 +++--- .../skins/default/xui/fr/panel_navigation_bar.xml | 3 + indra/newview/skins/default/xui/fr/panel_notes.xml | 18 +- .../default/xui/fr/panel_outfits_inventory.xml | 15 +- .../fr/panel_outfits_inventory_gear_default.xml | 6 +- .../newview/skins/default/xui/fr/panel_people.xml | 1 + indra/newview/skins/default/xui/fr/panel_picks.xml | 12 +- .../skins/default/xui/fr/panel_place_profile.xml | 3 +- .../newview/skins/default/xui/fr/panel_places.xml | 7 +- .../default/xui/fr/panel_preferences_alerts.xml | 4 +- .../default/xui/fr/panel_preferences_chat.xml | 10 +- .../default/xui/fr/panel_preferences_general.xml | 26 +- .../default/xui/fr/panel_preferences_privacy.xml | 8 +- .../default/xui/fr/panel_preferences_setup.xml | 8 +- .../default/xui/fr/panel_preferences_sound.xml | 4 +- .../default/xui/fr/panel_prim_media_controls.xml | 52 +++- .../newview/skins/default/xui/fr/panel_profile.xml | 77 +++--- .../skins/default/xui/fr/panel_region_estate.xml | 10 +- .../skins/default/xui/fr/panel_region_general.xml | 6 +- .../default/xui/fr/panel_region_general_layout.xml | 43 +++ .../skins/default/xui/fr/panel_region_texture.xml | 3 +- .../xui/fr/panel_script_limits_my_avatar.xml | 13 + .../xui/fr/panel_script_limits_region_memory.xml | 24 ++ .../skins/default/xui/fr/panel_side_tray.xml | 11 +- .../skins/default/xui/fr/panel_status_bar.xml | 3 +- .../default/xui/fr/panel_teleport_history.xml | 4 +- .../default/xui/fr/panel_teleport_history_item.xml | 1 + .../newview/skins/default/xui/fr/role_actions.xml | 245 +++++------------- .../skins/default/xui/fr/sidepanel_appearance.xml | 8 +- .../skins/default/xui/fr/sidepanel_inventory.xml | 2 +- .../skins/default/xui/fr/sidepanel_item_info.xml | 57 ++-- .../skins/default/xui/fr/sidepanel_task_info.xml | 76 +++--- indra/newview/skins/default/xui/fr/strings.xml | 288 +++++++++++++++++++-- 115 files changed, 1912 insertions(+), 988 deletions(-) create mode 100644 indra/newview/skins/default/xui/fr/floater_outfit_save_as.xml create mode 100644 indra/newview/skins/default/xui/fr/floater_script_limits.xml create mode 100644 indra/newview/skins/default/xui/fr/floater_window_size.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_attachment_other.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_attachment_self.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_avatar_other.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_avatar_self.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_im_well_button.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_imchiclet_adhoc.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_land.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_notification_well_button.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_object.xml create mode 100644 indra/newview/skins/default/xui/fr/menu_people_groups.xml create mode 100644 indra/newview/skins/default/xui/fr/mime_types_linux.xml create mode 100644 indra/newview/skins/default/xui/fr/mime_types_mac.xml create mode 100644 indra/newview/skins/default/xui/fr/panel_active_object_row.xml create mode 100644 indra/newview/skins/default/xui/fr/panel_region_general_layout.xml create mode 100644 indra/newview/skins/default/xui/fr/panel_script_limits_my_avatar.xml create mode 100644 indra/newview/skins/default/xui/fr/panel_script_limits_region_memory.xml (limited to 'indra') diff --git a/indra/newview/skins/default/xui/fr/floater_about_land.xml b/indra/newview/skins/default/xui/fr/floater_about_land.xml index cf595edab9..4c97551e55 100644 --- a/indra/newview/skins/default/xui/fr/floater_about_land.xml +++ b/indra/newview/skins/default/xui/fr/floater_about_land.xml @@ -13,7 +13,7 @@ restantes - + Nouveaux utilisateurs uniquement @@ -36,10 +36,10 @@ (propriété du groupe) - Profil... + Profil - Infos... + Infos (public) @@ -52,7 +52,6 @@ Aucune parcelle sélectionnée. -Allez dans le menu Monde > À propos du terrain ou sélectionnez une autre parcelle pour en afficher les détails. Nom : @@ -80,14 +79,15 @@ Allez dans le menu Monde > À propos du terrain ou sélectionnez une autre pa Leyla Linden -