Sebastian Kaspari
cf59bd0845
Bug 1270068 - TopSitesGridAdapter: Implement getItemId() so that Android can recycle views appropriately. r=grisha
...
MozReview-Commit-ID: 5mwPOTcIRRs
2016-06-07 14:34:36 +02:00
Carsten "Tomcat" Book
5e6211061e
merge mozilla-inbound to mozilla-central a=merge
2016-06-07 15:23:03 +02:00
[email protected]
ced5477ae2
Bug 1263726 - Settings title remains as "Language" after switching locale and returning to "General Settings". r=grisha
...
MozReview-Commit-ID: L4hPzJ7kRc5
2016-06-06 16:59:09 -07:00
Wes Kocher
9c18ced713
Merge m-c to inbound, a=merge
2016-06-06 17:14:49 -07:00
Carsten "Tomcat" Book
95538c193e
Merge mozilla-central to fx-team
2016-06-06 12:03:36 +02:00
Carsten "Tomcat" Book
04e53ce4f5
merge mozilla-inbound to mozilla-central a=merge
2016-06-06 11:55:56 +02:00
Andrzej Hunt
ab507660fa
Bug 1265708 - Post: query topsites metadata by URL without ref too r=sebastian
...
MozReview-Commit-ID: KzbKJjRm4Za
2016-06-03 14:05:42 -07:00
Andrzej Hunt
453a088830
Bug 1265708 - Strip ref from URL when adding homescreen icons r=sebastian
...
We add URL metadata based on the base URL, we should retrieve it this way too.
MozReview-Commit-ID: ICP54V5vRgv
2016-06-03 14:05:29 -07:00
Andrzej Hunt
6a43623538
Bug 1265708 - Pre: make getForURLs arguments more generic r=sebastian
...
MozReview-Commit-ID: IkPiLVB5mop
2016-06-02 14:25:05 -07:00
Andrzej Hunt
35f8e704ef
Bug 1265708 - Pre: Implement StringUtils.stripRef r=sebastian
...
MozReview-Commit-ID: AO25iiUMXLE
2016-06-05 17:37:12 -07:00
Andrzej Hunt
f57c002267
Bug 1265708 - Pre: remove unused variable r=sebastian
...
We already pass the URL inside the JSON object.
MozReview-Commit-ID: J4RjxLAzdI
2016-06-02 13:51:52 -07:00
Jim Chen
4b43fa8c34
Bug 1277064 - Use ConcurrentHashMap for profile cache; r=snorp
...
Use ConcurrentHashMap for the profile cache so that accessing the cache
won't cause inadvertent deadlocks.
2016-06-03 12:01:17 -04:00
Carsten "Tomcat" Book
3d11ccd8c4
merge mozilla-inbound to mozilla-central a=merge
2016-06-03 12:00:06 +02:00
Michael Comella
4bbd70b22a
Bug 1277214 - Move MOZ_DISABLE_* to single MOZ_IN_AUTOMATION env var. r=grisha
...
We hit an issue where adding a new env var, MOZ_DISABLE_TELEMETRY, added env10
and caused crashes. I suspect the issue is that there are is now a double-digit
number of env vars (bug 1277390). Here, we do the quick fix by removing
MOZ_DISABLE_TELEMETRY & repurposing MOZ_DISABLE_SWITCHBOARD to be generic.
While we're at it, we simplify the code by making the setDisabled methods a
strict getter without checking for how many times they're called.
MozReview-Commit-ID: 19DDbVYRZ2
2016-06-01 16:46:44 -07:00
Michael Comella
cc036a4379
Bug 1277214 - Stop reading env vars when the key no longer exists. r=grisha
...
In the previous implementation, we'd stop reading when the value would return
null, however, this breaks with SafeIntents where null is returned if a value
throws a runtime exception - i.e. we might stop reading at env2 if it throws
even though env3+ exist.
MozReview-Commit-ID: 7iZgUAjBSmB
2016-06-01 16:29:26 -07:00
Michael Comella
01286d63ef
Bug 1277214 - Use SafeIntent in getEnvVarMap. r=grisha
...
MozReview-Commit-ID: 5eXjgCsd6Rl
2016-06-01 15:34:34 -07:00
Michael Comella
32967ac99d
Bug 1277214 - Move remaining SafeIntentUtils functions to IntentUtils. r=grisha
...
I feel this better follows the util class pattern: IntentUtils acts on Intents
as StringUtils would act on Strings.
MozReview-Commit-ID: 7n2B9q1KlSy
2016-06-01 15:32:41 -07:00
Michael Comella
d9505084d4
Bug 1277214 - Move SafeIntent to its own class. r=grisha
...
This gets used often enough that it's annoying to do full class name imports.
MozReview-Commit-ID: 7Yhp1NCgwQw
2016-06-01 15:27:41 -07:00
Michael Comella
7a1dc96e96
Bug 1277214 - Add javadoc to explain SafeIntent. r=grisha
...
MozReview-Commit-ID: LqQm6yAKbr5
2016-06-01 15:21:36 -07:00
Carsten "Tomcat" Book
c1eab00352
merge mozilla-inbound to mozilla-central a=merge
2016-06-02 11:56:07 +02:00
Michael Comella
978da7068c
Bug 1273689 - review - remove inner class & move methods to containing class; use BrowserAppDelegateWithReference. r=me
...
It's all a little cleaner.
2016-06-01 17:46:19 -07:00
Michael Comella
970a907a63
Bug 1273689 - Rename CorePingDelegate. r=sebastian
...
We are doing more than just uploading in the delegate now.
I didn't fix this in the previous commits because version control makes this
non-trivial.
MozReview-Commit-ID: IjXsQC19k2S
2016-05-31 15:39:58 -07:00
Michael Comella
b3e0e5bb82
Bug 1273689 - Upload in onStop for first run. r=sebastian
...
MozReview-Commit-ID: 4UReiDeNCg4
2016-05-31 15:32:41 -07:00
Michael Comella
1c76935a01
Bug 1273689 - Move session measurement calls to CorePingDelegate. r=sebastian
...
MozReview-Commit-ID: EPLUd5Uq0Pc
2016-05-31 14:16:04 -07:00
Michael Comella
6aae01e6dd
Bug 1273689 - Factor out getSharedPreferences call. r=sebastian
...
The same preferences will be used by the new code & the old code.
MozReview-Commit-ID: BXuSQjhhXQq
2016-05-31 14:07:26 -07:00
Michael Comella
1a5cbe30ae
Bug 1273689 - Elaborate on why we upload when we do. r=sebastian
...
MozReview-Commit-ID: DIxkY3F3Z6S
2016-05-31 15:32:04 -07:00
Michael Comella
909169ed3b
Bug 1273689 - Move core ping upload to BrowserAppDelegate. r=sebastian
...
This lets us put the two paths of upload code all in the same place.
MozReview-Commit-ID: BUsdyEAcdDO
2016-05-31 13:57:44 -07:00
Andrzej Hunt
d217b914c3
Bug 1276050 - Remove duplicate code from Favicons r=sebastian
...
loadUncachedFavicon does exactly the same thing.
MozReview-Commit-ID: 58Yi28JZfv4
2016-05-23 13:27:26 -07:00
Grigory Kruglov
7fc2fbaf5e
Bug 1274029 - Part 4: Update aggregates during history import from android browser r=sebastian
...
MozReview-Commit-ID: EaR15lbuDQm
2016-06-01 12:38:51 -07:00
Grigory Kruglov
60acbb9000
Bug 1274029 - Part 3: Update aggregates during syncing r=sebastian
...
MozReview-Commit-ID: 9WyBE0Lk3Tp
2016-06-01 15:02:46 -07:00
Grigory Kruglov
11ca3213d1
Bug 1274029 - Part 2: Update aggregates during local browsing r=sebastian
...
MozReview-Commit-ID: 9Z9uFKxbRZm
2016-05-27 23:50:29 -07:00
Grigory Kruglov
d3e13ebbe2
Bug 1274029 - Part 1: Database migration; initial aggregates calculation r=sebastian
...
MozReview-Commit-ID: 7nR2pwGV7nE
2016-06-01 12:40:19 -07:00
Grigory Kruglov
d877d3a7b8
Bug 1274029 - Pre 2: Correct old comments about combined view r=grisha
...
MozReview-Commit-ID: IiePFWmkPKZ
2016-06-01 12:25:36 -07:00
Sebastian Kaspari
10bba0403c
Bug 1276910 - Do not show "Add to home screen" prompt in private browsing. r=margaret
...
MozReview-Commit-ID: DFoMnyx4Gde
2016-06-01 10:02:51 +02:00
Carsten "Tomcat" Book
6bdfa2f993
merge mozilla-inbound to mozilla-central a=merge
2016-06-01 15:07:48 +02:00
Michael Comella
b89d35c15c
Bug 1277071 - Move PREF_SEQ_COUNT to CorePingBuilder. r=jonalmeida
...
MozReview-Commit-ID: 44R0ahE094N
2016-05-31 16:33:08 -07:00
Michael Comella
99dad28b68
Bug 1270191 - Correct my previous patches to more faithfully reproduce the refactored code. r=liuche
...
The previous code checked:
if (env.startsWith("MOZ_DISABLE_SWITCHBOARD=")) {
if (!env.endsWith("=")) {
So it would not pass with the empty String but my previous revision permitted
the empty string.
Practically speaking, I don't think it matters because this is only used in
remoteautomation.py where the value is 1, but better safe than sorry.
MozReview-Commit-ID: DLtmvWlQYs7
2016-05-31 17:25:17 -07:00
Michael Comella
b9e03216b1
Bug 1270191 - Disable telemetry upload during tests. r=grisha
...
MozReview-Commit-ID: GoQQRfGRvd4
2016-05-31 17:04:40 -07:00
Michael Comella
7ef729e431
Bug 1270191 - Move Experiments to env var solution. r=grisha
...
MozReview-Commit-ID: 5Rpdyg7zpNG
2016-05-31 17:04:25 -07:00
Michael Comella
2aaf96cb5e
Bug 1270191 - Add IntentUtils.getEnvVarMap. r=grisha
...
MozReview-Commit-ID: 7ojczu4rOnD
2016-05-31 16:48:03 -07:00
Chenxia Liu
ac9fb8da09
Bug 1276374 - Remove firstrun Content Notifications slide. r=ahunt
...
MozReview-Commit-ID: CIkvOZrqHwT
2016-05-31 15:35:29 -07:00
Chenxia Liu
58ce846c2f
Bug 1275782 - Disable "search-term" experiment. r=ahunt
...
MozReview-Commit-ID: FQY76x04Ilo
2016-05-31 15:49:51 -07:00
Kannan Vijayan
8ce9202ed6
Bug 1272101 - Changes in preparation for FlyWeb landing. Add nsINetworkInfoService and implementation for various platforms. r=hurley
2016-06-01 16:16:40 -04:00
Carsten "Tomcat" Book
3cbd63ba3a
Merge mozilla-central to mozilla-inbound
2016-06-01 15:10:05 +02:00
Alastor Wu
d661c9b9ee
Bug 1240423 - part1 : implement the remote media-control on Fennec. r=ahunt
...
MozReview-Commit-ID: GjkSCy5ecbQ
2016-06-01 10:26:01 +08:00
Sebastian Kaspari
bbd4f38654
Bug 1207739 - SearchEngineBar: Fix calculation to determine number of search engines to display. r=ahunt
...
If we cannot display all search engines then we want to show a smaller number so that the last one is
cut-off (we only display half of it). The previous version did not calculate the next smallest half
correctly: Instead of displaying 3.5 engines if we have space for 3.7 engines, we only displayed 2.5.
MozReview-Commit-ID: KfopL9td3ba
2016-06-06 16:28:27 +02:00
Sebastian Kaspari
ae5d684967
Bug 1278255 - MediaControlService: Set correct action title. r=ahunt
...
MozReview-Commit-ID: 5QT7zFQIMTF
2016-06-06 16:55:26 +02:00
Andrzej Hunt
c165d7fa13
Bug 1264783 - Use Hardware layers for tabs curve (except on pre-lollipop) r=sebastian
...
On Android N, the tab button flickers when drawing animations such as the loading progress bar,
or even the tab count increment, over the tabs button. Using hardware layers appears to fix
this. For consistency we could use this across most devices, except those running 4.4 or earlier.
There the button background (light gray) is drawn black with hardware layers, so we should stick
with the default on such devices.
MozReview-Commit-ID: H5VWEkrRbVf
2016-06-03 15:12:54 -07:00
Carsten "Tomcat" Book
9e09b1ce30
Backed out changeset f685593ac3cc (bug 1265708) for android bustage
2016-06-04 09:26:43 +02:00
Carsten "Tomcat" Book
1aed448a6b
Backed out changeset 974090a524da (bug 1265708)
2016-06-04 09:24:16 +02:00