Doug Turner
e474437e8e
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Brian Nicholson
f5d9c3c1b2
Backout 7e237e96018f for black area in thumbnails. r=backout
2012-05-03 19:06:08 -07:00
Brian Nicholson
9a59586575
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
578bae396e
Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones
2012-05-03 10:53:31 -04:00
Ed Morley
46622a4bc4
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Ali Juma
6868660a49
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
d3e93afe93
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
7145ee9b1c
Bug 749788 - Fix some JNI code bugs. r=blassey
2012-04-28 12:55:59 -04:00
James Willcox
f310cf2230
Bug 749750 - Correctly ref created Surfaces on Android r=blassey
2012-04-27 16:10:03 -04:00
James Willcox
bb4ddac382
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
0916cf6de0
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
28e7075f70
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
77b1727849
Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson
2012-04-25 17:09:12 -07:00
Masayuki Nakano
e0d543d0b3
Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson
2012-05-03 17:35:02 +09:00
Matt Brubeck
8ca5e4326f
Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson]
2012-04-24 20:47:46 -07:00
Masayuki Nakano
5c0d118456
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
94c26fd98f
Bug 747642 - Followup to fix xul android bustage
2012-04-24 23:53:57 +01:00
Brad Lassey
485c462256
bug 747642 - cleanup AndroidJNI.cpp r=mwu
2012-04-21 11:41:03 -04:00
Brad Lassey
1bb14ac9e9
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
0c471f99af
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
e5a69b5c94
Bug 747759 - Insert missing break statement. r=blassey a=blassey
2012-04-23 21:05:23 -04:00
Joe Drew
7e925aa0ce
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
73836d5f6b
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
ed64e52133
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
0a633c75c0
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
8c4b827812
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
cabfc7d316
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
687087bdaa
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
6d9dfca5c2
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
75710bb624
Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout
2012-04-19 12:50:46 -07:00
Jeff Muizelaar
881b0f4269
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
ddc8500d5a
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
2a5fed50e9
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
7523f8d2e9
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
62c6aa8df7
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
8b681e655b
Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal
2012-04-17 10:29:52 -07:00
Timothy Nikkel
ff0f226d01
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
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
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
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
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
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
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
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
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
Veeraya Pupatwibul
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
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
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
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
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
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
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
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
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
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
Benoit Girard
42c404e37f
Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar
2012-03-12 16:28:02 -04:00
Brad Lassey
3c3a0da941
bug 735790 - Tab thumbnails only scale 3/4 of the window r=mfinkle
2012-03-15 00:43:53 -04:00
Kartikaya Gupta
5d3dca534f
Bug 729646 - Remove some annoying logging. r=Cwiiis
2012-03-15 10:38:43 -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
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
Benoit Girard
9612045323
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Benoit Girard
13f16e0444
Merge mc->Maple
2012-03-08 10:22:42 -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
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
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
Kartikaya Gupta
1847cf91b3
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Benoit Girard
9e6901c1cd
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24: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
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
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
Zack Weinberg
55006e6a38
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -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
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
Doug Turner
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08: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
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
Philipp von Weitershausen
99d9ed1a46
Bug 720632 - Part 4: Use nsISmsRequestManager in Android JNI code. r=cjones
2012-02-20 00:44:29 +01: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
Ali Juma
f56d090ef0
Fix busted build.
2012-02-10 10:40:57 -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
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
Josh Dhaliwal
68ff68b9c7
Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt
2012-02-27 18:57:28 -05:00
Patrick Walton
cae681557e
Shrink the surface size to speed up painting
2012-02-06 15:25:18 -08:00
Ali Juma
0e90b797ea
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
375d4d84d8
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
a57b590b7d
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Patrick Walton
1e1b06f118
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
85f93648a7
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Patrick Walton
08a46d3640
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
93b70fee0c
Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class
2012-02-02 22:07:05 -08:00
Patrick Walton
c2ad7735b8
Clean up nsWindow::Draw() a bit
2012-02-02 20:24:49 -08:00
Patrick Walton
3e30acd53d
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
717920a909
Hack the real window dimensions
2012-02-02 18:03:55 -05:00
Benoit Girard
a0d8718e27
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Benoit Girard
302a7b77e6
Fix problems with Nexus S init
2012-02-02 13:57:38 -05:00
Benoit Girard
a282993594
remove OGLSurfaceView init, todo remove OGLSurfaceView.java
2012-02-02 11:28:54 -05:00
Benoit Girard
b4999ae8f0
Removing this awesome template code because it causes library load crashes :(
2012-02-02 11:17:50 -05:00
Patrick Walton
be8bdd69ce
Turn on OMTC by default; fix crash when acquiring EGL surface
2012-02-01 23:54:01 -08:00
Benoit Girard
95d44b1ca5
Add init code for AndroidEGLObjects
2012-02-01 18:08:09 -05:00
Benoit Girard
54179763ea
Fix AndroidGLController::Init
2012-02-01 17:53:18 -05:00
Benoit Girard
a1415e44f6
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Benoit Girard
d415e80071
Move registerCxxCompositor to FlexView
2012-02-01 14:15:52 -05:00
Benoit Girard
a229a6bd3b
Import jni implementation
2012-02-01 12:02:55 -05:00
Benoit Girard
1f2362ecb9
Import jni headers
2012-02-01 11:49:34 -05:00
Ali Juma
1178aeabeb
Disable direct textures because of crashes.
2012-01-31 15:53:54 -05:00
Benoit Girard
7f54a91188
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Wes Johnston
25d2807d75
Bug 721484 - Don't disable mouse events for touch events. r=blassey
2012-01-30 21:57:06 -08:00
Benoit Girard
25a5299d7e
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
e0bcc5a6d2
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
James Willcox
a5b4d73370
Bug 721803 - Add known-good devices to direct texture whitelist r=blassey
2012-01-30 22:38:16 -05:00
Benoit Girard
f7173edd06
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Benoit Girard
abede2eb6e
Disable sHasDirectTexture because of crash in Nexus S
...
--HG--
extra : rebase_source : 03daaf6a9b7a562d95bf42c34b997ba234eed022
2012-01-26 14:22:26 -05:00
Doug Turner
b7f10b6344
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-29 12:39:30 -08:00
Phil Ringnalda
47f54cc3f1
Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange
2012-01-29 00:49:02 -08:00
Doug Turner
b5116372c8
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-28 22:38:02 -08:00
Brian Nicholson
852d8048cb
Bug 701092 - Limit session restore attempts. r=mfinkle
2012-01-27 22:04:54 -08:00
James Willcox
7223060a8c
Bug 716190 - Retry graphic buffer locks if we get -EBUSY r=pcwalton
...
--HG--
extra : rebase_source : 969aee231df4ac7ac70086fa2fa836c26a090b8e
2012-01-17 15:00:56 -05:00
Doug Turner
49f90f168c
Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm
2012-03-13 16:57:51 -07:00
Doug Turner
b8e66a3424
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 16:57:09 -07:00
Doug Turner
0d7cf15ad0
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Ed Morley
1f10388ce3
Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange
2012-03-13 22:29:29 +00:00
Doug Turner
00de4ae87c
No Bug - Build bustage caused by cset c619bbb2951f. Extra char at begining of file. r=me
2012-03-13 10:38:38 -07:00
Doug Turner
10f24217b7
Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm
2012-03-13 10:00:02 -07:00
Doug Turner
3e44310837
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 09:59:24 -07:00
Doug Turner
375ef173be
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Mounir Lamouri
731b61f2b9
Bug 713687 - Part 4 - Network API Android backend: use enable/disable notifications to prevent listening when not needed. r=dougt
2012-01-16 15:01:07 +01:00
Mounir Lamouri
2c8aad6487
Bug 713687 - Part 2 - Network API Android backend: listen to network changes and notify the DOM. r=dougt
2012-01-17 19:40:39 +01:00
Mounir Lamouri
7deb857d08
Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt
2012-01-16 14:44:07 +01:00
Mounir Lamouri
a5e3e6da12
Bug 674725 - Part AU - Release message lists in case of GC. r=smaug,cjones
2012-01-17 19:43:08 +01:00
Mounir Lamouri
e4d5e1b762
Bug 674725 - Part AT - Handle failures for getMessages(). r=smaug,cjones
2011-12-22 23:25:14 +01:00
Mounir Lamouri
732bf07b75
Bug 674725 - Part AQ - Read the next message in the list (Android backend). r=cjones
2011-12-22 23:16:59 +01:00
Mounir Lamouri
06dc950ebe
Bug 674725 - Part AO - Show the first message of message list in SmsCursor. r=smaug,cjones
2011-12-19 12:07:03 +01:00
Mounir Lamouri
9a97aef5ec
Bug 674725 - Part AN - Handling no messages in created message list. r=smaug,cjones
2011-12-19 12:04:53 +01:00
Mounir Lamouri
dcbad0bb56
Bug 674725 - Part AL - Store Android Cursors to keep track of created message lists. r=cjones
2011-12-22 23:16:22 +01:00
Mounir Lamouri
48d52a6f2f
Bug 674725 - Part AK - Create an Android Cursor when a message list is requested. r=cjones
2011-12-20 09:07:25 +01:00
Mounir Lamouri
b9b285610f
Bug 674725 - Part AG - Notify when delete() fails. r=smaug,cjones sr=sicking
2011-12-22 23:15:44 +01:00
Mounir Lamouri
9271bc326b
Bug 674725 - Part AF - Implement delete() on Android. r=cjones
2011-12-22 23:15:28 +01:00
Mounir Lamouri
bbb4a45fc6
Bug 674725 - Part AD - Notify when getMessage() fails. r=smaug,cjones sr=sicking
2011-12-22 23:14:45 +01:00
Mounir Lamouri
608642548a
Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones
2011-12-22 23:08:58 +01:00
Mounir Lamouri
54a820fdb5
Bug 674725 - Part Y - Notify when send() fails. r=smaug,cjones sr=sicking
2011-12-22 23:06:35 +01:00
Mounir Lamouri
fcf1028f48
Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones
2012-01-13 14:26:50 +01:00
Mounir Lamouri
7ed9793b94
Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones
2012-01-13 14:26:24 +01:00
Mounir Lamouri
615ffd5ee2
Bug 674725 - Part S - Implement WebSMS sent event. r=cjones,smaug
2012-01-10 20:34:50 +01:00
Mounir Lamouri
830ad36747
Bug 674725 - Part R - Save sent messages in the Android database. r=cjones
2012-01-13 14:25:47 +01:00
Sinker Li
fc33cc169a
Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones
2011-10-29 10:35:29 +00:00
Sinker Li
8831c028c6
Bug 697641, part 1: Export Android Sensor Manager API to Gecko. r=cjones
2012-02-05 19:51:05 +00:00
Chris Lord
6a02ed7ca5
Bug 724230 - Backout ondemand tiling. r=blassey, kats
...
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.
This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
Matt Brubeck
1943b83d16
Bug 723772 - Mousemove events broken in XUL fennec [r=wesj]
2012-02-02 17:40:25 -08:00
Ed Morley
46f66f0c50
Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE
2012-02-02 10:09:40 +00:00
Sinker Li
b908f47a6b
Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones
2011-10-29 10:35:29 +00:00
Sinker Li
6c2a9c2a5f
Bug 697641, part 1: Export Android Sensor Manager API to Gecko. r=cjones
2012-02-01 22:47:51 -08:00
Wes Johnston
16c435842a
Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt
2012-02-01 15:01:47 -08:00
Phil Ringnalda
c32375d493
Back out b35af982b085 (bug 721080) for android-xul bustage
2012-02-01 12:10:53 -08:00
Wes Johnston
9dd8dab901
Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt
2012-02-01 10:33:40 -08:00
James Willcox
de86b5b89d
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Boris Zbarsky
641cc99143
Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds.
2012-01-31 23:38:35 -05:00
James Willcox
8d27955326
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Ed Morley
17bc951b28
Backout b87113ff33ff (bug 721741) for Android build failures
2012-01-31 16:19:00 +00:00
James Willcox
ee323c2710
Bug 721741 - Add support for Flash on Android 4.0+ r=blassey
2012-01-31 09:40:58 -05:00
Brad Lassey
f3dfd1086f
bug 719359 - Pageload thumbnails for sites with <meta viewport=width=n> do not cover entire thumbnail box in about:home r=mfinkle
2012-03-12 14:05:43 -04:00
Wes Johnston
92a702e9c6
Bug 603008 - Android widget multitouch implementation. r=blassey,kats
2012-01-25 01:31:33 +01:00
Chris Lord
0bb534ddd1
Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
...
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-24 15:39:53 +00:00
Kartikaya Gupta
58841105aa
Bug 718961 - Make sure we copy the URI from the java to the C++ event for the VISITED event. r=blassey
2012-01-24 09:59:31 -05:00
Chris Peterson
1258563513
Bug 701002 part 2 - JavaStackTrace: send "JavaStackTrace" field to Socorro. r=dougt
2012-01-23 12:02:56 -08:00