Граф коммитов

23530 Коммитов

Автор SHA1 Сообщение Дата
Jan Henning 3dabcecae3 Bug 1312605 - Part 1 - Don't clobber resolution changes that happen before first paint on Fennec. r=kats
When going back/forward through a tab's session history, the saved resolution from the LayoutHistoryState is set on the PresShell before first paint. On Fennec, this means that it is subsequently going to be overwritten by the MobileViewportManager's default zoom calculation.

To fix this, we make use of the MVM's feature to set a "restored" resolution that will then be taken into account on first paint.

MozReview-Commit-ID: 43o97M6fiaZ

--HG--
extra : rebase_source : 0dda351784f3f5e3d88ec3e176b73974e96b71b7
2017-06-29 09:26:37 -07:00
Dan Banner d8518d604e Bug 1351089 - Remove unused PresentationDeviceInfoManager.jsm r=schien,smaug
MozReview-Commit-ID: FoMZNIFtgFM

--HG--
extra : rebase_source : 0fef4325bdea8c346f526a4fb6459a6dfe31fc5b
2017-07-03 19:51:01 +01:00
Matthew Wein d67b56da85 Bug 1302504 - use mozbrowser to add support for options_ui on Android r=mixedpuppy
MozReview-Commit-ID: IsTOC3pNxJP

--HG--
extra : rebase_source : 662ed1c317e8c480133de40c292622afb9984816
2017-07-07 15:03:33 -04:00
Sebastian Hengst 3e7f81c073 Backed out changeset 3f43bcfc1ec2 (bug 1374889) for Android bustage: package org.mozilla.gecko.fxa does not exist at MmaLeanplumImp.java:19. r=backout 2017-07-08 00:19:37 +02:00
Sebastian Hengst b0938ebc02 Backed out changeset b6e018a2e824 (bug 1374889) 2017-07-08 00:18:59 +02:00
Nevin Chen 52fb4804e7 Bug 1374889 - Update Leanplum document for Focus/Klar installation, Sync,Default Browser user attribute. r=liuche,maliu
MozReview-Commit-ID: GF9fXkps60D

--HG--
extra : rebase_source : 8394a6670cbb7d7947637247fcdf5024d777cb86
2017-06-28 14:05:40 -07:00
Nevin Chen bd2b3caea6 Bug 1374889 - Update Leanplum user attribute for Focus/Klar installation, Sync, and Default Browser. r=maliu
MozReview-Commit-ID: Fl3Q6S0cDLg

--HG--
extra : rebase_source : 709206baab5aa228d7460ec58bc7bbcead7de5aa
2017-06-21 17:39:14 +08:00
Nevin Chen 44dabe5670 Bug 1374630 - Update document for new event 'new tab' and deep link 'home setting'. r=liuche
MozReview-Commit-ID: 3rR2nyP74vw

--HG--
extra : rebase_source : 00a8703efdc5dc9fdfe73a132b48210e0b910a5b
2017-06-28 14:16:31 -07:00
Nevin Chen 0a657f27c6 Bug 1374630 - Add MMA triggers when open normal new tab. r=maliu
MozReview-Commit-ID: 3a4vl2ZCVe3

--HG--
extra : rebase_source : be8acf452fbbb1c39f6a7e63b34fa0593417af1f
2017-06-20 22:04:46 +08:00
Nevin Chen 1611759cab Bug 1374630 - Add deep link for home and general setting page. r=maliu
MozReview-Commit-ID: KC80CbDPp1M

--HG--
extra : rebase_source : 2f36e0d9095e34b66320b0e4367c1f392cec7105
2017-06-20 21:45:42 +08:00
Kartikaya Gupta b95ebf372e Bug 1379252 - Remove unused argument. r=rbarker
MozReview-Commit-ID: 7G8i0G9LyvZ

--HG--
extra : rebase_source : 229e4ef955e50b5a473c24522e3e499fdf658519
2017-07-07 14:56:10 -04:00
Kartikaya Gupta b76136b43b Bug 1379252 - Remove a bunch of unused fields from ImmutableViewportMetrics. r=rbarker
Also propagate the removal outwards to remove other unused functions.

MozReview-Commit-ID: 9aqcbBA0Mf1

--HG--
extra : rebase_source : 9ce961ee0129f81e5c8d8a8df1a27ee6ff8012c7
2017-07-07 14:56:07 -04:00
Grigory Kruglov d566bb2652 Bug 1379025 - Update sync ping tests for the "firm up" changes r=nalexander
MozReview-Commit-ID: 19eC01yOg3n

--HG--
extra : rebase_source : 5ad6f7e1ca1b7e1b8d63cfba960b1d3ca22e6974
2017-07-07 15:15:58 -04:00
Rajesh Kathiriya 881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Julian_Chu 82642b3c06 Bug 1376486 - Toggle PWA function by Android preference r=daleharvey,sebastian
Instead of reading config from about:config, now we read from Android
Preference.

MozReview-Commit-ID: 9yFdknOx8uH

--HG--
extra : rebase_source : c95930357c0e8c191c27d5a35e1c15955ec2d71f
2017-06-29 16:18:22 -07:00
Julian_Chu 6a63d0bc4d Bug 1376486 - Add PWA experimental feature preference r=daleharvey,sebastian
To test PWA, we must manually enable "manifest.install.enabled" in
about:config. This is not convenient for development or testing.

Now we try to add a preference option.

MozReview-Commit-ID: LbrNgZmAeUm

--HG--
extra : rebase_source : 0c2b3b2e9c05e962da870672c07ecb32202f1fd5
2017-06-28 01:18:54 -07:00
jwu 73c144a326 Bug 1378625 - Part 2: Implement tab strip visual refresh for Photon. r=walkingice
MozReview-Commit-ID: Kk7IrC16RYp

--HG--
extra : rebase_source : 98cf4c320b8f3ec46639ece271c788294d39b051
2017-07-06 10:29:58 +08:00
jwu c9f648ab85 Bug 1378625 - Part 1: Duplicate tab strip resources. r=walkingice
MozReview-Commit-ID: 8WjOzthXkMU

--HG--
rename : mobile/android/app/src/main/res/color/tab_strip_item_bg.xml => mobile/android/app/src/australis/res/color/tab_strip_item_bg.xml
rename : mobile/android/app/src/main/res/color/tab_strip_item_title.xml => mobile/android/app/src/australis/res/color/tab_strip_item_title.xml
rename : mobile/android/app/src/main/res/layout/tab_strip.xml => mobile/android/app/src/australis/res/layout/tab_strip.xml
rename : mobile/android/app/src/main/res/layout/tab_strip_inner.xml => mobile/android/app/src/australis/res/layout/tab_strip_inner.xml
rename : mobile/android/app/src/main/res/layout/tab_strip_item.xml => mobile/android/app/src/australis/res/layout/tab_strip_item.xml
rename : mobile/android/app/src/main/res/layout/tab_strip_item_view.xml => mobile/android/app/src/australis/res/layout/tab_strip_item_view.xml
extra : rebase_source : 2f95005fb700682f39c8babfdb08a61ae03b6413
2017-07-05 14:59:31 +08:00
jwu bb9758cc2a Bug 1366703 - Part 2: Implement tab menu strip visual refresh for Photon. r=walkingice
In about:home page, we would like to switch tab indicator color between normal and private mode.

MozReview-Commit-ID: FBhuPBaVvM3

--HG--
extra : rebase_source : 2d754db9bc45cf77f7f69f05aded883d991a9259
2017-07-07 17:34:32 +08:00
jwu 1d05f29242 Bug 1366703 - Part 1: Duplicate tab menu strip resources for Australis/Photon. r=walkingice
MozReview-Commit-ID: HjRTjyoVttv

--HG--
rename : mobile/android/app/src/main/res/layout/home_pager.xml => mobile/android/app/src/australis/res/layout/home_pager.xml
extra : rebase_source : 71f4e947f29d13093b8d7c297a180d6f9347573b
2017-07-06 15:11:27 +08:00
Kilik Kuo d369dcc9ec Bug 1379056 - GeckoHlsPlayer should handle the case when obtain a negative duration from ExoPlayer. r=JamesCheng
We might get a negative duration from ExoPlayer if it's unknown at that time,
Setting it to 0 to align the default duration value in VideoInfo/AudioInfo.

MozReview-Commit-ID: qASyfKJPzY

--HG--
extra : rebase_source : 5b911514fed41b1cfa53d97d36ac7adacd452541
2017-07-07 13:00:06 +08:00
Kilik Kuo 5ac0233fb2 Bug 1378852 - Always return a value >= 0 for getBufferedPosition in GeckoHlsPlayer. r=JamesCheng
-1L will be returned if there's no estimated buffered position for now,
it implies that we should treat any returned negative value in the same way.

MozReview-Commit-ID: K1fpQKOmo3k

--HG--
extra : rebase_source : a2683068168d9c508b88c3d1564978bb23f2047f
2017-07-07 04:59:33 +08:00
Wes Kocher 19d135c982 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4R4GFHPiij
2017-07-06 16:19:38 -07:00
Wes Kocher bbb26fe90e Merge inbound to central, a=merge
MozReview-Commit-ID: 2nFzji7su8C
2017-07-06 16:10:49 -07:00
Eugen Sawin 50e4c4c5da Bug 1368701 - [3.0] Guard shutdown intent action via Gecko pref on Fennec. r=snorp,bc 2017-07-06 19:20:43 +02:00
Eugen Sawin ffad978150 Bug 1368701 - [1.2] Add shutdown intent action to shutdown Fennec. r=snorp,bc 2017-07-06 19:20:43 +02:00
James Willcox 0ffe4de890 Bug 1374647 - Disable mDNS JS fallback in Fennec r=esawin
MozReview-Commit-ID: CB8zKbNd8FF
2017-07-06 11:26:07 -05:00
Ted Mielczarek 20e3bc272b bug 1376593 - update sccache to 69334a26ba65fc88e3934271a2ce6781c51b445e to fix a regression. r=froydnj
MozReview-Commit-ID: E1WQIZ7RLIF

--HG--
extra : rebase_source : 923b606ebf149a2c6c91623db85e46621494d7c8
2017-07-05 15:41:45 -04:00
John Lin 2a0a7e9af8 Bug 1374146 - handle already released death recipient exception. r=esawin
MozReview-Commit-ID: G5Nfd2z4QlN

--HG--
extra : rebase_source : 2deb89a6e0ce1565134bfaba12811b0217cf0497
2017-07-04 15:43:13 +08:00
Carsten "Tomcat" Book 7857fa0a5e merge mozilla-inbound to mozilla-central a=merge 2017-07-06 11:18:05 +02:00
Grigory Kruglov 23ac3c24fa Bug 1363521 - Extract query length only for hierarchical uris during highlights ranking r=sebastian
MozReview-Commit-ID: V9cYiuPm4R

--HG--
extra : rebase_source : c7d582dcd3d15e003dd7a7d44400f46a1e9c1a68
2017-07-05 18:53:46 -04:00
Grigory Kruglov 03a3af91e7 Bug 1363521 - Pre: update comment describing current state of bookmark creation date r=sebastian
MozReview-Commit-ID: IkrJK4BfwLb

--HG--
extra : rebase_source : 744da49e02460b1988cd91548305565d33214670
2017-07-05 18:52:59 -04:00
Grigory Kruglov 9f0b22d00a Bug 1374758 - Add 'os' object to Sync Ping bundle with basic OS information r=nalexander
We'll use this both to segment pings by different platforms, and segment our dashboards by
different OS versions.

MozReview-Commit-ID: 9RC2jm9Ql6H

--HG--
extra : rebase_source : b8b3ea6853ea8f70e1d737a1f8e4b9b1e2657cd6
2017-06-21 14:27:45 -04:00
Grigory Kruglov 5815a34a18 Bug 1374758 - Rename bundleID to bundleId, for consistency with other platforms r=nalexander
MozReview-Commit-ID: EYM73YArDN

--HG--
extra : rebase_source : 2f21f06e2a3e3c0a51ecb23a3b35acb0b6a5eb51
2017-06-21 14:26:15 -04:00
Grigory Kruglov a5c2037c76 Bug 1374758 - Add 'when' epoch timestamp to each sync ping r=nalexander
Since we bundle multiple pings together for an upload, it really helps to know when
each individual ping happened.

MozReview-Commit-ID: 2NuHFiNSHFA

--HG--
extra : rebase_source : 8600483688a90dc79684a15d837e6181a665ed36
2017-06-21 14:25:10 -04:00
Grigory Kruglov bf6922729a Bug 1374758 - Move sync data format version to sync ping bundle r=nalexander
This is being done to be consistent with how other platforms (desktop, iOS) are
reporting their data format version.

MozReview-Commit-ID: 4rmCTaY44h6

--HG--
extra : rebase_source : 75478330f66aa661063498c64095f79febe40495
2017-06-21 14:23:06 -04:00
jwu 7b987c5d30 Bug 1366659 - Show default homepage when creating a private tab. r=walkingice
MozReview-Commit-ID: JhGZIFgGYou

--HG--
extra : rebase_source : 2bbe1232410aed4626d7584deabf198df04610e0
2017-07-04 10:52:08 +08:00
jwu b645d4560e Bug 1378032 - Don't call setTabsCounterPrivateMode on Tablet in Photon. r=walkingice
In Photon, TabCounter has a new design and implementation which handles itself
private mode visual refresh by calling `TabCounter#setPrivateMode(boolean)`.

So we shouldn't call setTabsCounterPrivateMode anymore in BrowserToolbarTabletBase.

MozReview-Commit-ID: LKu4OiTQyJV

--HG--
extra : rebase_source : c31216fcc50e2c8aeadbd03773968c90b5b2f585
2017-07-04 11:07:53 +08:00
Julian_Chu 6248874d64 Bug 1377294 - ToolbarDisplay layout color span supports Pirvate mode r=jwu
In ToolbarDisplayLayout we use color span for Title, Domain...etc.

In Photon-flavor we use use different color in priavte mode. In
Australis-flavor, normal-mode and private-mode refers to same color, so
user should not aware anything different.

MozReview-Commit-ID: 30cGivl9oOz

--HG--
extra : rebase_source : d30d2afabacb19f540763604d0286fedb909f4a0
2017-06-22 14:12:39 +08:00
Julian_Chu 4a47fadca4 Bug 1377294 - Let Site-Identity becomes theme-able r=jwu
In Australis flavor, it use same color then user should not aware of any
changes.

In Photon-flaor, its style use UrlBar.Button to avoid involving tint color list.
In current design, we should not tint color for some drawable such as
Lock.

MozReview-Commit-ID: PSuCbNPKR7

--HG--
extra : rebase_source : 088b7a4d78ffcb02267b24c06eb7a4e9e08b1ab1
2017-06-22 13:54:30 +08:00
Julian_Chu 91c053d3f8 Bug 1377294 - Let some icon in ToolbarEditLayout become Theme-able r=jwu
* search icon
* qrcode
* mic

In Australia-flavor, it still use not-theme-able drawable, hence its
appearance won't change even in private mode. In Photon-flavor, these
icons should change its color base on normal/private mode.

MozReview-Commit-ID: EOsJuKqv70d

--HG--
extra : rebase_source : 51d20548bd11bc6a7aeeb9283781ee321a8c8041
2017-06-20 11:18:57 +08:00
Julian_Chu b8cb89d5d8 Bug 1377294 - duplicate xml resource files r=jwu
Similiar to Bug 1375448. To duplicate and indent some resource files
which will be used in upcoming patches, to prevent effect Australis
flavor.

* toolbar_display_layout
* url_bar_title.xml
* url_bar_title_hint.xml
* drawable/url_bar_bg.xml
* browser_toolbar.xml
* toolbar_edit_layout.xml

MozReview-Commit-ID: LpqFUXCXOrj

--HG--
rename : mobile/android/app/src/main/res/color/url_bar_title.xml => mobile/android/app/src/australis/res/color/url_bar_title.xml
rename : mobile/android/app/src/main/res/color/url_bar_title_hint.xml => mobile/android/app/src/australis/res/color/url_bar_title_hint.xml
rename : mobile/android/app/src/main/res/drawable/url_bar_bg.xml => mobile/android/app/src/australis/res/drawable/url_bar_bg.xml
rename : mobile/android/app/src/main/res/layout-large-v11/browser_toolbar.xml => mobile/android/app/src/australis/res/layout-large-v11/browser_toolbar.xml
rename : mobile/android/app/src/main/res/layout/browser_toolbar.xml => mobile/android/app/src/australis/res/layout/browser_toolbar.xml
rename : mobile/android/app/src/main/res/layout/toolbar_display_layout.xml => mobile/android/app/src/australis/res/layout/toolbar_display_layout.xml
rename : mobile/android/app/src/main/res/layout/toolbar_edit_layout.xml => mobile/android/app/src/australis/res/layout/toolbar_edit_layout.xml
extra : rebase_source : 023a2a23be404e6a8cfaf93cdad6a7879c284a1a
2017-06-19 16:49:27 +08:00
James Cheng feed124df0 Bug 1363547 - Block LG D605 Optimus L9II for adaptive playback. r=jolin
MozReview-Commit-ID: Jr6QSdnqQtI

--HG--
extra : rebase_source : e6b17bd529794b409f5fc05d87e7f1b46d69013d
2017-07-05 08:42:03 +08:00
Brian Murray 78bb4b5cbe Bug 1291519 Disable multidex for local Fennec gradle app build r=nalexander
MozReview-Commit-ID: LjVRxAyPL0q

--HG--
extra : rebase_source : 1134c8686b2e3c45a35250eee2ba15aa8d7580d0
2017-06-29 14:01:07 -07:00
Carsten "Tomcat" Book 651904c8a0 Merge mozilla-central to autoland 2017-07-04 11:12:45 +02:00
Frederik Braun 56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Dylan Roeh e3ea7958ac Bug 1370591 - Remove intent handling from GeckoProfile. r=snorp
Have BrowserApp.onCreate() send the intent args string to GeckoProfile, and
store it to use in GeckoProfile.get() calls rather than accessing the intent
directly from GeckoProfile.
2017-06-30 14:01:45 -07:00
Phil Ringnalda 915412e692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HINQtggBLDr
2017-07-01 17:36:09 -07:00
Dylan Roeh bef683e53b Bug 1377320 - Add prompts support to PWAs. r=jchen 2017-06-30 10:33:59 -07:00
Carsten "Tomcat" Book daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00