summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
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-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
2010-04-26EXT-6969 Group notices can appear duplicated in group profileYuri Chebotarev
reviewed Mike Antipov https://codereview.productengine.com/secondlife/r/308/ --HG-- branch : product-engine
2010-04-26(EXT-6722) Create modified inventory view for "my outfits" tab in top-level ↵Sergei Litovchuk
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-26mergeMike Antipov
--HG-- branch : product-engine
2010-04-26Fixed major bug EXT-6092 [crashhunters] Crash in LLFlatListView::selectItemPairMike Antipov
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-26merge from PE's viewer-trunkTofu Linden
2010-04-26final(?!) merge from viewer-hotfix.Tofu Linden
2010-04-26merge from PE's viewer-hotfixTofu Linden
2010-04-26DEV-39789 (SNOW-627/SNOW-227/VWR-15454): Remove obsolete Apple FSCopyObject ↵Aimee Linden
code from mac-updater
2010-04-25DEV-49390 (SNOW-573): Deprecated methods for getting and setting the system ↵Aimee Linden
audio mute on Mac AudioHardwareGetProperty(), AudioDeviceGetProperty() and AudioDeviceSetProperty() were deprecated in the 10.5 SDK, replaced using AudioObjectGetPropertyData() and AudioObjectSetPropertyData().
2010-04-25DEV-49389 (SNOW-571 / VWR-18279): Replacing another deprecated ↵Aimee Linden
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-25DEV-42251 (SNOW-570 / SNOW-220 / VWR-14711): WaitNextEvent() is deprecated ↵Aimee Linden
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-24DEV-39786 (SNOW-572 / SNOW-220 / VWR-14712): GL_COLOR_INDEX8_EXT not defined ↵Aimee Linden
as GL_EXT_paletted_texture is deprecated. Imported from Snowglobe.
2010-04-24EXT-7055: Re-remove old MAP_SCALE_* constants removed in DEV-30614 that have ↵Aimee Linden
snuck back in
2010-04-24Automated merge with ssh://hg.lindenlab.com/q/viewer-trunkAimee Linden
2010-04-24EXT-7005 : Kill unhelpful 'Deprecated conversion from string to char *' ↵Aimee Linden
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-23Add a way for plugins to send a message and block waiting for the responseMonroe Linden
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-28merge from PE's viewer-trunkTofu Linden
2010-04-28Compile error fix for missing description field in link_inventory_item.Loren Shih
2010-04-28automated mergeLoren Shih
2010-04-27DEV-49349 : AIS hides broken inventory links after a relogLoren Shih
inventory_and_asset_types_match is always true for links (i.e. links should not have to be a certain inventory type).
2010-04-27Small XML fix for Inventory Floater, which was obscuring the text showing ↵Loren Shih
the number of items fetched.
2010-04-27EXT-7109 : Ensure "Open" works for all types, change to "Open Original" for ↵Loren Shih
links Added new "Open Original" menu item for links, to clarify that you're opening the item the link is pointing to.
2010-04-27EXT-7076 : Allow "paste as link" for any itemLoren Shih
Changed llassettype dictionary table to enable linking to most item types.