Commit Graph

12702 Commits

Author SHA1 Message Date
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
Brad Lassey
3ea539bbc0 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats 2012-04-16 18:31:05 -04:00
Brad Lassey
0781bf1fe8 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats 2012-04-16 17:25:04 -04:00
JP Rosevear
0ff1f8cb03 Bug 745401 - Fix logic error in draw event coalescing. r=kats 2012-04-16 10:31:13 -04:00
Robert O'Callahan
17273823c0 Bug 610713. Disable acceleration in popup widgets to work around Windows/driver bugs. r=bas 2012-04-10 11:52:50 +12:00
Marco Bonardo
b5e7934a18 Merge central and inbound 2012-04-14 13:56:15 +02:00
Honza Bambas
46538e418c Bug 744887 - Build error: nsFilePicker.cpp(227) : error C2065: 'nsPIDOMWindow' : undeclared identifier, r=jmathies 2012-04-14 01:49:11 +02:00
Mark Finkle
8d45a219c7 Bug 737050 - Add support for the WEBAPP intent r=blassey r=bnicholson r=gavin 2012-04-13 22:45:25 -04:00
David Rajchenbach-Teller
6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Paolo Amadini
1bb5c0078e Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Oleg Romashin
28e15f2c03 Bug 744564 - Allow to create EGL context from Widget provided GL context (embedding approach). r=roc,jgilbert 2012-04-12 00:18:35 -04: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
James Willcox
b4d8f837c8 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox
8af3688ba1 Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Michael Wu
1ff92fc2d9 Bug 743907 - Remove use of Message, pending-r=cjones 2012-04-11 11:43:37 +08:00
Michael Wu
ebe1e4ea23 Bug 743907 - Remove use of WeakMessageHandler/MessageHandler, pending-r=cjones 2012-04-11 10:59:29 +08:00
Michael Wu
de0fdac7f9 Bug 743907 - Add cursor mapper support back to libui, r=cjones 2012-04-11 09:49:49 +08:00
Kartikaya Gupta
6b5f5bbfbc Bug 740883 - Coalesce VIEWPORT events across NATIVE_POKE and DRAW events on insertion. r=Cwiiis 2012-04-10 09:28:43 -05:00
Kartikaya Gupta
9bb250ac0f Bug 740883 - Improve DRAW event coalescing behaviour for reduced latency. r=Cwiiis 2012-04-10 09:27:04 -05:00
Brad Lassey
8ef09489d2 bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp 2012-03-27 01:31:57 -04:00
Diana Koenraadt
99f5d9917a Bug 722864 - change nsFilePicker to no longer use global Private Browsing service. Instead, use nearest relevant docshell; r=jimm 2012-04-09 21:53:46 +02:00
Kartikaya Gupta
e98ce7eb97 Bug 740718 - Move event coalescing code to PostEvent and rearrange to avoid null pointer dereferences. r=blassey 2012-04-07 23:50:42 -05:00
Kartikaya Gupta
e685c4edc8 Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj 2012-04-07 03:09:26 -04:00
Michael Wu
9ee4c98335 Bug 741038 - Dumb down mt touchscreen detection, r=cjones 2012-04-06 03:01:07 -07:00
Daniel Holbert
9b5846b3dc backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
18e6967fd4 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Cody Brocious
80f0b96a3a Bug 741837 - Hook up OMTC for Gonk [r=gal] 2012-04-05 09:15:19 -07:00
Jeff Muizelaar
1a63bab576 Bug 740898. Merge LayerView and GLSurfaceView. r=pcwalton
Once, GLThread is gone we don't have any need to support both styles of GL
rendering. Merging LayerView and FlexibleGLSurfaceView makes it clearer what's
going on, and I expect we'll also be able to take out some dead code from the
resulting LayerView.

This patch is mostly uninteresting. The interesting bits are that
implementations of requestRender and the constructors are merged. Everything
else is mostly copying over methods and renaming FlexibleGLSurfaceView's
mController to mGLController.
2012-04-05 11:28:50 -04:00
Jeff Muizelaar
e41a036414 Backed out changeset 0f8439284834
The bug number was wrong.
2012-04-05 11:27:02 -04:00
Jeff Muizelaar
fd6b0690da Bug 730898. Merge LayerView and GLSurfaceView. r=pcwalton
Once, GLThread is gone we don't have any need to support both styles of GL
rendering. Merging LayerView and FlexibleGLSurfaceView makes it clearer what's
going on, and I expect we'll also be able to take out some dead code from the
resulting LayerView.

This patch is mostly uninteresting. The interesting bits are that
implementations of requestRender and the constructors are merged. Everything
else is mostly copying over methods and renaming FlexibleGLSurfaceView's
mController to mGLController.
2012-03-30 14:21:59 -04:00
Kan-Ru Chen
6c1b8cdec2 Bug 707589 - [Gonk] When screen is enabled/disabled, send visibility change events to windows [r=mwu] 2012-04-04 23:03:00 -07:00
Brad Lassey
88fa428f0d bug 741284 - add async file request method r=kats 2012-04-05 01:50:06 -04:00
Doug Turner
f73b6e5d54 Bug 741869 - Revert the android sensor correction which changes direction of values. r=mwu 2012-04-04 14:20:25 -07:00
Doug Turner
8d65697b39 Bug 741868 - Revert the android sensor filter which dropped orientation and movement events. r=mwu 2012-04-04 13:39:14 -07:00
Wes Johnston
553dd5ca61 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07: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
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30