Commit Graph

62 Commits

Author SHA1 Message Date
Karl Tomlinson
c24bdc6592 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
a917a512f2 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
38c69e4e9d 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
779da2993e 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
1e071381e5 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
908a1f6f0d 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
9635333852 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
89750d568a 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
6d38f25d46 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
9d71843903 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
ebaf6ea2db 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
dab6aa349c 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
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Martin Stransky
4d7499d6b0 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
789760b675 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Steven Michaud
f486e3b94a Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek. 2012-03-12 15:13:14 -05:00
Simon Montagu
1bd228581e 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
5eb014fc0e 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
04d9c542b8 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
8d2a272bb5 Bug 729774 part.1 nsGtkIMModule should manage composition state more closely r=karlt 2012-03-09 13:27:51 +09:00
Matt Brubeck
ea00ab22ed Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
39f254973a Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Masayuki Nakano
235d3d4df7 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
0fd2597db6 Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
200ddf4671 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
582c6eaf6c Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
3a0cca6cdb Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
2f3e258901 Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bc0aff7a5f Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
ddeb722011 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
9f92a332fc 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
9c593e5cd7 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Owen Taylor
9a71b5ddad Bug 721498 - Use remote timestamp when available for focus requests. r=karlt 2012-02-16 11:23:34 +01:00
Karl Tomlinson
0e356fd193 b=726443 rework last event time calculation to avoid problems with gtk_get_current_event_time in nested loops r=roc
--HG--
extra : rebase_source : 151b60b10944ccf3ccee0cb69f89728ba1c29977
2012-02-14 09:19:59 +13:00
Martin Stránský
b351fc30f8 Bug 627699 - Port GTK2 to GTK3, gkt3drawing part. r=karlt
--HG--
rename : widget/gtk2/gtk2drawing.c => widget/gtk2/gtk3drawing.c
2012-02-10 14:15:28 +01:00
Marco Bonardo
984a5a549c Merge central to inbound 2012-02-08 09:24:40 +01:00
Karl Tomlinson
98545dde78 b=724966 make sure to set sRetryGrabTime for retrying grabs r=roc
--HG--
extra : transplant_source : v%A5qVLv%7E%D8%0D%0C%8F%7F%C3%40%AEV%86%E5%BDT
2012-02-08 09:51:15 +13:00
Neil Deakin
6125e0566b Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05:00
Karl Tomlinson
4b63d0b63c b=500081 use a timestamp when grabbing the pointer and generate timestamps for drags in the same way r=roc
--HG--
extra : transplant_source : %CF%87%19S%2C%8C2%BD%C9%0C%2B%C6%BA%22%EE%CB%06%BC%D2%00
2012-02-02 15:12:26 +13:00
Karl Tomlinson
81080a976d privatize and devirtualize a few nsWindow methods b=500081 r=roc
--HG--
extra : transplant_source : s%1C%A2Usl%EE%01%BAB%FB%B7%96%A4Q%FD%96%88%A3G
2012-02-02 15:12:02 +13:00
Karl Tomlinson
e81299470f don't keep trying pointer grab when failing due to another application's grab b=500081 r=roc
--HG--
extra : transplant_source : %7E%40%C7%DD1%D9%D7%A2%8Dg%5E%8BG%A9J%3DK%0F%8B%FF
2012-02-02 15:11:44 +13:00
Karl Tomlinson
21dae0840e remove unused GdkWindow parameter to check_for_rollup b=500081 r=roc
--HG--
extra : transplant_source : y%A7%29%B9%26%DB%A9%A1%5E%0DGB%0D%D2JU%9Ep%18%90
2012-02-02 15:11:06 +13:00
Karl Tomlinson
f766b8f36b b=721762 don't startDragSession when invokeDragSession will fail r=enndeakin
--HG--
extra : transplant_source : f%A7%A13%B1%C1%5E%A2%3B%D2C%1F%AC%E5%A2%92%13G0%9B
2012-02-02 15:10:43 +13:00
Philipp Hartwig
f391f98a6e Bug 512529 - Listen for changes in GDK_WINDOW_STATE_FULLSCREEN; r=karlt 2012-02-06 18:17:32 +00:00
Philipp Hartwig
4f155baeb3 Bug 512529 - Prefer GDK_WINDOW_STATE_FULLSCREEN over GDK_WINDOW_STATE_MAXIMIZED; r=karlt 2012-02-06 18:17:32 +00:00
Daniel Holbert
b4df9659f9 Bug 723754: Fix C++ style comment in header that gets included by .c files. r=karlt 2012-02-03 01:18:53 -08:00