Commit Graph

741 Commits

Author SHA1 Message Date
Nathan Froyd
c0347b7336 Bug 906088 - part 1 - pass String[] to PrefsHelper.getPrefs wherever possible; r=blassey
We want JSONArray to go away, since we're going to be transferring strings via JNI.
2013-09-04 09:56:27 -04:00
Chris Kitching
c39ee0c5d6 Bug 794981 - Part 1: Annotate Java methods that are to have JNI wrappers generated. r=kats 2013-09-09 08:57:36 -04:00
Kartikaya Gupta
2337bf0001 Bug 913228 - Fix floating point math to not round to zero accidentally. r=autra 2013-09-06 12:43:06 -04:00
Ed Morley
b71509d187 Merge latest green fx-team changeset and mozilla-central 2013-09-05 12:07:58 +01:00
Kartikaya Gupta
3b7a53f8ad Bug 911510 - Add a pref to override the dead zone threshold. r=bnicholson 2013-09-04 21:58:40 -04:00
Augustin Trancart
f65fc24dad Bug 711959 - Make FlingRenderTask time-based. r=kats 2013-09-04 14:07:12 -04:00
Augustin Trancart
be9643eeef Bug 711959 - Making BounceRenderTask time-based. r=kats 2013-09-04 14:07:12 -04:00
Augustin Trancart
d96bc575c6 Bug 711959 - Adapt JavaPanZoomController to use the RenderTask mechanism. r=Cwiiis, kats 2013-09-04 14:07:11 -04:00
Augustin Trancart
3639c05703 Bug 711959 - Adapt LayerMarginsAnimator to use the new RenderTask mechanism. r=kats 2013-09-04 14:07:11 -04:00
Augustin Trancart
516614b863 Bug 711959 - Add RenderTask and the necessary mechanisms to use it. r=kats 2013-09-04 14:07:11 -04:00
Mark Finkle
d06c8c82eb Bug 880118 - Dynamically pull resource IDs to avoid R.java reordering r=kats 2013-09-05 00:29:29 -04:00
Kartikaya Gupta
353823f45e Bug 884047 - Add some diagnostic logging to help investigation. r=blassey 2013-09-04 09:12:46 -04:00
Dennis
eb4aec2463 Bug 845747 - Add the pref "ui.scrolling.negate_wheel_scrollY" to mobile.js so that "scrollY" can be negated in JavaPanZoomController.java to allow a mouse scroll wheel to scroll the screen in the direction of choice depending on the true/false state of "mNegateWheelScrollY". r=kats 2013-08-27 21:01:40 -04:00
Nathan Froyd
b4f16a0b95 Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
Nathan Froyd
064e6210e6 Bug 906088 - part 1 - pass String[] to PrefsHelper.getPrefs wherever possible; r=blassey 2013-08-16 10:39:02 -04:00
Lucas Rocha
9aa6590925 Merge m-c into fig 2013-08-19 13:49:45 +01:00
Kartikaya Gupta
687300d44d Bug 898877 - Prevent pages from getting stuck without the dynamic toolbar. r=Cwiiis
The problematic scenario is when the page is exactly the height of the screen
(with dynamic toolbar not visible). In this case, the scrollable() function in
Axis.java returns false on the vertical axis, and so the JavaPanZoomController
never does any scrolling. This in turns means that the scrollBy code in
LayerMarginsAnimator never gets to run, so you can never drag the toolbar back
into being visible. The patch ensures that scrollable() returns true when some
or all of the margins are not visible, ensuring that in these scenarios the
user can still scroll the toolbar back onto the screen. This patch also adds
some comments/asserts to verify the new code is threadsafe.
2013-08-16 08:42:23 -04:00
Kartikaya Gupta
c76864b5fc Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Margaret Leibovic
12912ff426 merge m-c into fig
--HG--
rename : browser/devtools/styleinspector/css-logic.js => toolkit/devtools/styleinspector/css-logic.js
2013-08-16 11:31:14 -07:00
Margaret Leibovic
7f5104c74c merge m-c to fig 2013-08-04 15:14:01 -07:00
Margaret Leibovic
6804b8467f merge m-c into fig 2013-07-28 12:08:01 -07:00
Margaret Leibovic
c146eaf09b merge m-c into fig 2013-07-22 12:11:05 -07:00
Kartikaya Gupta
909376fedf Bug 892267 - Fix incorrect application of scaling the render offset. r=Cwiiis 2013-07-31 14:48:44 -04:00
Margaret Leibovic
13b5e4f8cf merge m-c into fig 2013-07-17 13:50:36 -07:00
Margaret Leibovic
20dd8d94ca merge m-c to fig 2013-07-10 15:21:53 -07:00
Sriram Ramasubramanian
51d7d46e2f Merge m-c to fig. [r=karma] 2013-07-03 17:08:31 -07:00
Botond Ballo
f1334508a1 Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Chris Lord
935ae0bc57 Bug 886576 - Fix scrolling cancelling locked dynamic toolbar animations. r=kats
Move the margin animation-cancelling call into the margins-pinned check block
in LayerMarginsAnimator to make sure margin animations aren't cancelled by
scrolling when margins are locked.
2013-07-19 17:39:44 +01:00
Botond Ballo
a0929ab998 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Sriram Ramasubramanian
21d4a89c21 Merge m-c to fig 2013-06-04 11:12:13 -07:00
Sriram Ramasubramanian
ccae811d71 Bug 873579: Remove existing vertical about:home view. [r=bnicholson] 2013-05-29 11:31:52 -07:00
Brad Lassey
2eb791ed73 bug 867517 - Gecko-based WebView for Android, refactor patch r=mfinkle 2013-05-24 12:21:01 -04:00
Kartikaya Gupta
e93fa2201b Bug 876060 - Handle medium-length taps as clicks. r=Cwiiis 2013-06-03 10:05:59 -04:00
Chris Kitching
d1c2df92fc Bug 888074 - Replacing single-threaded uses of StringBuffer with StringBuilder. r=rnewman 2013-07-02 08:12:17 -04:00
Shilpan Bhagat
2ecb8f3c44 Bug 734877 - Updates to pageaction based on the new design. r=wesj 2013-07-15 17:19:05 -07:00
Ed Morley
407dd43670 Backed out changeset 2f2634b1f695 (bug 884075) 2013-07-16 12:00:04 +01:00
Chris Lord
8774d9a0b6 Bug 892246 - Allow subdocument scrolling to reveal margins. r=kats
This adds a notification callback to PanZoomTarget that the PanZoomController
can call to notify GeckoLayerClient that a subdocument is being scrolled. This
allows GeckoLayerClient to call LayerMarginsAnimator and alter the margins
accordingly, stopping a page from trapping the toolbar on/off the screen with
a screen-covering subframe.
2013-07-15 17:03:24 +01:00
Wes Johnston
703c559b61 Bug 884075 - Add a method to get drawables from urls in BitmapUtils. r=margaret 2013-07-16 01:33:05 -07:00
Chris Peterson
534905ced6 Bug 863154 - Part 2: Catch Bitmap OOMs when decoding resources. r=mfinkle 2013-05-07 18:30:47 -07:00
Chris Peterson
da4fd41203 Bug 863154 - Part 1: Catch Bitmap OOMs when decoding streams. r=mfinkle 2013-05-07 18:29:48 -07:00
Ryan VanderMeulen
a7e1167b84 Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
1fd09a6e31 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-02 18:25:16 +01:00
Margaret Leibovic
0176c34f35 Bug 867249 - Improve getDominantColor algorithm to return more accurate colors. r=bnicholson 2013-05-02 11:53:13 -07:00
Chris Lord
e45a1a8094 Bug 803299 - Respect gfx.android.rgb16.force pref. r=blassey 2013-07-04 14:53:27 +01:00
Chris Lord
c92aaf4fa7 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-07-04 14:53:25 +01:00
Kartikaya Gupta
b2018ae86d Bug 797615 - Guard against isBrowserContentDocumentDisplayed returning true prematurely. r=Cwiiis
Prior to this change, isBrowserContentDocumentDisplayed returned false
from the time that the isFirstPaint flag was set in layout to the time
that layout handed off the rendered document to the compositor. However
the way the function is used meant that it needs to return false until
the compositor actually composites the "first-paint" rendering,
otherwise other events can sneak in and run before the compositor. This
patch moves the tracking for the flag into GeckoLayerClient so that it
can be queried and modified synchronously from both the Gecko thread in
browser.js and the compositor thread in setFirstPaintViewport.
2013-05-30 09:55:23 -04:00
Kartikaya Gupta
7f6f0f474c Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis 2013-05-30 09:55:08 -04:00
Chris Lord
727620e7ec Bug 868998 - Expose the dynamic toolbar after a certain distance. r=kats
Instead of only exposing the toolbar when scrolling from the top quarter of the
screen, always expose the toolbar, but only after a certain distance.
2013-05-30 12:53:24 +01:00
Kartikaya Gupta
b08334103e bug 867517 - Gecko-based WebView for Android, move touch handling to LayerView r=blassey 2013-05-30 00:34:02 -04:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00