Commit Graph

55 Commits (ffe475e96e9cdd2bb3c66fd3ffeef2b4d64bc33b)

Author SHA1 Message Date
Richard Linden 325f16d0b4 fix for mac build and possible crash when responding to notification twice 2010-09-21 14:28:03 -07:00
Richard Nelson 71259fcccb EXP-77 FIX Pop-up warning flashes on and off even whan all popups are enabled in settings 2010-09-20 19:55:16 -07:00
Richard Linden 57c1845e2d clear popup notifications on navigate 2010-09-17 16:06:51 -07:00
Richard Linden 159fd0316a fix for enable all popups not working
also popup notification is no longer a singleton
2010-09-17 14:56:03 -07:00
Richard Linden 382877242a fixed build 2010-09-17 12:29:16 -07:00
Richard Linden f3cdc9b01d allow_popups is now driven by trusted content flag
trusted content is now a const attribute of LLMediaCtrl, set in constructor params
2010-09-17 12:16:07 -07:00
Richard Linden e66585aa4f EXP-74 FIX Pop-up warning given for links in Home Side Panel in Viewer
Reviewed by Callum
2010-09-17 11:47:13 -07:00
Richard Linden 2f233f3eb4 reverted mediaenablepopups to false by default (desired behavior)
always trigger popup notification and rely on ignore machinery to hide it
2010-09-16 17:59:12 -07:00
Richard Linden 57d4e7261d fixed build 2010-09-16 17:29:36 -07:00
Richard Linden f2a297a959 merge 2010-09-16 16:56:28 -07:00
Richard Linden d2a0327b6e popup blocking notifications now handled in all web_browser instances, not just llfloatermediabrowser 2010-09-16 16:29:53 -07:00
Monroe Linden d6f1f79ced Merge of popup-geometry code. 2010-09-16 13:29:35 -07:00
Richard Linden 387011a1ff EXP-29 WIP Implement popup blocking
added web popup notification overlay
2010-09-16 00:45:27 -07:00
Monroe Linden 531b77a948 Enable web popups to specify size and position of the Media Browser window from javascript.
This includes a Mac build of llqtwebkit from the following sources:

revision aacdf69cbf5aa12d77c179296e31ef643ed1ef4a of http://qt.gitorious.org/+lindenqt/qt/lindenqt (currently head of the 'lindenqt' branch)
revision 81ab5ae326f0 of http://hg.secondlife.com/llqtwebkit (currently head of the default branch)

Reviewed by Callum.
2010-09-15 14:39:42 -07:00
Monroe Linden 24f308caae Added support for a media plugin message that asks the viewer to open a file picker on the plugin's behalf.
Reviewed by Callum.
2010-09-10 16:43:35 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Monroe Linden a2657be578 Viewer side changes to support javascript window.close handling. 2010-08-17 17:56:54 -07: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
Richard Nelson bd20eddd4e EXT-8540 - Implement mime type override for web_browser ctrl
reviewed by Monroe
2010-08-02 14:52:09 -07:00
Monroe Linden 79f697ad51 Fix for EXT-5667 (support window.open() in shared media so google docs will work).
Moved the processing of clicks on _external and _blank targeted links from LLMediaCtrl to LLViewerMediaImpl.

Removed LLMediaCtrl::setOpenInExternalBrowser() since that functionality is available through the use of the _external target attribute in web content.

Removed LLMediaCtrl:: setOpenInInternalBrowser() since it was unimplemented and not used.

Made the webkit media plugin set llqtwebkit's window open behavior to WOB_SIMULATE_BLANK_HREF_CLICK.  This is #ifdefed out on Linux until we get a new Linux build of llqtwebkit.
2010-05-21 15:36:12 -07:00
Monroe Linden c1b29dfcc2 Fix for mac build error
"enumeration value 'MEDIA_EVENT_CLICK_LINK_NOFOLLOW' not handled in switch"
2010-03-08 15:29:28 -08:00
skolb f39a87ef83 https://jira.secondlife.com/browse/EXT-5884
Added code to support SLAPPS for Media on a Prim
Reviewed by Monroe and Callum via Code Collab (Review 143).
2010-03-08 14:54:19 -08:00
skolb 2a58e320cb https://jira.secondlife.com/browse/EXT-5884
Added code to support SLAPPS for Media on a Prim
Reviewed by Monroe and Callum via Code Collab (Review 143).
2010-03-01 18:08:00 -08:00
Palmer Truelson 54a95f706f merge 2010-02-23 17:19:58 -08:00
Palmer Truelson 7885748497 Turning back on Davep's ui optimizations. Backed out changeset 6c161782dba3 2010-02-23 17:08:06 -08:00
Palmer Truelson 660c3b182c merge 2010-02-12 21:05:09 -08:00
Palmer Truelson 651b14fcae Backed out davep's UI optimization. changeset 3134cb7bb181 2010-02-12 21:04:51 -08:00
Palmer 418504207b merge 2010-02-12 15:16:19 -08:00
Rick Pasetto f0c724f933 FIX EXT-4927: use internal browser when requested
Review #97
This hopefully fixes the incorrect behavior of using the external browser when the target is specified.
2010-02-05 13:28:42 -08:00
Dave Parks ff0271d632 merge 2010-02-04 23:43:13 -06:00
Dave Parks 979ddb2ec9 No more matrix ops in UI code. 2010-02-04 23:41:54 -06:00
Lynx Linden 98a4d472be EXT-4898: Changed English language code to "en" on Mac.
Now LLUI::getLanguage() returns a result that is consistent on Mac,
Windows, and Linux. Also, cleaned up some legacy language code.
2010-02-03 13:44:13 +00:00
Rick Pasetto 420430b8f5 PARTIAL FIX EXT-3491: only bring up "external browser"notification if target is external or pref is set
Review #86
This changes the logic to bring up the notification "Do you want to open your Web browser to view this content?" only if either the target is _external, or the user pref says to. Otherwise it avoids the notification.
2010-01-22 14:00:34 -08:00
Lynx Linden 507ccd52a9 EXT-3624: Support "_blank" href target types.
Support href links in web views that have a target attribute set to
"_blank". This will open the link in the user's preferred browser
(internal or external, as defined in Prefs). This change relies on the
new llqtwebkit package that has just been pushed.

Also updated the hardcoded Qt version number in the About floater.
2010-01-14 11:57:03 +00:00
Monroe Linden 3b2697cb93 Fix for black/grey look at login screen and backspace going back in search/help windows. This should address EXT-4097.
Added a notion of "background color" to LLViewerMediaImpl and LLPluginClassMedia.
Added background color parameters to the size_change message.
Webkit plugin now sets the background color of the instance from the supplied background color, and navigates to a data: url with that background color instead of about:blank as its initial navigate.
Webkit plugin now no longer waits for the first onPageChanged event
LLViewerMediaImpl now clears the texture to the background color when initializing it.
Made LLMediaCtrl fill with its opaque background color when the media impl isn't set up yet.
Removed the initial data URL from the search and help floaters, since what it was doing is now handled internally by the new background color code.

Reviewed by callum and rick.
2010-01-11 17:54:05 -08:00
Mark Palange (Mani) 04dd4216be EXT-3778 Fixed handling of url passed in on cmd line.
The url from the cmd line was being overridden by the LoginLocation setting. (my bad!)
Removed unnecessary llurlsimstring.h includes.
2009-12-31 14:04:05 -08:00
Monroe Linden 1f377c6b53 Made LLPanelLogin tell the browser plugin to clear its cache before opening the login screen.
Added clearCache() functions to LLViewerMediaImpl and LLMediaCtrl to facilitate this.
2009-12-17 11:10:03 -08:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -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 d2fe3e8089 merge 2009-11-17 14:37:55 -08:00
Monroe Linden 27a555e443 Hopefully the final fix for DEV-42800 (white flash at login).
Reinstated the hide_loading parameter to LLMediaCtrl, and made it cause LLMediaCtrl::draw() to early-exit between creating the LLViewerMediaImpl and receiving the initial MEDIA_EVENT_NAVIGATE_COMPLETE.
2009-11-16 17:53:18 -08:00
richard b38ca5ec32 fix for UI scale != 1.0 breaking edit tools, web browser, world view rect, etc. 2009-11-16 15:47:45 -08:00
Monroe Linden 376deff7a3 Changes to match new version of llqtwebkit -- passing modifier keys through to most user events and using new scroll wheel event. 2009-10-23 14:28:21 -07:00
Monroe Linden c1583be773 Fix for DEV-41542 (hitting Tab at google login on MoaP inserts a character into the password field).
Moved some special-case handling from LLMediaCtrl::handleKeyHere/handleUnicodeCharHere to LLViewerMediaImpl::handleKeyHere/handleUnicodeCharHere so that the key handling for LLViewerMediaFocus gets the benefit of it as well.
2009-10-21 17:34:07 -07:00
Monroe Linden 451e5b7174 Fix for a "case not handled in switch" due to the addition of MEDIA_EVENT_NAME_CHANGED. 2009-10-15 18:58:03 -07:00
brad kittenbrink 146e084af3 Merged in latest svn-imports-viewer-20 changes. 2009-10-07 16:12:56 -07:00
Jiao Li 4f353dd3e7 DEV-39245 cannot tab through the MoaP Media Settings UI 2009-10-06 08:30:29 +00:00