Ed Morley
95fe6d2a1c
Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE
2012-11-01 00:16:35 +00:00
Jim Chen
ccfcd94e57
Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey
2012-10-31 17:35:31 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Chris Lord
bc223170e4
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Wes Johnston
2275b3a49c
Bug 795053 - Unlock locked profiles on Android. r=blassey
2012-10-05 12:35:26 -07:00
Chris Lord
e7de629479
Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
...
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.
--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Wes Johnston
e6a74c214f
backout c1b386c21158
2012-10-02 11:48:31 -07:00
Wes Johnston
c37af0ec32
Bug 795053 - Add ability to unlock a profile from Java. r=blassey
2012-10-02 11:00:13 -07:00
Chris Peterson
f6d8de3463
Bug 793062 - Remove unused PostToJavaThread() and ExecuteNextRunnable(). r=blassey
2012-09-20 17:44:24 -07:00
Brad Lassey
e4c15f1c55
bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle
2012-09-12 23:47:08 +02:00
Benoit Girard
e487fbec5d
Bug 791640 - EventTracer will only measure the main thread responsiveness, fixes profiling hang. r=blassey
...
--HG--
extra : rebase_source : a5a9074b74ab8638cfc4b568b0d09ca7b5e61b17
2012-09-20 14:23:15 -04:00
Kartikaya Gupta
d69347eff4
Bug 792496 - Remove ScreenshotHandler delegation stubs from GeckoAppShell. r=cpeterson
2012-09-19 17:15:55 -04:00
Ehsan Akhgari
71d9f962d0
Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests
2012-09-19 15:42:18 -04:00
Brad Lassey
5ab1683dfb
bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle
2012-09-13 15:07:57 +02:00
Wes Johnston
8234baf59c
Bug 787271 - Add methods to call in jni through ctypes. r=mfinkle,blassey
2012-09-12 11:31:17 -07:00
Brad Lassey
a4736dd52a
bug 761503 - return a bool from PumpMessageLoop to indicate if work was performed r=snorp
2012-06-05 01:14:12 -04:00
Zoe Bellot
c7a4582c95
Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson
2012-08-26 23:16:22 -03:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
7a68f05d39
Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures
2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d
Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson
2012-08-17 12:02:18 +02:00
Kartikaya Gupta
0a22a71c44
Bug 776906 - Remove unused enum. r=blassey
2012-08-13 20:01:31 -04:00
Kartikaya Gupta
b2cee8b743
Bug 763166 - Fix race condition that could result in using an uninitialized AndroidBridge. r=snorp
2012-07-31 17:34:06 -04:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
f0d7883166
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Kartikaya Gupta
7df3e8d42a
Back out 083d36bafbc8 (bug 763166) on suspicion of android talos redness. r=me
2012-07-13 17:34:58 -04:00
Kartikaya Gupta
90cac38916
Bug 769269 - Update the graphics code to be able to deal with blowing away the layer controller, client, and view and creating them afresh. r=ajuma
2012-07-13 10:19:46 -04:00
Kartikaya Gupta
3971cfe5dc
Bug 763166 - Add a AndroidBridge::GetJNIForCompositorThread function to avoid using GetJNIForThread. r=blassey
2012-07-13 09:36:43 -04:00
Ryan VanderMeulen
09bff6c590
Backout 7ddda33608c6 (bug 772672) due to robocop orange.
2012-07-12 21:35:19 -04:00
Brad Lassey
b8cba3dfe4
bug 772672 - CreateCompositor can hold up the Gecko thread, waiting for a surface r=ajuma
2012-07-12 16:49:58 -04:00
Benoit Jacob
052d6b6480
Bug 766251 - 1/5 - GfxInfo on Android: the Java and AndroidBridge parts - r=kats,jrmuizel
2012-07-05 10:12:10 -04:00
Brad Lassey
d571f01e38
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones
2012-06-14 09:08:51 -07:00
Kartikaya Gupta
6435bb7e6d
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
James Willcox
104e9e3e22
Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey
2012-06-06 22:39:36 -04:00
James Willcox
f4fb203aac
Bug 759799 - Hook up Hal WakeLocks on Android r=blassey
2012-06-06 22:39:01 -04:00
Brad Lassey
3c13cc7973
backing out bug 755070 for potential talos panning regression
2012-06-05 22:55:18 -04:00
Brad Lassey
9dea03bf32
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
...
--HG--
extra : rebase_source : a8eb542ef7a9f6c86e9766db7276a76dd8f038ee
2012-06-04 11:56:31 -04:00
Phil Ringnalda
1e02a59be4
Back out 3a23e11202f9 (bug 761503) for XUL build bustage
...
--HG--
extra : rebase_source : 379483b156ff33823218fd7c3ee82162341d659b
2012-06-05 08:28:37 -07:00
Brad Lassey
70c756f599
bug 761503 - return a bool from PumpMessageLoop to indicate if work was performed r=snorp
2012-06-05 01:14:12 -04:00
James Willcox
b194413562
Bug 727421 - Implement full screen support for Flash on Android r=blassey
2012-05-30 12:10:49 -04:00
James Willcox
85579b42e5
Backout 814d564578d1 due to xul bustage
2012-05-30 11:58:50 -04:00
James Willcox
01990ace69
Bug 727421 - Implement full screen support for Flash on Android r=blassey
2012-05-30 10:29:16 -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
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01: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
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
Kartikaya Gupta
ef85499723
Bug 748531 - Guard against exceptions in JNI. r=blassey
2012-05-04 11:08:47 -04: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
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
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
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
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
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
Mounir Lamouri
15a94acd89
Bug 740190 - Screen Orientation API: implement locking in Android. r=dougt
2012-03-29 23:31:12 -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
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
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
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
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
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
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