Commit Graph

161 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Tofu Linden bbfc0e4719 CID 424
Checker: UNINIT_CTOR
Function: LLDragDropWin32Target::LLDragDropWin32Target(HWND__ *)
File: /indra/llwindow/lldragdropwin32.cpp
2010-02-10 16:52:26 +00:00
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 08b4d7edf1 restore trivial llwindowsdl code improvement.
p.s. previous commit comment should have read 'hopefully trunk-UNbreaking' :)

and this overall mergeset is work towards:
EXT-3651 DEV-44500 Keyboard interaction does not work with Flash media

... although on linux this does not actually help yet.
2010-02-09 15:10:08 +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
Monroe Linden d321c6aa98 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0 2010-02-08 15:43:07 -08:00
Tofu Linden 0ff9f7f711 Try to fix coverity build; the media drag-and-drop code introduced an ole32 dep into llwindow. 2010-02-08 16:43:24 +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 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 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
Rick Pasetto 9430b8de65 dos2unix these files 2010-02-01 16:29:52 -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
Rick Pasetto df69302cd2 Add restoring of previous cursor to mac impl
http://codereview.lindenlab.com/273045
2010-01-12 11:31:07 -08:00
Rick Pasetto b06d655727 Add cursor-change override while dragging on the mac
This changes the setCursor() call in LLWindowMacOSX to be ignored if we're
currently dragging via the OS

http://codereview.lindenlab.com/273045
2010-01-11 18:44:00 -08:00
Rick Pasetto e31d695247 get rid of commented-out code 2010-01-08 15:11:15 -08:00
Rick Pasetto 1500e90ecc Make sure mac build honors compile-time flag that en/disables OS drag and drop.
Also fixed the cmake file to properly set LL_OS_DRAGDROP_ENABLED.
2010-01-08 15:11:03 -08:00
Rick Pasetto 8944bc36ed Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/ 2010-01-08 14:12:15 -08:00
richard 3a0b948bb3 merge 2010-01-07 18:38:28 -08:00
Rick Pasetto 31b0e51de9 DEV-44527 EXT-3650 : change the mapping of '/' on windows
reviewed by callum, sam, monroe
2010-01-07 15:29:49 -08:00
Callum Prentice e57f6a5cee Fix drag and drop for windows. Makes Win32 state machine behave more like Mac. 2010-01-07 14:21:57 -08:00
richard 9e0e4153ca EXT-3994 - Mouse wheel zoom on 2nd monitor unexpectedly works if pointer...
reviewed by Mani
2010-01-07 13:49:55 -08:00
Rick Pasetto 4a92f49e7b Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0 2009-12-10 09:28:47 -08:00
James Cook aa2cdcfeef merge 2009-12-07 13:22:20 -08:00
James Cook 7ff7709f9f Expose window minimize and restore in LLWindow interface.
Add secondlife:///app/login/reg handler for Reg-In-Client
Reviewed with Ambroff
2009-12-04 17:33:36 -08:00
Rick Pasetto 4c33c54ce0 Fix windows build to now use DragNDropAction instead of a bool 'drop' 2009-12-03 19:02:12 -08:00
Monroe Linden fe0b027d4d Added the LLWindowCallbacks::DragNDropAction enum, and made the mac implementation and the cross-platform window callbacks use it (instead of 'bool drop').
This will break the windows impl until someone fixes it to match.
2009-12-03 17:40:58 -08:00
Monroe Linden bfe66526c8 Rewrote LLWindowMacOSX::handleDragNDrop() to use pasteboard manager instead of old, busted scrap manager to extract the data. Also fixed a mouse coordinate issue that caused drag tracking to be off. 2009-12-03 17:01:58 -08:00
Rick Pasetto ff53d4ff9b Fix Windows build based on API change to handleDragNDrop() 2009-12-03 12:19:02 -08:00
Rick Pasetto c272582ab7 Change API to no longer include slurl argument (its a platform-agnostic policy), add some code (not working yet) to implement DND on the mac 2009-12-03 11:48:28 -08:00
Loren Shih 99179a0195 Remove targeted swear word. We don't need Mozilla to know that we think they're ****ers.
--HG--
branch : avatar-pipeline
2009-12-03 10:27:05 -05:00
callum e2e7d544b6 Added support for dropping SURLs onto viewer
Does right thing when logged in - needs some work at login page
Removed (commented out) WM_DROPFILES code for now
2009-11-24 20:20:53 -08:00
callum 8d84b7ae40 Add support for changing OS cursor when mouse passes
over a prim you can drop on versus one you can't.
2009-11-24 18:31:30 -08:00
Rick Pasetto 0b9aa79570 merge 2009-11-23 17:20:08 -08:00
Monroe Linden 8f451be20e Change to fix DEV-43230 (Japanese input methods don't work with the web browser plugin on the Mac.)
Inside LLWindowMacOSX::allowLanguageTextInput(), tell the Text Services Manager to put up its own UI for input methods if language text input is being disallowed.  This means that the non-inline UI will come up when when entering text in a browser plugin instance with an interactive text input method selected.
2009-11-20 17:12:46 -08:00
Rick Pasetto 0627d550f3 Automated merge with ssh://rick@hg.lindenlab.com/rick/viewer-2-0-rickcallum/ 2009-11-19 09:29:08 -08:00
Rick Pasetto d4ba73ed72 Fix merge error 2009-11-19 09:24:26 -08:00
callum 4419e367bc Add support for removing the Windows specific drag/drop code
from the codebase via a new CMake file (DragDrop.cmake).
2009-11-18 21:15:44 -08:00
Rick Pasetto 522651f208 Merge with remote 2009-11-18 11:34:15 -08:00
callum 778005a350 Reworked IDropTarget COM interface impl - now much cleaner and doesn't crash! 2009-11-13 17:43:55 -08:00
Rick Pasetto bf5ce0fcbd Change 'handleDrop()' API to 'handleDragNDrop', which now takes a "drop" BOOL 2009-11-12 11:06:29 -08:00
Rick Pasetto 270629a3fe merge from remote repo 2009-11-05 09:27:10 -08:00
Tofu Linden 42e4e37666 trivial dead code removal. 2009-11-05 13:31:17 +00:00
callum 996740607a Convert screen coordinates from IDropAction to window coordinates. 2009-11-03 09:33:21 -08:00
callum 66ce1b0429 Added CMake file for new cpp/h file 2009-11-02 15:05:38 -08:00
callum caa631bf5b Added IDropTarget interface. Still lots of cleanup but this works ok.
You can drag over from Firefox or IE onto a prim
2009-10-27 17:52:04 -07:00
Rick Pasetto eba6d0236f Backed out changeset: 57dc52edbbc9 2009-10-21 16:01:52 -07:00
Rick Pasetto 7135537435 Backed out changeset 60da2fc952a0 2009-10-21 11:15:46 -07:00
callum 2528d3a75f Test code to allow drag/drop of *file* (not URLs) into the viewer Window - Will not be pushed to main repository - only committed so I can bundle my changes and share 2009-10-21 11:01:11 -07:00
Mark Palange (Mani) 3e10fa4d51 merge from latest svn/viewer-2-0 to hg/viewer-2-0 2009-10-16 16:42:45 -07:00