Age | Commit message (Collapse) | Author |
|
|
|
The changeset above touched every consumer of the two LLRegistrySingletons
originally defined with std::type_info* as keys. Those two
LLRegistrySingletons were changed to use const char* as keys, then all
consumers were changed to pass std::type_info::name() instead of the plain
std::type_info* pointer -- to deal with the observed fact that on Linux, a
given type might produce different std::type_info* pointers in different load
modules. Since then, Richard turned up the fascinating fact that at least some
implementations of gcc's std::type_info::before() method already accommodate
this peculiarity. It seems worth backing out the (dismayingly pervasive)
change to see if properly using std::type_info::before() as the map comparator
will work just as well, with conceptually simpler source code.
This backout is transitional: we don't expect things to build/run properly
until we've cherry-picked certain other pertinent changes.
|
|
Although LLRegistry and LLRegistrySingleton have always defined a COMPARATOR
template parameter, it wasn't used for the underlying map. Therefore every
type, including any pointer type, was being compared using std::less. This
happens to work most of the time -- but is tripping us up now.
Pass COMPARATOR to underlying std::map. Fix a couple minor bugs in
LLRegistryDefaultComparator (never before used!). Specialize for const char*.
Remove CompareTypeID and LLCompareTypeID because we now actively forbid using
LLRegistry<std::type_info*, ...>; remove only known reference
(LLWidgetNameRegistry definition).
|
|
Back out code that selects LLTypeInfoLookup for the underlying map
implementation when KEY = [const] std::type_info*, because LLTypeInfoLookup's
API is changing to become incompatible with std::map. Instead, fail with
STATIC_ASSERT when LLRegistry's KEY is [const] std::type_info*.
Fix all existing uses to use std::type_info::name() string instead.
|
|
|
|
|
|
|
|
|
|
- Requested permissions are added dynamically to the dialog's footer
- And the footer is not shown when it is empty
|
|
- Added new tag called "footer" to the notification. This tag allows to display messages under the buttons in toasts.
- Created new class LLToastScriptQuestion for the "ScriptQuestionCaution" notification. This notification supports tag <footer>.
|
|
|
|
don't auto position other floater when it is hosted
|
|
|
|
|
|
|
|
|
|
|
|
IM in 2.x/3.x)
- Now tabs are closed with Ctrl+W as expected
|
|
become centered in viewer when object is built or viewer resized
always initialize mPosition
|
|
|
|
previous settings exist from old viewer
|
|
previous settings exist from old viewer
|
|
|
|
previous settings exist from old viewer
only write back floater positioning information generated from legacy saved rect after reading any new
floater positioning info
|
|
|
|
|
|
using realtive coordinates
changed settings naming scheme for floater positioning so that related settings appear together in file
|
|
|
|
previous settings exist from old viewer
apply relative positioning to floaters that are loaded with rects specified from earlier viewer
|
|
|
|
horizontal scroll bar hides last item in folder view.
Added a scroll container which provides the information about the height of currently displayed folder view contents. It is used for updating vertical scroll bar visibility in inventory panel.
|
|
read latency
|
|
changed stacking logic to attempt to stack against any floater that is cascade head
*or* in a cascade group
|
|
|
|
|
|
|
|
|
|
immediately
|
|
added get/setTargetDim() for managing layout_panel size even if its collapsed/invisible/etc
|
|
ensure that layout stack has updated its layout before manually resizing one of its elements
(which was causing the manual resize to be stomped on by the newly triggered layout update)
made layout stack animation occur even when layout stack not visible (inventory will appear in proper open/closed state)
LLView::setShape() now only calls handleReshape() when dimensions change
removed extraneous calls to LLLayoutStack::updateClass() so that it should be called only
once per frame now, allowing it to limit animation updates to layout stacks to one per frame.
fixed rendering glitches arising from reshaping LLFolderView while in the middle of its draw() method
|
|
|
|
|
|
appear off screen until user repositions the floaters manually
|
|
|
|
|
|
|
|
|
|
appear off screen until user repositions the floaters manually
|
|
EXP-1919 FIX Resizing viewer window with minimized floaters can result in floaters appearing off screen when un-minimized
|
|
positions using relative coordinates
store and load floater relative positions
|