summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2010-07-22EXT-8378 FIXED Made area format localizable in World Map and Group Info -> ↵Vadim Savchuk
Roles. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/788/ --HG-- branch : product-engine
2010-07-22Merge from default branchVadim Savchuk
--HG-- branch : product-engine
2010-07-22EXT-8459 FIXED preventing crashes: 1) ensure that pointer to inventory item ↵Mike Antipov
is still valid when landmark is loaded from notecard and 2) adding a check for region capability There are two reasons of the crash reported in the bug: * absence of the "CopyInventoryFromNotecard" capability in region (which leads to crash while logging of a LL_ERRS) * referencing to an invalid pointer to LLInventoryItem in callback. The first issue is fixed by preventing sending of the "CopyInventoryFromNotecard" message if it is not supported (in the "copy_inventory_from_notecard()") The second issue caused by such reason: * Notecard stores LLPointer to each embedded inventory item * When Landmark is clicked it should be opened in Places Panel and inventory item should copied into agent inventory * If it is unknown to agent it is requested and pointer (but not LLPointer!) to inventory item was bound to an appropriate callback * Then when landmark is loaded that inventory item is copied to inventory. * If notecard was closed before callback was trigged all instances to embedded inventory items were destroyed. This leads to crash when trigged callback tries to reference to bound pointer to inventory item (for landmarks) Fix is to pass LLPointer instead of pointer to inventory item into callback to ensure item is valid when it is needed. Details: * updated LLEmbeddedItems::getEmbeddedItem() to return LLPointer to inventory item (and renamed to getEmbeddedItemPtr) * updated LLViewerTextEditor::openEmbeddedItem() to get LLPointer to inventory item * updated LLViewerTextEditor::openEmbeddedLandmark() to get LLPointer to inventory item Patch also contains some more places where pointer is replaced with LLPointer to be consistent. NOTE: there are several LLViewerTextEditor::openEmbeddedXXX() methods which still get pointer to inventory item. It is safe for now because they use it synchronously. I have added a note at their declaration. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/784/ --HG-- branch : product-engine
2010-07-22merge from PE's viewer-releaseTofu Linden
2010-07-21mergeRichard Nelson
2010-07-21reverted bad workaround for content sizing problemRichard Nelson
2010-07-21EXT-8135 FIX - use LLUpdateAppearanceOnDestroy callback to postpone ↵Brad Payne (Vir Linden)
appearance update until all links are created
2010-07-21EXT-8164 FIXED (Accordions should be reset to default state after Edit ↵Andrew Polunin
Outfit panel reopening) Now accordion on panels 'Edit Outfit', 'Editing Shape', 'Editing Hair', 'Editing Eyes', 'Editing Skin', 'Group Profile' and 'Place Profile' are reset when the panels are closed and then opened again. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/782/ --HG-- branch : product-engine
2010-07-21EXT-8205 FIXED (Items in \"Add more\" panel are not sorted by name)Paul Guslisty
- 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 Reviewed by Mike Antipov and Vadim Savchuk at https://codereview.productengine.com/secondlife/r/765/ --HG-- branch : product-engine
2010-07-21EXT-8412 FIXED (Group Profile > Notices > Add label to + button, move header ↵Paul Guslisty
down) - Added a text label to the + button reading \"New Notice\" - Add more padding between button and content below Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/766/ --HG-- branch : product-engine
2010-07-21Merge from default branchVadim Savchuk
--HG-- branch : product-engine
2010-07-21Automated merge with https://hg.productengine.com/secondlife/viewer-release/Alexei Arabadji
--HG-- branch : product-engine
2010-07-21EXT-6527 FIXED Avoided show agent/group SLURL icon in plain text mode.Alexei Arabadji
reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/773/ --HG-- branch : product-engine
2010-07-21mergeTofu Linden
2010-07-20mergeRichard Nelson
2010-07-20EXT-7654 FIX About Land Floater> Icons missingRichard Nelson
2010-07-20Automated merge with ssh://hg.lindenlab.com/q/viewer-releaseXiaohong Bao
2010-07-20EXT-7500: FIXED: Texture Jamming problems with http texture offXiaohong Bao
2010-07-20Fix for EXT-8446: Start location field cleared on logincallum
Reviewed by Merov
2010-07-21EXT-8245 FIXED Added passing inventory panel to give_inventory_cb callback ↵Sergei Litovchuk
when called from 'Add More' panel. Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/737/. --HG-- branch : product-engine
2010-07-20Automated merge with ssh://nyx@hg.lindenlab.com/q/viewer-release/Nyx (Neal Orman)
2010-07-20EXT-8119 tattoo texture remains grey until rebakeNyx (Neal Orman)
texture pipeline always returns a valid image, we needed to check the image id against IMG_DEFAULT instead of NULL. This causes the image to be correctly set to IMG_DEFAULT_AVATAR, which is never rendered during layer baking. Code reviewed by Seraph
2010-07-20EXT-8463 FIXED Crash in IM/chat floaters.Vadim Savchuk
Reason ====== Each message in an IM/chat session has a header. The header shows an (i) button on hover and hides it when mouse leaves the header. The button is shown by adding it as a header child and hidden by resetting the button parent. So, if you close the IM session so that the hovered header doesn't get the MouseLeave message (e.g. by Ctrl+W), the button gets destroyed. If you then open the IM session again and hover a message header, the destroyed button is referenced, which leads to crash. Fix === We make sure that when a hovered message header is being destroyed (by closing the IM session), the button is detached (i.e. its parent gets reset), so that it remains usable. I also add a couple of checks for the case when the (i) button fails to construct from XML file. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/783/ --HG-- branch : product-engine
2010-07-20automated mergeLoren Shih
2010-07-20EXT-8448 FIXED [crashhunters] Crash in LLFolderBridge::folderOptionsMenu(), ↵Loren Shih
and Trash folder options incorrect Minor fix to previous checkin for this crash. This fixes the UI issue where you're seeing the context options for the previous folder you clicked when you click on trash/library.
2010-07-20mergeBrad Payne (Vir Linden)
2010-07-20EXT-8360 FIX - cleanupBrad Payne (Vir Linden)
2010-07-20EXT-8360 FIX - item name changes get propagated to the various appearance ↵Brad Payne (Vir Linden)
panel widgets
2010-07-20mergeBrad Payne (Vir Linden)
2010-07-20EXT-8458 FIXED ensure that static pointer to instance of ↵Mike Antipov
LLPanelStandStopFlying is always valid to prevent crash. Consequences of root cause: Static pointer to LLPanelStandStopFlying in LLPanelStandStopFlying::getInstance() becomes invalid when the instance of the LLPanelStandStopFlying is a child of floater while it is destroying. Next usage of that pointed cause a crash. Root Cause: 1. LLFloater::closeFloater sets floater invisible and marks floater as "dead" but does not destroy it. 2. But that instance was still in LLFloaterReg map. It is removed in LLFloater's destructor. 3. So it was possible on low fps to get "dead" floater with LLFloaterReg, LLFloaterMove in this case. 4. Then LLMortician deleted floater instance shown on previous step. Call of setVisible(false) from the LLFloater's destructor does not call overridden LLFloaterMove's method (which is expected behavior.) So, child panel LLPanelStandStopFlying was not re-parented to Main View and was destroyed with LLFloaterMove. That leaded to the "Top Reason" described above. FIX: 1. Ensure that LLPanelStandStopFlying is not a child of LLFloaterMove on its destroying. 2. Synchronized removing of a floater instance from the LLFloaterReg when it is marked as "dead". Note: both changes fixes this bug independently, but I included both of them into result patch to avoid similar but in the future. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/781/ --HG-- branch : product-engine
2010-07-19Automated merge with ssh://hg.lindenlab.com/q/viewer-releaseXiaohong Bao
2010-07-19EXT-8448 FIX [crashhunters] Crash in LLFolderBridge::folderOptionsMenu()Richard Linden
reviewed by Callum
2010-07-19trivial: replace some very small constant numbers with "F_ALMOST_ZERO".Xiaohong Bao
2010-07-19EXT-8360 WIP - propagating COF item name changes various placesBrad Payne (Vir Linden)
2010-07-19EXT-7400: FIXED: 2.0.2 texture queue gets jammedXiaohong Bao
2010-07-19CT-575 WIP Set15 translation for 8 languagesEli Linden
2010-07-19automated mergeLoren Shih
2010-07-16CT-575 WIP l10n catchup with set15 translation for Viewer 2.1, part 2/2Eli Linden
2010-07-16EXT-7639 FIXED (Make shop button open different URLs depending on what is ↵Andrew Polunin
selected in outfit editor) - 'Add More' panel multiple selection behavior Implemented the following behavior: \"if multiple selection is made in the Add More panel then default marketplace home URL can be used\". Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/769/ --HG-- branch : product-engine
2010-07-16EXT-8358 FIXED Added one more server hardcoded string to global strings in ↵Mike Antipov
notifications.xml to make it localizable. Added "You died and have been teleported to your home location" string. It requires localization efforts. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/776/ --HG-- branch : product-engine
2010-07-16Merge from default branchVadim Savchuk
--HG-- branch : product-engine
2010-07-16merge from PE's viewer-releaseTofu Linden
2010-07-15CT-575 WIP l10n catchup with set15 translation for Viewer 2.1, part 1/2Eli Linden
2010-07-15CT-575 WIP l10n catchup of translation up to set14, new files, for Viewer 2.1Eli Linden
2010-07-15CT-575 WIP l10n catchup of translation up to set14, for Viewer 2.1Eli Linden
2010-07-15EXT-8135 FIXED Textures blurry when in Appearance Edit modeLoren Shih
Trivial fix to correct for wrong debug message printed out due to use of wrong timer.
2010-07-15EXT-8135 FIXED Textures blurry when in Appearance Edit modeLoren Shih
EXT-8445 Reduce baked texture timeout fro 120sec to 60sec default Also did some minor infrastructure cleanup, added code comments, etc. There is now separate logic for determining how to handle update (versus upload) requests. Also made a trivial change to llvoavatar to properly encapsulate mAppearanceAnimating. Also reduced the baked texture timeout to 60s (in settings.xml)
2010-07-15Automated merge with ssh://hg.lindenlab.com/q/viewer-releaseXiaohong Bao
2010-07-15EXT-8301: FIXED: crash at LLViewerFetchedTexture::cleanup() [secondlife-bin ↵Xiaohong Bao
llviewertexture.cpp]
2010-07-15Reverted changeset 2bb10eae42bfDessie Linden