Commit Graph

4862 Commits

Author SHA1 Message Date
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
Brad Lassey
6bcb2c0088 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
367badb60b bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats 2012-04-16 17:25:04 -04:00
JP Rosevear
b859d6b310 Bug 745401 - Fix logic error in draw event coalescing. r=kats 2012-04-16 10:31:13 -04:00
Robert O'Callahan
c32be66d57 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
be570c6dfc Merge central and inbound 2012-04-14 13:56:15 +02:00
Honza Bambas
2a7fa04462 Bug 744887 - Build error: nsFilePicker.cpp(227) : error C2065: 'nsPIDOMWindow' : undeclared identifier, r=jmathies 2012-04-14 01:49:11 +02:00
Mark Finkle
06836e9d32 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
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Paolo Amadini
250a42fffb 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
26f7f1333a 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
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
James Willcox
c3bd125218 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox
19f98af9ab Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Michael Wu
dd70339941 Bug 743907 - Remove use of Message, pending-r=cjones 2012-04-11 11:43:37 +08:00
Michael Wu
f853de7138 Bug 743907 - Remove use of WeakMessageHandler/MessageHandler, pending-r=cjones 2012-04-11 10:59:29 +08:00
Michael Wu
327b851ed2 Bug 743907 - Add cursor mapper support back to libui, r=cjones 2012-04-11 09:49:49 +08:00
Kartikaya Gupta
0be646552b 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
f6d65c93b5 Bug 740883 - Improve DRAW event coalescing behaviour for reduced latency. r=Cwiiis 2012-04-10 09:27:04 -05:00
Brad Lassey
a0000e3ade bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp 2012-03-27 01:31:57 -04:00
Diana Koenraadt
8adb12a967 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
80acb9f5c0 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
5ed6f42383 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
70c6f4ddc0 Bug 741038 - Dumb down mt touchscreen detection, r=cjones 2012-04-06 03:01:07 -07:00
Daniel Holbert
959af08a05 backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
7a33df3fb0 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Cody Brocious
2e8215cb5d Bug 741837 - Hook up OMTC for Gonk [r=gal] 2012-04-05 09:15:19 -07:00
Jeff Muizelaar
f9b0fd8b45 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
4f2cb20d6a Backed out changeset 0f8439284834
The bug number was wrong.
2012-04-05 11:27:02 -04:00
Jeff Muizelaar
1268f26df1 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
a929d5b060 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
2f434bf365 bug 741284 - add async file request method r=kats 2012-04-05 01:50:06 -04:00
Doug Turner
ca3546ddbd Bug 741869 - Revert the android sensor correction which changes direction of values. r=mwu 2012-04-04 14:20:25 -07:00
Doug Turner
b70a56cfd0 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
e0627db572 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07: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
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Joe Drew
110c76a0cf Bug 741166 - Restore waitForValidSurface, removed in error in bug 737949. r=ajuma 2012-04-02 15:43:21 -04:00
Josh Dhaliwal
39e8ba50ed 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
a450534b41 Bug 724640 - Block FGLRX driver on Linux 2.6.32 kernel version - r=glandium 2012-04-02 09:02:00 -04:00
Ed Morley
c7a3740e33 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Mounir Lamouri
70c4e81387 Bug 740190 - Screen Orientation API: implement locking in Android. r=dougt 2012-03-29 23:31:12 -07:00
Masayuki Nakano
47faa0db7f 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
380cd4cd8b 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
24fd33ba42 Bug 737437 - Post a task to handle compositor destruction. r=bgirard 2012-03-30 15:43:11 -04:00
Nickolay Ponomarev
86dea005e5 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
fc2d95cb25 Back out 7bffc102114e (bug 737437) for Android native talos bustage 2012-03-29 08:26:58 -07:00
Phil Ringnalda
bd61180bdc Back out 3e6a7f9fb34e (bug 739488) for Android XUL bustage 2012-03-29 08:26:07 -07:00
Josh Dhaliwal
0083d2d678 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
1734bbd72b 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
b4da60b42d 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
03dc4eeeee Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Ali Juma
e7e968bb4b Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Eitan Isaacson
ac7baec75e Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck 2012-03-28 22:11:55 +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
Avi Halachmi (:avih)
3605c7f03f Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Eitan Isaacson
9c4cdab930 Bug 739493 - Add "Accessibility:IsEnabled" message for Android 2012-03-15 10:38:27 -04:00
Eitan Isaacson
ab05ba0a95 Bug 739493 - Add "Accessibility:Event" message for Android 2012-03-09 15:06:50 -08:00
Marco Bonardo
54f60fcf68 Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
61852f34e5 Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD 2012-03-26 16:48:16 -07:00
Michael Wu
84af39a94d 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)
f6945079a4 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)
eaf2cfdd3c 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
f3f84a0f52 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
6b5cad0bce Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Jim Mathies
eae91d8179 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
72e5bb5e9e Bug 738118 - Don't duplicate 10.7 SDK shims [r=josh] 2012-03-21 19:43:13 -07:00
Masayuki Nakano
fff76a32c1 Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
de696a6dc5 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
445d98cb9e Bug 672175 part.16 Implement nsIWidget::SynthesizeNativeMouseScrollEvent() on Windows r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
6ca839eb6c Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Oleg Romashin
fb1afd28e5 Bug 737354 - Embedding initialize GL context before gfxPlatform::Init. r=roc 2012-03-21 16:14:09 -07:00
Josh Dhaliwal
5062750d82 Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt 2012-03-21 10:52:35 -07:00
Doug Turner
a19169f8b6 Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 23:36:17 -07:00
Doug Turner
e9b99834bc 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
bb974fd0d2 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
0fc7b2806a 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
8adfd23472 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
30a9bb32c5 Bug 737675 - Implement -moz-touch-enabled for Android and Gonk. r=mwu 2012-03-20 16:44:43 -07:00
Doug Turner
236f7c01c8 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
26fc4300b4 Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 14:51:06 -07:00
Doug Turner
cb66f15674 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
71d5cfc5d5 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Kartikaya Gupta
8476d96552 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
3bdc8512b4 Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
aa77819a92 Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis 2012-03-20 00:05:45 -04:00
aceman
25126a6a12 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
1ba8600131 Bug 735553 - Copying touch events should copy the timestamp. r=smaug 2012-03-19 14:33:42 -07:00
Oleg Romashin
466b4c1e40 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
13fc1a1a8e 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
c243707faf Bug 727966 - Remove an unnecessary paint on rotation. r=blassey 2012-03-19 10:06:24 -04:00
Mark Finkle
2f256bcc57 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
6849113efd 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
a2418c5fd8 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Chris Lord
1c2dd7f8ef 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
3edabe2c6f Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Chris Lord
ff0265ea28 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
312ed3ed80 Merge inbound and central 2012-03-16 13:42:16 +01:00
Masayuki Nakano
5f93695680 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Phil Ringnalda
807c91234e 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
6d8b4f9550 Bug 711656: backout 7ce4d9b55863 r=none 2012-03-15 14:15:31 -04:00
Kartikaya Gupta
4e638d7d12 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Kartikaya Gupta
cfd3606831 Fix build error for android-xul; goes with 8e11e5b9c935. r=bustage 2012-03-14 01:13:58 -04:00
Kartikaya Gupta
32769189d0 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
26f5681f0b Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
James Willcox
a0db3488b7 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
f5463ddffd Fix small merge resolution error in 60ebef177e6d. r=me 2012-03-13 18:21:58 -04:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
5097691ede Backout changeset d2340d74fc19 because of bug 735076 2012-03-12 18:51:44 -04:00
Ehsan Akhgari
dfa138382a Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
7013e73a7b Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
803f0eba61 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Kartikaya Gupta
9e2a5dc311 Bug 733896 - Together with 580381e2805c, this completely backs out b520f34d78f1 and 4f5bd60be09e. r=ehsan 2012-03-12 14:42:37 -04:00
James Willcox
02313468a0 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
7015851d36 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
38e9efe1fc Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
c8515d0999 Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
fb79343e79 Merge mc->Maple 2012-03-09 11:13:30 -05: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
Zack Weinberg
07f40ca85b Bug 729817 - Allow the Nouveau driver with Mesa >= 8.0.1 - r=bjacob 2012-03-08 23:19:26 -05:00
Benoit Girard
1b3be902c1 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Cameron McCormack
1c9adf5f7e Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack
b12e1613eb 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
ea00ab22ed Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Benoit Girard
0f0612ce47 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Matt Brubeck
001b042a9a Back out 5026c5ad25e7 because of XUL Fennec bustage 2012-03-08 16:42:31 -08:00
Benoit Girard
8461970bfc Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
392ef78337 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
18b1521f00 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Kartikaya Gupta
22c1400978 Bug 732736 - Fix use of AutoLocalJNIFrame in some JNI wrappers. r=dougt 2012-03-04 22:21:21 -05:00
Michael Wu
d82046881d Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Chris Peterson
7f1c94e140 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
4d57056b4d Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu
d78d9dfe0a Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Benoit Girard
b24e1949c2 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
77a9a7b782 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Fabien Cazenave
cd995314df Bug 732095 - Proportional thumb button in Gonk scrollbars r=mwu 2012-03-02 08:03:19 +01:00
Eitan Isaacson
2cc9d9dfa6 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
d901c180d2 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
64c42f1225 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
bc793b99ba Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
96a33c47b2 Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5d8c14799b Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
e1e133ae08 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
0e19141564 Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Jim Mathies
39f254973a Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Benoit Girard
08f33710af Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
d5c3b7e98b Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Matt Brubeck
34712d993a Merge last green changeset from inbound to mozilla-central 2012-02-28 09:21:10 -08:00
Benoit Girard
5582ac1cee More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Doug Sherk
34244e0d5c 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
4720c13486 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta
134e9fec76 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
a9a9772362 Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal
5eca462914 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08:00
Kartikaya Gupta
e37885a6c7 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
e46d8ad3d0 Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Benoit Girard
986b769ef1 Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Doug Turner
df4f53ea90 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
0c8abc000c 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
9969c98db4 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fa940eb49b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Honza Bambas
212c4ddc13 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
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Cervantes Yu
ade9409d72 Bug 709590 - Update screen orientation from sensor notification. r=jlebar 2012-02-23 14:25:53 +01:00
Kartikaya Gupta
5857681738 Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
53a439cccc Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Ehsan Akhgari
324ca6b6b4 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
dfd4c96ec1 Fix an assertion condition to assert what it means 2012-02-22 11:29:21 -05: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
Malen Sok
b45c019ed1 Bug 722163 - Convert JumpListBuilder to use LazyIdleThread. r=khuey 2012-03-06 15:42:53 -05:00
Josh Aas
a4b60fe14a Bug 729246: Fix clang warnings in Cocoa widgets. r=smichaud 2012-02-21 20:44:40 -05:00
Ed Morley
90bfe67efa Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Doug Sherk
3fef8faffc 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
3d389274ff Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Zack Weinberg
9c593e5cd7 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Fabrice Desré
301a9c7141 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
b4da8b67b0 Bug 720632 - Part 4: Use nsISmsRequestManager in Android JNI code. r=cjones 2012-02-20 00:44:29 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Oleg Romashin
2c74535f69 Bug 729438 - GetGLFrameBufferFormat need to be specified for maemo in Qt port. r=ajuma 2012-02-22 11:16:15 -08:00
Brad Lassey
3961277f20 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
7cf93f9f2a Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
db01bf6a07 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
e60677dc90 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
c2cde20188 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Benoit Girard
47cf03a5c3 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 13:57:40 -05:00
Brad Lassey
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
95697a85f1 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
ce3f178378 Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ed Morley
fe4a039dbe Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Chris Lord
dd4aacfc79 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
2d00d4d7a8 Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta
6e72a9570d Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
5ec5bd703f Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
f3c1b6a928 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Benoit Girard
1bb7f1c5f2 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 14:02:15 -05:00
Justin Wood
492e2f38ac Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma 2012-02-16 21:14:53 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Cameron McCormack
6f87b94b52 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
157bc379f0 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
6a55170fc3 bug 727847 - meter orientation events on android r=dougt 2012-02-16 23:03:57 -08:00
Brad Lassey
585ae3af5b bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Neil Deakin
96524d644a 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
4f6804ee5a Bug 691355 - Crash when headphones removed while listening to audio. r=jmathies 2012-02-17 09:17:27 -05:00
Benoit Girard
567f149d32 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Benoit Girard
612ce84d1f remove dead code 2012-02-14 18:36:33 -05:00
Masayuki Nakano
eda430e92c 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
1b46184a8f 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
bc50d262d3 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05:00
Patrick Walton
5081278876 Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Patrick Walton
ec85569a69 Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Benoit Girard
5ec8cb5563 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Eitan Isaacson
55d77d968d 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
d698580c18 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
9fb4d6959b Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
ece165b571 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
7f7fa10d9e Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
302758e203 Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
9ff00d7ac5 Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
76fcf64d4a Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Patrick Walton
492b9f6acc Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
f778b545b3 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
3f101c071a Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
2430a6b71c Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
7dc71cdb8d Merge m-c into maple 2012-02-08 16:43:22 -05:00
Marco Bonardo
984a5a549c Merge central to inbound 2012-02-08 09:24:40 +01:00
Marco Bonardo
152ac8a010 Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Andreas Gal
9b035fee2b Compress input events in gonk backend (bug 718914, r=cjones). 2012-02-07 22:42:44 -08:00