Commit Graph

133 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Alexei Arabadji 07678ad2db EXT-7121 FIXED Added check is IM window visible to avoid blinking and changing IM well button background when IM window isn't visible.
--HG--
branch : product-engine
2010-05-14 10:11:49 +03:00
Eugene Mutavchi 5acf8a5f13 Fixed normal bug EXT-6807(Object's chicklet shows context menu for bottom bar)
- moved the common code (menu stuff handling) from LLIMP2PChiclet, LLAdHocChiclet, LLIMGroupChiclet to their parent LLIMChiclet
 - added popup menus to LLInvOfferChiclet and LLScriptChiclet (notice that just the closing menu item was added because these chiclets are not connected with IM sessions.)
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/254/

--HG--
branch : product-engine
2010-04-20 16:52:32 +03:00
Mike Antipov 4f20b91acd Fixed normal bug EXT-5973 (converstations button flash count and rate needs to be controllable)
Made flashing count and period for IM Well and Notification Well icons configurable via viewer settings: WellIconFlashCount, WellIconFlashPeriod.
Due to Flash Timer is implemented as derived class from EventTimer it is impossible to change period in runtime. So, both settings are made as required restart.

Also removed deprecated "flash_to_lit_count" & "flash_period" widget params.

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

--HG--
branch : product-engine
2010-04-13 10:55:00 +03:00
Mike Antipov 67a7112a7c Completed normal task EXT-3397 (Hide well buttons if there are no active IM sessions and unresolved notifications)
* Implemented hiding of bottom tray's wells if there are no active IMs or unresolved notifications (via LLBottomTray::notifyParent)

* Also refactored initializing code to init a pointer to a chiclet panel and map with bottomtray parts in postBuild BEFORE initializing start wells' visibility.

For now minimal viewer width when all buttons are still visible (and have non-truncated labels in the 'EN' locale) with opened sidetray is 1041 px; with short Speak button (without text label) is 990 px. (with implemented patch in https://codereview.productengine.com/secondlife/r/126/)

Each well button takes 37 px (with a padding). So, they can free up to 74 px when invisible.

reviewed by Vadim at https://codereview.productengine.com/secondlife/r/136/

--HG--
branch : product-engine
2010-03-30 17:42:05 +03:00
Alexei Arabadji 2d0ca224ea fixed EXT-6472 “No indication about new message/offer if IM window is open but not in focus”,
allowed to increment IM message counter when IM window is opened but doesn't have focus and reset IM counter when IM window get focus;
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/76/

--HG--
branch : product-engine
2010-03-19 17:27:54 +02:00
Dmitry Zaporozhan d2d6af3dfa Fixed critical bug EXT-4970 - Inventory offers by scripted objects are discarded when offered objects got the same name.
Had to do minor refactoring of LLScripFloaterManager in order to fix this issue.

--HG--
branch : product-engine
2010-02-08 18:06:41 +02:00
Tofu Linden ec0dd8968c Update the rest of the LLEventTimer users to #include lleventtimer.h. I think. 2010-02-06 19:19:07 +00:00
Dmitry Zaporozhan 20e9e6b57e Fixed normal bug EXT-4907 - Two voice indicators are displayed in chiclets bar after making second
voice call

--HG--
branch : product-engine
2010-02-05 11:46:34 +02:00
Denis Serdjuk 4b9abb162c fixed minor bug EXT-3941 Quick clicks on chiclets are treated as double clicks
Handling of mouseDown event was delegated to chiclet's button.
Also double callback was connected with onMouseDown handler to ride from missed click behavior.

--HG--
branch : product-engine
2010-01-27 18:05:46 +02:00
Alexei Arabadji 74429f2ed9 fixed EXT-3670 “Clicking on IM session in IM session well closes IM floater”,
implemented exclude sets for groups of transient floaters, now transient floaters not closes if user click on view from global exclude set or from floater group set;
made IM floater goes foreground if it visible but not focused instead hide floater;

--HG--
branch : product-engine
2010-01-22 13:42:52 +02:00
Mike Antipov 7f61cde331 Reducing include dependence from the "llspeakers.h" through "llimview.h" (following by the 7d600b529ee8 commit)
--HG--
branch : product-engine
2010-01-20 23:28:57 +02:00
Alexei Arabadji 3324c736d7 fixed EXT-4515 “Crash when ending an IM session”,
corrected chiclet destroying;

--HG--
branch : product-engine
2010-01-20 15:41:48 +02:00
Alexei Arabadji bde7830bf5 fixed EXT-4478 “Memory leak in LLChicletPanel”,
added destroying chiclet on chiclet panel item remove event;
made LLIMChiclet destructor virtual;

--HG--
branch : product-engine
2010-01-19 17:58:17 +02:00
Dmitry Zaporozhan 862ca3fa16 Fixed major bug EXT-4206 - Bottom bar spec calls for button background art on IM Chiclets.
--HG--
branch : product-engine
2010-01-19 12:42:33 +02:00
Alexei Arabadji 7aa96279fe fixed EXT-4219 “Chiclets list autoscrolls after clicking on a chiclet”,
avoided redundant rearranging of chiclet panel;

--HG--
branch : product-engine
2010-01-15 17:34:11 +02:00
Mike Antipov a7690df8b9 Code cleanup: removed stab implementation of Voice Control Panel
--HG--
branch : product-engine
2009-12-30 17:48:53 +02:00
Denis Serdjuk 8da7889400 fixed bug EXT-3722 New IM & Notification buttons can be clicked on, even when there's nothing to see
Note:
It was decided to  handle  an enabling of buttons from syswellwindow according to his empty state

--HG--
branch : product-engine
2009-12-30 17:37:45 +02:00
Dmitry Zaporozhan bb2ad27f46 Update for low task EXT-3451 - Code cleanup: Get Rid of Magic constants in LLChicletPanel::Params::Params (move into widget xml).
Removed hardcodes.

--HG--
branch : product-engine
2009-12-26 17:55:05 +02:00
Dmitry Zaporozhan ad76bebf6f Implemented low task EXT-3634 - Create widgets for IM chiclets (P2P, GROUP, ADHOC).
--HG--
branch : product-engine
2009-12-26 17:35:03 +02:00
Andrew Dyukov bed1ec4525 Fixed minor bug EXT-2929 ([BSI] Context menu on chiclets should not have
"show session" enabled when chiclet window is visible).

--HG--
branch : product-engine
2009-12-25 22:21:58 +02:00
Dmitry Zaporozhan 5d5d9ee7fa Fixed low sub task EXT-3451 - Code cleanup: Get Rid of Magic constants in LLChicletPanel::Params::Params (move into widget xml).
--HG--
branch : product-engine
2009-12-25 14:38:49 +02:00
Mike Antipov a1528c4559 Fixed normal bug EXT-3678 ( IM well button becomes "unlit" after starting voice session)
-- do nothing in Wells in case the same count of unread messages comes.

--HG--
branch : product-engine
2009-12-24 15:06:48 +02:00
Yuri Chebotarev 3defdaa007 fix for EXT-2881 Enough space to place 5 chiclets without arrows in bottom bar when voice indicator isn't shown
--HG--
branch : product-engine
2009-12-23 13:01:34 +02:00
Mike Antipov c4d684d462 Fixed major bug EXT-3572 (Notification Well button becomes "lit" after resolving any notification)
-- set "new messages" state only if count of unread messages is increased.

--HG--
branch : product-engine
2009-12-21 15:14:56 +02:00
Yuri Chebotarev 77c9772551 merge
--HG--
branch : product-engine
2009-12-21 12:16:56 +02:00
Yuri Chebotarev 2fd6bb4b59 fix for low Task EXT-2881 Enough space to place 5 chiclets without arrows in bottom bar when voice indicator isn't shown
change whole chicklet arranging.

--HG--
branch : product-engine
2009-12-21 12:11:26 +02:00
Andrew Polunin 05898105c8 fixed major bug EXT-3586 IM well button shows \"9+\" if number of unread IMs is more than 9
--HG--
branch : product-engine
2009-12-19 20:00:46 +02:00
Eugene Mutavchi 216726dd23 Implemented major sub-task EXT-3524 (Context menu for IM well)
--HG--
branch : product-engine
2009-12-18 18:41:14 +02:00
Vadim Savchuk 0b835fe160 Fixed Linux build.
--HG--
branch : product-engine
2009-12-18 16:33:58 +02:00
Dmitry Oleshko f3a92bfc17 implemented major task (EXT-3354) Add "unread message" counters for IM sessions in the IM well window
- IM Well Window's chiclets now have counters and count IMs from 1 to "99+"
- IM Well Window's items can resize on appearance of chiclet's counter or speaker indicator

--HG--
branch : product-engine
2009-12-18 15:58:37 +02:00
Eugene Mutavchi 5f237f8559 Implemented major sub-task EXT-3525 (Context menu for Notifications well)
--HG--
branch : product-engine
2009-12-18 14:01:18 +02:00
Igor Borovkov 2fc7c967a4 corrected IM well counter EXT-2884 Initiation of a voice call should not bring text chat (p2p, ad-hoc, group)
Now IM Well counter displays unread messages calculating it based on chiclets instead of displaying unread messages across all IM Model

--HG--
branch : product-engine
2009-12-17 19:07:01 +02:00
Mike Antipov 5eb82cdeaa Work on task EXT-3147 (Implement new states for message indicators)
-- Implemented requirement: Opening either Message Well will clear the "new messages" state (and thus the "lit" status),
 even though there may still be unread messages

--HG--
branch : product-engine
2009-12-15 18:56:38 +02:00
Mike Antipov eccc3ed597 Work on task EXT-3147 (Implement new states for message indicators)
-- fixed bug: Well icon leaves in "Unlit" state if new message arrives when it is in the "Lit" state while flashing
Improved behavior of reversing Lit/Unlit states

--HG--
branch : product-engine
2009-12-15 16:41:52 +02:00
Mike Antipov 40a10565ac Work on task EXT-3147 (Implement new states for message indicators)
-- Code recactored for future implementation of "Opening either Message Well will clear the "new messages" state (and thus the "lit" status)"

--HG--
branch : product-engine
2009-12-15 15:40:13 +02:00
Mike Antipov 72032eb886 Improvements for normal task EXT-3147 (Implement new states for message indicators)
-- Fixed: wells should flash every time new message arrives even if "new message" state is already set
 -- Also fixed: Well leaves in 'Lit' state if incomeing notification is resolved while flashing to the "Lit" state

--HG--
branch : product-engine
2009-12-14 12:18:28 +02:00
Alexei Arabadji 5e0bd59c61 synchronized creation of notification chiclet and notification window to avoid skipping notifications from notification window;
--HG--
branch : product-engine
2009-12-11 12:13:52 +02:00
Dmitry Zaporozhan b24cbb3633 Implemented normal task EXT-3194 - Object chiclets should be accessible in the IM well.
--HG--
branch : product-engine
2009-12-09 17:48:18 +02:00
Mike Antipov ff87f87fa6 Fixed line endings to Unix format
--HG--
branch : product-engine
2009-12-09 09:58:32 +02:00
Mike Antipov 00212e98d6 Fixed Linux Build
--HG--
branch : product-engine
2009-12-08 17:38:07 +02:00
Mike Antipov 8bfdaebc80 Completed normal task EXT-3147 (Implement new states for message indicators)
-- Implemented flashing to 'Lit' [N] times. Also added configurable period of flashing.

--HG--
branch : product-engine
2009-12-08 16:18:21 +02:00
Mike Antipov 7348fbb69a Completed normal task EXT-3147 (Implement new states for message indicators)
-- Implemented 4 states of button by its background images via force Pressed state. They are:
	--- xml attribute           Description
	--- image_unselected        "Unlit" - there are no new messages
	--- image_selected          "Unlit" + "Selected" - there are no new messages and the Well is open
	--- image_pressed           "Lit" - there are new messages
	--- image_pressed_selected  "Lit" + "Selected" - there are new messages and the Well is open

--HG--
branch : product-engine
2009-12-08 13:24:37 +02:00
Mike Antipov d4cfcfc7ce Work on EXT-3147 (Implement new states for message indicators)
-- added possibility to show "99+" when unread messages count exceeds 99

--HG--
branch : product-engine
2009-12-08 11:14:00 +02:00
Yuri Chebotarev d252d1d57d merge
--HG--
branch : product-engine
2009-12-07 17:02:54 +02:00
Yuri Chebotarev 48803059de EXT-2989 Chiclet overlaps the voice indicator of another chiclet
see comments for details

--HG--
branch : product-engine
2009-12-07 17:01:07 +02:00
Mike Antipov 0445b02f35 Work on normal task EXT-3148 (Implement updating of the IM Well message counter). Completed
-- added updating count of unread messages in IM Well counter while closing any session.

--HG--
branch : product-engine
2009-12-07 14:39:34 +02:00
Mike Antipov 4880959567 Aditional changes for normal task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
-- moved Notification well specific functionality from the "LLSysWellChiclet" into derived "LLNotificationChiclet" class

--HG--
branch : product-engine
2009-12-07 13:52:35 +02:00
Mike Antipov 660d818348 Work on normal task EXT-3148 (Implement updating of the IM Well message counter)
-- added new member in session stored count of unread messages from real participant and its updating
 -- added new method to IM Manager to caclculate total count of unread messages from real participants in all stored sessions
 -- added updating count of unread messages in IM Well counter

--HG--
branch : product-engine
2009-12-07 13:40:57 +02:00
Mike Antipov 69cd9ac98b Completed normal task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
-- created IM Wel icon
 -- functionality is moved from the base class into appropriate classes (for Notification & IM Well windows)

--HG--
branch : product-engine
2009-12-04 18:31:57 +02:00
Vadim Savchuk abb23ff312 Manual merge from default branch.
--HG--
branch : product-engine
2009-12-02 18:17:51 +02:00