Commit Graph

12393 Commits (845317cb360cf095a37d2da11c4f26759b330c60)

Author SHA1 Message Date
Sergei Litovchuk 845317cb36 EXT-8628 FIXED Crash in LLVOAvatarSelf::getAttachedPointName().
The crash was reproducible only on startup. Apparently, gAgentAvatarp was not valid at that point.
Worked around by checking gAgentAvatarp for being valid.

I didn't investigate what the root cause of the problem was (probably the new multi-attachments implementation), I just needed my viewer to work.

Reviewed by Seraph at https://codereview.productengine.com/secondlife/r/847/.

--HG--
branch : product-engine
2010-08-12 15:56:51 +03:00
Paul Guslisty 81f727849a EXT-8205 FIXED (Items in \"Add more\" panel are not sorted by name)
- Modified LLWearableItemTypeNameComparator so that it can be more reusable and adjustable

- Set LLWearableItemTypeNameComparator for WearableItemsList ('List view' of 'Add More' panel) due to sort clothings by name

- Modified and applied patch form https://codereview.productengine.com/secondlife/r/620/diff/2/#index_header. This patch was discarded because specification was changed

Restored diff after bad merge at 13817

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

--HG--
branch : product-engine
2010-08-12 13:48:36 +03:00
Xiaohong Bao ba7995fc52 Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-08-11 19:32:00 -06:00
Loren Shih 0b09d660a5 automated merge 2010-08-11 13:55:39 -04:00
Paul Guslisty dd9a3c4bdd EXT-8599 FIXED (Search Floater - \"loading\" and \"Done\" text in lower left is cut-off)
- Added height parameters and removed unnecessary bottom parameter

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

--HG--
branch : product-engine
2010-08-12 13:20:52 +03:00
Paul Guslisty 6a920e2327 EXT-7951 FIXED (Mini-Location panel appearance design issues)
- Added callback on show\hide Mini Location Panel event. This callback sets proper initial minimized position depending on state (shown or hidded) Mini Location Panel. Also callback shifts vertically already minimized floaters so that they don't overlap Mini Location Panel

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

--HG--
branch : product-engine
2010-08-12 13:19:23 +03:00
Andrew Dyukov d4f12f2630 EXT-8425 FIXED Translated names of "Home" and "Esc" keys shown in shortcuts.
Each key has KEY (typedef of U8) represantation which is paired with text version of key.
To get strings corresponding to keys LLKeyboard::stringFromKey() is used.

- Added translation of keys into LLKeyboard::stringFromKey().

- Added corresponding strings into strings.xml.

- Changed LLTrans::getKeyboardString() so that it correctly process key names that are not found in strings.xml(returns English name instead of "MissingString").

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

--HG--
branch : product-engine
2010-08-11 20:39:34 +03:00
Tofu Linden 3b4385fe55 merge from viewer-release 2010-08-11 13:44:35 +01:00
Tofu Linden 2ab6776dc7 merge from PE's viewer-trunk 2010-08-11 13:44:03 +01:00
Tofu Linden f9a61bd30d merge from PE's viewer-release 2010-08-11 13:42:42 +01:00
Eli Linden 766eaf9a50 EXT-8376 FIX en_xui_change for IT truncation; DE fix 2010-08-10 17:21:36 -07:00
Eli Linden 205a5c6083 Merge 2010-08-10 16:11:28 -07:00
Eli Linden 10641acf4c EXT-8370 WIP remove old overrides 2010-08-10 16:09:11 -07:00
Xiaohong Bao 0582257a8a Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-08-10 16:44:12 -06:00
Xiaohong Bao b9cc3a34da EXT-7399: FIXED: 2.0.2 with http textures loads textures slower than 1.23.5 2010-08-10 16:43:31 -06:00
Eli Linden f5ae33fa53 CT-575 WIP restore PL translation that got lost 2010-08-10 15:24:16 -07:00
Vadim Savchuk 863e380fb6 EXT-8576 FIXED Only attachments are worn if multi-select items on 'My Outfits' tab and press 'Wear' button.
Reason: avatar appearance was not updated if the last selected item was an attachment.
Fix: make sure appearance is updated afterwards, regardless of items types.

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

--HG--
branch : product-engine
2010-08-10 22:38:29 +03:00
Andrew Dyukov 4b8d41214b EXT-8255 FIXED Added confirmation dialog when removing items.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/849/

--HG--
branch : product-engine
2010-08-10 19:16:18 +03:00
Tofu Linden b01bd4d849 merge from PE's viewer-trunk 2010-08-10 16:31:07 +01:00
Sergei Litovchuk 8db6d855ec EXT-3981 FIXED changeset e1e225cd1deb. Disabled folder view automatic scrolling while background fetch is in progress.
Reviewed by Loren Shih at https://codereview.productengine.com/secondlife/r/835/.

--HG--
branch : product-engine
2010-08-10 18:21:12 +03:00
Sergei Litovchuk 7ca0d115a1 Backed out changeset: e1e225cd1deb
--HG--
branch : product-engine
2010-08-10 17:39:03 +03:00
Dave Parks b9ec8e094a Fix for crash when deferred rendering enabled and toggling wireframe.
(transplanted from 3886dff9a2829c7a8957d2cc48742e0678ec06a6)
2010-08-10 09:13:41 -05:00
Vadim Savchuk 0afdb8a02f Merge from default branch
--HG--
branch : product-engine
2010-08-10 16:23:15 +03:00
Vadim Savchuk 9d6fd1c63f Merge from default branch
--HG--
branch : product-engine
2010-08-10 16:11:33 +03:00
Tofu Linden 17ccb6a46b (hairy) merge from viewer-release 2010-08-10 14:04:35 +01:00
Tofu Linden c890ca021a merge from PE's viewer-trunk 2010-08-10 14:02:21 +01:00
Tofu Linden 8a577f1a1c (empty) merge from PE's viewer-release 2010-08-10 13:57:16 +01:00
Monroe Linden 60b12a24d4 Patch on a fix for the llmediadataclient.cpp unit test.
My refactor of LLMediaDataClient caused a crash in the windows unit test.  Change set 92fd90bd795a fixed the crash, but broke the code in question.  This changeset should make the code behave correctly, while removing some premature optimization that I now think didn't properly in the first place.
2010-08-09 16:39:06 -07:00
Xiaohong Bao f2fd3b8a2f Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-08-09 17:08:28 -06:00
Xiaohong Bao 8af410aca2 EXT-8596: FIXED: crash at LLTextureFetchWorker::doWork(int) [secondlife-bin lltexturefetch.cpp] line 1061 2010-08-09 17:07:34 -06:00
Eli Linden e56bd45f0d CT-575 WIP PL global edit part 1/2; PL DA set 16 translation for 2.1.1; FR linguistic 2010-08-09 15:06:26 -07:00
Vadim Savchuk 20bdbd487e EXT-8628 FIXED Crash in LLVOAvatarSelf::getAttachedPointName().
The crash was reproducible only on startup. Apparently, gAgentAvatarp was not valid at that point.
Worked around by checking gAgentAvatarp for being valid.

I didn't investigate what the root cause of the problem was (probably the new multi-attachments implementation), I just needed my viewer to work.

Reviewed by Seraph at https://codereview.productengine.com/secondlife/r/847/

--HG--
branch : product-engine
2010-08-09 21:14:07 +03:00
Tofu Linden 90a73085fd EXT-8597 FIXED [crashhunters] LLVorbisDecodeState::initDecode()
not for certain fixed, but some robustification.
2010-08-09 16:14:12 +01:00
Vadim Savchuk 953e0a619a EXT-8577 FIXED Context menu items for multi-attachments
Changes:
* Implemented bulk-add from My Appearance SP.
* Made sure there's no memleak when you click Wear/Attach in the in-world object context menu
  and the callback isn't invoked (because e.g. avatar fails to get close enough to the object).
  I stated that in comments.

Reviewed by Seraph at https://codereview.productengine.com/secondlife/r/844/

--HG--
branch : product-engine
2010-08-09 18:10:36 +03:00
Vadim Savchuk b5df08724a Merge from default branch
--HG--
branch : product-engine
2010-08-09 16:41:02 +03:00
Vadim Savchuk fcc19791b3 Merge from default branch
--HG--
branch : product-engine
2010-08-09 16:15:59 +03:00
Tofu Linden b22b042edd merge 2010-08-09 14:14:16 +01:00
Sergei Litovchuk ed5212f0e9 EXT-7593 FIXED Added passing focus to the selected outfit tab when My Outfits tab is open.
- Removed "tab_stop" from outfit tabs to prevent passing focus to a tab chosen by default from LLUICtrl::focusFirstItem(). Besides the order of passing focus between outfit tabs by pressing "Tab" was undetermined.
- Had to remove const from the return of LLAccordionCtrl::getSelectedTab() to use the returned pointer for setting focus.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/846/.

--HG--
branch : product-engine
2010-08-09 15:23:00 +03:00
Andrew Dyukov b934743014 EXT-8010 ADDITIONAL FIX Fixed problems with avatar links underlining.
There were two problems:

1. Underlining broke when avatar's first and second name were on different lines.
2. There was no underline on hover for avatar miniinspector links in plaintext IM.

- First problem was caused by calling LLOnHoverChangeableTextSegment::draw() for the same segment twice- for first and second name that were
on different lines, while handleHover() was called only once. So handleHover() was called -> text was underlined -> first part of segment was
drawn underlined -> its draw set style back to normal -> second part of segment was drawn without underlining.

Fixed this by setting style back to normal only when drawing the last part of the segment.

- Second problem was caused by unusual way of appending link to text in chat history.

Changed it so that LLTextBase::appendText() now receives link not inside style params, but directly.
Also added "/inspect" ending to check in LLUrlEntryAgent::underlineOnHoverOnly().

Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/833/

--HG--
branch : product-engine
2010-08-09 15:14:45 +03:00
gabriel lee c70b05082f patching from fixes made in dessie/viewer-release 2010-08-09 12:44:28 +01:00
Tofu Linden 4db872e11e merge from PE's viewer-trunk 2010-08-07 12:47:08 +01:00
Tofu Linden 78e7bde7ac merge from viewer-release 2010-08-07 12:46:27 +01:00
Tofu Linden 3a79e9bc22 merge from PE's viewer-release 2010-08-07 12:45:31 +01:00
Tofu Linden 51ad60d19d merge from viewer-release 2010-08-07 12:43:55 +01:00
Monroe Linden bcd8443371 Fixes for EXT-8563 "VWR-20156: Prim Media on HUDs has no Audio or Interactivity"
Backed out changeset 1b65d0d42c67 (the fix for EXT-5205), and replaced it with a check in LLPanelPrimMediaControls::nextZoomLevel().

Made LLViewerMediaImpl::calculateInterest() not attempt to calculate distances to HUD attachments, since their global positions are invalid.
2010-08-06 20:06:16 -07:00
Sergei Litovchuk ff6eccd32d EXT-4379 FIXED tab_stop parameter initialization that prevented inventory panel from passing focus to folder view's scroll container.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/823/.

--HG--
branch : product-engine
2010-08-06 22:34:18 +03:00
Sergei Litovchuk 403485b29e EXT-3981 FIXED Disabled folder view automatic scrolling while background fetch is in progress.
Reviewed by Loren Shih at https://codereview.productengine.com/secondlife/r/835/.

--HG--
branch : product-engine
2010-08-06 22:34:10 +03:00
Eli Linden 4277bfbba6 CT-575 WIP FR linguistic 2010-08-06 11:17:45 -07:00
Paul Guslisty c187fdcf1f EXT-7963 FIXED (Edit Outfit > Add More > Do not switch to next item type after add/replace)
- Added selected item type (in flat list view) as criterion when determining filter type in 'Add More' panel

- Fixed LLAccordionCtrl::getSelectedTab() method. When 'selection_enabled = false' for LLAccordionCtrlTab, LLAccordionCtrl::getSelectedTab() returned NULL, even if some accordion tab was selected. Now it's OK. Method returns currently selected LLAccordionCtrlTab.

Recovered from bad merge in 13811

Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/790/

--HG--
branch : product-engine
2010-08-06 19:41:23 +03:00
Xiaohong Bao f36bd31b3d Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-08-06 09:40:54 -06:00