Commit Graph

161 Commits

Author SHA1 Message Date
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
Brad Lassey
bb82c56da5 bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp 2012-03-27 01:31:57 -04: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
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
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
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
Doug Turner
72f04d8a25 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
7061af5d83 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Kartikaya Gupta
f83cb46c1d Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
3e34d0c2b0 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
3a65042252 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
Mark Finkle
c5c1e891ea 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
ff9a8627fc 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
3be7d6c979 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Chris Lord
c456a36f39 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
2f1650c3ae Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Chris Lord
7907635f98 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
Brad Lassey
e7f3142f9d bug 735790 - Tab thumbnails only scale 3/4 of the window r=mfinkle 2012-03-15 00:43:53 -04:00
Kartikaya Gupta
95c636bad1 Bug 729646 - Remove some annoying logging. r=Cwiiis 2012-03-15 10:38:43 -04:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Kartikaya Gupta
4a9257a2ee Fix build error for android-xul; goes with 8e11e5b9c935. r=bustage 2012-03-14 01:13:58 -04:00
Kartikaya Gupta
e15c94493b 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
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ali Juma
32ba162f31 Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Kartikaya Gupta
53ad75e612 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
6d13bb7ab3 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Eitan Isaacson
bf66087d4c 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
04fe7046ae Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Kartikaya Gupta
43b2051ae9 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Benoit Girard
7a39c42f15 remove dead code 2012-02-14 18:36:33 -05:00
Kartikaya Gupta
430c9e63f5 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05:00
Benoit Girard
b262f4ad9d Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
0b4a53c433 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Patrick Walton
cc6fa599ae Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
8c2ddab43b Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Benoit Girard
7f9d409f45 Removing this awesome template code because it causes library load crashes :( 2012-02-02 11:17:50 -05:00
Patrick Walton
59e0040294 Turn on OMTC by default; fix crash when acquiring EGL surface 2012-02-01 23:54:01 -08:00
Benoit Girard
705017cc85 Add init code for AndroidEGLObjects 2012-02-01 18:08:09 -05:00
Benoit Girard
f334424e51 Fix AndroidGLController::Init 2012-02-01 17:53:18 -05:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Benoit Girard
7468656545 Move registerCxxCompositor to FlexView 2012-02-01 14:15:52 -05:00
Benoit Girard
8b421129d7 Merge fixes 2012-01-30 15:57:30 -05:00
Benoit Girard
cc153dc324 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Doug Turner
795f79c2bc Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda
acc2c0c02e Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner
3fa071d3e3 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
Doug Turner
2274638595 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Ed Morley
12222d2d31 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
95c2676d58 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Mounir Lamouri
23ead139c9 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
e6b1246ce3 Bug 713687 - Part 1 - Network API Android backend: get current information. r=dougt 2012-01-16 14:44:07 +01:00
Mounir Lamouri
f6db5c7f71 Bug 674725 - Part AU - Release message lists in case of GC. r=smaug,cjones 2012-01-17 19:43:08 +01:00
Mounir Lamouri
6373b75baf 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
443fdc4369 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
824c6f01fb Bug 674725 - Part AF - Implement delete() on Android. r=cjones 2011-12-22 23:15:28 +01:00
Mounir Lamouri
367ad7c015 Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones 2011-12-22 23:08:58 +01:00
Mounir Lamouri
45bedebe10 Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones 2012-01-13 14:26:50 +01:00
Mounir Lamouri
7a1bfa48dc Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones 2012-01-13 14:26:24 +01:00
Mounir Lamouri
64e41e010c Bug 674725 - Part R - Save sent messages in the Android database. r=cjones 2012-01-13 14:25:47 +01:00
Sinker Li
3d8931554d Bug 697641, part 1: Export Android Sensor Manager API to Gecko. r=cjones 2012-02-05 19:51:05 +00:00
Ed Morley
b99d579b4b 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
1edfdf91bb Bug 697641, part 1: Export Android Sensor Manager API to Gecko. r=cjones 2012-02-01 22:47:51 -08:00
Wes Johnston
81e2ecb00d 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
27adb9fb63 Back out b35af982b085 (bug 721080) for android-xul bustage 2012-02-01 12:10:53 -08:00
Wes Johnston
0ab3731608 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
Brad Lassey
94fdb3b633 Bug 724210 - Stop using canvas to take screenshots. r=kats 2012-02-04 01:48:26 -05:00
Phil Ringnalda
46de66622e Back out c7e11bcec31a (bug 724210) for Android XUL bustage 2012-02-09 22:24:53 -08:00
Brad Lassey
f9149ad377 Bug 724210 - Stop using canvas to take screenshots. r=kats 2012-02-04 01:48:26 -05:00
Ed Morley
7307ed3da9 Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri
d7b22aa947 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
Ed Morley
08ace01a8b Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri
8ad303fbe4 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
James Willcox
ced0347f0e Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky
403d51ce98 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00