Commit Graph

503 Commits

Author SHA1 Message Date
Kartikaya Gupta
69712eb652 Bug 787060 - Update android widget RedrawAll to invalidate the entire view to work with DLBI. r=mattwoodrow 2012-09-04 18:06:22 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Anthony Jones
d5f4d26ad1 Bug 772345 - Fix Android segfault on shutdown. r=blassey 2012-08-28 16:54:24 -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
Matt Woodrow
1adf216f21 Bug 783449 - Move android specific NeedsPaint checks into the android widget implementation. r=roc 2012-08-20 22:00:50 +12: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
Chris Jones
2573176d5c Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
3e40b0b005 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Eric Wong
dd8cf54ad6 Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan 2012-08-14 20:37:44 -07:00
Ed Morley
9bb89363c7 Backout 327d9e9efbf7 (bug 773760) for bustage 2012-08-14 16:23:02 +01:00
Eric Wong
3d82e782b5 Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan 2012-08-13 22:46:23 -07:00
Kartikaya Gupta
0a22a71c44 Bug 776906 - Remove unused enum. r=blassey 2012-08-13 20:01:31 -04:00
Kartikaya Gupta
c32754d98a Bug 776906 - Fix thumbnails on Nexus 7. r=blassey 2012-08-13 20:01:31 -04:00
Matt Woodrow
0fe44d8b7f Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-08-13 22:10:10 +12:00
Wes Johnston
be7b3c9a7c Bug 757680 - Add a pref to turn off event coalescing. r=kats 2012-08-09 12:54:36 -07:00
Makoto Kato
6ff25d0dc9 Bug 778389 - Password mask should be U+2022 on Android. r=cpeterson 2012-08-07 14:13:25 +09:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02: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
Makoto Kato
fab68322c5 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Nicholas Cameron
7aa563c2b9 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
73deb64951 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxInfo). r=Bas 2012-07-25 12:46:20 +12:00
Nicholas Cameron
34ba57113f Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
f371c79e75 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
a4a2fe78c5 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxInfo). r=Bas 2012-07-25 12:46:20 +12:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05: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
Mark Capella
fd9b625002 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -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
Steve Fink
f20c2ef916 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
67949244f1 Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Mark Capella
430f93c039 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Chris Peterson
ea4f9dda81 Bug 709230 - Part 1: Add Android JNI error logging. r=blassey 2012-07-11 10:29:03 -07:00
Brad Lassey
4a3e2e80bf bug 763166 - crash in mozilla::AndroidGeckoLayerClient::SetFirstPaintViewport r=kats
--HG--
extra : rebase_source : e829af44977ba676b57697d3a3042b78c1b6efca
2012-07-17 10:25:48 -04:00
Nicolas Silva
049d5a6366 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -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
Makoto Kato
578f93622b Bug 772327 - Password mask timer is too short on Android. r=blassy 2012-07-13 11:26:20 +09: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
Kartikaya Gupta
b6c179266a Bug 772993 - Fix compiler warnings for widget/android. r=cpeterson 2012-07-12 12:52:52 -04:00
Jeff Muizelaar
5e678dc998 Bug 764188 - Expose a global frame tree generation number. r=dbaron
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Benoit Jacob
b8d40b05f7 Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg 2012-07-05 10:32:10 -04:00
Benoit Jacob
719a318e65 Bug 766251 - 5/5 - update Adreno WebGL blacklisting - r=jrmuizel 2012-07-05 10:13:04 -04:00
Benoit Jacob
082920e6af Bug 766251 - 4/5 - clean up GetGfxDriverInfo on Android - r=jrmuizel 2012-07-05 10:12:54 -04:00
Benoit Jacob
b0176aef4d Bug 766251 - 2/5 - reimplement GfxInfo on Android to use the data provided by the Java thread - r=jrmuizel 2012-07-05 10:12:33 -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
Ehsan Akhgari
55cdeecc72 Backout changeset ba7021170544 (bug 539356) because of performance and correctness regressions 2012-07-03 20:12:45 -04:00
Ehsan Akhgari
50c48849de Backout changeset 6e8c5c011767 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:05 -04:00
Brad Lassey
cfaf0c3c97 bug 770289 - JNIEnv->NewString can throw and needs to be caught before another JNI call, follow up to fix whitespace r=kats 2012-07-02 15:32:34 -04:00
Brad Lassey
fc9f8556a4 bug 770289 - JNIEnv->NewString can throw and needs to be caught before another JNI call r=kats 2012-07-02 15:12:50 -04:00
Brad Lassey
b94842eeea bug 749917 - crash in mozilla::AndroidBridge::CheckURIVisited r=kats 2012-07-02 13:54:10 -04:00
Matt Woodrow
3900adf612 Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
0664c2e210 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-30 15:06:13 +12:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Kartikaya Gupta
cdacbf5b96 Bug 753665 - Ensure the mParent reference is nulled out when destroying a child window. r=blassey 2012-06-18 22:29:52 -04:00
Eitan Isaacson
284278e3c4 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07: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
Marco Castelluccio
24d43876fd Bug 703484 - Part 3: Fix android whitelist. r=ajuma 2012-06-13 15:54:02 -04: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
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
ddc048ce6a Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Eitan Isaacson
b92103a601 Bug 755976 - Send empty text and selection when IME is disabled. r=cpeterson 2012-06-07 11:09:00 -07: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
Benoit Girard
84d5e945e3 Backout dd81ac5bb79d (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brad Lassey
0e76ba5434 backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey
f4c738f5c1 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 2012-06-04 11:56:31 -04:00
Brad Lassey
0c1edec2c0 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Kartikaya Gupta
8cb2b0fff8 Bug 760458 - When taking thumbnail screenshots account for RTL pages as well. r=bnicholson 2012-06-01 23:50:57 -04:00
Matt Brubeck
8f0eb7c918 Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070 2012-06-01 17:45:02 -07:00
Kartikaya Gupta
14d8057fd8 Bug 760458 - When taking thumbnail screenshots account for RTL pages as well. r=bnicholson 2012-06-01 20:30:46 -04:00
Brad Lassey
356eca4294 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 : 2a7c299c7133da06638d9ef1d27d4b4653072dce
2012-06-01 18:54:48 -04:00
Brad Lassey
86125fb70e bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats
--HG--
extra : rebase_source : be056e08b6a7d8aa339b12cbeb58d42054f5a118
2012-06-01 18:54:47 -04:00
Chris Peterson
d267159cb3 Bug 756429 - Part 2: Assert sanity of composition string's state changes. r=blassey 2012-06-01 09:48:13 -07:00
Brad Lassey
712f2b7ef1 bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc), follow up to guard against changes to MessageQueue r=snorp a=johnath 2012-06-01 14:40:10 -04:00
Brad Lassey
92b4bd49ae bug 759146 - follow up to fix bad merge 2012-05-31 23:24:07 -04:00
Brad Lassey
c766b61ee2 bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc) r=snorp 2012-05-31 20:07:07 -04:00
Marco Castelluccio
edf400fa52 Bug 703484 - Part 3: Fix android OMTC whitelist. r=ajuma
--HG--
extra : rebase_source : e16788c85616fa92bfe724266b60435b446e9124
2012-05-30 14:56:56 -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
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