Commit Graph

112 Commits (2bc4fb2bf0bef5adf709ef1fc90ba1bcdee7f8d0)

Author SHA1 Message Date
Ansariel 496156073b Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-12-16 18:56:31 +01:00
Ansariel 09d55793ac FIRE-24125: Add option to close all floaters of a group (Ctrl-Shift-W or Shift + click on X-symbol) 2021-11-29 14:23:18 +01:00
Ansariel 1536fdd1c3 Merge branch 'DRTVWR-530-maint' of https://bitbucket.org/lindenlab/viewer 2021-08-24 10:47:18 +02:00
Andrey Lihatskiy 8b5fe507a4 Merge branch 'master' into DRTVWR-530-maint 2021-06-25 01:02:15 +03:00
Andrey Kleshchev 416ad1831f SL-15340 The list of parcels is duplicated after reopening
1. Clean list before requesting
2. Don't trigger onOpen from menu if already open
2021-06-03 23:47:07 +03:00
Ansariel 6b71b19150 Merge branch 'DRTVWR-518-ui' of https://bitbucket.org/lindenlab/viewer 2021-05-31 10:20:00 +02:00
Andrey Kleshchev cb42bc2823 SL-15168 Viewer side functionality for guidebook window opening #2 2021-05-06 21:57:46 +03:00
Ansariel 618057fa04 Merge branch 'DRTVWR-518-ui' of https://bitbucket.org/lindenlab/viewer 2021-05-01 00:29:48 +02:00
Brad Payne (Vir Linden) 89bd426901 SL-14862 - use nested LLSD for widget info, condensed to the two leaf-most elements of the path. Simplified floater logging. 2021-03-10 16:23:20 +00:00
Brad Payne (Vir Linden) 48597039b2 SL-14862 - LLViewerStats logs which UI features get used 2021-02-11 15:29:20 +00:00
Ansariel d79b79fbe2 Merge viewer-ordered-shutdown 2019-10-19 03:16:10 +02:00
andreykproductengine c61d0f4297 DRTVWR-493 LLUI to LLParamSingleton 2019-08-10 15:31:03 +03:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Ansariel 7212613a8b Force correct window transparency at login (no floater as focus at login, but the viewer doesn't seem to get it right) 2015-12-04 14:57:46 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Tank_Master 8863d9beaf Compile fixes 2014-06-09 23:27:05 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Nat Goodspeed d2386652f8 CHOP-962: Make LLControlVariable::setPersist() accept only enum.
Initial change made LLControlVariable::mPersist an enum, but retained
bool/BOOL public API. setPersist(true) set one value, setPersist(false) set
another, forcePersist() set the third. Per code review, expose enum to public,
make setPersist() (and LLControlVariable constructor, and LLControlGroup::
declareControl(), and all the LLControlGroup::declareMumble() methods, and all
the unit-test dummy declareMumble() method bodies) accept that enum. Remove
forcePersist(). Fix calls to LLControlGroup::declareMumble() accordingly.
Also rename PERSIST_YES to PERSIST_NONDFT, also per code review.
2013-07-25 16:46:51 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Gilbert Gonzales 24e650b403 CHUI-835 (ctrl-h does not select nearby chat conversation in list): Modified setVisibleAndFrontMost() to now take a arguement for the key that was pressed (if one was pressed). This allows the floater to select the converation line item when becoming visible/frontmost. 2013-03-08 18:34:40 -08:00
Merov Linden 7f51bd7897 CHUI-568 : Fixed! Implemented Ctrl-H for Nearby Chat, taking into account the existence of other conversations and docked/torn off state 2013-02-23 11:22:09 -08:00
Merov Linden 86150b4019 CHUI-568 : WIP : Introduced Ctrl-T and Ctrl-H for conversations and nearby chat 2013-02-21 19:15:48 -08:00
Tank_Master 5a8d94c50f Merge LL 3.6.4 pass 1 2013-08-28 00:10:39 -07:00
Liny 516a406274 Fix LLFloaterReg::toggleInstanceOrBringToFront to work as documented and expected by bringing focus to un-focused floaters. 2013-08-07 21:34:32 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Tank_Master 14001c54df Gastly CHUI merge pass 1, don't count on anything to work. 2013-06-26 12:14:54 -07:00
Kitty Barnett a9ffc0120a Merged with default tip (Revision 13149a524874)
--HG--
branch : RLVa
2013-05-06 23:54:58 +02:00
Kitty Barnett e1b955226d Merged with viewer-sunshine tip (Revision bd1162cb6fbe)
--HG--
branch : RLVa
2013-02-11 23:04:05 +01: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
Tank_Master cc44316aed Merge LL 3.4.3,
Note: aligned some of our code with LL's, spcifically feature table, gpu table, texture fetching, and some rendering defaults behavior.
2012-12-18 00:36:35 -08:00
Richard Linden 5f90875a9e EXP-1181 FIX as a designer I would like to specify default floater positions using realtive coordinates
changed settings naming scheme for floater positioning so that related settings appear together in file
2012-03-16 17:52:28 -07:00
Richard Linden b9521a38f1 CHUI-59 FIX Floater stacking offset only occurs first time a floater is opened
changed stacking logic to attempt to stack against any floater that is cascade head
*or* in a cascade group
2012-03-14 15:00:48 -07:00
Tank_Master 1c55d5cbb6 Merge LL 3.3.2 release 2012-05-28 17:02:11 -07:00
Richard Linden fbfad41587 EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
store and load floater relative positions
2012-02-27 13:06:10 -08:00
Richard Linden 0c7e91205f EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
fixed bug where resizing window would cause stacked floaters to move relative to each other
renamed positioning enums to reflect the fact that they apply all the time now, not just when opening floaters
2012-02-24 16:57:12 -08:00
ziree 9074f752de Fix floaters losing rects if they weren't opened at all in that session. Fixes FIRE-5803 2012-03-27 20:39:15 +02:00
Kitty Barnett ddc6afdd81 Merged with default tip (Revision f8183e357a6f)
--HG--
branch : RLVa
2012-04-21 22:29:42 +02:00
Ansariel df7208f6a7 Purged deprecated, commented-out sidebar code 2012-03-12 20:07:39 +01:00
Kitty Barnett 79cdc3404e Merged with default tip 2012-03-10 21:43:13 +01:00
Kitty Barnett 6e0666adc3 Merged with RLVa-1.4.5 tip 2012-03-10 21:38:23 +01:00
Liny a88968796d Fixing LLFloaterReg::toggleInstanceOrBringToFront() to work how it is expected and focus the floater if it is not focused. 2012-03-07 11:10:24 -08:00
Kitty Barnett 84933b3c92 - fixed : various issues and enhancements relating to @showloc
-> general block on showing the "agent" and "create_landmark" side panel
    -> World / Place Profile isn't blocked/grayed out
    -> World / About Land isn't grayed out
    -> World / Region isn't grayed out
    -> "Add Landmark" on the Places / Gear menu isn't blocked/grayed out
    -> "Add Landmark" on the Places / Add menu isn't blocked/grayed out
    -> region name is visible on the world map
    -> don't gray out access to "About Land" if the user is allowed to see it

--HG--
branch : RLVa
2012-02-08 16:49:33 +01:00
Ansariel 6bfc76e739 Commented out sidebar specific modifications (marked with SIDEBAR_HACK) 2012-01-31 18:01:34 +01:00
Kitty Barnett 482c1abc12 - fixed : LLFloaterReg::toggleInstanceOrBringToFront() bypasses the blocked folder list and the validation signal
--HG--
branch : RLVa
2011-12-17 19:49:39 +00:00
Nicky 6958381112 Merge up to 26092/6ceebf5ce17b; Branch Chat-NearbyChat from catznip-3.2.0 (http:///bitbucket.org/Kitty_Barnett/catznip-3.2.0).
This will enable chat docking/undocking from contacts floater again.
2012-01-23 14:56:47 +01:00
Nicky 1714747536 After merge compare FS tree agsindt V/dev.
- Adjust whitespaces/include order to make FS source look as close to V/dev as possible.
- Include source in V/dev that's not in FS and comment it out with an annotation.
2012-01-18 19:04:59 +01:00
Nicky 161c1b019f Merge up from 24496 / a656486925e8 (FS tip) to 25952 / 931cb0061118 (V/Dev FUI tip)
Observations and broken stuff so far:
- LLSideTray is gone.
- LLBottomTray is gone.
- LLFloaterSnapshot was changed and gave lots of merge conflicts. Flickr upload will be broken.
- LLNearbyChat is derived from LLPanel now. That broke quite some stuff rearding autohiding and docking of chatbar.
- Profile floaters are gone and all web based now.
- Russian translation gave huge mere conflicts with the new russian xml files from LL. Unmergeable. I took the LL files.
- XUI files in general will need some love and testing.
2012-01-17 17:57:52 +01:00
Kitty Barnett 7781d8ea40 - fixed : clicking the "Chat" toolbar button doesn't close the nearby chat floater if it's hosted
--HG--
branch : Chat-NearbyChat
2011-11-23 21:09:31 +01:00