Commit Graph

131 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Mike Antipov 5e05d94f13 EXT-7548 FIXED Reset control variable for "Build" & "Map" buttons on destroy.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/517/

--HG--
branch : product-engine
2010-06-04 15:41:04 +03:00
Mike Antipov 785abfcf41 EXT-7516 FIXED Completely removed bottomtray's "Sidebar" button and related settings/functionality
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/474/

--HG--
branch : product-engine
2010-06-01 13:24:40 +03:00
Mike Antipov 4cc5c7d2a4 EXT-7379 FIXED Add save_visibility=true to search floater to enable interaction with Search button
Also added reset of floaters visibility on exit to emulate save_visibility=false

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

--HG--
branch : product-engine
2010-06-01 12:17:25 +03:00
Andrew Dyukov 097f9711f2 EXT-2260 FIXED Changed camera floater according to new style
- Implemented new widget- panel_camera_item, to use in camera floater. They are used inside of two panels.
Their order is configurable via XML. Mouse down callbacks and images which are used for selected and and unselected
items are also set in XML.
- Now there are only 3 buttons instead of four at the bottom of the floater- pan and orbit are now shown simultaneously.
- Implemented correct work of object view after moving from camera modes to presets list (and back). It wasn't
workin completely correct in old version of floater.
- Integrated new art.

Reviewed by Igor Borovkov at https://codereview.productengine.com/secondlife/r/436/

--HG--
branch : product-engine
2010-05-27 18:36:07 +03:00
Mike Antipov 751b141be0 EXT-7497 FIXED Made Build, Search, Map, Mini-Map and Sidebar buttons in bottomtray hidden by default.
Also declaration of all settings related to bottom bar buttons and custom chatbar width were moved from code to settings.xml
 to prevent issues with resetting of these settings between restarts.

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

--HG--
branch : product-engine
2010-05-27 17:33:56 +03:00
Mike Antipov 88820c843b EXT-7104 FIXED Removed bottom separator in the context menu over bottomtray buttons. Task implementation is already completed.
Also minor refactoring:
* updated removing of chatbar menu items
* removed useless instance members

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

--HG--
branch : product-engine
2010-05-25 11:13:30 +03:00
Mike Antipov c75225bcb9 EXT-7104 WIP Enable Build button and set necessary callbacks.
Because it is not enough to call showInstance for Build Floater it was implemented in a such way:
* set save_visibility==true in floater tools to update button toggle state properly and subscribe Build button to listen visibility changes
* added callback to observe parcel changing to set build button enabled/disabled.

KNOWN ISSUE:
if build permissions are changed button will not change state until restart/teleport

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

--HG--
branch : product-engine
2010-05-20 16:51:35 +03:00
Mike Antipov 12d9aef217 EXT-7104 WIP Added "Sidebar" button (disabled until callback is set)
* Added widgets into xml, added setting and listener for context menu
* added menu item to show/hide the button
* button is made as may be hidden on resize

Additional improvements:
* Updated method to process buttons width when it is necessary to show any button via context menu
* Updated LLBottomTray::initButtonsVisibility to not show warning messages if it is impossible to show a button due to bottom tray width on startup.

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

--HG--
branch : product-engine
2010-05-19 15:23:51 +03:00
Mike Antipov 5d4b48bbb4 EXT-7104 WIP Implemented a functionality to control the width of the chat entry field.
* LLResizeBar calls notifyParent on resizing before changing rect of view, bottomtray processed this notification to update other buttons.
* Had to move setup of buttons visibility on startup into LLBottomTray to ensure all buttons have necessary visibility BEFORE restore the width of the chat entry field;
* Updated layout between chatbar and speak button to show resize mouse pointer in the middle between them.

Implemented behavior: visible buttons shrink to their minimal width when the chat entry field gets wider.

Also were refactored:
* moved declaration of settings related to buttons visibility from the settings.xml to LLBottomTray.
* moved setting of control listeners to LLBottomTray.

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

--HG--
branch : product-engine
2010-05-19 15:23:51 +03:00
Mike Antipov 4b9b5c1d38 EXT-7104 WIP added 4 buttons to bottom tray, added "Show button" menu support.
* Added 4 buttons with tooltips:
 ** Build - Shows/hides Build Tools
 ** Search - Shows/hides Search
 ** Map - Shows/hides World Map
 ** Mini-Map - Shows/hides Mini-Map
* Made their width and minimal width the same as "Move" and "View" buttons (increased default total width of the bottom tray to make Layout Stack initialize its panels with default values from xml)
* Added appropriate menu items in context menu to Show these buttons in the bottom tray (with functionality)
* Set on click actions for this buttons. ("Build" temporary made disabled because default toggle registration is not enough for this floater.)

Dev Notes:
* Improved LLBottomTray::initResizeStateContainers to fill mObjectDefaultWidthMap using mStateProcessedObjectMap & mButtonsProcessOrder container
* Improved LLBottomTray::canButtonBeShown to process variable number of buttons that can be hidden on resize

QA Notes:
Resize behavior with new buttons can already be tested.

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

--HG--
branch : product-engine
2010-05-14 17:15:28 +03:00
Mike Antipov 5975650a8b EXT-7104 : WIP : improved processing of buttons to show/hide extend/shrink them. Functionality was not changed.
* added vector of buttons that can be shown/hidden extended/shrunk on resizing.
 * updated these operation to use iteration over this array.
 * cleaned up container initialization.

This allow to extend this vector to add new buttons in bottom tray.

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

--HG--
branch : product-engine
2010-05-13 16:49:59 +03:00
Mike Antipov 3040d68c26 EXT-7104 : WIP : bottomtray refactoring for future changes. Functionality was not changed.
* updated method related to resize logic to take references to S32 instead of pointer.
 * added doxygen comments for these methods.

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

--HG--
branch : product-engine
2010-05-13 15:14:30 +03:00
Mike Antipov 79332f4e3e EXT-7104 : WIP : Removed dummy icons between buttons may be hidden to simplify adding new buttons.
* removed dummy icons
* encreased width and minimal width of next to the left layout panels to icons' widths.
* removed code processed dummy icons

Reviewed by Vadim.

--HG--
branch : product-engine
2010-05-12 17:15:46 +03:00
Roxie Linden 8d8f167a4e automated merge with trunk 2010-04-19 16:24:05 -07:00
Mike Antipov 3a5ae14b85 Completed normal subtask EXT-6621 (Code cleanup: Remove unused LLFloaterActiveSpeakers and related classes from viewer)
* Removed llfloateractivespeacker.h/cpp from CMakeLists.txt and from the repo.
* Removed llmediaremotectrl.h/cpp, llvoiceremotectrl.h/cpp from the repo (were not in CMakeLists.txt).
* Unused in 2.0 setings ("ShowVoiceChannelPopup" & "ShowVolumeSettingsPopup") are moved to the end of settings.xml (to not affect 1.23 if remove).
* Removed xml files related to Active Speakers floater and old Communication floater (related cpp files have been already removed). Also removed their localized versions.
* Also removed old textures related to removed xml and unused in 2.0 anymore.

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

--HG--
branch : product-engine
2010-04-13 18:26:36 +03:00
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Roxie Linden 9523c70f9d DEV-45809 - Merge Second Life Enterprise changes into viewer 2.x trunk
Includes: DEV-45800, DEV-45803 - Grid Manager
DEV-45804 - SLURL refactor
DEV-45801 - Single username field (for Identity Evolution and SLE Ldap)
Also,
Includes Certificate Management code allowing the viewer to connect to
grids not signed by a well know key (just like any web browser).  Also
contains secure storage for things like passwords.
The security/certificate code is modular with the intention of adding modules
to directly use the operating system facilities for crypto if available.
(that's much more secure than we'll ever be)

Also, refactor of voice to modularize it, and add a diamondware voice module.
CR:  Aimee, James, Lynx, Mani, Karina and a list of thousands
2010-04-02 02:03:21 -07:00
Roxie Linden aa0a129b67 Automated Merge 2010-04-01 21:47:22 -07: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
Loren Shih fc49539b36 EXT-2959 : Full out camera functions from llagent to llagentcamera
First check-in; only compiles, nothing more.
2010-03-23 15:59:52 -04:00
Mike Antipov e40f221167 Fixed major bug EXT-5589 (Notifications button falls under side panel)
-- added usage of max_width from layout_panel xml param instead of hardcoded in code.

--HG--
branch : product-engine
2010-02-24 17:27:40 +02:00
Mike Antipov acc97bd55f Work on major bug EXT-5589 (Notifications button falls under side panel)
Applayed Eugene Mutavchi's patch:
-- removed min/max width params from xml <string> tags
-- "min_width" for nearby chat bar now is got from the an appropriate layout panel params
-- "max_width" for nearby chat bar is moved to constant.

--HG--
branch : product-engine
2010-02-24 16:41:28 +02:00
Tofu Linden f62821fadd conflict resolved. 2010-02-20 21:39:16 +00:00
Kent Quirk 64530c24c8 merge latest tweaks to viewer-hotfix; resolved conflict in llsearcheditor in favor of the one that does less processing 2010-02-20 15:04:21 -05:00
Kent Quirk f08ab41c3e Importing patch for EXT-5571 for Beta 3 release. Fix by Callum originally. 2010-02-20 13:11:25 -05:00
Eugene Mutavchi 0b8be887de Fixed low bug EXT-5568 (The Speak button label hides after bottom tray width decreased.)
--HG--
branch : product-engine
2010-02-19 19:51:07 +02:00
Monroe Linden 890ec637d4 Automated merge with ssh://hg.lindenlab.com/q/viewer-hotfix 2010-02-18 15:22:10 -08:00
richard 3af609b55c fixed some spacing munged by merge 2010-02-18 12:57:05 -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
Vadim Savchuk b53e60b857 Merge from default branch.
--HG--
branch : product-engine
2010-02-17 12:47:47 +02:00
Tofu Linden d2ef287e9c defensiveness added to 81fc7fe78ca6 / EXT-5376 2010-02-16 16:38:16 +00:00
Eugene Mutavchi 6a4aea4571 Fixed low bug EXT-5376(Gesture button has stripped label after unhide if it was hidden with stripped label)
--HG--
branch : product-engine
2010-02-16 18:17:22 +02:00
Vadim Savchuk a0cab8fde8 Fixed low priority bug EXT-5425 (Undocked 'Movement Controls' floater became docked after opening from 'World' top menu).
--HG--
branch : product-engine
2010-02-16 21:17:20 +02:00
Eugene Mutavchi 3f0762f65a Fixed normal bug EXT-4307 (There are no text context menues for Search text field and for IM text field)
--HG--
branch : product-engine
2010-02-04 20:40:30 +02:00
Eugene Mutavchi b2f0169a76 Fixed normal bug EXT-4627(Nearby Chat floater in Mouselook breaks ability to type & use gestures)
--HG--
branch : product-engine
2010-02-04 20:40:30 +02:00
Andrew Dyukov b52d2a2f1b Fixed normal bug EXT-4648 (Right segment of Speak button is disabled if nearby voice chat is disabled in estate).
- Added methods for separate enabling of left and right parts of speak button and used them instead of simply enabling/disabling LLSpeakButton in bottomtray.

- Made changes to reset() in LLCallFloater to show "no one near..." instead of "loading" in vcp for nearby chat in regions with disabled voice.

--HG--
branch : product-engine
2010-02-03 22:16:18 +02:00
Igor Borovkov f7594c713d fixed EXT-4737 Nearby chat edit field doesn't get focus after pasting
--HG--
branch : product-engine
2010-02-03 17:42:23 +02:00
Eugene Mutavchi d3eb0e9765 Fixed normal bug EXT-4697 (Buttons in bottom bar are compressed after quitting mouselook mode) and low bug EXT-4723 (Not all buttons are displayed on the bottom bar after leaving mouse look): - implemented the LLBottomTrayLite, which appears only in mouselook mode.
--HG--
branch : product-engine
2010-01-29 19:55:41 +02:00
Eugene Mutavchi 6cbcf63cb3 Fixed regression bug EXT-4487(Bottom bar context menu: no checkmarks)
--HG--
branch : product-engine
2010-01-21 14:35:21 +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
Eugene Mutavchi 88d9710a8c Fixed critical bug EXT-4419 ([BSI] pressing enter without local chat selected causes warning flood)
--HG--
branch : product-engine
2010-01-18 17:10:11 +02:00
Eugene Mutavchi 5b44c7c624 Related to EXT-4309, better commented onMouselookOut method
--HG--
branch : product-engine
2010-01-18 17:10:11 +02:00
Eugene Mutavchi 2b5f45c1aa Fixed normal bug EXT-4309 (Gesture button is too wide in the mouse look mode): added hack that avoid usage of the LLLayoutStack resizing logic on mouse look mode switching.
--HG--
branch : product-engine
2010-01-15 20:57:42 +02:00
Eugene Mutavchi 5eb5ab13ba Additional commit related to EXT-3988 ([BSI] superfluous bottom bar buttons shown in mouse look after pressing enter): added gesture button accessibility via TAB and open Gestures list by pressing ENTER/SPACE.
--HG--
branch : product-engine
2010-01-13 15:39:05 +02:00
Igor Borovkov 4f51ab8448 fixed EXT-3821 [BSI] New IMs are not added as tabs
--HG--
branch : product-engine
2010-01-13 14:27:15 +02:00
Eugene Mutavchi 8be80d14c1 Fixed normal bug EXT-3988 ([BSI] superfluous bottom bar buttons shown in mouse look after pressing enter)
--HG--
branch : product-engine
2010-01-11 19:12:19 +02:00
Igor Borovkov d07fd64b6f finished EXT-1912 Add handling restrictions of PSTN P2P calls in new IM Floaters
chiclets for avaline calls are not spawned anymore

--HG--
branch : product-engine
2009-12-23 14:40:52 +02:00