Commit Graph

317 Commits (ce5baf14ac62ecd3bf471e1b49a4e166310ebe1a)

Author SHA1 Message Date
simon 64c5afa196 Merge latest viewer-release with FBC 2013-10-23 14:14:36 -07:00
maksymsproductengine 63cc379c72 MAINT-3270 FIXED crash in LLControlCache<unsigned int>::LLControlCache: Control named RenderAutoMuteFunctionsnot found 2013-10-04 02:50:50 +03:00
Merov Linden 56038ded51 ACME-745 : Fix : Do not oversanitize the logged URLs... 2013-07-25 19:35:10 -07:00
Merov Linden 9b5104b3b5 ACME-734 : Fix : Continue to log but just skip the query parts 2013-07-19 19:32:53 -07:00
Merov Linden 652ec2feee ACME-734 : Suppress the green https experiment, prevent logging urls when skipping history, allow temporary url for display purposes 2013-07-19 17:47:58 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Dave Parks 5d34ac552f Automated merge with https://bitbucket.org/lindenlab/viewer-development 2012-11-20 17:03:55 -06:00
Kelly Washington b014d949d7 MAINT-1275 [SECURITY] Web session tokens saved in SecondLife.log
reviewed with Simon
2012-10-25 10:53:58 -07:00
Nat Goodspeed 3653727e7f Introduce new LLDir::findSkinnedFilenames() method. Use as needed.
In a number of different places, for different reasons, the viewer wants to
load a UI-related file that might be overridden by a non-default skin; and
within that skin, might further be overridden by a non-default language.
Apparently, for each of those use cases, every individual developer approached
it as an entirely new problem, solving it idiosyncratically for that one case.
Not only is this a maintenance problem, but it rubs one's nose in the fact
that most such solutions consider only a subset of the relevant skin
directories.
Richard and I evolved an API intended to address all such cases: a central
LLDir method returning a list of relevant pathnames, from most general to most
localized, filtered to present only existing files; plus a couple of
convenience methods to specifically obtain the most general and most localized
available file.
There were several load-skinned-file methods (LLFloater::buildFromFile(),
LLPanel::buildFromFile() and LLUICtrlFactory::createFromFile() -- apparently
cloned-and-modified from each other) that contained funky bolted-on logic to
output the loaded data to an optional passed LLXMLNodePtr param. The trouble
is that passing that param forced each of these methods to subvert its normal
search: specifically for that case, it needed to find the baseline XML file
instead of the localized one. Richard agreed that for the intended usage
(reformatting XML files) we should use XML schema instead, and that the hacky
functionality should be removed. Remove it. Also remove
LLUICtrlFactory::getLocalizedXMLNode(), only used for those three special cases.
Some callers explicitly passed the optional LLXMLNodePtr param as NULL. Remove
that.
Remove LLFloaterUIPreview::displayFloater(save) param, which relied on the
optional output LLXMLNodePtr param. Make onClickSaveFloater() and
onClickSaveAll() emit popupAndPrintWarning() about discontinued functionality.
Recast LLFloater::buildFromFile(), LLPanel::buildFromFile(),
LLUICtrlFactory::createFromFile(), LLNotifications::loadTemplates(),
LLUI::locateSkin(), LLFontRegistry::parseFontInfo(),
LLUIColorTable::loadFromSettings(), LLUICtrlFactory::loadWidgetTemplate(),
LLUICtrlFactory::getLayeredXMLNode(), LLUIImageList::initFromFile(),
LLAppViewer::launchUpdater() and LLMediaCtrl::navigateToLocalPage() to use
findSkinnedFilenames(). (Is LLAppViewer::launchUpdater() ever called any more?
Apparently so -- though the linux-updater.bin logic to process the relevant
command-line switch has been disabled. Shrug.) (Is
LLMediaCtrl::navigateToLocalPage() ever used?? If so, why?)
Remove LLUI::setupPaths(), getXUIPaths(), getSkinPath() and
getLocalizedSkinPath(). Remove the skins/paths.xml file read by setupPaths().
The only configuration it contained was the pair of partial paths "xui/en" and
"xui/[LANGUAGE]" -- hardly likely to change. getSkinPath() specifically
returned the first of these, while getLocalizedSkinPath() specifically
returned the second. This knowledge is now embedded in findSkinnedFilenames().
Also remove paths.xml from viewer_manifest.py.
Remove injected xui_paths from LLFontGL::initClass() and
LLFontRegistry::LLFontRegistry(). These are no longer needed since
LLFontRegistry can now directly consult LLDir for its path search. Stop
passing LLUI::getXUIPaths() to LLFontGL::initClass() in LLViewerWindow's
constructor and initFonts() method.
Add LLDir::append() and add() methods for the simple task of combining two
path components separated by getDirDelimiter() -- but only if they're both
non-empty. Amazing how often that logic is replicated. Replace some existing
concatenations with add() or append().
New LLDir::findSkinnedFilenames() method must know current language. Allow
injecting current language by adding an LLDir::setSkinFolder(language) param,
and pass it where LLAppViewer::init() and initConfiguration() currently call
setSkinFolder(). Also add LLDir::getSkinFolder() and getLanguage() methods.
Change LLFLoaterUIPreview's LLLocalizationResetForcer helper to "forcibly
reset language" using LLDir::setSkinFolder() instead of LLUI::setupPaths().
Update LLDir stubs in lldir_stub.cpp and llupdaterservice_test.cpp.
Add LLDir::getUserDefaultSkinDir() to obtain often-overlooked possible skin
directory -- like getUserSkinDir() but with "default" in place of the current
skin name as the last path component. (However, we hope findSkinnedFilenames()
obviates most explicit use of such individual skin directory pathnames.)
Add LLDir unit tests for new findSkinnedFilenames() and add() methods -- the
latter exercises append() as well.
Tweak indra/integration_tests/llui_libtest/llui_libtest.cpp for all the above.
Notably, comment out its export_test_floaters() function, since the essential
LLFloater::buildFromFile(optional LLXMLNodePtr) functionality has been
removed. This may mean that llui_libtest.cpp has little remaining value, not
sure.
2012-10-10 14:57:43 -04:00
Richard Linden ed137f40d1 fix for cached controls in media sorting 2012-02-09 11:40:55 -08:00
Richard Linden 41bc3eded9 EXP-1880 WIP Update Media affects framerate even when Media is disabled. 2012-02-09 11:32:40 -08:00
Richard Linden e854db0645 EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local Chat
EXP-1854 FIX Text positioning in mini inspector a couple pixels too low
2012-02-03 19:04:36 -08:00
Leslie Linden 90b8fb07cc Merge with latest from viewer-experience 2011-12-12 16:13:23 -08:00
Richard Linden 29570bdc96 Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience 2011-12-09 10:13:02 -08:00
Richard Linden dd9263d017 Automated merge with http://hg.secondlife.com/viewer-development 2011-12-08 11:02:00 -08:00
Richard Linden 494005c66e toned down spammy error message when slplugin isn't working 2011-12-07 11:49:50 -08:00
Leslie Linden a255fadfab Updated to trigger a 'get' to establish marketplace session cookie when outbox panel created. 2011-12-06 11:19:58 -08:00
Oz Linden f54caff1e4 merge changes for storm-591 2011-12-06 13:52:26 -05:00
Leslie Linden 5918913063 First pass at connecting to the new marketplace API 2011-12-05 13:37:37 -08:00
Leslie Linden 837e4e5165 Merge with viewer-experience 2011-12-05 09:36:41 -08:00
Richard Linden 4d5a571da4 made slplugin less spammy when it fails to launch 2011-12-02 11:03:09 -08:00
Oz Linden b69be18d7b merge changes for vmrg-193 2011-11-24 06:56:57 -05:00
Leslie Linden 9740887b90 Build fix from bad merge 2011-11-14 14:40:58 -08:00
Leslie Linden 2f55effd25 Merge 2011-11-14 11:29:02 -08:00
Richard Linden b2fffa74f7 Automated merge with http://hg.secondlife.com/viewer-development 2011-11-10 10:58:11 -08:00
Oz Linden 6b516b7a6c merge changes for vmrg-182 2011-11-08 15:59:50 -05:00
Oz Linden 89b75e7531 merge changes for vmrg-181 2011-11-08 15:07:45 -05:00
Richard Linden a507fc259b finished removing remnants of media browser 2011-11-07 15:04:53 -08:00
Dave Parks 8a8e9ccdb6 SH-2652 Don't allocate 6000+ strings every frame 2011-11-04 16:15:05 -05:00
Xiaohong Bao 6c9227df13 fix for SH-2559: [crashhunters] crash in LLPluginMessage::generate()
discussed and reviewed by callum.
2011-11-02 13:31:51 -06:00
Vadim ProductEngine 65e144d9fe STORM-1580 WIP Initial commit for PO review. 2011-11-02 19:05:13 +02:00
Jonathan Yap 5663f41a7a STORM-591 Fix minor merge error regression 2011-10-28 17:54:42 -04:00
Jonathan Yap 4cdf396125 STORM-591 As a music fan, I want audio to fade in gently so my immersion is increased
Co-written with Robin Cornelius
2011-10-28 17:48:24 -04:00
callum b94f45db81 Merge with head 2011-10-28 11:01:11 -07:00
Richard Linden d08d018323 moved zoom factor management to llviewermediaimpl 2011-10-27 13:39:19 -07:00
Leslie Linden f01aa16298 Merge from dd repo 2011-10-26 13:59:22 -07:00
callum 343562889e EXP-1471 WIP Add support for zooming web pages by a scale facxtor 2011-10-25 19:34:05 -07:00
Leslie Linden 3ce63ffea3 * Updated to no longer perform user_status marketplace query for DD.
* Fixed setting to always display the inbox inventory panel.
2011-10-07 12:28:01 -07:00
Leslie Linden 5af39ea28b EXP-1169 FIX -- No synch error icon given on Outbox on Agni where API does not exist
* Moved marketplace URL related functions into a new file llmarketplacefunctions.cpp/h.
  This will the future home of more marketplace-related functions.
* Disabled sync button when the marketplace API is unavailable.
2011-09-16 11:46:37 -07:00
Leslie Linden 10d92237ad * Re-enabling outbox 2011-09-15 16:39:46 -07:00
Leslie Linden 4ad3676985 Disable merchant outbox context menu 2011-09-08 12:09:43 -07:00
Leslie Linden 78821c51a1 Merge from viewer-experience 2011-09-07 13:58:19 -07:00
Leslie Linden b18390f0f8 * Disabling outbox for now. 2011-09-06 13:27:19 -07:00
callum 0bf3ee7fa7 EXP-1111 FIX LLQtWebKit (and related media system) should log events, progress etc. to make debugging problems easier 2011-08-26 17:27:15 -07:00
Leslie Linden 7b09592bf9 EXP-840 FIX -- Create outbox panels to help the user get started on the marketplace and to indicate drag and drop targets.
EXP-858 PROGRESS -- Outbox sync failure error handling
EXP-908 FIX -- Hide outbox when appropriate
EXP-1062 FIX -- Add modal dialog for outbox sync complete
EXP-1096 FIX -- Extra space below Received Items panel for an account that does not have a Merchant Account setup, no outbox display
EXP-1104 FIX -- User can activate Merchant Outbox synch button when outbox is empty

* Added separate class for outbox view to support error tag rendering
* Added confirmation for sync complete.
* Added different outbox messages for empty outbox, non-merchant and error: merchant but no outbox
* Progress on a bunch of other fronts.
2011-08-19 16:20:29 -07:00
leslie@leslie-HPz600.lindenlab.com 45bf1debaa * Fixed up outbox UI alignment to match inbox
* Added outbox item count to outbox button title
* Updated sync loading indicator to keep moving until http request complete
* Updated outbox panel display to use user_status http get response
* Removed inbox/outbox folder name hack from LLInventoryPanel
2011-08-02 13:12:39 -07:00
Leyla Farazha 5cf4d63a82 attempting to do the outbox import 2011-07-29 17:06:40 -07:00
Leyla Farazha 9b1174243d EXP-932 Implement system that fades from login page to (either) intro screen or loading screen instead of using a hard cut
EXP-938 Turn off in-world audio until fade from intro/loading page complete
EXP-939 Fade from intro/loading page to world, not to image of last login
2011-07-19 17:25:02 -07:00
Leslie Linden 8e9fd4bdf2 EXP-985 FIX -- Always show Inbox panel if "Received Items" folder exists
The presence of the inbox folder now forces the "Received Items" folder to be visible.
The same logic applies to the outbox as well.

Reviewed by Richard.
2011-07-07 12:58:06 -07:00
Leyla Farazha e443dd3aab EXP-944 Add additional logging for troubleshooting EXP-930 - DD inbox not showing on linux viewer 2011-06-29 15:21:10 -07:00