Commit Graph

12900 Commits

Author SHA1 Message Date
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
Joe Drew
0a3b5c87ab Bug 741166 - Restore waitForValidSurface, removed in error in bug 737949. r=ajuma 2012-04-02 15:43:21 -04:00
Josh Dhaliwal
ebde6e1e50 Bug 739488 - Fennec Native nightly crashes in mozilla::AndroidBridge::EnableLocationHighAccuracy when page requests GPS location. r=dougt 2012-04-02 11:52:41 -07:00
Benoit Jacob
a1b2295805 Bug 724640 - Block FGLRX driver on Linux 2.6.32 kernel version - r=glandium 2012-04-02 09:02:00 -04:00
Ed Morley
a53f040854 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Mounir Lamouri
9389b8f35e Bug 740190 - Screen Orientation API: implement locking in Android. r=dougt 2012-03-29 23:31:12 -07:00
Masayuki Nakano
169688aac4 Bug 735648 Append command char and shifted commanded char when command key is pressed on Dvorak-QWERTY r=smichaud+karlt 2012-03-30 12:37:40 +09:00
Joe Drew
869d254633 Bug 737949 - Don't initialize EGL from Fennec java code, and remove GLThread altogether. r=pcwalton,jrmuizel 2012-03-30 10:50:54 -07:00
Ali Juma
45df988e4f Bug 737437 - Post a task to handle compositor destruction. r=bgirard 2012-03-30 15:43:11 -04:00
Nickolay Ponomarev
b0d8bcd61c Bug 726943 - Fullscreen button in HTML video makes the browser go fullscreen but not the video [r=mstange]
Don't fire extraneous NS_SIZEMODE events from windowDidResize, that cause the DOM fullscreen requests to be cancelled on Mac.
2012-03-29 12:18:50 -07:00
Phil Ringnalda
9a72acc5b4 Back out 7bffc102114e (bug 737437) for Android native talos bustage 2012-03-29 08:26:58 -07:00
Phil Ringnalda
e8f67db0d7 Back out 3e6a7f9fb34e (bug 739488) for Android XUL bustage 2012-03-29 08:26:07 -07:00
Josh Dhaliwal
467a696017 Bug 739488 - Fennec Native nightly crashes in mozilla::AndroidBridge::EnableLocationHighAccuracy when page requests GPS location. r=dougt 2012-03-29 07:20:58 -07:00
Ali Juma
a9d6e29a0f Bug 737437 - Destroy the compositor's layer manager before the CompositorChild gets destroyed. r=cjones 2012-03-29 09:59:22 -04:00
Phil Ringnalda
9b1872fcc9 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
David Humphrey
012b498c6b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Ali Juma
626e4c40a7 Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Eitan Isaacson
f1fc404d05 Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck 2012-03-28 22:11:55 +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
Avi Halachmi (:avih)
b7b27a33a2 Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Eitan Isaacson
8ac876b939 Bug 739493 - Add "Accessibility:IsEnabled" message for Android 2012-03-15 10:38:27 -04:00
Eitan Isaacson
d25061d9ac Bug 739493 - Add "Accessibility:Event" message for Android 2012-03-09 15:06:50 -08:00
Marco Bonardo
59330158ea Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
9d74698690 Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD 2012-03-26 16:48:16 -07:00
Michael Wu
cc2287eabc Bug 739139 - Fix build of nsAppShell.cpp on gonk-gb, irc-r=cjones 2012-03-25 17:12:29 -07:00
Michael Wu ext:(%20%28and%20others%29)
173b54c604 Bug 737199, part 2: Port Gonk nsAppShell to the ICS InputReader. r=cjones,gal pending-r?mwu (npotb) 2012-03-25 03:06:02 -07:00
Michael Wu ext:(%20%28and%20others%29)
31dc786f73 Bug 737199, part 1: Import the Ice Cream Sandwich version of InputReader and friends to get off the treadmill of an internal interface. r=cjones,mwu (npotb) 2012-03-25 02:11:05 -07:00
Oleg Romashin
21ff89904a Bug 735602 - Add possibility to choose EGL backend on Non-Maemo Linux/Qt/Gtk builds instead ofo GLX. r=jgilbert 2012-03-23 14:43:52 -04:00
Oleg Romashin
84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Jim Mathies
15b2e84ffb Bug 737984 - win8 dev kit fixup for win widget gesture input headers, r=bbondy. 2012-03-22 09:18:49 -05:00
Paul O’Shannessy
8387e51a18 Bug 738118 - Don't duplicate 10.7 SDK shims [r=josh] 2012-03-21 19:43:13 -07:00
Masayuki Nakano
6e597ab449 Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
81bcd3acd3 Bug 672175 part.17 System settings of mouse wheel on Windows should be able to be overridden by prefs for testing r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
a60c46de7f Bug 672175 part.16 Implement nsIWidget::SynthesizeNativeMouseScrollEvent() on Windows r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
c670feb072 Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Oleg Romashin
979ea4107a Bug 737354 - Embedding initialize GL context before gfxPlatform::Init. r=roc 2012-03-21 16:14:09 -07:00
Josh Dhaliwal
36b41a1970 Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt 2012-03-21 10:52:35 -07:00
Doug Turner
48377143f6 Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 23:36:17 -07:00
Doug Turner
b1e4247d44 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
388850e1f0 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Paul O’Shannessy
36dd7de41e Bug 639705 (Lion Full Screen) Part 2: Support Lion Full Screen when fullscreenbutton=true [r=josh,mstange]
--HG--
extra : rebase_source : ce2751e4b32cf0d4344b5ca6a642e1e172c04e3b
2012-03-20 16:21:14 -07:00
Paul O’Shannessy
40da322e36 Bug 639705 (Lion Full Screen) Part 1: Initial support for fullscreenbutton in XUL [r=enn]
--HG--
extra : rebase_source : 03d0b24570546fb8513b513e2c804145e47b3433
2012-03-20 16:21:14 -07:00
Jared Wein
3379bc07b0 Bug 737675 - Implement -moz-touch-enabled for Android and Gonk. r=mwu 2012-03-20 16:44:43 -07:00
Doug Turner
025215fba6 No Bug - Build bustage due to merge of bug 734854. Resync GeckoEvent and AndroidJavaWrappers. r=mbrubeck
--HG--
extra : rebase_source : a50129a4a28d6c207c61ba04bbbc149e8d74f977
2012-03-20 15:26:19 -07:00
Doug Turner
d6660fc94b Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 14:51:06 -07:00
Doug Turner
075acfd9f5 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Mounir Lamouri
d07b010629 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Kartikaya Gupta
af2f6c1900 Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta
fdeefb7eab Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
a9fe2cdfa1 Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis 2012-03-20 00:05:45 -04:00
aceman
ffb7096d6e Bug 457803 - Fix compiler warning "nsDragService.cpp(146) : warning C4146: unary minus operator applied to unsigned type". r=vlad 2012-03-19 18:52:07 -04:00
Wes Johnston
ea241d9715 Bug 735553 - Copying touch events should copy the timestamp. r=smaug 2012-03-19 14:33:42 -07:00
Oleg Romashin
60783a3cc1 Bug 710774 - Qt needs to dispatch DID_PAINT events. r=roc
--HG--
extra : rebase_source : 5355334cc90b93d4812281893c59b123f96f425d
2012-03-19 21:16:57 +01:00
Mounir Lamouri
9cfc298e5a Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-18 17:15:56 +01:00
Kartikaya Gupta
bafd780f31 Bug 727966 - Remove an unnecessary paint on rotation. r=blassey 2012-03-19 10:06:24 -04:00
Mark Finkle
5d52d341f9 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
d3bf455beb Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-16 22:44:00 +01:00
Mounir Lamouri
7948b3ca37 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Chris Lord
e15085320f Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Ryan VanderMeulen
f814a9a7f4 Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Chris Lord
99c7ccb3f4 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Marco Bonardo
cb781bfe97 Merge inbound and central 2012-03-16 13:42:16 +01:00
Masayuki Nakano
0c78a26029 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Phil Ringnalda
c80d1bb60a Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
Doug Sherk
4a0d175d69 Bug 711656: backout 7ce4d9b55863 r=none 2012-03-15 14:15:31 -04:00
Kartikaya Gupta
a96a6f4142 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Kartikaya Gupta
d9bb2c4134 Fix build error for android-xul; goes with 8e11e5b9c935. r=bustage 2012-03-14 01:13:58 -04:00
Kartikaya Gupta
7f9577b642 Bug 725095 - Address review comments in the widget code. r=blassey
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Benoit Girard
42c404e37f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
James Willcox
3ca57187dd Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
a507ca8e3e Fix small merge resolution error in 60ebef177e6d. r=me 2012-03-13 18:21:58 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
2ce281889f Backout changeset d2340d74fc19 because of bug 735076 2012-03-12 18:51:44 -04:00
Ehsan Akhgari
43f6c7a351 Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
71fc64fb2f Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
8ecdfd895f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Kartikaya Gupta
f656be8dcd Bug 733896 - Together with 580381e2805c, this completely backs out b520f34d78f1 and 4f5bd60be09e. r=ehsan 2012-03-12 14:42:37 -04:00
James Willcox
3ee8cea2e9 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : f7a9eb9dab84cb35ba17fb1551051dae2e744d00
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
00f07c4874 Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis 2012-03-12 11:50:21 -04:00
Kartikaya Gupta
44d9673164 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
876fa332bc Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
9612045323 Merge mc->Maple 2012-03-09 11:13:30 -05: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
Zack Weinberg
523a6b04cd Bug 729817 - Allow the Nouveau driver with Mesa >= 8.0.1 - r=bjacob 2012-03-08 23:19:26 -05:00
Benoit Girard
13f16e0444 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Cameron McCormack
bf43c7e164 Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack
b10f0feaf0 Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies 2012-03-08 13:16:47 +11:00
Matt Brubeck
a59d84c91f Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Benoit Girard
1d55c5f593 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Matt Brubeck
3b65becc2a Back out 5026c5ad25e7 because of XUL Fennec bustage 2012-03-08 16:42:31 -08:00
Benoit Girard
0e825779e0 Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
997a81e71b Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Kartikaya Gupta
4c14782558 Bug 732736 - Fix use of AutoLocalJNIFrame in some JNI wrappers. r=dougt 2012-03-04 22:21:21 -05:00
Michael Wu
d25c224c40 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Chris Peterson
7b0e0743f8 Bug 733153 - Remove obsolete widget.ime.android.landscape_fullscreen and fullscreen_threshold prefs. r=dougt 2012-03-07 17:17:00 -08:00
Ryan VanderMeulen
7b54dcd2ff Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu
6c9437b47a Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Benoit Girard
a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Fabien Cazenave
9d8bda12fa Bug 732095 - Proportional thumb button in Gonk scrollbars r=mwu 2012-03-02 08:03:19 +01:00
Eitan Isaacson
b40c86ca32 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-03-07 19:24:38 -05:00
Benoit Jacob
0faf54572f Bug 696636 - move GetData to the beginning so it's always called first - r=mattwoodrow 2012-03-07 15:18:57 -05:00
Rafael Ávila de Espíndola
9d7419506b Bug 732368 - Ensure idle service doesn't fire idle events after xpcom-shutdown. r=mak. 2012-03-07 13:01:24 -03:00
Jim Mathies
757233e962 Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
09fb90ca62 Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
e045bdb6f8 Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
fd2952ec7f Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
c79d1b164a Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Jim Mathies
a89a9d9fbc Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Benoit Girard
76425a9557 Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
1847cf91b3 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Matt Brubeck
271eb939a4 Merge last green changeset from inbound to mozilla-central 2012-02-28 09:21:10 -08:00
Benoit Girard
9e6901c1cd More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Doug Sherk
cd3c925787 Bug 711656: special case the entire Intel GMAX4500HD series r=bjacob,joe
Until we fix this properly, this patch special cases this set of devices so that
they get handled in almost the same way as they used to be.
2012-02-28 00:19:24 -05:00
Kartikaya Gupta
c9a0e4563b Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta
45668a01d2 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
7500bc052d Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal
2c7c72d54b Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08:00
Kartikaya Gupta
84fb3cf88b Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Ryan VanderMeulen
29ebf3fd2b Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Benoit Girard
0ffff92e7f Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Doug Turner
809efed1a1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
3db2cc2bb8 We were allocating and re-allocating a view-sized buffer and then claiming it was 32x32. Cut that down to stop wastage. Also drop unused method. 2012-02-24 12:11:32 -05:00
Kartikaya Gupta
c9cea8f661 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fd722ba218 Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Honza Bambas
cdea5ca0bb Bug 733988 - Build bustage: WinMouseScrollHandler.cpp(1217) after bug 672175 landing, include nsGkAtoms.h, r=masayuki 2012-03-08 17:24:17 +01:00
Masatoshi Kimura
651eabedd7 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Cervantes Yu
eda9cbfbb7 Bug 709590 - Update screen orientation from sensor notification. r=jlebar 2012-02-23 14:25:53 +01:00
Kartikaya Gupta
25c7f69e08 Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
0741d7041c Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Ehsan Akhgari
f91a97e24e Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Ehsan Akhgari
61b95fe826 Fix an assertion condition to assert what it means 2012-02-22 11:29:21 -05: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
Malen Sok
2e2902f6b9 Bug 722163 - Convert JumpListBuilder to use LazyIdleThread. r=khuey 2012-03-06 15:42:53 -05:00
Josh Aas
a33aed3fcd Bug 729246: Fix clang warnings in Cocoa widgets. r=smichaud 2012-02-21 20:44:40 -05:00
Ed Morley
cc3a5fa7b8 Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Doug Sherk
d31a9134b5 Bug 711656: potentially fixed devices not being caught by blocklist, r=joe
This doesn't necessarily fix the bug, but I think the problem was that the device IDs were in upper case but we store them statically in lower case, all the while using case-sensitive comparators. This patch switches all comparators that I could find to use case-insensitive instead, hopefully solving this.
2012-02-21 14:49:06 -05:00
Ed Morley
3aea95e2d2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Zack Weinberg
55006e6a38 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Fabrice Desré
2ebe6b69b5 Bug 725143 - crash when restarting b2g with screen off [a=gal] DONTBUILD because NPOTB 2012-02-20 14:07:13 -08:00
Philipp von Weitershausen
99d9ed1a46 Bug 720632 - Part 4: Use nsISmsRequestManager in Android JNI code. r=cjones 2012-02-20 00:44:29 +01:00
Mark Capella
3a0b126058 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Oleg Romashin
3fa419133e Bug 729438 - GetGLFrameBufferFormat need to be specified for maemo in Qt port. r=ajuma 2012-02-22 11:16:15 -08:00
Brad Lassey
5e1b54e662 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
e226b505b4 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
811a2ca0bd Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
5669433518 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
d2ce9f3890 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Benoit Girard
b7a1611f37 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 13:57:40 -05:00
Brad Lassey
e5e9a2b04c merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
0ad51deb55 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
c18e9e380e Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ed Morley
f58ce433db Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Chris Lord
56eedf55bb Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari
0171b3deb3 Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta
357cb8e480 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
7ae132d853 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
54ec96eba6 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Benoit Girard
70d30b6760 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 14:02:15 -05:00
Justin Wood
b7318e3fe9 Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma 2012-02-16 21:14:53 -05:00
Doug Turner
3f133bfdd1 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Cameron McCormack
936ba7d3bb Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-17 14:47:39 +11:00
Jim Mathies
5544e899b5 Bug 718374 - File picker support for choosing Win7 library default folders, and strip sdk ifdefing junk. r=neil 2012-02-16 18:36:04 -06:00
Brad Lassey
f9bfa87a21 bug 727847 - meter orientation events on android r=dougt 2012-02-16 23:03:57 -08:00
Brad Lassey
ccbe98dba8 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Neil Deakin
990f276bb8 Bug 499008, part 7, merge html drag type constants into one place, r=ehsan 2012-02-17 09:17:00 -05:00
Brian R. Bondy
b779e717a5 Bug 691355 - Crash when headphones removed while listening to audio. r=jmathies 2012-02-17 09:17:27 -05:00
Benoit Girard
daef6a012f Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Benoit Girard
2f43e1f950 remove dead code 2012-02-14 18:36:33 -05:00
Masayuki Nakano
bc72e6452f Bug 725233 Get rid of hacky text event dispatchers, they are not necessary due to bug 622247 r=jimm 2012-02-20 14:26:16 +09:00
Patrick Walton
2f48494641 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Kartikaya Gupta
3305c5adb8 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05:00
Patrick Walton
29d79a3bc5 Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Patrick Walton
9192420dcd Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Benoit Girard
465c0d7898 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Eitan Isaacson
8b0c98e354 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-02-25 20:38:27 -05:00
Patrick Walton
6701f65a25 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
59abdc4347 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
e7dd21c01b Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
f56d090ef0 Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
1938bda689 Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
985bb34c3b Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
f87504cb9a Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Patrick Walton
8e9cf5b1f7 Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
6bcb6bfee6 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Benoit Girard
08dc021a3b Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
45f236563b Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
f470edbef2 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Marco Bonardo
081565d680 Merge central to inbound 2012-02-08 09:24:40 +01:00
Marco Bonardo
e7180038c0 Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Andreas Gal
d8ac22ec43 Compress input events in gonk backend (bug 718914, r=cjones). 2012-02-07 22:42:44 -08:00