Kartikaya Gupta
7ca7eb3baa
Bug 753665 - Fix incorrect comment and some formatting of debug output. r=blassey
2012-05-26 11:07:24 -04:00
Kartikaya Gupta
ece9bcc228
Bug 753665 - Add some missing kungFuDeathGrips while dispatching events. r=blassey
2012-05-26 11:06:55 -04:00
Kartikaya Gupta
e60ac0120b
Bug 753665 - Fix possible corruption in the window parent chain. r=blassey
2012-05-26 11:06:25 -04:00
James Willcox
fcfdb3d1b6
Bug 747492 - Don't show vkb when plugin is focused on Android r=cpeterson
2012-05-24 11:03:07 -04:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
d448ef890c
Bug 748384 - Remove the DrawMetadataProvider which is not being used any more. r=Cwiiis
2012-05-23 10:49:44 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
520bda2b3e
Bug 748384 - Remove the DrawMetadataProvider which is not being used any more. r=Cwiiis
2012-05-23 10:49:44 -04:00
Nicolas Silva
2337ceaadf
Bug 722012 - Added a call to XInitThreads before the first call to XOpenDisplay to fix OMTC crashes. r=karlt
...
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0113_general.js => toolkit/mozapps/update/test/unit/test_0110_general.js
rename : toolkit/mozapps/update/test/unit/test_0114_general.js => toolkit/mozapps/update/test/unit/test_0111_general.js
rename : toolkit/mozapps/update/test/unit/test_0115_general.js => toolkit/mozapps/update/test/unit/test_0112_general.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js
extra : rebase_source : f527614c4a5f0b8979bd8bc39dcd3ca739ba9e08
2012-05-22 11:34:34 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Peterson
fbc151ad47
Bug 748590 - Backout adea606b5694 to map KEYCODE_DPAD_CENTER to DOM_VK_RETURN. r=eeejay
2012-05-18 15:51:53 -07:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Vladimir Vukicevic
50b1172ced
b=750272; protect against raised Java-side exception when getting EGL Surface; r=blassey
2012-05-18 08:59:01 -04:00
Fernando Jiménez
b7d6b7a9b9
Bug 733320 - [WebSMS][B2G SMS] Add 'read' attribute to nsIDOMMozSmsMessage. Part 3 - Android Backend; r=mounir
2012-05-17 12:42:38 -07:00
Geoff Brown
33db9b1f0b
Bug 755324 - Avoid JNI leak in AndroidGLController::ProvideEGLSurface. r=kats
2012-05-15 18:30:15 -04:00
Brad Lassey
9d8cae7b2a
Bug 751262 - Don't pop the JNI local ref frame if pushing it failed. r=kats
2012-05-08 20:21:36 -04:00
Doug Turner
e99aca9c93
Bug 752674 - device proximity needs y and z values. r=blassey
2012-05-08 20:56:54 -07:00
Jason Duell
674d0a7605
Bug 750616 - Get rid of warnings in necko on android. r=blassey
2012-05-08 17:00:12 -07:00
Chris Jones
8f83158bec
Bug 745145, part 4: Rename some things. r=mounir
...
--HG--
rename : hal/fallback/FallbackScreenOrientation.cpp => hal/fallback/FallbackScreenConfiguration.cpp
2012-05-08 14:36:07 -07:00
Chris Jones
90472db691
Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir
2012-05-08 14:36:07 -07:00
Kartikaya Gupta
877a5dbdbc
Bug 752539 - Pass in the AutoLocalJNIFrame to some methods that implicitly require it. r=blassey
2012-05-08 09:35:59 -04:00
Brian Nicholson
8711c8bb86
Bug 752426 - Add null checks for thumbnail screenshots. r=blassey
2012-05-07 16:53:01 -07:00
James Willcox
1c21278db4
Bug 751609 - Give up on locking a Surface after 10 failures r=blassey
2012-05-07 14:18:30 -04:00
Brian Nicholson
8ff1c7acc1
Bug 750846 - Move thumbnail size logic to Gecko. r=blassey
2012-05-03 16:29:59 -07:00
Kartikaya Gupta
ef85499723
Bug 748531 - Guard against exceptions in JNI. r=blassey
2012-05-04 11:08:47 -04:00
Kartikaya Gupta
61c27458ff
Bug 748531 - Propagate the JNIEnv through DrawWindow*lay helpers instead of unnecessarily re-calling GetJNIForThread everywhere. r=blassey
2012-05-04 11:08:46 -04:00
Kartikaya Gupta
887a5bb8b4
Bug 748531 - Fix indentation and minor cleanup in AndroidBridge.cpp. r=blassey
2012-05-04 11:08:45 -04:00
Doug Turner
68e34b4226
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Brian Nicholson
5181317965
Backout 7e237e96018f for black area in thumbnails. r=backout
2012-05-03 19:06:08 -07:00
Brian Nicholson
fe13e9cb1d
Bug 750846 - Move thumbnail size logic to Gecko. r=blassey
...
--HG--
extra : rebase_source : f8194c78ff0acc530db15a0aed6472475a0e0eed
2012-05-03 16:29:59 -07:00
James Willcox
b0e2e8e19f
Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones
2012-05-03 10:53:31 -04:00
Ed Morley
8266a4291c
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Ali Juma
0b951e4b74
Bug 748048 - Part 2: Don't restrict invalidation to the widget's boundaries on Android. r=roc
2012-05-03 12:34:02 -04:00
Benoit Jacob
a18775a5a3
Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
...
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Kartikaya Gupta
21117ee275
Bug 749788 - Fix some JNI code bugs. r=blassey
2012-04-28 12:55:59 -04:00
James Willcox
390afef192
Bug 749750 - Correctly ref created Surfaces on Android r=blassey
2012-04-27 16:10:03 -04:00
James Willcox
4b0d6b0c67
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Chris Lord
6e7a025ac6
Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
...
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.
Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.
This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.
This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.
--HG--
extra : rebase_source : 671c5a48d7bc08b3b452ed7eea228eb22843c1ce
2012-04-26 13:45:31 -04:00
Jeff Muizelaar
e7a0ca9c70
Bug 748832. Remove dead paint supression code. r=kats
...
Bug 732564 disabled the painting suppression code in browser.js. This removes
the caller and the interface.
--HG--
extra : rebase_source : 236f81abcf980c41ffdb6c29dc4290a6a7671d14
2012-04-25 12:49:43 -04:00
Eitan Isaacson
18bf7492f0
Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson
2012-04-25 17:09:12 -07:00
Masayuki Nakano
b4dca62772
Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson
2012-05-03 17:35:02 +09:00
Matt Brubeck
195432d5ee
Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson]
2012-04-24 20:47:46 -07:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Brad Lassey
666ed07858
Bug 747642 - Followup to fix xul android bustage
2012-04-24 23:53:57 +01:00
Brad Lassey
acc26b3202
bug 747642 - cleanup AndroidJNI.cpp r=mwu
2012-04-21 11:41:03 -04:00
Brad Lassey
7209478fe4
bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
...
--HG--
extra : rebase_source : d6de0327a46393cd4cfc327dea5689364744a71d
2012-04-24 15:13:36 -04:00
Kartikaya Gupta
d9e90ae56b
Bug 748189 - Call GetJNIForThread less often on a hot code path. r=blassey a=blassey
2012-04-23 21:06:41 -04:00
Kartikaya Gupta
1c81506624
Bug 747759 - Insert missing break statement. r=blassey a=blassey
2012-04-23 21:05:23 -04:00
Joe Drew
5248a80c1d
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
James Willcox
42536c7c7a
Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec
...
--HG--
extra : rebase_source : ca2da8fe9689fa702444cd6da7b4841d9ef12ec4
2012-04-20 09:49:50 -07:00
Ali Juma
45b0527065
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
Jeff Muizelaar
6b3607707c
Backout c048eb7cc728 for checkerboarding regresions
...
http://graphs.mozilla.org/graph.html#tests=[[175,63,20]]&sel=none&displayrange=7&datatype=running
http://graphs.mozilla.org/graph.html#tests=[[201,63,20]]&sel=none&displayrange=7&datatype=running
2012-04-20 00:50:07 -04:00
Chris Peterson
e65057dbc4
Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : c5cd6ba353970c1ba2f3315c55730957d1a306b9
2012-04-19 10:49:31 -07:00
Chris Peterson
94ab99f5dc
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 64059f8f6a31446d7ba0d23fe6e89cfc4716dd23
2012-04-19 13:55:33 -07:00
Chris Peterson
0c00d7ee22
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 58b581eb97d82bea46f238213599b7bea2f6a78f
2012-04-19 13:34:03 -07:00
Jeff Muizelaar
30fbc339cd
Bug 745315. Draw as soon as we get a Viewport:Changed r=kats a=joe
...
This should reduce some unpredictibility from our drawing
code and I don't see any negative concequences.
2012-04-17 20:23:35 -04:00
Ed Morley
37f4d82a7d
Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout
2012-04-19 12:50:46 -07:00
Jeff Muizelaar
cf3b2937e5
Bug 745864 - Add profiling labels relevant for Fennec event performance. r=bgirard a=blassey
...
--HG--
extra : rebase_source : e4ba8a8b6f4bdad1dcd6fe076e3262a6e07aeba2
2012-04-16 15:07:56 -04:00
Chris Peterson
ef807c5b5a
Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 0cedf764055dba59a8c55a468b5a6dc60e20dbae
2012-04-19 10:49:31 -07:00
Chris Peterson
fae87c28ca
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 8ff6cd6d3e4688570b41fe9e5233ea26fdf417ed
2012-04-19 09:56:04 -07:00
Chris Peterson
2966341f9b
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 8c8e8fbf4dd6bd0bfc67e621a1f24788d93ec5b1
2012-04-18 10:15:15 -07:00
Brian Nicholson
ec9204924a
Bug 746548 - Fix NPE for cache service in pause/resume. r=mfinkle a=blocking-fennec
2012-04-18 13:08:36 -07:00
Brian Nicholson
1a02c04c8a
Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal
2012-04-17 10:29:52 -07:00
Timothy Nikkel
4061c74e60
Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc
2012-04-17 01:04:05 -05:00
Brad Lassey
b38b1c9fea
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
2fd2307892
bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage r=kats
2012-04-16 17:25:04 -04:00
JP Rosevear
719a612354
Bug 745401 - Fix logic error in draw event coalescing. r=kats
2012-04-16 10:31:13 -04:00
Mark Finkle
29646cae76
Bug 737050 - Add support for the WEBAPP intent r=blassey r=bnicholson r=gavin
2012-04-13 22:45:25 -04:00
Eitan Isaacson
b4734ed7af
Bug 739493 - Add "Accessibility:IsEnabled" message for Android
2012-03-15 10:38:27 -04:00
Eitan Isaacson
ae2ee39414
Bug 739493 - Add "Accessibility:Event" message for Android
2012-03-09 15:06:50 -08:00
James Willcox
3d617c8f21
backout 022be5c50732 for xul bustage
2012-04-11 12:56:00 -04:00
James Willcox
311851c7a5
Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones
2012-04-11 11:43:08 -04:00
Kartikaya Gupta
02bae19a7a
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
7bef245456
Bug 740883 - Improve DRAW event coalescing behaviour for reduced latency. r=Cwiiis
2012-04-10 09:27:04 -05:00
Brad Lassey
bb82c56da5
bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp
2012-03-27 01:31:57 -04:00
Kartikaya Gupta
7b4ee2b2de
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
dec4c11b3e
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
Jeff Muizelaar
92907fc375
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
7d1674c7e7
Backed out changeset 0f8439284834
...
The bug number was wrong.
2012-04-05 11:27:02 -04:00
Jeff Muizelaar
8e910730b7
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
Brad Lassey
3b454dc61d
bug 741284 - add async file request method r=kats
2012-04-05 01:50:06 -04:00
Doug Turner
f69631959b
Bug 741869 - Revert the android sensor correction which changes direction of values. r=mwu
2012-04-04 14:20:25 -07:00
Doug Turner
c4c232f4f2
Bug 741868 - Revert the android sensor filter which dropped orientation and movement events. r=mwu
2012-04-04 13:39:14 -07:00
Veeraya Pupatwibul
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Joe Drew
c7294996b9
Bug 741166 - Restore waitForValidSurface, removed in error in bug 737949. r=ajuma
2012-04-02 15:43:21 -04:00
Josh Dhaliwal
2ac46e111f
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
Ed Morley
2aa4048571
Merge mozilla-central to mozilla-inbound
2012-03-31 15:28:55 +01:00
Mounir Lamouri
15a94acd89
Bug 740190 - Screen Orientation API: implement locking in Android. r=dougt
2012-03-29 23:31:12 -07:00
Joe Drew
500b32e0e5
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
9d5313030b
Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats
2012-03-28 18:00:32 -04:00
Eitan Isaacson
456274669c
Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck
2012-03-28 22:11:55 +02:00
Phil Ringnalda
9b281d3d46
Back out 3e6a7f9fb34e (bug 739488) for Android XUL bustage
2012-03-29 08:26:07 -07:00
Josh Dhaliwal
c085d248a6
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
Josh Dhaliwal
454b8453d0
Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt
2012-03-21 10:52:35 -07:00
Doug Turner
5744c93ff7
Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm
2012-03-20 23:36:17 -07:00
Doug Turner
1707159de2
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
65e0765863
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
Jared Wein
62395e550f
Bug 737675 - Implement -moz-touch-enabled for Android and Gonk. r=mwu
2012-03-20 16:44:43 -07:00
Doug Turner
a442639849
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