Commit Graph

11207 Commits (875fb0d72bd39789f506e59ec79bc7252012bfb7)

Author SHA1 Message Date
Alexei Arabadji 875fb0d72b Automated merge with https://hg.productengine.com/secondlife/viewer-release/
--HG--
branch : product-engine
2010-07-15 18:57:18 +03:00
Alexei Arabadji 200ad6dca7 EXT-8303 FIXED [crashhunters] Crash in inventory_offer_mute_callback
Details:
Instead of copying shared pointer, raw pointer was used, that cause crash, since notification responder object was accessed after it was destroyed.
Replaced usage copying of raw pointer instead of copying shared pointer of notification responder object, that should live after notification destroyed.

--HG--
branch : product-engine
2010-07-15 18:57:01 +03:00
Vadim Savchuk faf262e2a9 EXT-8373 FIXED Fixed translation of attachment points in "Attach..." / "Attach To..." menus (AE and inventory).
There is an on_enable callback set for the menu items. It tries adding a suffix like "(obj_name)" if there is already an attachment on the attachment point.
No matter whether the suffix has been actually added, the callback resets the menu item label to its parameter (cbparams["label"]).

The problem was that we passed the original English attachment point name to the callback, that set it as the menu item name, thus screwing up translation.
The fix is to pass translated attachment point name to the on_enable callback.

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

--HG--
branch : product-engine
2010-07-15 18:22:34 +03:00
Vadim Savchuk ee19ef5486 EXT-8343 FIXED Fixed inability to rename a wearable containing non-ASCII character in the name.
It is actually possible to edit a default item name in My Inventory: when
user clicks on the input field, all its text gets selected, so user can just
enter the new name (although editing the old name is disallowed).

This fix implements the same behavior in the Edit Wearable panel by
selecting the name when the input field gets focused.

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

--HG--
branch : product-engine
2010-07-15 15:39:28 +03:00
Mike Antipov 0def4c60c2 EXT-8372 FIXED Added possibility to localize some system device names.
All device names including "No Device" are get from the Vivox plugin. So, just common names are added to localize table.
 * "Default system device"
 * "No device"

"Microphone" is a part of device name and can not be localized without a hack.

NOTE: this code will only work on English OS. On other system locales devices will be shown on system language independent on viewer locale.

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

--HG--
branch : product-engine
2010-07-15 15:28:34 +03:00
Mike Antipov a880243f34 EXT-8374 FIXED Added possibility to localize "None" action value for Animation and Sound Actions.
Also changed hardcoded "until animations are done" value for Wait with label from the appropriate Floater checkbox.

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

--HG--
branch : product-engine
2010-07-15 15:26:13 +03:00
Andrew Dyukov 5a56c79fd4 EXT-7511 FIXED Fixed disappearance of selected item's border in flatlistviews.
- This issue was a regression caused by EXT-8052. Bug was caused by setting visibility of border to FALSE without respect to boolean argument passed to setNoItemsCommentVisible().
setNoItemsCommentVisible() is called on every rearrange, so border disappeared quite often. Fixed it by setting border's visibility depending on passed argument.

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

--HG--
branch : product-engine
2010-07-15 15:06:35 +03:00
Paul Guslisty 8c216c67ef EXT-8275 FIXED (Build > Group > Edit Group - Replace checkbox with new Edit icon, and move to the right of group name)
- Connected callback that closes Group Floater when object selection changes

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

--HG--
branch : product-engine
2010-07-15 14:40:31 +03:00
Vadim Savchuk 1e5c85259e Merge from default branch
--HG--
branch : product-engine
2010-07-15 13:25:55 +03:00
Mike Antipov 8dea26aa6c EXT-8364 FIXED Added more predefined system strings to be translated into dictionary.
They are 4 from ticket and 3 more from library->gestures category:
* "New Gesture"
* "Female - Chuckle"
* "Female - Cry"
* "Female - Embarrassed"
* "Female - Hey baby"
* "Female - Looking good"
* "Female - Over here"
* "Female - Please"

Also added missing string to be localized: "InvFolder Initial Outfits"

They should be translated then.

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

--HG--
branch : product-engine
2010-07-15 11:03:07 +03:00
Mike Antipov 64378d7baa EXT-8351 FIXED Added missing "name" attribute for items in the "Library" list.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/758/

--HG--
branch : product-engine
2010-07-15 11:01:58 +03:00
Tofu Linden 08647d14c2 slightly hairy merge from PE's viewer-release 2010-07-15 08:44:18 +01:00
Aimee Linden 7a3a192f79 Tidy up LLPanelPlaces::onOverflowButtonClicked() by replacing magic strings with the existing consts 2010-07-15 02:47:30 +01:00
Aimee Linden 13f0f72acf EXT-8325 (VWR-20161) FIXED Map button not enabled when Place Profile opened via a SLapp
Enables the Map button when Place Profiles are opened from SLapps in chat history, search etc.
2010-07-15 02:23:50 +01:00
Xiaohong Bao 2d683ebf74 Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-07-14 15:03:58 -06:00
Xiaohong Bao 493d99c684 EXT-8411: FIXED: load unnecessarily large icon textures. 2010-07-14 15:02:44 -06:00
Xiaohong Bao 512c9615e5 EXT-8386: FIXED: link grass rendering to the Trees Mesh detail slider 2010-07-14 13:27:58 -06:00
Richard Linden 5ef9f7e0db merge 2010-07-14 11:55:51 -07:00
Richard Linden 1d1377079b EXT-8300 FIX Creator's icon overlaps description text on object's mini-inspector
reviewed by Leyla
2010-07-14 11:48:33 -07:00
Richard Linden 7fc3d509ea potentially unsafe storage of raw pointer to LLViewerObject 2010-07-14 11:35:20 -07:00
Eli Linden 354c576a01 ND-47671 WIP FR linguistic 2010-07-14 11:12:33 -07:00
Vadim Savchuk 6f640f86ca EXT-8356 FIXED Enabled localization of the "Touch" item of object context menu.
Since label of the "Touch" object context menu item may be overridden by the object with
something like "Sit" or "Kiss", i.e. the label can be different from the default one,
there is a special code for handling this.
The code uses parameter of the on_enable callback as a label for the menu item.
So, the fix is to pass localized label to on_enable callback of the "Object Touch" menu item.

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

--HG--
branch : product-engine
2010-07-14 19:43:22 +03:00
Vadim Savchuk ac0046301c EXT-8361 FIXED Set a name for a nameless parent panel.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/755/

--HG--
branch : product-engine
2010-07-14 19:40:09 +03:00
Tofu Linden a1ee1af360 merge 2010-07-14 17:37:23 +01:00
Tofu Linden 2acfe2547a EXT-7455 PARTIAL viewer crash in LLSurface::getWaterHeight
Somewhere between a band-aid and a real fix.  Entirely speculative since there is no repro.
2010-07-14 17:36:13 +01:00
Vadim Savchuk 223b25de0d EXT-8400 FIXED Updated default inventory item names ("New Script", etc) on viewer language switch.
Bug reason
==========

New inventory items get names like "New Script", "New Undershirt" etc., but the names are translated on-the-fly (see EXT-5839), so the user actually sees "Nouveau script", "Nouveau débardeur" etc., respectively.
However when the user changes viewer language, the old localized names still exist in the inventory cache, so, for example, if you create an undershirt in French and then switch to Enlgish, the undershirt will be named "Nouveau d bardeur", which is the old cached localized name with non-ASCII characters replaced with spaces.

Fix
===

To get rid of obsolete translations I clear all caches whenever viewer language gets changed.

Other changes
=============

- Added a check for agent region being NULL to LLAgentLanguage::update().
- Removed LLAgentLanguage constructor and base classes because it's never instantiated.

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

--HG--
branch : product-engine
2010-07-14 18:18:47 +03:00
Loren Shih 6ce6ce238c automated merge 2010-07-14 10:17:10 -04:00
Mike Antipov 706e75dff3 EXT-8003 FIXED Changed "short" form of overriding widget's nested params with "long" one for accordions.
* for My Outfits panel
 * for Teleport History panel

Unfortunately this is required to enable automatization of translation with VLT.

NOTE: both "long" and "short" forms can be localized properly.

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

--HG--
branch : product-engine
2010-07-14 16:36:00 +03:00
Mike Antipov 14724102f3 EXT-8319 FIXED Added method to localize inventory categories having predefined names, updated predefined keys for "Male - Get lost" and "Female - Get lost".
There were two issues:
 * "Male - Get lost" and "Female - Get lost" gestures have by 2 spaces before "-" in their names.
 * Folders were not processed to be localize. This was not implemented correctly in EXT-7051.

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

--HG--
branch : product-engine
2010-07-14 16:25:17 +03:00
Andrew Polunin 0f169e1806 EXT-7880 FIXED (Classifieds and Picks placeholders show old gray X)
- Classified and Picks related panels now use default land image as their own default picture.
- Also Profile related panels fixed with generic person icon (some of them had the same grey X instead of image).

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

--HG--
branch : product-engine
2010-07-14 16:10:21 +03:00
Vadim Savchuk 8b09f20d7d EXT-8310 FIXED Incorrect currency format in the Buy L$ floater.
Changes in the Buy L$ floater:
* Set system locale before formatting currency.
* Made money format configurable (via strings.xml).
* Placed the "L$" label to the right of the line editor in FR locale.

Details:
Actually, the proper way to fix this and similar number formatting bugs would be to set the system locale at startup, but:
1. That triggers assertions when parsing locale-agnostic XML files like avatar_skeleton.xml.
2. I'm wary of making such global changes so close to the 2.1 release.
Therefore I just temporarily override current locale before formatting a number and restore the previous locale afterwards.

Reviewed by Tofu at https://codereview.productengine.com/secondlife/r/751/

--HG--
branch : product-engine
2010-07-14 15:05:28 +03:00
Vadim Savchuk 756b010f7c EXT-8318 FIXED Fixed wrong (hardcoded) locale usage to format number of inventory items in the Inventory SP.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/752/

--HG--
branch : product-engine
2010-07-14 15:01:30 +03:00
Vadim Savchuk 1f2dcfd866 Merge from default branch
--HG--
branch : product-engine
2010-07-14 14:43:53 +03:00
Tofu Linden 4339600d43 fix some wacky casting. 2010-07-14 10:16:18 +01:00
Tofu Linden 5c5057eb9a merge from PE's viewer-release 2010-07-14 10:08:54 +01:00
Matthew Breindel (Falcon) 37fc4e42dd Merge 2010-07-13 17:16:36 -07:00
Matthew Breindel (Falcon) a884f5c0c7 Added AgentPositionSnaps data to ViewerStats to measure frequency and scale of interpolation failures. 2010-07-13 17:16:05 -07:00
Xiaohong Bao 75c70884da trivial: convert to UNIX line endings. 2010-07-13 15:52:35 -06:00
Xiaohong Bao 961090b8fa Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-07-13 15:48:50 -06:00
Xiaohong Bao 83b693b134 EXT-7940: FIXED: Max # of non-impostor avatars is off by 2 2010-07-13 15:49:26 -06:00
Xiaohong Bao d9ff1c28a3 EXT-7500: FIXED: Texture Jamming problems with http texture off 2010-07-13 15:18:03 -06:00
Xiaohong Bao 0ba75fe2d6 EXT-7400: FIXED: 2.0.2 texture queue gets jammed;
EXT-7399: FIXED: 2.0.2 with http textures loads textures slower than 1.23.5
2010-07-13 13:40:08 -06:00
Eli Linden fd11c24de0 ND-47671 WIP FR PT IT linguistic 2010-07-13 11:45:07 -07:00
Alexei Arabadji 84a6b19760 Automated merge with https://hg.productengine.com/secondlife/viewer-release/
--HG--
branch : product-engine
2010-07-13 19:43:04 +03:00
Alexei Arabadji c73dcb0a2d EXT-8341 FIXED Avoided assertion on receiving object auto return notification.
Details:
1 Provided passing necessary is_group parameter to LLPostponedNotification::add<LLPostponedServerObjectNotification> method call;
3 Corrected handling group name in LLPostponedNotification::onCachedNameReceived;
2 Added check on retrieved name from cache name and replacement with fallback value.

reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/743/

--HG--
branch : product-engine
2010-07-13 19:42:31 +03:00
Igor Borovkov 3ddd44e5e6 EXT-8329 FIXED added updating Plus button on COF changes
added updating Plus button (Wear Item button) on COF changes (only when Edit Outfit panel is trully visible)

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

--HG--
branch : product-engine
2010-07-13 18:47:04 +03:00
Andrew Polunin 885442eb54 EXT-7639 FIXED (Make shop button open different URLs depending on what is selected in outfit editor)
- Fixed old market place URL to the new one in the settings.xml.
- Implemented the following feature: \"When Add More panel in focus selection inside it should supersede selection in accordions\". To achieve this:
-- LLPanelOutfitEdit::getCOFWearablesSelectionType() function was implemented.
-- LLPanelOutfitEdit::getAddMorePanelSelectionType() function was implemented.
-- LLPanelOutfitEdit::getWearableTypeByItemUUID(const LLUUID& item_uuid) function was implemented.
-- LLPanelOutfitEdit::onShopButtonClicked() was rewritten to use those functions.
- Fixed the problem with shop button and gender: now shop button for male leads to male links.

Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/725/

--HG--
branch : product-engine
2010-07-13 17:31:15 +03:00
Vadim Savchuk 3df8646fd9 merge
--HG--
branch : product-engine
2010-07-13 17:20:48 +03:00
Vadim Savchuk 2a1b8318bd Merge from default branch
--HG--
branch : product-engine
2010-07-13 17:20:00 +03:00
Igor Borovkov 3e9e2be584 merge
--HG--
branch : product-engine
2010-07-13 17:09:51 +03:00