summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2010-04-29Incorporate suggestions from Richard's review of the LLPlugin changes.Monroe Linden
Use LLMutexLock (stack-based locker/unlocker) for the straightforward cases instead of explicit lock()/unlock(). There are still a couple of cases (one overlapping lock lifetime and two loops that unlock the mutex to call another function inside the loop) where I'm leaving explicit lock/unlock calls. Rename LLPluginProcessParent::sPollThread to sReadThread, for consistency. Made the LLPluginProcessParent destructor hold mIncomingQueueMutex while removing the instance from the global list -- this should prevent a possible race condition in LLPluginProcessParent::poll(). Removed a redundant check when calling LLPluginProcessParent::setUseReadThread().
2010-04-27Architectural changes to LLPlugin message processing.Monroe Linden
LLPluginProcessParent can now optionally use a separate thread for reading messages from plugin sockets. If this is enabled, it will spawn a single thread and use apr_pollset_poll to wake up the thread when incoming data arrives instead of polling all the descriptors round-robin every frame. This should be somewhat more efficient, and should also allow blocking requests from plugins to be serviced much more quickly (once we start using them). This is currently disabled by default, until it's had a bit more focused testing on multiple platforms. Hooked up the switch to use the message read thread to the PluginUseReadThread debug setting and an item in the Advanced menu in the viewer, and to a checkbox in the UI in llmediaplugintest. Updated some debug logging in the plugin system to have appropriate tags and not log dire-looking warnings during normal operation. LLPluginProcessParent now once again explicitly kills plugin processes (instead of just closing their sockets and waiting for them to exit). The problem we were attempting to solve by not doing the kill (letting the webkit plugin write its cookie file on exit) has been solved another way. LLPluginProcessParent::sendMessage() now attempts to write the outgoing message to the socket immediately instead of waiting for the next frame. This should reduce the latency of sending plugin messages. Added a separate fast timer for LLViewerMedia::updateMedia().
2010-04-29fixed potential buffer overrun in volume codeRichard Linden
2010-04-29merge from PE's viewer-trunkTofu Linden
2010-04-29Manual mergeDmitry Zaporozhan
--HG-- branch : product-engine
2010-04-28adding eolLeyla Farazha
2010-04-28MergeLeyla Farazha
2010-04-28Media sound attentuation first passLeyla Farazha
reviewed by Richard
2010-04-28Rapid clicks on spin ctrl brokenLeyla Farazha
reviewed by Richard
2010-04-28IT linguisticEli Linden
2010-04-28Automated merge with ssh://hg.lindenlab.com/q/viewer-trunkXiaohong Bao
2010-04-28fix for EXT-7159: textures are not fully loaded when http-texture is enabled.Xiaohong Bao
and EXT-6928: Viewer crashes immediately after enabling HTTP Textures on a http-texture-server-1 simulator
2010-04-28Fixed EXT-6550(major) - Edit Outfit: Fix alignment of in-line edit button ↵Dmitry Zaporozhan
and put proper icon on it Replaced LLPanelInventoryListItem with LLPanelInventoryListItem. This class is capable of showing widgets on left and right sides of panel. Implemented LLPanelClothingListItem and LLPanelBodyPartListItem - makes use of new LLPanelInventoryListItem and is able to show buttons specified in tickets. Buttons are shown on mouse_enter event and hidden on mouse_leave event. Buttons are - delete, move up, move down, lock, edit. It's item's user responsibility to control buttons visibility. Made LLInventoryItemsList::addNewItem virtual to allow inheritors create specific(non-default) items. Reviewed by Mike Antipov - https://codereview.productengine.com/secondlife/r/325/ --HG-- branch : product-engine
2010-04-28mergeMike Antipov
--HG-- branch : product-engine
2010-04-28Fixed linux buildPaul Guslisty
--HG-- branch : product-engine
2010-04-28mergeMike Antipov
--HG-- branch : product-engine
2010-04-28Merge with default branchMike Antipov
--HG-- branch : product-engine
2010-04-28partial implementation of EXT-6723 Create specialized view of inventory for ↵Igor Borovkov
"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-28Fixed Windows build after chengeset (15508dc34f63) Implemented major task ↵Mike Antipov
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-28Implemented major task EXT-6979 (Connect wearable editor texture and color ↵Eugene Mutavchi
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-28Fixed low bug EXT-6776 ([FRAGMENTATION] Call strings need change).Andrew Dyukov
- 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-28merge from PE's viewer-trunkTofu Linden
2010-04-28Improved xml file according to Eric's suggestion: controls are not intended ↵Mike Antipov
to be translated marked with translate="false" attribute. Trivial, not reviewed. --HG-- branch : product-engine
2010-04-28mergeMike Antipov
--HG-- branch : product-engine
2010-04-28Fixed critical bug EXT-4837 ( [NUX] When filter results in null state, ↵Mike Antipov
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-27Fixed a silly error in the code that tries to avoid queueing up mouse move ↵Monroe Linden
events to blocked plugins.
2010-04-27added empty param blocks to registered widgets that didn't have themRichard Linden
made LLDefaultChildRegistry::Register errors actually crash the client...llerrs doesn't work in static initializers
2010-04-27added some documentation to winmm_shimRichard Linden
2010-04-27Additional commit for EXT-6956 (Create perpetual loading indicator widget).Vadim Savchuk
- 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-27mergeRichard Linden
2010-04-27merge.Tofu Linden
2010-04-27local mergeSamuel Kolb
2010-04-27fixed up mime_types.xml files to point to a plugin in all cases.Samuel Kolb
2010-04-27fixed eol and tabs/spaces problemsRichard Nelson
2010-04-27mergeRichard Nelson
2010-04-27EXT-6921 - Windows Xp/Vista unified volume controlRichard Nelson
2010-04-27mergeYuri Chebotarev
--HG-- branch : product-engine
2010-04-27fix EXT-4858 "Detecting Hardware..." not showing correctly in non-English ↵Yuri Chebotarev
languages with Viewer 2.0 reviewed Vadim Savchuk https://codereview.productengine.com/secondlife/r/317/ --HG-- branch : product-engine
2010-04-27fix EXT-6998 Group creator has no rights to view group owned landYuri Chebotarev
reviewded Mike Antipov https://codereview.productengine.com/secondlife/r/319/ --HG-- branch : product-engine
2010-04-27fixed critical EXT-7092 Fatal ↵Alexei Arabadji
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-27Making use of LLCommonUtils::computeDifference.Dmitry Zaporozhan
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-27Implemented perpetual loading indicator widget (EXT-6596).Vadim Savchuk
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-27partial implementation of EXT-6723 Create specialized view of inventory for ↵Igor Borovkov
"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-27fix duplicate string for EXT-5839 Creating a new wearable in a localized ↵Yuri Chebotarev
viewer attempts to use non-ascii characters for inventory types in some languages no review --HG-- branch : product-engine
2010-04-27additional fix for EXT-6721 (Enable UI for user modification of wearable order)Igor Borovkov
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-27Fixed normal EXT-7020 (Make \"port number\" field more wider, as fourth ↵Paul Guslisty
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-27Fixed normal bug EXT-6882 ([EN FORMATTING] Comprar terreno (Buying Land) ↵Paul Guslisty
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-27Fixed normal bug EXT-6878 ([OVERLAP] Acerca del terreno (About Land) window ↵Paul Guslisty
> 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-27Fixed normal bug EXT-6581 ('Buy' floater looks corrupted after size reducing)Paul Guslisty
-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-26mergeYuri Chebotarev
--HG-- branch : product-engine