Commit Graph

83 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Tofu Linden 6d08400145 EXT-3651 DEV-44500 Keyboard interaction does not work with Flash media
This change lets Linux pass keys through to Flash.
2010-02-09 18:19:35 +00:00
Tofu Linden c9b27bec33 EXT-4290 [Flash] On linux, youtube videos don't play unless its getting a mouse move event
use the proper cmake include() so glib is really found!
2010-02-09 15:56:34 +00:00
Tofu Linden b809b87136 EXT-4290 [Flash] On linux, youtube videos don't play unless its getting a mouse move event
restore part of this fix - glib-compatible Qt needs it, and flash needs a glib-compatible Qt.
2010-02-09 15:28:30 +00:00
Tofu Linden c920a71240 merge 2010-02-09 15:08:10 +00:00
Tofu Linden b0791c3001 Backed out changeset 0664cf2c9edf 2010-02-09 15:07:45 +00:00
Tofu Linden c66e9199a5 Backed out changeset b1c241040751 2010-02-09 14:52:13 +00:00
Tofu Linden 5abb6dece7 HACK HACK HACK to unbreak linux build while I wait for access to the new llqtwebkit code.
only affects linux.  may harm webkit functionality temporarily.  to be backed-out.
2010-02-09 14:00:33 +00:00
Monroe Linden 3699be5c45 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0 2010-02-05 18:38:16 -08:00
Monroe Linden 8b0ae67e73 Changed LLWindowWin32::getNativeKeyData() to use platform-specific names in the key data.
Changed MediaPluginWebkit::deserializeKeyboardData() to use platform-specific names when extracting the key data.  Also fixed a mac-specific issue where the arguments were reversed, which was causing flash apps to get bad keycode data.

Just pass 0 for the "native modifiers" param on windows, since it doesn't seem to actually have a native notion of a "modifier keys mask".  The Qt (non-native) modifiers should be good enough.
2010-02-05 18:23:16 -08:00
Tofu Linden 456bbdfa2f fix hook whine. 2010-02-05 09:03:09 +00:00
Tofu Linden f9f6f1958d EXT-4290 [Flash] On linux, youtube videos don't play unless its getting a mouse move event
This should be a lot better now.  But still not good overall.  Performance is now just bad instead of intolerable.
2010-02-05 09:01:58 +00:00
Callum Prentice 259fa5fd0b Merge with tip 2010-02-04 17:03:41 -08:00
Callum Prentice 80139d95ad added code to grab raw key codes from Win32 WPARAM and LPARAM and send to plugin
factored out keyboard message deserialization for media_plugin_webkit
new version of llqtwebkit with Girish's changes to keyboard and cursor handling code
2010-02-04 16:30:21 -08:00
Callum Prentice 9c608d4db5 Fix for DEV-45609 "CID-47 and CID-154 - bogus allocation/memset in Quicktime plugin"
(Fixed line endings for commit hook)
Reviewed by Rick.
2010-02-03 15:16:57 -08:00
Callum Prentice fea3e5ea76 Fix for DEV-45609 "CID-47 and CID-154 - bogus allocation/memset in Quicktime plugin"
Reviewed by Rick.
2010-02-03 15:13:19 -08:00
Tofu Linden c0422e1c6c CID-284
Checker: UNINIT_CTOR
Function: MediaPluginWebKit::MediaPluginWebKit(void (*)(const char *, void **), void *)
File: /indra/media_plugins/webkit/media_plugin_webkit.cpp
2010-02-03 19:06:06 +00:00
Monroe Linden a4aed31ad9 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0 2010-01-29 14:49:18 -08:00
Monroe Linden 572b8fc518 Changes to llqtwebkit keyboard event api.
Reference to new mac build of llqtwebkit (from revision 5e61bf24915f in https://hg.lindenlab.com/monroe/llqtwebkit-4.6).
2010-01-19 21:55:51 -08:00
Monroe Linden c3b8a84d3c Workaround for "Stop on Debugger()/DebugStr()" Xcode setting causing the webkit plugin to crash. 2010-01-19 14:31:27 -08:00
Monroe Linden fae9c8fe86 Added getNativeKeyData() function to LLWindow and LLWindowMacOSX.
Added an LLSD argument to LLPluginClassMedia::keyEvent() and LLPluginClassMedia::textInput() which contains the native key data.
Made LLViewerMediaImpl retrieve the native key data and pass it to keyEvent and textInput.
Added a native_key_data parameter to the text_event and key_event messages.
Made the webkit plugin extract the native_key_data parameter and pass it to the internal keyEvent() and unicodeInput() functions.
Fixed LLMediaPluginTest to match function signature change to LLPluginClassMedia::keyEvent().
2010-01-18 17:58:12 -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
Monroe Linden f119a86461 Fix for EXT-3069 (Media Browser lets you click on Back button on first page).
Fix was to have the webkit plugin clear the llqtwebkit history on the first real navigateComplete event.
2010-01-05 15:23:52 -08:00
Tofu Linden 005688984d turn off verbose logging on gstreamer media plugin. 2009-12-24 17:18:39 -08:00
Tofu Linden 4070f6636e more minor cleanup to the gstreamer plugin. 2009-12-24 16:57:53 -08:00
Tofu Linden 52c8ffaa49 Some tidy-ups to the gstreamer media plugin while I try to figure out where the black-frame-on-resize is coming from. 2009-12-24 16:53:54 -08:00
Tofu Linden 043407238a Final tidy-up for DEV-44502 (gstreamer scaling bug) -
I *think* this is a bit clearer.  Not awesomely so.
2009-12-18 15:33:52 -08:00
Tofu Linden ceda074b86 gstreamer plugin now does the 'right' thing wrt resizing downwards *and up to its natural size again*. Though I don't like the logic so I'll be rejigging it again next. 2009-12-18 15:10:24 -08:00
Tofu Linden 68b8831fd6 add PID to gstreamer plugin logging. 2009-12-18 13:47:57 -08:00
Tofu Linden 4102367297 minor improvements to gstreamer media plugin's logging. 2009-12-18 13:21:43 -08:00
skolb d5b53eb483 Merge viewer 2 into media 2009-12-18 10:54:16 -08:00
Tofu Linden d8a574ce57 DEV-43898 Enable Flash-on-a-prim on Linux. Yowza! 2009-12-17 17:43:31 -08:00
Tofu Linden b7ddd2e4fe Fix a code comment now that we enable NSAPI plugins under Darwin. 2009-12-17 17:05:04 -08:00
Monroe Linden 0084d969ae Added setInitState() function to use as a logging point. 2009-12-16 18:06:23 -08:00
callum 6cb3d25942 Merge with tip 2009-12-16 13:10:03 -08:00
callum b7747a815f Merge with tip before push 2009-12-15 17:53:03 -08:00
callum f923f896bc client changes to work with new version of Qt (4.6) and to do some cleanup at plugin exit so that cookies more betterer than what they did before. 2009-12-15 17:50:16 -08:00
Monroe Linden bf9609294f Enable plugins in the Mac build of the webkit plugin. 2009-12-11 10:43:23 -08:00
Tofu Linden 05e0d9d24a Re-disable a very spewy debug spew in the webkit plugin. Mea culpa. 2009-12-09 14:36:45 -08:00
Tofu Linden 197de032e1 DEV-43948 viewer2 is writing session data into the 'read-only' installation tree (mostly media stuff)
propagate the parent app's OSUserAppDir (i.e. ~/.secondlife/) all the way down to plugins, if they need persistant user data/settings (like the webkit plugin needs a place to put its cache).
2009-12-09 12:57:10 -08:00
skolb 7851819c88 local merge 2009-12-03 09:18:11 -08:00
bea@american.lindenlab.com 1973cdc4e6 Add Doxygen comments 2009-12-03 08:47:59 -08:00
bea@american.lindenlab.com 916720dd11 merge 2009-12-01 18:50:53 -08:00
bea@american.lindenlab.com 9026ac3264 Add Doxygen comments 2009-12-01 18:47:36 -08:00
Monroe Linden 1db0d32133 Partial fix for EXT-2904/DEV-43584 (Space bar and Enter/Return key don't work as input for checkboxes or buttons on MoaP).
This change forces space characters to go through the keyEvent() path instead of the unicodeInput() path, which makes the space bar work for setting checkboxes.  I still need to figure out what's going on with the enter key.
2009-12-01 18:27:09 -08:00
bea@american.lindenlab.com 8e3276ebf9 doxygen: exclude licensing comments 2009-11-30 14:53:31 -08:00
bea@american.lindenlab.com 199d42f274 doxygen: exclude licensing blurbs 2009-11-30 14:46:35 -08:00
Bryan O'Sullivan 699eac4ee3 Switch some files to Unix line endings 2009-11-18 17:52:03 -08:00
Eric M. Tulla (BigPapi) 3217887356 Merge of viewer2 into avp
--HG--
branch : avatar-pipeline
2009-11-17 17:58:17 -05:00
James Cook ccc72757ef Fix comment-in-comment that was breaking Mac build. 2009-11-16 22:25:40 -08:00