Commit Graph

174 Commits (1c55d5cbb6d7a591ba7992b394ec93b0741bf2b7)

Author SHA1 Message Date
Tank_Master 1c55d5cbb6 Merge LL 3.3.2 release 2012-05-28 17:02:11 -07:00
Richard Linden 93aa231a18 EXP-1767 WIP Received Items panel state does not persist between sessions
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
2012-03-06 16:49:58 -08:00
Richard Linden 0fc6c5df96 EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
floaters given specified positions will stay in that location
floaters that stack will treat that as a specified position
moving any floater will switch to relative positioning mode
cleaned up some XUI where widgets were relying on a default height of 10 pixels
2012-02-24 16:54:54 -08:00
Tank_Master e61c20d499 Merge LL 3.3.1 Viewer Release 2012-04-26 17:31:35 -07:00
Richard Linden 6a6cf3aa78 EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once a vertical scrollbar is shown 2012-02-10 16:35:22 -08:00
Richard Linden f27ea1aff7 EXP-1181 WIP as a designer I would like to specify default floater positions using realtive coordinates
fixed build
moved conversion funcs to llwindow.cpp as they work on all platforms
refactored translateintorect to take overlap as parameter
2012-02-07 22:50:49 -08:00
Richard Linden d56be1f175 EXP-1181 WIP as a designer I would like to specify default floater positions using realtive coordinates
refactored LLCoord code to be templated, ultimately to support arbitrary conversions
2012-02-07 12:31:48 -08:00
Leslie Linden 50a8fb4d2e Merge with latest from viewer-experience 2012-01-12 10:58:12 -08:00
Richard Linden 3169f4a96f assert for updating views while drawing was too aggressive
made assert match actual error condition for list iterators

reviewed by Leslie
2012-01-11 10:19:11 -08:00
Nicky 52fc943c6d Merge up to 26312 / 0010858de5a1 (V/dev tip). 2012-01-27 18:29:47 +01:00
Leslie Linden 12819b6637 Latest from viewer-experience 2012-01-05 09:44:19 -08:00
Leslie Linden 9c8f6ba6a5 Modified CRASH assert to not occur in release mode per Richard 2012-01-04 17:37:57 -08:00
Leslie Linden 1c4474f894 Merge from viewer-experience 2012-01-04 14:06:36 -08:00
Richard Linden 3861249a74 use lazy deletion of views via die() method to avoid some potential crashes 2012-01-03 09:41:16 -08:00
Leslie Linden e860925818 Crash workaround when opening toats windows after a long session. 2011-12-07 15:03:45 -08:00
Nicky 6ef7838cd2 Merge up to 25972:7fceba778ee6 (V/Dev) 2012-01-17 21:15:06 +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
Dave Parks 8a8e9ccdb6 SH-2652 Don't allocate 6000+ strings every frame 2011-11-04 16:15:05 -05:00
Dave Parks e2b52009ea merge 2011-10-24 15:32:58 -05:00
Dave Parks f19f43c746 merge 2011-10-19 16:21:18 -05:00
Richard Linden bb3f1e3d7a EXP-1406 FIX Scrolling using mousewheel not working to scroll in inventory and people panels 2011-10-18 18:51:17 -07:00
Richard Linden 62d9db2f21 Automated merge with http://hg.secondlife.com/viewer-development 2011-10-15 18:14:23 -07:00
Dave Parks 984feefbec merge 2011-10-14 17:56:55 -05:00
Richard Nelson 9206226a37 tooltips now only show labels for toolbar buttons when label is hidden or truncated
tooltips are no longer instantaneous once a tooltip is visible
2011-10-12 18:16:59 -07:00
Richard Nelson 7fd0e8c69e fixed toolbar context menu
deprecated pointless LLView::deleteViewByHandle
2011-09-26 18:51:43 -07:00
Dave Parks bd02cdc75f merge 2011-09-26 19:27:10 -05:00
Nat Goodspeed ad9c28a269 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-26 15:44:21 -04:00
Dave Parks 7c95af74f1 SH-2243 work in progress -- application side matrix stack management 2011-09-14 16:30:45 -05:00
Nat Goodspeed 993dff2ea0 Fix new LLView::childFromPoint(recur=true) behavior: was always NULL.
The recursive logic always used to recur to the point where there were no
children -- where the next level of recursion returned NULL -- and then return
that NULL. Fix so when that lowest-level call returns NULL, we return one
level above that.
2011-09-12 23:06:43 -04:00
Richard Linden 72913ddf49 EXP-1196 FIX Fix param block template ordering 2011-09-08 22:35:53 -07:00
Andrew A. de Laix 2d19a20025 add getInfo to LLView to get state information about ui elements. 2011-09-08 09:46:04 -05:00
Richard Linden fef401a176 build fix 2011-09-06 16:05:03 -07:00
Richard Linden b183b6f141 EXP-1196 FIX Fix param block template ordering
changed ordering of template loading relative to constructor setting of params
moved a lot of constructor-set params to template files
reviewed by Leslie
2011-09-06 14:45:11 -07:00
Nat Goodspeed b59c0a6680 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-06 13:58:47 -04:00
Nat Goodspeed 71aec7439c CHOP-763: Introduce static LLView::getPathname(LLView*).
Use it for LLWindowListener to safely report an LLView* which might be NULL.
2011-08-30 15:22:44 -04:00
Andrew A. de Laix f08de06bf2 fix crash bug; exclude root from path. 2011-08-30 13:30:18 -05:00
Nat Goodspeed 6e8ba7e117 CHOP-763: Introduce LLView::getPathname(). 2011-08-30 09:53:43 -04:00
Nat Goodspeed f7a6ed85e4 CHOP-763: Add LLView::TemporaryDrilldownFunc to support UI injection.
Instead of unconditionally calling LLView::pointInView(),
LLView::visibleAndContains() now consults a class-static boost::function
called sDrilldown -- which is initialized to LLView::pointInView().
Introduce LLView::TemporaryDrilldownFunc, instantiated with a callable whose
signature is compatible with LLView::pointInView(). This replaces sDrilldown,
but only for the life of the TemporaryDrilldownFunc object.
Introduce llview::TargetEvent, an object intended to serve as a
TemporaryDrilldownFunc callable. Construct it with a desired target LLView*
and pass it to TemporaryDrilldownFunc. When called with each candidate child
LLView*, instead of selecting the one containing the particular (x, y) point,
it selects the one that will lead to the ultimate desired target LLView*.
Add optional 'recur' param to LLView::childFromPoint(); default is current
one-level behavior. But when you pass recur=true, it should return the
frontmost visible leaf LLView containing the passed (x, y) point.
2011-08-25 14:40:53 -04:00
Nat Goodspeed a548fd52e3 CHOP-763: Collect nontrivial LLView::childrenHandle*() methods.
There are 5 remaining childrenHandleSomething() methods with nontrivial bodies
-- the rest all forward to one of those 5. Move them all to be physically
adjacent in the source file to make it easy to compare/maintain.
2011-08-11 17:54:27 -04:00
Nat Goodspeed a44fb94af2 CHOP-763: Reduce redundancy in LLView::childrenHandle*() methods.
There were 13 different methods that were more or less clones of each other.
Consolidate those down to 5 variations on the basic method body, where each
variation has good (commented!) reason to differ.
Use helper methods to further simplify the remaining distinct method bodies.
Use BOOST_FOREACH() to improve readability of iterating over mChildList.
2011-08-11 17:41:54 -04:00
Leslie Linden b6685b5872 EXP-1065 FIX -- Inventory has slowed to a crawl. Clicking between items has an average one second delay. Same with switching between tabs.
* Removed numerous places in the code that called findChild across the inventory panel unnecessarily.
* Conglomerated uses of inbox and outbox inventory panels to the sidepanel class so the pointers can be cached and functionality like selection handling can be done more efficiently.
* Optimized LLView::childHasKeyboardFocus() to work backwards up from the focus object rather than searching for children that may or may not turn out to have focus.

Reviewed by Richard.
2011-08-08 15:13:53 -07:00
Richard Linden f09cabd4b0 EXP-970 FIX Group Roles > choose name causes other UI to become disabled 2011-06-30 16:15:10 -07:00
Loren Shih 037a83cd47 Automated merge up from viewer-development into mesh-development 2011-03-16 14:54:56 -04:00
Richard Linden 7cecf9ed8d SOCIAL-659 WIP Viewer crash when selecting report option from mini-inspector in minimal and standard skin
turned error into warning when removing non-existent child
2011-03-09 15:26:56 -08:00
Richard Linden 92403b4ea1 SOCIAL-593 FIX Profile Window cannot be resized in minimal skin
floater view snapping rectangle is now driven by floater_snap_region view
2011-03-02 21:05:03 -08:00
Loren Shih 618249155a Automated merge up from viewer-development 2010-12-13 10:08:55 -05:00
ziree 8bd0295f3d Performance tweaks: do not allocate strings where they can be const. Partly from davep, SH-2652. 2011-12-10 00:26:39 +01:00
Ansariel 0a14d57cdb FIRE-3798/STORM-1713: Linden Lab approved version of the fix for mouse cursor flickering when hovered over inworld objects 2011-12-08 18:20:08 +01:00
Ansariel ad4a87bb12 FIRE-3798 / VWR-27477: Cursor flashing on text entry & touchable objects 2011-11-22 19:18:47 +01:00
Tonya Souther 16aaaf07b8 GCC compilation fix. 2011-11-20 14:52:20 -06:00