Commit Graph

151 Commits (fcb240792f0229edd6444e5b152f2022da649c2d)

Author SHA1 Message Date
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Mike Antipov d3d39b98aa EXT-8458 FIXED ensure that static pointer to instance of LLPanelStandStopFlying is always valid to prevent crash.
Consequences of root cause:
 Static pointer to LLPanelStandStopFlying in LLPanelStandStopFlying::getInstance() becomes invalid when the instance of the LLPanelStandStopFlying is a child of floater while it is destroying.
 Next usage of that pointed cause a crash.

Root Cause:
 1. LLFloater::closeFloater sets floater invisible and marks floater as "dead" but does not destroy it.
 2. But that instance was still in LLFloaterReg map. It is removed in LLFloater's destructor.
 3. So it was possible on low fps to get "dead" floater with LLFloaterReg, LLFloaterMove in this case.
 4. Then LLMortician deleted floater instance shown on previous step.
    Call of setVisible(false) from the LLFloater's destructor does not call overridden LLFloaterMove's method (which is expected behavior.)
    So, child panel LLPanelStandStopFlying was not re-parented to Main View and was destroyed with LLFloaterMove.
    That leaded to the "Top Reason" described above.

FIX:
1. Ensure that LLPanelStandStopFlying is not a child of LLFloaterMove on its destroying.
2. Synchronized removing of a floater instance from the LLFloaterReg when it is marked as "dead".

Note: both changes fixes this bug independently, but I included both of them into result patch to avoid similar but in the future.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/781/

--HG--
branch : product-engine
2010-07-20 15:17:46 +03:00
Richard Linden 7a54ce3cf6 EXT-7729 WIP LLWARNS: Tons of "Making dummy class..." warnings on startup
reviewed by Leyla
2010-06-22 13:42:55 -07:00
Richard Nelson e97cef4de9 EXT-7664 FIX Titles of all floaters are shifted down 2010-06-14 15:38:02 -07:00
Richard Nelson a1f21c968e EXT-7700 - Script error window shows [All Scripts] for every tab
reviewed by Mani
2010-06-07 16:49:06 -07:00
Richard Linden 71fe767d9a EXT-7590 FIX Modal alerts obscure any modal alerts that they spawn
the toast logic to set visibility on dialogs in reverse order was bringing older modal dialogs to the front
2010-06-01 18:28:46 -07:00
Richard Linden 2646eb8166 EXT-7557 - About Second Life > Credits does not open with scrollbar all the way at the top
also made floaters not update title label every time they are resized
2010-05-29 13:31:37 -07:00
Richard Linden 5921f2c14b EXT-7398 FIXED negative top/bottom coordinates do the wrong thing with topleft layout
reviewed by Leyla
2010-05-18 16:26:18 -07:00
Tofu Linden d071cff43f PE merge from PE's viewer-trunk 2010-04-13 10:19:05 +01:00
Tofu Linden 9fbe736774 (slightly hairy) merge from viewer-hotfix 2010-04-12 11:03:16 +01:00
Dmitry Zaporozhan ea45bc05d4 EXT-6733(normal) - Long title of voice popup notification is displayed out of window.
Fixed code calculating title buttons rectangle, LLRect::isValid() does not indicate uninitialized rectangle, as a result rectangle was not properly initialized and had negative width.
Fixed title width.

Reviewed by Mike Antipov - https://codereview.productengine.com/secondlife/r/194/

--HG--
branch : product-engine
2010-04-08 12:23:22 +03:00
Richard Linden 70bbcf7c2d EXT-5849 - crash in LLView::drawChildren()
added logging to help track down cause
2010-04-08 16:41:56 -07:00
Dmitry Zaporozhan 9ff6b6ecd1 Fixed low bug EXT-6444 - Long notecard titles continue under Locked and Help icons on title bar.
Changed the way floater title is reshaped. Calculations takes title buttons into account instead of using hardcoded values.

--HG--
branch : product-engine
2010-03-25 15:48:08 +02:00
Vadim Savchuk d3a606f832 Manual merge from default branch.
Resolved conflicts in llpanellandmarks.cpp.

--HG--
branch : product-engine
2010-03-24 18:04:26 +02:00
Tofu Linden e7d9999359 Merge from viewer-2-0 2010-03-23 14:08:11 +00:00
Paul Guslisty eb119c2268 Fixed low bug EXT-4081 (Lag Meter: Ctrl+W does not close floater)
- Set 'Close' text of tooltip instead of 'Close (Ctrl+W)' for close button of chrome floaters

Reviewed by Mike Antipov

--HG--
branch : product-engine
2010-03-23 14:09:38 +02:00
angela 3298ab474e fix line ending in file llfloater.cpp 2010-03-11 17:35:46 +08:00
angela fe8304ff49 merge 2010-03-11 14:10:37 +08:00
Richard Nelson 1e5fe95b1d EXT-6295 - Cannot log in with new account, TOS dialog does not load
reviewed by Mani
2010-03-10 18:20:18 -08:00
angela 0fe35e068f EXT-4684 Beacons are not shown when beacons floater is minimized 2010-03-09 15:59:27 +08:00
Richard Linden 931ff555bd merge 2010-03-05 14:46:00 -08:00
Richard Linden 69f9c0bcf9 WIP - replace top ctrl with LLPopupView 2010-03-03 19:37:41 -08:00
Ychebotarev ProductEngine cdb0911a78 fix for EXT-4469 Fast Timers: Minimize and Close icons do not work
--HG--
branch : product-engine
2010-03-03 11:39:45 +02:00
Richard Nelson 41a30a59fb initial work changing topctrl to popup layer 2010-03-02 14:21:58 -08:00
Mike Antipov 3fb3b9cf21 Merge from default branch
--HG--
branch : product-engine
2010-02-19 11:12:38 +02:00
Monroe Linden 890ec637d4 Automated merge with ssh://hg.lindenlab.com/q/viewer-hotfix 2010-02-18 15:22:10 -08:00
richard 7ed47f7225 fixed line endings 2010-02-18 13:58:57 -08:00
richard 876a764c4f EXT-5535 - Resize handles will move floater when reaching minimum size 2010-02-18 12:49:31 -08:00
richard 4175268172 Merge 2010-02-18 10:32:52 -08:00
richard 4514b57126 Backed out changeset: 744bd7c535fa 2010-02-18 10:29:56 -08:00
Dmitry Zaporozhan 2cf2fa6ad2 Fixed low bug EXT-5225 - Local chat doesn't go translucent when loses focus.
Added customizable background image overlay color to control background transparency. Default overlay color is White, as before.

--HG--
branch : product-engine
2010-02-18 18:28:13 +02:00
Dmitry Zaporozhan 619415a99a Moved shadow drawing code from draw to separate function(drawShadow) to make this code reusable.
--HG--
branch : product-engine
2010-02-17 15:32:00 +02:00
Denis Serdjuk 47162acede no ticket. Removing the hack from llfloater.This code is dangerous. It involved losing of topctrl in focusmgr and can cause strange bugs and problems.
--HG--
branch : product-engine
2010-02-02 14:49:58 +02:00
Ychebotarev ProductEngine 371885c373 fix for normal EXT-4810 Block hot-keys in mouse-look mode
--HG--
branch : product-engine
2010-02-02 14:35:37 +02:00
Tofu Linden 50bf40a631 CID-343
Checker: UNINIT_CTOR
Function: LLFloaterView::LLFloaterView(const LLUICtrl::Params &)
File: /indra/llui/llfloater.cpp
2010-01-28 10:30:57 -08:00
Ychebotarev ProductEngine 89449c3f38 fix for normal EXT-4035 Old sidepanel tab's text remains highlighted when switching to inventory sidepanel tab
--HG--
branch : product-engine
2010-01-21 15:17:44 +02:00
Ychebotarev ProductEngine e761c0ece7 fix for major EXT-4414 Floaters can be expanded over bottom bar
left<->top...:)

--HG--
branch : product-engine
2010-01-20 19:06:05 +02:00
Ychebotarev ProductEngine 82de841c52 merge
--HG--
branch : product-engine
2010-01-19 17:13:21 +02:00
Ychebotarev ProductEngine 4610e911c9 working on floaters rezise-position bugs: EXT-4414, EXT-2625
--HG--
branch : product-engine
2010-01-19 16:39:03 +02:00
Lynx Linden 188185803b EXT-4233: Display "?" button on torn-off floaters.
This involved tracking the torn-off state of a floater, which we
apparently weren't doing before. Also, making sure that we update
the title bar buttons when the floater changes torn-off state.
2010-01-15 12:37:56 +00:00
Lynx Linden e110524537 EXT-4233: Don't show help button on tear-off floaters.
The script error floater may be the only floater left that uses the
old-style tearoff functionality, but at least it should behave a
little better now in terms of help "?" buttons.
2010-01-14 14:30:40 +00:00
richard 3e5f5a2050 EXT-3444 Volume control slider appears in an odd location
reviewed by Leyla
2010-01-11 14:41:37 -08:00
richard daa4965fe0 renamed LLFastTimerUtil to LLFastTimer 2010-01-11 12:05:13 -08:00
richard eb228dcf3a fast timer performance tuning 2010-01-08 16:41:39 -08:00
Alexei Arabadji 6c48bb9f2d fixed EXT-3425 “Undocked floaters focus issue”,
made focus be passed to game area in case floater can't hold focus;

--HG--
branch : product-engine
2009-12-23 16:51:21 +02:00
richard 2b22831dd0 ext-3307 - nearby chat stays scrolled at bottom 2009-12-18 15:18:16 -08:00
richard c84b6a28a0 made setupParams do coordinate flipping and negative coordinate magic only for XUI-based params 2009-12-17 11:49:41 -08:00
richard d5a58c20a8 merge 2009-12-11 13:51:42 -08:00
richard 401a51cac1 note to get rid of hack 2009-12-11 13:50:54 -08:00
James Cook ae9ca1be63 EXT-3313 Media Settings window has no background if viewer is too short
Code to set default floater position to top-left was causing incorrect
floater height computation when floater XML specified a bottom coordinate.
Reviewed with Callum.
2009-12-11 10:56:49 -08:00