Commit Graph
1062 Commits
Author SHA1 Message Date
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
Kit Cambridge 67d93f9b81 Bug 1265593 - Forward app server keys to Autopush on Android. r=nalexander
MozReview-Commit-ID: 3J4mM1k0pcY
2016-03-22 12:09:31 -07:00
Alastor Wu b2543fcbfc Bug 1257738 - part2 : modify logic of requesting audio focus in Android.
MozReview-Commit-ID: AG095CIgnA5
2016-06-01 10:21:58 +08:00
Michael Comella 7798863889 Bug 1275880 - Correct action mode styling. r=liuche
MozReview-Commit-ID: H7up9G5vlcg
2016-05-27 12:49:55 -07:00
Michael Comella 9c870d2306 Bug 1275880 - Give preferences action bar the correct config & delete unused. r=liuche
MozReview-Commit-ID: DavXaecwtux
2016-05-26 10:28:33 -07:00
Carsten "Tomcat" Book 3fb7f88dec Backed out changeset ca182106b9e6 (bug 1264815) for bustage 2016-05-31 07:05:17 +02:00
Carsten "Tomcat" Book 20891e607d Backed out changeset 20d0b05e708b (bug 1264815) 2016-05-31 07:05:01 +02:00
SUN Haitao b5ed19b68a Bug 1264815 - Add a 'showPersistentAlertNotification' method to GeckoAppShell. r=wchen 2016-04-17 21:18:20 +08:00
SUN Haitao fdbf33dbc0 Bug 1264815 - Add a 'data' parameter to GeckoThread.createServices; r=jchen 2016-04-16 14:19:37 +08:00
Carsten "Tomcat" Book 3a9cae6c4f Merge mozilla-central to fx-team 2016-05-30 15:31:42 +02:00
Jan Henning 494b5706a1 Bug 905223 - Part 2 - Move session data parsing into a background thread. r=jchen
Parsing the session store JSON data to restore the last session's tabs is both
- computationally relatively expensive
- involving disk I/O

therefore, we shouldn't be doing it on the main thread.

To make sure the session data is actually ready, subsequent code running from a different thread that needs to access it (loading the startup tab, the Recent Tabs panel reading the "Tabs from last time") checks that session store data processing has actually finished and waits if necessary.

MozReview-Commit-ID: EYf1fdglIrA
2016-04-23 22:36:46 +02:00
Jan Henning 253608c323 Bug 905223 - Part 1 - Factor out external URL calculation. r=margaret
For session data parsing, we need to know whether we were invoked with an external URL or not. Since we want to move session data parsing forward to an earlier point in time, but also continue needing that external URL info during initialize() as well, we'll factor out those calculations into their own functions which can then be called from both places.

MozReview-Commit-ID: HFlT8uxC9yz
2016-04-23 20:08:58 +02:00
Jan Henning 436963861f Bug 905223 - Part 0 - Add target API annotations to get rid of errors in Android Studio. r=margaret
Android Studio doesn't recognise our version guards and is consequentially always showing two errors in GeckoApp, which makes it more difficult to spot when you've introduced an actual error.

MozReview-Commit-ID: LpNIwHOhEWE
2016-04-23 22:29:03 +02:00
Carsten "Tomcat" Book b05930f50e merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Andrzej Hunt 79db798cc7 Bug 1246159 - Add histogram probe for disk space used by reader view cache r=mcomella
MozReview-Commit-ID: 4r1yvWZ4lid
2016-05-12 13:37:58 -07:00
Andrzej Hunt d850dfc59d Bug 1246159 - Pre: implement SavedReaderViewHelper.getBytesUsed r=mcomella
MozReview-Commit-ID: EJ81q6f515q
2016-05-24 15:01:17 -07:00
Andrzej Hunt 8e6be2b490 Bug 1246159 - Pre: import cleanup r=me
MozReview-Commit-ID: 9PxTKEV2pH5
2016-05-23 08:11:42 -07:00
Andrzej Hunt e0399ffef8 Bug 1267467 - Strip about:reader when storing URIs in history r=margaret
MozReview-Commit-ID: JbUBMVNFdU9
2016-05-10 15:33:33 -07:00
James Willcox ece09bf0c8 Bug 1270522 - Guard against a null view in GeckoLayerClient.sendResizeEventIfNecessary(). r=rbarker 2016-05-23 06:41:00 -04:00
Andrzej Hunt ff688517d1 Bug 1270880 - Make first reader-view prompt independent of first reader-view-bookmark prompt r=sebastian
MozReview-Commit-ID: 34MmPdoZCzL
2016-05-10 10:50:06 -07:00
Andrzej Hunt 46856709bb Bug 1270880 - Show bookmarking helper UI first time reader view is used r=sebastian
Note: this is currently an experiment, which was previousl de-facto disabled.

MozReview-Commit-ID: 3BfyMD6E3b3
2016-05-10 10:36:47 -07:00