Commit Graph

11692 Commits (170c7b56a8a4f2520109eecda78229e648ccc49c)

Author SHA1 Message Date
Richard Nelson 170c7b56a8 merge 2010-07-30 15:17:50 -07:00
Richard Nelson d72a21aca1 further UI rendering performance improvements 2010-07-30 15:17:32 -07:00
Monroe Linden 84a9e0abd8 Fix for EXT-8339
Added a couple of new nav states to LLViewerMediaImpl: MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS and MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS.  These behave just like the corresponding states without the _SPURIOUS suffix, but will be used if the new navigate doesn't change the current URL of the impl.  This allows us to catch cases like the repro of this issue and discard the spurious navigate events.
2010-07-30 13:51:37 -07:00
Richard Nelson 76a9c1214f merge 2010-07-30 10:07:14 -07:00
Richard Nelson 566e3969f9 deprecated LLPanel::child*() methods 2010-07-30 10:02:30 -07:00
Richard Nelson 147bc94274 changed to use childSetAction without void* argument 2010-07-30 09:57:52 -07:00
Richard Nelson 989552161d added LLPanel::childSetAction() that does not take a void* argument
implemented childGetVisibleTab/PanelWithHelp using breadth-first-search iterator
moved tentative state from llview to lluictrl
changes llcallbackmap to use boost::function
2010-07-30 09:56:49 -07:00
Richard Nelson fdb5223031 removed void* from ui callbacks and deprecated LLPanel::child*() methods 2010-07-30 09:46:28 -07:00
Richard Nelson ef00f0719d converted static callbacks to member functions and deprecated LLPanel::child*() methods 2010-07-30 09:42:10 -07:00
Richard Nelson 00711916fd converted static callbacks to member functions and deprecated LLPanel::child*() methods 2010-07-30 09:40:41 -07:00
Richard Nelson 5818cab81e converted static callbacks to member functions 2010-07-30 09:36:02 -07:00
Tofu Linden 5e32fb5d28 remove a nonsense assert that gcc was choking on. 2010-07-30 11:19:28 +01:00
Tofu Linden 96099cff38 merge from viewer-release 2010-07-30 10:09:05 +01:00
Tofu Linden 966882b3d9 merge from PE's viewer-release 2010-07-30 10:06:30 +01:00
Tofu Linden 8996a338bd merge from PE's viewer-trunk 2010-07-30 10:01:53 +01:00
Tofu Linden 0d910e53ee merge 2010-07-30 10:00:42 +01:00
Mike Antipov c13048fd8a EXT-8522 FIXED (Code improvements: Update a way in which Nearby people list is controlled depend on its visibility to user)
1. Removed special processing of Nearby People List Updater when:
 * tabs in People panel are changed;
 * People panel change its visibility.
2. Subscribed Nearby People List Updater's setActive() method directly to Nearby list Panel's onVisibleChange callback.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/825/

--HG--
branch : product-engine
2010-07-30 10:02:09 +03:00
Monroe Linden 94655359aa Yet more cleanup around llmediadataclient.
In LLVOVolume, added a count of LLMediaDataClientObjectImpl objects referencing each LLVOVolume object.  This allows LLVOVolume::markDead() to skip the relatively expensive calls to removeFromQueue() when the LLVOVolume is known to have no active references.

Refactored LLMediaDataClient and its two child classes so that only LLObjectMediaDataClient has the round-robin queue (LLObjectMediaNavigateClient doesn't need it), and cleaned up some of the virtual function hierarchy around queue processing.

In LLMediaDataClient, added tracking for requests that aren't currently in a queue (i.e. requests that are in flight or waiting for retries) so they can be found when their objects are marked dead.

LLMediaDataClient::Request now directly keeps track of the object ID and face associated with the request.

Removed the "markedSent" concept from requests.  Requests that have been sent are no longer kept in a queue.

The Retry timer now references the Request object instead of the Responder.

Replaced LLMediaDataClient::findOrRemove() with separate template functions for find and remove.
2010-07-29 15:50:20 -07:00
Richard Linden 2c86deb92a removed unnecessary hack (no repro for EXT-8259, possibly due to other recent lltextbase changes) 2010-07-29 14:09:23 -07:00
Tofu Linden 9df7dd4447 merge 2010-07-29 20:33:40 +01:00
Richard Linden c9ea67aab0 merge 2010-07-29 12:05:48 -07:00
Richard Linden b5a94da19b fix for vertical truncation of sidebar headers 2010-07-29 11:56:19 -07:00
Richard Linden 6a3538a693 fix for truncated text rendering 2010-07-29 11:53:31 -07:00
Tofu Linden 7a4174447a merge 2010-07-29 19:32:29 +01:00
Tofu Linden 1e44674f30 Backed out changeset b4c03b57a34f 2010-07-29 19:32:20 +01:00
Tofu Linden 018065aad2 Backed out changeset 61a2e2a8fb75 2010-07-29 19:32:07 +01:00
Andrew Dyukov a486b553e1 EXT-8043 FIXED Fixed wrong position of notifications when 'Move' or 'View' floaters are open and docked.
Bug was caused by LLDockableFloater's mOverlapsScreenChannel to false only in one of it's constructors. So some floaters got initial value of mOverlapsScreenChannel depending on system- that's why bug reproduced on Windows and didn't reproduce on Linux.

- Moved setting mOverlapsScreenChannel to false into LLDockableFloater's init() which is called by all of it's constructors.

Reviewed by Alexei Arabadji at https://codereview.productengine.com/secondlife/r/818

--HG--
branch : product-engine
2010-07-29 20:05:53 +03:00
Vadim Savchuk 45adf1d612 EXT-8501 FIXED Check menu items always looked as checked.
Reason:
Check menu items (instances of LLMenuItemCheckGL) had used LLUICtrl::getValue() to know whether they should draw the checkmark.
Recently this was broken when getValue() was overriden in LLMenuItemCallGL to return a string.

Fix:
Overriden getValue() in LLMenuItemCheckGL to return a boolean value, not a string.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/821/

--HG--
branch : product-engine
2010-07-29 17:48:41 +03:00
Mike Antipov 59033f244f EXT-7406 RE FIXED Replaced inventory collector for objects to exclude links from the Edit Outfit->Add More panel.
Restored fix that was previosly committed in 76bd52803506 and then somewhy reverted in 5b5cc4a8642d.

--HG--
branch : product-engine
2010-07-29 17:12:37 +03:00
Tofu Linden 56bd9544ec remove panel_bars.xml which I can't find any trace of being used. 2010-07-29 14:30:17 +01:00
Vadim Savchuk b9069c9da4 merge
--HG--
branch : product-engine
2010-07-29 16:16:21 +03:00
Vadim Savchuk a256323ffe Merge from default branch
--HG--
branch : product-engine
2010-07-29 16:15:33 +03:00
Mike Antipov 405559dc2f merge
--HG--
branch : product-engine
2010-07-29 15:54:30 +03:00
Mike Antipov e51c91a8fc EXT-7706 FIXED Implemented delayed friends cards synchronization and filling People/Friends tab with data until it is visible to user first time.
* Moved location of synchronization of the Friends/All inventory folder with friends list from startup to first requesting of data.
* Also updated "update Friends list" logic to be really trigged only when Friends tab is visible to user.

NOTE:
 * Friends List/All is filled with some delay on first opening.

TODO: refactoring is needed to switch code of updating People/nearby list to use the same approach as for Friends.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/805/

--HG--
branch : product-engine
2010-07-29 15:52:36 +03:00
Tofu Linden 2e520cb849 WEB-1819 PARTIAL follow-up tweak.
this makes a new externally-invoked search blank-out the old search
until it starts really loading.
2010-07-29 13:15:24 +01:00
Tofu Linden 5e2448347c WEB-1819 FIXED Find always resets to start page
(plus many dupes).

Enough seesawing, I hope - see WEB-1819 for discussion and the nature of the compromise.
Patch by Kitty Barnett, reviewed by my.
2010-07-29 12:50:25 +01:00
Paul Guslisty 4a53696d72 EXT-8179 FIXED (Group profile: 'Save' button remains disabled if state of check-boxes was changed during refreshing of 'General' accordion)
Disable accordion while refreshing group properties so the user could not change properties during refresh

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/815/

--HG--
branch : product-engine
2010-07-29 13:37:29 +03:00
Paul Guslisty 5fb799b12f EXT-7565 FIXED RECOVER FROM BAD MERGE (Would be nice to preserve selection while switching between folder/list view modes)
Added missed (during bad merge 14077:5b5cc4a8642d) code to the llpanloutfitedit(.h/.cpp):
  recover LLPanelOutfitEdit::updateWearablesPanelVerbButtons() and LLPanelOutfitEdit::saveListSelection() methods

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/817/

--HG--
branch : product-engine
2010-07-29 13:35:54 +03:00
Tofu Linden 4a41273078 merge 2010-07-29 10:10:10 +01:00
Tofu Linden 270a419832 merge from viewer-release 2010-07-29 09:25:39 +01:00
Mike Antipov e730c67749 EXT-8429 FIXED Added a workaround to localize server hardcoded "Conference" string for incoming ad-hoc chats.
Added a new string "conference-title-incoming" to strings.xml
For now the "Conference" word is localized wherever this session name is shown:
 * IM window title
 * Voice notifications

Further Localization is out of scope of this ticket and will be done in a separate localization cycle.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/816/

--HG--
branch : product-engine
2010-07-29 10:29:23 +03:00
Brad Payne (Vir Linden) f7009abf65 merge 2010-07-28 17:22:34 -04:00
Brad Payne (Vir Linden) e27170de34 EXT-8221 FIX - fixed invalid array index in a vector<LLMultiGesture*> 2010-07-28 17:22:03 -04:00
Vadim Savchuk 749a48ad73 EXT-8258 ADDITIONAL FIX Enable the 'Trash' button in 'My Inventory' when a selected item gets worn.
This is an additional fix to the one approved in https://codereview.productengine.com/secondlife/r/772/.

Looks like sometimes get_is_item_worn() fails to determine that an item is actually worn.
I suppose it happens when the item is already linked to COF but not yet known to LLAgentWearables.

So I try fixing it by adding a COF links check to get_is_item_worn(), so that an item is considered worn as soon as it's linked to COF.

Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/822/

--HG--
branch : product-engine
2010-07-28 21:23:14 +03:00
Eli Linden f08fef5c8e CT-575 WIP FR linguistic 2010-07-28 10:43:32 -07:00
Vadim Savchuk 3d14fe23fc EXT-8361 REFIXED Tooltips in Nearby Media window in the French viewer.
Restored a part of my fix that was somewhy reverted by Eli in rev. 0d364d4ddd91.

--HG--
branch : product-engine
2010-07-28 19:49:09 +03:00
Vadim Savchuk cf286ad963 EXT-8310 REFIXED Localized currency format in the Buy Land floater.
I'm actually restoring a part of the fix that was previosly committed in 75a1d14d6cc5 and then somewhy reverted in 0d364d4ddd91.

Trivial change, not reviewed.

--HG--
branch : product-engine
2010-07-28 19:27:10 +03:00
Alexei Arabadji 44ac59ac1c EXT-7015 ADDITIONAL FIX Updated condition of hiding wear related context menu entries from "hide if all can't be worn" to "hide if any can't be worn".
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/813/

--HG--
branch : product-engine
2010-07-28 18:27:09 +03:00
Vadim Savchuk 9c1af0798f Merge from default branch
--HG--
branch : product-engine
2010-07-28 16:28:31 +03:00
Vadim Savchuk 4cefba23d8 Merge from default branch
--HG--
branch : product-engine
2010-07-28 15:49:01 +03:00