Commit Graph

75 Commits

Author SHA1 Message Date
Karl Tomlinson
c733bc0e16 b=750961 disable motion hints to avoid gdk_event_request_motions unless on Maemo r=roc
--HG--
extra : rebase_source : 8f688b33d050a9d972da13aaf49607f300138f63
2012-05-03 18:23:31 +12:00
Masayuki Nakano
093f5c5462 Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt 2012-05-03 17:35:02 +09:00
Karl Tomlinson
47da1662bc b=634719 schedule event dispatch in response to GTK drag end signals to avoid running the event loop at unexpected times and dispatch leave events in the right order r=roc
--HG--
extra : rebase_source : 32b86a8d4bc691bf3c1f2d9e1ca13eab68fa4810
2012-04-19 18:18:31 +12:00
Karl Tomlinson
93c7e9aad7 b=634719 don't start a new source drag session until the previous has completed r=roc
--HG--
extra : rebase_source : 1165a447cf141b5ec34446e6e95ab66f815168f7
2012-04-19 18:18:31 +12:00
Karl Tomlinson
8b437d0f6b b=497498 remove nsIDragSessionGTK r=roc
--HG--
extra : rebase_source : a8029599d50bfff6ca10cce73a35fb8854e868ab
2012-04-19 18:18:31 +12:00
Karl Tomlinson
fddba909e3 b=497498 move nsWindow::UpdateDragStatus to nsDragService::UpdateDragAction r=enndeakin
--HG--
extra : rebase_source : e8198557c42f804cbe7ef758c8d8048af45722ec
2012-04-19 18:18:31 +12:00
Karl Tomlinson
657ea8347a b=497498 move drag event dispatch logic from nsWindow to nsDragService r=roc
--HG--
extra : rebase_source : ec52cbad0d1efff13c989e8b5061f7fc3445b92b
2012-04-19 18:18:31 +12:00
Karl Tomlinson
c42f5a3887 b=497498 schedule event dispatch in response to GTK drag target signals to avoid running the event loop at unexpected times r=roc
--HG--
extra : rebase_source : 881ad7c0efa85174347059a9f53b3a5bd4c76696
2012-04-19 18:18:31 +12:00
Karl Tomlinson
3eb6a4c206 b=634719 Add a helper to get the nsDragService r=roc
--HG--
extra : rebase_source : cd811aee525b1675b47573e313f6804112d78ef0
2012-04-19 18:18:31 +12:00
Masayuki Nakano
326e6e544d Bug 630811 part.5 Support new modifiers on all events derived from nsInputEvent on GTK r=karlt 2012-04-25 12:00:02 +09:00
Masayuki Nakano
5c0d118456 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
17ae5c5619 Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt 2012-04-25 12:00:01 +09:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Karl Tomlinson
0d6f2d98e5 b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc
--HG--
extra : rebase_source : 4c6d856abbe49913b74da4d9640d47a9870c2210
2012-04-17 13:00:26 +12:00
Karl Tomlinson
ba7e2025e9 b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc
--HG--
extra : rebase_source : 418991e220b53a3254179bf45e18ab90a1124dff
2012-04-17 13:00:26 +12:00
Karl Tomlinson
5955358679 b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc
--HG--
extra : rebase_source : 7bddb51489d329bbe403228bf15306a896823749
2012-04-17 13:00:26 +12:00
Karl Tomlinson
a66251d4aa b=497498 split drag event dispatch code from GTK signal handling methods r=roc
--HG--
extra : rebase_source : f8d7a93c9ca2f11fdc46587585aec6fb0bcfd091
2012-04-17 13:00:26 +12:00
Karl Tomlinson
5801cc535a b=497498 use a helper method for dispatching destination drag events r=roc
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9753a6327c b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson
fbf048a9c1 b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson
6e0ef1cb87 b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson
3e422a68cc b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson
d1cd3772d7 b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9e9a905e64 b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00
Karl Tomlinson
bda2de7104 b=497498 Only dispatch drop events when canDrop has been set via dragover and only indicate successful drop when the drop is sent r=enndeakin
--HG--
extra : rebase_source : deb15db236d3e1cd2880e056090e1caff59af0d5
2012-04-04 16:29:55 +12:00
David Rajchenbach-Teller
6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
f8c8184e2b Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
b219309fc2 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
David Humphrey (:humph)
e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Veeraya Pupatwibul
344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Martin Stransky
f17eaa1441 Bug 496653 - Command line option --class <WM_CLASS> does not work, use MOZ_WM_CLASS workaround. r=karlt 2012-03-27 19:17:35 -04:00
Jonathan Kew
f28a975637 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Steven Michaud
758348974b Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek. 2012-03-12 15:13:14 -05:00
Simon Montagu
1859439b74 Recognize Ctrl-Q and Ctrl-W under Hebrew keyboard layout on Linux. Bug 452393, r=masayuki, karlt 2012-03-09 08:09:30 +02:00
Masayuki Nakano
51dc71e2e2 Bug 729774 part.3 nsGtkIMModule::GetCurrentParagraph() and DeleteText() should work with the text content which was immediately before the latest compositionstart r=karlt 2012-03-09 13:27:51 +09:00
Masayuki Nakano
84e76f90cd Bug 729774 part.2 nsGtkIMModule should store selected text which will be removed by first text event r=karlt 2012-03-09 13:27:51 +09:00
Masayuki Nakano
c29ddcb682 Bug 729774 part.1 nsGtkIMModule should manage composition state more closely r=karlt 2012-03-09 13:27:51 +09:00
Matt Brubeck
a59d84c91f Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
a89a9d9fbc Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Masayuki Nakano
74fe8bb5fe Bug 630813 part.9 Should compute modifier key's DOM keycode from unshifted GDK keyval r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
dfdc3bb1ef Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
7c65f01056 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
69b7b8cea6 Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
0643f79a36 Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
ed669df5cd Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
739fe4efcf Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
7909dd1140 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
0f720d7f56 Bug 630813 part.1 Make KeymapWrapper which is a wrapper class of GdkKeymap r=karlt 2012-02-22 16:34:31 +09:00
Zack Weinberg
55006e6a38 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Owen Taylor
0253ae1472 Bug 721498 - Use remote timestamp when available for focus requests. r=karlt 2012-02-16 11:23:34 +01:00