Commit Graph

20456 Commits

Author SHA1 Message Date
danhuang1202
d513a62608 Bug 1271511 - keep reader mode icon visible when exiting from reader mode to source page. r=ahunt
MozReview-Commit-ID: JxNRdXCSFGx

--HG--
extra : transplant_source : %5E%F2%BC%F7y%AE%B1%85%DA%7C%40%8B.%98%FB%B1Y%1A%BD%E0
extra : histedit_source : 431d9e9ef7a208203d4623d5eeaa9071fef3226e
2016-05-10 11:28:07 +08:00
Chenxia Liu
8a2fbc6805 Bug 1268647 - Add missing TabQueuePanel to moz.build. r=bustage 2016-05-16 18:02:53 -07:00
Chenxia Liu
51e317c1a3 Bug 1268647 - Add control. r=sebastian
MozReview-Commit-ID: DRWiGxPDFXC

--HG--
extra : rebase_source : 7e7e07549c12a222bb53ef129b4431aaf64cbda9
2016-05-11 17:22:31 -07:00
Chenxia Liu
82cc64e7ac Bug 1268647 - Add Tab queue panel. r=sebastian
MozReview-Commit-ID: wac02N7Lh6

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/firstrun/DataPanel.java => mobile/android/base/java/org/mozilla/gecko/firstrun/TabQueuePanel.java
extra : rebase_source : 1e1cb94a83d32d75c1df71488e488e26a511e4a2
2016-05-10 20:46:58 -07:00
Chenxia Liu
3ef1b7e6b4 Bug 1268647 - Add new sync slide. r=sebastian
MozReview-Commit-ID: 69YpFgmIN80

--HG--
extra : rebase_source : aca93ae276b39a9a222fc9b7ce6530338122dcdf
2016-05-10 19:52:30 -07:00
Chenxia Liu
282cc4cde3 Bug 1268647 - Add new basic slides. r=sebastian
MozReview-Commit-ID: AA7FWPiSTsc

--HG--
extra : rebase_source : 41074bfec218106cc4297637e33a0ee9c8e65956
2016-05-10 19:17:40 -07:00
Chenxia Liu
0fef758e7c Bug 1268647 - Add crushed images. r=sebastian
MozReview-Commit-ID: 1hCP0OFNO74

--HG--
extra : rebase_source : e76e1bd7ed2384517ab6fb5cf893eb21faf126ac
2016-05-10 19:12:30 -07:00
Chenxia Liu
94eb985d2c Bug 1268647 - Add to strings.xml.in. r=sebastian
MozReview-Commit-ID: Lb9ajPkg7K6

--HG--
extra : rebase_source : a448cb51774155ed53785157d68b995efe481076
2016-05-10 18:37:24 -07:00
Chenxia Liu
07b83396ba Bug 1268647 - Add localized strings. r=sebastian
MozReview-Commit-ID: 3FMKuGWp9Gr

--HG--
extra : rebase_source : 46e73c687dacab1f99b513ea21fd160678bd7119
2016-05-10 18:27:35 -07:00
Chenxia Liu
77cbb4a5ec Bug 1268647 - Add Switch to layout. r=sebastian
MozReview-Commit-ID: 1CCXAzqVVvO

--HG--
rename : mobile/android/base/resources/layout/firstrun_basepanel_fragment.xml => mobile/android/base/resources/layout/firstrun_basepanel_checkable_fragment.xml
extra : rebase_source : 1fb8026eff4eff6264b618e3cd81662f4e87b5c4
2016-05-10 17:24:08 -07:00
Chenxia Liu
6ade2aca8e Bug 1268647 - Remove obsolete firstrun. r=sebastian
MozReview-Commit-ID: JCXn9wLMhcV

--HG--
extra : rebase_source : f0fbdc697e2d6ad893c32bf605aa88b0e4c96e73
2016-05-11 17:22:42 -07:00
Michael Comella
2614732244 Bug 1253319 - Increment core ping version number. r=me
I forgot to do this in landing the initial patch series.

MozReview-Commit-ID: 1nJ7z4y3q75
2016-05-16 15:51:35 -07:00
Matthew Wein
3540dea819 Bug 1267402 - Implement chrome.pageAction.onClicked on Android. r=kmag, margaret
MozReview-Commit-ID: EJI224vD2Za
2016-05-13 18:36:06 -07:00
Andrzej Hunt
dec2b40772 Bug 1259078 - Post: remove unneeded reading list panel resources and code r=liuche
MozReview-Commit-ID: Yoghq4MQRc

--HG--
extra : rebase_source : be6ad845aad794de363180a760a561e3107a6334
extra : histedit_source : 2fbabe092716d0eb9da914b6ffca60845ab580bb
2016-05-04 15:35:57 -07:00
Andrzej Hunt
fc34d54579 Bug 1259078 - Remove reading list panel from HomePanels r=liuche
MozReview-Commit-ID: C09O3sOmpxq

--HG--
extra : rebase_source : a943627849ebcfe9cc6c6391b7ceec393343c569
extra : histedit_source : 45c0d9c6ba0f83783483bad080cd72f7273b7463
2016-05-04 15:35:50 -07:00
Michael Comella
a4c83938ff Bug 1253319 - getAndZero search counts in core ping builder. r=sebastian
MozReview-Commit-ID: DlVnnKMyxDP

--HG--
extra : rebase_source : 02d1a2fe1ae646d0827fb0dfd35faabed1283645
extra : histedit_source : 1088d07827ceb928688dd5e4048c8fc4e0bc28e3
2016-05-11 15:47:07 -07:00
Michael Comella
e07a93f35b Bug 1253319 - Call incrementSearch in BrowserApp. r=sebastian
MozReview-Commit-ID: 26dHCmtsTUq

--HG--
extra : rebase_source : 3216883fc22b4e37acfd5ca76774dcb131021284
extra : histedit_source : 9ad008e370273fe2f27fb2324e90f574788f85a8
2016-05-11 16:45:53 -07:00
Michael Comella
a22f13635d Bug 1253319 - Add SearchCountMeasurements & tests. r=sebastian
MozReview-Commit-ID: 1wRAG1oy1d

--HG--
extra : rebase_source : cfe119ce65de40d1193467a3c2fd53b98b150377
extra : histedit_source : 2893661c5a3998a067437fd4603bd90ba01c64bd
2016-05-12 17:06:43 -07:00
Michael Comella
9b29ebd0df Bug 1272817 - Return early if file is empty + regression test. r=sebastian
MozReview-Commit-ID: FPdDr2t1wEy

--HG--
extra : rebase_source : 4fd7975262ac3af23d0a5f6b921cbe7a0863760e
2016-05-13 18:14:25 -07:00
Michael Comella
cee6eaeeaa Bug 1261617 - Add UITelemetry for search counts. r=mfinkle
I largerly kept this patch the same as Finkle's initial revision except that
I don't include the engine identifiers due to bug 1272166.

MozReview-Commit-ID: 84672CDOOVX

--HG--
extra : rebase_source : 77c63ad35ec1150400e5bf672043c97f161b9bdd
2016-05-11 17:23:48 -07:00
Michael Kaply
ba06994d83 Bug 851969 - Add Amazon search suggestions to Android - r=margaret 2016-05-16 10:47:34 -05:00
Andrzej Hunt
a7f1ecfbf0 Bug 1272391 - Send Action instead of Cancel from SimpleHelperUI button r=sebastian
I didn't pay attention while copying telemetry events. We send cancel when dismissing
the prompt, action when the user selects the suggested prompt action.

MozReview-Commit-ID: IAOMRRemCiz

--HG--
extra : amend_source : 0a940fa3109009c85d81765cd4380cd7c227814d
2016-05-12 10:56:50 -07:00
Phil Ringnalda
2f5b16f2a4 Merge m-c to f-t 2016-05-14 14:56:41 -07:00
Phil Ringnalda
082cfb6b13 Bug 1271103 followup, placate checkstyle with a space, a=nnoyance 2016-05-14 14:54:59 -07:00
Mark Capella
3301837485 Bug 1262916 - Option to add custom search engine should disappear when site is added, r=margaret, florian 2016-05-14 16:43:51 -04:00
Phil Ringnalda
2be4cee4d3 Merge f-t to m-c, a=merge 2016-05-14 13:04:50 -07:00
Sebastian Kaspari
586d866e46 Bug 1272021 - FaviconView.updateImageInternal(): Exit early if bitmap is null. r=ahunt
MozReview-Commit-ID: 2ZtAMI1XMoC

--HG--
extra : rebase_source : 68f774bea297f45cbf5c0cdb70398227b26b4c27
2016-05-11 20:00:41 +02:00
Sebastian Kaspari
c90925bcc2 Bug 1271698 - Add Switchboard flags for URL bar changes. r=margaret
* urlbar-show-origin-only: Only show origin in URL bar instead of full URL (Bug 1236431)
* urlbar-show-ev-cert-owner: Show name of organization (EV cert) instead of full URL in URL bar (Bug 1249594)

MozReview-Commit-ID: AxbrB1gsobh

--HG--
extra : rebase_source : 185088d363fdfe9ba395caa07f05b9c17201e19a
extra : amend_source : 7879f2f122892a1af93f29c9e64f1076ee20191e
2016-05-11 11:55:06 +02:00
Michael Comella
e976d0a153 Bug 1272166 - Update UI telemetry logging. r=margaret
MozReview-Commit-ID: Gzb2qdm3TuT

--HG--
extra : rebase_source : 9f81f860bbae7b61245aae5a02131c8400a1035c
2016-05-11 17:30:34 -07:00
Dylan Roeh
609b4c21e0 Bug 1271103 - Remove possible race condition in GLController.java. r=snorp 2016-05-13 13:43:06 -05:00
Jan-Ivar Bruaroey
93cbd13c88 Bug 802326 - remove "No Video" and "No Audio" choices in cam+mic permission prompt on android. r=sebastian
MozReview-Commit-ID: DyYcKkbpBVl

--HG--
extra : rebase_source : f5fee0f6b283ddcceb7e79b352c7afabd6af6f32
2016-05-05 22:41:26 -04:00
Carsten "Tomcat" Book
50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Michael Comella
9e8fce6617 Bug 1270213 - Add comment explaining pruning behavior. r=me
This was prompted in review and was discussed in bug so I didn't request
review.

MozReview-Commit-ID: ERgQ3hQnZai

--HG--
extra : rebase_source : c197b93febf275265e0d13891b241ae93c465a0d
2016-05-12 10:55:20 -07:00
Michael Comella
83ba5b69af Bug 1270213 - Move PingStore* to doc ID filenames. r=sebastian
The code is now expected to compile.

MozReview-Commit-ID: 76dHW9gmyTl

--HG--
extra : rebase_source : a9e6578133e1a7d935af4943c7a1c92ece7eedf5
2016-05-05 17:49:47 -07:00
Michael Comella
e0f8ab936b Bug 1270213 - Update TelemetryUploadService to use doc ID. r=sebastian
This is not yet expected to compile.

MozReview-Commit-ID: FQF6z5ni6jC

--HG--
extra : rebase_source : bd7ccc97e44a17f66122242d28e030762c645ee9
2016-05-05 16:52:58 -07:00
Michael Comella
efe06ac7a9 Bug 1270213 - Update TelemetryPing & builders to use docID. r=sebastian
Future patches will change the remaining code - This is not yet expected
to compile.

MozReview-Commit-ID: FpqfThcV7dj

--HG--
extra : rebase_source : e01ea217aadd88853d6643c5642d866ba796aa81
2016-05-05 16:32:40 -07:00
Michael Comella
00cba0fcf9 Bug 1270213 - Factor lockAndReadJSONFromFile out from getAllPings. r=sebastian r=sebastian
MozReview-Commit-ID: HtUkO0n50px

--HG--
extra : rebase_source : 03a91752862b02afd0319d9c9f13894cf1cad55b
2016-05-05 14:37:02 -07:00
Michael Comella
b712f57236 Bug 1270213 - Add UUIDUtil.isUUID. r=sebastian
MozReview-Commit-ID: S5BbzEVEka

--HG--
extra : rebase_source : 6ae0a62d4747cb2fd9df23a0604918461c5359b1
2016-05-05 16:56:38 -07:00
Michael Comella
ded6c511f3 Bug 1270213 - Add FileLastModifiedComparator. r=sebastian
MozReview-Commit-ID: 6JbQoqYbZsn

--HG--
extra : rebase_source : 491b337169b724467db53a584b147e751ad50a05
2016-05-05 14:42:34 -07:00
Michael Comella
56717d85c7 Bug 1270213 - Move generic file filters to FileUtil. r=sebastian
These will be used by the Store in the upcoming patches.

MozReview-Commit-ID: 7sPICagdLMu

--HG--
extra : rebase_source : a7ec0a82f48fde4480ab89ec6f39f6e073c31c71
2016-05-05 17:10:57 -07:00
Jan Henning
be9ba0fd90 Bug 1266339 - Part 2 - Delete outdated sessionstore.bak files when restoring tabs automatically. r=margaret
sessionstore.bak, which powers the "tabs from last time" display, is only updated with the data of the previous session if the user chooses to "never restore" tabs, or if we've temporarily disabled session restoring because of too many successive crashes in a row. In all other cases, we restore tabs automatically so sessionstore.bak is never updated with fresh data, meaning its contents get stale pretty soon.

With this patch, we clean up old copies of sessionstore.bak when doing an automatic restore, so they don't linger indefinitely in the "tabs from last time" section of the recent tabs panel.

MozReview-Commit-ID: DrOx5TNwYMv

--HG--
extra : transplant_source : %2Ac%83%F40i%1Ah%3F%B1QI%D6%84%FF%7B%E8%157%F1
extra : histedit_source : 61cc196e844b26e00cf47363c69e6f1672d90f14
2016-04-21 20:43:47 +02:00
Jan Henning
fa27d7a370 Bug 1266339 - Part 1 - Move session store file names in GeckoProfile into named constants. r=margaret
MozReview-Commit-ID: 8QESeQ5P6Ys

--HG--
extra : transplant_source : %3F_g%B7%CE%87%A95v%14w%EC%80%CB%10%CB%CB%BB%91%D1
extra : histedit_source : 54eec6a9cd4167a236e6eac1b7e117c919d9654a
2016-04-21 20:28:38 +02:00
Ray Lin
0754079578 Bug 1260304 - Remove mediasource string from context menu on Android. r=margaret
MozReview-Commit-ID: 5BdIUzgkTV

--HG--
extra : transplant_source : %B1%F4D%08w%EC3%5E%22U%85%8F%21LSE5%87%CA%96
extra : histedit_source : 93acf7c59beb488645ac01848a4b08f1461f8160
2016-04-18 15:26:21 +08:00
Krishna
8460d01ab1 Bug 1242385 - Removing unused method - DownloadContentCatalog: markAsIgnored() r=sebastian
--HG--
extra : histedit_source : ee8f93e73728a06dc0d30416a0dae010cc0b2fb1
2016-05-12 19:47:50 +08:00
Margaret Leibovic
61c1f80284 Bug 1267837 - Update grid item telemetry to indicate whether an item is pinned. r=mfinkle
MozReview-Commit-ID: 9Et4AhCzAr9

--HG--
extra : rebase_source : b901745bd6ae2b26690491be9cbe8020d85a2931
2016-05-11 11:40:49 -04:00
Carsten "Tomcat" Book
868e217e88 merge mozilla-inbound to mozilla-central a=merge 2016-05-12 11:54:10 +02:00
Michael Comella
05393aefa8 Bug 1271805 - Update color of pressed item in the long-press back history menu. r=ahunt
MozReview-Commit-ID: 5q45HtRfv1l

--HG--
rename : mobile/android/base/resources/color/pressed_about_page_header_grey.xml => mobile/android/base/resources/color/state_pressed_toolbar_grey_pressed.xml
extra : rebase_source : b9a836ec3ca4a5ddbaf741ad7b3f8a6a6f8cc8bd
2016-05-10 14:43:54 -07:00
Michael Comella
a15efa04eb Bug 1268603 - Set history background color to @null. r=ahunt
See added comment (and bug it references) for details.

MozReview-Commit-ID: CqS5Oy7MPln

--HG--
extra : rebase_source : a64c5d134d0f2d4bc46ede356a5e8517654e9c62
2016-05-10 14:19:02 -07:00
Grigory Kruglov
5f6c8ef806 Bug 1233250: use correct string name for offline message r=me
MozReview-Commit-ID: CNf7cg0S1Zb

--HG--
extra : rebase_source : a15ea4c263e6e938091ad8396988ff0718056404
extra : amend_source : 53c817f0a9b5a9011f23c9bfce1f025010353cb8
2016-05-11 08:38:44 -07:00
Sebastian Kaspari
9c54ec6987 Bug 1270529 - lookupProxy(): Return null if port is -1. r=ahunt
We already return null if the host is empty and all callers seem to handle null values.

MozReview-Commit-ID: 4utRbvf7To3

--HG--
extra : rebase_source : 3236e7d6c518cf1041699101f8eef34b0ef19609
2016-05-09 20:08:12 +02:00
Grigory Kruglov
348655f801 Bug 1233250: Part 2 - Better copy for "loaded from cache" snackbar r=sebastian
MozReview-Commit-ID: 1TZnFlU6Mo7

--HG--
extra : rebase_source : ad28ba459bac7c7fd3e9f32bc6c372220a552573
2016-05-10 17:35:40 -07:00
Grigory Kruglov
1b5d965b08 Bug 1233250: Part 1 - Set offline snackbar background to link_blue r=sebastian
MozReview-Commit-ID: Bjc1RO95Hx

--HG--
extra : rebase_source : 1ee6d97a05f75d0ce893a48cb0123291f0d318ae
2016-05-06 11:32:52 -07:00
Grigory Kruglov
d83efeb11a Bug 1233250: Pre - allow specifying snackbar's backgroundColor via Snackbars.jsm r=sebastian
MozReview-Commit-ID: FQqUKE6sLHS

--HG--
extra : rebase_source : 10e8826a07c48081a0e4ea67a17d00114e24844c
2016-05-10 17:35:08 -07:00
Andrzej Hunt
3bf0a9dfae Bug 1269774 - Reduce browser menu top padding r=sebastian
We want to have equal paddings for the top and right hand side of the
menu, whereas we previously had 24dp padding for the top, and only 8dp
on the right.

Note: the padding is defined in the 9-patch files, this commit simply
removes empty vertical space from the top of the menu background images.

MozReview-Commit-ID: Db0hXsPOVpp
2016-05-10 20:25:14 -07:00
Andrzej Hunt
e4b140e694 Bug 1269774 - Show browser menu over the menu button r=sebastian
Note: this commit alone results in the menu looking slightly odd
due to different top and right paddings. These are fixed in the
next commit.

MozReview-Commit-ID: AWzYU067K0W
2016-05-10 20:25:12 -07:00
Andrzej Hunt
55d7bfc179 Bug 1269774 - Remove dividers from browser menu r=sebastian
This removes dividers from the main menu, and also the tab-tray menu.

MozReview-Commit-ID: CztHJcrEHpK
2016-05-10 20:25:10 -07:00
Andrzej Hunt
7bd1fdb79a Bug 1269774 - Fix padding for context menu icons r=sebastian
The icons in the first row require more padding. In the second
row the share icons should have more padding, but only on phones,
and all other icons should remain the same size. (On tablets
the share icon can be shown beside the bookmark star, hence
we use an inset drawable to add padding on phones, and then
provide an alternative 0-inset on tablets to avoid any changes
there.)

MozReview-Commit-ID: 54NzYtUpzuV


--HG--
rename : mobile/android/base/resources/drawable-hdpi/ic_menu_share.png => mobile/android/base/resources/drawable-hdpi/ic_menu_share_icon.png
rename : mobile/android/base/resources/drawable-xhdpi/ic_menu_share.png => mobile/android/base/resources/drawable-xhdpi/ic_menu_share_icon.png
rename : mobile/android/base/resources/drawable-xxhdpi/ic_menu_share.png => mobile/android/base/resources/drawable-xxhdpi/ic_menu_share_icon.png
2016-05-10 20:25:02 -07:00
Andrzej Hunt
e2fd29e204 Bug 1269774 - Fix bookmark star artifacts r=sebastian
These images were incorrectly saved, leading to the loss of the smooth
edges they should have. This commit replaces the edited bookmark stars
with higher quality versions.

MozReview-Commit-ID: 1Z8FfWrvl8H
2016-05-10 20:04:00 -07:00
Matthew Wein
29d46dc602 Bug 1267124 - Implement chrome.pageAction.show on Android. r=kmag, r=margaret
MozReview-Commit-ID: AOwfuuCfhRx

--HG--
rename : browser/components/extensions/extension.svg => mobile/android/components/extensions/extension.svg
rename : browser/components/extensions/schemas/page_action.json => mobile/android/components/extensions/schemas/page_action.json
extra : transplant_source : %13%D1%E2%3Ax3%12%C9%81%E9%1Ct%3E3T%9Br%E0%DBP
2016-04-27 19:06:24 -04:00
John Dai
1545cb9d2f Bug 1088761 - Support reportValidity() for form controls. r=smaug
From 2c2f7223e9d88f431f3e3fee7384dffbca07d8a9 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 7daace21a903c55c893f0c6e7b0e0380b6ddca12
2016-04-15 16:13:00 +08:00
Randall Barker
c63841d754 Bug 1229462 - Use Android OverScroller class for fling animation r=botond 2016-05-11 08:37:47 -07:00
Matthew Wein
54b6b913f8 Bug 1267346 - Implement chrome.PageAction.hide on Android. r=kmag
MozReview-Commit-ID: Isxgovo3Txb

--HG--
extra : transplant_source : Z%B6%3D-%F7%82%8B%E4%F5%EBA%C2%88%EF%B8%0A%91%91%9D%A5
2016-05-13 15:52:24 -07:00
Chris Manchester
657b64c828 Bug 1272714 - Move MOZ_ANDROID_HISTORY to Python configure. r=glandium
MozReview-Commit-ID: BRhGpAtEHxp
2016-05-17 14:40:03 -07:00
Wes Kocher
26012d19b7 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)

--HG--
rename : services/common/blocklist-clients.js => services/common/KintoBlocklist.js
rename : services/common/blocklist-updater.js => services/common/kinto-updater.js
rename : services/common/tests/unit/test_blocklist_clients.js => services/common/tests/unit/test_kintoAddonPluginBlocklist.js
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_kintoCertBlocklist.js
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_kinto_updater.js
2016-05-10 13:46:28 -07:00
Mathieu Leplatre
031d6fbdbb Bug 1266235 - Move blocklist preferences to all.js. r=MattN
Related:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1248557
* https://bugzilla.mozilla.org/show_bug.cgi?id=1259947

MozReview-Commit-ID: H2Eh1oqXeS1

--HG--
extra : transplant_source : %A0%96%22%DB%F3%19%8A%CF%A9%3B%FB%11%27%FB%E7%7B%BCzH%9F
2016-04-29 13:17:09 +02:00
Mathieu Leplatre
34370ce5a8 Bug 1266235 - Use blocklist prefix in preference names. r=Mattn
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : amend_source : bb232bb34c7a25abffac36531d5ab4d8e9c6c7af
extra : transplant_source : K%1A1d%EEc%8FY%030NRb%AFD%00.%40U8
2016-04-29 12:48:45 +02:00
Carsten "Tomcat" Book
e07e80ac43 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Michael Comella
9309f07f19 Bug 1271175 - Backed out changeset 537e8f7a4950 (bug 1258450) for crashes.
MozReview-Commit-ID: HL5glRsq6r9

--HG--
extra : rebase_source : 11b9a9706f1ce85e07a170786b85f630c79931a1
2016-05-09 16:01:03 -07:00
Jim Chen
eb7204d3b6 Bug 1269682 - Always detect guest mode first; r=margaret
Always check for guest mode even if we don't have arguments, because
we can still be in guest mode even if we don't have arguments.
2016-05-09 22:31:18 -04:00
Jim Chen
a66b611509 Bug 1269682 - Don't try to switch to guest profile; r=margaret
BrowserApp has a snippet that tries to restart in guest profile if we're
supposed to be in it, but are currently not. This is vestigial code from
lock screen widget support, and should not be needed anymore.
2016-05-09 22:31:18 -04:00
Jim Chen
af5e39288f Bug 1269682 - Guard against onPause being called without onResume; r=ahunt
When we try to restart Fennec immediately after launching Fennec, it's
possible for onPause to be called without a corresponding onResume being
called first. This patch guards against registering events twice due to
this quirk.
2016-05-09 22:31:18 -04:00
Eugen Sawin
5b93d93294 Bug 1268471 - [2.1] Remove doorhanger bug workround. r=esawin 2016-05-09 22:59:18 +02:00
Eugen Sawin
cc7d011af2 Bug 1268471 - [1.1] Restore doorhanger title after removal. r=liuche 2016-05-09 22:59:17 +02:00
Jorick Caberio
d2fafdf8d7 Bug 1264480 - Moved Distribution.ReadyCallback @WorkerThread annotation to the individual methods. r=mcomella
MozReview-Commit-ID: 9lG2SPyPyP9

--HG--
extra : rebase_source : 20993d9db129261fad804f4d417db9fb44169cb7
2016-04-14 18:13:52 +08:00
Andrzej Hunt
17a2b79f2f Bug 1060544 - Post: add comment explaining how our about:home restoration is incorrect r=liuche
MozReview-Commit-ID: 30Q2KEPFyKL

--HG--
extra : rebase_source : 5a23be37119b4c5247a31618302eea63a34e6923
2016-04-29 16:02:49 +02:00
Andrzej Hunt
361278d3d6 Bug 1060544 - Part 2: persist Bookmarks panel folder r=liuche
This allows us to restore the previously opened bookmarks folder when returning to
the bookmarks panel. I.e. when you open a bookmarks folder (including the smartfolders),
select a bookmark, and then return (via the back button, or quick-history via long-pressing
the back button), we will return to the bookmarks folder that was opened.

We don't persist the scroll position, that's a separate issue, in Bug 993552.

MozReview-Commit-ID: 3EhIvlXOgAU

--HG--
extra : rebase_source : 17e903622d20a922d46c1319191b051cf592a4c0
2016-05-09 09:47:46 -07:00
Andrzej Hunt
a3be820a38 Bug 1060544 - Part 1: allow persisting/restoring home panel state r=liuche
All home panel state is currently discarded when you navigate to another page.
We want to be able to restore state (e.g. to return to the currently opened bookmarks folder,
instead of returning to the root of the bookmarks folder). This commit adds storage and a framework
to allow homepanels to persist data.

MozReview-Commit-ID: GWDX7UZrIZs

--HG--
extra : rebase_source : d0959196e14496b7970ad14df39937c67013624f
2016-05-09 09:12:28 -07:00
Michael Comella
fdc4c5d445 Bug 1253338 - Increment core ping version number. r=ahunt
MozReview-Commit-ID: 4sKaJKagdPd

--HG--
extra : rebase_source : c6a7fc79b3faee3decf5f9f7041ca856ac640ddb
2016-05-06 15:28:17 -07:00
Michael Comella
10aa8212ff Bug 1253338 - Add creation date to core ping. r=ahunt
MozReview-Commit-ID: 69IGlq2Nohd

--HG--
extra : rebase_source : f8902386200f4c820e334fe16b5d3da45f8b7481
2016-05-05 11:43:26 -07:00
Michael Comella
932d3f86b6 Bug 1253338 - Add DateUtil.getTimezoneOffsetInMinutes*. r=ahunt
I initially wrote the "ForGivenDate" variant for testing purposes - so I could
verify the daylight savings time APIs worked the way I expected them to.
However, I ended up using it in my next patch and leaving in the generic "for
current time" variant because it seems useful.

MozReview-Commit-ID: 4hNGD4uDuOj

--HG--
extra : rebase_source : 56cd92c7ef95aa5ca54daa27d93f56a053f7b4df
2016-05-09 11:41:02 -07:00
Michael Comella
3db65a2f2d Bug 1268525 - review: Add test for non GMT time zone. r=me
MozReview-Commit-ID: 1VaPm3ywjZQ

--HG--
extra : rebase_source : 5990a97cfd517352604d2d7a45565f8e14048e6b
2016-05-09 11:20:08 -07:00
Michael Comella
d5cd4d33f2 Bug 1268525 - Add ping submission date to HTTP header. r=sebastian
The format we chose comes from Desktop - bug 1144778.

MozReview-Commit-ID: 9eXb78d70pM

--HG--
extra : rebase_source : 937e121be41bb587764029d8abcc72bd183e7328
2016-05-04 15:06:32 -07:00
Krishna
e9e6a3972d Bug 1209496 - DownloadContentService: Add proxy support. r=sebastian
MozReview-Commit-ID: 8FZpWG9cTVA

--HG--
extra : rebase_source : 2c28b3e8f65c442becee9e46ffcc01f7ada43db7
2016-05-09 19:26:57 +02:00
Andrzej Hunt
821ec6b348 Bug 1270348 - Favicon decoder can return null Bitmaps r=sebastian
MozReview-Commit-ID: LHcx3Ne5nLX

--HG--
extra : rebase_source : 3983b3dda75ae1c53bd97611adb6d48f1c62a0af
extra : amend_source : 00af0aac9f5679de478ad1df4a3f80b4e14ba896
2016-05-05 12:24:41 -07:00
Grigory Kruglov
c3628c3ef1 Bug 1270697: Set LOAD_FROM_CACHE flag when useCache==true, and unset it when useCache==false r=sebastian
MozReview-Commit-ID: Io7AchaTgnb

--HG--
extra : rebase_source : e6b7a93c90c7ba522e6ca4cf5f0e32028f46c82f
2016-05-06 16:11:32 -07:00
Grigory Kruglov
c37f23da81 Bug 1271020: Add a null check before acting upon applicationContext r=sebastian
Pre-rewrite code had a similar check

MozReview-Commit-ID: FGqPCOabkqH

--HG--
extra : rebase_source : b1203f0f16a5a394891debfd5a94dea28868b3d3
2016-05-06 18:35:54 -07:00
Margaret Leibovic
0ae18f321a Bug 1270929 - (Part 2) Create Experiments.setOverride/clearOverride API to allow add-ons to force enable/disable experiments. r=sebastian
MozReview-Commit-ID: 1tCstZwVl9T

--HG--
extra : rebase_source : aac57726bb28454c50b3de2830ba5f8bbc8794fb
extra : histedit_source : b2b287e9fb2254e33fc407db180fd88f13b069c6
2016-05-07 16:44:00 -04:00
Margaret Leibovic
3b0c907df9 Bug 1270929 - (Part 1) Remove support for specifying UUID from intent extra. r=sebastian
MozReview-Commit-ID: XUUkxD7261

--HG--
extra : rebase_source : 8bef3a78401c7ac582c74a7f8f384c94dda52f51
extra : histedit_source : 7fa91428ed1785d3e183e2aef862f865b3074755
2016-05-07 12:54:14 -04:00
Sebastian Kaspari
289587615d Bug 1268455 - Restore <activity-alias> to avoid disappearing home screen shortcuts. r=margaret
This patch restores our previous <activity-alias> with all intent filters. Changing the alias
will cause that existing home screen shortcuts disappear.

I tested this patch with:
* Upgrading old state (2016-02-06) to current state: Icon disappears (expected)
* Upgrading old state to fixed state (this patch): Icon remains

As this patch changes the activity-alias again, releasing this patch will lead to the home
screen shortcut disappearing once more for all released version with the current state:
* Upgrading current state to fixed state: Icon disappears (expected)

MozReview-Commit-ID: 1crKmkp4G1L

--HG--
extra : rebase_source : d6e84902fd8f763676ed315d8da9f9da96eb5c8c
extra : histedit_source : 6e715c605f43a463cc04f069d62f9d4ca17587f4
2016-05-03 11:16:20 +02:00
Carsten "Tomcat" Book
40c39189ef Merge mozilla-central to fx-team 2016-05-09 11:20:26 +02:00
Carsten "Tomcat" Book
56fe0e8f2c merge mozilla-inbound to mozilla-central a=merge 2016-05-09 11:17:59 +02:00
Sebastian Kaspari
ad30ee9e1c Bug 1269832 - Only show base domain for http/https URLs. r=margaret,kats
MozReview-Commit-ID: Dzk6vN2cyVb
2016-05-04 13:30:48 +02:00
Jan Henning
e3e61e5c24 Bug 1268981 - Make sure the bfcache is enabled during the mobile session store form data test. r=margaret
Without the bfcache, the inner value will not be restored after a page navigation, therefore we need to make sure that the bfcache isn't disabled by a stray memory pressure event before or during the test.

MozReview-Commit-ID: 3k1EgGDEPb

--HG--
extra : transplant_source : %E7%C9%BCD%E3%A4P%7F%A8%04%F4%CE%96bw%D6PU%97%01
2016-04-30 16:46:57 +02:00
Mark Finkle
f6cdeb3863 Bug 1267320 - Multiple spellings for telemetry extras. r=liuche 2016-05-07 14:34:45 -04:00
Tristan Martin
db5ec732b8 Bug 974466 - removing unhelpful argument when constructing Prompt in SelectHelper. r=Margaret 2016-05-05 23:34:00 +02:00
Mark Capella
181aea9aa0 Bug 1266322 - Fennec doesn't allow user cut/paste in etherpad, r=TYLin 2016-05-07 14:33:48 -04:00
Margaret Leibovic
9cf32c5c82 Bug 1266163 - Replace FENNEC_READER_VIEW_BUTTON histogram with UI telemetry. r=mfinkle,barbara
MozReview-Commit-ID: 1guxvXp6loC

--HG--
extra : rebase_source : a474fb10ef8e197313debb970640f1243b2dfca1
2016-04-20 15:22:46 -04:00
Wes Kocher
e07d6df737 Merge m-c to fx-team, a=merge 2016-05-06 15:59:00 -07:00
Wes Kocher
b17d7be7c1 Merge fx-team to central, a=merge 2016-05-06 15:57:08 -07:00
Andrzej Hunt
9d953b6fc8 Bug 1269001 - Temporarily add string resources to UnusedResourcesUtil to satisfy lint r=me
MozReview-Commit-ID: CE7RTiG2SOz

--HG--
extra : histedit_source : fc0095cd332c926c6dc0f23559652eaf90186784
2016-05-06 14:59:23 -07:00
Andrzej Hunt
2b23dea0f6 Bug 1251340 - Add probes for entering / exiting bookmark folders r=margaret
MozReview-Commit-ID: 202wvJHy6Qn

--HG--
extra : rebase_source : eb1850f5436380eca1a7774b645482b87c2ab461
extra : histedit_source : d8d1d0d23441f95294f2497cb3675ab72213920a%2Ca78e367465a572245bb667e4070abdafc843559b
2016-05-06 14:57:54 -07:00
Michael Comella
90e0c81bd3 Bug 1270963 - Fix NPE in UploadTelemetryCorePingCallback. r=ahunt
MozReview-Commit-ID: HgdZvuuiGDT

--HG--
extra : rebase_source : 3d0600df737e58d15f32b721613c952bd064db41
2016-05-06 14:17:24 -07:00
Chenxia Liu
698e613289 Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt
MozReview-Commit-ID: 6zkDuGlBsmz

--HG--
extra : rebase_source : c877c51c59322489eca4a807597973b58431b53e
2016-05-06 14:06:01 -07:00
Andrzej Hunt
a816e8565e Bug 1269001 - Pre: Add strings for number of items in folder r=liuche
MozReview-Commit-ID: EvfSPPkUf2G

--HG--
extra : amend_source : 9215d76ce3ecbc438b91f47844ec644387b26cfa
2016-05-06 13:34:09 -07:00
Jan Henning
2bd21731f2 Bug 1268177 - Disable background tab zombifications during tests. r=margaret
During tests that open additional tabs, the main test tab controlling the test is at risk of being zombified if a memory pressure event arrives, which breaks the test and leads to the test timing out. Therefore, we now disable background tab zombifications during tests.

This means that there's a slightly increased risk of being OOM killed instead, however
- the tabs opened by the tests themselves are normally relatively short-lived anyway
- we're no worse off than if the tab containing the test harness code had been zombified.

MozReview-Commit-ID: 1Ntvn4yjWlZ

--HG--
extra : transplant_source : %E78%93%3B%0F%5DnX%BC%E6G%10%B2%B5%1B%3A%9F%CE%F9%DD
2016-04-29 21:19:43 +02:00
Carsten "Tomcat" Book
9b6572bf54 merge mozilla-inbound to mozilla-central a=merge 2016-05-06 14:18:17 +02:00
Grigory Kruglov
3880c530d4 Bug 1236130 - Part 2: Only use cache for tabs when network state is "down" r=mcomella
MozReview-Commit-ID: IC3lmO8cUBa

--HG--
extra : rebase_source : 8641b2f8ba19cb6fce048f070fee6b8ab18d29ef
2016-04-28 15:27:35 -07:00
Grigory Kruglov
a3629c5385 Bug 1236130 - Part 1: Use an explicit state machine to control GeckoNetworkManager r=mcomella
- specifying states, events and transition side-effects explicitely makes this code easier to read/maintain
- move bunch of network state helper methods into NetworkUtils
- ensure to update both network state (up/down/unknown), as well as connection type/subtype every time we need to update network state
-- this should fix the buggy behaviour when we'd miss certain network state transitions
- tests for the FSM transition matrix, and everything in the NetworkUtils

MozReview-Commit-ID: LvrfHyFdkpB

--HG--
extra : rebase_source : 4429d80f78435205915f27e738e4886f1c46d3fa
2016-05-05 01:27:35 -07:00
Jan Henning
12c6e2269e Bug 1267481 - Increase test_session_form_data.html timeout. r=gbrown
Opening/navigating within/restoring a tab seems to be relatively slow on the emulator and as we want to test whether form data is preserved by the session store after closing and restoring a tab, quite a bit of time is accumulated that way.

MozReview-Commit-ID: 3LhLuZIZ2z7

--HG--
extra : transplant_source : %C7%22%90%DFy%97%BCD%B3%17%FE%F0%09%7FQ6V%D4%0E%1B
2016-04-30 18:44:50 +02:00
Ryan VanderMeulen
27ec66e090 Merge m-c to fx-team. a=merge
--HG--
extra : rebase_source : 5fa479be50a4739ccd9f42a799594afa8fcc4f28
2016-05-05 14:58:24 -04:00
Ryan VanderMeulen
70ba843b03 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-05 10:06:54 -04:00
Andrzej Hunt
ec6acaceee Bug 1270198 - Remove unused Reader:FetchContent and associated logic r=margaret
MozReview-Commit-ID: FcXN3x5hRhE

--HG--
extra : rebase_source : 4dad1a00c7819dba14925abd8adb16b557c16eea
2016-05-04 10:47:43 -07:00
Andrzej Hunt
c4980649af Bug 1269481 - Update suggestClient if suggestTemplate changes r=mkaply
MozReview-Commit-ID: LmsgSFda6Nv

--HG--
extra : rebase_source : e88c994bfd1b50ee87768442d83143b9dad6265f
extra : amend_source : 779d34d711a43b73a6f8a0a1cbe03726b7052058
2016-05-04 11:25:59 -07:00
Tristan Martin
103d74545e Bug 1263589 - SelectHelper._isDisabledElement now uses " === false" to test disabled attribute. r=margaret
--HG--
rename : mobile/android/tests/browser/chrome/test_hidden_select_option.html => mobile/android/tests/browser/chrome/test_select_disabled.html
2016-04-28 04:54:00 -04:00
Jan Henning
9a3a2c4c60 Bug 1270011 - Check normalData.windows[0] exists before accessing tab count. r=margaret
There is no window in the normalData when clearing browsing history on quit with tab restore set to "never restore", which breaks the assumption made in the logging function. It also means that in that case, the current session will show up as "Tabs from last time" on next startup despite wanting to clear the history on exit.

MozReview-Commit-ID: Ft4jdomopFL

--HG--
extra : transplant_source : %A5as%14%06%1F%BD%B7c%28%3Bb%A6%A7%19U%2C%1C%2CA
2016-05-01 22:11:17 +02:00
Wes Kocher
419e80ad06 Merge m-c to inbound, a=merge 2016-05-06 15:58:32 -07:00
Chenxia Liu
7c7423a780 Bug 1269914 - Add probe for reaching end of History list. r=margaret
MozReview-Commit-ID: E7eXsF8Voc9

--HG--
extra : rebase_source : aee5c00b342a5caa3125216f66f2925612d792b2
2016-05-03 17:23:58 -07:00
Eitan Isaacson
700d8864c8 Bug 1019425 - Activate accessibility when both accessibilty and explore by touch are enabled. r=mfinkle
This simplifies some old code. We get rid of a whitelist of services, and rely on the face that accessibility and explore by touch is enabled to enter our internal accessibility mode.

The whitelist methode held 2 assumptions that are not true anymore:

1. There are some non-accessibility accessibility service apps in the wild that read notifications.
In later Android versions this has been made into a non-a11y use case with NotificationListenerService. So the cases of non-a11y accessibility services has shrunk.

2. Not all screen readers (Gingerbread TalkBack, for example) supported explore by touch. Today, we
exclusively support accessibility services that use explore by touch, and we should not activate our
accessibility mode in any other case.

MozReview-Commit-ID: LMeCedoIGbb
2016-05-06 09:35:36 -07:00
Chenxia Liu
fbbc45529d Bug 1269909 - Add telemetry probe for clicking "Set up Sync" from History empty state. r=mfinkle
MozReview-Commit-ID: A24qXyNpWwk

--HG--
extra : rebase_source : a210c0298a5e404ad0e8353d1bfbf41e883bb8f4
2016-05-03 16:19:49 -07:00
Andrzej Hunt
d4c9f99c6b Bug 1265004 - Try to save in-memory reader view article instead of downloading r=margaret
This should guarantee that any reader view page will also be successfully saved offline.

MozReview-Commit-ID: 4J8cY6hYeyU

--HG--
extra : rebase_source : 689a2db7a7d81dbe89e5e58c170afe473563b2f6
2016-05-02 15:47:46 -07:00
Chenxia Liu
e6d9dc2dd7 Bug 1270197 - Crash when long-pressing History section header. r=sebastian
MozReview-Commit-ID: Fkna2jgTevD

--HG--
extra : rebase_source : da387e03ca9c33270eabeba72bfbf66741c974f9
2016-05-04 10:23:37 -07:00
Andrzej Hunt
1b537cbd9e Bug 1269406 - Upgrade delegates needing BrowserApp references to use BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: CV4uA2N8q8e

--HG--
extra : rebase_source : 0f1f7860812b97d11ab864a0b214fc1150e9b35e
extra : histedit_source : a60ef14bd29a821d9003fd7017bb343cd5ddd7dc
2016-05-02 11:08:16 -07:00
Andrzej Hunt
fed70a8d15 Bug 1269406 - Implement BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: Jk5Wl8h6qka

--HG--
extra : rebase_source : b93966130d9c027d1157e2cc6673f2af80712add
extra : histedit_source : e3e0c07c5ea54d3c19ea9b1e5cd2f809d92b1cfb
2016-05-04 08:40:45 -07:00
Andrzej Hunt
5922d43a30 Bug 1269406 - Pre: move BrowserAppDelegates into their own package r=sebastian
Note: some delegates might live in other packages, e.g. our HelperUI
related promotions (HomeScreenPromotion, ReaderViewBookmarkPromotion)
live in org.mozilla.gecko.promotions.

BookmarkStateChangeDelegate previously lived in promotions, however
it isn't really a promotion (we're just showing snackbars, and showing
one helper UI to explain offline reader view bookmarks _after_ such
a bookmark has been created), hence it seems a better fit for delegates.

MozReview-Commit-ID: 6fQD3FWzqnm

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/promotion/BookmarkStateChangeDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/BookmarkStateChangeDelegate.java
rename : mobile/android/base/java/org/mozilla/gecko/BrowserAppDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/BrowserAppDelegate.java
rename : mobile/android/base/java/org/mozilla/gecko/ScreenshotDelegate.java => mobile/android/base/java/org/mozilla/gecko/delegates/ScreenshotDelegate.java
extra : rebase_source : 1c0286e6074233bdd2e32fd7309e7eddf01cfb13
extra : histedit_source : 1ade7d494a373895629e0fa7cf786510524f08d0
2016-05-04 08:33:32 -07:00
Andrzej Hunt
2e2b6251ef Bug 1269406 - Pre: remove unnecessary imports r=me
MozReview-Commit-ID: DREY4UqM48H

--HG--
extra : histedit_source : c7c4ea5aed0cc8c91e84049f9035fdfe0ee1ecc3
2016-05-04 08:32:47 -07:00
Carsten "Tomcat" Book
ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Phil Ringnalda
c03beb4292 Back out cdec576dad5e (bug 1019425) for massive Android test failure
CLOSED TREE
2016-05-03 19:05:17 -07:00
Chenxia Liu
96c4efc128 Bug 1269661 - Checkstyle violations in history panel code. r=mcomella
MozReview-Commit-ID: CHuVsqhDuUw

--HG--
extra : rebase_source : 864016a3a0e63f8b80f2653d7325d93d0102fe2a
2016-05-03 12:55:38 -07:00
Michael Comella
8e50768a95 Bug 1243585 - review: Address comments. r=me
MozReview-Commit-ID: FrPLa7U57B7

--HG--
extra : rebase_source : 658c3a739a679a17e47822284bd55dfc40cd9e75
2016-05-03 16:37:42 -07:00
Eitan Isaacson
d669b36504 Bug 1019425 - Activate accessibility when both accessibilty and explore by touch are enabled. r=mfinkle
This simplifies some old code. We get rid of a whitelist of services, and rely on the face that accessibility and explore by touch is enabled to enter our internal accessibility mode.

The whitelist methode held 2 assumptions that are not true anymore:

1. There are some non-accessibility accessibility service apps in the wild that read notifications.
In later Android versions this has been made into a non-a11y use case with NotificationListenerService. So the cases of non-a11y accessibility services has shrunk.

2. Not all screen readers (Gingerbread TalkBack, for example) supported explore by touch. Today, we
exclusively support accessibility services that use explore by touch, and we should not activate our
accessibility mode in any other case.

MozReview-Commit-ID: LMeCedoIGbb

--HG--
extra : rebase_source : 69dd7ab6868fd09b0b6529efacd215157305b1c9
2016-05-02 14:02:16 -07:00
Michael Comella
88ce3a891a Bug 1243585 - Move ping builders -> pingbuilders/. r=sebastian
This overwrites a commit I did at the beginning, but fixing the version control
would have been a waste of time.

MozReview-Commit-ID: Ry9WRpTf8s

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/core/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCorePingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryPingBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/TestTelemetryPingBuilder.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pingbuilders/TestTelemetryPingBuilder.java
extra : rebase_source : 55ff9e25b8ba49ba29a3111b92b77a16a4ffc788
2016-04-29 15:31:56 -07:00
Michael Comella
5d14a65678 Bug 1243585 - Stop IntentService if there is a connection failure. r=sebastian
I would have folded this but I screwed up but the version control is getting
messy.

MozReview-Commit-ID: 3LaYkrao4dD

--HG--
extra : rebase_source : 2fe2f6ced974b6fe55ecaed0c34caef58ed8c11a
2016-04-29 15:18:07 -07:00
Michael Comella
fb5dd484ed Bug 1243585 - Add short-circuits when there are no pings. r=sebastian
Ideally, we'd just not run the service but skimming, I see no clean way to do
that with the existing code.

MozReview-Commit-ID: HRU1PAmYoil

--HG--
extra : rebase_source : 63074ae8dcd2613ff90d3f431fe2e58f51364e03
2016-04-29 15:21:10 -07:00
Michael Comella
e90e46946b Bug 1243585 - Rename JSONFilePingStore -> TelemetryJSONFilePingStore. r=sebastian
I would have done this sooner but it's a version control nightmare.

I made the change because it's harder to grep for logs when the logtag doesn't
include "Telemetry".

MozReview-Commit-ID: GD8Cb8D5CRy

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/stores/JSONFilePingStore.java => mobile/android/base/java/org/mozilla/gecko/telemetry/stores/TelemetryJSONFilePingStore.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/stores/TestJSONFilePingStore.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/stores/TestTelemetryJSONFilePingStore.java
extra : rebase_source : 754912d199c84ab166b58a3ddd7c4f0e8d80bde3
2016-04-28 17:10:19 -07:00
Michael Comella
cb50c8be44 Bug 1243585 - Get server url from prefs at upload time. r=sebastian
There is less to store on disk and it's probably more correct.

MozReview-Commit-ID: KAJAE1M7Fzv

--HG--
extra : rebase_source : ef226ea7b7d0ce03e216eb640dff30245551cc55
2016-04-28 16:23:18 -07:00
Michael Comella
beda502b71 Bug 1243585 - Create CorePingBuilder in BrowserApp. r=sebastian
Note: this is the first commit expected to compile.

MozReview-Commit-ID: Fc8uRkJAXgB

--HG--
extra : rebase_source : c34096f6123fa898b3b3553b2914122f4ff92143
2016-04-28 16:01:15 -07:00
Michael Comella
c2e588090f Bug 1243585 - Add methods to CorePingBuilder to generate a builder. r=sebastian
Thoughts:
  * An alternative design put this code in a CorePingUtil but I decided these
methods are tied closely to the TelemetryCorePingBuilder.
  * Adding these methods makes it less clear what the class is about (without
filtering on public methods that is).

I'm not sure what the best trade-off is.

Note: this is not yet expected to compile.

MozReview-Commit-ID: FQYFP3ioewN

--HG--
extra : rebase_source : 660c66cb5bb38928b9e532e1861ff7c8c3169187
2016-04-28 16:01:07 -07:00
Michael Comella
6b6e47cfcb Bug 1243585 - Remove unused BackgroundService & related code. r=sebastian
Note: this is still not expected to compile.

MozReview-Commit-ID: KTMyKTHm1RS

--HG--
extra : rebase_source : 8cfc2e306f3f23bbc077571f266f5f3e6444067a
2016-04-20 14:26:57 -07:00
Michael Comella
b50372bc52 Bug 1243585 - Revise TelemetryUploadService for new store. r=sebastian
Note: this is still not expected to compile.

MozReview-Commit-ID: nadP0VfCG7

--HG--
extra : rebase_source : ca957fd03140ebd7132410d80cc53abb111dbcde
2016-04-28 17:51:47 -07:00
Michael Comella
daf1884121 Bug 1243585 - Add JSONFilePingStore with tests. r=sebastian
Note: not expected to compile.

MozReview-Commit-ID: 5RTQk5m3zTx

--HG--
extra : rebase_source : 1d5aa98b5c54fe6b213fe88bd91e13b5c334a7fb
2016-04-28 17:05:25 -07:00
Michael Comella
0959e38680 Bug 1243585 - Add UploadAllPingsImmediatelyScheduler and tests. r=sebastian
Note: still does not compile.

MozReview-Commit-ID: 7NuLecUSTVa

--HG--
extra : rebase_source : aa6a65f89f72a6c4029e73fe8dc5af6a06c6ef51
2016-04-28 14:57:00 -07:00
Michael Comella
05d3028eb6 Bug 1243585 - Add TelemetryDispatcher. r=sebastian
Note: for version control and review simplicity, this does not yet compile.

MozReview-Commit-ID: EvccGtseOKT

--HG--
extra : rebase_source : 9572d2df3a306ca4b51b1af464a21161db66ba78
2016-04-28 15:36:56 -07:00
Michael Comella
864a2a07af Bug 1243585 - Add interfaces to be used by dispatcher. r=sebastian
MozReview-Commit-ID: B4evdPj5Jsl

--HG--
extra : rebase_source : 6a668ecd464bb5966e0c00ebfd96b6006c6a400d
2016-04-28 14:38:21 -07:00
Michael Comella
27f4871f75 Bug 1243585 - Move Intent constants into UploadService. r=sebastian
I'm thinking it's better to have constants with the classes they're most
closely associated with rather than one giant constants file because it becomes
hard to find anything in a large constants file.

MozReview-Commit-ID: D3SCkW3vbRM

--HG--
extra : rebase_source : 37611c82f84ba011c763554c6793bef63c093faa
2016-04-19 08:49:07 -07:00
Michael Comella
cf8a4c46d6 Bug 1243585 - Create telemtry/core/ pkg and move files accordingly. r=sebastian
MozReview-Commit-ID: 8cqtwzPbvHp

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPing.java => mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPing.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/core/TelemetryCorePingBuilder.java
rename : mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/pings/TestTelemetryPingBuilder.java => mobile/android/tests/background/junit4/src/org/mozilla/gecko/telemetry/TestTelemetryPingBuilder.java
extra : rebase_source : 7d36d4fdf590c34c052fef3619bc44c5f0b06d73
2016-04-28 14:24:26 -07:00
Carsten "Tomcat" Book
f9e0bb9939 Merge mozilla-central to fx-team 2016-05-03 16:19:57 +02:00
Carsten "Tomcat" Book
4f94a090a0 merge mozilla-inbound to mozilla-central a=merge 2016-05-03 16:17:32 +02:00
Carsten "Tomcat" Book
69c6270ec3 Backed out changeset 2cfbc2cd8ba3 (bug 1220307) for causing merge conflicts when merging to mozilla-central
--HG--
extra : rebase_source : b51c46fa0c5490e3e81c9dfcfe0b7b88d6b970cc
2016-05-03 12:01:45 +02:00
Carsten "Tomcat" Book
858cd92560 Backed out changeset 06914d791e0d (bug 1220307)
--HG--
extra : rebase_source : 971015c1e3a1eb2040dabe287f1cb65bb6ae66a5
2016-05-03 12:01:21 +02:00
Andrea Marchesini
3df261e948 Bug 1269303 - Remove RequestSync API, r=fabrice 2016-05-03 11:13:03 +02:00
Jan Henning
a0e4718399 Bug 1269189 - Let mobile session store capture frameset navigation, too. r=bnicholson
Since the history restore code now apparently supports restoring subframes, too, we should let the mobile session store capture frameset navigation as well, so we can preserve the full browsing history.

MozReview-Commit-ID: 5SM8eMTfgIH

--HG--
extra : transplant_source : IO%1Bz%CA_%14%D0D%F9Q%FBA%E5S7%85%90%AE%C0
2016-05-02 11:24:18 +02:00
Chun-Min Chang
05a818c4cd Bug 1268767 - [Presentation WebAPI] Missing a MPL2 license header for devicePrompt.properties; r=margaret
MozReview-Commit-ID: JRgOGrE7Iu5

--HG--
extra : transplant_source : %BD%BC%CC%C7%DAt%F3%CA%02%8E%89%08%C0%10%1A%98%0D%99%A4P
2016-04-29 14:08:36 +08:00
Chenxia Liu
e9d557621e Bug 1261993 - [infer] Errors in DefaultDoorHanger. r=mcomella
MozReview-Commit-ID: AemVFuiMNjo

--HG--
extra : rebase_source : 422068ea823fa47e700cdeb22527d60431097d6f
extra : histedit_source : f1fd26344a3862455e61fa195a48beb16acf326c
2016-04-21 16:24:39 -07:00
Chenxia Liu
e27e382bc1 Bug 1269027 - Add empty state for no synced devices. r=sebastian
MozReview-Commit-ID: 2STg7zSgXF9

--HG--
rename : mobile/android/base/resources/layout/remote_tabs_setup.xml => mobile/android/base/resources/layout/history_sync_setup.xml
extra : rebase_source : 087871f814df30ad7259bf3175baece06e6136f4
extra : histedit_source : 2e5ccbfa39e88effdf1c0592ffd1a82c9d3e1ab1
2016-04-29 15:38:19 -07:00
Chenxia Liu
3d04951350 Bug 1261527 - Clean up RecyclerView animations. r=sebastian
MozReview-Commit-ID: KIdXTmalwKv

--HG--
extra : rebase_source : 1f34e949846d7769d26afd280613004a56c38307
2016-04-29 17:48:50 -07:00
Chenxia Liu
1dff2f7146 Bug 1261527 - Long-press on smartfolder. r=sebastian
MozReview-Commit-ID: JPkELM3mtWW

--HG--
extra : rebase_source : c8b5624f687041278e9a17420ea9c0cb276af58f
2016-04-29 15:59:40 -07:00
Chenxia Liu
e0fe2fe0e9 Bug 1261527 - Update textsize and layout. r=sebastian
MozReview-Commit-ID: EEzquvd7Zyf

--HG--
rename : mobile/android/base/resources/layout/home_remote_tabs_group.xml => mobile/android/base/resources/layout/home_smartfolder.xml
extra : rebase_source : 73cc1125a96d286952e1683a3821a6ce266aace6
2016-04-28 14:28:37 -07:00
Chenxia Liu
111a9b185d Bug 1261527 - Add refresh layout. r=sebastian
MozReview-Commit-ID: 5uDpe3OQAjG

--HG--
extra : rebase_source : 673380884481e607c83de6fa4fe92f0cb58ca7e9
2016-04-27 17:54:29 -07:00
Chenxia Liu
bc715ce907 Bug 1261527 - Remove RemoteTabsExpandableListAdapter after extracting static methods. r=sebastian
MozReview-Commit-ID: Ae5oEbK2QYn

--HG--
extra : rebase_source : 0e1626ae1c2ff14986b32205086e38a8032a4d85
2016-04-27 17:38:07 -07:00
Chenxia Liu
ec65dba7a1 Bug 1261527 - Update strings. r=sebastian
MozReview-Commit-ID: LJOfbyWfNIm

--HG--
extra : rebase_source : a6e8d05ed4581d67b87105812fa643ec5c291b6d
2016-04-27 17:07:59 -07:00
Chenxia Liu
dfdcf67e1b Bug 1261527 - Add active/inactive client state. r=sebastian
MozReview-Commit-ID: 39Qy3cYE6ro

--HG--
extra : rebase_source : 44a95fde52fc4ad98b16ace15efe886e09cfd8d7
2016-04-27 16:43:53 -07:00
Chenxia Liu
0d625a8b0a Bug 1261527 - Empty state for history only. r=sebastian
MozReview-Commit-ID: AUFwPl2Yllz

--HG--
extra : rebase_source : 791f1666d95ba5cf9f06c5bde5e0ffc4ac126ee3
2016-04-27 11:53:59 -07:00
Chenxia Liu
3c684418b7 Bug 1261527 - Handle Configuration changes. r=sebastian
MozReview-Commit-ID: H6shTUlXkZv

--HG--
extra : rebase_source : 9fc1ed7dcb91afa2bd7dbc9ea10ee46f89f71aab
2016-04-25 13:56:12 -07:00
Chenxia Liu
294c4c5d70 Bug 1261527 - Add clear history button. r=sebastian
MozReview-Commit-ID: DnRZYtIjqbE

--HG--
extra : rebase_source : 049824bd8c40f8995a51b1092d610cc34ff78d64
2016-04-22 18:00:03 -07:00
Chenxia Liu
5efcf0932a Bug 1261527 - Move code around. r=sebastian
MozReview-Commit-ID: LjgydyMLVER

--HG--
extra : rebase_source : a9db57dc784ab2f4147b1562f965f751d402945c
2016-04-22 16:13:26 -07:00
Chenxia Liu
077df8c29c Bug 1261527 - Combine Synced devices into a folder. r=sebastian
MozReview-Commit-ID: APsufVggdk0

--HG--
extra : rebase_source : 7ed4c6d8d4fc72d849ded99e7ba61fb4bc7ee77a
extra : source : 33e9db2674ca2303bdbceef65abdd33a30905589
2016-04-21 22:04:10 -07:00
Andrzej Hunt
eca0264bac Bug 1260149 - Only show single status icon in TwoLinePageRow r=liuche
MozReview-Commit-ID: 3wjBRHGioH4

--HG--
extra : amend_source : 4f9086701f079ae9ff14af2deac132508981e9a6
2016-04-27 21:25:10 +02:00
Andrzej Hunt
d7ff8e459f Bug 1247689 - Experiment: show prompt on third opening of reader view r=sebastian
MozReview-Commit-ID: CMxdWuFIe5e

--HG--
rename : mobile/android/base/resources/drawable-hdpi/helper_first_readerview_bookmark.png => mobile/android/base/resources/drawable-hdpi/helper_readerview_bookmark.png
rename : mobile/android/base/resources/drawable-xhdpi/helper_first_readerview_bookmark.png => mobile/android/base/resources/drawable-xhdpi/helper_readerview_bookmark.png
rename : mobile/android/base/resources/drawable-xxhdpi/helper_first_readerview_bookmark.png => mobile/android/base/resources/drawable-xxhdpi/helper_readerview_bookmark.png
extra : rebase_source : c4af4f89f1a936ffd172139018e3243c25f30084
extra : histedit_source : b116221400c9b7cc0a758f43d32283661f2c82cd
2016-05-02 10:00:52 -07:00
Andrzej Hunt
91e91a144c Bug 1247689 - Pre: Move bookmark snackbars / helper UIs into BookmarkStateChangeDelegate r=sebastian
MozReview-Commit-ID: BRGMN0vE8nf

--HG--
extra : rebase_source : c9f3ba7a50d53e41e25159eb1620c99565af3a63
extra : source : f8258c3a314a6d126c0fdea3bd8eb47bb0d4ebd8
extra : histedit_source : eebdce97c2e84ffe1d18baf5986f9242d2ae365f
2016-05-02 10:04:06 -07:00
Andrzej Hunt
b149e72354 Bug 1265433 - Move bookmarks star into top bar of menu r=sebastian
We do this by showing history items in the "share" menu item, and
removing the existing "quickshare" item that showed history items.

We also need to shuffle our icon sizes around: our xhdpi icon size matches
the hdpi icon sizes of the other icons in the top bar (modulo padding, which
we need to add as part of this commit), similarly our xxhdpi icon is shifted to
xhdpi. We don't supply an xxhdpi icon at all for any of the icons in the top bar
of the menu, hence that size is removed (and reused for the xhdpi icon, see above).

MozReview-Commit-ID: 7fabPQ5Tyst

--HG--
extra : rebase_source : 5ef599a8a8a2d2a34555169ab0f56d98f0bc1ab6
extra : amend_source : 620947076e7bf4b02a5c3566240a28dc5d9de2c5
extra : source : e6d92ec5cc178d771a0ef2350a653795cdd198e1
2016-04-27 19:29:54 +02:00
Sebastian Kaspari
29a2ed5246 Bug 1259127 - Content notifications: Add "Read now" action. r=grisha
This patch adds a "Read now" action to content notifications. Clicking the button
will behave like clicking the notification. However it will send a different telemetry
extra ("content_update_read_now" instead of "content_update").

MozReview-Commit-ID: 4O24xBhjVF4

--HG--
extra : rebase_source : 4bfb9b714b42f0a0259770e054701a3d4592aa87
2016-04-26 14:42:51 +02:00
Sebastian Kaspari
849ce08593 Bug 1267639 - Use BrowserAppDelegate implementation as single point for handling content notifications intents. r=grisha
This patch will create a single Intent action for all content notifications. The intent will be handled by
ContentNotificationsDelegate exclusively.

MozReview-Commit-ID: 5UVVanLLd32

--HG--
extra : rebase_source : 9c6f93aad7f070a847b5f13ff38bbcabef684cf6
2016-04-28 11:12:01 +02:00
Sebastian Kaspari
5ee165f993 Bug 1267639 - (Pre) Add onNewIntent() method to BrowserAppDelegate. r=grisha
MozReview-Commit-ID: KGBLTTPwVV1

--HG--
extra : rebase_source : e0d1ed9cd56c91bb8be2659b0024b29844c1401e
2016-04-28 11:04:33 +02:00
Grigory Kruglov
425e0888e2 Bug 1265525 - Part 2: Frecency calculation and top sites query updates r=sebastian
MozReview-Commit-ID: 7tqr4IT9635

--HG--
extra : rebase_source : 3f4be86948343e4d893b3d2c999897431c53460c
extra : source : 64ff3f5121d75d61e6f6a9798240f7a79332d006
2016-05-02 14:10:23 -07:00
Grigory Kruglov
65936d960e Bug 1265525 - Part 1: Combined view migration, add local/remote visit aggregates r=sebastian
MozReview-Commit-ID: 211xyvAJbtd

--HG--
extra : rebase_source : 161fbc18f185a32adb4b895b47bf8166361893a0
extra : source : d34dc8387cd4cc4e018bd358488dd3d9c8e9dfa4
2016-04-27 18:04:20 -07:00
Grigory Kruglov
4b993ad34d Bug 1265525 - Pre: move history expirations tests to junit4 r=mcomella
MozReview-Commit-ID: DtkjEFoYQMA

--HG--
extra : rebase_source : f120aef2ef0cff455c02e410aaa131223a507865
2016-05-02 18:43:57 -07:00
Andrzej Hunt
e74a9fe2c3 Bug 1265433 - Pre: remove v11 prefixes from menus r=sebastian
We only care about API >= 14, so there's no need for the pre-v11
menu.

MozReview-Commit-ID: 9DdahLRXzpD

--HG--
rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml => mobile/android/base/resources/menu-large/browser_app_menu.xml
rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml => mobile/android/base/resources/menu-xlarge/browser_app_menu.xml
extra : rebase_source : 2dc4287a5ca8b3b008ae8a2ae962be9d4568f36b
extra : source : a7203a518ca87199bfe729bdbfc6b368d23b8c5f
2016-04-20 10:28:21 +02:00
Andrzej Hunt
b0bf90afa1 Bug 1265433 - Pre: remove unnecessary v11 checks r=me
MozReview-Commit-ID: LHg1QcxpwIF

--HG--
extra : rebase_source : a914b1a598b003662c406f3536986d0a6d41e7da
2016-04-27 12:13:52 +02:00
Sebastian Kaspari
c5f76b85fc Bug 1268724 - Move crash reporter colors, styles and drawables to m/a/b/crashreporter/res. r=mcomella
MozReview-Commit-ID: 8fzmU3y5Uyu

--HG--
rename : mobile/android/base/resources/drawable/textbox_bg.xml => mobile/android/base/crashreporter/res/drawable/textbox_bg.xml
extra : rebase_source : c0e3c3a712032a43a9ee550498bdf5d51ed3c2a1
extra : histedit_source : 40cf2235a6321f8c0be38a4b7c0be49a2fcb3e26
2016-04-29 12:54:41 +02:00
Sebastian Kaspari
138f99b105 Bug 1268453 - Lint (UnusedResources) Ignore .mkdir.done file. r=mcomella
MozReview-Commit-ID: 1zFgC1isNz2

--HG--
extra : rebase_source : 1f36a42a93da2986ab6d6101c7550fa958bb4088
extra : histedit_source : b972134bd41f23cb135bb6b49f6fcf04e3aed501
2016-04-29 20:36:05 +02:00
Sebastian Kaspari
c71f20bfd1 Bug 1268453 - Update releng manifests to point to new dependencies. r=mcomella
MozReview-Commit-ID: AU3n3sbE8CN

--HG--
extra : rebase_source : 180503458afea8a5b598e93d191cc15281b4e3b2
extra : histedit_source : dff3158d25c2b156b9b6a69eb90492b913e771b6
2016-04-29 16:09:03 +02:00
Mouaad Aallam
11b15d25b4 Bug 1262275 - "Add ContextUtils.getCurrentPackageInfo". r=mcomella 2016-04-27 11:24:00 +02:00
Grigory Kruglov
7644f342a1 Bug 1265525 - Pre: move BrowserContract tests to junit4 r=sebastian
MozReview-Commit-ID: 6GLqAR2SOKi

--HG--
extra : rebase_source : 9eaf6bfcdb8c7e0f9836b38f64513127fc99d33a
extra : source : 0f659fc840cd218a8ffd6c8b79a49a3e6166ad3d
2016-04-18 14:04:36 -07:00
abdullah
84c0cd95b1 Bug 1267956-Fixed scroll bar not appearing in history panel. r=liuche
MozReview-Commit-ID: A4mz13JYt7i
2016-05-02 18:11:27 -07:00
Chenxia Liu
2d8ea1df0d Bug 1261527 - Scale smartfolder icon. r=trivial 2016-05-02 17:47:53 -07:00
Mike Taylor
81e4b87da3 Bug 1269049. Remove mobile Gmail UA override for Fennec. r=sebastian 2016-05-03 12:37:22 -05:00
Michael Comella
c675959a63 Bug 1245493 - Don't animate when showing toolbar when FF is first unhidden. r=margaret
After this patch, I still occasionally see the toolbar positioned part
way down from the top of the screen. However, this state looks slightly
less janky without the animation I removed and I can't consistently
reproduce it anymore.  Given the DynamicToolbar.setVisible calls I make,
I'd guess this is likely to be a bug caused by BrowserApp.onTabChanged
(and thus DynamicToolbar.setVisible) not getting called instantly and
so the DynamicToolbar is initialized to a different location on screen.
I'd guess it's a bug in DynamicToolbar as to why it's positioned partially
off-screen.

There is a little bit of code duplication, but that is because the code
to load a url on a new intent is duplicated (i.e. once from GeckoApp.initialize
- the initial load - and once from GeckoApp.onNewIntent). This could
potentially be cleaned up if we moved the app loading code into onResume,
but that may not be possible since we need to wait for Gecko to start
up.

Additionally, this patch adds a lot of hard-to-follow global state, which is
also not good.

Preferred solution (bug 1269041): show the toolbar each time onStart is
called (i.e.  FF is unhidden).  This is good for the user - they'll be
more aware which page they're on - but it's janky with the current
implementation, where the page content does not scroll when the toolbar
is shown so previously visible content is hidden. Thus, I went with the
other approach.  fwiw, Chrome does this behavior, but scrolls the toolbar
offscreen shortly after it is shown.

This solution is blocked on bug 1245523.

MozReview-Commit-ID: 7JjCrIf4KTm

--HG--
extra : rebase_source : 803cc3e6f940462168a61f0a12b32a0391611caa
2016-03-28 18:50:52 -07:00
Michael Comella
1f3589a649 Bug 1245493 - Add comments to existing code to clarify them. r=margaret
MozReview-Commit-ID: KwOy1KMoPaY

--HG--
extra : rebase_source : c91e633f84b5b8444061fd04a34bd6b17b09abd3
2016-03-28 18:41:34 -07:00
Wes Kocher
56fe7c4bcb Merge m-c to fx-team a=merge
MozReview-Commit-ID: 3H9BxQQQnNI
2016-04-29 16:05:30 -07:00
Wes Kocher
fcb496e3e5 Merge inbound to m-c a=merge
MozReview-Commit-ID: BKbqwBtHrBR
2016-04-29 14:54:44 -07:00
Carsten "Tomcat" Book
efeedc62cb Merge mozilla-central to fx-team 2016-04-28 16:34:59 +02:00
Carsten "Tomcat" Book
2666074aa0 merge mozilla-inbound to mozilla-central a=merge 2016-04-28 16:30:24 +02:00
Carsten "Tomcat" Book
92d4b1a25d Backed out changeset 50896498013c (bug 1242874) 2016-04-28 13:59:06 +02:00
Sebastian Kaspari
039ef92858 Bug 1263390 - Post: Add new unused resources to UnusedResourcesUtil. r=ahunt
This is a temporary fix. The new plugin is able to find more unused resources.
However we are not ready to remove all of them yet. Some of them will be in
use again soon.
This patch will add those files to UnusedResourcesUtil in order to suppress
the lint error.

MozReview-Commit-ID: 7X9Dee6hWDg

--HG--
extra : rebase_source : b4914b322abeba85238d0fe7b4917c7ef4757925
2016-04-28 10:24:57 +02:00
Victor Ng
10fc8c5194 Bug 1259598 - "Add new information fields to geolocation stumbles". r=michelangelo sr=hschlichting 2016-04-26 13:58:00 +02:00
Alastor Wu
1bc115c492 Bug 1242874 - part2 : window's suspend attribute. r=ehsan, r=baku
MozReview-Commit-ID: Jw3E8Jdb66J

--HG--
extra : transplant_source : %2C%DF%BE%2A%8B%A6%5B%CA%DD%FAp%01%A8c%FB%9B%B4%017q
2016-04-28 00:21:27 +08:00
Andrzej Hunt
8f53f7d6cc Bug 1266899 - Update "available offline" icon to use phone instead of arrow r=sebastian
MozReview-Commit-ID: JbU7shOZQPc

--HG--
extra : source : 4f014e35718e8c4baf9710651fb0ca2846c52cb0
extra : amend_source : 8701ed3afb61efe99922241bf2c76a86b2de74ef
2016-04-27 20:51:01 +02:00
Sebastian Kaspari
b315dc2e37 Bug 1263390 - Post: Add new lint check "GoogleAppIndexingUrlError" to warning list. r=mcomella
MozReview-Commit-ID: HYhGqjCHZp9

--HG--
extra : rebase_source : d1753e3ef8128550b86408105019c0b154c241c0
2016-04-20 10:34:16 +02:00
Sebastian Kaspari
ad5a8c61b9 Bug 1263390 - Post: Fix new "Registered" lint errors. r=mcomella
* GeckoActivity, LocaleAwareAppCompatActivity, LocaleAwareFragmentActivity, LocaleAwareActivity:
  Those activities are never instantiated directly. Make them abstract.
* CrashReporter: This activity is only registered if MOZ_CRASHREPORTER is set. Supress warning.

Unfortunately I had to downgrade this lint check from "error" to "warning" because the current
gradle plugin doesn't recognize the SupressLint annotation for the "Registered" check:
https://code.google.com/p/android/issues/detail?id=204846

MozReview-Commit-ID: Hy56pZB8ZdB

--HG--
extra : rebase_source : 2f40d84792baaaffd4093e8cb2b17eb1155df5c3
2016-04-20 10:18:33 +02:00