Commit Graph

127 Commits (e92d3dcf1013ab340fdef514b41ebf790f79e04c)

Author SHA1 Message Date
Richard Linden 84b179b0bf Automated merge with file:///F:\code\viewer-autobuild2010 2011-03-28 17:38:54 -07:00
Richard Linden a5572505d8 SOCIAL-509 FIX There is no way to copy a user name from web profile with the mouse 2011-03-24 19:37:00 -07:00
Paul ProductEngine 2453ccbd3e STORM-659 FIXED Viewer hangs when navigate in the Back/Fwd Teleport history by keyboard
Reason:
If user didn't set number of max scrollable items (msi) then msi = U32_MAX

Solution:
If user didn't set number of msi then number of scrollable items = number of items in menu.
2011-03-11 20:33:06 +02:00
Seth ProductEngine b48c003d60 STORM-387 FIXED Return key handling by Favorites bar overflow menu.
Pressing Return in Favorites bar overflow menu now acts as mouse double click, i.e. performs teleport to selected landmark.
2011-01-06 22:19:27 +02:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Richard Linden 5080a19afa EXP-230 FIX "elp" text flashes on and off in upper left corner of skylight viewe 2010-10-18 16:55:20 -07:00
Seth ProductEngine 401fdbcfac STORM-294 FIXED keyboard navigation in Favorites bar overflow menu.
The menu items can now be scrolled cyclically with a keyboard even if not all items are visible at once.
2010-10-13 00:54:57 +03:00
Monroe Linden 69215ae757 Fix for EXP-140 -- After logging into Skylight Viewer - User is required to click on Viewer window before using movement keys / flying
In LLMenuHolderGL::handleKey(), in the highlightNextItem() case, don't return true if highlightNextItem() did nothing.

Reviewed by Richard.
2010-10-04 18:21:08 -07:00
Richard Linden 3bab3fc661 fix for crash on exit
also made handle subtyping work
2010-09-29 15:02:32 -07:00
Richard Linden ee50f389fd made menus work with empty contents 2010-09-28 17:11:27 -07:00
Richard Linden c4cfd1df44 don't show empty context menus 2010-09-28 14:21:54 -07:00
Richard Nelson ad440a68bb merge 2010-09-27 09:46:20 -07:00
Richard Linden f8a17515f5 EXP-109 WIP strip down main_view.xml
made menu keyboard access only work when menus are visible
dummy widgets are now added with a parent view that is invisible
popupview can now be default-built
2010-09-22 12:27:26 -07:00
Boroondas Gupte 1b4ae0e053 merged VWR-20583 2010-09-02 19:34:26 +02:00
Boroondas Gupte 3e299ab764 VWR-20583 FIXED submenu indicators (▶ a.k.a. U+25B6) shouldn't be hard-coded
in context menu sub menu names

Use the same mechanism for adding the triangle in LLContextMenuBranch as
is already used in LLMenuItemBranchGL. As a bonus, the triangles will be
nicely right-aligned, just as in the main menu.

Remaining hard-coded triangles all are in indra/newview/skins/default/xui/*/panel_voice_effect.xml.
2010-09-02 18:29:42 +02:00
Tofu Linden 741d944c89 some follow-up for VWR-17801. 2010-09-01 16:51:53 +01:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Paul Guslisty ec06fa16ec EXT-8424 FIXED ([HARD CODED] ALL LANGS: \"More\" menu option is untranslated under Advanced menu (French viewer) > Shortcuts)
Set translated label from strings.xml

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

--HG--
branch : product-engine
2010-08-04 11:45:47 +03:00
Vadim Savchuk 45adf1d612 EXT-8501 FIXED Check menu items always looked as checked.
Reason:
Check menu items (instances of LLMenuItemCheckGL) had used LLUICtrl::getValue() to know whether they should draw the checkmark.
Recently this was broken when getValue() was overriden in LLMenuItemCallGL to return a string.

Fix:
Overriden getValue() in LLMenuItemCheckGL to return a boolean value, not a string.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/821/

--HG--
branch : product-engine
2010-07-29 17:48:41 +03:00
Alexei Arabadji a8632670db EXT-6739 FIXED Provided updating of object inspector gear menu 'Touch' and 'Sit' entries.
Details:
1 Provided using Object.EnableSit and Object.EnableTouch callbacks for both object menu and inspector gear menu. Now default menu item label stores in
hash map and since callback receives triggered control no need to hardcode updating menu item labels from callback.
2 Removed redundant attribute 'parameter' from menu xml's since now handler callbacks receives triggered menu item as function parameter.
3 Replaced LLObjectEnableTouch class with enable_object_touch function, since there no need on triggering callback on menu commit event.
4 Added symmetric method LLMenuItemGL::getValue().
5 Removed unused "Object.EnableGearSit" callback.

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

--HG--
branch : product-engine
2010-07-23 17:06:27 +03:00
Richard Linden 6e961cd9f2 EXT-7729 WIP LLWARNS: Tons of "Making dummy class..." warnings on startup
improved filename output for XUI parser errors
2010-06-22 18:26:29 -07:00
Alexei Arabadji a3d2d2be2a Automated merge with https://hg.productengine.com/secondlife/viewer-trunk/
--HG--
branch : product-engine
2010-05-17 09:54:54 +03:00
Alexei Arabadji 8bd31fa351 EXT-7085 FIXED Added check to avoid showing invisible menu items.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/388/

--HG--
branch : product-engine
2010-05-17 09:53:56 +03:00
Yuri Chebotarev f9dff766a8 EXT-7000 FIX "eat" TAB key while menu is active
Two problems:
1. AvatarList didn't hide popup menu when goes invisible.
2. (Real problem) MenuHolder View didn't process TAB key. Which leads to changing active ("focused") control. Which leads to the ability (for example) to switch tabs and hide popup menu parent view.

--HG--
branch : product-engine
2010-05-17 09:49:33 +03:00
Richard Nelson 7b4046df83 EXT-3531 - Ctrl-P does not work reliably on login 2010-04-01 11:47:21 -07: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
Leyla Farazha 2231da11dd EXT-4677 Crash when closing pinned menu which has no parent Inventory floater
Reviewed by Richard CC#118
2010-02-18 10:52:34 -08:00
Eugene Mutavchi 782cb6ee87 Fixed normal bug EXT-4702 (Elements of type context_menu cannot have font set in XUI xml)
--HG--
branch : product-engine
2010-02-05 17:09:22 +02:00
Tofu Linden 139e8be4e1 CID-339
Checker: UNINIT_CTOR
Function: LLMenuGL::LLMenuGL(const LLMenuGL::Params &)
File: /indra/llui/llmenugl.cpp
2010-01-28 10:28:41 -08:00
Tofu Linden 05260ba76d follow-up fix 2010-01-27 13:09:25 -08:00
Tofu Linden 668e72e290 CID-103
Checker: INVALIDATE_ITERATOR
Function: LLMenuGL::scrollItemsDown()
File: /indra/llui/llmenugl.cpp
2010-01-27 13:08:15 -08:00
Tofu Linden 706fd4d073 CID-103
Checker: INVALIDATE_ITERATOR
Function: LLMenuGL::scrollItemsDown()
File: /indra/llui/llmenugl.cpp
2010-01-27 13:06:26 -08:00
Tofu Linden 7efc0fbb4f EXT-4383 Replace ">" glyph in cascading menus with a proper triangle
patch by josh, reviewed by me
2010-01-15 12:41:51 -08:00
Mike Antipov 3c3271761b Merge with default branch, resolved conflict in llpanelavatar.cpp
--HG--
branch : product-engine
2010-01-12 12:53:44 +02:00
Runitai 2a00a16f57 EXT-3784 Fix for first menu item going blank when highlighted on ATI cards. 2010-01-11 11:21:52 -06:00
Vadim Savchuk 9393c28831 Merge from default branch.
--HG--
branch : product-engine
2010-01-11 12:57:42 +02:00
richard 1bbd259f2d EXT-3878 - Menus disappear when UI Size is < 1.00
EXT-3647 - Auto-scrolling of IMs should resume when user types in chat
EXT-3877 - Pinning two levels of menus prevents movement using arrow keys
EXT-1303 - Hyperlink text wraps in the middle of a word

reviewed by James
2010-01-06 11:17:38 -08:00
Yuri Chebotarev c0d189a3d1 fix for low EXT-2742 Invalid menu appearance after hiding navigation bar and/or favorites bar
actually that was designed behavior.

--HG--
branch : product-engine
2010-01-06 15:12:09 +02:00
Leyla Farazha 8e5b453ea0 EXT-3589 Favorites Appear Squished Together on Left Half of Favorites Bar
EXT-3602 	 Inventory > New Clothes sub menu not aligned
EXT-3631 	 Texture preview after upload > Image covers buttons
reviewed by James
2009-12-29 16:12:12 -08:00
Paul Guslisty dafd9e269f Fixed a memory leak in ContextMenu (EXT-3563).
--HG--
branch : product-engine
2009-12-25 17:18:51 +02:00
Nyx (Neal Orman) 1e922c2666 Automated merge with ssh://nyx@hg.lindenlab.com/viewer/viewer-2-0/ 2009-12-18 15:56:49 -05:00
Paul Guslisty 7cf60a0d57 Fixed normal bug EXT - 2863 ([BSI] Group Chat List Names right click do not contain view profile or send private message)
--HG--
branch : product-engine
2009-12-18 16:44:16 +02:00
Leyla Farazha ab93c0ffb5 EXT-3534 Default Location Obscures the Top of an Open Notecard When Nav and/or Favorites Bar are Hidden
EXT-3334 	 [BSI] Chat/IM log preferences not retained
EXT-3402 	 Replace "X" for checked menu items with a check mark glyph [Patch Included]
reviewed by richard
2009-12-17 16:15:46 -08:00
Leyla Farazha 27d6f0e49c EXT-3265 Gear menu on_visible params are broken - not setting visibility of menu items
EXT-2923 [BSI] My own inspector lists "Stand Up" as an option in gear menu, while I'm standing
2010-12-07 13:39:56 -08:00
Leyla Farazha dee4849616 EXT-2635 No message reminding user that a restart is required to reset cache (was Clear Cache)
EXT-2652 	 Favorites bar drop-down button (for when favorites exceed width of viewer) is not configurable via XUI
EXT-2227 	 [BSI] Preferences -> Setup -> Cache Location blank
EXT-1036 	 Clicking menu separators selects wrong menu option (allows selection of greyed-out option)
reviewed by James
2009-12-01 11:26:43 -08:00
richard 7fd1488c62 convert signals to allocate on demand in order to speed up widget construction
reviewed by James
2009-11-23 11:42:32 -08:00
richard 3b2d9f63e3 merge 2009-11-09 16:14:52 -08:00