Commit Graph

9383 Commits (a1b765189d4b8bfb6ec99bc5e5c0a2cc4c9ccbd2)

Author SHA1 Message Date
Richard Nelson a1b765189d fix for media not working in release builds
reviewed by Mani
2010-04-28 19:06:08 -07:00
Richard Nelson fe1413c2e5 package step now depends on package contents...so changing llplugin.exe or theplugins dlls will result in a new packaged viewer
reviewed by Mani
2010-04-28 18:27:44 -07:00
Richard Nelson deb2791e55 added optimization for media volume level of 1.0 (don't do anything) 2010-04-28 18:27:10 -07:00
Monroe Linden b7bc6920c8 Fixed a silly error in the code that tries to avoid queueing up mouse move events to blocked plugins. 2010-04-27 17:43:09 -07: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
Mike Antipov 0dc325502e merge
--HG--
branch : product-engine
2010-04-28 18:36:11 +03:00
Paul Guslisty 3c2c11d0d2 Fixed linux build
--HG--
branch : product-engine
2010-04-28 18:29:09 +03:00
Mike Antipov 8b53588f57 merge
--HG--
branch : product-engine
2010-04-28 18:11:34 +03:00
Mike Antipov fe4b6a8d78 Merge with default branch
--HG--
branch : product-engine
2010-04-28 18:05:19 +03:00
Igor Borovkov f9a120e898 partial implementation of EXT-6723 Create specialized view of inventory for "clothing" accordion tab of outfit editor
- added grouping clothing items by wearable type (shirt, jeans etc.)
- added sorting clothing items by wearing order in groups
- added separators between items of the same wearable type (lists: clothing, body parts)
- added list specific button bars
- partially added dummy items for missing wearable types in the COF (clothing list)

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

--HG--
branch : product-engine
2010-04-28 17:47:08 +03:00
Mike Antipov 8e0a73f0ed Fixed Windows build after chengeset (15508dc34f63) Implemented major task EXT-6979 (Connect wearable editor texture and color edito...:
added default bodies for overloading of function templates
 removed qualifier before PickerControlEntry class name.

--HG--
branch : product-engine
2010-04-28 17:31:15 +03:00
Eugene Mutavchi 6d3c960525 Implemented major task EXT-6979 (Connect wearable editor texture and color editors to the textures stored in the wearables themselves):
- added PickerControlEntry - dictionary entry which contains information about particular picker control
 - added ColorSwatchCtrls and TextureCtrls - lists of PickerControlEntries, contain information about color and texture controls for particular EWearableType
 - implemented some helper functions for picker management
Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/327/

--HG--
branch : product-engine
2010-04-28 14:50:33 +03:00
Andrew Dyukov e8540593e6 Fixed low bug EXT-6776 ([FRAGMENTATION] Call strings need change).
- Removed string fragmentation by changing concatenation of name and action to whole-sentence strings.

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

--HG--
branch : product-engine
2010-04-28 14:48:16 +03:00
Tofu Linden 96df3f3eb1 merge from PE's viewer-trunk 2010-04-28 10:39:53 +01:00
Mike Antipov 9e8f820e35 Improved xml file according to Eric's suggestion: controls are not intended to be translated marked with translate="false" attribute.
Trivial, not reviewed.

--HG--
branch : product-engine
2010-04-28 11:26:03 +03:00
Mike Antipov ee1c5729a8 merge
--HG--
branch : product-engine
2010-04-28 11:01:43 +03:00
Mike Antipov 872b4d7ed0 Fixed critical bug EXT-4837 ( [NUX] When filter results in null state, provide a message suggesting the user try global search.)
Implemented passing of entered filter substring without head spaces to search URI in help message for null filtered results.
* Updated setting "no item message" to use search term from filter editor for avatar & group lists and for inventory panels.
* Updated appropriate translatable strings to get [SEARCH_TERM] substitution.
* Updated processing of filter substring to pass original string to methods applied new filter.

Additional necessary changes
* Changed place to set "no item message" for group list from refresh to where filter is updated (like in avatar lists)
* Removed converting of filter substring to upper case in Places & My Appearance sidepanels (this conversion has already been implemented in where filter is applied)
* Added a separate message for Landmarks to set search URI to secondlife:///app/search/places for Lanmarks panel;
 other inventory related panels have URL to all searched categories (secondlife:///app/search/all)

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

--HG--
branch : product-engine
2010-04-28 11:00:53 +03:00
Richard Linden fbc0e795b1 added empty param blocks to registered widgets that didn't have them
made LLDefaultChildRegistry::Register errors actually crash the client...llerrs doesn't work in static initializers
2010-04-27 16:08:56 -07:00
Richard Linden 48b3ac20d9 added some documentation to winmm_shim 2010-04-27 15:50:51 -07: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
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
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
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
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
Yuri Chebotarev 6a9d277e00 merge
--HG--
branch : product-engine
2010-04-26 19:07:55 +03:00