Commit Graph

21812 Commits

Author SHA1 Message Date
Andrzej Hunt
3228e94e88 Bug 1324051 - Add highlights histogram telemetry r=Grisha
MozReview-Commit-ID: 92m8jYS8b8D

--HG--
extra : rebase_source : 7056ef9bc68c6bfb9c56f64f6c51be65a1419ed4
2016-12-16 10:42:04 -08:00
Andrzej Hunt
0d8837ac7f Bug 1324051 - Pre: fix constant name typo r=Grisha
MozReview-Commit-ID: GX9sxnfnnuG

--HG--
extra : rebase_source : d6531f9b81ed31ca57dfd875f9aed9088a5d8e5b
2016-12-16 10:39:02 -08:00
Tom Klein
1829599c74 Bug 1282763 - Wait for anchor to display before reanchoring tabs menu. r=sebastian
MozReview-Commit-ID: DQGNWQYbTop

--HG--
extra : rebase_source : 3b66f359d860e4ea916ef3aff7b65a3f49137f6c
2016-11-30 12:00:00 -06:00
Andrzej Hunt
0ade2f4484 Bug 1323835 - Use brandShortName in AS welcome panel insted of "Firefox" r=flod
MozReview-Commit-ID: JLgd9qs4HxK

--HG--
extra : rebase_source : b8fa8fc49feb30bad06345af2acd3b73b2663d4d
2016-12-15 14:07:49 -08:00
maliu
e2d1077fac Bug 927667 - [RTL] Align suggestion to end of icon, r=sebastian
MozReview-Commit-ID: 57V2HAYizTu

--HG--
extra : rebase_source : 9f2962e5978ee48a5a83d5853613f87281954ecc
2016-12-15 14:04:34 +08:00
Carsten "Tomcat" Book
2a375bb528 Merge mozilla-central to autoland 2016-12-16 16:10:51 +01:00
Carsten "Tomcat" Book
a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Tom Klein
b42dfe45bd Bug 1323945 - Update summary copy for compact tabs. r=sebastian
MozReview-Commit-ID: DKviWFzltc2

--HG--
extra : rebase_source : 0825642105fec55a76db3d84eca09a4745489318
2016-12-16 03:06:46 -06:00
Evan Tseng
0eebd3161c No bug - Update readability from github repo, includes fix for Bug 1142312 and Bug 1285543, r=Gijs
MozReview-Commit-ID: 5hi1iuDO3XE

--HG--
extra : rebase_source : 9c15ccde6cadc4df3d7751ca90a53dc4c0d021c3
2016-12-15 12:03:53 +08:00
Phil Ringnalda
e3ceaf61be Merge m-c to m-i
MozReview-Commit-ID: FArqhSVQLaT
2016-12-15 17:53:14 -08:00
Phil Ringnalda
f680e72cc6 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 4iKvEwhyJQJ
2016-12-15 17:47:41 -08:00
Eugen Sawin
cbc1668ca6 Bug 1322585 - [1.0] Remove GeckoView.Browser. r=snorp 2016-12-15 20:22:11 +01:00
Eugen Sawin
6ac3765414 Bug 1322584 - [1.0] Remove GeckoView.ChromeDelegate.onScriptMessage. r=snorp 2016-12-15 20:22:10 +01:00
Eugen Sawin
fa847d4f26 Bug 1322582 - [1.0] Remove GeckoView.ChromeDelegate.onReady. r=snorp 2016-12-15 20:21:46 +01:00
Grisha Kruglov
1a37ce6e11 Bug 1321368 - Exclude remote-only visits from AS Top Sites r=ahunt
MozReview-Commit-ID: Jacc3SGT2pw

--HG--
extra : rebase_source : afb826015a2196144457d48370ce94b77a450cb0
2016-12-14 16:53:31 -08:00
Gijs Kruitbosch
cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Carsten "Tomcat" Book
877ffa1db2 merge mozilla-inbound to mozilla-central a=merge 2016-12-15 14:17:53 +01:00
Tooru Fujisawa
25ecae81fc Bug 1321226 - Remove legacy generator from mobile/. r=sebastian 2016-12-15 16:54:46 +09:00
Nevin Chen
91bd753d3a Bug 1278245 - If a space is found, we assume this is a search query. r=ahunt
MozReview-Commit-ID: EfenqXSlaWj

--HG--
extra : rebase_source : 3934445d279a5f438294abed4a6b315eda6a2d33
2016-11-29 11:33:27 +08:00
John Lin
554abfa33e Bug 1323687 - re-query output buffers after format change. r=esawin
MozReview-Commit-ID: 8L1MH3ODU8d

--HG--
extra : rebase_source : 9269938ff6495a392aaa3fa3e2fc7d5705c0aac4
2016-12-15 18:10:14 +08:00
Phil Ringnalda
082cc32ea9 Merge m-c to autoland 2016-12-15 17:52:23 -08:00
Ralph Giles
f556d427fb Bug 1283898 - Don't set RUSTC for artifact builds. r=gps
The --disable-compile-environment configure option used by
the artifact builds removes all support for toolchains,
including setting paths for them with environment options.

Unset the RUSTC and CARGO vars inherited from mozconfig.rust
in the artifact mozconfigs to accommodate the invalid option
check, just like we do for the CC and CXX options.

MozReview-Commit-ID: IwPetRaIY25

--HG--
extra : rebase_source : 37fb4bf9e69d3082cc0ed6b0013e6363a7e8e8e5
2016-12-13 11:16:53 -08:00
Ralph Giles
175aa9f527 Bug 1283898 - Make tooltool rust available in all automation. r=gps
Include mozconfig.rust in the common mozconfig so all jobs
will have the same rust config.

Automation mozconfigs all inherit from mozconfig.common,
so we can include mozconfig.rust there and not need it
anywhere else.

Remove --enable-rust from mozconfig.rust now that it's
the default. We only need the RUSTC and CARGO path
variables so jobs can find the toolchain installed from
the tooltool manifest. Also some automation jobs reject
the configure option if we set it unconditionally.

The --enable-rpath comment is no longer necessary; rust has
been consistently built this way for some time.

MozReview-Commit-ID: 2IeIIIinnPL

--HG--
extra : rebase_source : 79dadcc5ed13f2db312042d755a57698f267e902
2016-11-30 16:10:33 -08:00
Ralph Giles
2f1583e05d Bug 1283898 - Add rust to more automation builds. r=mshal
Jobs using these additional tooltool manifests need an appropriate
rust toolchain when rust code is enabled.

MozReview-Commit-ID: YM7yjJk3w5

--HG--
extra : rebase_source : d98f3a9c2b1bcba337eedcaa06125ac5fb9dfd40
2016-11-30 15:08:15 -08:00
Grisha Kruglov
eba14873a8 Bug 1319274 - Part 3: Allow pinning and unpinning of both Top Sites and Highlights r=ahunt
This commit introduces a special type of a pin, "Activity Stream pin".
It's identified by a fixed position of -1. Activity Stream pins are displayed inline
with top sites, at the very front. They are "non-positioned", as opposed to regular pins
which have a position on Top Sites grid. This approach was selected (as opposed to creating a
new kind of a "non-positioned pins bookmark folder") because it is simpler, does not
involve any migrations or sync changes, and is thus preferred in light of a moving
target that is the current vision for Activity Stream.

Two types of pins, regular ones and Activity Stream pins, are independent of each other.

Due to the fact that pins and bookmarks are almost the same thing, we can only figure our,
based on the underlying queries, the following ahead of time:
- pinned state of a pinned top site item (trivial case)
- pinned state of a non-pinned top site item (trivial case)
- bookmark state of a "bookmarked" hightlight item (trivial case)
- bookmark state of a non-pinned top site item

For all other combinations, states have to be looked up when user opens a context menu for an item.

MozReview-Commit-ID: 3KbOp9S4Pz7

--HG--
extra : rebase_source : a86893a235ee7c6c7d2215b9c8a3b56f986480a9
2016-12-14 16:23:40 -08:00
Grisha Kruglov
32c27d4420 Bug 1319274 - Part 2: Display a pin icon besides the Top Site title r=ahunt
MozReview-Commit-ID: BGpgJOeuRQn

--HG--
extra : rebase_source : e4a2f46f91c85bb4a7071361ba9da7d69f4d93da
2016-12-01 19:35:02 -08:00
Grisha Kruglov
dcd0e6721f Bug 1319274 - Part 1: Use regular getTopSites method for A-S top sites r=ahunt
Since we want to include pinned sites in A-S Top Sites, this removes the "plain top sites"
query which excludes pinned sites.

Maximum number of suggested sites displayed is set so that they will fill out at most two "pages".

MozReview-Commit-ID: 8uynmwiaPkt

--HG--
extra : rebase_source : 763633fca5f9f606a8f6cfd1f4a4332273c34dee
2016-12-01 18:53:47 -08:00
Jim Chen
57b62c6572 Bug 1322715 - Convert DownloadsIntegration event; r=sebastian
Convert the "Download:Remove" event listener in DownloadsIntegration
from a NativeEventListener to a BundleEventListener on the background
thread.
2016-12-15 18:23:54 -05:00
Jim Chen
89ed582051 Bug 1322714 - Convert RecentTabsAdapter and GeckoPreferences events; r=sebastian
Convert "ClosedTabs:Data" and "Sanitize:Finished" events used in
RecentTabsAdapter and GeckoPreferences from NativeJSObject events to
GeckoBundle events.
2016-12-15 18:23:54 -05:00
Tom Klein
f2ac7261a0 Bug 1313296 - Don't collect metadata for "about:" pages. r=Grisha
MozReview-Commit-ID: 6opB4lT85vs

--HG--
extra : rebase_source : 9c422ba61d4981907aa4c3068775e98de4c09fbf
2016-12-02 23:00:38 -06:00
Shubham
6da5cd3bb3 Bug 1155860 - open a shared link -r?ahunt
MozReview-Commit-ID: 6Vwfmpt4UQY

--HG--
extra : rebase_source : 20d2e8cdc22709de3cbcbfcd20f46b0b7a5c5266
2016-11-18 12:50:53 -05:00
Carsten "Tomcat" Book
fa5c335f38 merge mozilla-inbound to mozilla-central a=merge 2016-12-13 16:04:16 +01:00
Jim Chen
cc4198ee1a Bug 1322711 - 3. Convert JavascriptBridge to use Bundle events; r=gbrown
Convert JavascriptBridge, JavascriptTest, and other relevant code to use
the new Bundle events. We used the same "Robocop:JS" event for
communicating both ways before, but now that we have a unified bus, we
need two different events, "Robocop:JS" and "Robocop:Java" for two-way
communication.
2016-12-13 03:21:47 -05:00
Jim Chen
e47caac9a9 Bug 1322711 - 2. Convert test-only events to Bundle events; r=gbrown
Convert events that are only used in robocop tests to Bundle events,
which are then used through Actions.expectGlobalEvent /
expectWindowEvent.

"Content:" prefix is added to "DOMContentLoaded" to follow the event
naming convention.

SelectionHandlerTest.java is removed because it's no longer used
anywhere.
2016-12-13 03:21:47 -05:00
Jim Chen
e3b91096b5 Bug 1322710 - Don't use SpannableStringBuilder.equals; r=esawin
Don't use the system SpannableStringBuilder.equals implementation,
because of a bug in Android N+ that incorrectly compares spans.
2016-12-13 03:21:46 -05:00
Kit Cambridge
8558928fe7 Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ

--HG--
extra : rebase_source : 376b83af517442cc05bc46ff7ca36e6ac46b06e2
2016-12-12 13:50:10 -08:00
John Lin
bbc583e1aa Bug 1322628 - record EOS buffer in CodecProxy to make sure it'll be released before ICodec.stop() is called. r=snorp
MozReview-Commit-ID: J9ISYhZqAqk

--HG--
extra : rebase_source : 2fb3c8b871079a3b4b004dd84a99711a7481f865
2016-12-09 11:42:22 +08:00
Andrzej Hunt
cccfe60bef Bug 1319254 - Move Highlights title into separate item to make animation better r=sebastian
This results in the highlights title smoothly animating upwards with the remaining RecyclerView items.
Previously RV would crossfade between a panel containing both the welcome message AND the highlights
title, which means the Highlights title would vanish and reappear. This patch results in a more
correct and pleasing animation. We also upgrade to using a ViewStub for the welcome panel as part of
this commit.

MozReview-Commit-ID: GYxrSiqKeS5

--HG--
extra : rebase_source : d766347b74971874a28062b48cdf2a2880031608
2016-12-12 15:09:28 -08:00
Andrzej Hunt
f4c188c23b Bug 1319254 - Add welcome panel to Activity Stream r=sebastian
MozReview-Commit-ID: FayZbZhvT7k

--HG--
extra : rebase_source : 566fe4d1d8b51bb2c2a073d7957e413f1ff4d0e2
2016-12-12 15:52:13 -08:00
Andrzej Hunt
a984f57a13 Bug 1319254 - Pre: implement stable IDs for AS RecyclerView r=sebastian
MozReview-Commit-ID: KfAswxOU8Nw

--HG--
extra : rebase_source : 59d55261919e6b0728be5f8dd42c3661feb7846a
2016-12-12 14:25:03 -08:00
Andrzej Hunt
ecc0fe9b54 Bug 1319254 - Pre: make final r=ahunt
MozReview-Commit-ID: FTb0p2T3mdo

--HG--
extra : rebase_source : 28e3dcbc0b2fe736b5a14640abc9ab8174f4987e
2016-12-01 14:02:19 -08:00
Andrzej Hunt
312f63a0c2 Bug 1314328 - Part 2: convert remaining firstrun pngs to webp r=nechen
This helps reduce apk size by 52kb in local builds.

MozReview-Commit-ID: 3Faz0kA6TKu

--HG--
rename : mobile/android/base/resources/drawable-nodpi/firstrun_account.png => mobile/android/base/resources/drawable-nodpi/firstrun_account.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_bookmarks.png => mobile/android/base/resources/drawable-nodpi/firstrun_bookmarks.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_data_off.png => mobile/android/base/resources/drawable-nodpi/firstrun_data_off.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_data_on.png => mobile/android/base/resources/drawable-nodpi/firstrun_data_on.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_readerview.png => mobile/android/base/resources/drawable-nodpi/firstrun_readerview.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_signin.png => mobile/android/base/resources/drawable-nodpi/firstrun_signin.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_sync.png => mobile/android/base/resources/drawable-nodpi/firstrun_sync.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_tabqueue_on.png => mobile/android/base/resources/drawable-nodpi/firstrun_tabqueue_on.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_urlbar.png => mobile/android/base/resources/drawable-nodpi/firstrun_urlbar.webp
extra : rebase_source : e9bc58a2f72f81700d914bdea5eb8701f52bb4fb
2016-12-07 12:42:06 -08:00
Andrzej Hunt
2cfb258a32 Bug 1314328 - Part 1: add solid background to reduce one firstrun png size r=nechen
Converting this image to webp results in artifacts on the rectangle, therefore
we can only try to minimise its size by removing the alpha channel. (All other
firstrun images will be converted to webp as they do not display these artifacts
after conversion.)

MozReview-Commit-ID: EdAgdfHna8C

--HG--
extra : rebase_source : 21a483c304607d6fd3876ddd52e14376c771578f
2016-12-07 12:38:52 -08:00
Andrzej Hunt
6c839a7fde Bug 1320879 - Add telemetry for AS context menu "add to homescreen" r=sebastian
MozReview-Commit-ID: G4jCpawmbTb

--HG--
extra : rebase_source : e3c366cb542874ab52becfcb4d76b79afdd73ed9
2016-11-30 10:50:36 -08:00
Andrzej Hunt
d76a2e8c4b Bug 1320879 - Pre: add telemetry for HomeFragment->context menu->add to homescreen r=sebastian
MozReview-Commit-ID: HVrJZxWOLZn

--HG--
extra : rebase_source : ae18c7acd8eadea1e2a93d47cd8f83a6b2852ae1
2016-11-30 10:50:01 -08:00
Andrzej Hunt
8a6e5470ac Bug 1321008 - Add telemetry for AS context menu bookmark/unbookmark r=sebastian
MozReview-Commit-ID: qf3NmSr8hl

--HG--
extra : rebase_source : f63515f23f60287e76f8a7fb3104df1879a0e8aa
2016-11-30 11:11:55 -08:00
Shih-Chiang Chien
b6996d911a Bug 1322605 - remove legacy TV 2.5 presentation device support. r=junior
MozReview-Commit-ID: kcXlIiWh0g

--HG--
extra : rebase_source : 377d8460d556e0e65f6971ddebb985d0aa8c75e3
2016-12-08 16:25:27 -10:00
Phil Ringnalda
0111ff534b Merge m-i to m-c, a=merge
MozReview-Commit-ID: BnSh8kutBaR
2016-12-10 08:27:52 -08:00
Eugen Sawin
c103851dcd Bug 1322765 - [1.0] Move service declarations into application scope. r=rbarker 2016-12-09 13:51:29 -10:00
Shih-Chiang Chien
7ed7acac25 Bug 1322602 - remove Fennec-to-FxOSTV video casting. r=rbarker
MozReview-Commit-ID: KjEJUPkgRLo

--HG--
extra : rebase_source : 41ecdfec4caebc18934766120501a95ae2125e2f
2016-12-08 16:02:13 -10:00