Benoit Jacob
acdb7ab005
Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel
2013-11-15 11:28:43 -05:00
Wes Johnston
6d0b415bd5
Bug 936008 - Unregister tabs listener in LayerView. r=kats
2013-11-11 13:56:47 -08:00
Lucas Rocha
c3c0dcea4b
Bug 935523 - Remove setShadowVisibility() as it's not needed anymore (r=sriram)
2013-11-08 15:04:18 +00:00
Wes Johnston
0568c0b878
Bug 932690 - Move viewport message management into tabs. r=kats
2013-11-04 08:56:29 -08:00
Ryan VanderMeulen
1d57260a86
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Kartikaya Gupta
b6add35df3
Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
...
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Mark Capella
723c1317fc
Bug 906402 - security exception when checking signature of favicon, r=mfinkle
2013-10-29 08:42:37 -04:00
Brad Lassey
d3ac1ff71a
bug 930070 - GeckoView should handle not having fennec-specific classes r=mfinkle
2013-10-23 18:33:56 +02:00
Wes Johnston
b8a1b1fa65
Bug 914740 - Reland drawable and -moz-icon changes. r=mfinkle DONTBUILD
2013-10-15 10:40:57 -07:00
Wes Johnston
e516e626dd
Backout 0708b8629399 and a2aa2637a1b7 to fix commit message. r=fixup
2013-10-15 10:40:09 -07:00
Wes Johnston
9273cefb95
Bug 807313 - Allow showing app icons in native ui using -moz-icon protocols. r=mfinkle
2013-10-15 10:32:39 -07:00
Wes Johnston
717bccb993
Bug 807313 - Allow using android drawables in drawable:// resources. r=mfinkle
2013-10-15 10:32:36 -07:00
Wes Johnston
a9d1b44c0f
Bug 904245 - TWhitespace fixup r=kats
2013-10-15 08:08:10 -07:00
Wes Johnston
7c0d9c1cbd
Bug 904245 - Take touch radius into account when calculating pan threshold. r=kats
2013-10-15 08:06:01 -07:00
Chris Kitching
e0ce640cda
Bug 914296: Add more intelligent caching to the Favicons system. r=rnewman
2013-10-11 16:42:39 -07:00
Nicholas Cameron
cfa81cf3d7
Bug 854873. Keep scissor rect enabled. r=kats,nical
2013-10-05 01:03:09 +13:00
Wes Johnston
5edd4c1dab
Bug 918079 - Show highlight when overscrolling. r=kats
2013-09-26 22:57:57 -07:00
Wes Johnston
07776a1d0b
Bug 918086 - Disable overscroll when pinch zooming. r=kats
2013-09-23 11:47:05 -07:00
Wes Johnston
4dc4c594f2
Bug 705246 - Disable overscroll when panning. r=kats
2013-09-23 11:46:50 -07:00
Nathan Froyd
68cdae3b1c
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
18c29be0b1
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
9b3ca00d14
Bug 913228 - Fix floating point math to not round to zero accidentally. r=autra
2013-09-06 12:43:06 -04:00
Ed Morley
928a8da27b
Merge latest green fx-team changeset and mozilla-central
2013-09-05 12:07:58 +01:00
Kartikaya Gupta
18dd43afbc
Bug 911510 - Add a pref to override the dead zone threshold. r=bnicholson
2013-09-04 21:58:40 -04:00
Augustin Trancart
f504611545
Bug 711959 - Make FlingRenderTask time-based. r=kats
2013-09-04 14:07:12 -04:00
Augustin Trancart
47b0740cdd
Bug 711959 - Making BounceRenderTask time-based. r=kats
2013-09-04 14:07:12 -04:00
Augustin Trancart
1d8dcbd4e7
Bug 711959 - Adapt JavaPanZoomController to use the RenderTask mechanism. r=Cwiiis, kats
2013-09-04 14:07:11 -04:00
Augustin Trancart
0db487a266
Bug 711959 - Adapt LayerMarginsAnimator to use the new RenderTask mechanism. r=kats
2013-09-04 14:07:11 -04:00
Augustin Trancart
e02ce959e3
Bug 711959 - Add RenderTask and the necessary mechanisms to use it. r=kats
2013-09-04 14:07:11 -04:00
Mark Finkle
8b7d6d5ca2
Bug 880118 - Dynamically pull resource IDs to avoid R.java reordering r=kats
2013-09-05 00:29:29 -04:00
Kartikaya Gupta
89464ceba7
Bug 884047 - Add some diagnostic logging to help investigation. r=blassey
2013-09-04 09:12:46 -04:00
Dennis
ce62d6288a
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
7ec6b9edf1
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
5111d25648
Bug 906088 - part 1 - pass String[] to PrefsHelper.getPrefs wherever possible; r=blassey
2013-08-16 10:39:02 -04:00
Lucas Rocha
6bf96e6131
Merge m-c into fig
2013-08-19 13:49:45 +01:00
Kartikaya Gupta
67889faa26
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
07be7dc6ba
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
b12855a17d
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
edbdd9ca7e
merge m-c to fig
2013-08-04 15:14:01 -07:00
Margaret Leibovic
cd31dec075
merge m-c into fig
2013-07-28 12:08:01 -07:00
Margaret Leibovic
b2c048be2d
merge m-c into fig
2013-07-22 12:11:05 -07:00
Kartikaya Gupta
d2305505fb
Bug 892267 - Fix incorrect application of scaling the render offset. r=Cwiiis
2013-07-31 14:48:44 -04:00
Margaret Leibovic
83feb133fa
merge m-c into fig
2013-07-17 13:50:36 -07:00
Margaret Leibovic
a642185d51
merge m-c to fig
2013-07-10 15:21:53 -07:00
Sriram Ramasubramanian
d0be782334
Merge m-c to fig. [r=karma]
2013-07-03 17:08:31 -07:00
Botond Ballo
d689c3581c
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Chris Lord
4d8aa129aa
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
1cdb67fea9
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Sriram Ramasubramanian
07118340e6
Merge m-c to fig
2013-06-04 11:12:13 -07:00
Sriram Ramasubramanian
8bf649dc79
Bug 873579: Remove existing vertical about:home view. [r=bnicholson]
2013-05-29 11:31:52 -07:00
Brad Lassey
f44d8af825
bug 867517 - Gecko-based WebView for Android, refactor patch r=mfinkle
2013-05-24 12:21:01 -04:00
Kartikaya Gupta
f7d4c267eb
Bug 876060 - Handle medium-length taps as clicks. r=Cwiiis
2013-06-03 10:05:59 -04:00
Chris Kitching
d909f4bec8
Bug 888074 - Replacing single-threaded uses of StringBuffer with StringBuilder. r=rnewman
2013-07-02 08:12:17 -04:00
Shilpan Bhagat
89ca5fbb0b
Bug 734877 - Updates to pageaction based on the new design. r=wesj
2013-07-15 17:19:05 -07:00
Ed Morley
500079686f
Backed out changeset 2f2634b1f695 (bug 884075)
2013-07-16 12:00:04 +01:00
Chris Lord
4a19924c66
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
626c6ce9a7
Bug 884075 - Add a method to get drawables from urls in BitmapUtils. r=margaret
2013-07-16 01:33:05 -07:00
Chris Peterson
66bbeccb91
Bug 863154 - Part 2: Catch Bitmap OOMs when decoding resources. r=mfinkle
2013-05-07 18:30:47 -07:00
Chris Peterson
015eb3c581
Bug 863154 - Part 1: Catch Bitmap OOMs when decoding streams. r=mfinkle
2013-05-07 18:29:48 -07:00
Ryan VanderMeulen
83454cd58f
Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
...
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
0cf6a2de89
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-05-02 18:25:16 +01:00
Margaret Leibovic
eac18525f4
Bug 867249 - Improve getDominantColor algorithm to return more accurate colors. r=bnicholson
2013-05-02 11:53:13 -07:00
Chris Lord
65f7a7d740
Bug 803299 - Respect gfx.android.rgb16.force pref. r=blassey
2013-07-04 14:53:27 +01:00
Chris Lord
4dcb88c93c
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-07-04 14:53:25 +01:00
Kartikaya Gupta
059609fb24
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
0b742ebed4
Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis
2013-05-30 09:55:08 -04:00
Chris Lord
b2f308ce7c
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
245c63df69
bug 867517 - Gecko-based WebView for Android, move touch handling to LayerView r=blassey
2013-05-30 00:34:02 -04:00
Ehsan Akhgari
9b848f5568
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
Chris Lord
be07b8c1ba
Bug 803299 - Enable 32-bit colour on Android. r=kats
...
--HG--
extra : rebase_source : e494442a5ae7c906465f31924e4f54d815130972
2013-05-29 15:25:40 +01:00
Trevor Saunders
4b16c76fb3
backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE
2013-05-28 18:32:29 -04:00
Chris Lord
baaafdbe93
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-05-28 18:50:16 +01:00
Richard Newman
74b997bffe
Bug 886155 - GeckoSubdocumentScrollHelper logspew. r=kats
2013-06-23 23:39:14 -07:00
Kartikaya Gupta
709894d739
Bug 882120 - Apply rounding to the layer-pixel rect in Java to fix robopan regression. r=kentuckyfriedtakahe
2013-06-18 09:27:45 -04:00
Wes Johnston
e2c420c39b
Bug 874401 - Show an ongoing notification when webrtc is active. r=mfinkle
2013-06-11 12:14:43 -07:00
Kartikaya Gupta
dc77049db1
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
7747c1fe52
Bug 876348 - Fix possible NPE in GLController. r=snorp
2013-06-05 12:07:04 -04:00
Kartikaya Gupta
0ee373919f
Bug 867685 - Ensure setIsRTL updates the viewport metrics atomically. r=Cwiiis
2013-05-01 15:33:49 -04:00
Kartikaya Gupta
c17af26445
Bug 867685 - Use getLock() instead of this when modifying the viewport metrics for clarity. r=Cwiiis
2013-05-01 15:33:48 -04:00
Chris Lord
67370dd0ec
Bug 850783 - Fix the dynamic toolbar causing clipping of the scrollbar. r=kats
2013-04-29 15:18:23 +01:00
Chris Lord
1667cc97ca
Bug 865298 - Don't allow margins to scroll on small pages. r=kats
...
Bug 858969 regressed this behaviour. Margins that are smaller than the screen
size should have pinned margins.
2013-04-29 15:18:23 +01:00
Chris Lord
dfd089e364
Bug 865298 - Add an 'active area' for margin exposing. r=kats
...
This stops margins from being exposed unless the drag was started in an area
of the viewport that's near said margin. The margins will always be exposed
when reaching the edge of the page.
2013-04-29 15:18:23 +01:00
Chris Lord
a2672e22b1
Bug 865298 - Allow multiple touch interceptors on LayerView. r=kats
2013-04-29 15:18:23 +01:00
Kartikaya Gupta
c4ff270851
Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey
2013-04-26 13:26:46 -04:00
Kartikaya Gupta
084c16d781
Bug 839641 - Implement the RequestContentRepaint callback for APZC in AndroidBridge. r=Cwiiis
2013-04-26 13:26:46 -04:00
Kartikaya Gupta
5d262f9292
Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa
2013-04-26 13:26:39 -04:00
Kartikaya Gupta
64acbc32d5
Bug 839641 - Send touch events and prevent-default notifications to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Kartikaya Gupta
909ef092fe
Bug 839641 - Add a stub NativePanZoomController class to start Java bindings to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Chris Lord
cb9c55afb6
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Chris Peterson
df48e96785
Bug 863288 - Add sanity checks and error logging for bitmap decoding. r=mfinkle
2013-04-22 18:03:01 -07:00
Ryan VanderMeulen
4b7c54d033
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
5671b1d883
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Phil Ringnalda
3ca1d22661
Back out e64522db8661 (bug 863288) for robocop-1 hangs
2013-04-23 20:52:59 -07:00
Chris Peterson
865aa5b101
Bug 863288 - Add sanity checks and error logging for bitmap decoding. r=mfinkle
2013-04-22 18:03:01 -07:00
Brian Nicholson
830f0c9453
Bug 838793 - Part 1: Convert AboutHomeContent to a Fragment. r=lucasr
2013-04-16 14:34:46 -07:00
Justin Busby
52b6c3eadd
Bug 755240 - Allow Fennec axis locking behaviour to be controlled by a pref. r=kats
2013-04-14 14:27:02 +01:00
Chris Peterson
e2995e53e3
Bug 859229 - Part 3: Fix order of Java imports. r=kats
2013-04-08 00:51:56 -07:00
Chris Lord
a0307d1e46
Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
...
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Chris Lord
a6862288fd
Bug 822810 - Enable low precision rendering in more scenarios. r=kats
...
This patch matches previous behaviour, but adds the following scenarios:
- When rendering is aborted due to the viewport falling out of the displayport,
enable low precision rendering.
- When the viewport falls out of the displayport during low precision rendering,
low precision rendering will be enabled on the next frame.
2013-04-04 18:51:14 +01:00
Kartikaya Gupta
222af36914
Bug 857217 - Don't move focus to the layerview if joystick input events are in the dead zones. r=Cwiiis
2013-04-03 11:58:59 -04:00