Commit Graph

11227 Commits (2d5b917cea8e1ca7c06fcc47d82a4ea25d3c4494)

Author SHA1 Message Date
Nyx (Neal Orman) 2d5b917cea EXT-8119 tattoo texture remains grey until rebake
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-20 15:56:37 -04:00
Xiaohong Bao 62040b6865 Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-07-19 18:27:17 -06:00
Richard Linden 39ae8785b4 EXT-8448 FIX [crashhunters] Crash in LLFolderBridge::folderOptionsMenu()
reviewed by Callum
2010-07-19 15:15:04 -07:00
Xiaohong Bao bab5ef916c trivial: replace some very small constant numbers with "F_ALMOST_ZERO". 2010-07-19 15:20:23 -06:00
Xiaohong Bao 478edbee8c EXT-7400: FIXED: 2.0.2 texture queue gets jammed 2010-07-19 15:09:52 -06:00
Eli Linden b4aed58dec CT-575 WIP Set15 translation for 8 languages 2010-07-19 12:20:56 -07:00
Christian Goetze (CG) bc9e80fb20 Merged: Use teamcity service message to record failure to improve build log annotation. 2010-07-19 11:00:53 -07:00
Loren Shih 5b8c1851f2 automated merge 2010-07-19 10:18:57 -04:00
Tofu Linden 3bb5d368a2 merge from PE's viewer-release 2010-07-19 09:10:41 +01:00
Andrew Polunin 0fa0ffb574 EXT-7639 FIXED (Make shop button open different URLs depending on what is 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-16 18:19:31 +03:00
Mike Antipov f3f5687416 EXT-8358 FIXED Added one more server hardcoded string to global strings in 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-16 17:37:27 +03:00
Vadim Savchuk 97a43e303b Merge from default branch
--HG--
branch : product-engine
2010-07-16 16:40:29 +03:00
Tofu Linden 94cae52bb7 merge from PE's viewer-release 2010-07-16 11:23:30 +01:00
Loren Shih 94fde578cd EXT-8135 FIXED Textures blurry when in Appearance Edit mode
Trivial fix to correct for wrong debug message printed out due to use of wrong timer.
2010-07-15 17:54:09 -04:00
Loren Shih 020b156299 EXT-8135 FIXED Textures blurry when in Appearance Edit mode
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-15 17:24:12 -04:00
Xiaohong Bao 565d5dc1a9 Automated merge with ssh://hg.lindenlab.com/q/viewer-release 2010-07-15 15:17:49 -06:00
Xiaohong Bao 540e2d8e5d EXT-8301: FIXED: crash at LLViewerFetchedTexture::cleanup() [secondlife-bin llviewertexture.cpp] 2010-07-15 15:16:50 -06:00
Brad Payne (Vir Linden) d4845c1d26 merge 2010-07-15 14:26:11 -04:00
Andrew Dyukov a97485fa60 EXT-8385 FIXED Fixed simultaneous availability to click "Sit here" and "Stand Up" on object.
Made only one of them enabled in the same time, didn't make disabled one invisible because it was decided so in EXT-8094.

- This bug is the result of EXT-8094 fix. Corrected logic of enabling "Sit here" and "Stand up" both in xml and code.

- Removed class LLObjectEnableSitOrStand because it's not needed anymore, and it's handleEvent() method duplicates is_object_sittable() function.

- Renamed Object.EnableSit to Object.EnableGearSit because its name is now used for enabling object menu sit, and this "simple" version is used only from object inspector's gear menu.

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

--HG--
branch : product-engine
2010-07-15 21:07:16 +03:00
Brad Payne (Vir Linden) d5655c9bbf EXT-8283 FIX - allow saveWearable to change name of wearable, split off logic for saveAs case. Some remaining UI issues will be filed separately. Reviewed by Nyx 2010-07-15 13:56:46 -04:00
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