Commit Graph

9416 Commits (abc6aef7804d0572c0b8ec469aa607f4dabfdad5)

Author SHA1 Message Date
Richard Linden 48b3ac20d9 added some documentation to winmm_shim 2010-04-27 15:50:51 -07:00
Vadim Savchuk 7d78440d9d Additional commit for EXT-6956 (Create perpetual loading indicator widget).
- Made the indicator rotate clockwise (by flipping the images and reversing the order they're traversed).
- The textures are now preloaded.

Approved by Erica.

--HG--
branch : product-engine
2010-04-27 22:35:54 +03:00
Richard Linden 5d690aadfc merge 2010-04-27 11:53:05 -07:00
Tofu Linden a70f6c3ee6 merge. 2010-04-27 18:17:13 +01:00
Samuel Kolb 6c4bc2cd3a local merge 2010-04-27 10:09:42 -07:00
Samuel Kolb e83fee0589 fixed up mime_types.xml files to point to a plugin in all cases. 2010-04-27 10:08:30 -07:00
Richard Nelson 0c643af528 fixed eol and tabs/spaces problems 2010-04-27 09:47:33 -07:00
Richard Nelson 42c2e62014 merge 2010-04-27 09:42:49 -07:00
Richard Nelson bd08f19894 EXT-6921 - Windows Xp/Vista unified volume control 2010-04-27 09:41:33 -07:00
Yuri Chebotarev 42aa72cd99 merge
--HG--
branch : product-engine
2010-04-27 19:29:32 +03:00
Yuri Chebotarev 3d13402419 fix EXT-4858 "Detecting Hardware..." not showing correctly in non-English languages with Viewer 2.0
reviewed Vadim Savchuk
https://codereview.productengine.com/secondlife/r/317/

--HG--
branch : product-engine
2010-04-27 19:28:42 +03:00
Yuri Chebotarev 62214e082f fix EXT-6998 Group creator has no rights to view group owned land
reviewded Mike Antipov
https://codereview.productengine.com/secondlife/r/319/

--HG--
branch : product-engine
2010-04-27 19:26:33 +03:00
Alexei Arabadji 26efa9cff4 fixed critical EXT-7092 Fatal error:LLOfferInfo::handleRespond:ASSERT:(!"Unexpected notification name") appears after attempt to resolve offer from object
Added missing handler for "ObjectGiveItemUnknownUser" notification.

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

--HG--
branch : product-engine
2010-04-27 17:42:37 +03:00
Dmitry Zaporozhan ca07973e3e Making use of LLCommonUtils::computeDifference.
Replaced duplicating code with generic function LLCommonUtils::computeDifference()

Reviewed by Vadim Savchuk - https://codereview.productengine.com/secondlife/r/313/

--HG--
branch : product-engine
2010-04-27 10:20:30 +03:00
Vadim Savchuk 17f2234a96 Implemented perpetual loading indicator widget (EXT-6596).
Simple perpetual loading indicator a la MacOS X or YouTube.
Implements spinning by changing pre-defined images.
The images are hardcoded, shared by all instances of the widget.
Number of rotations per second can be changed via params.

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

--HG--
branch : product-engine
2010-04-27 16:39:19 +03:00
Igor Borovkov 2696e37509 partial implementation of EXT-6723 Create specialized view of inventory for "clothing" accordion tab of outfit editor
Initial implementation (no sorting, no grayed items from Base outfit)

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

--HG--
branch : product-engine
2010-04-27 15:23:07 +03:00
Yuri Chebotarev c233b2cf99 fix duplicate string for EXT-5839 Creating a new wearable in a localized viewer attempts to use non-ascii characters for inventory types in some languages
no review

--HG--
branch : product-engine
2010-04-27 14:50:53 +03:00
Igor Borovkov e8d9dd46bd additional fix for EXT-6721 (Enable UI for user modification of wearable order)
corrected dirty state management - taking into account changes in ordering between wearables of COF and Base Outfit

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

--HG--
branch : product-engine
2010-04-27 13:46:51 +03:00
Paul Guslisty 611dfccfcb Fixed normal EXT-7020 (Make \"port number\" field more wider, as fourth number is unable to be seen)
- Made \"port number\" field more wider

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

--HG--
branch : product-engine
2010-04-27 08:28:30 +03:00
Paul Guslisty a848955d41 Fixed normal bug EXT-6882 ([EN FORMATTING] Comprar terreno (Buying Land) window. Blank space needed between \"...de terreno.\" and \"Este terreno...\")
- added space in the strings.xml for translation, so that languages that need the space (English, Spanish, French, etc.) can have it, and languages that don't (Japanese, Chinese etc) can remove it

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

--HG--
branch : product-engine
2010-04-27 08:25:03 +03:00
Paul Guslisty 9e25d92b42 Fixed normal bug EXT-6878 ([OVERLAP] Acerca del terreno (About Land) window > Objetos. Overlapped text and arrow.)
- applied wrap to string that overlaps line editor
- deleted overriden dimensions in other locales

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

--HG--
branch : product-engine
2010-04-27 08:21:40 +03:00
Paul Guslisty 5496531b9f Fixed normal bug EXT-6581 ('Buy' floater looks corrupted after size reducing)
-increased floater minimal width
-decreased width of TextBox with truncated string and used 'use_ellipses' for it
-deleted overriden button width dimension in DE locale

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

--HG--
branch : product-engine
2010-04-27 08:17:25 +03:00
Yuri Chebotarev 6a9d277e00 merge
--HG--
branch : product-engine
2010-04-26 19:07:55 +03:00
Yuri Chebotarev 24894a5f71 EXT-6969 Group notices can appear duplicated in group profile
reviewed Mike Antipov
https://codereview.productengine.com/secondlife/r/308/

--HG--
branch : product-engine
2010-04-26 18:58:48 +03:00
Sergei Litovchuk fbfc851766 (EXT-6722) Create modified inventory view for "my outfits" tab in top-level appearance sidebar (tier 1)
llui:
- Setting container panel for accordion tab control to dynamically add tabs to accordions.
- Added method to dynamically remove accordion tabs.
- Added LLIconCtrl image setter.

newview:
- Class LLOutfitsList - a list of agents's outfits from "My Outfits" inventory category which represents each outfit by an accordion tab with a list of items inside it.
- Class LLWearableItemsList - a list of wearable items used in each accordion tab of "My Outfits" tab.
- Class LLInventoryItemsList - a base class for LLWearableItemsList that represents inventory items by panels in LLFlatListView.
- Class LLPanelInventoryItem - inventory item representation for a flat list. Item icon is set according to item type.
- Class LLInventoryCategoriesObserver - an observer used in LLOutfitsList for monitoring changes to "My Outfits" inventory category and updating outfits accordion tabs and list of items for each outfit.

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

--HG--
branch : product-engine
2010-04-26 18:56:28 +03:00
Mike Antipov 4a975bd1c2 merge
--HG--
branch : product-engine
2010-04-26 17:23:31 +03:00
Mike Antipov a00712e951 Fixed major bug EXT-6092 [crashhunters] Crash in LLFlatListView::selectItemPair
Reason:
 A) incorrect UP arrow handling in accordion control: invisible accordion tab was selected to handle selection.
 B) invalid std::map item (in empty map) was used to make selection in Flat List

Fix: added checks against empty map before use front/back item pair before selecting first/last items.
Also updated processing of the UP key in accordion control to not select invisible accordion tab.

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

--HG--
branch : product-engine
2010-04-26 17:19:43 +03:00
Tofu Linden a046736514 merge from PE's viewer-trunk 2010-04-26 10:25:35 +01:00
Tofu Linden 1993732a6c final(?!) merge from viewer-hotfix. 2010-04-26 10:02:53 +01:00
Tofu Linden ec5a9e26a0 merge from PE's viewer-hotfix 2010-04-26 09:50:06 +01:00
Aimee Linden 6a6af64e07 DEV-39789 (SNOW-627/SNOW-227/VWR-15454): Remove obsolete Apple FSCopyObject code from mac-updater 2010-04-26 02:19:57 +01:00
Aimee Linden 4f38dd2682 DEV-49390 (SNOW-573): Deprecated methods for getting and setting the system audio mute on Mac
AudioHardwareGetProperty(), AudioDeviceGetProperty() and AudioDeviceSetProperty() were deprecated in the 10.5 SDK, replaced using AudioObjectGetPropertyData() and AudioObjectSetPropertyData().
2010-04-25 12:42:10 +01:00
Aimee Linden 0cdaca2b46 DEV-49389 (SNOW-571 / VWR-18279): Replacing another deprecated WaitNextEvent() for the OS X 10.6 SDK
Replaced the deprecated WaitNextEvent() call with ReceiveNextEvent() and SendEventToEventTarget() as a basic event loop in slplugin.cpp
2010-04-25 03:49:55 +01:00
Aimee Linden f758852266 DEV-42251 (SNOW-570 / SNOW-220 / VWR-14711): WaitNextEvent() is deprecated in the OS X 10.6 SDK
Imported from Snowglobe.
Use RunApplicationEventLoop() instead of WaitNextEvent() while the viewer is waiting for the crash logger to exit.
2010-04-25 00:41:41 +01:00
Aimee Linden 5fa00a67af DEV-39786 (SNOW-572 / SNOW-220 / VWR-14712): GL_COLOR_INDEX8_EXT not defined as GL_EXT_paletted_texture is deprecated.
Imported from Snowglobe.
2010-04-24 20:36:42 +01:00
Aimee Linden f35a2112ea EXT-7055: Re-remove old MAP_SCALE_* constants removed in DEV-30614 that have snuck back in 2010-04-24 18:55:55 +01:00
Aimee Linden 0439690efd Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-04-24 14:51:14 +01:00
Aimee Linden c99904585b EXT-7005 : Kill unhelpful 'Deprecated conversion from string to char *' warnings from fmod_errors.h when building with GCC >=4.2 on Darwin
Apply -Wno-write-strings compile flag to llaudioengine_fmod.cpp and llstreamingaudio_fmod.cpp on Darwin as it was on Linux (Amen).
Removed unnecessary check for GCC >= 4.2 when applying this flag, as CXX_VERSION_NUMBER it used is only being generated in 00-Common.cmake on Linux at the moment and 4.0 understands -Wno-write-strings anyway.
2010-04-24 14:50:33 +01:00
Monroe Linden 57a2a2beff Add a way for plugins to send a message and block waiting for the response
This requires some cooperation between the plugin and the host, and will only work for specific messages.

The way it works is as follows:
* the plugin sends a message containing the key "blocking_request" (with any value)
* this will cause the "send message" function to block (continuing to pull incoming messages off the network socket and queue them) until it receives a message from the host containing the key "blocking_response"
** NOTE: if the plugin sends a blocking_request that isn't set up to cause the host to send back a blocking_response, it will block forever
* the blocking_response message will be handed to the plugin's "receive message" function _immediately_ (before the "send message" function returns)
** this means that the plugin can extract response data for use by the the code that sent the message (but is still blocked inside the "send message" call)
** NOTE: this BREAKS the invariant stating that the plugin's "receive message" function will never be called recursively, and the plugin MUST be prepared to deal with this
* after the plugin finishes processing the blocking_response message, the "send message" function that was called with the blocking_request message will return to the plugin
* any queued messages will be delivered after the outer invocation of the plugin's "receive message" function returns (as normal)

Inside the viewer, the code can tell when a plugin is in this blocked state by calling LLPluginProcessParent::isBlocked().  LLPluginClassMedia uses this to avoid sending mouse-move and size-change messages to blocked plugins.
2010-04-23 15:50:22 -07:00
Tofu Linden 13bf599e08 merge from PE's viewer-trunk 2010-04-28 21:05:21 +01:00
Loren Shih ec36c092a2 Compile error fix for missing description field in link_inventory_item. 2010-04-28 14:14:06 -04:00
Loren Shih 29e1804139 automated merge 2010-04-28 13:37:21 -04:00
Loren Shih 26d324a2dd DEV-49349 : AIS hides broken inventory links after a relog
inventory_and_asset_types_match is always true for links (i.e. links should not have to be a certain inventory type).
2010-04-27 18:39:09 -04:00
Loren Shih aa7b3312c2 Small XML fix for Inventory Floater, which was obscuring the text showing the number of items fetched. 2010-04-27 17:20:35 -04:00
Loren Shih c495e7f42a EXT-7109 : Ensure "Open" works for all types, change to "Open Original" for links
Added new "Open Original" menu item for links, to clarify that you're opening the item the link is pointing to.
2010-04-27 14:03:42 -04:00
Loren Shih 5f104c1cb5 EXT-7076 : Allow "paste as link" for any item
Changed llassettype dictionary table to enable linking to most item types.
2010-04-27 14:02:49 -04:00
Loren Shih ed21ab1546 EXT-7108 Creating link to openable item should not open the item (e.g. notecard)
When you create a link to a notecard, you'll no longer open the notecard.
2010-04-27 14:02:10 -04:00
Loren Shih 404fe5b525 EXT-7076 : Allow "paste as link" for any item
EXT-7077 : Enable paste as link for folders

Took out code that was stopping paste for god-mode only.  Now everyone can do it.
Corrected a bool logic error for protected folder restrictions.
2010-04-26 16:43:02 -04:00
Eli Linden c48e747806 FR linguistic 2010-04-23 13:04:42 -07:00
Eugene Mutavchi d0204a2b14 Related to normal bug EXT-6302 (TP requests need to display destination region maturity) - added displaying maturity rating with an icon.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/229/.

--HG--
branch : product-engine
2010-04-23 21:52:18 +03:00